Skip to content

Commit

Permalink
Add admin_balances delta
Browse files Browse the repository at this point in the history
  • Loading branch information
harsh9200 committed Apr 21, 2024
1 parent a06e019 commit a343d63
Show file tree
Hide file tree
Showing 15 changed files with 912 additions and 70 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,15 @@ Reference/
**/target/
**/build/
**/data/
**/node_modules/

**/*.spkg
**/*.csv
**/*.clock
**/*.cursor
**/*.session


**/buf.gen.yaml
replay.log
Cargo.lock
4 changes: 2 additions & 2 deletions curve-finance/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ build:

.PHONY: run
run:
substreams run -e polygon.streamingfast.io:443 substreams.yaml map_pool_fees --debug-modules-initial-snapshot store_pools -s 13991900 -t +10
substreams run -e polygon.streamingfast.io:443 substreams.yaml map_pool_fees --debug-modules-initial-snapshot store_pool_admin_balances -s 13521257

.PHONY: build_csv
build_csv:
substreams-sink-csv -e polygon.substreams.pinax.network:9000 --manifest ./curve-finance-substream-v0.1.0.spkg --module-name map_pool_fees --start-block 13991900
substreams-sink-csv -e polygon.substreams.pinax.network --manifest ./curve-finance-substream-v0.1.0.spkg --module-name map_pool_fees --start-block 13479484

.PHONY: pack
pack:
Expand Down
14 changes: 14 additions & 0 deletions curve-finance/ecosystem.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module.exports = {
apps: [{
name: "substreams-sink-csv",
script: "./node_modules/substreams-sink-csv/dist/bin/cli.mjs",
env: {
SUBSTREAMS_API_KEY: '62017651ea666fd0a915f8d0a9c31f378712dd0710de394e',
MANIFEST: './curve-finance-substream-v0.1.0.spkg',
MODULE_NAME: 'map_pool_fees',
SUBSTREAMS_ENDPOINT: 'polygon.substreams.pinax.network',
FINAL_BLOCKS_ONLY: 'true',
START_BLOCK: '13479484',
}
}]
}
Loading

0 comments on commit a343d63

Please sign in to comment.