Skip to content

Commit

Permalink
Add avalanche and fantom
Browse files Browse the repository at this point in the history
  • Loading branch information
prevostc committed Sep 2, 2024
1 parent 96e6cef commit 4b96d50
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
matrix:
node: ["21.x"]
chain:
["arbitrum", "base", "bsc", "ethereum", "fraxtal", "linea", "manta", "mantle", "mode", "moonbeam", "optimism", "polygon", "sei", "zksync"]
["avalanche", "arbitrum", "base", "bsc", "ethereum", "fantom", "fraxtal", "linea", "manta", "mantle", "mode", "moonbeam", "optimism", "polygon", "sei", "zksync"]
os: [ubuntu-latest]

runs-on: ${{ matrix.os }}
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ This Subgraph sources events from the Beefy contracts in different networks.

### Latest endpoints

- [Avalanche](https://api.goldsky.com/api/public/project_clu2walwem1qm01w40v3yhw1f/subgraphs/beefy-balances-avalanche/latest/gn)
- [Arbitrum](https://api.goldsky.com/api/public/project_clu2walwem1qm01w40v3yhw1f/subgraphs/beefy-balances-arbitrum/latest/gn)
- [Base](https://api.goldsky.com/api/public/project_clu2walwem1qm01w40v3yhw1f/subgraphs/beefy-balances-base/latest/gn)
- [Bsc](https://api.goldsky.com/api/public/project_clu2walwem1qm01w40v3yhw1f/subgraphs/beefy-balances-bsc/latest/gn)
- [Ethereum](https://api.goldsky.com/api/public/project_clu2walwem1qm01w40v3yhw1f/subgraphs/beefy-balances-ethereum/latest/gn)
- [Fantom](https://api.goldsky.com/api/public/project_clu2walwem1qm01w40v3yhw1f/subgraphs/beefy-balances-fantom/latest/gn)
- [Fraxtal](https://api.goldsky.com/api/public/project_clu2walwem1qm01w40v3yhw1f/subgraphs/beefy-balances-fraxtal/latest/gn)
- [Linea](https://api.goldsky.com/api/public/project_clu2walwem1qm01w40v3yhw1f/subgraphs/beefy-balances-linea/latest/gn)
- [Manta](https://api.goldsky.com/api/public/project_clu2walwem1qm01w40v3yhw1f/subgraphs/beefy-balances-manta/latest/gn)
Expand Down
14 changes: 14 additions & 0 deletions config/avalanche.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"network": "avalanche",
"indexerHintPrune": 1000000,
"shareTokenMintAddress": "0x0000000000000000000000000000000000000000",
"burnAddress": "0x000000000000000000000000000000000000dead",

"beefyClassicVaultFactoryAddress": "0xee78529E158E82AC54c89608A9664F5597050526",
"beefyClassicVaultFactoryStartBlock": 23297126,

"beefyContractDeployerAddress": "0xcc536552A6214d6667fBC3EC38965F7f556A6391",
"beefyContractDeployerStartBlock": 33664658,

"vaultInitializedEvent": "Initialized(uint8)"
}
14 changes: 14 additions & 0 deletions config/fantom.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"network": "fantom",
"indexerHintPrune": 10000000,
"shareTokenMintAddress": "0x0000000000000000000000000000000000000000",
"burnAddress": "0x000000000000000000000000000000000000dead",

"beefyClassicVaultFactoryAddress": "0x740ce0674af6eec113a435faa53b297536a3e89b",
"beefyClassicVaultFactoryStartBlock": 54563817,

"beefyContractDeployerAddress": "0xcc536552A6214d6667fBC3EC38965F7f556A6391",
"beefyContractDeployerStartBlock": 66770113,

"vaultInitializedEvent": "Initialized(uint8)"
}
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@
"create-local": "graph create beefyfinance/local --node http://127.0.0.1:8020",
"deploy-local": "graph deploy beefyfinance/local --node http://127.0.0.1:8020 --ipfs http://localhost:5001",
"remove-local": "graph remove beefyfinance/local --node http://127.0.0.1:8020",
"prepare:avalanche": "./bin/prepare.sh avalanche",
"prepare:arbitrum": "./bin/prepare.sh arbitrum",
"prepare:base": "./bin/prepare.sh base",
"prepare:bsc": "./bin/prepare.sh bsc",
"prepare:ethereum": "./bin/prepare.sh ethereum",
"prepare:fantom": "./bin/prepare.sh fantom",
"prepare:fraxtal": "./bin/prepare.sh fraxtal",
"prepare:linea": "./bin/prepare.sh linea",
"prepare:manta": "./bin/prepare.sh manta",
Expand Down

0 comments on commit 4b96d50

Please sign in to comment.