Skip to content

Commit

Permalink
update to deployment 10
Browse files Browse the repository at this point in the history
  • Loading branch information
mendesfabio committed Nov 6, 2024
1 parent 9a09f0d commit 2511852
Show file tree
Hide file tree
Showing 12 changed files with 570 additions and 2,078 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ This repository contains the subgraph implementations for Balancer v3, including

## Preliminary Deployments

| Subgraph | Version | Endpoint |
| -------- | ------- | ---------------------------------------------------------------------------------------- |
| Vault | 8th | https://api.studio.thegraph.com/query/31386/balancer-v3-sepolia-8th/version/latest |
| Pools | 8th | https://api.studio.thegraph.com/query/31386/balancer-pools-v3-sepolia-8th/version/latest |
| Vault | 7th | https://api.studio.thegraph.com/query/31386/balancer-v3-sepolia-7th/version/latest |
| Pools | 7th | https://api.studio.thegraph.com/query/31386/balancer-pools-v3-sepolia-7th/version/latest |
| Subgraph | Version | Endpoint |
| -------- | ------- | ----------------------------------------------------------------------------------------- |
| Vault | 10 | https://api.studio.thegraph.com/query/31386/balancer-v3-sepolia-10th/version/latest |
| Pools | 10 | https://api.studio.thegraph.com/query/31386/balancer-pools-v3-sepolia-10th/version/latest |
| Vault | 9th | https://api.studio.thegraph.com/query/31386/balancer-v3-sepolia-9th/version/latest |
| Pools | 9th | https://api.studio.thegraph.com/query/31386/balancer-pools-v3-sepolia-9th/version/latest |

## Prerequisites

Expand Down
12 changes: 6 additions & 6 deletions networks.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"sepolia": {
"Vault": {
"address": "0x0EF1c156a7986F394d90eD1bEeA6483Cc435F542",
"startBlock": 6638943
"address": "0x68aD967ae8393B722EC69dB1018Ec28AF9A34493",
"startBlock": 6924029
},
"WeightedPoolFactory": {
"address": "0x7c5E586ed4EC1793a6076FC0Dcad03Ca2442f7F8",
"startBlock": 6638995
"address": "0x4F12F60148F98aD920b99e844807F0e245f2AE58",
"startBlock": 6924094
},
"StablePoolFactory": {
"address": "0x2a55364B7948a460f9DEfFFc4440cB838A10dc26",
"startBlock": 6639020
"address": "0xD895059a81711e4955823ED2C0755F204A86E5DA",
"startBlock": 6924116
}
}
}
13 changes: 13 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion scripts/generate-manifests.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function replacePlaceholders(template, network, networkData) {
return result;
}

['pools', 'vault'].forEach(subgraph => {
['v3-pools', 'v3-vault'].forEach(subgraph => {
const templatePath = path.join('subgraphs', subgraph, 'template.yaml');

if (!fs.existsSync(templatePath)) {
Expand Down
2 changes: 1 addition & 1 deletion subgraphs/v3-pools/src/mappings/weighted.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ export function handleWeightedPoolCreated(event: PoolCreated): void {
PoolType.Weighted,
1,
handleWeightedPoolParams,
"stableParams"
"weightedParams"
);
}
8 changes: 4 additions & 4 deletions subgraphs/v3-pools/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ schema:
dataSources:
- kind: ethereum
name: WeightedPoolFactory
network: { { network } }
network: {{ network }}
source:
abi: BasePoolFactory
address: "{{ WeightedPoolFactory.address }}"
startBlock: { { WeightedPoolFactory.startBlock } }
startBlock: {{ WeightedPoolFactory.startBlock }}
mapping:
kind: ethereum/events
apiVersion: 0.0.7
Expand All @@ -27,11 +27,11 @@ dataSources:
file: ./src/mappings/weighted.ts
- kind: ethereum
name: StablePoolFactory
network: { { network } }
network: {{ network }}
source:
abi: BasePoolFactory
address: "{{ StablePoolFactory.address }}"
startBlock: { { StablePoolFactory.startBlock } }
startBlock: {{ StablePoolFactory.startBlock }}
mapping:
kind: ethereum/events
apiVersion: 0.0.7
Expand Down
Loading

0 comments on commit 2511852

Please sign in to comment.