Initial pools.rs function for handling custom parameters

This commit is contained in:
0xMochan
2024-04-11 19:41:56 -05:00
parent 8dcae829b5
commit 7c75c8d3d6
9 changed files with 1525 additions and 28 deletions

View File

@@ -19,7 +19,7 @@ binaries:
modules:
- name: map_components
kind: map
initialBlock: 19128828
initialBlock: 18838383
inputs:
- source: sf.ethereum.type.v2.Block
output:
@@ -27,7 +27,7 @@ modules:
- name: store_components
kind: store
initialBlock: 19128828
initialBlock: 18838383
updatePolicy: add
valueType: int64
inputs:
@@ -35,7 +35,7 @@ modules:
- name: store_component_tokens
kind: store
initialBlock: 19128828
initialBlock: 18838383
updatePolicy: set
valueType: string
inputs:
@@ -43,7 +43,7 @@ modules:
- name: map_relative_balances
kind: map
initialBlock: 19128828 # An arbitrary block that should change based on your requirements
initialBlock: 18838383 # An arbitrary block that should change based on your requirements
inputs:
- source: sf.ethereum.type.v2.Block
- store: store_components
@@ -53,7 +53,7 @@ modules:
- name: store_balances
kind: store
initialBlock: 19128828
initialBlock: 18838383
updatePolicy: add
valueType: bigint
inputs:
@@ -61,7 +61,7 @@ modules:
- name: map_protocol_changes
kind: map
initialBlock: 19128828
initialBlock: 18838383
inputs:
- source: sf.ethereum.type.v2.Block
- map: map_components