Skip to content

Commit 28c3bb9

Browse files
authored
feat(base): add base uniswapv2 spkg (propeller-heads#134)
* feat(base): add base uniswapv2 Substreams spkg * refactor: fix outdated spkg version for every uniswap v2 packages --------- Co-authored-by: zizou <111426680+flopell@users.noreply.github.com>
1 parent ffd6da9 commit 28c3bb9

File tree

4 files changed

+52
-3
lines changed

4 files changed

+52
-3
lines changed

substreams/ethereum-uniswap-v2/arbitrum-uniswap-v2.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
specVersion: v0.1.0
22
package:
33
name: "arbitrum_uniswap_v2"
4-
version: v0.2.0
4+
version: v0.3.2
55

66
protobuf:
77
files:
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
specVersion: v0.1.0
2+
package:
3+
name: "base_uniswap_v2"
4+
version: v0.3.2
5+
6+
protobuf:
7+
files:
8+
- tycho/evm/v1/common.proto
9+
- tycho/evm/v1/entity.proto
10+
- uniswap.proto
11+
importPaths:
12+
- ./proto/v1
13+
- ../../proto/
14+
15+
binaries:
16+
default:
17+
type: wasm/rust-v1
18+
file: ../target/wasm32-unknown-unknown/release/ethereum_uniswap_v2.wasm
19+
20+
modules:
21+
- name: map_pools_created
22+
kind: map
23+
initialBlock: 6601915
24+
inputs:
25+
- params: string
26+
- source: sf.ethereum.type.v2.Block
27+
output:
28+
type: proto:tycho.evm.v1.BlockChanges
29+
30+
- name: store_pools
31+
kind: store
32+
initialBlock: 6601915
33+
updatePolicy: set_if_not_exists
34+
valueType: proto:tycho.evm.uniswap.v2.Pool
35+
inputs:
36+
- map: map_pools_created
37+
38+
- name: map_pool_events
39+
kind: map
40+
initialBlock: 6601915
41+
inputs:
42+
- source: sf.ethereum.type.v2.Block
43+
- map: map_pools_created
44+
- store: store_pools
45+
output:
46+
type: proto:tycho.evm.v1.BlockChanges
47+
48+
params:
49+
map_pools_created: factory_address=8909Dc15e40173Ff4699343b6eB8132c65e18eC6&protocol_type_name=uniswap_v2_pool

substreams/ethereum-uniswap-v2/ethereum-sushiswap-v2.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
specVersion: v0.1.0
22
package:
33
name: "ethereum_sushiswap_v2"
4-
version: v0.3.1
4+
version: v0.3.2
55

66
protobuf:
77
files:

substreams/ethereum-uniswap-v2/ethereum-uniswap-v2.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
specVersion: v0.1.0
22
package:
33
name: "ethereum_uniswap_v2"
4-
version: v0.3.0
4+
version: v0.3.2
55

66
protobuf:
77
files:

0 commit comments

Comments
 (0)