69 lines
1.7 KiB
YAML
69 lines
1.7 KiB
YAML
specVersion: v0.1.0
|
|
package:
|
|
name: "ethereum_liquidityparty"
|
|
version: v0.1.0
|
|
|
|
protobuf:
|
|
files:
|
|
- tycho/evm/v1/vm.proto
|
|
- tycho/evm/v1/common.proto
|
|
- tycho/evm/v1/utils.proto
|
|
importPaths:
|
|
- ../../proto
|
|
|
|
binaries:
|
|
default:
|
|
type: wasm/rust-v1
|
|
file: ../target/wasm32-unknown-unknown/release/ethereum_liquidityparty.wasm
|
|
|
|
network: mainnet
|
|
networks:
|
|
mainnet:
|
|
initialBlock:
|
|
map_protocol_components: 23978797
|
|
params:
|
|
map_protocol_components: planner=0x42977f565971F6D288a05ddEbC87A17276F71A29&info=0x605F803cD27F5c1fa01440B2cbd5D3E4Cf7EE850&mint_impl=0xA0375403921e9B357E1BeD57bef3fA3FCE80acd0&swap_impl=0x6aA001e87F86E83bc4D569883332882cb47E2A13
|
|
|
|
modules:
|
|
- name: map_protocol_components
|
|
kind: map
|
|
inputs:
|
|
- params: string
|
|
- source: sf.ethereum.type.v2.Block
|
|
output:
|
|
type: proto:tycho.evm.v1.BlockTransactionProtocolComponents
|
|
|
|
- name: store_protocol_components
|
|
kind: store
|
|
updatePolicy: set
|
|
valueType: string
|
|
inputs:
|
|
- map: map_protocol_components
|
|
|
|
- name: map_relative_component_balance
|
|
kind: map
|
|
inputs:
|
|
- source: sf.ethereum.type.v2.Block
|
|
- store: store_protocol_components
|
|
output:
|
|
type: proto:tycho.evm.v1.BlockBalanceDeltas
|
|
|
|
- name: store_balances
|
|
kind: store
|
|
updatePolicy: add
|
|
valueType: bigint
|
|
inputs:
|
|
- map: map_relative_component_balance
|
|
|
|
- name: map_protocol_changes
|
|
kind: map
|
|
inputs:
|
|
- source: sf.ethereum.type.v2.Block
|
|
- map: map_protocol_components
|
|
- map: map_relative_component_balance
|
|
- store: store_protocol_components
|
|
- store: store_balances
|
|
mode: deltas
|
|
output:
|
|
type: proto:tycho.evm.v1.BlockChanges
|