From ed36d98d90f0e68363baf8d87ef24cad18ff90aa Mon Sep 17 00:00:00 2001 From: 0xMochan Date: Fri, 29 Mar 2024 14:57:28 -0500 Subject: [PATCH] fix: update substream.yaml --- substreams/ethereum-curve/substreams.yaml | 28 +++++++++++------------ 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/substreams/ethereum-curve/substreams.yaml b/substreams/ethereum-curve/substreams.yaml index 8c22124..cccb4f3 100644 --- a/substreams/ethereum-curve/substreams.yaml +++ b/substreams/ethereum-curve/substreams.yaml @@ -17,7 +17,7 @@ binaries: file: target/wasm32-unknown-unknown/release/substreams_curve.wasm modules: - - name: map_pools_created + - name: map_components kind: map initialBlock: 19128828 inputs: @@ -25,33 +25,33 @@ modules: output: type: proto:tycho.evm.v1.GroupedTransactionProtocolComponents - - name: store_pools_created + - name: store_components kind: store initialBlock: 19128828 updatePolicy: add valueType: int64 inputs: - - map: map_pools_created + - map: map_components - - name: store_pools_tokens + - name: store_component_tokens kind: store initialBlock: 19128828 updatePolicy: set valueType: string inputs: - - map: map_pools_created + - map: map_components - - name: map_balance_deltas + - name: map_relative_balances kind: map initialBlock: 19128828 # An arbitrary block that should change based on your requirements inputs: - source: sf.ethereum.type.v2.Block - - store: store_pools_created - - store: store_pools_tokens + - store: store_components + - store: store_component_tokens output: type: proto:tycho.evm.v1.BalanceDeltas - - name: store_balance_changes + - name: store_balance kind: store initialBlock: 19128828 updatePolicy: add @@ -59,15 +59,15 @@ modules: inputs: - map: map_balance_deltas - - name: map_changes + - name: map_protocol_changes kind: map initialBlock: 19128828 inputs: - source: sf.ethereum.type.v2.Block - - map: map_pools_created - - map: map_balance_deltas - - store: store_pools_created - - store: store_balance_changes + - map: map_components + - map: map_relative_balances + - store: store_components + - store: store_balance mode: deltas # This is the key property that simplifies `BalanceChange` handling output: type: proto:tycho.evm.v1.BlockContractChanges