-
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support complex types in Starknet ABI (#1171)
* Support complex types in abi * Add array type & fix config validation * Fixups * Fix missing node var & add special handling for u256/bytearray * Temporary workaround for event parsing * Add test for config validation fix --------- Co-authored-by: Igor Sereda <[email protected]>
- Loading branch information
1 parent
13a1e34
commit 53b8c2b
Showing
7 changed files
with
73 additions
and
15 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
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
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
spec_version: 3.0 | ||
package: demo_starknet_events | ||
|
||
datasources: | ||
subsquid: | ||
kind: starknet.subsquid | ||
url: https://v2.archive.subsquid.io/network/starknet-mainnet | ||
node: | ||
kind: starknet.node | ||
url: https://starknet-mainnet.g.alchemy.com/v2 | ||
|
||
contracts: | ||
stark_usdt: | ||
kind: starknet | ||
address: '0x68f5c6a61780768455de69077e07e89787839bf8166decfbf92b645209c0fb8' | ||
typename: stark_usdt | ||
|
||
indexes: | ||
starknet_usdt_events: | ||
kind: starknet.events | ||
datasources: | ||
- subsquid | ||
- node | ||
handlers: | ||
- callback: on_transfer | ||
contract: stark_usdt | ||
name: 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