feat: using Transfer and other various fixes

This commit is contained in:
0xMochan
2024-05-23 17:43:46 -04:00
parent 379baebfb7
commit 8c37a74ea6
11 changed files with 9288 additions and 246 deletions

View File

@@ -20,7 +20,7 @@ binaries:
modules:
- name: map_components
kind: map
initialBlock: 18830232
initialBlock: 19933736
inputs:
- params: string
- source: sf.ethereum.type.v2.Block
@@ -29,7 +29,7 @@ modules:
- name: store_component_tokens
kind: store
initialBlock: 18830232
initialBlock: 19933736
updatePolicy: set
valueType: string
inputs:
@@ -37,17 +37,16 @@ modules:
- name: map_relative_balances
kind: map
initialBlock: 18830232 # An arbitrary block that should change based on your requirements
initialBlock: 19933736 # An arbitrary block that should change based on your requirements
inputs:
- source: sf.ethereum.type.v2.Block
- store: store_components
- store: store_component_tokens
output:
type: proto:tycho.evm.v1.BlockBalanceDeltas
- name: store_balances
kind: store
initialBlock: 18830232
initialBlock: 19933736
updatePolicy: add
valueType: bigint
inputs:
@@ -55,7 +54,7 @@ modules:
- name: map_protocol_changes
kind: map
initialBlock: 18830232
initialBlock: 19933736
inputs:
- source: sf.ethereum.type.v2.Block
- map: map_components