From f4ee47731ea9e82773a14ff6374ac8a7da778c6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Pr=C3=A9vost?= <998369+prevostc@users.noreply.github.com> Date: Mon, 30 Sep 2024 10:17:01 +0200 Subject: [PATCH] Add rootstock --- .github/workflows/Release.yml | 1 + README.md | 1 + config/rootstock.json | 19 +++++++++++++++++++ data/rootstock_data.json | 4 ++++ package.json | 1 + 5 files changed, 26 insertions(+) create mode 100644 config/rootstock.json create mode 100644 data/rootstock_data.json diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index dacca2d..de2041e 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -27,6 +27,7 @@ jobs: "moonbeam", "optimism", "polygon", + "rootstock", "sei", "zksync", ] diff --git a/README.md b/README.md index 0580770..1993a17 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,7 @@ This Subgraph sources events from the Beefy contracts in different networks. - [Moonbeam](https://api.goldsky.com/api/public/project_clu2walwem1qm01w40v3yhw1f/subgraphs/beefy-balances-moonbeam/latest/gn) - [Optimism](https://api.goldsky.com/api/public/project_clu2walwem1qm01w40v3yhw1f/subgraphs/beefy-balances-optimism/latest/gn) - [Polygon](https://api.goldsky.com/api/public/project_clu2walwem1qm01w40v3yhw1f/subgraphs/beefy-balances-polygon/latest/gn) +- [Rootstock](https://api.goldsky.com/api/public/project_clu2walwem1qm01w40v3yhw1f/subgraphs/beefy-balances-rootstock/latest/gn) - [Sei](https://api.goldsky.com/api/public/project_clu2walwem1qm01w40v3yhw1f/subgraphs/beefy-balances-sei/latest/gn) - [Zksync](https://api.goldsky.com/api/public/project_clu2walwem1qm01w40v3yhw1f/subgraphs/beefy-balances-zksync/latest/gn) diff --git a/config/rootstock.json b/config/rootstock.json new file mode 100644 index 0000000..3b392ed --- /dev/null +++ b/config/rootstock.json @@ -0,0 +1,19 @@ +{ + "network": "rootstock", + + "shareTokenMintAddress": "0x0000000000000000000000000000000000000000", + "burnAddress": "0x000000000000000000000000000000000000dead", + + "clmManagerFactoryAddress": "0xC2cEE7cf27D2Eda09fEc1743f3953dA77Bf1DA61", + "clmManagerFactoryStartBlock": 6741365, + "clmStrategyFactoryAddress": "0x0465375274301FFCDf3274e59544d535e03B3688", + "clmStrategyFactoryStartBlock": 6741374, + "rewardPoolFactoryAddress": "0x7cac900B2f504047b40F5554F633248f78bD960A", + "rewardPoolFactoryStartBlock": 6741369, + "beefyClassicVaultFactoryAddress": "0xe103ab2f922aa1a56EC058AbfDA2CeEa1e95bCd7", + "beefyClassicVaultFactoryStartBlock": 6729703, + "beefyClassicBoostFactoryAddress": "0x0000000000000000000000000000000000000000", + "beefyClassicBoostFactoryStartBlock": 6729703, + + "vaultInitializedEvent": "Initialized(uint8)" +} diff --git a/data/rootstock_data.json b/data/rootstock_data.json new file mode 100644 index 0000000..0e2c6c9 --- /dev/null +++ b/data/rootstock_data.json @@ -0,0 +1,4 @@ +{ + "old_vaults": [], + "old_boosts": [] +} diff --git a/package.json b/package.json index df512a6..c875d89 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ "prepare:moonbeam": "./bin/prepare.sh moonbeam", "prepare:optimism": "./bin/prepare.sh optimism", "prepare:polygon": "./bin/prepare.sh polygon", + "prepare:rootstock": "./bin/prepare.sh rootstock", "prepare:sei": "./bin/prepare.sh sei", "prepare:zksync": "./bin/prepare.sh zksync" },