Skip to content

Commit

Permalink
updated subgraphs for studio
Browse files Browse the repository at this point in the history
  • Loading branch information
kallolborah committed Jun 15, 2024
1 parent cf56032 commit 9d99bb0
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 50 deletions.
12 changes: 6 additions & 6 deletions networks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -587,14 +587,14 @@ gnosis:
# address: "0x6B5dA774890Db7B7b96C6f44e6a4b0F657399E2e"
# startBlock: 26691522
PrimaryIssuePoolFactory:
address: "0xe5459436AE26C4fDC77f51c459e9Aa08b5d32064"
startBlock: 27841697
address: "0xd51114303E9640022F3222CD8AcD54Ea4DbA10D4"
startBlock: 34472379
SecondaryIssuePoolFactory:
address: "0xB1ae3Fc5B16d3736bf0db20606fB9a10b435392c"
startBlock: 27841770
address: "0x9567B156C039D141667BF77136D423226A7cCb59"
startBlock: 34472408
MarginTradingPoolFactory:
address: "0xa59606ADBB5cD6009a00c47cc844fA4683819017"
startBlock: 27841867
address: "0x2291E72C85a12873bF7d60EeC2EE3f0a98A35204"
startBlock: 34472822
# optimism:
# network: optimism
# graft:
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
"build": "graph build",
"lint": "eslint --max-warnings 0 . --ext .ts",
"test": "jest ./test/*.test.ts",
"deploy-polygon": "graph deploy --product hosted-service verified-network/vault-matic --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/",
"deploy-gnosis": "graph deploy --product hosted-service verified-network/vault-gnosis --network gnosis --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/",
"deploy-goerli": "graph deploy --product hosted-service verified-network/balancer --network goerli --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/",
"deploy-sepolia": "graph deploy --product hosted-service verified-network/vault --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/",
"deploy-polygon": "graph deploy vault-polygon",
"deploy-gnosis": "graph deploy vault-gnosis",
"deploy-arbitrum": "graph deploy vault-arbitrum",
"deploy-sepolia": "graph deploy vault-test",
"deploy:local": "graph deploy balancer-labs/balancer-v2 subgraph.yaml --debug --ipfs http://localhost:5001 --node http://127.0.0.1:8020",
"import-abis": "ts-node ./scripts/update-abis.ts",
"generate-assets": "ts-node ./scripts/generate-assets",
Expand Down
75 changes: 35 additions & 40 deletions subgraph.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,16 @@
specVersion: 0.0.4
description: The Verified Vault manages wallet balances in liquidity pools for security tokens.
#features:
# - grafting
#graft:
# base: QmfFmtcLKRugnPe8HFmmvdtUgM6gvUSSsFXGeCTX6sH4Zg
# block: 54559455
repository: https://github.com/balancer-labs/balancer-subgraph-v2
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: EventEmitter
network: matic
network: gnosis
source:
address: '0xcdcECFa416EE3022030E707dC3EA13a8997D74c8'
address: '0xd8bf95b44772213905a8a74881862347acbabc48'
abi: EventEmitter
startBlock: 38152461
startBlock: 26892431
mapping:
kind: ethereum/events
apiVersion: 0.0.6
Expand All @@ -31,11 +26,11 @@ dataSources:
handler: handleLogArgument
- kind: ethereum/contract
name: Vault
network: matic
network: gnosis
source:
address: '0xBA12222222228d8Ba445958a75a0704d566BF2C8'
abi: Vault
startBlock: 15832990
startBlock: 24821598
mapping:
kind: ethereum/events
apiVersion: 0.0.6
Expand Down Expand Up @@ -78,11 +73,11 @@ dataSources:
handler: handleInternalBalanceChange
- kind: ethereum/contract
name: PrimaryIssuePoolFactory
network: matic
network: gnosis
source:
address: '0xc7de872452d18d442F2527d1371894F68dEcce24'
address: '0xd51114303E9640022F3222CD8AcD54Ea4DbA10D4'
abi: PrimaryIssuePoolFactory
startBlock: 54690350
startBlock: 34472379
mapping:
kind: ethereum/events
apiVersion: 0.0.6
Expand All @@ -107,11 +102,11 @@ dataSources:
handler: handleNewPrimaryPool
- kind: ethereum/contract
name: SecondaryIssuePoolFactory
network: matic
network: gnosis
source:
address: '0xaAfde4aB7119d705a66E2338826F502b68Fa88EA'
address: '0x9567B156C039D141667BF77136D423226A7cCb59'
abi: SecondaryIssuePoolFactory
startBlock: 55518324
startBlock: 34472408
mapping:
kind: ethereum/events
apiVersion: 0.0.6
Expand All @@ -136,11 +131,11 @@ dataSources:
handler: handleNewSecondaryPool
- kind: ethereum/contract
name: MarginTradingPoolFactory
network: matic
network: gnosis
source:
address: '0xde63bca2d746F4a9D4D7B6E88b943dcc90C50c79'
address: '0x2291E72C85a12873bF7d60EeC2EE3f0a98A35204'
abi: MarginTradingPoolFactory
startBlock: 54674970
startBlock: 34472822
mapping:
kind: ethereum/events
apiVersion: 0.0.6
Expand All @@ -166,7 +161,7 @@ dataSources:
templates:
- kind: ethereum/contract
name: WeightedPool
network: matic
network: gnosis
source:
abi: WeightedPool
mapping:
Expand All @@ -193,7 +188,7 @@ templates:
handler: handlePausedStateChanged
- kind: ethereum/contract
name: WeightedPoolV2
network: matic
network: gnosis
source:
abi: WeightedPoolV2
mapping:
Expand Down Expand Up @@ -224,7 +219,7 @@ templates:
handler: handlePausedStateChanged
- kind: ethereum/contract
name: WeightedPool2Tokens
network: matic
network: gnosis
source:
abi: WeightedPool2Tokens
mapping:
Expand Down Expand Up @@ -253,7 +248,7 @@ templates:
handler: handlePausedStateChanged
- kind: ethereum/contract
name: StablePool
network: matic
network: gnosis
source:
abi: StablePool
mapping:
Expand Down Expand Up @@ -284,7 +279,7 @@ templates:
handler: handlePausedStateChanged
- kind: ethereum/contract
name: MetaStablePool
network: matic
network: gnosis
source:
abi: MetaStablePool
mapping:
Expand Down Expand Up @@ -324,7 +319,7 @@ templates:
handler: handlePausedStateChanged
- kind: ethereum/contract
name: ConvergentCurvePool
network: matic
network: gnosis
source:
abi: ConvergentCurvePool
mapping:
Expand All @@ -347,7 +342,7 @@ templates:
handler: handleTransfer
- kind: ethereum/contract
name: LiquidityBootstrappingPool
network: matic
network: gnosis
source:
abi: LiquidityBootstrappingPool
mapping:
Expand Down Expand Up @@ -379,7 +374,7 @@ templates:
handler: handlePausedStateChanged
- kind: ethereum/contract
name: InvestmentPool
network: matic
network: gnosis
source:
abi: InvestmentPool
mapping:
Expand Down Expand Up @@ -413,7 +408,7 @@ templates:
handler: handlePausedStateChanged
- kind: ethereum/contract
name: ManagedPool
network: matic
network: gnosis
source:
abi: ManagedPool
mapping:
Expand Down Expand Up @@ -469,7 +464,7 @@ templates:
handler: handleEncodedProtocolFeePercentageCacheUpdated
- kind: ethereum/contract
name: StablePhantomPool
network: matic
network: gnosis
source:
abi: StablePhantomPool
mapping:
Expand Down Expand Up @@ -507,7 +502,7 @@ templates:
handler: handlePausedStateChanged
- kind: ethereum/contract
name: StablePhantomPoolV2
network: matic
network: gnosis
source:
abi: ComposableStablePool
mapping:
Expand Down Expand Up @@ -551,7 +546,7 @@ templates:
handler: handlePausedStateChanged
- kind: ethereum/contract
name: LinearPool
network: matic
network: gnosis
source:
abi: LinearPool
mapping:
Expand Down Expand Up @@ -585,7 +580,7 @@ templates:
handler: handlePausedStateChanged
- kind: ethereum/contract
name: PrimaryIssuePool
network: matic
network: gnosis
source:
abi: PrimaryIssuePool
mapping:
Expand Down Expand Up @@ -614,7 +609,7 @@ templates:
handler: handleSubscription
- kind: ethereum/contract
name: SecondaryIssuePool
network: matic
network: gnosis
source:
abi: SecondaryIssuePool
mapping:
Expand Down Expand Up @@ -645,7 +640,7 @@ templates:
handler: handleOrderBook
- kind: ethereum/contract
name: OffchainSecondariesPool
network: matic
network: gnosis
source:
abi: OffchainSecondariesPool
mapping:
Expand Down Expand Up @@ -676,7 +671,7 @@ templates:
handler: handleOffchainOrderBook
- kind: ethereum/contract
name: MarginTradingPool
network: matic
network: gnosis
source:
abi: MarginTradingPool
mapping:
Expand Down Expand Up @@ -707,7 +702,7 @@ templates:
handler: handleMarginOrderBook
- kind: ethereum/contract
name: Gyro2Pool
network: matic
network: gnosis
source:
abi: Gyro2V2Pool
mapping:
Expand Down Expand Up @@ -737,7 +732,7 @@ templates:
handler: handleUnpauseGyroPool
- kind: ethereum/contract
name: Gyro3Pool
network: matic
network: gnosis
source:
abi: Gyro3Pool
mapping:
Expand Down Expand Up @@ -767,7 +762,7 @@ templates:
handler: handleUnpauseGyroPool
- kind: ethereum/contract
name: GyroEPool
network: matic
network: gnosis
source:
abi: GyroEV2Pool
mapping:
Expand Down Expand Up @@ -797,7 +792,7 @@ templates:
handler: handleUnpauseGyroPool
- kind: ethereum/contract
name: FXPool
network: matic
network: gnosis
source:
abi: FXPool
mapping:
Expand All @@ -823,7 +818,7 @@ templates:
handler: handleParametersSet
- kind: ethereum/contract
name: OffchainAggregator
network: matic
network: gnosis
source:
abi: AccessControlledOffchainAggregator
mapping:
Expand Down

0 comments on commit 9d99bb0

Please sign in to comment.