Skip to content

Commit 1c7a7c0

Browse files
authored
Merge pull request #38 from balancer/stable-v2
add stable v2
2 parents 43eb621 + 2cedf71 commit 1c7a7c0

File tree

7 files changed

+162
-0
lines changed

7 files changed

+162
-0
lines changed

networks.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616
"address": "0xB9d01CA61b9C181dA1051bFDd28e1097e920AB14",
1717
"startBlock": 21337005
1818
},
19+
"StablePoolV2Factory": {
20+
"address": "0xe42C2E153BB0A8899b59C73F5Ff941f9742F1197",
21+
"startBlock": 22089887
22+
},
1923
"StableSurgeHook": {
2024
"address": "0xb18fA0cb5DE8cecB8899AAE6e38b1B7ed77885dA",
2125
"startBlock": 21791079
@@ -46,6 +50,10 @@
4650
"address": "0x22625eEDd92c81a219A83e1dc48f88d54786B017",
4751
"startBlock": 37371860
4852
},
53+
"StablePoolV2Factory": {
54+
"address": "0x161f4014C27773840ccb4EC1957113e6DD028846",
55+
"startBlock": 39136290
56+
},
4957
"StableSurgeHook": {
5058
"address": "0xe4f1878eC9710846E2B529C1b5037F8bA94583b1",
5159
"startBlock": 38432088
@@ -76,6 +84,10 @@
7684
"address": "0xd67F485C07D258B3e93835a3799d862ffcB55923",
7785
"startBlock": 7216947
7886
},
87+
"StablePoolV2Factory": {
88+
"address": "0xc274A11E09a3c92Ac64eAff5bEC4ee8f5dfEe207",
89+
"startBlock": 7944011
90+
},
7991
"Gyro2CLPPoolFactory": {
8092
"address": "0x5aD57d8BC854449bb85D7EA8B164f1cE266EC5a4",
8193
"startBlock": 7734971
@@ -114,6 +126,10 @@
114126
"address": "0xEB1eeaBF0126d813589C3D2CfeFFE410D9aE3863",
115127
"startBlock": 297829373
116128
},
129+
"StablePoolV2Factory": {
130+
"address": "0x44d33798dddCdAbc93Fe6a40C80588033Dc502d3",
131+
"startBlock": 317750010
132+
},
117133
"StableSurgeHook": {
118134
"address": "0x0Fa0f9990D7969a7aE6f9961d663E4A201Ed6417",
119135
"startBlock": 303403113
@@ -144,6 +160,10 @@
144160
"address": "0xb9F8AB3ED3F3aCBa64Bc6cd2DcA74B7F38fD7B88",
145161
"startBlock": 25347318
146162
},
163+
"StablePoolV2Factory": {
164+
"address": "0xC49Ca921c4CD1117162eAEEc0ee969649997950c",
165+
"startBlock": 27852880
166+
},
147167
"StableSurgeHook": {
148168
"address": "0xb2007B8B7E0260042517f635CFd8E6dD2Dd7f007",
149169
"startBlock": 26049433
@@ -174,6 +194,10 @@
174194
"address": "0x815Ab57a5a2E4976cEC0b43C2D50CF26EF6F31Fd",
175195
"startBlock": 381473
176196
},
197+
"StablePoolV2Factory": {
198+
"address": "0x482eE54595f79B6BA34b75754A4983134148Affb",
199+
"startBlock": 17236613
200+
},
177201
"StableSurgeHook": {
178202
"address": "0x8A83Aa9bb7C4Cff14ae0aEcec0fB9ef234901c0C",
179203
"startBlock": 8689861

subgraphs/v3-pools/subgraph.arbitrum-one.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,29 @@ dataSources:
4848
- event: PoolCreated(indexed address)
4949
handler: handleStablePoolCreated
5050
file: ./src/mappings/stable.ts
51+
- kind: ethereum
52+
name: StablePoolV2Factory
53+
network: arbitrum-one
54+
source:
55+
abi: BasePoolFactory
56+
address: "0x44d33798dddCdAbc93Fe6a40C80588033Dc502d3"
57+
startBlock: 317750010
58+
mapping:
59+
kind: ethereum/events
60+
apiVersion: 0.0.7
61+
language: wasm/assemblyscript
62+
entities:
63+
- Factory
64+
- Pool
65+
abis:
66+
- name: StablePool
67+
file: ./abis/StablePool.json
68+
- name: BasePoolFactory
69+
file: ./abis/BasePoolFactory.json
70+
eventHandlers:
71+
- event: PoolCreated(indexed address)
72+
handler: handleStablePoolCreated
73+
file: ./src/mappings/stable.ts
5174
- kind: ethereum
5275
name: GyroECLPPoolFactory
5376
network: arbitrum-one

subgraphs/v3-pools/subgraph.base.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,29 @@ dataSources:
4848
- event: PoolCreated(indexed address)
4949
handler: handleStablePoolCreated
5050
file: ./src/mappings/stable.ts
51+
- kind: ethereum
52+
name: StablePoolV2Factory
53+
network: base
54+
source:
55+
abi: BasePoolFactory
56+
address: "0xC49Ca921c4CD1117162eAEEc0ee969649997950c"
57+
startBlock: 27852880
58+
mapping:
59+
kind: ethereum/events
60+
apiVersion: 0.0.7
61+
language: wasm/assemblyscript
62+
entities:
63+
- Factory
64+
- Pool
65+
abis:
66+
- name: StablePool
67+
file: ./abis/StablePool.json
68+
- name: BasePoolFactory
69+
file: ./abis/BasePoolFactory.json
70+
eventHandlers:
71+
- event: PoolCreated(indexed address)
72+
handler: handleStablePoolCreated
73+
file: ./src/mappings/stable.ts
5174
- kind: ethereum
5275
name: GyroECLPPoolFactory
5376
network: base

subgraphs/v3-pools/subgraph.gnosis.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,29 @@ dataSources:
4848
- event: PoolCreated(indexed address)
4949
handler: handleStablePoolCreated
5050
file: ./src/mappings/stable.ts
51+
- kind: ethereum
52+
name: StablePoolV2Factory
53+
network: gnosis
54+
source:
55+
abi: BasePoolFactory
56+
address: "0x161f4014C27773840ccb4EC1957113e6DD028846"
57+
startBlock: 39136290
58+
mapping:
59+
kind: ethereum/events
60+
apiVersion: 0.0.7
61+
language: wasm/assemblyscript
62+
entities:
63+
- Factory
64+
- Pool
65+
abis:
66+
- name: StablePool
67+
file: ./abis/StablePool.json
68+
- name: BasePoolFactory
69+
file: ./abis/BasePoolFactory.json
70+
eventHandlers:
71+
- event: PoolCreated(indexed address)
72+
handler: handleStablePoolCreated
73+
file: ./src/mappings/stable.ts
5174
- kind: ethereum
5275
name: GyroECLPPoolFactory
5376
network: gnosis

subgraphs/v3-pools/subgraph.sepolia.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,29 @@ dataSources:
4848
- event: PoolCreated(indexed address)
4949
handler: handleStablePoolCreated
5050
file: ./src/mappings/stable.ts
51+
- kind: ethereum
52+
name: StablePoolV2Factory
53+
network: sepolia
54+
source:
55+
abi: BasePoolFactory
56+
address: "0xc274A11E09a3c92Ac64eAff5bEC4ee8f5dfEe207"
57+
startBlock: 7944011
58+
mapping:
59+
kind: ethereum/events
60+
apiVersion: 0.0.7
61+
language: wasm/assemblyscript
62+
entities:
63+
- Factory
64+
- Pool
65+
abis:
66+
- name: StablePool
67+
file: ./abis/StablePool.json
68+
- name: BasePoolFactory
69+
file: ./abis/BasePoolFactory.json
70+
eventHandlers:
71+
- event: PoolCreated(indexed address)
72+
handler: handleStablePoolCreated
73+
file: ./src/mappings/stable.ts
5174
- kind: ethereum
5275
name: Gyro2CLPPoolFactory
5376
network: sepolia

subgraphs/v3-pools/subgraph.sonic.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,29 @@ dataSources:
4848
- event: PoolCreated(indexed address)
4949
handler: handleStablePoolCreated
5050
file: ./src/mappings/stable.ts
51+
- kind: ethereum
52+
name: StablePoolV2Factory
53+
network: sonic
54+
source:
55+
abi: BasePoolFactory
56+
address: "0x482eE54595f79B6BA34b75754A4983134148Affb"
57+
startBlock: 17236613
58+
mapping:
59+
kind: ethereum/events
60+
apiVersion: 0.0.7
61+
language: wasm/assemblyscript
62+
entities:
63+
- Factory
64+
- Pool
65+
abis:
66+
- name: StablePool
67+
file: ./abis/StablePool.json
68+
- name: BasePoolFactory
69+
file: ./abis/BasePoolFactory.json
70+
eventHandlers:
71+
- event: PoolCreated(indexed address)
72+
handler: handleStablePoolCreated
73+
file: ./src/mappings/stable.ts
5174
- kind: ethereum
5275
name: GyroECLPPoolFactory
5376
network: sonic

subgraphs/v3-pools/subgraph.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,29 @@ dataSources:
4848
- event: PoolCreated(indexed address)
4949
handler: handleStablePoolCreated
5050
file: ./src/mappings/stable.ts
51+
- kind: ethereum
52+
name: StablePoolV2Factory
53+
network: mainnet
54+
source:
55+
abi: BasePoolFactory
56+
address: "0xe42C2E153BB0A8899b59C73F5Ff941f9742F1197"
57+
startBlock: 22089887
58+
mapping:
59+
kind: ethereum/events
60+
apiVersion: 0.0.7
61+
language: wasm/assemblyscript
62+
entities:
63+
- Factory
64+
- Pool
65+
abis:
66+
- name: StablePool
67+
file: ./abis/StablePool.json
68+
- name: BasePoolFactory
69+
file: ./abis/BasePoolFactory.json
70+
eventHandlers:
71+
- event: PoolCreated(indexed address)
72+
handler: handleStablePoolCreated
73+
file: ./src/mappings/stable.ts
5174
- kind: ethereum
5275
name: GyroECLPPoolFactory
5376
network: mainnet

0 commit comments

Comments
 (0)