Files
tycho-protocol-sdk/substreams/ethereum-uniswap-v2/arbitrum-uniswap-v2.yaml
Louise Poole d12834cfc5 fix: improve handling of forked protocols on substreams release workflow (#95)
* fix: improve pre-release naming and handling of forked protocols

* fix: build packages for all forked protocols on a new release
2024-10-31 13:00:30 +02:00

47 lines
1.0 KiB
YAML

specVersion: v0.1.0
package:
name: "arbitrum_uniswap_v2"
version: v0.2.0
protobuf:
files:
- uniswap.proto
importPaths:
- ./proto/v1
binaries:
default:
type: wasm/rust-v1
file: ../target/wasm32-unknown-unknown/release/ethereum_uniswap_v2.wasm
modules:
- name: map_pools_created
kind: map
initialBlock: 150442611
inputs:
- params: string
- source: sf.ethereum.type.v2.Block
output:
type: proto:tycho.evm.v1.BlockChanges
- name: store_pools
kind: store
initialBlock: 150442611
updatePolicy: set_if_not_exists
valueType: proto:tycho.evm.uniswap.v2.Pool
inputs:
- map: map_pools_created
- name: map_pool_events
kind: map
initialBlock: 150442611
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=f1D7CC64Fb4452F05c498126312eBE29f30Fbcf9&protocol_type_name=uniswap_v2_pool