Skip to content

Commit

Permalink
Merge pull request #14 from balancer/deploy-surge
Browse files Browse the repository at this point in the history
deploy stable surge
  • Loading branch information
mendesfabio authored Feb 10, 2025
2 parents d3ab566 + e64407d commit 3187f42
Show file tree
Hide file tree
Showing 6 changed files with 112 additions and 4 deletions.
20 changes: 18 additions & 2 deletions networks.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
"StablePoolFactory": {
"address": "0xB9d01CA61b9C181dA1051bFDd28e1097e920AB14",
"startBlock": 21337005
},
"StableSurgeHook": {
"address": "0xb18fA0cb5DE8cecB8899AAE6e38b1B7ed77885dA",
"startBlock": 21791079
}
},
"gnosis": {
Expand All @@ -33,6 +37,10 @@
"StablePoolFactory": {
"address": "0x22625eEDd92c81a219A83e1dc48f88d54786B017",
"startBlock": 37371860
},
"StableSurgeHook": {
"address": "0xe4f1878eC9710846E2B529C1b5037F8bA94583b1",
"startBlock": 38432088
}
},
"sepolia": {
Expand Down Expand Up @@ -61,8 +69,8 @@
"startBlock": 7563132
},
"StableSurgeHook": {
"address": "0xC0cbcdD6b823A4f22aA6BbDDe44C17e754266AEF",
"startBlock": 7549387
"address": "0x30CE53fA38a1399F0CA158b5c38362c80E423bA9",
"startBlock": 7655004
}
},
"arbitrum-one": {
Expand All @@ -81,6 +89,10 @@
"StablePoolFactory": {
"address": "0xEB1eeaBF0126d813589C3D2CfeFFE410D9aE3863",
"startBlock": 297829373
},
"StableSurgeHook": {
"address": "0x0Fa0f9990D7969a7aE6f9961d663E4A201Ed6417",
"startBlock": 303403113
}
},
"base": {
Expand All @@ -99,6 +111,10 @@
"StablePoolFactory": {
"address": "0xb9F8AB3ED3F3aCBa64Bc6cd2DcA74B7F38fD7B88",
"startBlock": 25347318
},
"StableSurgeHook": {
"address": "0xb2007B8B7E0260042517f635CFd8E6dD2Dd7f007",
"startBlock": 26049433
}
},
"sonic": {
Expand Down
23 changes: 23 additions & 0 deletions subgraphs/v3-pools/subgraph.arbitrum-one.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,26 @@ dataSources:
- event: PoolCreated(indexed address)
handler: handleStablePoolCreated
file: ./src/mappings/stable.ts
- kind: ethereum
name: StableSurgeHook
network: arbitrum-one
source:
abi: StableSurgeHook
address: "0x0Fa0f9990D7969a7aE6f9961d663E4A201Ed6417"
startBlock: 303403113
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Factory
- Pool
abis:
- name: StablePool
file: ./abis/StablePool.json
- name: StableSurgeHook
file: ./abis/StableSurgeHook.json
eventHandlers:
- event: StableSurgeHookRegistered(indexed address,indexed address)
handler: handleStableSurgeHookRegistered
file: ./src/mappings/surge.ts
23 changes: 23 additions & 0 deletions subgraphs/v3-pools/subgraph.base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,26 @@ dataSources:
- event: PoolCreated(indexed address)
handler: handleStablePoolCreated
file: ./src/mappings/stable.ts
- kind: ethereum
name: StableSurgeHook
network: base
source:
abi: StableSurgeHook
address: "0xb2007B8B7E0260042517f635CFd8E6dD2Dd7f007"
startBlock: 26049433
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Factory
- Pool
abis:
- name: StablePool
file: ./abis/StablePool.json
- name: StableSurgeHook
file: ./abis/StableSurgeHook.json
eventHandlers:
- event: StableSurgeHookRegistered(indexed address,indexed address)
handler: handleStableSurgeHookRegistered
file: ./src/mappings/surge.ts
23 changes: 23 additions & 0 deletions subgraphs/v3-pools/subgraph.gnosis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,26 @@ dataSources:
- event: PoolCreated(indexed address)
handler: handleStablePoolCreated
file: ./src/mappings/stable.ts
- kind: ethereum
name: StableSurgeHook
network: gnosis
source:
abi: StableSurgeHook
address: "0xe4f1878eC9710846E2B529C1b5037F8bA94583b1"
startBlock: 38432088
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Factory
- Pool
abis:
- name: StablePool
file: ./abis/StablePool.json
- name: StableSurgeHook
file: ./abis/StableSurgeHook.json
eventHandlers:
- event: StableSurgeHookRegistered(indexed address,indexed address)
handler: handleStableSurgeHookRegistered
file: ./src/mappings/surge.ts
4 changes: 2 additions & 2 deletions subgraphs/v3-pools/subgraph.sepolia.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ dataSources:
network: sepolia
source:
abi: StableSurgeHook
address: "0xC0cbcdD6b823A4f22aA6BbDDe44C17e754266AEF"
startBlock: 7549387
address: "0x30CE53fA38a1399F0CA158b5c38362c80E423bA9"
startBlock: 7655004
mapping:
kind: ethereum/events
apiVersion: 0.0.7
Expand Down
23 changes: 23 additions & 0 deletions subgraphs/v3-pools/subgraph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,26 @@ dataSources:
- event: PoolCreated(indexed address)
handler: handleStablePoolCreated
file: ./src/mappings/stable.ts
- kind: ethereum
name: StableSurgeHook
network: mainnet
source:
abi: StableSurgeHook
address: "0xb18fA0cb5DE8cecB8899AAE6e38b1B7ed77885dA"
startBlock: 21791079
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Factory
- Pool
abis:
- name: StablePool
file: ./abis/StablePool.json
- name: StableSurgeHook
file: ./abis/StableSurgeHook.json
eventHandlers:
- event: StableSurgeHookRegistered(indexed address,indexed address)
handler: handleStableSurgeHookRegistered
file: ./src/mappings/surge.ts

0 comments on commit 3187f42

Please sign in to comment.