-
Notifications
You must be signed in to change notification settings - Fork 39
Test Indexer - keep contract registrations between indexer.process runs #918
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
28 changes: 2 additions & 26 deletions
28
codegenerator/cli/templates/static/factory_template/typescript/config.yaml
This file contains hidden or 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,47 +1,23 @@ | ||
| # yaml-language-server: $schema=./node_modules/envio/evm.schema.json | ||
| name: Factory Contract | ||
| description: Example indexer for indexing factory-deployed contracts | ||
| name: envio-indexer | ||
| description: Envio Indexer showcase for the Factory Contract feature | ||
| contracts: | ||
| - name: UniswapV3Factory | ||
| events: | ||
| - event: PoolCreated(address indexed token0, address indexed token1, uint24 indexed fee, int24 tickSpacing, address pool) | ||
| - name: UniswapV3Pool | ||
| events: | ||
| - event: Swap(address indexed sender, address indexed recipient, int256 amount0, int256 amount1, uint160 sqrtPriceX96, uint128 liquidity, int24 tick) | ||
|
|
||
| chains: | ||
| - id: 1 # Ethereum Mainnet | ||
| start_block: 0 | ||
| contracts: | ||
| - name: UniswapV3Factory | ||
| address: | ||
| - 0x1F98431c8aD98523631AE4a59f267346ea31F984 | ||
| - name: UniswapV3Pool | ||
| - id: 130 # Unichain Mainnet | ||
| start_block: 0 | ||
| contracts: | ||
| - name: UniswapV3Factory | ||
| address: | ||
| - 0x1F98400000000000000000000000000000000003 | ||
| - name: UniswapV3Pool | ||
| - id: 42161 # Arbitrum Mainnet | ||
| start_block: 0 | ||
| contracts: | ||
| - name: UniswapV3Factory | ||
| address: | ||
| - 0x1F98431c8aD98523631AE4a59f267346ea31F984 | ||
| - name: UniswapV3Pool | ||
| - id: 10 # Optimism Mainnet | ||
| start_block: 0 | ||
| contracts: | ||
| - name: UniswapV3Factory | ||
| address: | ||
| - 0x1F98431c8aD98523631AE4a59f267346ea31F984 | ||
| - name: UniswapV3Pool | ||
| - id: 8453 # Base Mainnet | ||
| start_block: 0 | ||
| contracts: | ||
| - name: UniswapV3Factory | ||
| address: | ||
| - 0x33128a8fC17869897dcE68Ed026d694621f6FDfD | ||
| - name: UniswapV3Pool |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.