-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix event type in event handler context
- Loading branch information
1 parent
9bc5bbc
commit ef1fe59
Showing
17 changed files
with
750 additions
and
290 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ import { | |
} from './cli/mod.ts' | ||
import 'https://deno.land/[email protected]/dotenv/load.ts' | ||
|
||
export const version = 'v0.4.20' | ||
export const version = 'v0.4.21' | ||
|
||
const command = new Command() | ||
.name('arkiver') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ export { | |
createEntity, | ||
type EventHandlerFor, | ||
Manifest, | ||
} from 'https://deno.land/x/[email protected].20/mod.ts' | ||
} from 'https://deno.land/x/[email protected].21/mod.ts' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { formatUnits, getContract } from 'npm:viem' | ||
import { type BlockHandler } from 'https://deno.land/x/[email protected].20/mod.ts' | ||
import { type BlockHandler } from 'https://deno.land/x/[email protected].21/mod.ts' | ||
import { VaultSnapshot } from '../entities/vault.ts' | ||
import { YEARN_V2_ABI } from '../abis/YearnV2.ts' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { Manifest } from 'https://deno.land/x/[email protected].20/mod.ts' | ||
import { Manifest } from 'https://deno.land/x/[email protected].21/mod.ts' | ||
import { VaultSnapshot } from './entities/vault.ts' | ||
import { snapshotVault } from './handlers/vault.ts' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { createEntity } from 'https://deno.land/x/[email protected].20/mod.ts' | ||
import { createEntity } from 'https://deno.land/x/[email protected].21/mod.ts' | ||
|
||
// @note: "Index: true" enhances graphql queries | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { formatUnits, fromHex, numberToHex } from 'npm:viem' | ||
import { type EventHandlerFor } from 'https://deno.land/x/[email protected].20/mod.ts' | ||
import { type EventHandlerFor } from 'https://deno.land/x/[email protected].21/mod.ts' | ||
import erc20 from './erc20.ts' | ||
import { Balance, BalanceHistory, Transfer } from './entities.ts' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { Manifest } from 'https://deno.land/x/[email protected].20/mod.ts' | ||
import { Manifest } from 'https://deno.land/x/[email protected].21/mod.ts' | ||
import { ERC_20_ABI } from './Erc20.ts' | ||
import { Entities } from './entities.ts' | ||
import { onTransfer } from './handlers.ts' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { createEntity } from 'https://deno.land/x/[email protected].20/mod.ts' | ||
import { createEntity } from 'https://deno.land/x/[email protected].21/mod.ts' | ||
|
||
// @note: "Index: true" enhances graphql queries | ||
export const Transfer = createEntity<any>('Transfer', { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { formatUnits } from 'npm:viem' | ||
import { type EventHandlerFor } from 'https://deno.land/x/[email protected].20/mod.ts' | ||
import { type EventHandlerFor } from 'https://deno.land/x/[email protected].21/mod.ts' | ||
import { ERC_20_ABI } from './Erc20.ts' | ||
import { Approval, Transfer } from './entities.ts' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { Manifest } from 'https://deno.land/x/[email protected].20/mod.ts' | ||
import { Manifest } from 'https://deno.land/x/[email protected].21/mod.ts' | ||
import { ERC_20_ABI } from './Erc20.ts' | ||
import { Approval, Transfer } from './entities.ts' | ||
import { onApproval, onTransfer } from './handlers.ts' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ export { | |
createEntity, | ||
type EventHandlerFor, | ||
Manifest, | ||
} from 'https://deno.land/x/[email protected].20/mod.ts' | ||
} from 'https://deno.land/x/[email protected].21/mod.ts' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,8 @@ export { | |
createEntity, | ||
type EventHandlerFor, | ||
Manifest, | ||
} from 'https://deno.land/x/[email protected].20/mod.ts' | ||
} from 'https://deno.land/x/[email protected].21/mod.ts' | ||
export { | ||
Erc721Lib, | ||
type Erc721Opts, | ||
} from 'https://deno.land/x/[email protected].20/libs.ts' | ||
} from 'https://deno.land/x/[email protected].21/libs.ts' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ export { | |
createEntity, | ||
type EventHandlerFor, | ||
Manifest, | ||
} from 'https://deno.land/x/[email protected].20/mod.ts' | ||
} from 'https://deno.land/x/[email protected].21/mod.ts' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters