47 lines
1.0 KiB
YAML
47 lines
1.0 KiB
YAML
specVersion: v0.1.0
|
|
package:
|
|
name: "ethereum_pancakeswap"
|
|
version: v0.2.0
|
|
|
|
protobuf:
|
|
files:
|
|
- uniswap.proto
|
|
importPaths:
|
|
- ./proto/v1
|
|
|
|
binaries:
|
|
default:
|
|
type: wasm/rust-v1
|
|
file: ../../target/wasm32-unknown-unknown/substreams/ethereum_uniswap_v2.wasm
|
|
|
|
modules:
|
|
- name: map_pools_created
|
|
kind: map
|
|
initialBlock: 15614590
|
|
inputs:
|
|
- params: string
|
|
- source: sf.ethereum.type.v2.Block
|
|
output:
|
|
type: proto:tycho.evm.v1.BlockChanges
|
|
|
|
- name: store_pools
|
|
kind: store
|
|
initialBlock: 15614590
|
|
updatePolicy: set_if_not_exists
|
|
valueType: proto:tycho.evm.v1.ProtocolComponent
|
|
inputs:
|
|
- map: map_pools_created
|
|
|
|
- name: map_pool_events
|
|
kind: map
|
|
initialBlock: 15614590
|
|
inputs:
|
|
- source: sf.ethereum.type.v2.Block
|
|
- map: map_pools_created
|
|
- store: store_pools
|
|
output:
|
|
type: proto:tycho.evm.v1.BlockChanges
|
|
|
|
params:
|
|
map_pools_created: factory_address=1097053fd2ea711dad45caccc45eff7548fcb362&protocol_type_name=pancakeswap_pool
|