From 20f3384896b234f3696e02ddd94b9ba22698275f Mon Sep 17 00:00:00 2001 From: kexley <87971154+kexleyBeefy@users.noreply.github.com> Date: Tue, 16 Jul 2024 14:50:08 -0400 Subject: [PATCH] Add Mantle --- .github/workflows/Release.yml | 1 + README.md | 1 + config/mantle.json | 31 +++++++++++++++++++++++++++++++ package.json | 3 ++- 4 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 config/mantle.json diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 22d19a1..88786bf 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -21,6 +21,7 @@ jobs: - "optimism" - "polygon" - "zksync" + - "mantle" os: [ubuntu-latest] runs-on: ${{ matrix.os }} diff --git a/README.md b/README.md index b10cc13..be6c1b5 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ This Subgraph sources events from the Beefy CLM contracts in different networks. - [Optimism](https://api.goldsky.com/api/public/project_clu2walwem1qm01w40v3yhw1f/subgraphs/beefy-clm-optimism/latest/gn) - [Polygon](https://api.goldsky.com/api/public/project_clu2walwem1qm01w40v3yhw1f/subgraphs/beefy-clm-polygon/latest/gn) - [zkSync](https://api.goldsky.com/api/public/project_clu2walwem1qm01w40v3yhw1f/subgraphs/beefy-clm-zksync/latest/gn) +- [mantle](https://api.goldsky.com/api/public/project_clu2walwem1qm01w40v3yhw1f/subgraphs/beefy-clm-mantle/latest/gn) ### Historical endpoints diff --git a/config/mantle.json b/config/mantle.json new file mode 100644 index 0000000..87b4612 --- /dev/null +++ b/config/mantle.json @@ -0,0 +1,31 @@ +{ + "network": "mantle", + + "multicall3Address": "0xcA11bde05977b3631167028862bE2a173976CA11", + "shareTokenMintAddress": "0x0000000000000000000000000000000000000000", + "burnAddress": "0x000000000000000000000000000000000000dead", + + "clmManagerFactoryAddress": "0xfBf758dbe280bD988ba0E13713b40ff8cea8565E", + "clmManagerFactoryStartBlock": 66470980, + "clmStrategyFactoryAddress": "0xEDFBeC807304951785b581dB401fDf76b4bAd1b0", + "clmStrategyFactoryStartBlock": 66470995, + "rewardPoolFactoryAddress": "0x0d4d90b8D7E1AA1AAE5B80EEdCD5b431Eb3c739D", + "rewardPoolFactoryStartBlock": 66470986, + "beefyClassicVaultFactoryAddress": "0xfc69704cC3cAac545cC7577009Ea4AA04F1a61Eb", + "beefyClassicVaultFactoryStartBlock": 66470986, + "beefyClassicBoostFactoryAddress": "0x0000000000000000000000000000000000000000", + "beefyClassicBoostFactoryStartBlock": 66470986, + "clockTickBlocks": 150, + + "wrappedNativeAddress": "0x78c1b0C915c4FAA5FffA6CAbf0219DA63d7f4cb8", + "wrappedNativeDecimals": 18, + + "priceOracleType": "pyth", + "chainlinkNativePriceFeedAddress": "0x0000000000000000000000000000000000000000", + "chainlinkNativePriceFeedDecimals": 8, + "pythPriceFeedAddress": "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729", + "pythNativePriceId": "0x4e3037c822d852d79af3ac80e35eb420ee3b870dca49f9344a38ef4773fb0585", + + "beefySwapperAddress": "0x9C18deE5290925f596fbEfee2f6745b640f3A4C6", + "beefyOracleAddress": "0x61129dCBd8944aB2D1C6792428603b0845f60c5B" +} diff --git a/package.json b/package.json index 396271c..df208b3 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,8 @@ "prepare:moonbeam": "./bin/prepare.sh moonbeam", "prepare:optimism": "./bin/prepare.sh optimism", "prepare:polygon": "./bin/prepare.sh polygon", - "prepare:zksync": "./bin/prepare.sh zksync" + "prepare:zksync": "./bin/prepare.sh zksync", + "prepare:mantle": "./bin/prepare.sh mantle" }, "main": "./bin/index.js", "bin": {