fix: update substream.yaml
This commit is contained in:
@@ -17,7 +17,7 @@ binaries:
|
|||||||
file: target/wasm32-unknown-unknown/release/substreams_curve.wasm
|
file: target/wasm32-unknown-unknown/release/substreams_curve.wasm
|
||||||
|
|
||||||
modules:
|
modules:
|
||||||
- name: map_pools_created
|
- name: map_components
|
||||||
kind: map
|
kind: map
|
||||||
initialBlock: 19128828
|
initialBlock: 19128828
|
||||||
inputs:
|
inputs:
|
||||||
@@ -25,33 +25,33 @@ modules:
|
|||||||
output:
|
output:
|
||||||
type: proto:tycho.evm.v1.GroupedTransactionProtocolComponents
|
type: proto:tycho.evm.v1.GroupedTransactionProtocolComponents
|
||||||
|
|
||||||
- name: store_pools_created
|
- name: store_components
|
||||||
kind: store
|
kind: store
|
||||||
initialBlock: 19128828
|
initialBlock: 19128828
|
||||||
updatePolicy: add
|
updatePolicy: add
|
||||||
valueType: int64
|
valueType: int64
|
||||||
inputs:
|
inputs:
|
||||||
- map: map_pools_created
|
- map: map_components
|
||||||
|
|
||||||
- name: store_pools_tokens
|
- name: store_component_tokens
|
||||||
kind: store
|
kind: store
|
||||||
initialBlock: 19128828
|
initialBlock: 19128828
|
||||||
updatePolicy: set
|
updatePolicy: set
|
||||||
valueType: string
|
valueType: string
|
||||||
inputs:
|
inputs:
|
||||||
- map: map_pools_created
|
- map: map_components
|
||||||
|
|
||||||
- name: map_balance_deltas
|
- name: map_relative_balances
|
||||||
kind: map
|
kind: map
|
||||||
initialBlock: 19128828 # An arbitrary block that should change based on your requirements
|
initialBlock: 19128828 # An arbitrary block that should change based on your requirements
|
||||||
inputs:
|
inputs:
|
||||||
- source: sf.ethereum.type.v2.Block
|
- source: sf.ethereum.type.v2.Block
|
||||||
- store: store_pools_created
|
- store: store_components
|
||||||
- store: store_pools_tokens
|
- store: store_component_tokens
|
||||||
output:
|
output:
|
||||||
type: proto:tycho.evm.v1.BalanceDeltas
|
type: proto:tycho.evm.v1.BalanceDeltas
|
||||||
|
|
||||||
- name: store_balance_changes
|
- name: store_balance
|
||||||
kind: store
|
kind: store
|
||||||
initialBlock: 19128828
|
initialBlock: 19128828
|
||||||
updatePolicy: add
|
updatePolicy: add
|
||||||
@@ -59,15 +59,15 @@ modules:
|
|||||||
inputs:
|
inputs:
|
||||||
- map: map_balance_deltas
|
- map: map_balance_deltas
|
||||||
|
|
||||||
- name: map_changes
|
- name: map_protocol_changes
|
||||||
kind: map
|
kind: map
|
||||||
initialBlock: 19128828
|
initialBlock: 19128828
|
||||||
inputs:
|
inputs:
|
||||||
- source: sf.ethereum.type.v2.Block
|
- source: sf.ethereum.type.v2.Block
|
||||||
- map: map_pools_created
|
- map: map_components
|
||||||
- map: map_balance_deltas
|
- map: map_relative_balances
|
||||||
- store: store_pools_created
|
- store: store_components
|
||||||
- store: store_balance_changes
|
- store: store_balance
|
||||||
mode: deltas # This is the key property that simplifies `BalanceChange` handling
|
mode: deltas # This is the key property that simplifies `BalanceChange` handling
|
||||||
output:
|
output:
|
||||||
type: proto:tycho.evm.v1.BlockContractChanges
|
type: proto:tycho.evm.v1.BlockContractChanges
|
||||||
|
|||||||
Reference in New Issue
Block a user