From 463c80c63896c280716aebb535dde546c2c57a52 Mon Sep 17 00:00:00 2001 From: Arkhip Vouba <80775286+57Ark@users.noreply.github.com> Date: Mon, 23 Dec 2024 20:10:26 +0100 Subject: [PATCH 01/23] feat: add nexo pool --- src/config/configs/nexoConfigMainnet.ts | 234 ++++++++++++++++++++++++ 1 file changed, 234 insertions(+) create mode 100644 src/config/configs/nexoConfigMainnet.ts diff --git a/src/config/configs/nexoConfigMainnet.ts b/src/config/configs/nexoConfigMainnet.ts new file mode 100644 index 0000000..18c5968 --- /dev/null +++ b/src/config/configs/nexoConfigMainnet.ts @@ -0,0 +1,234 @@ +import { + AdapterConfig, + GenericSwapConfig, + PendlePairStatus, + PendleRouterConfig, + UniV3Config, +} from "../adapters"; +import { + CollateralToken, + CreditManagerV3DeployConfig, + PoolV3DeployConfig, +} from "../poolV3DeployConfig"; + +const POOL_DECIMALS = BigInt(1e18); + +const uniV3Config: UniV3Config = { + contract: "UNISWAP_V3_ROUTER", + allowed: [ + { token0: "USDe", token1: "USDT", fee: 100 }, + { token0: "SKY", token1: "WETH", fee: 3000 }, + ], +}; + +const pendleConfig: PendleRouterConfig = { + contract: "PENDLE_ROUTER", + allowed: [ + { + inputToken: "sUSDe", + pendleToken: "PT_sUSDe_27MAR2025", + market: "0xcDd26Eb5EB2Ce0f203a84553853667aE69Ca29Ce", + status: PendlePairStatus.ALLOWED, + }, + ], +}; + +const collateralTokens: CollateralToken[] = [ + { + token: "USDe", + lt: 9000, + }, + { + token: "sUSDe", + lt: 9000, + }, + { + token: "PT_sUSDe_27MAR2025", + lt: 8600, + }, + { + token: "sDAI", + lt: 9000, + }, + { + token: "sUSDS", + lt: 9000, + }, + { + token: "USDC", + lt: 9000, + }, + { + token: "USDS", + lt: 9000, + }, + { + token: "DAI", + lt: 9000, + }, + + // COMPATIBILITY + { token: "3Crv", lt: 0 }, + { token: "MtEthena", lt: 0 }, + { token: "USDeUSDC", lt: 0 }, + { token: "USDeDAI", lt: 0 }, + + { token: "WETH", lt: 0 }, + { token: "SKY", lt: 0 }, +]; + +const adapters: AdapterConfig[] = [ + uniV3Config, + pendleConfig, + { contract: "CURVE_3CRV_POOL" }, + { contract: "CURVE_SDAI_SUSDE_POOL" }, + { contract: "CURVE_USDE_USDC_POOL" }, + { contract: "CURVE_USDE_DAI_POOL" }, + + { contract: "DAI_USDS" }, + { contract: "STAKED_USDS_VAULT" }, + { contract: "SKY_STAKING_REWARDS" }, +]; + +const tierSCreditManager: CreditManagerV3DeployConfig = { + name: "NEXO USDT stable S", + degenNft: false, + expirationDate: undefined, + minDebt: BigInt(2e4) * POOL_DECIMALS, + maxDebt: BigInt(4e5) * POOL_DECIMALS, + feeInterest: 1000, + feeLiquidation: 0, + liquidationPremium: 400, + feeLiquidationExpired: 0, + liquidationPremiumExpired: 400, + poolLimit: BigInt(100e6) * POOL_DECIMALS, + maxEnabledTokens: 4, + collateralTokens, + adapters, +}; + +const tierMCreditManager: CreditManagerV3DeployConfig = { + name: "NEXO USDT stable M", + degenNft: false, + expirationDate: undefined, + minDebt: BigInt(4e5) * POOL_DECIMALS, + maxDebt: BigInt(8e6) * POOL_DECIMALS, + feeInterest: 1000, + feeLiquidation: 0, + liquidationPremium: 300, + feeLiquidationExpired: 0, + liquidationPremiumExpired: 300, + poolLimit: BigInt(100e6) * POOL_DECIMALS, + maxEnabledTokens: 4, + collateralTokens, + adapters, +}; + +export const dolaConfigMainnet: PoolV3DeployConfig = { + id: "mainnet-nexo-v3", + symbol: "dUSDTV3N", + name: "Nexo USDT v3 stable", + network: "Mainnet", + underlying: "USDT", + accountAmount: BigInt(100_000) * POOL_DECIMALS, + withdrawalFee: 0, + totalDebtLimit: BigInt(1_000_000_000) * POOL_DECIMALS, + irm: { + U1: 7000, + U2: 9000, + Rbase: 0, + Rslope1: 200, + Rslope2: 500, + Rslope3: 2300, + isBorrowingMoreU2Forbidden: true, + }, + ratesAndLimits: { + USDe: { + minRate: 5, + maxRate: 2500, + quotaIncreaseFee: 0, + limit: BigInt(30e6) * POOL_DECIMALS, + }, + sUSDe: { + minRate: 5, + maxRate: 2500, + quotaIncreaseFee: 0, + limit: BigInt(30e6) * POOL_DECIMALS, + }, + PT_sUSDe_27MAR2025: { + minRate: 5, + maxRate: 2500, + quotaIncreaseFee: 0, + limit: BigInt(10e6) * POOL_DECIMALS, + }, + sDAI: { + minRate: 5, + maxRate: 1500, + quotaIncreaseFee: 0, + limit: BigInt(30e6) * POOL_DECIMALS, + }, + sUSDS: { + minRate: 5, + maxRate: 1500, + quotaIncreaseFee: 0, + limit: BigInt(30e6) * POOL_DECIMALS, + }, + USDC: { + minRate: 5, + maxRate: 500, + quotaIncreaseFee: 0, + limit: BigInt(100e6) * POOL_DECIMALS, + }, + USDS: { + minRate: 5, + maxRate: 500, + quotaIncreaseFee: 0, + limit: BigInt(100e6) * POOL_DECIMALS, + }, + DAI: { + minRate: 5, + maxRate: 500, + quotaIncreaseFee: 0, + limit: BigInt(100e6) * POOL_DECIMALS, + }, + // COMPATIBILITY + "3Crv": { + minRate: 1, + maxRate: 1, + quotaIncreaseFee: 0, + limit: BigInt(0), + }, + MtEthena: { + minRate: 1, + maxRate: 1, + quotaIncreaseFee: 0, + limit: BigInt(0), + }, + USDeUSDC: { + minRate: 1, + maxRate: 1, + quotaIncreaseFee: 0, + limit: BigInt(0), + }, + USDeDAI: { + minRate: 1, + maxRate: 1, + quotaIncreaseFee: 0, + limit: BigInt(0), + }, + WETH: { + minRate: 1, + maxRate: 1, + quotaIncreaseFee: 0, + limit: BigInt(0), + }, + SKY: { + minRate: 1, + maxRate: 1, + quotaIncreaseFee: 0, + limit: BigInt(0), + }, + }, + creditManagers: [tierSCreditManager, tierMCreditManager], + supportsQuotas: true, +}; From 263bb44331418c08a7c853d38d55a0c5d25df37b Mon Sep 17 00:00:00 2001 From: Arkhip Vouba <80775286+57Ark@users.noreply.github.com> Date: Mon, 23 Dec 2024 20:13:05 +0100 Subject: [PATCH 02/23] fix: naming --- src/config/configs/nexoConfigMainnet.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/config/configs/nexoConfigMainnet.ts b/src/config/configs/nexoConfigMainnet.ts index 18c5968..46a3e27 100644 --- a/src/config/configs/nexoConfigMainnet.ts +++ b/src/config/configs/nexoConfigMainnet.ts @@ -1,6 +1,5 @@ import { AdapterConfig, - GenericSwapConfig, PendlePairStatus, PendleRouterConfig, UniV3Config, @@ -124,7 +123,7 @@ const tierMCreditManager: CreditManagerV3DeployConfig = { adapters, }; -export const dolaConfigMainnet: PoolV3DeployConfig = { +export const nexoConfigMainnet: PoolV3DeployConfig = { id: "mainnet-nexo-v3", symbol: "dUSDTV3N", name: "Nexo USDT v3 stable", From 56a6cb88afd0c476d0b6f30b7a71ff88f137af2c Mon Sep 17 00:00:00 2001 From: Arkhip Vouba <80775286+57Ark@users.noreply.github.com> Date: Mon, 23 Dec 2024 20:19:03 +0100 Subject: [PATCH 03/23] fix: export --- src/config/configs/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config/configs/index.ts b/src/config/configs/index.ts index d2745df..e48474c 100644 --- a/src/config/configs/index.ts +++ b/src/config/configs/index.ts @@ -2,6 +2,7 @@ export { crvusdConfigMainnet } from "./crvusdConfigMainnet"; export { daiConfigMainnet } from "./daiConfigMainnet"; export { dolaConfigMainnet } from "./dolaConfigMainnet"; export { ghoConfigMainnet } from "./ghoConfigMainnet"; +export { nexoConfigMainnet } from "./nexoConfigMainnet"; export { testDaiConfigMainnet } from "./test_daiConfigMainnet"; export { testUsdcConfigArbitrum } from "./test_usdcConfigArbitrum"; export { testUsdcConfigMainnet } from "./test_usdcConfigMainnet"; From 92ad8d76138c3d8b292285ce39e0e6cbba1597cf Mon Sep 17 00:00:00 2001 From: Arkhip Vouba <80775286+57Ark@users.noreply.github.com> Date: Tue, 24 Dec 2024 21:48:22 +0100 Subject: [PATCH 04/23] fix: nexo config --- src/config/configs/nexoConfigMainnet.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/config/configs/nexoConfigMainnet.ts b/src/config/configs/nexoConfigMainnet.ts index 46a3e27..a882c5f 100644 --- a/src/config/configs/nexoConfigMainnet.ts +++ b/src/config/configs/nexoConfigMainnet.ts @@ -74,6 +74,7 @@ const collateralTokens: CollateralToken[] = [ { token: "WETH", lt: 0 }, { token: "SKY", lt: 0 }, + { token: "stkUSDS", lt: 0 }, ]; const adapters: AdapterConfig[] = [ @@ -227,6 +228,12 @@ export const nexoConfigMainnet: PoolV3DeployConfig = { quotaIncreaseFee: 0, limit: BigInt(0), }, + stkUSDS: { + minRate: 1, + maxRate: 1, + quotaIncreaseFee: 0, + limit: BigInt(0), + }, }, creditManagers: [tierSCreditManager, tierMCreditManager], supportsQuotas: true, From 4f909fc42e097259b1631d3f7f33ce7eac5708f6 Mon Sep 17 00:00:00 2001 From: Arkhip Vouba <80775286+57Ark@users.noreply.github.com> Date: Tue, 24 Dec 2024 22:24:31 +0100 Subject: [PATCH 05/23] fix: nexo config --- src/config/configs/nexoConfigMainnet.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/config/configs/nexoConfigMainnet.ts b/src/config/configs/nexoConfigMainnet.ts index a882c5f..067b22f 100644 --- a/src/config/configs/nexoConfigMainnet.ts +++ b/src/config/configs/nexoConfigMainnet.ts @@ -74,7 +74,6 @@ const collateralTokens: CollateralToken[] = [ { token: "WETH", lt: 0 }, { token: "SKY", lt: 0 }, - { token: "stkUSDS", lt: 0 }, ]; const adapters: AdapterConfig[] = [ @@ -87,7 +86,6 @@ const adapters: AdapterConfig[] = [ { contract: "DAI_USDS" }, { contract: "STAKED_USDS_VAULT" }, - { contract: "SKY_STAKING_REWARDS" }, ]; const tierSCreditManager: CreditManagerV3DeployConfig = { @@ -228,12 +226,6 @@ export const nexoConfigMainnet: PoolV3DeployConfig = { quotaIncreaseFee: 0, limit: BigInt(0), }, - stkUSDS: { - minRate: 1, - maxRate: 1, - quotaIncreaseFee: 0, - limit: BigInt(0), - }, }, creditManagers: [tierSCreditManager, tierMCreditManager], supportsQuotas: true, From ecc136f4fc0e0e6d19b9505e64de4f56d80899c2 Mon Sep 17 00:00:00 2001 From: Arkhip Vouba <80775286+57Ark@users.noreply.github.com> Date: Tue, 24 Dec 2024 22:35:04 +0100 Subject: [PATCH 06/23] fix: nexo config --- src/config/configs/nexoConfigMainnet.ts | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/src/config/configs/nexoConfigMainnet.ts b/src/config/configs/nexoConfigMainnet.ts index 067b22f..8d1a26a 100644 --- a/src/config/configs/nexoConfigMainnet.ts +++ b/src/config/configs/nexoConfigMainnet.ts @@ -14,10 +14,7 @@ const POOL_DECIMALS = BigInt(1e18); const uniV3Config: UniV3Config = { contract: "UNISWAP_V3_ROUTER", - allowed: [ - { token0: "USDe", token1: "USDT", fee: 100 }, - { token0: "SKY", token1: "WETH", fee: 3000 }, - ], + allowed: [{ token0: "USDe", token1: "USDT", fee: 100 }], }; const pendleConfig: PendleRouterConfig = { @@ -71,9 +68,6 @@ const collateralTokens: CollateralToken[] = [ { token: "MtEthena", lt: 0 }, { token: "USDeUSDC", lt: 0 }, { token: "USDeDAI", lt: 0 }, - - { token: "WETH", lt: 0 }, - { token: "SKY", lt: 0 }, ]; const adapters: AdapterConfig[] = [ @@ -86,6 +80,7 @@ const adapters: AdapterConfig[] = [ { contract: "DAI_USDS" }, { contract: "STAKED_USDS_VAULT" }, + { contract: "MAKER_DSR_VAULT" }, ]; const tierSCreditManager: CreditManagerV3DeployConfig = { @@ -214,18 +209,6 @@ export const nexoConfigMainnet: PoolV3DeployConfig = { quotaIncreaseFee: 0, limit: BigInt(0), }, - WETH: { - minRate: 1, - maxRate: 1, - quotaIncreaseFee: 0, - limit: BigInt(0), - }, - SKY: { - minRate: 1, - maxRate: 1, - quotaIncreaseFee: 0, - limit: BigInt(0), - }, }, creditManagers: [tierSCreditManager, tierMCreditManager], supportsQuotas: true, From c074216e529aafc15cd8e15c5ef0023b49275034 Mon Sep 17 00:00:00 2001 From: Arkhip Vouba <80775286+57Ark@users.noreply.github.com> Date: Fri, 10 Jan 2025 18:03:03 +0100 Subject: [PATCH 07/23] feat: tBTC pool --- contracts/AdapterData.sol | 8 + contracts/ContractType.sol | 1 + contracts/PriceFeedDataLive.sol | 37 ++ contracts/SupportedContracts.sol | 7 + contracts/Tokens.sol | 483 ++++++++++++------------ contracts/TokensData.sol | 35 +- src/config/configs/tbtcConfigMainnet.ts | 321 ++++++++++++++++ src/contracts/contracts.ts | 13 + src/oracles/priceFeeds.ts | 27 ++ src/tokens/balancer.ts | 11 + src/tokens/curveLP.ts | 8 + src/tokens/decimals.ts | 3 + src/tokens/normal.ts | 7 + src/tokens/token.ts | 27 +- 14 files changed, 738 insertions(+), 250 deletions(-) create mode 100644 src/config/configs/tbtcConfigMainnet.ts diff --git a/contracts/AdapterData.sol b/contracts/AdapterData.sol index 446b772..974fb65 100644 --- a/contracts/AdapterData.sol +++ b/contracts/AdapterData.sol @@ -508,6 +508,14 @@ contract AdapterData { basePool: Contracts.NO_CONTRACT }) ); + curveAdapters.push( + CurveAdapter({ + targetContract: Contracts.CURVE_tBTC_WBTC_POOL, + adapterType: AdapterType.CURVE_V1_2ASSETS, + lpToken: TOKEN__2BTC_f, + basePool: Contracts.NO_CONTRACT + }) + ); curveAdapters.push( CurveAdapter({ targetContract: Contracts.CURVE_2CRV_POOL_ARB, diff --git a/contracts/ContractType.sol b/contracts/ContractType.sol index a4a8e10..432104b 100644 --- a/contracts/ContractType.sol +++ b/contracts/ContractType.sol @@ -45,6 +45,7 @@ enum Contracts { CURVE_EBTC_WBTC_POOL, CURVE_PUMPBTC_WBTC_POOL, CURVE_TRIBTC_POOL, + CURVE_tBTC_WBTC_POOL, CURVE_GEAR_POOL, CURVE_CRVUSD_USDC_POOL, CURVE_CRVUSD_USDT_POOL, diff --git a/contracts/PriceFeedDataLive.sol b/contracts/PriceFeedDataLive.sol index 40636b1..f1e38c8 100644 --- a/contracts/PriceFeedDataLive.sol +++ b/contracts/PriceFeedDataLive.sol @@ -1041,6 +1041,17 @@ contract PriceFeedDataLive { }) ); + // ------------------------ tBTC ------------------------ + chainlinkPriceFeedsByNetwork[1].push( + ChainlinkPriceFeedData({ + token: TOKEN_tBTC, + priceFeed: 0xF4030086522a5bEEa4988F8cA5B36dbC97BeE88c, + stalenessPeriod: 4500, + trusted: true, + reserve: false + }) + ); + // ------------------------ WETH ------------------------ chainlinkPriceFeedsByNetwork[1].push( ChainlinkPriceFeedData({ @@ -4323,6 +4334,18 @@ contract PriceFeedDataLive { SingeTokenPriceFeedData({token: TOKEN_TriBTC, trusted: false, reserve: false}) ); + // ------------------------ 2BTC-f ------------------------ + zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN__2BTC_f, trusted: false, reserve: false})); + zeroPriceFeedsByNetwork[42161].push( + SingeTokenPriceFeedData({token: TOKEN__2BTC_f, trusted: false, reserve: false}) + ); + zeroPriceFeedsByNetwork[10].push( + SingeTokenPriceFeedData({token: TOKEN__2BTC_f, trusted: false, reserve: false}) + ); + zeroPriceFeedsByNetwork[8453].push( + SingeTokenPriceFeedData({token: TOKEN__2BTC_f, trusted: false, reserve: false}) + ); + // ------------------------ 3CRV ------------------------ curvePriceFeedsByNetwork[1].push( CurvePriceFeedData({ @@ -6421,6 +6444,20 @@ contract PriceFeedDataLive { SingeTokenPriceFeedData({token: TOKEN_pumpBTC_WBTC_BPT, trusted: false, reserve: false}) ); + // ------------------------ eBTC_WBTC_BPT ------------------------ + zeroPriceFeedsByNetwork[1].push( + SingeTokenPriceFeedData({token: TOKEN_eBTC_WBTC_BPT, trusted: false, reserve: false}) + ); + zeroPriceFeedsByNetwork[42161].push( + SingeTokenPriceFeedData({token: TOKEN_eBTC_WBTC_BPT, trusted: false, reserve: false}) + ); + zeroPriceFeedsByNetwork[10].push( + SingeTokenPriceFeedData({token: TOKEN_eBTC_WBTC_BPT, trusted: false, reserve: false}) + ); + zeroPriceFeedsByNetwork[8453].push( + SingeTokenPriceFeedData({token: TOKEN_eBTC_WBTC_BPT, trusted: false, reserve: false}) + ); + // ------------------------ 33AURA_33ARB_33BAL ------------------------ zeroPriceFeedsByNetwork[1].push( SingeTokenPriceFeedData({token: TOKEN__33AURA_33ARB_33BAL, trusted: true, reserve: false}) diff --git a/contracts/SupportedContracts.sol b/contracts/SupportedContracts.sol index 1fe73b6..c236009 100644 --- a/contracts/SupportedContracts.sol +++ b/contracts/SupportedContracts.sol @@ -285,6 +285,13 @@ contract SupportedContracts is Test, ISupportedContracts { name: "CURVE_TRIBTC_POOL" }) ); + contractDataByNetwork[1].push( + ContractData({ + id: Contracts.CURVE_tBTC_WBTC_POOL, + addr: 0xB7ECB2AA52AA64a717180E030241bC75Cd946726, + name: "CURVE_tBTC_WBTC_POOL" + }) + ); contractDataByNetwork[1].push( ContractData({ id: Contracts.CURVE_GEAR_POOL, diff --git a/contracts/Tokens.sol b/contracts/Tokens.sol index 54c85ae..62e49dd 100644 --- a/contracts/Tokens.sol +++ b/contracts/Tokens.sol @@ -18,246 +18,249 @@ uint256 constant TOKEN_USDC_e = 10; uint256 constant TOKEN_USDT = 11; uint256 constant TOKEN_DOLA = 12; uint256 constant TOKEN_WBTC = 13; -uint256 constant TOKEN_WETH = 14; -uint256 constant TOKEN_YFI = 15; -uint256 constant TOKEN_WLD = 16; -uint256 constant TOKEN_OP = 17; -uint256 constant TOKEN_STETH = 18; -uint256 constant TOKEN_CVX = 19; -uint256 constant TOKEN_FRAX = 20; -uint256 constant TOKEN_FXS = 21; -uint256 constant TOKEN_LDO = 22; -uint256 constant TOKEN_LUSD = 23; -uint256 constant TOKEN_sUSD = 24; -uint256 constant TOKEN_GUSD = 25; -uint256 constant TOKEN_LQTY = 26; -uint256 constant TOKEN_GMX = 27; -uint256 constant TOKEN_ARB = 28; -uint256 constant TOKEN_BAL = 29; -uint256 constant TOKEN_SHIB = 30; -uint256 constant TOKEN_crvUSD = 31; -uint256 constant TOKEN_MKR = 32; -uint256 constant TOKEN_RPL = 33; -uint256 constant TOKEN_APE = 34; -uint256 constant TOKEN_LBTC = 35; -uint256 constant TOKEN_eBTC = 36; -uint256 constant TOKEN_solvBTC = 37; -uint256 constant TOKEN_pumpBTC = 38; -uint256 constant TOKEN_rETH = 39; -uint256 constant TOKEN_AURA = 40; -uint256 constant TOKEN_osETH = 41; -uint256 constant TOKEN_weETH = 42; -uint256 constant TOKEN_SWISE = 43; -uint256 constant TOKEN_ezETH = 44; -uint256 constant TOKEN_rsETH = 45; -uint256 constant TOKEN_frxETH = 46; -uint256 constant TOKEN_PENDLE = 47; -uint256 constant TOKEN_cbETH = 48; -uint256 constant TOKEN_rswETH = 49; -uint256 constant TOKEN_USDe = 50; -uint256 constant TOKEN_GHO = 51; -uint256 constant TOKEN_pufETH = 52; -uint256 constant TOKEN_wstETH = 53; -uint256 constant TOKEN_steakLRT = 54; -uint256 constant TOKEN_Re7LRT = 55; -uint256 constant TOKEN_amphrETH = 56; -uint256 constant TOKEN_rstETH = 57; -uint256 constant TOKEN_pzETH = 58; -uint256 constant TOKEN_PT_rsETH_26SEP2024 = 59; -uint256 constant TOKEN_USDS = 60; -uint256 constant TOKEN_SKY = 61; -uint256 constant TOKEN_PT_sUSDe_26DEC2024 = 62; -uint256 constant TOKEN_PT_eETH_26DEC2024 = 63; -uint256 constant TOKEN_PT_ezETH_26DEC2024 = 64; -uint256 constant TOKEN_PT_eBTC_26DEC2024 = 65; -uint256 constant TOKEN_PT_LBTC_27MAR2025 = 66; -uint256 constant TOKEN_PT_corn_solvBTC_BBN_26DEC2024 = 67; -uint256 constant TOKEN_PT_corn_pumpBTC_26DEC2024 = 68; -uint256 constant TOKEN_PT_cornLBTC_26DEC2024 = 69; -uint256 constant TOKEN_PT_corn_eBTC_27MAR2025 = 70; -uint256 constant TOKEN_PT_sUSDe_27MAR2025 = 71; -uint256 constant TOKEN_sfrxETH = 72; -uint256 constant TOKEN__3Crv = 73; -uint256 constant TOKEN_crvFRAX = 74; -uint256 constant TOKEN_steCRV = 75; -uint256 constant TOKEN_crvPlain3andSUSD = 76; -uint256 constant TOKEN_crvCRVETH = 77; -uint256 constant TOKEN_crvCVXETH = 78; -uint256 constant TOKEN_crvUSDTWBTCWETH = 79; -uint256 constant TOKEN_LDOETH = 80; -uint256 constant TOKEN_crvUSDUSDC = 81; -uint256 constant TOKEN_crvUSDUSDT = 82; -uint256 constant TOKEN_crvUsUSDe = 83; -uint256 constant TOKEN_llamathena = 84; -uint256 constant TOKEN_crvUSDFRAX = 85; -uint256 constant TOKEN_crvUSDETHCRV = 86; -uint256 constant TOKEN_rETH_f = 87; -uint256 constant TOKEN_DOLAFRAXBP3CRV_f = 88; -uint256 constant TOKEN_crvUSDDOLA_f = 89; -uint256 constant TOKEN_USDeUSDC = 90; -uint256 constant TOKEN_FRAXUSDe = 91; -uint256 constant TOKEN_USDecrvUSD = 92; -uint256 constant TOKEN_FRAXsDAI = 93; -uint256 constant TOKEN_DOLAsUSDe = 94; -uint256 constant TOKEN_USDeDAI = 95; -uint256 constant TOKEN_MtEthena = 96; -uint256 constant TOKEN_GHOUSDe = 97; -uint256 constant TOKEN_pufETHwstE = 98; -uint256 constant TOKEN_GHOcrvUSD = 99; -uint256 constant TOKEN_wstETHCRV = 100; -uint256 constant TOKEN__2CRV = 101; -uint256 constant TOKEN__3c_crvUSD = 102; -uint256 constant TOKEN_crvUSDC = 103; -uint256 constant TOKEN_crvUSDT = 104; -uint256 constant TOKEN_crvUSDC_e = 105; -uint256 constant TOKEN_USDEUSDC = 106; -uint256 constant TOKEN__3CRV = 107; -uint256 constant TOKEN_ezETHWETH = 108; -uint256 constant TOKEN_ezpzETH = 109; -uint256 constant TOKEN_LBTCWBTC = 110; -uint256 constant TOKEN_eBTCWBTC = 111; -uint256 constant TOKEN_pumpBTCWBTC = 112; -uint256 constant TOKEN_TriBTC = 113; -uint256 constant TOKEN_FRAX3CRV = 114; -uint256 constant TOKEN_LUSD3CRV = 115; -uint256 constant TOKEN_gusd3CRV = 116; -uint256 constant TOKEN_cvx3Crv = 117; -uint256 constant TOKEN_cvxcrvFRAX = 118; -uint256 constant TOKEN_cvxsteCRV = 119; -uint256 constant TOKEN_cvxFRAX3CRV = 120; -uint256 constant TOKEN_cvxLUSD3CRV = 121; -uint256 constant TOKEN_cvxcrvPlain3andSUSD = 122; -uint256 constant TOKEN_cvxgusd3CRV = 123; -uint256 constant TOKEN_cvxcrvCRVETH = 124; -uint256 constant TOKEN_cvxcrvCVXETH = 125; -uint256 constant TOKEN_cvxcrvUSDTWBTCWETH = 126; -uint256 constant TOKEN_cvxLDOETH = 127; -uint256 constant TOKEN_cvxcrvUSDUSDC = 128; -uint256 constant TOKEN_cvxcrvUSDUSDT = 129; -uint256 constant TOKEN_cvxcrvUSDFRAX = 130; -uint256 constant TOKEN_cvxcrvUSDETHCRV = 131; -uint256 constant TOKEN_cvxGHOcrvUSD = 132; -uint256 constant TOKEN_cvxllamathena = 133; -uint256 constant TOKEN_stkcvx3Crv = 134; -uint256 constant TOKEN_stkcvxcrvFRAX = 135; -uint256 constant TOKEN_stkcvxsteCRV = 136; -uint256 constant TOKEN_stkcvxFRAX3CRV = 137; -uint256 constant TOKEN_stkcvxLUSD3CRV = 138; -uint256 constant TOKEN_stkcvxcrvPlain3andSUSD = 139; -uint256 constant TOKEN_stkcvxgusd3CRV = 140; -uint256 constant TOKEN_stkcvxcrvCRVETH = 141; -uint256 constant TOKEN_stkcvxcrvCVXETH = 142; -uint256 constant TOKEN_stkcvxcrvUSDTWBTCWETH = 143; -uint256 constant TOKEN_stkcvxLDOETH = 144; -uint256 constant TOKEN_stkcvxcrvUSDUSDC = 145; -uint256 constant TOKEN_stkcvxcrvUSDUSDT = 146; -uint256 constant TOKEN_stkcvxcrvUSDFRAX = 147; -uint256 constant TOKEN_stkcvxcrvUSDETHCRV = 148; -uint256 constant TOKEN_stkcvxGHOcrvUSD = 149; -uint256 constant TOKEN_stkcvxllamathena = 150; -uint256 constant TOKEN_cvxcrvUSDT = 151; -uint256 constant TOKEN_yvDAI = 152; -uint256 constant TOKEN_yvUSDC = 153; -uint256 constant TOKEN_yvUSDC_e = 154; -uint256 constant TOKEN_yvWETH = 155; -uint256 constant TOKEN_yvWBTC = 156; -uint256 constant TOKEN_yvUSDT = 157; -uint256 constant TOKEN_yvOP = 158; -uint256 constant TOKEN_yvCurve_stETH = 159; -uint256 constant TOKEN_yvCurve_FRAX = 160; -uint256 constant TOKEN__50WETH_50AURA = 161; -uint256 constant TOKEN_B_80BAL_20WETH = 162; -uint256 constant TOKEN_USDC_DAI_USDT = 163; -uint256 constant TOKEN_B_rETH_STABLE = 164; -uint256 constant TOKEN_weETH_rETH = 165; -uint256 constant TOKEN_osETH_wETH_BPT = 166; -uint256 constant TOKEN_ezETH_WETH_BPT = 167; -uint256 constant TOKEN_sUSDe_USDC_BPT = 168; -uint256 constant TOKEN_pumpBTC_WBTC_BPT = 169; -uint256 constant TOKEN_trenSTETH = 170; -uint256 constant TOKEN_weETH_ezETH_rswETH = 171; -uint256 constant TOKEN_GHO_USDT_USDC = 172; -uint256 constant TOKEN_rsETH_WETH = 173; -uint256 constant TOKEN_rsETH_wETH_Arb = 174; -uint256 constant TOKEN_BPT_rETH_ETH = 175; -uint256 constant TOKEN_BPT_WSTETH_ETH = 176; -uint256 constant TOKEN_BPT_ROAD = 177; -uint256 constant TOKEN_ECLP_wstETH_WETH = 178; -uint256 constant TOKEN_wstETH_WETH_BPT = 179; -uint256 constant TOKEN_wstETH_rETH_sfrxETH = 180; -uint256 constant TOKEN_wstETH_rETH_cbETH = 181; -uint256 constant TOKEN_cbETH_rETH_wstETH = 182; -uint256 constant TOKEN_rETH_WETH_BPT_deprecated = 183; -uint256 constant TOKEN_rETH_wETH_BPT = 184; -uint256 constant TOKEN__33AURA_33ARB_33BAL = 185; -uint256 constant TOKEN_ezETH_wstETH = 186; -uint256 constant TOKEN_bpt_ethtri = 187; -uint256 constant TOKEN_aDAI = 188; -uint256 constant TOKEN_aUSDC = 189; -uint256 constant TOKEN_aUSDT = 190; -uint256 constant TOKEN_aWETH = 191; -uint256 constant TOKEN_waDAI = 192; -uint256 constant TOKEN_waUSDC = 193; -uint256 constant TOKEN_waUSDT = 194; -uint256 constant TOKEN_waWETH = 195; -uint256 constant TOKEN_cDAI = 196; -uint256 constant TOKEN_cUSDC = 197; -uint256 constant TOKEN_cUSDT = 198; -uint256 constant TOKEN_cETH = 199; -uint256 constant TOKEN_cLINK = 200; -uint256 constant TOKEN_fUSDC = 201; -uint256 constant TOKEN_sDAI = 202; -uint256 constant TOKEN_YieldETH = 203; -uint256 constant TOKEN_sUSDe = 204; -uint256 constant TOKEN_sUSDS = 205; -uint256 constant TOKEN_scrvUSD = 206; -uint256 constant TOKEN_auraB_rETH_STABLE = 207; -uint256 constant TOKEN_auraosETH_wETH_BPT = 208; -uint256 constant TOKEN_auraweETH_rETH = 209; -uint256 constant TOKEN_auraBPT_rETH_ETH = 210; -uint256 constant TOKEN_auraBPT_WSTETH_ETH = 211; -uint256 constant TOKEN_aurawstETH_WETH_BPT = 212; -uint256 constant TOKEN_aurawstETH_rETH_sfrxETH = 213; -uint256 constant TOKEN_auracbETH_rETH_wstETH = 214; -uint256 constant TOKEN_aurarETH_wETH_BPT = 215; -uint256 constant TOKEN_auraB_rETH_STABLE_vault = 216; -uint256 constant TOKEN_auraosETH_wETH_BPT_vault = 217; -uint256 constant TOKEN_auraweETH_rETH_vault = 218; -uint256 constant TOKEN_auraBPT_rETH_ETH_vault = 219; -uint256 constant TOKEN_auraBPT_WSTETH_ETH_vault = 220; -uint256 constant TOKEN_aurawstETH_WETH_BPT_vault = 221; -uint256 constant TOKEN_aurawstETH_rETH_sfrxETH_vault = 222; -uint256 constant TOKEN_auracbETH_rETH_wstETH_vault = 223; -uint256 constant TOKEN_aurarETH_wETH_BPT_vault = 224; -uint256 constant TOKEN_zpufETH = 225; -uint256 constant TOKEN_stkUSDS = 226; -uint256 constant TOKEN_dDAI = 227; -uint256 constant TOKEN_dUSDC = 228; -uint256 constant TOKEN_dWBTC = 229; -uint256 constant TOKEN_dWETH = 230; -uint256 constant TOKEN_dwstETH = 231; -uint256 constant TOKEN_dFRAX = 232; -uint256 constant TOKEN_dUSDCV3 = 233; -uint256 constant TOKEN_dUSDC_eV3 = 234; -uint256 constant TOKEN_dWBTCV3 = 235; -uint256 constant TOKEN_dWETHV3 = 236; -uint256 constant TOKEN_dUSDTV3 = 237; -uint256 constant TOKEN_dGHOV3 = 238; -uint256 constant TOKEN_dDAIV3 = 239; -uint256 constant TOKEN_dcrvUSDV3 = 240; -uint256 constant TOKEN_dDOLAV3 = 241; -uint256 constant TOKEN_sdUSDCV3 = 242; -uint256 constant TOKEN_sdUSDC_eV3 = 243; -uint256 constant TOKEN_sdWBTCV3 = 244; -uint256 constant TOKEN_sdWETHV3 = 245; -uint256 constant TOKEN_sdWETHV3_OLD = 246; -uint256 constant TOKEN_sdUSDTV3 = 247; -uint256 constant TOKEN_sdGHOV3 = 248; -uint256 constant TOKEN_sdDAIV3 = 249; -uint256 constant TOKEN_sdcrvUSDV3 = 250; -uint256 constant TOKEN_sdDOLAV3 = 251; -uint256 constant TOKEN_GEAR = 252; -uint256 constant NUM_TOKENS = 253; +uint256 constant TOKEN_tBTC = 14; +uint256 constant TOKEN_WETH = 15; +uint256 constant TOKEN_YFI = 16; +uint256 constant TOKEN_WLD = 17; +uint256 constant TOKEN_OP = 18; +uint256 constant TOKEN_STETH = 19; +uint256 constant TOKEN_CVX = 20; +uint256 constant TOKEN_FRAX = 21; +uint256 constant TOKEN_FXS = 22; +uint256 constant TOKEN_LDO = 23; +uint256 constant TOKEN_LUSD = 24; +uint256 constant TOKEN_sUSD = 25; +uint256 constant TOKEN_GUSD = 26; +uint256 constant TOKEN_LQTY = 27; +uint256 constant TOKEN_GMX = 28; +uint256 constant TOKEN_ARB = 29; +uint256 constant TOKEN_BAL = 30; +uint256 constant TOKEN_SHIB = 31; +uint256 constant TOKEN_crvUSD = 32; +uint256 constant TOKEN_MKR = 33; +uint256 constant TOKEN_RPL = 34; +uint256 constant TOKEN_APE = 35; +uint256 constant TOKEN_LBTC = 36; +uint256 constant TOKEN_eBTC = 37; +uint256 constant TOKEN_solvBTC = 38; +uint256 constant TOKEN_pumpBTC = 39; +uint256 constant TOKEN_rETH = 40; +uint256 constant TOKEN_AURA = 41; +uint256 constant TOKEN_osETH = 42; +uint256 constant TOKEN_weETH = 43; +uint256 constant TOKEN_SWISE = 44; +uint256 constant TOKEN_ezETH = 45; +uint256 constant TOKEN_rsETH = 46; +uint256 constant TOKEN_frxETH = 47; +uint256 constant TOKEN_PENDLE = 48; +uint256 constant TOKEN_cbETH = 49; +uint256 constant TOKEN_rswETH = 50; +uint256 constant TOKEN_USDe = 51; +uint256 constant TOKEN_GHO = 52; +uint256 constant TOKEN_pufETH = 53; +uint256 constant TOKEN_wstETH = 54; +uint256 constant TOKEN_steakLRT = 55; +uint256 constant TOKEN_Re7LRT = 56; +uint256 constant TOKEN_amphrETH = 57; +uint256 constant TOKEN_rstETH = 58; +uint256 constant TOKEN_pzETH = 59; +uint256 constant TOKEN_PT_rsETH_26SEP2024 = 60; +uint256 constant TOKEN_USDS = 61; +uint256 constant TOKEN_SKY = 62; +uint256 constant TOKEN_PT_sUSDe_26DEC2024 = 63; +uint256 constant TOKEN_PT_eETH_26DEC2024 = 64; +uint256 constant TOKEN_PT_ezETH_26DEC2024 = 65; +uint256 constant TOKEN_PT_eBTC_26DEC2024 = 66; +uint256 constant TOKEN_PT_LBTC_27MAR2025 = 67; +uint256 constant TOKEN_PT_corn_solvBTC_BBN_26DEC2024 = 68; +uint256 constant TOKEN_PT_corn_pumpBTC_26DEC2024 = 69; +uint256 constant TOKEN_PT_cornLBTC_26DEC2024 = 70; +uint256 constant TOKEN_PT_corn_eBTC_27MAR2025 = 71; +uint256 constant TOKEN_PT_sUSDe_27MAR2025 = 72; +uint256 constant TOKEN_sfrxETH = 73; +uint256 constant TOKEN__3Crv = 74; +uint256 constant TOKEN_crvFRAX = 75; +uint256 constant TOKEN_steCRV = 76; +uint256 constant TOKEN_crvPlain3andSUSD = 77; +uint256 constant TOKEN_crvCRVETH = 78; +uint256 constant TOKEN_crvCVXETH = 79; +uint256 constant TOKEN_crvUSDTWBTCWETH = 80; +uint256 constant TOKEN_LDOETH = 81; +uint256 constant TOKEN_crvUSDUSDC = 82; +uint256 constant TOKEN_crvUSDUSDT = 83; +uint256 constant TOKEN_crvUsUSDe = 84; +uint256 constant TOKEN_llamathena = 85; +uint256 constant TOKEN_crvUSDFRAX = 86; +uint256 constant TOKEN_crvUSDETHCRV = 87; +uint256 constant TOKEN_rETH_f = 88; +uint256 constant TOKEN_DOLAFRAXBP3CRV_f = 89; +uint256 constant TOKEN_crvUSDDOLA_f = 90; +uint256 constant TOKEN_USDeUSDC = 91; +uint256 constant TOKEN_FRAXUSDe = 92; +uint256 constant TOKEN_USDecrvUSD = 93; +uint256 constant TOKEN_FRAXsDAI = 94; +uint256 constant TOKEN_DOLAsUSDe = 95; +uint256 constant TOKEN_USDeDAI = 96; +uint256 constant TOKEN_MtEthena = 97; +uint256 constant TOKEN_GHOUSDe = 98; +uint256 constant TOKEN_pufETHwstE = 99; +uint256 constant TOKEN_GHOcrvUSD = 100; +uint256 constant TOKEN_wstETHCRV = 101; +uint256 constant TOKEN__2CRV = 102; +uint256 constant TOKEN__3c_crvUSD = 103; +uint256 constant TOKEN_crvUSDC = 104; +uint256 constant TOKEN_crvUSDT = 105; +uint256 constant TOKEN_crvUSDC_e = 106; +uint256 constant TOKEN_USDEUSDC = 107; +uint256 constant TOKEN__3CRV = 108; +uint256 constant TOKEN_ezETHWETH = 109; +uint256 constant TOKEN_ezpzETH = 110; +uint256 constant TOKEN_LBTCWBTC = 111; +uint256 constant TOKEN_eBTCWBTC = 112; +uint256 constant TOKEN_pumpBTCWBTC = 113; +uint256 constant TOKEN_TriBTC = 114; +uint256 constant TOKEN__2BTC_f = 115; +uint256 constant TOKEN_FRAX3CRV = 116; +uint256 constant TOKEN_LUSD3CRV = 117; +uint256 constant TOKEN_gusd3CRV = 118; +uint256 constant TOKEN_cvx3Crv = 119; +uint256 constant TOKEN_cvxcrvFRAX = 120; +uint256 constant TOKEN_cvxsteCRV = 121; +uint256 constant TOKEN_cvxFRAX3CRV = 122; +uint256 constant TOKEN_cvxLUSD3CRV = 123; +uint256 constant TOKEN_cvxcrvPlain3andSUSD = 124; +uint256 constant TOKEN_cvxgusd3CRV = 125; +uint256 constant TOKEN_cvxcrvCRVETH = 126; +uint256 constant TOKEN_cvxcrvCVXETH = 127; +uint256 constant TOKEN_cvxcrvUSDTWBTCWETH = 128; +uint256 constant TOKEN_cvxLDOETH = 129; +uint256 constant TOKEN_cvxcrvUSDUSDC = 130; +uint256 constant TOKEN_cvxcrvUSDUSDT = 131; +uint256 constant TOKEN_cvxcrvUSDFRAX = 132; +uint256 constant TOKEN_cvxcrvUSDETHCRV = 133; +uint256 constant TOKEN_cvxGHOcrvUSD = 134; +uint256 constant TOKEN_cvxllamathena = 135; +uint256 constant TOKEN_stkcvx3Crv = 136; +uint256 constant TOKEN_stkcvxcrvFRAX = 137; +uint256 constant TOKEN_stkcvxsteCRV = 138; +uint256 constant TOKEN_stkcvxFRAX3CRV = 139; +uint256 constant TOKEN_stkcvxLUSD3CRV = 140; +uint256 constant TOKEN_stkcvxcrvPlain3andSUSD = 141; +uint256 constant TOKEN_stkcvxgusd3CRV = 142; +uint256 constant TOKEN_stkcvxcrvCRVETH = 143; +uint256 constant TOKEN_stkcvxcrvCVXETH = 144; +uint256 constant TOKEN_stkcvxcrvUSDTWBTCWETH = 145; +uint256 constant TOKEN_stkcvxLDOETH = 146; +uint256 constant TOKEN_stkcvxcrvUSDUSDC = 147; +uint256 constant TOKEN_stkcvxcrvUSDUSDT = 148; +uint256 constant TOKEN_stkcvxcrvUSDFRAX = 149; +uint256 constant TOKEN_stkcvxcrvUSDETHCRV = 150; +uint256 constant TOKEN_stkcvxGHOcrvUSD = 151; +uint256 constant TOKEN_stkcvxllamathena = 152; +uint256 constant TOKEN_cvxcrvUSDT = 153; +uint256 constant TOKEN_yvDAI = 154; +uint256 constant TOKEN_yvUSDC = 155; +uint256 constant TOKEN_yvUSDC_e = 156; +uint256 constant TOKEN_yvWETH = 157; +uint256 constant TOKEN_yvWBTC = 158; +uint256 constant TOKEN_yvUSDT = 159; +uint256 constant TOKEN_yvOP = 160; +uint256 constant TOKEN_yvCurve_stETH = 161; +uint256 constant TOKEN_yvCurve_FRAX = 162; +uint256 constant TOKEN__50WETH_50AURA = 163; +uint256 constant TOKEN_B_80BAL_20WETH = 164; +uint256 constant TOKEN_USDC_DAI_USDT = 165; +uint256 constant TOKEN_B_rETH_STABLE = 166; +uint256 constant TOKEN_weETH_rETH = 167; +uint256 constant TOKEN_osETH_wETH_BPT = 168; +uint256 constant TOKEN_ezETH_WETH_BPT = 169; +uint256 constant TOKEN_sUSDe_USDC_BPT = 170; +uint256 constant TOKEN_pumpBTC_WBTC_BPT = 171; +uint256 constant TOKEN_eBTC_WBTC_BPT = 172; +uint256 constant TOKEN_trenSTETH = 173; +uint256 constant TOKEN_weETH_ezETH_rswETH = 174; +uint256 constant TOKEN_GHO_USDT_USDC = 175; +uint256 constant TOKEN_rsETH_WETH = 176; +uint256 constant TOKEN_rsETH_wETH_Arb = 177; +uint256 constant TOKEN_BPT_rETH_ETH = 178; +uint256 constant TOKEN_BPT_WSTETH_ETH = 179; +uint256 constant TOKEN_BPT_ROAD = 180; +uint256 constant TOKEN_ECLP_wstETH_WETH = 181; +uint256 constant TOKEN_wstETH_WETH_BPT = 182; +uint256 constant TOKEN_wstETH_rETH_sfrxETH = 183; +uint256 constant TOKEN_wstETH_rETH_cbETH = 184; +uint256 constant TOKEN_cbETH_rETH_wstETH = 185; +uint256 constant TOKEN_rETH_WETH_BPT_deprecated = 186; +uint256 constant TOKEN_rETH_wETH_BPT = 187; +uint256 constant TOKEN__33AURA_33ARB_33BAL = 188; +uint256 constant TOKEN_ezETH_wstETH = 189; +uint256 constant TOKEN_bpt_ethtri = 190; +uint256 constant TOKEN_aDAI = 191; +uint256 constant TOKEN_aUSDC = 192; +uint256 constant TOKEN_aUSDT = 193; +uint256 constant TOKEN_aWETH = 194; +uint256 constant TOKEN_waDAI = 195; +uint256 constant TOKEN_waUSDC = 196; +uint256 constant TOKEN_waUSDT = 197; +uint256 constant TOKEN_waWETH = 198; +uint256 constant TOKEN_cDAI = 199; +uint256 constant TOKEN_cUSDC = 200; +uint256 constant TOKEN_cUSDT = 201; +uint256 constant TOKEN_cETH = 202; +uint256 constant TOKEN_cLINK = 203; +uint256 constant TOKEN_fUSDC = 204; +uint256 constant TOKEN_sDAI = 205; +uint256 constant TOKEN_YieldETH = 206; +uint256 constant TOKEN_sUSDe = 207; +uint256 constant TOKEN_sUSDS = 208; +uint256 constant TOKEN_scrvUSD = 209; +uint256 constant TOKEN_auraB_rETH_STABLE = 210; +uint256 constant TOKEN_auraosETH_wETH_BPT = 211; +uint256 constant TOKEN_auraweETH_rETH = 212; +uint256 constant TOKEN_auraBPT_rETH_ETH = 213; +uint256 constant TOKEN_auraBPT_WSTETH_ETH = 214; +uint256 constant TOKEN_aurawstETH_WETH_BPT = 215; +uint256 constant TOKEN_aurawstETH_rETH_sfrxETH = 216; +uint256 constant TOKEN_auracbETH_rETH_wstETH = 217; +uint256 constant TOKEN_aurarETH_wETH_BPT = 218; +uint256 constant TOKEN_auraB_rETH_STABLE_vault = 219; +uint256 constant TOKEN_auraosETH_wETH_BPT_vault = 220; +uint256 constant TOKEN_auraweETH_rETH_vault = 221; +uint256 constant TOKEN_auraBPT_rETH_ETH_vault = 222; +uint256 constant TOKEN_auraBPT_WSTETH_ETH_vault = 223; +uint256 constant TOKEN_aurawstETH_WETH_BPT_vault = 224; +uint256 constant TOKEN_aurawstETH_rETH_sfrxETH_vault = 225; +uint256 constant TOKEN_auracbETH_rETH_wstETH_vault = 226; +uint256 constant TOKEN_aurarETH_wETH_BPT_vault = 227; +uint256 constant TOKEN_zpufETH = 228; +uint256 constant TOKEN_stkUSDS = 229; +uint256 constant TOKEN_dDAI = 230; +uint256 constant TOKEN_dUSDC = 231; +uint256 constant TOKEN_dWBTC = 232; +uint256 constant TOKEN_dWETH = 233; +uint256 constant TOKEN_dwstETH = 234; +uint256 constant TOKEN_dFRAX = 235; +uint256 constant TOKEN_dUSDCV3 = 236; +uint256 constant TOKEN_dUSDC_eV3 = 237; +uint256 constant TOKEN_dWBTCV3 = 238; +uint256 constant TOKEN_dWETHV3 = 239; +uint256 constant TOKEN_dUSDTV3 = 240; +uint256 constant TOKEN_dGHOV3 = 241; +uint256 constant TOKEN_dDAIV3 = 242; +uint256 constant TOKEN_dcrvUSDV3 = 243; +uint256 constant TOKEN_dDOLAV3 = 244; +uint256 constant TOKEN_sdUSDCV3 = 245; +uint256 constant TOKEN_sdUSDC_eV3 = 246; +uint256 constant TOKEN_sdWBTCV3 = 247; +uint256 constant TOKEN_sdWETHV3 = 248; +uint256 constant TOKEN_sdWETHV3_OLD = 249; +uint256 constant TOKEN_sdUSDTV3 = 250; +uint256 constant TOKEN_sdGHOV3 = 251; +uint256 constant TOKEN_sdDAIV3 = 252; +uint256 constant TOKEN_sdcrvUSDV3 = 253; +uint256 constant TOKEN_sdDOLAV3 = 254; +uint256 constant TOKEN_GEAR = 255; +uint256 constant NUM_TOKENS = 256; enum TokenType { NO_TOKEN, diff --git a/contracts/TokensData.sol b/contracts/TokensData.sol index e070876..031ed6e 100644 --- a/contracts/TokensData.sol +++ b/contracts/TokensData.sol @@ -109,6 +109,14 @@ contract TokensDataLive { tokenType: TokenType.NORMAL_TOKEN }) ); + tokenDataByNetwork[1].push( + TokenData({ + id: TOKEN_tBTC, + addr: 0x18084fbA666a33d37592fA2633fD49a74DD93a88, + symbol: "tBTC", + tokenType: TokenType.NORMAL_TOKEN + }) + ); tokenDataByNetwork[1].push( TokenData({ id: TOKEN_WETH, @@ -832,6 +840,14 @@ contract TokensDataLive { tokenType: TokenType.CURVE_LP_TOKEN }) ); + tokenDataByNetwork[1].push( + TokenData({ + id: TOKEN__2BTC_f, + addr: 0xB7ECB2AA52AA64a717180E030241bC75Cd946726, + symbol: "2BTC-f", + tokenType: TokenType.CURVE_LP_TOKEN + }) + ); tokenDataByNetwork[1].push( TokenData({ id: TOKEN_FRAX3CRV, @@ -1259,6 +1275,14 @@ contract TokensDataLive { tokenType: TokenType.BALANCER_LP_TOKEN }) ); + tokenDataByNetwork[1].push( + TokenData({ + id: TOKEN_eBTC_WBTC_BPT, + addr: 0xda17f3663C5D04C0B316cfA1A04Aa53eBBC8c12C, + symbol: "eBTC_WBTC_BPT", + tokenType: TokenType.BALANCER_LP_TOKEN + }) + ); tokenDataByNetwork[1].push( TokenData({ id: TOKEN_trenSTETH, @@ -1650,14 +1674,7 @@ contract TokensDataLive { tokenType: TokenType.DIESEL_LP_TOKEN }) ); - tokenDataByNetwork[1].push( - TokenData({ - id: TOKEN_sdDOLAV3, - addr: 0xb3289a45497027a2Aee88Acc89fB3dcB5C71001D, - symbol: "sdDOLAV3", - tokenType: TokenType.DIESEL_LP_TOKEN - }) - ); + tokenDataByNetwork[1].push( TokenData({ id: TOKEN_GEAR, @@ -1747,6 +1764,7 @@ contract TokensDataLive { tokenType: TokenType.NORMAL_TOKEN }) ); + tokenDataByNetwork[42161].push( TokenData({ id: TOKEN_WETH, @@ -2347,6 +2365,7 @@ contract TokensDataLive { tokenType: TokenType.NORMAL_TOKEN }) ); + tokenDataByNetwork[10].push( TokenData({ id: TOKEN_WETH, diff --git a/src/config/configs/tbtcConfigMainnet.ts b/src/config/configs/tbtcConfigMainnet.ts new file mode 100644 index 0000000..bce0213 --- /dev/null +++ b/src/config/configs/tbtcConfigMainnet.ts @@ -0,0 +1,321 @@ +import { + BalancerVaultConfig, + GenericSwapConfig, + PendlePairStatus, + PendleRouterConfig, + UniV3Config, +} from "../adapters"; +import { + CollateralToken, + CreditManagerV3DeployConfig, + PoolV3DeployConfig, +} from "../poolV3DeployConfig"; + +const POOL_DECIMALS = BigInt(1e18); + +const correlatedUniV3Config: UniV3Config = { + contract: "UNISWAP_V3_ROUTER", + allowed: [ + { token0: "tBTC", token1: "WBTC", fee: 100 }, + { token0: "tBTC", token1: "WBTC", fee: 500 }, + { token0: "WBTC", token1: "pumpBTC", fee: 500 }, + { token0: "WBTC", token1: "LBTC", fee: 500 }, + ], +}; +const tradeUniV3Config: UniV3Config = { + contract: "UNISWAP_V3_ROUTER", + allowed: [ + { token0: "tBTC", token1: "WBTC", fee: 100 }, + { token0: "tBTC", token1: "WBTC", fee: 500 }, + { token0: "WBTC", token1: "WETH", fee: 500 }, + { token0: "WBTC", token1: "USDC", fee: 3000 }, + ], +}; + +const pendleConfig: PendleRouterConfig = { + contract: "PENDLE_ROUTER", + allowed: [ + { + inputToken: "LBTC", + pendleToken: "PT_LBTC_27MAR2025", + market: "0x70B70Ac0445C3eF04E314DFdA6caafd825428221", + status: PendlePairStatus.ALLOWED, + }, + { + inputToken: "eBTC", + pendleToken: "PT_corn_eBTC_27MAR2025", + market: "0x2C71Ead7ac9AE53D05F8664e77031d4F9ebA064B", + status: PendlePairStatus.ALLOWED, + }, + ], +}; + +const balancerConfig: BalancerVaultConfig = { + contract: "BALANCER_VAULT", + allowed: [ + { + pool: "pumpBTC_WBTC_BPT", + status: 2, + }, + { + pool: "eBTC_WBTC_BPT", + status: 2, + }, + ], +}; + +const correlatedCollateralTokens: CollateralToken[] = [ + { + token: "eBTC", + lt: 9000, + }, + { + token: "LBTC", + lt: 9000, + }, + { + token: "PT_LBTC_27MAR2025", + lt: 8500, + }, + { + token: "PT_corn_eBTC_27MAR2025", + lt: 8700, + }, + { + token: "pumpBTC", + lt: 9000, + }, + // COMPATIBILITY + { token: "WBTC", lt: 0 }, + { token: "2BTC-f", lt: 0 }, + { token: "TriBTC", lt: 0 }, + { token: "LBTCWBTC", lt: 0 }, + { token: "pumpBTCWBTC", lt: 0 }, + { token: "eBTCWBTC", lt: 0 }, + { token: "pumpBTC_WBTC_BPT", lt: 0 }, + { token: "eBTC_WBTC_BPT", lt: 0 }, +]; + +const tier1CorrelatedCreditManager: CreditManagerV3DeployConfig = { + name: "tBTC Correlated Tier 1", + degenNft: false, + expirationDate: undefined, + minDebt: BigInt(6) * POOL_DECIMALS, + maxDebt: BigInt(120) * POOL_DECIMALS, + feeInterest: 1500, + feeLiquidation: 0, + liquidationPremium: 100, + feeLiquidationExpired: 0, + liquidationPremiumExpired: 100, + poolLimit: BigInt(20e6) * POOL_DECIMALS, + maxEnabledTokens: 4, + collateralTokens: correlatedCollateralTokens, + adapters: [ + correlatedUniV3Config, + pendleConfig, + balancerConfig, + + { contract: "CURVE_tBTC_WBTC_POOL" }, + { contract: "CURVE_TRIBTC_POOL" }, + { contract: "CURVE_LBTC_WBTC_POOL" }, + { contract: "CURVE_PUMPBTC_WBTC_POOL" }, + { contract: "CURVE_EBTC_WBTC_POOL" }, + ], +}; + +const tier2CorrelatedCreditManager: CreditManagerV3DeployConfig = { + name: "tBTC Correlated Tier 2", + degenNft: false, + expirationDate: undefined, + minDebt: (BigInt(3) * POOL_DECIMALS) / 10n, + maxDebt: BigInt(6) * POOL_DECIMALS, + feeInterest: 1500, + feeLiquidation: 0, + liquidationPremium: 300, + feeLiquidationExpired: 0, + liquidationPremiumExpired: 300, + poolLimit: BigInt(20e6) * POOL_DECIMALS, + maxEnabledTokens: 4, + collateralTokens: correlatedCollateralTokens, + adapters: [ + correlatedUniV3Config, + pendleConfig, + balancerConfig, + + { contract: "CURVE_tBTC_WBTC_POOL" }, + { contract: "CURVE_TRIBTC_POOL" }, + { contract: "CURVE_LBTC_WBTC_POOL" }, + { contract: "CURVE_PUMPBTC_WBTC_POOL" }, + { contract: "CURVE_EBTC_WBTC_POOL" }, + ], +}; + +const tier1TradeCreditManager: CreditManagerV3DeployConfig = { + name: "Trade tBTC Tier 1", + degenNft: false, + expirationDate: undefined, + minDebt: (BigInt(3) * POOL_DECIMALS) / 10n, + maxDebt: BigInt(6) * POOL_DECIMALS, + feeInterest: 1500, + feeLiquidation: 0, + liquidationPremium: 400, + feeLiquidationExpired: 0, + liquidationPremiumExpired: 400, + poolLimit: BigInt(20e6) * POOL_DECIMALS, + maxEnabledTokens: 4, + collateralTokens: [ + { + token: "WETH", + lt: 9000, + }, + { + token: "STETH", + lt: 9000, + }, + { + token: "USDC", + lt: 9000, + }, + // COMPATIBILITY + { token: "WBTC", lt: 0 }, + { token: "2BTC-f", lt: 0 }, + { token: "steCRV", lt: 0 }, + ], + adapters: [ + tradeUniV3Config, + { contract: "CURVE_tBTC_WBTC_POOL" }, + { contract: "CURVE_STETH_GATEWAY" }, + ], +}; + +export const dolaConfigMainnet: PoolV3DeployConfig = { + id: "mainnet-tbtc-v3", + symbol: "dtBTCV3", + name: "Trade tBTC v3", + network: "Mainnet", + underlying: "tBTC", + accountAmount: BigInt(100_000) * POOL_DECIMALS, + withdrawalFee: 0, + totalDebtLimit: BigInt(1_000) * POOL_DECIMALS, + irm: { + U1: 7000, + U2: 9000, + Rbase: 0, + Rslope1: 100, + Rslope2: 150, + Rslope3: 2000, + isBorrowingMoreU2Forbidden: true, + }, + ratesAndLimits: { + eBTC: { + minRate: 5, + maxRate: 1000, + quotaIncreaseFee: 0, + limit: BigInt(55) * POOL_DECIMALS, + }, + LBTC: { + minRate: 5, + maxRate: 2000, + quotaIncreaseFee: 0, + limit: BigInt(190) * POOL_DECIMALS, + }, + PT_LBTC_27MAR2025: { + minRate: 5, + maxRate: 1500, + quotaIncreaseFee: 0, + limit: BigInt(190) * POOL_DECIMALS, + }, + PT_corn_eBTC_27MAR2025: { + minRate: 5, + maxRate: 1500, + quotaIncreaseFee: 0, + limit: BigInt(65) * POOL_DECIMALS, + }, + pumpBTC: { + minRate: 5, + maxRate: 2000, + quotaIncreaseFee: 0, + limit: BigInt(60) * POOL_DECIMALS, + }, + WETH: { + minRate: 5, + maxRate: 1200, + quotaIncreaseFee: 0, + limit: BigInt(180) * POOL_DECIMALS, + }, + STETH: { + minRate: 5, + maxRate: 1200, + quotaIncreaseFee: 0, + limit: BigInt(180) * POOL_DECIMALS, + }, + USDC: { + minRate: 5, + maxRate: 1200, + quotaIncreaseFee: 0, + limit: BigInt(180) * POOL_DECIMALS, + }, + + // COMPATIBILITY + WBTC: { + minRate: 1, + maxRate: 1, + quotaIncreaseFee: 0, + limit: BigInt(0), + }, + steCRV: { + minRate: 1, + maxRate: 1, + quotaIncreaseFee: 0, + limit: BigInt(0), + }, + "2BTC-f": { + minRate: 1, + maxRate: 1, + quotaIncreaseFee: 0, + limit: BigInt(0), + }, + TriBTC: { + minRate: 1, + maxRate: 1, + quotaIncreaseFee: 0, + limit: BigInt(0), + }, + LBTCWBTC: { + minRate: 1, + maxRate: 1, + quotaIncreaseFee: 0, + limit: BigInt(0), + }, + pumpBTCWBTC: { + minRate: 1, + maxRate: 1, + quotaIncreaseFee: 0, + limit: BigInt(0), + }, + eBTCWBTC: { + minRate: 1, + maxRate: 1, + quotaIncreaseFee: 0, + limit: BigInt(0), + }, + pumpBTC_WBTC_BPT: { + minRate: 1, + maxRate: 1, + quotaIncreaseFee: 0, + limit: BigInt(0), + }, + eBTC_WBTC_BPT: { + minRate: 1, + maxRate: 1, + quotaIncreaseFee: 0, + limit: BigInt(0), + }, + }, + creditManagers: [ + tier1CorrelatedCreditManager, + tier2CorrelatedCreditManager, + tier1TradeCreditManager, + ], + supportsQuotas: true, +}; diff --git a/src/contracts/contracts.ts b/src/contracts/contracts.ts index f877230..9223c0e 100644 --- a/src/contracts/contracts.ts +++ b/src/contracts/contracts.ts @@ -60,6 +60,7 @@ export type CurvePoolContract = | "CURVE_EBTC_WBTC_POOL" | "CURVE_PUMPBTC_WBTC_POOL" | "CURVE_TRIBTC_POOL" + | "CURVE_tBTC_WBTC_POOL" | "CURVE_2CRV_POOL_ARB" | "CURVE_TRICRYPTO_CRVUSD_POOL_ARB" | "CURVE_CRVUSD_USDC_POOL_ARB" @@ -220,6 +221,7 @@ export const contractsByNetwork: Record< CURVE_EBTC_WBTC_POOL: tokenDataByNetwork.Mainnet.eBTCWBTC, CURVE_PUMPBTC_WBTC_POOL: tokenDataByNetwork.Mainnet.pumpBTCWBTC, CURVE_TRIBTC_POOL: tokenDataByNetwork.Mainnet.TriBTC, + CURVE_tBTC_WBTC_POOL: tokenDataByNetwork.Mainnet["2BTC-f"], CURVE_GEAR_POOL: "0x0E9B5B092caD6F1c5E6bc7f89Ffe1abb5c95F1C2", @@ -390,6 +392,7 @@ export const contractsByNetwork: Record< CURVE_EBTC_WBTC_POOL: NOT_DEPLOYED, CURVE_PUMPBTC_WBTC_POOL: NOT_DEPLOYED, CURVE_TRIBTC_POOL: NOT_DEPLOYED, + CURVE_tBTC_WBTC_POOL: NOT_DEPLOYED, CURVE_GEAR_POOL: NOT_DEPLOYED, @@ -559,6 +562,7 @@ export const contractsByNetwork: Record< CURVE_EBTC_WBTC_POOL: NOT_DEPLOYED, CURVE_PUMPBTC_WBTC_POOL: NOT_DEPLOYED, CURVE_TRIBTC_POOL: NOT_DEPLOYED, + CURVE_tBTC_WBTC_POOL: NOT_DEPLOYED, CURVE_GEAR_POOL: NOT_DEPLOYED, @@ -727,6 +731,7 @@ export const contractsByNetwork: Record< CURVE_EBTC_WBTC_POOL: NOT_DEPLOYED, CURVE_PUMPBTC_WBTC_POOL: NOT_DEPLOYED, CURVE_TRIBTC_POOL: NOT_DEPLOYED, + CURVE_tBTC_WBTC_POOL: NOT_DEPLOYED, CURVE_GEAR_POOL: NOT_DEPLOYED, @@ -1503,6 +1508,14 @@ export const contractParams: Record = { lpToken: "TriBTC", tokens: ["eBTC", "LBTC", "WBTC"], }, + CURVE_tBTC_WBTC_POOL: { + name: "Curve tBTC/WBTC LP", + protocol: Protocols.Curve, + version: 20, + type: AdapterInterface.CURVE_V1_2ASSETS, + lpToken: "2BTC-f", + tokens: ["WBTC", "tBTC"], + }, CURVE_2CRV_POOL_ARB: { name: "Curve USDC/USDT Pool (Arbitrum)", diff --git a/src/oracles/priceFeeds.ts b/src/oracles/priceFeeds.ts index 2b1dbbc..c45ff1b 100644 --- a/src/oracles/priceFeeds.ts +++ b/src/oracles/priceFeeds.ts @@ -616,6 +616,17 @@ export const priceFeedsByToken: Record< }, }, + tBTC: { + Mainnet: { + Main: { + type: PriceFeedType.CHAINLINK_ORACLE, + address: "0xF4030086522a5bEEa4988F8cA5B36dbC97BeE88c", + stalenessPeriod: HOUR_1_BUFFERED, + trusted: true, + }, + }, + }, + WETH: { Mainnet: { Main: { @@ -2332,6 +2343,14 @@ export const priceFeedsByToken: Record< }, }, }, + "2BTC-f": { + AllNetworks: { + Main: { + type: PriceFeedType.ZERO_ORACLE, + trusted: false, + }, + }, + }, "3CRV": { AllNetworks: { Main: { @@ -2930,6 +2949,14 @@ export const priceFeedsByToken: Record< }, }, }, + eBTC_WBTC_BPT: { + AllNetworks: { + Main: { + type: PriceFeedType.ZERO_ORACLE, + trusted: false, + }, + }, + }, "33AURA_33ARB_33BAL": { AllNetworks: { diff --git a/src/tokens/balancer.ts b/src/tokens/balancer.ts index 91d938c..0a70954 100644 --- a/src/tokens/balancer.ts +++ b/src/tokens/balancer.ts @@ -19,6 +19,7 @@ export type BalancerLPToken = | "trenSTETH" | "sUSDe_USDC_BPT" | "pumpBTC_WBTC_BPT" + | "eBTC_WBTC_BPT" // Optimism | "BPT_rETH_ETH" | "BPT_WSTETH_ETH" @@ -142,6 +143,16 @@ export const balancerLpTokens: Record = { poolId: "0x2238ab6c8c58473a5e81b86ec352322fb3f5edd80000000000000000000006de", }, + eBTC_WBTC_BPT: { + name: "Balancer eBTC/wBTC", + symbol: "eBTC_WBTC_BPT", + type: { + AllNetworks: TokenType.BALANCER_LP_TOKEN, + }, + underlying: ["eBTC", "WBTC"], + poolId: + "0xda17f3663c5d04c0b316cfa1a04aa53ebbc8c12c0000000000000000000006e7", + }, trenSTETH: { name: "Balancer Total Rewards Enhanced stETH", diff --git a/src/tokens/curveLP.ts b/src/tokens/curveLP.ts index 0d86c6f..ce6c80e 100644 --- a/src/tokens/curveLP.ts +++ b/src/tokens/curveLP.ts @@ -37,6 +37,7 @@ export type CurveLPToken = | "eBTCWBTC" | "pumpBTCWBTC" | "TriBTC" + | "2BTC-f" | "FRAXsDAI" | "DOLAsUSDe" | "DOLAFRAXBP3CRV_f" @@ -431,6 +432,13 @@ export const curveTokens: Record< pool: "CURVE_TRIBTC_POOL", tokenOut: ["eBTC", "LBTC", "WBTC"], }, + "2BTC-f": { + name: "Curve tBTC/WBTC LP", + symbol: "2BTC-f", + type: { AllNetworks: TokenType.CURVE_LP_TOKEN }, + pool: "CURVE_tBTC_WBTC_POOL", + tokenOut: ["WBTC", "tBTC"], + }, ...curveMetaTokens, }; diff --git a/src/tokens/decimals.ts b/src/tokens/decimals.ts index a87e5d6..7784f33 100644 --- a/src/tokens/decimals.ts +++ b/src/tokens/decimals.ts @@ -13,6 +13,7 @@ export const decimals: Record = { USDT: 6, DOLA: 18, WBTC: 8, + tBTC: 18, WETH: 18, YFI: 18, STETH: 18, @@ -84,6 +85,7 @@ export const decimals: Record = { eBTCWBTC: 18, pumpBTCWBTC: 18, TriBTC: 18, + "2BTC-f": 18, crvUSD: 18, crvUSDUSDC: 18, crvUsUSDe: 18, @@ -202,6 +204,7 @@ export const decimals: Record = { rsETH_wETH_Arb: 18, bpt_ethtri: 18, pumpBTC_WBTC_BPT: 18, + eBTC_WBTC_BPT: 18, sUSDe_USDC_BPT: 18, auraB_rETH_STABLE: 18, diff --git a/src/tokens/normal.ts b/src/tokens/normal.ts index c9b8877..bdda98b 100644 --- a/src/tokens/normal.ts +++ b/src/tokens/normal.ts @@ -16,6 +16,7 @@ export type NormalToken = | "DAI" | "WETH" | "WBTC" + | "tBTC" | "YFI" | "WLD" | "OP" @@ -171,6 +172,12 @@ export const normalTokens: Record = { symbol: "WBTC", type: { AllNetworks: TokenType.NORMAL_TOKEN }, }, + tBTC: { + name: "tBTC", + + symbol: "tBTC", + type: { AllNetworks: TokenType.NORMAL_TOKEN }, + }, WETH: { name: "WETH", diff --git a/src/tokens/token.ts b/src/tokens/token.ts index 758af5e..8cdbb21 100644 --- a/src/tokens/token.ts +++ b/src/tokens/token.ts @@ -179,6 +179,7 @@ export const tokenDataByNetwork: Record< USDT: "0xdAC17F958D2ee523a2206206994597C13D831ec7", DOLA: "0x865377367054516e17014CcdED1e7d814EDC9ce4", WBTC: "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599", + tBTC: "0x18084fbA666a33d37592fA2633fD49a74DD93a88", WETH: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2", YFI: "0x0bc529c00C6401aEF6D220BE8C6Ea1667F6Ad93e", GMX: NOT_DEPLOYED, @@ -273,6 +274,7 @@ export const tokenDataByNetwork: Record< eBTCWBTC: "0x7704D01908afD31bf647d969c295BB45230cD2d6", pumpBTCWBTC: "0xEA659B615b48EC6e2D55cD82FCBE5F43d79aeea0", TriBTC: "0xabaf76590478F2fE0b396996f55F0b61101e9502", + "2BTC-f": "0xB7ECB2AA52AA64a717180E030241bC75Cd946726", // CONVEX LP TOKENS cvx3Crv: "0x30D9410ED1D5DA1F6C8391af5338C93ab8d4035C", @@ -353,6 +355,7 @@ export const tokenDataByNetwork: Record< ezETH_wstETH: NOT_DEPLOYED, bpt_ethtri: NOT_DEPLOYED, pumpBTC_WBTC_BPT: "0x2238aB6c8c58473a5e81b86ec352322fB3f5Edd8", + eBTC_WBTC_BPT: "0xda17f3663C5D04C0B316cfA1A04Aa53eBBC8c12C", // AURA auraB_rETH_STABLE: "0x9497df26e5bD669Cb925eC68E730492b9300c482", @@ -415,7 +418,7 @@ export const tokenDataByNetwork: Record< sdcrvUSDV3: "0xfBCA378AeA93EADD6882299A3d74D8641Cc0C4BC", dDOLAV3: "0x31426271449F60d37Cc5C9AEf7bD12aF3BdC7A94", - sdDOLAV3: "0xb3289a45497027a2Aee88Acc89fB3dcB5C71001D", + sdDOLAV3: NOT_DEPLOYED, dUSDC_eV3: NOT_DEPLOYED, sdUSDC_eV3: NOT_DEPLOYED, @@ -480,6 +483,7 @@ export const tokenDataByNetwork: Record< USDC: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831", USDC_e: "0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8", WBTC: "0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f", + tBTC: NOT_DEPLOYED, WETH: "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1", YFI: "0x82e3A8F066a6989666b031d916c43672085b1582", GMX: "0xfc5A1A6EB076a2C7aD06eD22C90d7E710E35ad0a", @@ -604,6 +608,7 @@ export const tokenDataByNetwork: Record< eBTCWBTC: NOT_DEPLOYED, pumpBTCWBTC: NOT_DEPLOYED, TriBTC: NOT_DEPLOYED, + "2BTC-f": NOT_DEPLOYED, crvUSD: "0x498Bf2B1e120FeD3ad3D42EA2165E9b73f99C1e5", @@ -656,6 +661,7 @@ export const tokenDataByNetwork: Record< ezETH_wstETH: "0xB61371Ab661B1ACec81C699854D2f911070C059E", bpt_ethtri: NOT_DEPLOYED, pumpBTC_WBTC_BPT: NOT_DEPLOYED, + eBTC_WBTC_BPT: NOT_DEPLOYED, // AURA @@ -783,6 +789,7 @@ export const tokenDataByNetwork: Record< USDC: "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85", USDC_e: "0x7F5c764cBc14f9669B88837ca1490cCa17c31607", WBTC: "0x68f180fcCe6836688e9084f035309E29Bf0A2095", + tBTC: NOT_DEPLOYED, WETH: "0x4200000000000000000000000000000000000006", YFI: "0x9046D36440290FfDE54FE0DD84Db8b1CfEE9107B", GMX: NOT_DEPLOYED, @@ -873,6 +880,7 @@ export const tokenDataByNetwork: Record< eBTCWBTC: NOT_DEPLOYED, pumpBTCWBTC: NOT_DEPLOYED, TriBTC: NOT_DEPLOYED, + "2BTC-f": NOT_DEPLOYED, crvUSDUSDC: NOT_DEPLOYED, crvUSDUSDT: NOT_DEPLOYED, @@ -961,6 +969,7 @@ export const tokenDataByNetwork: Record< ECLP_wstETH_WETH: "0x7Ca75bdEa9dEde97F8B13C6641B768650CB83782", bpt_ethtri: "0x5F8893506Ddc4C271837187d14A9C87964a074Dc", pumpBTC_WBTC_BPT: NOT_DEPLOYED, + eBTC_WBTC_BPT: NOT_DEPLOYED, // AURA auraB_rETH_STABLE: NOT_DEPLOYED, @@ -1092,6 +1101,7 @@ export const tokenDataByNetwork: Record< USDC: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", USDC_e: NOT_DEPLOYED, WBTC: NOT_DEPLOYED, + tBTC: NOT_DEPLOYED, WETH: NOT_DEPLOYED, YFI: NOT_DEPLOYED, GMX: NOT_DEPLOYED, @@ -1180,6 +1190,7 @@ export const tokenDataByNetwork: Record< eBTCWBTC: NOT_DEPLOYED, pumpBTCWBTC: NOT_DEPLOYED, TriBTC: NOT_DEPLOYED, + "2BTC-f": NOT_DEPLOYED, crvUSDUSDC: NOT_DEPLOYED, crvUSDUSDT: NOT_DEPLOYED, @@ -1267,6 +1278,7 @@ export const tokenDataByNetwork: Record< ECLP_wstETH_WETH: NOT_DEPLOYED, bpt_ethtri: NOT_DEPLOYED, pumpBTC_WBTC_BPT: NOT_DEPLOYED, + eBTC_WBTC_BPT: NOT_DEPLOYED, // AURA auraB_rETH_STABLE: NOT_DEPLOYED, @@ -1396,7 +1408,8 @@ export type TickerToken = | "eBTC" | "ETH" | "USDe" - | "BTC"; + | "BTC" + | "PushUSDe"; export interface TickerInfo { symbol: TickerToken; @@ -1411,6 +1424,16 @@ export const tickerInfoTokensByNetwork: Record< PartialRecord> > = { Mainnet: { + USDecrvUSD: [ + { + symbol: "PushUSDe", + dataId: "USDe", + address: tokenDataByNetwork.Mainnet.USDecrvUSD, + priceFeed: "0xbC5FBcf58CeAEa19D523aBc76515b9AEFb5cfd58", + reserve: false, + }, + ], + weETH: [ { symbol: "weETH/ETH", From e49ffe2bdd4afa8132e1fba3000e1907787f04c0 Mon Sep 17 00:00:00 2001 From: Arkhip Vouba <80775286+57Ark@users.noreply.github.com> Date: Fri, 10 Jan 2025 18:04:12 +0100 Subject: [PATCH 08/23] fix: naming --- src/config/configs/index.ts | 1 + src/config/configs/tbtcConfigMainnet.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/config/configs/index.ts b/src/config/configs/index.ts index e48474c..c6debaa 100644 --- a/src/config/configs/index.ts +++ b/src/config/configs/index.ts @@ -3,6 +3,7 @@ export { daiConfigMainnet } from "./daiConfigMainnet"; export { dolaConfigMainnet } from "./dolaConfigMainnet"; export { ghoConfigMainnet } from "./ghoConfigMainnet"; export { nexoConfigMainnet } from "./nexoConfigMainnet"; +export { tbtcConfigMainnet } from "./tbtcConfigMainnet"; export { testDaiConfigMainnet } from "./test_daiConfigMainnet"; export { testUsdcConfigArbitrum } from "./test_usdcConfigArbitrum"; export { testUsdcConfigMainnet } from "./test_usdcConfigMainnet"; diff --git a/src/config/configs/tbtcConfigMainnet.ts b/src/config/configs/tbtcConfigMainnet.ts index bce0213..1059a3b 100644 --- a/src/config/configs/tbtcConfigMainnet.ts +++ b/src/config/configs/tbtcConfigMainnet.ts @@ -188,7 +188,7 @@ const tier1TradeCreditManager: CreditManagerV3DeployConfig = { ], }; -export const dolaConfigMainnet: PoolV3DeployConfig = { +export const tbtcConfigMainnet: PoolV3DeployConfig = { id: "mainnet-tbtc-v3", symbol: "dtBTCV3", name: "Trade tBTC v3", From f64b681a3ebfe497969c40f8bf67afd6300d1aef Mon Sep 17 00:00:00 2001 From: Arkhip Vouba <80775286+57Ark@users.noreply.github.com> Date: Tue, 14 Jan 2025 20:06:16 +0100 Subject: [PATCH 09/23] feat: add wstETH pool --- contracts/AdapterData.sol | 6 + contracts/ContractType.sol | 1 + contracts/PriceFeedDataLive.sol | 60 ++++ contracts/SupportedContracts.sol | 7 + contracts/Tokens.sol | 396 +++++++++++----------- contracts/TokensData.sol | 16 + src/config/configs/index.ts | 1 + src/config/configs/wstethConfigMainnet.ts | 174 ++++++++++ src/contracts/contracts.ts | 12 +- src/oracles/priceFeeds.ts | 21 ++ src/tokens/balancer.ts | 12 + src/tokens/decimals.ts | 2 + src/tokens/normal.ts | 6 + src/tokens/token.ts | 8 + 14 files changed, 524 insertions(+), 198 deletions(-) mode change 100644 => 100755 src/config/configs/index.ts create mode 100755 src/config/configs/wstethConfigMainnet.ts mode change 100644 => 100755 src/contracts/contracts.ts mode change 100644 => 100755 src/oracles/priceFeeds.ts mode change 100644 => 100755 src/tokens/decimals.ts mode change 100644 => 100755 src/tokens/normal.ts mode change 100644 => 100755 src/tokens/token.ts diff --git a/contracts/AdapterData.sol b/contracts/AdapterData.sol index 974fb65..72a8603 100644 --- a/contracts/AdapterData.sol +++ b/contracts/AdapterData.sol @@ -224,6 +224,12 @@ contract AdapterData { simpleAdapters.push( SimpleAdapter({targetContract: Contracts.MELLOW_RENZO_VAULT, adapterType: AdapterType.MELLOW_LRT_VAULT}) ); + simpleAdapters.push( + SimpleAdapter({ + targetContract: Contracts.MELLOW_DECENTALIZED_VALIDATOR_VAULT, + adapterType: AdapterType.MELLOW_LRT_VAULT + }) + ); simpleAdapters.push( SimpleAdapter({targetContract: Contracts.DAI_USDS, adapterType: AdapterType.DAI_USDS_EXCHANGE}) ); diff --git a/contracts/ContractType.sol b/contracts/ContractType.sol index 432104b..58c3996 100644 --- a/contracts/ContractType.sol +++ b/contracts/ContractType.sol @@ -127,6 +127,7 @@ enum Contracts { MELLOW_AMPHOR_VAULT, MELLOW_RESTAKING_VAULT, MELLOW_RENZO_VAULT, + MELLOW_DECENTALIZED_VALIDATOR_VAULT, SKY_STAKING_REWARDS, DAI_USDS } diff --git a/contracts/PriceFeedDataLive.sol b/contracts/PriceFeedDataLive.sol index f1e38c8..30671f5 100644 --- a/contracts/PriceFeedDataLive.sol +++ b/contracts/PriceFeedDataLive.sol @@ -5994,6 +5994,20 @@ contract PriceFeedDataLive { SingeTokenPriceFeedData({token: TOKEN_trenSTETH, trusted: false, reserve: false}) ); + // ------------------------ DVstETH_wstETH_BPT ------------------------ + zeroPriceFeedsByNetwork[1].push( + SingeTokenPriceFeedData({token: TOKEN_DVstETH_wstETH_BPT, trusted: false, reserve: false}) + ); + zeroPriceFeedsByNetwork[42161].push( + SingeTokenPriceFeedData({token: TOKEN_DVstETH_wstETH_BPT, trusted: false, reserve: false}) + ); + zeroPriceFeedsByNetwork[10].push( + SingeTokenPriceFeedData({token: TOKEN_DVstETH_wstETH_BPT, trusted: false, reserve: false}) + ); + zeroPriceFeedsByNetwork[8453].push( + SingeTokenPriceFeedData({token: TOKEN_DVstETH_wstETH_BPT, trusted: false, reserve: false}) + ); + // ------------------------ weETH_ezETH_rswETH ------------------------ zeroPriceFeedsByNetwork[1].push( SingeTokenPriceFeedData({token: TOKEN_weETH_ezETH_rswETH, trusted: false, reserve: false}) @@ -8112,6 +8126,52 @@ contract PriceFeedDataLive { }) ); + // ------------------------ DVstETH ------------------------ + mellowLRTPriceFeedsByNetwork[1].push( + GenericLPPriceFeedData({lpToken: TOKEN_DVstETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) + ); + theSamePriceFeedsByNetwork[1].push( + TheSamePriceFeedData({ + token: TOKEN_DVstETH, + tokenHasSamePriceFeed: TOKEN_wstETH, + trusted: false, + reserve: true + }) + ); + mellowLRTPriceFeedsByNetwork[42161].push( + GenericLPPriceFeedData({lpToken: TOKEN_DVstETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) + ); + theSamePriceFeedsByNetwork[42161].push( + TheSamePriceFeedData({ + token: TOKEN_DVstETH, + tokenHasSamePriceFeed: TOKEN_wstETH, + trusted: false, + reserve: true + }) + ); + mellowLRTPriceFeedsByNetwork[10].push( + GenericLPPriceFeedData({lpToken: TOKEN_DVstETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) + ); + theSamePriceFeedsByNetwork[10].push( + TheSamePriceFeedData({ + token: TOKEN_DVstETH, + tokenHasSamePriceFeed: TOKEN_wstETH, + trusted: false, + reserve: true + }) + ); + mellowLRTPriceFeedsByNetwork[8453].push( + GenericLPPriceFeedData({lpToken: TOKEN_DVstETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) + ); + theSamePriceFeedsByNetwork[8453].push( + TheSamePriceFeedData({ + token: TOKEN_DVstETH, + tokenHasSamePriceFeed: TOKEN_wstETH, + trusted: false, + reserve: true + }) + ); + // ------------------------ PT_rsETH_26SEP2024 ------------------------ pendlePriceFeedsByNetwork[1].push( PendlePriceFeedData({ diff --git a/contracts/SupportedContracts.sol b/contracts/SupportedContracts.sol index c236009..5fdaf2d 100644 --- a/contracts/SupportedContracts.sol +++ b/contracts/SupportedContracts.sol @@ -712,6 +712,13 @@ contract SupportedContracts is Test, ISupportedContracts { name: "MELLOW_RENZO_VAULT" }) ); + contractDataByNetwork[1].push( + ContractData({ + id: Contracts.MELLOW_DECENTALIZED_VALIDATOR_VAULT, + addr: 0x5E362eb2c0706Bd1d134689eC75176018385430B, + name: "MELLOW_DECENTALIZED_VALIDATOR_VAULT" + }) + ); contractDataByNetwork[1].push( ContractData({ id: Contracts.SKY_STAKING_REWARDS, diff --git a/contracts/Tokens.sol b/contracts/Tokens.sol index 62e49dd..77034d5 100644 --- a/contracts/Tokens.sol +++ b/contracts/Tokens.sol @@ -64,203 +64,205 @@ uint256 constant TOKEN_Re7LRT = 56; uint256 constant TOKEN_amphrETH = 57; uint256 constant TOKEN_rstETH = 58; uint256 constant TOKEN_pzETH = 59; -uint256 constant TOKEN_PT_rsETH_26SEP2024 = 60; -uint256 constant TOKEN_USDS = 61; -uint256 constant TOKEN_SKY = 62; -uint256 constant TOKEN_PT_sUSDe_26DEC2024 = 63; -uint256 constant TOKEN_PT_eETH_26DEC2024 = 64; -uint256 constant TOKEN_PT_ezETH_26DEC2024 = 65; -uint256 constant TOKEN_PT_eBTC_26DEC2024 = 66; -uint256 constant TOKEN_PT_LBTC_27MAR2025 = 67; -uint256 constant TOKEN_PT_corn_solvBTC_BBN_26DEC2024 = 68; -uint256 constant TOKEN_PT_corn_pumpBTC_26DEC2024 = 69; -uint256 constant TOKEN_PT_cornLBTC_26DEC2024 = 70; -uint256 constant TOKEN_PT_corn_eBTC_27MAR2025 = 71; -uint256 constant TOKEN_PT_sUSDe_27MAR2025 = 72; -uint256 constant TOKEN_sfrxETH = 73; -uint256 constant TOKEN__3Crv = 74; -uint256 constant TOKEN_crvFRAX = 75; -uint256 constant TOKEN_steCRV = 76; -uint256 constant TOKEN_crvPlain3andSUSD = 77; -uint256 constant TOKEN_crvCRVETH = 78; -uint256 constant TOKEN_crvCVXETH = 79; -uint256 constant TOKEN_crvUSDTWBTCWETH = 80; -uint256 constant TOKEN_LDOETH = 81; -uint256 constant TOKEN_crvUSDUSDC = 82; -uint256 constant TOKEN_crvUSDUSDT = 83; -uint256 constant TOKEN_crvUsUSDe = 84; -uint256 constant TOKEN_llamathena = 85; -uint256 constant TOKEN_crvUSDFRAX = 86; -uint256 constant TOKEN_crvUSDETHCRV = 87; -uint256 constant TOKEN_rETH_f = 88; -uint256 constant TOKEN_DOLAFRAXBP3CRV_f = 89; -uint256 constant TOKEN_crvUSDDOLA_f = 90; -uint256 constant TOKEN_USDeUSDC = 91; -uint256 constant TOKEN_FRAXUSDe = 92; -uint256 constant TOKEN_USDecrvUSD = 93; -uint256 constant TOKEN_FRAXsDAI = 94; -uint256 constant TOKEN_DOLAsUSDe = 95; -uint256 constant TOKEN_USDeDAI = 96; -uint256 constant TOKEN_MtEthena = 97; -uint256 constant TOKEN_GHOUSDe = 98; -uint256 constant TOKEN_pufETHwstE = 99; -uint256 constant TOKEN_GHOcrvUSD = 100; -uint256 constant TOKEN_wstETHCRV = 101; -uint256 constant TOKEN__2CRV = 102; -uint256 constant TOKEN__3c_crvUSD = 103; -uint256 constant TOKEN_crvUSDC = 104; -uint256 constant TOKEN_crvUSDT = 105; -uint256 constant TOKEN_crvUSDC_e = 106; -uint256 constant TOKEN_USDEUSDC = 107; -uint256 constant TOKEN__3CRV = 108; -uint256 constant TOKEN_ezETHWETH = 109; -uint256 constant TOKEN_ezpzETH = 110; -uint256 constant TOKEN_LBTCWBTC = 111; -uint256 constant TOKEN_eBTCWBTC = 112; -uint256 constant TOKEN_pumpBTCWBTC = 113; -uint256 constant TOKEN_TriBTC = 114; -uint256 constant TOKEN__2BTC_f = 115; -uint256 constant TOKEN_FRAX3CRV = 116; -uint256 constant TOKEN_LUSD3CRV = 117; -uint256 constant TOKEN_gusd3CRV = 118; -uint256 constant TOKEN_cvx3Crv = 119; -uint256 constant TOKEN_cvxcrvFRAX = 120; -uint256 constant TOKEN_cvxsteCRV = 121; -uint256 constant TOKEN_cvxFRAX3CRV = 122; -uint256 constant TOKEN_cvxLUSD3CRV = 123; -uint256 constant TOKEN_cvxcrvPlain3andSUSD = 124; -uint256 constant TOKEN_cvxgusd3CRV = 125; -uint256 constant TOKEN_cvxcrvCRVETH = 126; -uint256 constant TOKEN_cvxcrvCVXETH = 127; -uint256 constant TOKEN_cvxcrvUSDTWBTCWETH = 128; -uint256 constant TOKEN_cvxLDOETH = 129; -uint256 constant TOKEN_cvxcrvUSDUSDC = 130; -uint256 constant TOKEN_cvxcrvUSDUSDT = 131; -uint256 constant TOKEN_cvxcrvUSDFRAX = 132; -uint256 constant TOKEN_cvxcrvUSDETHCRV = 133; -uint256 constant TOKEN_cvxGHOcrvUSD = 134; -uint256 constant TOKEN_cvxllamathena = 135; -uint256 constant TOKEN_stkcvx3Crv = 136; -uint256 constant TOKEN_stkcvxcrvFRAX = 137; -uint256 constant TOKEN_stkcvxsteCRV = 138; -uint256 constant TOKEN_stkcvxFRAX3CRV = 139; -uint256 constant TOKEN_stkcvxLUSD3CRV = 140; -uint256 constant TOKEN_stkcvxcrvPlain3andSUSD = 141; -uint256 constant TOKEN_stkcvxgusd3CRV = 142; -uint256 constant TOKEN_stkcvxcrvCRVETH = 143; -uint256 constant TOKEN_stkcvxcrvCVXETH = 144; -uint256 constant TOKEN_stkcvxcrvUSDTWBTCWETH = 145; -uint256 constant TOKEN_stkcvxLDOETH = 146; -uint256 constant TOKEN_stkcvxcrvUSDUSDC = 147; -uint256 constant TOKEN_stkcvxcrvUSDUSDT = 148; -uint256 constant TOKEN_stkcvxcrvUSDFRAX = 149; -uint256 constant TOKEN_stkcvxcrvUSDETHCRV = 150; -uint256 constant TOKEN_stkcvxGHOcrvUSD = 151; -uint256 constant TOKEN_stkcvxllamathena = 152; -uint256 constant TOKEN_cvxcrvUSDT = 153; -uint256 constant TOKEN_yvDAI = 154; -uint256 constant TOKEN_yvUSDC = 155; -uint256 constant TOKEN_yvUSDC_e = 156; -uint256 constant TOKEN_yvWETH = 157; -uint256 constant TOKEN_yvWBTC = 158; -uint256 constant TOKEN_yvUSDT = 159; -uint256 constant TOKEN_yvOP = 160; -uint256 constant TOKEN_yvCurve_stETH = 161; -uint256 constant TOKEN_yvCurve_FRAX = 162; -uint256 constant TOKEN__50WETH_50AURA = 163; -uint256 constant TOKEN_B_80BAL_20WETH = 164; -uint256 constant TOKEN_USDC_DAI_USDT = 165; -uint256 constant TOKEN_B_rETH_STABLE = 166; -uint256 constant TOKEN_weETH_rETH = 167; -uint256 constant TOKEN_osETH_wETH_BPT = 168; -uint256 constant TOKEN_ezETH_WETH_BPT = 169; -uint256 constant TOKEN_sUSDe_USDC_BPT = 170; -uint256 constant TOKEN_pumpBTC_WBTC_BPT = 171; -uint256 constant TOKEN_eBTC_WBTC_BPT = 172; -uint256 constant TOKEN_trenSTETH = 173; -uint256 constant TOKEN_weETH_ezETH_rswETH = 174; -uint256 constant TOKEN_GHO_USDT_USDC = 175; -uint256 constant TOKEN_rsETH_WETH = 176; -uint256 constant TOKEN_rsETH_wETH_Arb = 177; -uint256 constant TOKEN_BPT_rETH_ETH = 178; -uint256 constant TOKEN_BPT_WSTETH_ETH = 179; -uint256 constant TOKEN_BPT_ROAD = 180; -uint256 constant TOKEN_ECLP_wstETH_WETH = 181; -uint256 constant TOKEN_wstETH_WETH_BPT = 182; -uint256 constant TOKEN_wstETH_rETH_sfrxETH = 183; -uint256 constant TOKEN_wstETH_rETH_cbETH = 184; -uint256 constant TOKEN_cbETH_rETH_wstETH = 185; -uint256 constant TOKEN_rETH_WETH_BPT_deprecated = 186; -uint256 constant TOKEN_rETH_wETH_BPT = 187; -uint256 constant TOKEN__33AURA_33ARB_33BAL = 188; -uint256 constant TOKEN_ezETH_wstETH = 189; -uint256 constant TOKEN_bpt_ethtri = 190; -uint256 constant TOKEN_aDAI = 191; -uint256 constant TOKEN_aUSDC = 192; -uint256 constant TOKEN_aUSDT = 193; -uint256 constant TOKEN_aWETH = 194; -uint256 constant TOKEN_waDAI = 195; -uint256 constant TOKEN_waUSDC = 196; -uint256 constant TOKEN_waUSDT = 197; -uint256 constant TOKEN_waWETH = 198; -uint256 constant TOKEN_cDAI = 199; -uint256 constant TOKEN_cUSDC = 200; -uint256 constant TOKEN_cUSDT = 201; -uint256 constant TOKEN_cETH = 202; -uint256 constant TOKEN_cLINK = 203; -uint256 constant TOKEN_fUSDC = 204; -uint256 constant TOKEN_sDAI = 205; -uint256 constant TOKEN_YieldETH = 206; -uint256 constant TOKEN_sUSDe = 207; -uint256 constant TOKEN_sUSDS = 208; -uint256 constant TOKEN_scrvUSD = 209; -uint256 constant TOKEN_auraB_rETH_STABLE = 210; -uint256 constant TOKEN_auraosETH_wETH_BPT = 211; -uint256 constant TOKEN_auraweETH_rETH = 212; -uint256 constant TOKEN_auraBPT_rETH_ETH = 213; -uint256 constant TOKEN_auraBPT_WSTETH_ETH = 214; -uint256 constant TOKEN_aurawstETH_WETH_BPT = 215; -uint256 constant TOKEN_aurawstETH_rETH_sfrxETH = 216; -uint256 constant TOKEN_auracbETH_rETH_wstETH = 217; -uint256 constant TOKEN_aurarETH_wETH_BPT = 218; -uint256 constant TOKEN_auraB_rETH_STABLE_vault = 219; -uint256 constant TOKEN_auraosETH_wETH_BPT_vault = 220; -uint256 constant TOKEN_auraweETH_rETH_vault = 221; -uint256 constant TOKEN_auraBPT_rETH_ETH_vault = 222; -uint256 constant TOKEN_auraBPT_WSTETH_ETH_vault = 223; -uint256 constant TOKEN_aurawstETH_WETH_BPT_vault = 224; -uint256 constant TOKEN_aurawstETH_rETH_sfrxETH_vault = 225; -uint256 constant TOKEN_auracbETH_rETH_wstETH_vault = 226; -uint256 constant TOKEN_aurarETH_wETH_BPT_vault = 227; -uint256 constant TOKEN_zpufETH = 228; -uint256 constant TOKEN_stkUSDS = 229; -uint256 constant TOKEN_dDAI = 230; -uint256 constant TOKEN_dUSDC = 231; -uint256 constant TOKEN_dWBTC = 232; -uint256 constant TOKEN_dWETH = 233; -uint256 constant TOKEN_dwstETH = 234; -uint256 constant TOKEN_dFRAX = 235; -uint256 constant TOKEN_dUSDCV3 = 236; -uint256 constant TOKEN_dUSDC_eV3 = 237; -uint256 constant TOKEN_dWBTCV3 = 238; -uint256 constant TOKEN_dWETHV3 = 239; -uint256 constant TOKEN_dUSDTV3 = 240; -uint256 constant TOKEN_dGHOV3 = 241; -uint256 constant TOKEN_dDAIV3 = 242; -uint256 constant TOKEN_dcrvUSDV3 = 243; -uint256 constant TOKEN_dDOLAV3 = 244; -uint256 constant TOKEN_sdUSDCV3 = 245; -uint256 constant TOKEN_sdUSDC_eV3 = 246; -uint256 constant TOKEN_sdWBTCV3 = 247; -uint256 constant TOKEN_sdWETHV3 = 248; -uint256 constant TOKEN_sdWETHV3_OLD = 249; -uint256 constant TOKEN_sdUSDTV3 = 250; -uint256 constant TOKEN_sdGHOV3 = 251; -uint256 constant TOKEN_sdDAIV3 = 252; -uint256 constant TOKEN_sdcrvUSDV3 = 253; -uint256 constant TOKEN_sdDOLAV3 = 254; -uint256 constant TOKEN_GEAR = 255; -uint256 constant NUM_TOKENS = 256; +uint256 constant TOKEN_DVstETH = 60; +uint256 constant TOKEN_PT_rsETH_26SEP2024 = 61; +uint256 constant TOKEN_USDS = 62; +uint256 constant TOKEN_SKY = 63; +uint256 constant TOKEN_PT_sUSDe_26DEC2024 = 64; +uint256 constant TOKEN_PT_eETH_26DEC2024 = 65; +uint256 constant TOKEN_PT_ezETH_26DEC2024 = 66; +uint256 constant TOKEN_PT_eBTC_26DEC2024 = 67; +uint256 constant TOKEN_PT_LBTC_27MAR2025 = 68; +uint256 constant TOKEN_PT_corn_solvBTC_BBN_26DEC2024 = 69; +uint256 constant TOKEN_PT_corn_pumpBTC_26DEC2024 = 70; +uint256 constant TOKEN_PT_cornLBTC_26DEC2024 = 71; +uint256 constant TOKEN_PT_corn_eBTC_27MAR2025 = 72; +uint256 constant TOKEN_PT_sUSDe_27MAR2025 = 73; +uint256 constant TOKEN_sfrxETH = 74; +uint256 constant TOKEN__3Crv = 75; +uint256 constant TOKEN_crvFRAX = 76; +uint256 constant TOKEN_steCRV = 77; +uint256 constant TOKEN_crvPlain3andSUSD = 78; +uint256 constant TOKEN_crvCRVETH = 79; +uint256 constant TOKEN_crvCVXETH = 80; +uint256 constant TOKEN_crvUSDTWBTCWETH = 81; +uint256 constant TOKEN_LDOETH = 82; +uint256 constant TOKEN_crvUSDUSDC = 83; +uint256 constant TOKEN_crvUSDUSDT = 84; +uint256 constant TOKEN_crvUsUSDe = 85; +uint256 constant TOKEN_llamathena = 86; +uint256 constant TOKEN_crvUSDFRAX = 87; +uint256 constant TOKEN_crvUSDETHCRV = 88; +uint256 constant TOKEN_rETH_f = 89; +uint256 constant TOKEN_DOLAFRAXBP3CRV_f = 90; +uint256 constant TOKEN_crvUSDDOLA_f = 91; +uint256 constant TOKEN_USDeUSDC = 92; +uint256 constant TOKEN_FRAXUSDe = 93; +uint256 constant TOKEN_USDecrvUSD = 94; +uint256 constant TOKEN_FRAXsDAI = 95; +uint256 constant TOKEN_DOLAsUSDe = 96; +uint256 constant TOKEN_USDeDAI = 97; +uint256 constant TOKEN_MtEthena = 98; +uint256 constant TOKEN_GHOUSDe = 99; +uint256 constant TOKEN_pufETHwstE = 100; +uint256 constant TOKEN_GHOcrvUSD = 101; +uint256 constant TOKEN_wstETHCRV = 102; +uint256 constant TOKEN__2CRV = 103; +uint256 constant TOKEN__3c_crvUSD = 104; +uint256 constant TOKEN_crvUSDC = 105; +uint256 constant TOKEN_crvUSDT = 106; +uint256 constant TOKEN_crvUSDC_e = 107; +uint256 constant TOKEN_USDEUSDC = 108; +uint256 constant TOKEN__3CRV = 109; +uint256 constant TOKEN_ezETHWETH = 110; +uint256 constant TOKEN_ezpzETH = 111; +uint256 constant TOKEN_LBTCWBTC = 112; +uint256 constant TOKEN_eBTCWBTC = 113; +uint256 constant TOKEN_pumpBTCWBTC = 114; +uint256 constant TOKEN_TriBTC = 115; +uint256 constant TOKEN__2BTC_f = 116; +uint256 constant TOKEN_FRAX3CRV = 117; +uint256 constant TOKEN_LUSD3CRV = 118; +uint256 constant TOKEN_gusd3CRV = 119; +uint256 constant TOKEN_cvx3Crv = 120; +uint256 constant TOKEN_cvxcrvFRAX = 121; +uint256 constant TOKEN_cvxsteCRV = 122; +uint256 constant TOKEN_cvxFRAX3CRV = 123; +uint256 constant TOKEN_cvxLUSD3CRV = 124; +uint256 constant TOKEN_cvxcrvPlain3andSUSD = 125; +uint256 constant TOKEN_cvxgusd3CRV = 126; +uint256 constant TOKEN_cvxcrvCRVETH = 127; +uint256 constant TOKEN_cvxcrvCVXETH = 128; +uint256 constant TOKEN_cvxcrvUSDTWBTCWETH = 129; +uint256 constant TOKEN_cvxLDOETH = 130; +uint256 constant TOKEN_cvxcrvUSDUSDC = 131; +uint256 constant TOKEN_cvxcrvUSDUSDT = 132; +uint256 constant TOKEN_cvxcrvUSDFRAX = 133; +uint256 constant TOKEN_cvxcrvUSDETHCRV = 134; +uint256 constant TOKEN_cvxGHOcrvUSD = 135; +uint256 constant TOKEN_cvxllamathena = 136; +uint256 constant TOKEN_stkcvx3Crv = 137; +uint256 constant TOKEN_stkcvxcrvFRAX = 138; +uint256 constant TOKEN_stkcvxsteCRV = 139; +uint256 constant TOKEN_stkcvxFRAX3CRV = 140; +uint256 constant TOKEN_stkcvxLUSD3CRV = 141; +uint256 constant TOKEN_stkcvxcrvPlain3andSUSD = 142; +uint256 constant TOKEN_stkcvxgusd3CRV = 143; +uint256 constant TOKEN_stkcvxcrvCRVETH = 144; +uint256 constant TOKEN_stkcvxcrvCVXETH = 145; +uint256 constant TOKEN_stkcvxcrvUSDTWBTCWETH = 146; +uint256 constant TOKEN_stkcvxLDOETH = 147; +uint256 constant TOKEN_stkcvxcrvUSDUSDC = 148; +uint256 constant TOKEN_stkcvxcrvUSDUSDT = 149; +uint256 constant TOKEN_stkcvxcrvUSDFRAX = 150; +uint256 constant TOKEN_stkcvxcrvUSDETHCRV = 151; +uint256 constant TOKEN_stkcvxGHOcrvUSD = 152; +uint256 constant TOKEN_stkcvxllamathena = 153; +uint256 constant TOKEN_cvxcrvUSDT = 154; +uint256 constant TOKEN_yvDAI = 155; +uint256 constant TOKEN_yvUSDC = 156; +uint256 constant TOKEN_yvUSDC_e = 157; +uint256 constant TOKEN_yvWETH = 158; +uint256 constant TOKEN_yvWBTC = 159; +uint256 constant TOKEN_yvUSDT = 160; +uint256 constant TOKEN_yvOP = 161; +uint256 constant TOKEN_yvCurve_stETH = 162; +uint256 constant TOKEN_yvCurve_FRAX = 163; +uint256 constant TOKEN__50WETH_50AURA = 164; +uint256 constant TOKEN_B_80BAL_20WETH = 165; +uint256 constant TOKEN_USDC_DAI_USDT = 166; +uint256 constant TOKEN_B_rETH_STABLE = 167; +uint256 constant TOKEN_weETH_rETH = 168; +uint256 constant TOKEN_osETH_wETH_BPT = 169; +uint256 constant TOKEN_ezETH_WETH_BPT = 170; +uint256 constant TOKEN_sUSDe_USDC_BPT = 171; +uint256 constant TOKEN_pumpBTC_WBTC_BPT = 172; +uint256 constant TOKEN_eBTC_WBTC_BPT = 173; +uint256 constant TOKEN_trenSTETH = 174; +uint256 constant TOKEN_DVstETH_wstETH_BPT = 175; +uint256 constant TOKEN_weETH_ezETH_rswETH = 176; +uint256 constant TOKEN_GHO_USDT_USDC = 177; +uint256 constant TOKEN_rsETH_WETH = 178; +uint256 constant TOKEN_rsETH_wETH_Arb = 179; +uint256 constant TOKEN_BPT_rETH_ETH = 180; +uint256 constant TOKEN_BPT_WSTETH_ETH = 181; +uint256 constant TOKEN_BPT_ROAD = 182; +uint256 constant TOKEN_ECLP_wstETH_WETH = 183; +uint256 constant TOKEN_wstETH_WETH_BPT = 184; +uint256 constant TOKEN_wstETH_rETH_sfrxETH = 185; +uint256 constant TOKEN_wstETH_rETH_cbETH = 186; +uint256 constant TOKEN_cbETH_rETH_wstETH = 187; +uint256 constant TOKEN_rETH_WETH_BPT_deprecated = 188; +uint256 constant TOKEN_rETH_wETH_BPT = 189; +uint256 constant TOKEN__33AURA_33ARB_33BAL = 190; +uint256 constant TOKEN_ezETH_wstETH = 191; +uint256 constant TOKEN_bpt_ethtri = 192; +uint256 constant TOKEN_aDAI = 193; +uint256 constant TOKEN_aUSDC = 194; +uint256 constant TOKEN_aUSDT = 195; +uint256 constant TOKEN_aWETH = 196; +uint256 constant TOKEN_waDAI = 197; +uint256 constant TOKEN_waUSDC = 198; +uint256 constant TOKEN_waUSDT = 199; +uint256 constant TOKEN_waWETH = 200; +uint256 constant TOKEN_cDAI = 201; +uint256 constant TOKEN_cUSDC = 202; +uint256 constant TOKEN_cUSDT = 203; +uint256 constant TOKEN_cETH = 204; +uint256 constant TOKEN_cLINK = 205; +uint256 constant TOKEN_fUSDC = 206; +uint256 constant TOKEN_sDAI = 207; +uint256 constant TOKEN_YieldETH = 208; +uint256 constant TOKEN_sUSDe = 209; +uint256 constant TOKEN_sUSDS = 210; +uint256 constant TOKEN_scrvUSD = 211; +uint256 constant TOKEN_auraB_rETH_STABLE = 212; +uint256 constant TOKEN_auraosETH_wETH_BPT = 213; +uint256 constant TOKEN_auraweETH_rETH = 214; +uint256 constant TOKEN_auraBPT_rETH_ETH = 215; +uint256 constant TOKEN_auraBPT_WSTETH_ETH = 216; +uint256 constant TOKEN_aurawstETH_WETH_BPT = 217; +uint256 constant TOKEN_aurawstETH_rETH_sfrxETH = 218; +uint256 constant TOKEN_auracbETH_rETH_wstETH = 219; +uint256 constant TOKEN_aurarETH_wETH_BPT = 220; +uint256 constant TOKEN_auraB_rETH_STABLE_vault = 221; +uint256 constant TOKEN_auraosETH_wETH_BPT_vault = 222; +uint256 constant TOKEN_auraweETH_rETH_vault = 223; +uint256 constant TOKEN_auraBPT_rETH_ETH_vault = 224; +uint256 constant TOKEN_auraBPT_WSTETH_ETH_vault = 225; +uint256 constant TOKEN_aurawstETH_WETH_BPT_vault = 226; +uint256 constant TOKEN_aurawstETH_rETH_sfrxETH_vault = 227; +uint256 constant TOKEN_auracbETH_rETH_wstETH_vault = 228; +uint256 constant TOKEN_aurarETH_wETH_BPT_vault = 229; +uint256 constant TOKEN_zpufETH = 230; +uint256 constant TOKEN_stkUSDS = 231; +uint256 constant TOKEN_dDAI = 232; +uint256 constant TOKEN_dUSDC = 233; +uint256 constant TOKEN_dWBTC = 234; +uint256 constant TOKEN_dWETH = 235; +uint256 constant TOKEN_dwstETH = 236; +uint256 constant TOKEN_dFRAX = 237; +uint256 constant TOKEN_dUSDCV3 = 238; +uint256 constant TOKEN_dUSDC_eV3 = 239; +uint256 constant TOKEN_dWBTCV3 = 240; +uint256 constant TOKEN_dWETHV3 = 241; +uint256 constant TOKEN_dUSDTV3 = 242; +uint256 constant TOKEN_dGHOV3 = 243; +uint256 constant TOKEN_dDAIV3 = 244; +uint256 constant TOKEN_dcrvUSDV3 = 245; +uint256 constant TOKEN_dDOLAV3 = 246; +uint256 constant TOKEN_sdUSDCV3 = 247; +uint256 constant TOKEN_sdUSDC_eV3 = 248; +uint256 constant TOKEN_sdWBTCV3 = 249; +uint256 constant TOKEN_sdWETHV3 = 250; +uint256 constant TOKEN_sdWETHV3_OLD = 251; +uint256 constant TOKEN_sdUSDTV3 = 252; +uint256 constant TOKEN_sdGHOV3 = 253; +uint256 constant TOKEN_sdDAIV3 = 254; +uint256 constant TOKEN_sdcrvUSDV3 = 255; +uint256 constant TOKEN_sdDOLAV3 = 256; +uint256 constant TOKEN_GEAR = 257; +uint256 constant NUM_TOKENS = 258; enum TokenType { NO_TOKEN, diff --git a/contracts/TokensData.sol b/contracts/TokensData.sol index 031ed6e..b8ec526 100644 --- a/contracts/TokensData.sol +++ b/contracts/TokensData.sol @@ -463,6 +463,14 @@ contract TokensDataLive { tokenType: TokenType.NORMAL_TOKEN }) ); + tokenDataByNetwork[1].push( + TokenData({ + id: TOKEN_DVstETH, + addr: 0x5E362eb2c0706Bd1d134689eC75176018385430B, + symbol: "DVstETH", + tokenType: TokenType.NORMAL_TOKEN + }) + ); tokenDataByNetwork[1].push( TokenData({ id: TOKEN_PT_rsETH_26SEP2024, @@ -1291,6 +1299,14 @@ contract TokensDataLive { tokenType: TokenType.BALANCER_LP_TOKEN }) ); + tokenDataByNetwork[1].push( + TokenData({ + id: TOKEN_DVstETH_wstETH_BPT, + addr: 0x632aafC2D3D2cA1764E702aa25c065c273Cd08eD, + symbol: "DVstETH_wstETH_BPT", + tokenType: TokenType.BALANCER_LP_TOKEN + }) + ); tokenDataByNetwork[1].push( TokenData({ id: TOKEN_weETH_ezETH_rswETH, diff --git a/src/config/configs/index.ts b/src/config/configs/index.ts old mode 100644 new mode 100755 index c6debaa..d5ac310 --- a/src/config/configs/index.ts +++ b/src/config/configs/index.ts @@ -19,3 +19,4 @@ export { wbtcConfigMainnet } from "./wbtcConfigMainnet"; export { wethConfigArbitrum } from "./wethConfigArbitrum"; export { wethConfigMainnet } from "./wethConfigMainnet"; export { wethConfigOptimism } from "./wethConfigOptimism"; +export { wstethConfigMainnet } from "./wstethConfigMainnet"; diff --git a/src/config/configs/wstethConfigMainnet.ts b/src/config/configs/wstethConfigMainnet.ts new file mode 100755 index 0000000..23452ca --- /dev/null +++ b/src/config/configs/wstethConfigMainnet.ts @@ -0,0 +1,174 @@ +import { + BalancerVaultConfig, + GenericSwapConfig, + MellowVaultConfig, + PendlePairStatus, + PendleRouterConfig, + UniV3Config, +} from "../adapters"; +import { + CollateralToken, + CreditManagerV3DeployConfig, + PoolV3DeployConfig, +} from "../poolV3DeployConfig"; + +const POOL_DECIMALS = BigInt(1e18); + +const mellowVaultConfigList: MellowVaultConfig[] = [ + { + contract: "MELLOW_STEAKHOUSE_VAULT", + allowed: ["wstETH"], + }, + { + contract: "MELLOW_DECENTALIZED_VALIDATOR_VAULT", + allowed: ["wstETH"], + }, +]; + +const balancerConfig: BalancerVaultConfig = { + contract: "BALANCER_VAULT", + allowed: [ + { + pool: "trenSTETH", + status: 2, + }, + { + pool: "DVstETH_wstETH_BPT", + status: 2, + }, + ], +}; + +const tier1CreditManager: CreditManagerV3DeployConfig = { + name: "wstETH Correlated Tier 1", + degenNft: false, + expirationDate: undefined, + minDebt: BigInt(50) * POOL_DECIMALS, + maxDebt: BigInt(1_000) * POOL_DECIMALS, + feeInterest: 2500, + feeLiquidation: 0, + liquidationPremium: 100, + feeLiquidationExpired: 0, + liquidationPremiumExpired: 100, + poolLimit: BigInt(50_000) * POOL_DECIMALS, + maxEnabledTokens: 4, + collateralTokens: [ + { + token: "rstETH", + lt: 9600, + }, + { + token: "DVstETH", + lt: 9600, + }, + + // COMPATIBILITY + { token: "trenSTETH", lt: 0 }, + { token: "DVstETH_wstETH_BPT", lt: 0 }, + { token: "amphrETH", lt: 0 }, + { token: "Re7LRT", lt: 0 }, + { token: "steakLRT", lt: 0 }, + ], + adapters: [...mellowVaultConfigList, balancerConfig], +}; + +const tier2CreditManager: CreditManagerV3DeployConfig = { + name: "wstETH Correlated Tier 2", + degenNft: false, + expirationDate: undefined, + minDebt: BigInt(10) * POOL_DECIMALS, + maxDebt: BigInt(200) * POOL_DECIMALS, + feeInterest: 2500, + feeLiquidation: 0, + liquidationPremium: 300, + feeLiquidationExpired: 0, + liquidationPremiumExpired: 300, + poolLimit: BigInt(20_000) * POOL_DECIMALS, + maxEnabledTokens: 4, + collateralTokens: [ + { + token: "rstETH", + lt: 9400, + }, + { + token: "DVstETH", + lt: 9400, + }, + + // COMPATIBILITY + { token: "trenSTETH", lt: 0 }, + { token: "DVstETH_wstETH_BPT", lt: 0 }, + { token: "amphrETH", lt: 0 }, + { token: "Re7LRT", lt: 0 }, + { token: "steakLRT", lt: 0 }, + ], + adapters: [...mellowVaultConfigList, balancerConfig], +}; + +export const wstethConfigMainnet: PoolV3DeployConfig = { + id: "mainnet-wsteth-v3", + symbol: "dWSTETHV3", + name: "wstETH v3", + network: "Mainnet", + underlying: "wstETH", + accountAmount: BigInt(100_000) * POOL_DECIMALS, + withdrawalFee: 0, + totalDebtLimit: BigInt(30_000) * POOL_DECIMALS, + irm: { + U1: 7000, + U2: 9000, + Rbase: 0, + Rslope1: 25, + Rslope2: 50, + Rslope3: 2500, + isBorrowingMoreU2Forbidden: true, + }, + ratesAndLimits: { + rstETH: { + minRate: 5, + maxRate: 200, + quotaIncreaseFee: 0, + limit: BigInt(5_000) * POOL_DECIMALS, + }, + DVstETH: { + minRate: 5, + maxRate: 200, + quotaIncreaseFee: 0, + limit: BigInt(5_000) * POOL_DECIMALS, + }, + + // COMPATIBILITY + trenSTETH: { + minRate: 1, + maxRate: 1, + quotaIncreaseFee: 0, + limit: BigInt(0), + }, + DVstETH_wstETH_BPT: { + minRate: 1, + maxRate: 1, + quotaIncreaseFee: 0, + limit: BigInt(0), + }, + amphrETH: { + minRate: 1, + maxRate: 1, + quotaIncreaseFee: 0, + limit: BigInt(0), + }, + Re7LRT: { + minRate: 1, + maxRate: 1, + quotaIncreaseFee: 0, + limit: BigInt(0), + }, + steakLRT: { + minRate: 1, + maxRate: 1, + quotaIncreaseFee: 0, + limit: BigInt(0), + }, + }, + creditManagers: [tier1CreditManager, tier2CreditManager], + supportsQuotas: true, +}; diff --git a/src/contracts/contracts.ts b/src/contracts/contracts.ts old mode 100644 new mode 100755 index 9223c0e..6d9fca4 --- a/src/contracts/contracts.ts +++ b/src/contracts/contracts.ts @@ -140,7 +140,8 @@ export type MellowVaultContract = | "MELLOW_RE7_LABS_VAULT" | "MELLOW_AMPHOR_VAULT" | "MELLOW_RESTAKING_VAULT" - | "MELLOW_RENZO_VAULT"; + | "MELLOW_RENZO_VAULT" + | "MELLOW_DECENTALIZED_VALIDATOR_VAULT"; export type StakingRewardsContract = "SKY_STAKING_REWARDS"; @@ -334,6 +335,7 @@ export const contractsByNetwork: Record< MELLOW_AMPHOR_VAULT: tokenDataByNetwork.Mainnet.amphrETH, MELLOW_RESTAKING_VAULT: tokenDataByNetwork.Mainnet.rstETH, MELLOW_RENZO_VAULT: tokenDataByNetwork.Mainnet.pzETH, + MELLOW_DECENTALIZED_VALIDATOR_VAULT: tokenDataByNetwork.Mainnet.DVstETH, // SKY SKY_STAKING_REWARDS: "0x0650CAF159C5A49f711e8169D4336ECB9b950275", @@ -505,6 +507,7 @@ export const contractsByNetwork: Record< MELLOW_AMPHOR_VAULT: tokenDataByNetwork.Arbitrum.amphrETH, MELLOW_RESTAKING_VAULT: tokenDataByNetwork.Arbitrum.rstETH, MELLOW_RENZO_VAULT: tokenDataByNetwork.Arbitrum.pzETH, + MELLOW_DECENTALIZED_VALIDATOR_VAULT: tokenDataByNetwork.Arbitrum.DVstETH, SKY_STAKING_REWARDS: NOT_DEPLOYED, DAI_USDS: NOT_DEPLOYED, @@ -675,6 +678,7 @@ export const contractsByNetwork: Record< MELLOW_AMPHOR_VAULT: tokenDataByNetwork.Optimism.amphrETH, MELLOW_RESTAKING_VAULT: tokenDataByNetwork.Optimism.rstETH, MELLOW_RENZO_VAULT: tokenDataByNetwork.Optimism.pzETH, + MELLOW_DECENTALIZED_VALIDATOR_VAULT: tokenDataByNetwork.Optimism.DVstETH, SKY_STAKING_REWARDS: NOT_DEPLOYED, DAI_USDS: NOT_DEPLOYED, @@ -842,6 +846,7 @@ export const contractsByNetwork: Record< MELLOW_AMPHOR_VAULT: tokenDataByNetwork.Base.amphrETH, MELLOW_RESTAKING_VAULT: tokenDataByNetwork.Base.rstETH, MELLOW_RENZO_VAULT: tokenDataByNetwork.Base.pzETH, + MELLOW_DECENTALIZED_VALIDATOR_VAULT: tokenDataByNetwork.Base.DVstETH, SKY_STAKING_REWARDS: NOT_DEPLOYED, DAI_USDS: NOT_DEPLOYED, @@ -2298,6 +2303,11 @@ export const contractParams: Record = { protocol: Protocols.Mellow, type: AdapterInterface.MELLOW_LRT_VAULT, }, + MELLOW_DECENTALIZED_VALIDATOR_VAULT: { + name: "Mellow Decentralized Validator Token vault", + protocol: Protocols.Mellow, + type: AdapterInterface.MELLOW_LRT_VAULT, + }, SKY_STAKING_REWARDS: { name: "Sky StakingRewards contract", protocol: Protocols.Sky, diff --git a/src/oracles/priceFeeds.ts b/src/oracles/priceFeeds.ts old mode 100644 new mode 100755 index c45ff1b..fdaa7a9 --- a/src/oracles/priceFeeds.ts +++ b/src/oracles/priceFeeds.ts @@ -2817,6 +2817,14 @@ export const priceFeedsByToken: Record< }, }, }, + DVstETH_wstETH_BPT: { + AllNetworks: { + Main: { + type: PriceFeedType.ZERO_ORACLE, + trusted: false, + }, + }, + }, weETH_ezETH_rswETH: { AllNetworks: { Main: { @@ -3868,6 +3876,19 @@ export const priceFeedsByToken: Record< }, }, }, + DVstETH: { + AllNetworks: { + Main: { + type: PriceFeedType.MELLOW_LRT_ORACLE, + underlying: "WETH", + trusted: false, + }, + Reserve: { + type: PriceFeedType.THE_SAME_AS, + token: "wstETH", + }, + }, + }, PT_rsETH_26SEP2024: { Mainnet: { Main: { diff --git a/src/tokens/balancer.ts b/src/tokens/balancer.ts index 0a70954..f284eff 100644 --- a/src/tokens/balancer.ts +++ b/src/tokens/balancer.ts @@ -17,6 +17,7 @@ export type BalancerLPToken = | "GHO_USDT_USDC" | "rsETH_WETH" | "trenSTETH" + | "DVstETH_wstETH_BPT" | "sUSDe_USDC_BPT" | "pumpBTC_WBTC_BPT" | "eBTC_WBTC_BPT" @@ -165,6 +166,17 @@ export const balancerLpTokens: Record = { "0x4216d5900a6109bba48418b5e2ab6cc4e61cf4770000000000000000000006a1", }, + DVstETH_wstETH_BPT: { + name: "Balancer DVstETH/wstETH ", + symbol: "DVstETH_wstETH_BPT", + type: { + AllNetworks: TokenType.BALANCER_LP_TOKEN, + }, + underlying: ["DVstETH", "wstETH"], + poolId: + "0x632aafc2d3d2ca1764e702aa25c065c273cd08ed0000000000000000000006d6", + }, + weETH_ezETH_rswETH: { name: "Balancer ezETH/weETH/rswETH", symbol: "weETH_ezETH_rswETH", diff --git a/src/tokens/decimals.ts b/src/tokens/decimals.ts old mode 100644 new mode 100755 index 7784f33..700d79c --- a/src/tokens/decimals.ts +++ b/src/tokens/decimals.ts @@ -195,6 +195,7 @@ export const decimals: Record = { rETH_WETH_BPT_deprecated: 18, rETH_wETH_BPT: 18, trenSTETH: 18, + DVstETH_wstETH_BPT: 18, ezETH_WETH_BPT: 18, weETH_ezETH_rswETH: 18, "33AURA_33ARB_33BAL": 18, @@ -233,6 +234,7 @@ export const decimals: Record = { amphrETH: 18, rstETH: 18, pzETH: 18, + DVstETH: 18, aDAI: 18, aUSDC: 6, diff --git a/src/tokens/normal.ts b/src/tokens/normal.ts old mode 100644 new mode 100755 index bdda98b..5d933b5 --- a/src/tokens/normal.ts +++ b/src/tokens/normal.ts @@ -65,6 +65,7 @@ export type NormalToken = | "amphrETH" | "rstETH" | "pzETH" + | "DVstETH" // Pendle | "PT_rsETH_26SEP2024" | "PT_sUSDe_26DEC2024" @@ -438,6 +439,11 @@ export const normalTokens: Record = { symbol: "pzETH", type: { AllNetworks: TokenType.NORMAL_TOKEN }, }, + DVstETH: { + name: "Decentralized Validator Token", + symbol: "DVstETH", + type: { AllNetworks: TokenType.NORMAL_TOKEN }, + }, PT_rsETH_26SEP2024: { name: "Pendle PT rsETH 26 Sep 2024 expiry", symbol: "PT_rsETH_26SEP2024", diff --git a/src/tokens/token.ts b/src/tokens/token.ts old mode 100644 new mode 100755 index 8cdbb21..24f2aa2 --- a/src/tokens/token.ts +++ b/src/tokens/token.ts @@ -337,6 +337,7 @@ export const tokenDataByNetwork: Record< ezETH_WETH_BPT: "0x596192bB6e41802428Ac943D2f1476C1Af25CC0E", sUSDe_USDC_BPT: "0xb819feeF8F0fcDC268AfE14162983A69f6BF179E", trenSTETH: "0x4216d5900a6109bba48418b5e2AB6cc4e61Cf477", + DVstETH_wstETH_BPT: "0x632aafC2D3D2cA1764E702aa25c065c273Cd08eD", weETH_ezETH_rswETH: "0x848a5564158d84b8A8fb68ab5D004Fae11619A54", GHO_USDT_USDC: "0x8353157092ED8Be69a9DF8F95af097bbF33Cb2aF", rsETH_WETH: "0x58AAdFB1Afac0ad7fca1148f3cdE6aEDF5236B6D", @@ -463,6 +464,7 @@ export const tokenDataByNetwork: Record< amphrETH: "0x5fD13359Ba15A84B76f7F87568309040176167cd", rstETH: "0x7a4EffD87C2f3C55CA251080b1343b605f327E3a", pzETH: "0x8c9532a60E0E7C6BbD2B2c1303F63aCE1c3E9811", + DVstETH: "0x5E362eb2c0706Bd1d134689eC75176018385430B", }, /// @@ -647,6 +649,7 @@ export const tokenDataByNetwork: Record< ezETH_WETH_BPT: NOT_DEPLOYED, sUSDe_USDC_BPT: NOT_DEPLOYED, trenSTETH: NOT_DEPLOYED, + DVstETH_wstETH_BPT: NOT_DEPLOYED, weETH_ezETH_rswETH: NOT_DEPLOYED, GHO_USDT_USDC: NOT_DEPLOYED, rsETH_WETH: NOT_DEPLOYED, @@ -770,6 +773,7 @@ export const tokenDataByNetwork: Record< amphrETH: NOT_DEPLOYED, rstETH: NOT_DEPLOYED, pzETH: NOT_DEPLOYED, + DVstETH: NOT_DEPLOYED, }, /// /// @@ -956,6 +960,7 @@ export const tokenDataByNetwork: Record< ezETH_WETH_BPT: NOT_DEPLOYED, sUSDe_USDC_BPT: NOT_DEPLOYED, trenSTETH: NOT_DEPLOYED, + DVstETH_wstETH_BPT: NOT_DEPLOYED, weETH_ezETH_rswETH: NOT_DEPLOYED, "33AURA_33ARB_33BAL": NOT_DEPLOYED, ezETH_wstETH: NOT_DEPLOYED, @@ -1077,6 +1082,7 @@ export const tokenDataByNetwork: Record< amphrETH: NOT_DEPLOYED, rstETH: NOT_DEPLOYED, pzETH: NOT_DEPLOYED, + DVstETH: NOT_DEPLOYED, }, // // @@ -1266,6 +1272,7 @@ export const tokenDataByNetwork: Record< ezETH_WETH_BPT: NOT_DEPLOYED, sUSDe_USDC_BPT: NOT_DEPLOYED, trenSTETH: NOT_DEPLOYED, + DVstETH_wstETH_BPT: NOT_DEPLOYED, weETH_ezETH_rswETH: NOT_DEPLOYED, rsETH_WETH: NOT_DEPLOYED, rsETH_wETH_Arb: NOT_DEPLOYED, @@ -1387,6 +1394,7 @@ export const tokenDataByNetwork: Record< amphrETH: NOT_DEPLOYED, rstETH: NOT_DEPLOYED, pzETH: NOT_DEPLOYED, + DVstETH: NOT_DEPLOYED, }, }; From b147096972a22c7e8cd63757cc7bc5bfdcbf9fee Mon Sep 17 00:00:00 2001 From: Arkhip Vouba <80775286+57Ark@users.noreply.github.com> Date: Wed, 15 Jan 2025 12:05:35 +0100 Subject: [PATCH 10/23] fix: wsteth pool --- src/config/configs/wstethConfigMainnet.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/configs/wstethConfigMainnet.ts b/src/config/configs/wstethConfigMainnet.ts index 23452ca..8fa2282 100755 --- a/src/config/configs/wstethConfigMainnet.ts +++ b/src/config/configs/wstethConfigMainnet.ts @@ -16,7 +16,7 @@ const POOL_DECIMALS = BigInt(1e18); const mellowVaultConfigList: MellowVaultConfig[] = [ { - contract: "MELLOW_STEAKHOUSE_VAULT", + contract: "MELLOW_RESTAKING_VAULT", allowed: ["wstETH"], }, { From 9e003093b13e42e0db3c7f388169bc43995e9aba Mon Sep 17 00:00:00 2001 From: Arkhip Vouba <80775286+57Ark@users.noreply.github.com> Date: Wed, 15 Jan 2025 12:21:27 +0100 Subject: [PATCH 11/23] fix: wsteth pool --- src/config/configs/wstethConfigMainnet.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/configs/wstethConfigMainnet.ts b/src/config/configs/wstethConfigMainnet.ts index 8fa2282..5b30176 100755 --- a/src/config/configs/wstethConfigMainnet.ts +++ b/src/config/configs/wstethConfigMainnet.ts @@ -108,7 +108,7 @@ const tier2CreditManager: CreditManagerV3DeployConfig = { export const wstethConfigMainnet: PoolV3DeployConfig = { id: "mainnet-wsteth-v3", symbol: "dWSTETHV3", - name: "wstETH v3", + name: "wstETH v3", network: "Mainnet", underlying: "wstETH", accountAmount: BigInt(100_000) * POOL_DECIMALS, From 42794c8c335fb3a065607b799a1c724438e3a5ee Mon Sep 17 00:00:00 2001 From: esser Date: Thu, 16 Jan 2025 19:06:13 +0800 Subject: [PATCH 12/23] feat: add dtBTC --- src/oracles/priceFeeds.ts | 8 ++++++++ src/tokens/decimals.ts | 2 ++ src/tokens/gear.ts | 8 +++++++- src/tokens/stakingRewards.ts | 8 +------- src/tokens/token.ts | 8 ++++++++ 5 files changed, 26 insertions(+), 8 deletions(-) diff --git a/src/oracles/priceFeeds.ts b/src/oracles/priceFeeds.ts index 8b2d5b9..d9fa402 100755 --- a/src/oracles/priceFeeds.ts +++ b/src/oracles/priceFeeds.ts @@ -3164,6 +3164,14 @@ export const priceFeedsByToken: Record< }, }, }, + dtBTCV3: { + Mainnet: { + Main: { + type: PriceFeedType.ZERO_ORACLE, + trusted: false, + }, + }, + }, sdUSDCV3: { Mainnet: { diff --git a/src/tokens/decimals.ts b/src/tokens/decimals.ts index 4e638bc..dafdeb9 100755 --- a/src/tokens/decimals.ts +++ b/src/tokens/decimals.ts @@ -172,6 +172,8 @@ export const decimals: Record = { dDOLAV3: 18, + dtBTCV3: 18, + dUSDC_eV3: 6, sdUSDC_eV3: 6, diff --git a/src/tokens/gear.ts b/src/tokens/gear.ts index 540ac6d..4b4a94f 100644 --- a/src/tokens/gear.ts +++ b/src/tokens/gear.ts @@ -9,7 +9,8 @@ export type DieselSimpleTokenTypes = | "dWETH" | "dwstETH" | "dFRAX" - | "dDOLAV3"; + | "dDOLAV3" + | "dtBTCV3"; export type DieselTokenWithStkTypes = | "dUSDCV3" @@ -106,6 +107,11 @@ const dieselSimpleTokens: Record< symbol: "dDOLAV3", type: { AllNetworks: TokenType.DIESEL_LP_TOKEN }, }, + dtBTCV3: { + name: "dtBTCV3", + symbol: "dtBTCV3", + type: { AllNetworks: TokenType.DIESEL_LP_TOKEN }, + }, }; const dieselWithStkTokens: Record< diff --git a/src/tokens/stakingRewards.ts b/src/tokens/stakingRewards.ts index 6e37d8e..e6f80c6 100644 --- a/src/tokens/stakingRewards.ts +++ b/src/tokens/stakingRewards.ts @@ -1,10 +1,4 @@ -import { Token } from "yaml/dist/parse/cst"; -import { record } from "zod"; - -import type { - StakingRewardsContract, - SupportedContract, -} from "../contracts/contracts"; +import type { StakingRewardsContract } from "../contracts/contracts"; import { PartialRecord } from "../utils/types"; import type { SupportedToken, TokenBase } from "./token"; import { TokenNetwork, TokenType } from "./tokenType"; diff --git a/src/tokens/token.ts b/src/tokens/token.ts index 111a741..abb24fd 100755 --- a/src/tokens/token.ts +++ b/src/tokens/token.ts @@ -420,6 +420,8 @@ export const tokenDataByNetwork: Record< dDOLAV3: "0x31426271449F60d37Cc5C9AEf7bD12aF3BdC7A94", + dtBTCV3: "0x7354EC6E852108411e681D13E11185c3a2567981", + dUSDC_eV3: NOT_DEPLOYED, sdUSDC_eV3: NOT_DEPLOYED, @@ -730,6 +732,8 @@ export const tokenDataByNetwork: Record< dDOLAV3: NOT_DEPLOYED, + dtBTCV3: NOT_DEPLOYED, + dUSDC_eV3: "0xa76c604145D7394DEc36C49Af494C144Ff327861", sdUSDC_eV3: "0x608F9e2E8933Ce6b39A8CddBc34a1e3E8D21cE75", @@ -1038,6 +1042,8 @@ export const tokenDataByNetwork: Record< dDOLAV3: NOT_DEPLOYED, + dtBTCV3: NOT_DEPLOYED, + dUSDC_eV3: "0x5520dAa93A187f4Ec67344e6D2C4FC9B080B6A35", sdUSDC_eV3: "0x73302b63Ad4a16C498f26dB89cb27F37a72E4E04", @@ -1346,6 +1352,8 @@ export const tokenDataByNetwork: Record< dDOLAV3: NOT_DEPLOYED, + dtBTCV3: NOT_DEPLOYED, + dUSDC_eV3: NOT_DEPLOYED, sdUSDC_eV3: NOT_DEPLOYED, From b118ad39b9b6ba0ea183a8a205ca6dfaabb3335a Mon Sep 17 00:00:00 2001 From: esser Date: Thu, 16 Jan 2025 20:03:05 +0800 Subject: [PATCH 13/23] feat: dwsteth pool --- src/oracles/priceFeeds.ts | 8 ++++++++ src/tokens/decimals.ts | 1 + src/tokens/gear.ts | 8 +++++++- src/tokens/token.ts | 4 ++++ 4 files changed, 20 insertions(+), 1 deletion(-) diff --git a/src/oracles/priceFeeds.ts b/src/oracles/priceFeeds.ts index d9fa402..880fb3e 100755 --- a/src/oracles/priceFeeds.ts +++ b/src/oracles/priceFeeds.ts @@ -3172,6 +3172,14 @@ export const priceFeedsByToken: Record< }, }, }, + dwstETHV3: { + Mainnet: { + Main: { + type: PriceFeedType.ZERO_ORACLE, + trusted: false, + }, + }, + }, sdUSDCV3: { Mainnet: { diff --git a/src/tokens/decimals.ts b/src/tokens/decimals.ts index dafdeb9..879dded 100755 --- a/src/tokens/decimals.ts +++ b/src/tokens/decimals.ts @@ -173,6 +173,7 @@ export const decimals: Record = { dDOLAV3: 18, dtBTCV3: 18, + dwstETHV3: 18, dUSDC_eV3: 6, sdUSDC_eV3: 6, diff --git a/src/tokens/gear.ts b/src/tokens/gear.ts index 4b4a94f..8a80d5a 100644 --- a/src/tokens/gear.ts +++ b/src/tokens/gear.ts @@ -10,7 +10,8 @@ export type DieselSimpleTokenTypes = | "dwstETH" | "dFRAX" | "dDOLAV3" - | "dtBTCV3"; + | "dtBTCV3" + | "dwstETHV3"; export type DieselTokenWithStkTypes = | "dUSDCV3" @@ -112,6 +113,11 @@ const dieselSimpleTokens: Record< symbol: "dtBTCV3", type: { AllNetworks: TokenType.DIESEL_LP_TOKEN }, }, + dwstETHV3: { + name: "dwstETHV3", + symbol: "dwstETHV3", + type: { AllNetworks: TokenType.DIESEL_LP_TOKEN }, + }, }; const dieselWithStkTokens: Record< diff --git a/src/tokens/token.ts b/src/tokens/token.ts index abb24fd..e1980ef 100755 --- a/src/tokens/token.ts +++ b/src/tokens/token.ts @@ -421,6 +421,7 @@ export const tokenDataByNetwork: Record< dDOLAV3: "0x31426271449F60d37Cc5C9AEf7bD12aF3BdC7A94", dtBTCV3: "0x7354EC6E852108411e681D13E11185c3a2567981", + dwstETHV3: "0xCad5edc9360825C4Ec36660dC1a6E61c74696c7B", dUSDC_eV3: NOT_DEPLOYED, sdUSDC_eV3: NOT_DEPLOYED, @@ -733,6 +734,7 @@ export const tokenDataByNetwork: Record< dDOLAV3: NOT_DEPLOYED, dtBTCV3: NOT_DEPLOYED, + dwstETHV3: NOT_DEPLOYED, dUSDC_eV3: "0xa76c604145D7394DEc36C49Af494C144Ff327861", sdUSDC_eV3: "0x608F9e2E8933Ce6b39A8CddBc34a1e3E8D21cE75", @@ -1041,6 +1043,7 @@ export const tokenDataByNetwork: Record< sdcrvUSDV3: NOT_DEPLOYED, dDOLAV3: NOT_DEPLOYED, + dwstETHV3: NOT_DEPLOYED, dtBTCV3: NOT_DEPLOYED, @@ -1351,6 +1354,7 @@ export const tokenDataByNetwork: Record< sdcrvUSDV3: NOT_DEPLOYED, dDOLAV3: NOT_DEPLOYED, + dwstETHV3: NOT_DEPLOYED, dtBTCV3: NOT_DEPLOYED, From 7b666f2d74124cc825cd5fca3f8904e68ad38d59 Mon Sep 17 00:00:00 2001 From: Arkhip Vouba <80775286+57Ark@users.noreply.github.com> Date: Tue, 21 Jan 2025 22:33:16 +0100 Subject: [PATCH 14/23] feat: add beraSTONE --- contracts/AdapterData.sol | 3 + contracts/ContractType.sol | 1 + contracts/PriceFeedDataLive.sol | 21 +++++-- contracts/SupportedContracts.sol | 7 +++ contracts/Tokens.sol | 96 ++++++++++++++++---------------- contracts/TokensData.sol | 41 +++++++++++--- src/contracts/contracts.ts | 13 ++++- src/oracles/priceFeeds.ts | 13 +++++ src/tokens/decimals.ts | 1 + src/tokens/erc4626.ts | 10 +++- src/tokens/token.ts | 16 +++++- 11 files changed, 158 insertions(+), 64 deletions(-) diff --git a/contracts/AdapterData.sol b/contracts/AdapterData.sol index 72a8603..4f69a6b 100644 --- a/contracts/AdapterData.sol +++ b/contracts/AdapterData.sol @@ -122,6 +122,9 @@ contract AdapterData { simpleAdapters.push( SimpleAdapter({targetContract: Contracts.SAVINGS_CRVUSD_VAULT, adapterType: AdapterType.ERC4626_VAULT}) ); + simpleAdapters.push( + SimpleAdapter({targetContract: Contracts.BERACHAIN_STONE_VAULT, adapterType: AdapterType.ERC4626_VAULT}) + ); simpleAdapters.push( SimpleAdapter({targetContract: Contracts.CONVEX_BOOSTER, adapterType: AdapterType.CONVEX_V1_BOOSTER}) ); diff --git a/contracts/ContractType.sol b/contracts/ContractType.sol index 58c3996..4d163eb 100644 --- a/contracts/ContractType.sol +++ b/contracts/ContractType.sol @@ -75,6 +75,7 @@ enum Contracts { STAKED_USDE_VAULT, STAKED_USDS_VAULT, SAVINGS_CRVUSD_VAULT, + BERACHAIN_STONE_VAULT, CONVEX_BOOSTER, CONVEX_3CRV_POOL, CONVEX_FRAX_USDC_POOL, diff --git a/contracts/PriceFeedDataLive.sol b/contracts/PriceFeedDataLive.sol index 30671f5..5695193 100644 --- a/contracts/PriceFeedDataLive.sol +++ b/contracts/PriceFeedDataLive.sol @@ -6587,6 +6587,14 @@ contract PriceFeedDataLive { // ------------------------ dDOLAV3 ------------------------ zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_dDOLAV3, trusted: false, reserve: false})); + // ------------------------ dtBTCV3 ------------------------ + zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_dtBTCV3, trusted: false, reserve: false})); + + // ------------------------ dwstETHV3 ------------------------ + zeroPriceFeedsByNetwork[1].push( + SingeTokenPriceFeedData({token: TOKEN_dwstETHV3, trusted: false, reserve: false}) + ); + // ------------------------ sdUSDCV3 ------------------------ zeroPriceFeedsByNetwork[1].push( SingeTokenPriceFeedData({token: TOKEN_sdUSDCV3, trusted: false, reserve: false}) @@ -6673,11 +6681,6 @@ contract PriceFeedDataLive { SingeTokenPriceFeedData({token: TOKEN_sdcrvUSDV3, trusted: false, reserve: false}) ); - // ------------------------ sdDOLAV3 ------------------------ - zeroPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: TOKEN_sdDOLAV3, trusted: false, reserve: false}) - ); - // ------------------------ GEAR ------------------------ zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_GEAR, trusted: false, reserve: false})); zeroPriceFeedsByNetwork[42161].push( @@ -7184,6 +7187,14 @@ contract PriceFeedDataLive { GenericLPPriceFeedData({lpToken: TOKEN_scrvUSD, underlying: TOKEN_crvUSD, trusted: false, reserve: true}) ); + // ------------------------ beraSTONE ------------------------ + erc4626PriceFeedsByNetwork[1].push( + GenericLPPriceFeedData({lpToken: TOKEN_beraSTONE, underlying: TOKEN_WETH, trusted: false, reserve: false}) + ); + erc4626PriceFeedsByNetwork[1].push( + GenericLPPriceFeedData({lpToken: TOKEN_beraSTONE, underlying: TOKEN_WETH, trusted: false, reserve: true}) + ); + // ------------------------ auraB_rETH_STABLE ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ diff --git a/contracts/SupportedContracts.sol b/contracts/SupportedContracts.sol index 5fdaf2d..0341dec 100644 --- a/contracts/SupportedContracts.sol +++ b/contracts/SupportedContracts.sol @@ -435,6 +435,13 @@ contract SupportedContracts is Test, ISupportedContracts { name: "SAVINGS_CRVUSD_VAULT" }) ); + contractDataByNetwork[1].push( + ContractData({ + id: Contracts.BERACHAIN_STONE_VAULT, + addr: 0x97Ad75064b20fb2B2447feD4fa953bF7F007a706, + name: "BERACHAIN_STONE_VAULT" + }) + ); contractDataByNetwork[1].push( ContractData({ id: Contracts.CONVEX_BOOSTER, diff --git a/contracts/Tokens.sol b/contracts/Tokens.sol index 77034d5..01105f4 100644 --- a/contracts/Tokens.sol +++ b/contracts/Tokens.sol @@ -216,53 +216,55 @@ uint256 constant TOKEN_YieldETH = 208; uint256 constant TOKEN_sUSDe = 209; uint256 constant TOKEN_sUSDS = 210; uint256 constant TOKEN_scrvUSD = 211; -uint256 constant TOKEN_auraB_rETH_STABLE = 212; -uint256 constant TOKEN_auraosETH_wETH_BPT = 213; -uint256 constant TOKEN_auraweETH_rETH = 214; -uint256 constant TOKEN_auraBPT_rETH_ETH = 215; -uint256 constant TOKEN_auraBPT_WSTETH_ETH = 216; -uint256 constant TOKEN_aurawstETH_WETH_BPT = 217; -uint256 constant TOKEN_aurawstETH_rETH_sfrxETH = 218; -uint256 constant TOKEN_auracbETH_rETH_wstETH = 219; -uint256 constant TOKEN_aurarETH_wETH_BPT = 220; -uint256 constant TOKEN_auraB_rETH_STABLE_vault = 221; -uint256 constant TOKEN_auraosETH_wETH_BPT_vault = 222; -uint256 constant TOKEN_auraweETH_rETH_vault = 223; -uint256 constant TOKEN_auraBPT_rETH_ETH_vault = 224; -uint256 constant TOKEN_auraBPT_WSTETH_ETH_vault = 225; -uint256 constant TOKEN_aurawstETH_WETH_BPT_vault = 226; -uint256 constant TOKEN_aurawstETH_rETH_sfrxETH_vault = 227; -uint256 constant TOKEN_auracbETH_rETH_wstETH_vault = 228; -uint256 constant TOKEN_aurarETH_wETH_BPT_vault = 229; -uint256 constant TOKEN_zpufETH = 230; -uint256 constant TOKEN_stkUSDS = 231; -uint256 constant TOKEN_dDAI = 232; -uint256 constant TOKEN_dUSDC = 233; -uint256 constant TOKEN_dWBTC = 234; -uint256 constant TOKEN_dWETH = 235; -uint256 constant TOKEN_dwstETH = 236; -uint256 constant TOKEN_dFRAX = 237; -uint256 constant TOKEN_dUSDCV3 = 238; -uint256 constant TOKEN_dUSDC_eV3 = 239; -uint256 constant TOKEN_dWBTCV3 = 240; -uint256 constant TOKEN_dWETHV3 = 241; -uint256 constant TOKEN_dUSDTV3 = 242; -uint256 constant TOKEN_dGHOV3 = 243; -uint256 constant TOKEN_dDAIV3 = 244; -uint256 constant TOKEN_dcrvUSDV3 = 245; -uint256 constant TOKEN_dDOLAV3 = 246; -uint256 constant TOKEN_sdUSDCV3 = 247; -uint256 constant TOKEN_sdUSDC_eV3 = 248; -uint256 constant TOKEN_sdWBTCV3 = 249; -uint256 constant TOKEN_sdWETHV3 = 250; -uint256 constant TOKEN_sdWETHV3_OLD = 251; -uint256 constant TOKEN_sdUSDTV3 = 252; -uint256 constant TOKEN_sdGHOV3 = 253; -uint256 constant TOKEN_sdDAIV3 = 254; -uint256 constant TOKEN_sdcrvUSDV3 = 255; -uint256 constant TOKEN_sdDOLAV3 = 256; -uint256 constant TOKEN_GEAR = 257; -uint256 constant NUM_TOKENS = 258; +uint256 constant TOKEN_beraSTONE = 212; +uint256 constant TOKEN_auraB_rETH_STABLE = 213; +uint256 constant TOKEN_auraosETH_wETH_BPT = 214; +uint256 constant TOKEN_auraweETH_rETH = 215; +uint256 constant TOKEN_auraBPT_rETH_ETH = 216; +uint256 constant TOKEN_auraBPT_WSTETH_ETH = 217; +uint256 constant TOKEN_aurawstETH_WETH_BPT = 218; +uint256 constant TOKEN_aurawstETH_rETH_sfrxETH = 219; +uint256 constant TOKEN_auracbETH_rETH_wstETH = 220; +uint256 constant TOKEN_aurarETH_wETH_BPT = 221; +uint256 constant TOKEN_auraB_rETH_STABLE_vault = 222; +uint256 constant TOKEN_auraosETH_wETH_BPT_vault = 223; +uint256 constant TOKEN_auraweETH_rETH_vault = 224; +uint256 constant TOKEN_auraBPT_rETH_ETH_vault = 225; +uint256 constant TOKEN_auraBPT_WSTETH_ETH_vault = 226; +uint256 constant TOKEN_aurawstETH_WETH_BPT_vault = 227; +uint256 constant TOKEN_aurawstETH_rETH_sfrxETH_vault = 228; +uint256 constant TOKEN_auracbETH_rETH_wstETH_vault = 229; +uint256 constant TOKEN_aurarETH_wETH_BPT_vault = 230; +uint256 constant TOKEN_zpufETH = 231; +uint256 constant TOKEN_stkUSDS = 232; +uint256 constant TOKEN_dDAI = 233; +uint256 constant TOKEN_dUSDC = 234; +uint256 constant TOKEN_dWBTC = 235; +uint256 constant TOKEN_dWETH = 236; +uint256 constant TOKEN_dwstETH = 237; +uint256 constant TOKEN_dFRAX = 238; +uint256 constant TOKEN_dDOLAV3 = 239; +uint256 constant TOKEN_dtBTCV3 = 240; +uint256 constant TOKEN_dwstETHV3 = 241; +uint256 constant TOKEN_dUSDCV3 = 242; +uint256 constant TOKEN_dUSDC_eV3 = 243; +uint256 constant TOKEN_dWBTCV3 = 244; +uint256 constant TOKEN_dWETHV3 = 245; +uint256 constant TOKEN_dUSDTV3 = 246; +uint256 constant TOKEN_dGHOV3 = 247; +uint256 constant TOKEN_dDAIV3 = 248; +uint256 constant TOKEN_dcrvUSDV3 = 249; +uint256 constant TOKEN_sdUSDCV3 = 250; +uint256 constant TOKEN_sdUSDC_eV3 = 251; +uint256 constant TOKEN_sdWBTCV3 = 252; +uint256 constant TOKEN_sdWETHV3 = 253; +uint256 constant TOKEN_sdWETHV3_OLD = 254; +uint256 constant TOKEN_sdUSDTV3 = 255; +uint256 constant TOKEN_sdGHOV3 = 256; +uint256 constant TOKEN_sdDAIV3 = 257; +uint256 constant TOKEN_sdcrvUSDV3 = 258; +uint256 constant TOKEN_GEAR = 259; +uint256 constant NUM_TOKENS = 260; enum TokenType { NO_TOKEN, diff --git a/contracts/TokensData.sol b/contracts/TokensData.sol index b8ec526..2c2b23b 100644 --- a/contracts/TokensData.sol +++ b/contracts/TokensData.sol @@ -1453,6 +1453,14 @@ contract TokensDataLive { tokenType: TokenType.ERC4626_VAULT_TOKEN }) ); + tokenDataByNetwork[1].push( + TokenData({ + id: TOKEN_beraSTONE, + addr: 0x97Ad75064b20fb2B2447feD4fa953bF7F007a706, + symbol: "beraSTONE", + tokenType: TokenType.ERC4626_VAULT_TOKEN + }) + ); tokenDataByNetwork[1].push( TokenData({ id: TOKEN_auraB_rETH_STABLE, @@ -1567,6 +1575,30 @@ contract TokensDataLive { tokenType: TokenType.DIESEL_LP_TOKEN }) ); + tokenDataByNetwork[1].push( + TokenData({ + id: TOKEN_dDOLAV3, + addr: 0x31426271449F60d37Cc5C9AEf7bD12aF3BdC7A94, + symbol: "dDOLAV3", + tokenType: TokenType.DIESEL_LP_TOKEN + }) + ); + tokenDataByNetwork[1].push( + TokenData({ + id: TOKEN_dtBTCV3, + addr: 0x7354EC6E852108411e681D13E11185c3a2567981, + symbol: "dtBTCV3", + tokenType: TokenType.DIESEL_LP_TOKEN + }) + ); + tokenDataByNetwork[1].push( + TokenData({ + id: TOKEN_dwstETHV3, + addr: 0xCad5edc9360825C4Ec36660dC1a6E61c74696c7B, + symbol: "dwstETHV3", + tokenType: TokenType.DIESEL_LP_TOKEN + }) + ); tokenDataByNetwork[1].push( TokenData({ id: TOKEN_dUSDCV3, @@ -1624,14 +1656,6 @@ contract TokensDataLive { tokenType: TokenType.DIESEL_LP_TOKEN }) ); - tokenDataByNetwork[1].push( - TokenData({ - id: TOKEN_dDOLAV3, - addr: 0x31426271449F60d37Cc5C9AEf7bD12aF3BdC7A94, - symbol: "dDOLAV3", - tokenType: TokenType.DIESEL_LP_TOKEN - }) - ); tokenDataByNetwork[1].push( TokenData({ id: TOKEN_sdUSDCV3, @@ -1690,7 +1714,6 @@ contract TokensDataLive { tokenType: TokenType.DIESEL_LP_TOKEN }) ); - tokenDataByNetwork[1].push( TokenData({ id: TOKEN_GEAR, diff --git a/src/contracts/contracts.ts b/src/contracts/contracts.ts index 6d9fca4..b19a8e6 100755 --- a/src/contracts/contracts.ts +++ b/src/contracts/contracts.ts @@ -88,7 +88,8 @@ export type ERC4626VaultContract = | "YIELD_ETH_VAULT" | "STAKED_USDE_VAULT" | "STAKED_USDS_VAULT" - | "SAVINGS_CRVUSD_VAULT"; + | "SAVINGS_CRVUSD_VAULT" + | "BERACHAIN_STONE_VAULT"; export type ConvexPoolContract = | "CONVEX_3CRV_POOL" @@ -260,6 +261,7 @@ export const contractsByNetwork: Record< STAKED_USDE_VAULT: tokenDataByNetwork.Mainnet.sUSDe, STAKED_USDS_VAULT: tokenDataByNetwork.Mainnet.sUSDS, SAVINGS_CRVUSD_VAULT: tokenDataByNetwork.Mainnet.scrvUSD, + BERACHAIN_STONE_VAULT: tokenDataByNetwork.Mainnet.beraSTONE, // CONVEX CONVEX_BOOSTER: "0xF403C135812408BFbE8713b5A23a04b3D48AAE31", @@ -432,6 +434,7 @@ export const contractsByNetwork: Record< STAKED_USDE_VAULT: tokenDataByNetwork.Arbitrum.sUSDe, STAKED_USDS_VAULT: tokenDataByNetwork.Arbitrum.sUSDS, SAVINGS_CRVUSD_VAULT: tokenDataByNetwork.Arbitrum.scrvUSD, + BERACHAIN_STONE_VAULT: tokenDataByNetwork.Arbitrum.beraSTONE, // CONVEX CONVEX_BOOSTER: NOT_DEPLOYED, @@ -602,6 +605,7 @@ export const contractsByNetwork: Record< STAKED_USDE_VAULT: tokenDataByNetwork.Optimism.sUSDe, STAKED_USDS_VAULT: tokenDataByNetwork.Optimism.sUSDS, SAVINGS_CRVUSD_VAULT: tokenDataByNetwork.Optimism.scrvUSD, + BERACHAIN_STONE_VAULT: tokenDataByNetwork.Optimism.beraSTONE, // CONVEX CONVEX_BOOSTER: NOT_DEPLOYED, @@ -772,6 +776,7 @@ export const contractsByNetwork: Record< STAKED_USDE_VAULT: tokenDataByNetwork.Base.sUSDe, STAKED_USDS_VAULT: tokenDataByNetwork.Base.sUSDS, SAVINGS_CRVUSD_VAULT: tokenDataByNetwork.Base.scrvUSD, + BERACHAIN_STONE_VAULT: tokenDataByNetwork.Base.beraSTONE, // CONVEX CONVEX_BOOSTER: NOT_DEPLOYED, @@ -1669,6 +1674,12 @@ export const contractParams: Record = { type: AdapterInterface.ERC4626_VAULT, underlying: "crvUSD", }, + BERACHAIN_STONE_VAULT: { + name: "Berachain STONE Vault", + protocol: Protocols.Curve, + type: AdapterInterface.ERC4626_VAULT, + underlying: "WETH", + }, CONVEX_BOOSTER: { name: "Convex BOOSTER", protocol: Protocols.Convex, diff --git a/src/oracles/priceFeeds.ts b/src/oracles/priceFeeds.ts index 880fb3e..835ce06 100755 --- a/src/oracles/priceFeeds.ts +++ b/src/oracles/priceFeeds.ts @@ -3631,6 +3631,19 @@ export const priceFeedsByToken: Record< }, }, }, + beraSTONE: { + Mainnet: { + Main: { + type: PriceFeedType.ERC4626_VAULT_ORACLE, + underlying: "WETH", + trusted: false, + }, + Reserve: { + type: PriceFeedType.ERC4626_VAULT_ORACLE, + underlying: "WETH", + }, + }, + }, // AURA auraB_rETH_STABLE: { diff --git a/src/tokens/decimals.ts b/src/tokens/decimals.ts index 879dded..b4217f1 100755 --- a/src/tokens/decimals.ts +++ b/src/tokens/decimals.ts @@ -258,6 +258,7 @@ export const decimals: Record = { sUSDS: 18, YieldETH: 18, scrvUSD: 18, + beraSTONE: 18, rETH: 18, rETH_f: 18, stkUSDS: 18, diff --git a/src/tokens/erc4626.ts b/src/tokens/erc4626.ts index 0bbbe1b..f3fc637 100644 --- a/src/tokens/erc4626.ts +++ b/src/tokens/erc4626.ts @@ -10,7 +10,8 @@ export type ERC4626LPToken = | "YieldETH" | "sUSDe" | "sUSDS" - | "scrvUSD"; + | "scrvUSD" + | "beraSTONE"; export type ERC4626VaultTokenData = { symbol: ERC4626LPToken; @@ -69,6 +70,13 @@ export const erc4626Tokens: Record< underlying: "crvUSD", vault: "SAVINGS_CRVUSD_VAULT", }, + beraSTONE: { + name: "Berachain STONE", + symbol: "beraSTONE", + type: { AllNetworks: TokenType.ERC4626_VAULT_TOKEN }, + underlying: "WETH", + vault: "BERACHAIN_STONE_VAULT", + }, }; export const isERC4626LPToken = (t: unknown): t is ERC4626LPToken => diff --git a/src/tokens/token.ts b/src/tokens/token.ts index e1980ef..d5c4508 100755 --- a/src/tokens/token.ts +++ b/src/tokens/token.ts @@ -434,6 +434,7 @@ export const tokenDataByNetwork: Record< sUSDe: "0x9D39A5DE30e57443BfF2A8307A4256c8797A3497", sUSDS: "0xa3931d71877C0E7a3148CB7Eb4463524FEc27fbD", scrvUSD: "0x0655977FEb2f289A4aB78af67BAB0d17aAb84367", + beraSTONE: "0x97Ad75064b20fb2B2447feD4fa953bF7F007a706", // AAVE aUSDC: "0xBcca60bB61934080951369a648Fb03DF4F96263C", @@ -764,6 +765,7 @@ export const tokenDataByNetwork: Record< sUSDe: NOT_DEPLOYED, sUSDS: NOT_DEPLOYED, scrvUSD: NOT_DEPLOYED, + beraSTONE: NOT_DEPLOYED, // ZIRCUIT zpufETH: NOT_DEPLOYED, @@ -1075,6 +1077,7 @@ export const tokenDataByNetwork: Record< sUSDe: NOT_DEPLOYED, sUSDS: NOT_DEPLOYED, scrvUSD: NOT_DEPLOYED, + beraSTONE: NOT_DEPLOYED, // ZIRCUIT zpufETH: NOT_DEPLOYED, @@ -1386,6 +1389,7 @@ export const tokenDataByNetwork: Record< sUSDe: NOT_DEPLOYED, sUSDS: NOT_DEPLOYED, scrvUSD: NOT_DEPLOYED, + beraSTONE: NOT_DEPLOYED, GHO: NOT_DEPLOYED, GHOUSDe: NOT_DEPLOYED, @@ -1425,7 +1429,8 @@ export type TickerToken = | "ETH" | "USDe" | "BTC" - | "PushUSDe"; + | "PushUSDe" + | "WETH"; export interface TickerInfo { symbol: TickerToken; @@ -1634,6 +1639,15 @@ export const tickerInfoTokensByNetwork: Record< reserve: true, }, ], + beraSTONE: [ + { + symbol: "WETH", + dataId: "WETH", + address: tokenDataByNetwork.Mainnet.WETH, + priceFeed: NOT_DEPLOYED, + reserve: true, + }, + ], sUSDS: [ { From 2b952f1755acd21cbe67b96a577b599c7bf1a52e Mon Sep 17 00:00:00 2001 From: Arkhip Vouba <80775286+57Ark@users.noreply.github.com> Date: Tue, 21 Jan 2025 23:10:42 +0100 Subject: [PATCH 15/23] fix: beraSTONE --- contracts/SupportedContracts.sol | 2 +- src/contracts/contracts.ts | 13 +++++++------ src/contracts/protocols.ts | 1 + 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/contracts/SupportedContracts.sol b/contracts/SupportedContracts.sol index 0341dec..34916b6 100644 --- a/contracts/SupportedContracts.sol +++ b/contracts/SupportedContracts.sol @@ -438,7 +438,7 @@ contract SupportedContracts is Test, ISupportedContracts { contractDataByNetwork[1].push( ContractData({ id: Contracts.BERACHAIN_STONE_VAULT, - addr: 0x97Ad75064b20fb2B2447feD4fa953bF7F007a706, + addr: 0x8f88aE3798E8fF3D0e0DE7465A0863C9bbB577f0, name: "BERACHAIN_STONE_VAULT" }) ); diff --git a/src/contracts/contracts.ts b/src/contracts/contracts.ts index b19a8e6..06a33e4 100755 --- a/src/contracts/contracts.ts +++ b/src/contracts/contracts.ts @@ -261,7 +261,7 @@ export const contractsByNetwork: Record< STAKED_USDE_VAULT: tokenDataByNetwork.Mainnet.sUSDe, STAKED_USDS_VAULT: tokenDataByNetwork.Mainnet.sUSDS, SAVINGS_CRVUSD_VAULT: tokenDataByNetwork.Mainnet.scrvUSD, - BERACHAIN_STONE_VAULT: tokenDataByNetwork.Mainnet.beraSTONE, + BERACHAIN_STONE_VAULT: "0x8f88aE3798E8fF3D0e0DE7465A0863C9bbB577f0", // CONVEX CONVEX_BOOSTER: "0xF403C135812408BFbE8713b5A23a04b3D48AAE31", @@ -434,7 +434,7 @@ export const contractsByNetwork: Record< STAKED_USDE_VAULT: tokenDataByNetwork.Arbitrum.sUSDe, STAKED_USDS_VAULT: tokenDataByNetwork.Arbitrum.sUSDS, SAVINGS_CRVUSD_VAULT: tokenDataByNetwork.Arbitrum.scrvUSD, - BERACHAIN_STONE_VAULT: tokenDataByNetwork.Arbitrum.beraSTONE, + BERACHAIN_STONE_VAULT: NOT_DEPLOYED, // CONVEX CONVEX_BOOSTER: NOT_DEPLOYED, @@ -605,7 +605,7 @@ export const contractsByNetwork: Record< STAKED_USDE_VAULT: tokenDataByNetwork.Optimism.sUSDe, STAKED_USDS_VAULT: tokenDataByNetwork.Optimism.sUSDS, SAVINGS_CRVUSD_VAULT: tokenDataByNetwork.Optimism.scrvUSD, - BERACHAIN_STONE_VAULT: tokenDataByNetwork.Optimism.beraSTONE, + BERACHAIN_STONE_VAULT: NOT_DEPLOYED, // CONVEX CONVEX_BOOSTER: NOT_DEPLOYED, @@ -776,7 +776,7 @@ export const contractsByNetwork: Record< STAKED_USDE_VAULT: tokenDataByNetwork.Base.sUSDe, STAKED_USDS_VAULT: tokenDataByNetwork.Base.sUSDS, SAVINGS_CRVUSD_VAULT: tokenDataByNetwork.Base.scrvUSD, - BERACHAIN_STONE_VAULT: tokenDataByNetwork.Base.beraSTONE, + BERACHAIN_STONE_VAULT: NOT_DEPLOYED, // CONVEX CONVEX_BOOSTER: NOT_DEPLOYED, @@ -961,7 +961,8 @@ export type ERC4626Params = { | Protocols.Sommelier | Protocols.Ethena | Protocols.Sky - | Protocols.Curve; + | Protocols.Curve + | Protocols.Berachain; type: AdapterInterface.ERC4626_VAULT; underlying: NormalToken; } & BaseContractParams; @@ -1676,7 +1677,7 @@ export const contractParams: Record = { }, BERACHAIN_STONE_VAULT: { name: "Berachain STONE Vault", - protocol: Protocols.Curve, + protocol: Protocols.Berachain, type: AdapterInterface.ERC4626_VAULT, underlying: "WETH", }, diff --git a/src/contracts/protocols.ts b/src/contracts/protocols.ts index 716b0e6..6d36aa5 100644 --- a/src/contracts/protocols.ts +++ b/src/contracts/protocols.ts @@ -24,4 +24,5 @@ export enum Protocols { Pendle, Sky, Equalizer, + Berachain, } From 9a9099fa4bbd0e2c4a646f2fec0638d424b6fa9a Mon Sep 17 00:00:00 2001 From: Arkhip Vouba <80775286+57Ark@users.noreply.github.com> Date: Wed, 22 Jan 2025 00:10:31 +0100 Subject: [PATCH 16/23] fix: beraSTONE --- contracts/AdapterData.sol | 3 - contracts/ContractType.sol | 1 - contracts/PriceFeedDataLive.sol | 40 +++- contracts/SupportedContracts.sol | 7 - contracts/Tokens.sol | 332 +++++++++++++++---------------- contracts/TokensData.sol | 17 +- src/contracts/contracts.ts | 16 +- src/contracts/protocols.ts | 1 - src/oracles/priceFeeds.ts | 35 ++-- src/tokens/erc4626.ts | 10 +- src/tokens/normal.ts | 6 + src/tokens/token.ts | 22 +- 12 files changed, 249 insertions(+), 241 deletions(-) diff --git a/contracts/AdapterData.sol b/contracts/AdapterData.sol index 4f69a6b..72a8603 100644 --- a/contracts/AdapterData.sol +++ b/contracts/AdapterData.sol @@ -122,9 +122,6 @@ contract AdapterData { simpleAdapters.push( SimpleAdapter({targetContract: Contracts.SAVINGS_CRVUSD_VAULT, adapterType: AdapterType.ERC4626_VAULT}) ); - simpleAdapters.push( - SimpleAdapter({targetContract: Contracts.BERACHAIN_STONE_VAULT, adapterType: AdapterType.ERC4626_VAULT}) - ); simpleAdapters.push( SimpleAdapter({targetContract: Contracts.CONVEX_BOOSTER, adapterType: AdapterType.CONVEX_V1_BOOSTER}) ); diff --git a/contracts/ContractType.sol b/contracts/ContractType.sol index 4d163eb..58c3996 100644 --- a/contracts/ContractType.sol +++ b/contracts/ContractType.sol @@ -75,7 +75,6 @@ enum Contracts { STAKED_USDE_VAULT, STAKED_USDS_VAULT, SAVINGS_CRVUSD_VAULT, - BERACHAIN_STONE_VAULT, CONVEX_BOOSTER, CONVEX_3CRV_POOL, CONVEX_FRAX_USDC_POOL, diff --git a/contracts/PriceFeedDataLive.sol b/contracts/PriceFeedDataLive.sol index 5695193..69fcef4 100644 --- a/contracts/PriceFeedDataLive.sol +++ b/contracts/PriceFeedDataLive.sol @@ -2582,6 +2582,38 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[10].push(SingeTokenPriceFeedData({token: TOKEN_SKY, trusted: false, reserve: false})); zeroPriceFeedsByNetwork[8453].push(SingeTokenPriceFeedData({token: TOKEN_SKY, trusted: false, reserve: false})); + // ------------------------ beraSTONE ------------------------ + + { + CompositePriceFeedData storage cpf = compositePriceFeedsByNetwork[1].push(); + cpf.token = TOKEN_beraSTONE; + cpf.isTargetRedstone = true; + cpf.redstoneTargetToBaseData = RedStonePriceFeedDataShort({ + dataServiceId: "redstone-primary-prod", + dataFeedId: "beraSTONE_FUNDAMENTAL", + signers: [ + 0x8BB8F32Df04c8b654987DAaeD53D6B6091e3B774, + 0xdEB22f54738d54976C4c0fe5ce6d408E40d88499, + 0x51Ce04Be4b3E32572C4Ec9135221d0691Ba7d202, + 0xDD682daEC5A90dD295d14DA4b0bec9281017b5bE, + 0x9c5AE89C4Af6aA32cE58588DBaF90d18a855B6de, + address(0), + address(0), + address(0), + address(0), + address(0) + ], + signersThreshold: 5 + }); + cpf.targetStalenessPeriod = 240; + cpf.isBaseComposite = false; + cpf.baseToUSDFeed = 0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419; + cpf.baseStalenessPeriod = 4500; + + cpf.trusted = true; + cpf.reserve = false; + } + // ------------------------ GHO ------------------------ boundedPriceFeedsByNetwork[1].push( BoundedPriceFeedData({ @@ -7187,14 +7219,6 @@ contract PriceFeedDataLive { GenericLPPriceFeedData({lpToken: TOKEN_scrvUSD, underlying: TOKEN_crvUSD, trusted: false, reserve: true}) ); - // ------------------------ beraSTONE ------------------------ - erc4626PriceFeedsByNetwork[1].push( - GenericLPPriceFeedData({lpToken: TOKEN_beraSTONE, underlying: TOKEN_WETH, trusted: false, reserve: false}) - ); - erc4626PriceFeedsByNetwork[1].push( - GenericLPPriceFeedData({lpToken: TOKEN_beraSTONE, underlying: TOKEN_WETH, trusted: false, reserve: true}) - ); - // ------------------------ auraB_rETH_STABLE ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ diff --git a/contracts/SupportedContracts.sol b/contracts/SupportedContracts.sol index 34916b6..5fdaf2d 100644 --- a/contracts/SupportedContracts.sol +++ b/contracts/SupportedContracts.sol @@ -435,13 +435,6 @@ contract SupportedContracts is Test, ISupportedContracts { name: "SAVINGS_CRVUSD_VAULT" }) ); - contractDataByNetwork[1].push( - ContractData({ - id: Contracts.BERACHAIN_STONE_VAULT, - addr: 0x8f88aE3798E8fF3D0e0DE7465A0863C9bbB577f0, - name: "BERACHAIN_STONE_VAULT" - }) - ); contractDataByNetwork[1].push( ContractData({ id: Contracts.CONVEX_BOOSTER, diff --git a/contracts/Tokens.sol b/contracts/Tokens.sol index 01105f4..b81cdb8 100644 --- a/contracts/Tokens.sol +++ b/contracts/Tokens.sol @@ -51,172 +51,172 @@ uint256 constant TOKEN_weETH = 43; uint256 constant TOKEN_SWISE = 44; uint256 constant TOKEN_ezETH = 45; uint256 constant TOKEN_rsETH = 46; -uint256 constant TOKEN_frxETH = 47; -uint256 constant TOKEN_PENDLE = 48; -uint256 constant TOKEN_cbETH = 49; -uint256 constant TOKEN_rswETH = 50; -uint256 constant TOKEN_USDe = 51; -uint256 constant TOKEN_GHO = 52; -uint256 constant TOKEN_pufETH = 53; -uint256 constant TOKEN_wstETH = 54; -uint256 constant TOKEN_steakLRT = 55; -uint256 constant TOKEN_Re7LRT = 56; -uint256 constant TOKEN_amphrETH = 57; -uint256 constant TOKEN_rstETH = 58; -uint256 constant TOKEN_pzETH = 59; -uint256 constant TOKEN_DVstETH = 60; -uint256 constant TOKEN_PT_rsETH_26SEP2024 = 61; -uint256 constant TOKEN_USDS = 62; -uint256 constant TOKEN_SKY = 63; -uint256 constant TOKEN_PT_sUSDe_26DEC2024 = 64; -uint256 constant TOKEN_PT_eETH_26DEC2024 = 65; -uint256 constant TOKEN_PT_ezETH_26DEC2024 = 66; -uint256 constant TOKEN_PT_eBTC_26DEC2024 = 67; -uint256 constant TOKEN_PT_LBTC_27MAR2025 = 68; -uint256 constant TOKEN_PT_corn_solvBTC_BBN_26DEC2024 = 69; -uint256 constant TOKEN_PT_corn_pumpBTC_26DEC2024 = 70; -uint256 constant TOKEN_PT_cornLBTC_26DEC2024 = 71; -uint256 constant TOKEN_PT_corn_eBTC_27MAR2025 = 72; -uint256 constant TOKEN_PT_sUSDe_27MAR2025 = 73; -uint256 constant TOKEN_sfrxETH = 74; -uint256 constant TOKEN__3Crv = 75; -uint256 constant TOKEN_crvFRAX = 76; -uint256 constant TOKEN_steCRV = 77; -uint256 constant TOKEN_crvPlain3andSUSD = 78; -uint256 constant TOKEN_crvCRVETH = 79; -uint256 constant TOKEN_crvCVXETH = 80; -uint256 constant TOKEN_crvUSDTWBTCWETH = 81; -uint256 constant TOKEN_LDOETH = 82; -uint256 constant TOKEN_crvUSDUSDC = 83; -uint256 constant TOKEN_crvUSDUSDT = 84; -uint256 constant TOKEN_crvUsUSDe = 85; -uint256 constant TOKEN_llamathena = 86; -uint256 constant TOKEN_crvUSDFRAX = 87; -uint256 constant TOKEN_crvUSDETHCRV = 88; -uint256 constant TOKEN_rETH_f = 89; -uint256 constant TOKEN_DOLAFRAXBP3CRV_f = 90; -uint256 constant TOKEN_crvUSDDOLA_f = 91; -uint256 constant TOKEN_USDeUSDC = 92; -uint256 constant TOKEN_FRAXUSDe = 93; -uint256 constant TOKEN_USDecrvUSD = 94; -uint256 constant TOKEN_FRAXsDAI = 95; -uint256 constant TOKEN_DOLAsUSDe = 96; -uint256 constant TOKEN_USDeDAI = 97; -uint256 constant TOKEN_MtEthena = 98; -uint256 constant TOKEN_GHOUSDe = 99; -uint256 constant TOKEN_pufETHwstE = 100; -uint256 constant TOKEN_GHOcrvUSD = 101; -uint256 constant TOKEN_wstETHCRV = 102; -uint256 constant TOKEN__2CRV = 103; -uint256 constant TOKEN__3c_crvUSD = 104; -uint256 constant TOKEN_crvUSDC = 105; -uint256 constant TOKEN_crvUSDT = 106; -uint256 constant TOKEN_crvUSDC_e = 107; -uint256 constant TOKEN_USDEUSDC = 108; -uint256 constant TOKEN__3CRV = 109; -uint256 constant TOKEN_ezETHWETH = 110; -uint256 constant TOKEN_ezpzETH = 111; -uint256 constant TOKEN_LBTCWBTC = 112; -uint256 constant TOKEN_eBTCWBTC = 113; -uint256 constant TOKEN_pumpBTCWBTC = 114; -uint256 constant TOKEN_TriBTC = 115; -uint256 constant TOKEN__2BTC_f = 116; -uint256 constant TOKEN_FRAX3CRV = 117; -uint256 constant TOKEN_LUSD3CRV = 118; -uint256 constant TOKEN_gusd3CRV = 119; -uint256 constant TOKEN_cvx3Crv = 120; -uint256 constant TOKEN_cvxcrvFRAX = 121; -uint256 constant TOKEN_cvxsteCRV = 122; -uint256 constant TOKEN_cvxFRAX3CRV = 123; -uint256 constant TOKEN_cvxLUSD3CRV = 124; -uint256 constant TOKEN_cvxcrvPlain3andSUSD = 125; -uint256 constant TOKEN_cvxgusd3CRV = 126; -uint256 constant TOKEN_cvxcrvCRVETH = 127; -uint256 constant TOKEN_cvxcrvCVXETH = 128; -uint256 constant TOKEN_cvxcrvUSDTWBTCWETH = 129; -uint256 constant TOKEN_cvxLDOETH = 130; -uint256 constant TOKEN_cvxcrvUSDUSDC = 131; -uint256 constant TOKEN_cvxcrvUSDUSDT = 132; -uint256 constant TOKEN_cvxcrvUSDFRAX = 133; -uint256 constant TOKEN_cvxcrvUSDETHCRV = 134; -uint256 constant TOKEN_cvxGHOcrvUSD = 135; -uint256 constant TOKEN_cvxllamathena = 136; -uint256 constant TOKEN_stkcvx3Crv = 137; -uint256 constant TOKEN_stkcvxcrvFRAX = 138; -uint256 constant TOKEN_stkcvxsteCRV = 139; -uint256 constant TOKEN_stkcvxFRAX3CRV = 140; -uint256 constant TOKEN_stkcvxLUSD3CRV = 141; -uint256 constant TOKEN_stkcvxcrvPlain3andSUSD = 142; -uint256 constant TOKEN_stkcvxgusd3CRV = 143; -uint256 constant TOKEN_stkcvxcrvCRVETH = 144; -uint256 constant TOKEN_stkcvxcrvCVXETH = 145; -uint256 constant TOKEN_stkcvxcrvUSDTWBTCWETH = 146; -uint256 constant TOKEN_stkcvxLDOETH = 147; -uint256 constant TOKEN_stkcvxcrvUSDUSDC = 148; -uint256 constant TOKEN_stkcvxcrvUSDUSDT = 149; -uint256 constant TOKEN_stkcvxcrvUSDFRAX = 150; -uint256 constant TOKEN_stkcvxcrvUSDETHCRV = 151; -uint256 constant TOKEN_stkcvxGHOcrvUSD = 152; -uint256 constant TOKEN_stkcvxllamathena = 153; -uint256 constant TOKEN_cvxcrvUSDT = 154; -uint256 constant TOKEN_yvDAI = 155; -uint256 constant TOKEN_yvUSDC = 156; -uint256 constant TOKEN_yvUSDC_e = 157; -uint256 constant TOKEN_yvWETH = 158; -uint256 constant TOKEN_yvWBTC = 159; -uint256 constant TOKEN_yvUSDT = 160; -uint256 constant TOKEN_yvOP = 161; -uint256 constant TOKEN_yvCurve_stETH = 162; -uint256 constant TOKEN_yvCurve_FRAX = 163; -uint256 constant TOKEN__50WETH_50AURA = 164; -uint256 constant TOKEN_B_80BAL_20WETH = 165; -uint256 constant TOKEN_USDC_DAI_USDT = 166; -uint256 constant TOKEN_B_rETH_STABLE = 167; -uint256 constant TOKEN_weETH_rETH = 168; -uint256 constant TOKEN_osETH_wETH_BPT = 169; -uint256 constant TOKEN_ezETH_WETH_BPT = 170; -uint256 constant TOKEN_sUSDe_USDC_BPT = 171; -uint256 constant TOKEN_pumpBTC_WBTC_BPT = 172; -uint256 constant TOKEN_eBTC_WBTC_BPT = 173; -uint256 constant TOKEN_trenSTETH = 174; -uint256 constant TOKEN_DVstETH_wstETH_BPT = 175; -uint256 constant TOKEN_weETH_ezETH_rswETH = 176; -uint256 constant TOKEN_GHO_USDT_USDC = 177; -uint256 constant TOKEN_rsETH_WETH = 178; -uint256 constant TOKEN_rsETH_wETH_Arb = 179; -uint256 constant TOKEN_BPT_rETH_ETH = 180; -uint256 constant TOKEN_BPT_WSTETH_ETH = 181; -uint256 constant TOKEN_BPT_ROAD = 182; -uint256 constant TOKEN_ECLP_wstETH_WETH = 183; -uint256 constant TOKEN_wstETH_WETH_BPT = 184; -uint256 constant TOKEN_wstETH_rETH_sfrxETH = 185; -uint256 constant TOKEN_wstETH_rETH_cbETH = 186; -uint256 constant TOKEN_cbETH_rETH_wstETH = 187; -uint256 constant TOKEN_rETH_WETH_BPT_deprecated = 188; -uint256 constant TOKEN_rETH_wETH_BPT = 189; -uint256 constant TOKEN__33AURA_33ARB_33BAL = 190; -uint256 constant TOKEN_ezETH_wstETH = 191; -uint256 constant TOKEN_bpt_ethtri = 192; -uint256 constant TOKEN_aDAI = 193; -uint256 constant TOKEN_aUSDC = 194; -uint256 constant TOKEN_aUSDT = 195; -uint256 constant TOKEN_aWETH = 196; -uint256 constant TOKEN_waDAI = 197; -uint256 constant TOKEN_waUSDC = 198; -uint256 constant TOKEN_waUSDT = 199; -uint256 constant TOKEN_waWETH = 200; -uint256 constant TOKEN_cDAI = 201; -uint256 constant TOKEN_cUSDC = 202; -uint256 constant TOKEN_cUSDT = 203; -uint256 constant TOKEN_cETH = 204; -uint256 constant TOKEN_cLINK = 205; -uint256 constant TOKEN_fUSDC = 206; -uint256 constant TOKEN_sDAI = 207; -uint256 constant TOKEN_YieldETH = 208; -uint256 constant TOKEN_sUSDe = 209; -uint256 constant TOKEN_sUSDS = 210; -uint256 constant TOKEN_scrvUSD = 211; -uint256 constant TOKEN_beraSTONE = 212; +uint256 constant TOKEN_beraSTONE = 47; +uint256 constant TOKEN_frxETH = 48; +uint256 constant TOKEN_PENDLE = 49; +uint256 constant TOKEN_cbETH = 50; +uint256 constant TOKEN_rswETH = 51; +uint256 constant TOKEN_USDe = 52; +uint256 constant TOKEN_GHO = 53; +uint256 constant TOKEN_pufETH = 54; +uint256 constant TOKEN_wstETH = 55; +uint256 constant TOKEN_steakLRT = 56; +uint256 constant TOKEN_Re7LRT = 57; +uint256 constant TOKEN_amphrETH = 58; +uint256 constant TOKEN_rstETH = 59; +uint256 constant TOKEN_pzETH = 60; +uint256 constant TOKEN_DVstETH = 61; +uint256 constant TOKEN_PT_rsETH_26SEP2024 = 62; +uint256 constant TOKEN_USDS = 63; +uint256 constant TOKEN_SKY = 64; +uint256 constant TOKEN_PT_sUSDe_26DEC2024 = 65; +uint256 constant TOKEN_PT_eETH_26DEC2024 = 66; +uint256 constant TOKEN_PT_ezETH_26DEC2024 = 67; +uint256 constant TOKEN_PT_eBTC_26DEC2024 = 68; +uint256 constant TOKEN_PT_LBTC_27MAR2025 = 69; +uint256 constant TOKEN_PT_corn_solvBTC_BBN_26DEC2024 = 70; +uint256 constant TOKEN_PT_corn_pumpBTC_26DEC2024 = 71; +uint256 constant TOKEN_PT_cornLBTC_26DEC2024 = 72; +uint256 constant TOKEN_PT_corn_eBTC_27MAR2025 = 73; +uint256 constant TOKEN_PT_sUSDe_27MAR2025 = 74; +uint256 constant TOKEN_sfrxETH = 75; +uint256 constant TOKEN__3Crv = 76; +uint256 constant TOKEN_crvFRAX = 77; +uint256 constant TOKEN_steCRV = 78; +uint256 constant TOKEN_crvPlain3andSUSD = 79; +uint256 constant TOKEN_crvCRVETH = 80; +uint256 constant TOKEN_crvCVXETH = 81; +uint256 constant TOKEN_crvUSDTWBTCWETH = 82; +uint256 constant TOKEN_LDOETH = 83; +uint256 constant TOKEN_crvUSDUSDC = 84; +uint256 constant TOKEN_crvUSDUSDT = 85; +uint256 constant TOKEN_crvUsUSDe = 86; +uint256 constant TOKEN_llamathena = 87; +uint256 constant TOKEN_crvUSDFRAX = 88; +uint256 constant TOKEN_crvUSDETHCRV = 89; +uint256 constant TOKEN_rETH_f = 90; +uint256 constant TOKEN_DOLAFRAXBP3CRV_f = 91; +uint256 constant TOKEN_crvUSDDOLA_f = 92; +uint256 constant TOKEN_USDeUSDC = 93; +uint256 constant TOKEN_FRAXUSDe = 94; +uint256 constant TOKEN_USDecrvUSD = 95; +uint256 constant TOKEN_FRAXsDAI = 96; +uint256 constant TOKEN_DOLAsUSDe = 97; +uint256 constant TOKEN_USDeDAI = 98; +uint256 constant TOKEN_MtEthena = 99; +uint256 constant TOKEN_GHOUSDe = 100; +uint256 constant TOKEN_pufETHwstE = 101; +uint256 constant TOKEN_GHOcrvUSD = 102; +uint256 constant TOKEN_wstETHCRV = 103; +uint256 constant TOKEN__2CRV = 104; +uint256 constant TOKEN__3c_crvUSD = 105; +uint256 constant TOKEN_crvUSDC = 106; +uint256 constant TOKEN_crvUSDT = 107; +uint256 constant TOKEN_crvUSDC_e = 108; +uint256 constant TOKEN_USDEUSDC = 109; +uint256 constant TOKEN__3CRV = 110; +uint256 constant TOKEN_ezETHWETH = 111; +uint256 constant TOKEN_ezpzETH = 112; +uint256 constant TOKEN_LBTCWBTC = 113; +uint256 constant TOKEN_eBTCWBTC = 114; +uint256 constant TOKEN_pumpBTCWBTC = 115; +uint256 constant TOKEN_TriBTC = 116; +uint256 constant TOKEN__2BTC_f = 117; +uint256 constant TOKEN_FRAX3CRV = 118; +uint256 constant TOKEN_LUSD3CRV = 119; +uint256 constant TOKEN_gusd3CRV = 120; +uint256 constant TOKEN_cvx3Crv = 121; +uint256 constant TOKEN_cvxcrvFRAX = 122; +uint256 constant TOKEN_cvxsteCRV = 123; +uint256 constant TOKEN_cvxFRAX3CRV = 124; +uint256 constant TOKEN_cvxLUSD3CRV = 125; +uint256 constant TOKEN_cvxcrvPlain3andSUSD = 126; +uint256 constant TOKEN_cvxgusd3CRV = 127; +uint256 constant TOKEN_cvxcrvCRVETH = 128; +uint256 constant TOKEN_cvxcrvCVXETH = 129; +uint256 constant TOKEN_cvxcrvUSDTWBTCWETH = 130; +uint256 constant TOKEN_cvxLDOETH = 131; +uint256 constant TOKEN_cvxcrvUSDUSDC = 132; +uint256 constant TOKEN_cvxcrvUSDUSDT = 133; +uint256 constant TOKEN_cvxcrvUSDFRAX = 134; +uint256 constant TOKEN_cvxcrvUSDETHCRV = 135; +uint256 constant TOKEN_cvxGHOcrvUSD = 136; +uint256 constant TOKEN_cvxllamathena = 137; +uint256 constant TOKEN_stkcvx3Crv = 138; +uint256 constant TOKEN_stkcvxcrvFRAX = 139; +uint256 constant TOKEN_stkcvxsteCRV = 140; +uint256 constant TOKEN_stkcvxFRAX3CRV = 141; +uint256 constant TOKEN_stkcvxLUSD3CRV = 142; +uint256 constant TOKEN_stkcvxcrvPlain3andSUSD = 143; +uint256 constant TOKEN_stkcvxgusd3CRV = 144; +uint256 constant TOKEN_stkcvxcrvCRVETH = 145; +uint256 constant TOKEN_stkcvxcrvCVXETH = 146; +uint256 constant TOKEN_stkcvxcrvUSDTWBTCWETH = 147; +uint256 constant TOKEN_stkcvxLDOETH = 148; +uint256 constant TOKEN_stkcvxcrvUSDUSDC = 149; +uint256 constant TOKEN_stkcvxcrvUSDUSDT = 150; +uint256 constant TOKEN_stkcvxcrvUSDFRAX = 151; +uint256 constant TOKEN_stkcvxcrvUSDETHCRV = 152; +uint256 constant TOKEN_stkcvxGHOcrvUSD = 153; +uint256 constant TOKEN_stkcvxllamathena = 154; +uint256 constant TOKEN_cvxcrvUSDT = 155; +uint256 constant TOKEN_yvDAI = 156; +uint256 constant TOKEN_yvUSDC = 157; +uint256 constant TOKEN_yvUSDC_e = 158; +uint256 constant TOKEN_yvWETH = 159; +uint256 constant TOKEN_yvWBTC = 160; +uint256 constant TOKEN_yvUSDT = 161; +uint256 constant TOKEN_yvOP = 162; +uint256 constant TOKEN_yvCurve_stETH = 163; +uint256 constant TOKEN_yvCurve_FRAX = 164; +uint256 constant TOKEN__50WETH_50AURA = 165; +uint256 constant TOKEN_B_80BAL_20WETH = 166; +uint256 constant TOKEN_USDC_DAI_USDT = 167; +uint256 constant TOKEN_B_rETH_STABLE = 168; +uint256 constant TOKEN_weETH_rETH = 169; +uint256 constant TOKEN_osETH_wETH_BPT = 170; +uint256 constant TOKEN_ezETH_WETH_BPT = 171; +uint256 constant TOKEN_sUSDe_USDC_BPT = 172; +uint256 constant TOKEN_pumpBTC_WBTC_BPT = 173; +uint256 constant TOKEN_eBTC_WBTC_BPT = 174; +uint256 constant TOKEN_trenSTETH = 175; +uint256 constant TOKEN_DVstETH_wstETH_BPT = 176; +uint256 constant TOKEN_weETH_ezETH_rswETH = 177; +uint256 constant TOKEN_GHO_USDT_USDC = 178; +uint256 constant TOKEN_rsETH_WETH = 179; +uint256 constant TOKEN_rsETH_wETH_Arb = 180; +uint256 constant TOKEN_BPT_rETH_ETH = 181; +uint256 constant TOKEN_BPT_WSTETH_ETH = 182; +uint256 constant TOKEN_BPT_ROAD = 183; +uint256 constant TOKEN_ECLP_wstETH_WETH = 184; +uint256 constant TOKEN_wstETH_WETH_BPT = 185; +uint256 constant TOKEN_wstETH_rETH_sfrxETH = 186; +uint256 constant TOKEN_wstETH_rETH_cbETH = 187; +uint256 constant TOKEN_cbETH_rETH_wstETH = 188; +uint256 constant TOKEN_rETH_WETH_BPT_deprecated = 189; +uint256 constant TOKEN_rETH_wETH_BPT = 190; +uint256 constant TOKEN__33AURA_33ARB_33BAL = 191; +uint256 constant TOKEN_ezETH_wstETH = 192; +uint256 constant TOKEN_bpt_ethtri = 193; +uint256 constant TOKEN_aDAI = 194; +uint256 constant TOKEN_aUSDC = 195; +uint256 constant TOKEN_aUSDT = 196; +uint256 constant TOKEN_aWETH = 197; +uint256 constant TOKEN_waDAI = 198; +uint256 constant TOKEN_waUSDC = 199; +uint256 constant TOKEN_waUSDT = 200; +uint256 constant TOKEN_waWETH = 201; +uint256 constant TOKEN_cDAI = 202; +uint256 constant TOKEN_cUSDC = 203; +uint256 constant TOKEN_cUSDT = 204; +uint256 constant TOKEN_cETH = 205; +uint256 constant TOKEN_cLINK = 206; +uint256 constant TOKEN_fUSDC = 207; +uint256 constant TOKEN_sDAI = 208; +uint256 constant TOKEN_YieldETH = 209; +uint256 constant TOKEN_sUSDe = 210; +uint256 constant TOKEN_sUSDS = 211; +uint256 constant TOKEN_scrvUSD = 212; uint256 constant TOKEN_auraB_rETH_STABLE = 213; uint256 constant TOKEN_auraosETH_wETH_BPT = 214; uint256 constant TOKEN_auraweETH_rETH = 215; diff --git a/contracts/TokensData.sol b/contracts/TokensData.sol index 2c2b23b..3501183 100644 --- a/contracts/TokensData.sol +++ b/contracts/TokensData.sol @@ -359,6 +359,14 @@ contract TokensDataLive { tokenType: TokenType.NORMAL_TOKEN }) ); + tokenDataByNetwork[1].push( + TokenData({ + id: TOKEN_beraSTONE, + addr: 0x97Ad75064b20fb2B2447feD4fa953bF7F007a706, + symbol: "beraSTONE", + tokenType: TokenType.NORMAL_TOKEN + }) + ); tokenDataByNetwork[1].push( TokenData({ id: TOKEN_frxETH, @@ -1453,14 +1461,6 @@ contract TokensDataLive { tokenType: TokenType.ERC4626_VAULT_TOKEN }) ); - tokenDataByNetwork[1].push( - TokenData({ - id: TOKEN_beraSTONE, - addr: 0x97Ad75064b20fb2B2447feD4fa953bF7F007a706, - symbol: "beraSTONE", - tokenType: TokenType.ERC4626_VAULT_TOKEN - }) - ); tokenDataByNetwork[1].push( TokenData({ id: TOKEN_auraB_rETH_STABLE, @@ -1963,6 +1963,7 @@ contract TokensDataLive { tokenType: TokenType.NORMAL_TOKEN }) ); + tokenDataByNetwork[42161].push( TokenData({ id: TOKEN_frxETH, diff --git a/src/contracts/contracts.ts b/src/contracts/contracts.ts index 06a33e4..6d9fca4 100755 --- a/src/contracts/contracts.ts +++ b/src/contracts/contracts.ts @@ -88,8 +88,7 @@ export type ERC4626VaultContract = | "YIELD_ETH_VAULT" | "STAKED_USDE_VAULT" | "STAKED_USDS_VAULT" - | "SAVINGS_CRVUSD_VAULT" - | "BERACHAIN_STONE_VAULT"; + | "SAVINGS_CRVUSD_VAULT"; export type ConvexPoolContract = | "CONVEX_3CRV_POOL" @@ -261,7 +260,6 @@ export const contractsByNetwork: Record< STAKED_USDE_VAULT: tokenDataByNetwork.Mainnet.sUSDe, STAKED_USDS_VAULT: tokenDataByNetwork.Mainnet.sUSDS, SAVINGS_CRVUSD_VAULT: tokenDataByNetwork.Mainnet.scrvUSD, - BERACHAIN_STONE_VAULT: "0x8f88aE3798E8fF3D0e0DE7465A0863C9bbB577f0", // CONVEX CONVEX_BOOSTER: "0xF403C135812408BFbE8713b5A23a04b3D48AAE31", @@ -434,7 +432,6 @@ export const contractsByNetwork: Record< STAKED_USDE_VAULT: tokenDataByNetwork.Arbitrum.sUSDe, STAKED_USDS_VAULT: tokenDataByNetwork.Arbitrum.sUSDS, SAVINGS_CRVUSD_VAULT: tokenDataByNetwork.Arbitrum.scrvUSD, - BERACHAIN_STONE_VAULT: NOT_DEPLOYED, // CONVEX CONVEX_BOOSTER: NOT_DEPLOYED, @@ -605,7 +602,6 @@ export const contractsByNetwork: Record< STAKED_USDE_VAULT: tokenDataByNetwork.Optimism.sUSDe, STAKED_USDS_VAULT: tokenDataByNetwork.Optimism.sUSDS, SAVINGS_CRVUSD_VAULT: tokenDataByNetwork.Optimism.scrvUSD, - BERACHAIN_STONE_VAULT: NOT_DEPLOYED, // CONVEX CONVEX_BOOSTER: NOT_DEPLOYED, @@ -776,7 +772,6 @@ export const contractsByNetwork: Record< STAKED_USDE_VAULT: tokenDataByNetwork.Base.sUSDe, STAKED_USDS_VAULT: tokenDataByNetwork.Base.sUSDS, SAVINGS_CRVUSD_VAULT: tokenDataByNetwork.Base.scrvUSD, - BERACHAIN_STONE_VAULT: NOT_DEPLOYED, // CONVEX CONVEX_BOOSTER: NOT_DEPLOYED, @@ -961,8 +956,7 @@ export type ERC4626Params = { | Protocols.Sommelier | Protocols.Ethena | Protocols.Sky - | Protocols.Curve - | Protocols.Berachain; + | Protocols.Curve; type: AdapterInterface.ERC4626_VAULT; underlying: NormalToken; } & BaseContractParams; @@ -1675,12 +1669,6 @@ export const contractParams: Record = { type: AdapterInterface.ERC4626_VAULT, underlying: "crvUSD", }, - BERACHAIN_STONE_VAULT: { - name: "Berachain STONE Vault", - protocol: Protocols.Berachain, - type: AdapterInterface.ERC4626_VAULT, - underlying: "WETH", - }, CONVEX_BOOSTER: { name: "Convex BOOSTER", protocol: Protocols.Convex, diff --git a/src/contracts/protocols.ts b/src/contracts/protocols.ts index 6d36aa5..716b0e6 100644 --- a/src/contracts/protocols.ts +++ b/src/contracts/protocols.ts @@ -24,5 +24,4 @@ export enum Protocols { Pendle, Sky, Equalizer, - Berachain, } diff --git a/src/oracles/priceFeeds.ts b/src/oracles/priceFeeds.ts index 835ce06..c21c093 100755 --- a/src/oracles/priceFeeds.ts +++ b/src/oracles/priceFeeds.ts @@ -1793,6 +1793,28 @@ export const priceFeedsByToken: Record< }, }, + beraSTONE: { + Mainnet: { + Main: { + type: PriceFeedType.COMPOSITE_ORACLE, + targetToBasePriceFeed: { + type: PriceFeedType.REDSTONE_ORACLE, + dataServiceId: "redstone-primary-prod", + dataId: "beraSTONE_FUNDAMENTAL", + ...REDSTONE_SIGNERS, + stalenessPeriod: FOUR_MINUTES, + }, + + baseToUsdPriceFeed: { + type: PriceFeedType.CHAINLINK_ORACLE, + address: "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419", + stalenessPeriod: HOUR_1_BUFFERED, + }, + trusted: true, + }, + }, + }, + GHO: { Mainnet: { Main: { @@ -3631,19 +3653,6 @@ export const priceFeedsByToken: Record< }, }, }, - beraSTONE: { - Mainnet: { - Main: { - type: PriceFeedType.ERC4626_VAULT_ORACLE, - underlying: "WETH", - trusted: false, - }, - Reserve: { - type: PriceFeedType.ERC4626_VAULT_ORACLE, - underlying: "WETH", - }, - }, - }, // AURA auraB_rETH_STABLE: { diff --git a/src/tokens/erc4626.ts b/src/tokens/erc4626.ts index f3fc637..0bbbe1b 100644 --- a/src/tokens/erc4626.ts +++ b/src/tokens/erc4626.ts @@ -10,8 +10,7 @@ export type ERC4626LPToken = | "YieldETH" | "sUSDe" | "sUSDS" - | "scrvUSD" - | "beraSTONE"; + | "scrvUSD"; export type ERC4626VaultTokenData = { symbol: ERC4626LPToken; @@ -70,13 +69,6 @@ export const erc4626Tokens: Record< underlying: "crvUSD", vault: "SAVINGS_CRVUSD_VAULT", }, - beraSTONE: { - name: "Berachain STONE", - symbol: "beraSTONE", - type: { AllNetworks: TokenType.ERC4626_VAULT_TOKEN }, - underlying: "WETH", - vault: "BERACHAIN_STONE_VAULT", - }, }; export const isERC4626LPToken = (t: unknown): t is ERC4626LPToken => diff --git a/src/tokens/normal.ts b/src/tokens/normal.ts index 5d933b5..626ed06 100755 --- a/src/tokens/normal.ts +++ b/src/tokens/normal.ts @@ -59,6 +59,7 @@ export type NormalToken = | "wstETH" | "USDS" | "SKY" + | "beraSTONE" // Mellow LRTs | "steakLRT" | "Re7LRT" @@ -374,6 +375,11 @@ export const normalTokens: Record = { symbol: "rsETH", type: { AllNetworks: TokenType.NORMAL_TOKEN }, }, + beraSTONE: { + name: "Berachain STONE", + symbol: "beraSTONE", + type: { AllNetworks: TokenType.NORMAL_TOKEN }, + }, frxETH: { name: "Frax ETH", symbol: "frxETH", diff --git a/src/tokens/token.ts b/src/tokens/token.ts index d5c4508..9c6b2eb 100755 --- a/src/tokens/token.ts +++ b/src/tokens/token.ts @@ -1420,6 +1420,7 @@ export type TickerToken = | "eBTC/BTC" | "solvBTC/BTC" | "pumpBTC/BTC" + | "beraSTONE/ETH" | "crvUSD" | "USDC" | "USDT" @@ -1429,8 +1430,7 @@ export type TickerToken = | "ETH" | "USDe" | "BTC" - | "PushUSDe" - | "WETH"; + | "PushUSDe"; export interface TickerInfo { symbol: TickerToken; @@ -1534,6 +1534,15 @@ export const tickerInfoTokensByNetwork: Record< reserve: false, }, ], + beraSTONE: [ + { + symbol: "beraSTONE/ETH", + dataId: "beraSTONE_FUNDAMENTAL", + address: NOT_DEPLOYED, + priceFeed: NOT_DEPLOYED, + reserve: false, + }, + ], stkcvxcrvUSDUSDC: [ { symbol: "crvUSD", @@ -1639,15 +1648,6 @@ export const tickerInfoTokensByNetwork: Record< reserve: true, }, ], - beraSTONE: [ - { - symbol: "WETH", - dataId: "WETH", - address: tokenDataByNetwork.Mainnet.WETH, - priceFeed: NOT_DEPLOYED, - reserve: true, - }, - ], sUSDS: [ { From 79c4ad46e4a7afa8cd6fe7da771cd48b99aecda8 Mon Sep 17 00:00:00 2001 From: Arkhip Vouba <80775286+57Ark@users.noreply.github.com> Date: Wed, 22 Jan 2025 12:19:42 +0100 Subject: [PATCH 17/23] fix: update tickers --- src/tokens/token.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tokens/token.ts b/src/tokens/token.ts index 9c6b2eb..92a7292 100755 --- a/src/tokens/token.ts +++ b/src/tokens/token.ts @@ -1538,8 +1538,8 @@ export const tickerInfoTokensByNetwork: Record< { symbol: "beraSTONE/ETH", dataId: "beraSTONE_FUNDAMENTAL", - address: NOT_DEPLOYED, - priceFeed: NOT_DEPLOYED, + address: "0x692072eE081c9Ded28d2CfD27513E578d895FD0d", + priceFeed: "0xD35f2Fe7cc74e143F3f526c6e2c399fE58e31Cf1", reserve: false, }, ], From 867c31d32843672e7391787079102f8f08e1e3f5 Mon Sep 17 00:00:00 2001 From: Arkhip Vouba <80775286+57Ark@users.noreply.github.com> Date: Wed, 22 Jan 2025 12:24:11 +0100 Subject: [PATCH 18/23] fix: tmp remove mellow feeds --- contracts/PriceFeedDataLive.sol | 216 +++++++++++++++++++++++++------- src/oracles/priceFeeds.ts | 36 ++++-- 2 files changed, 192 insertions(+), 60 deletions(-) diff --git a/contracts/PriceFeedDataLive.sol b/contracts/PriceFeedDataLive.sol index 69fcef4..abce6d1 100644 --- a/contracts/PriceFeedDataLive.sol +++ b/contracts/PriceFeedDataLive.sol @@ -7932,8 +7932,13 @@ contract PriceFeedDataLive { ); // ------------------------ steakLRT ------------------------ - mellowLRTPriceFeedsByNetwork[1].push( - GenericLPPriceFeedData({lpToken: TOKEN_steakLRT, underlying: TOKEN_WETH, trusted: false, reserve: false}) + theSamePriceFeedsByNetwork[1].push( + TheSamePriceFeedData({ + token: TOKEN_steakLRT, + tokenHasSamePriceFeed: TOKEN_wstETH, + trusted: false, + reserve: false + }) ); theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ @@ -7943,8 +7948,13 @@ contract PriceFeedDataLive { reserve: true }) ); - mellowLRTPriceFeedsByNetwork[42161].push( - GenericLPPriceFeedData({lpToken: TOKEN_steakLRT, underlying: TOKEN_WETH, trusted: false, reserve: false}) + theSamePriceFeedsByNetwork[42161].push( + TheSamePriceFeedData({ + token: TOKEN_steakLRT, + tokenHasSamePriceFeed: TOKEN_wstETH, + trusted: false, + reserve: false + }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ @@ -7954,8 +7964,13 @@ contract PriceFeedDataLive { reserve: true }) ); - mellowLRTPriceFeedsByNetwork[10].push( - GenericLPPriceFeedData({lpToken: TOKEN_steakLRT, underlying: TOKEN_WETH, trusted: false, reserve: false}) + theSamePriceFeedsByNetwork[10].push( + TheSamePriceFeedData({ + token: TOKEN_steakLRT, + tokenHasSamePriceFeed: TOKEN_wstETH, + trusted: false, + reserve: false + }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ @@ -7965,8 +7980,13 @@ contract PriceFeedDataLive { reserve: true }) ); - mellowLRTPriceFeedsByNetwork[8453].push( - GenericLPPriceFeedData({lpToken: TOKEN_steakLRT, underlying: TOKEN_WETH, trusted: false, reserve: false}) + theSamePriceFeedsByNetwork[8453].push( + TheSamePriceFeedData({ + token: TOKEN_steakLRT, + tokenHasSamePriceFeed: TOKEN_wstETH, + trusted: false, + reserve: false + }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ @@ -7978,8 +7998,13 @@ contract PriceFeedDataLive { ); // ------------------------ Re7LRT ------------------------ - mellowLRTPriceFeedsByNetwork[1].push( - GenericLPPriceFeedData({lpToken: TOKEN_Re7LRT, underlying: TOKEN_WETH, trusted: false, reserve: false}) + theSamePriceFeedsByNetwork[1].push( + TheSamePriceFeedData({ + token: TOKEN_Re7LRT, + tokenHasSamePriceFeed: TOKEN_wstETH, + trusted: false, + reserve: false + }) ); theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ @@ -7989,8 +8014,13 @@ contract PriceFeedDataLive { reserve: true }) ); - mellowLRTPriceFeedsByNetwork[42161].push( - GenericLPPriceFeedData({lpToken: TOKEN_Re7LRT, underlying: TOKEN_WETH, trusted: false, reserve: false}) + theSamePriceFeedsByNetwork[42161].push( + TheSamePriceFeedData({ + token: TOKEN_Re7LRT, + tokenHasSamePriceFeed: TOKEN_wstETH, + trusted: false, + reserve: false + }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ @@ -8000,8 +8030,13 @@ contract PriceFeedDataLive { reserve: true }) ); - mellowLRTPriceFeedsByNetwork[10].push( - GenericLPPriceFeedData({lpToken: TOKEN_Re7LRT, underlying: TOKEN_WETH, trusted: false, reserve: false}) + theSamePriceFeedsByNetwork[10].push( + TheSamePriceFeedData({ + token: TOKEN_Re7LRT, + tokenHasSamePriceFeed: TOKEN_wstETH, + trusted: false, + reserve: false + }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ @@ -8011,8 +8046,13 @@ contract PriceFeedDataLive { reserve: true }) ); - mellowLRTPriceFeedsByNetwork[8453].push( - GenericLPPriceFeedData({lpToken: TOKEN_Re7LRT, underlying: TOKEN_WETH, trusted: false, reserve: false}) + theSamePriceFeedsByNetwork[8453].push( + TheSamePriceFeedData({ + token: TOKEN_Re7LRT, + tokenHasSamePriceFeed: TOKEN_wstETH, + trusted: false, + reserve: false + }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ @@ -8024,8 +8064,13 @@ contract PriceFeedDataLive { ); // ------------------------ amphrETH ------------------------ - mellowLRTPriceFeedsByNetwork[1].push( - GenericLPPriceFeedData({lpToken: TOKEN_amphrETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) + theSamePriceFeedsByNetwork[1].push( + TheSamePriceFeedData({ + token: TOKEN_amphrETH, + tokenHasSamePriceFeed: TOKEN_wstETH, + trusted: false, + reserve: false + }) ); theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ @@ -8035,8 +8080,13 @@ contract PriceFeedDataLive { reserve: true }) ); - mellowLRTPriceFeedsByNetwork[42161].push( - GenericLPPriceFeedData({lpToken: TOKEN_amphrETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) + theSamePriceFeedsByNetwork[42161].push( + TheSamePriceFeedData({ + token: TOKEN_amphrETH, + tokenHasSamePriceFeed: TOKEN_wstETH, + trusted: false, + reserve: false + }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ @@ -8046,8 +8096,13 @@ contract PriceFeedDataLive { reserve: true }) ); - mellowLRTPriceFeedsByNetwork[10].push( - GenericLPPriceFeedData({lpToken: TOKEN_amphrETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) + theSamePriceFeedsByNetwork[10].push( + TheSamePriceFeedData({ + token: TOKEN_amphrETH, + tokenHasSamePriceFeed: TOKEN_wstETH, + trusted: false, + reserve: false + }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ @@ -8057,8 +8112,13 @@ contract PriceFeedDataLive { reserve: true }) ); - mellowLRTPriceFeedsByNetwork[8453].push( - GenericLPPriceFeedData({lpToken: TOKEN_amphrETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) + theSamePriceFeedsByNetwork[8453].push( + TheSamePriceFeedData({ + token: TOKEN_amphrETH, + tokenHasSamePriceFeed: TOKEN_wstETH, + trusted: false, + reserve: false + }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ @@ -8070,8 +8130,13 @@ contract PriceFeedDataLive { ); // ------------------------ rstETH ------------------------ - mellowLRTPriceFeedsByNetwork[1].push( - GenericLPPriceFeedData({lpToken: TOKEN_rstETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) + theSamePriceFeedsByNetwork[1].push( + TheSamePriceFeedData({ + token: TOKEN_rstETH, + tokenHasSamePriceFeed: TOKEN_wstETH, + trusted: false, + reserve: false + }) ); theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ @@ -8081,8 +8146,13 @@ contract PriceFeedDataLive { reserve: true }) ); - mellowLRTPriceFeedsByNetwork[42161].push( - GenericLPPriceFeedData({lpToken: TOKEN_rstETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) + theSamePriceFeedsByNetwork[42161].push( + TheSamePriceFeedData({ + token: TOKEN_rstETH, + tokenHasSamePriceFeed: TOKEN_wstETH, + trusted: false, + reserve: false + }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ @@ -8092,8 +8162,13 @@ contract PriceFeedDataLive { reserve: true }) ); - mellowLRTPriceFeedsByNetwork[10].push( - GenericLPPriceFeedData({lpToken: TOKEN_rstETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) + theSamePriceFeedsByNetwork[10].push( + TheSamePriceFeedData({ + token: TOKEN_rstETH, + tokenHasSamePriceFeed: TOKEN_wstETH, + trusted: false, + reserve: false + }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ @@ -8103,8 +8178,13 @@ contract PriceFeedDataLive { reserve: true }) ); - mellowLRTPriceFeedsByNetwork[8453].push( - GenericLPPriceFeedData({lpToken: TOKEN_rstETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) + theSamePriceFeedsByNetwork[8453].push( + TheSamePriceFeedData({ + token: TOKEN_rstETH, + tokenHasSamePriceFeed: TOKEN_wstETH, + trusted: false, + reserve: false + }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ @@ -8116,8 +8196,13 @@ contract PriceFeedDataLive { ); // ------------------------ pzETH ------------------------ - mellowLRTPriceFeedsByNetwork[1].push( - GenericLPPriceFeedData({lpToken: TOKEN_pzETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) + theSamePriceFeedsByNetwork[1].push( + TheSamePriceFeedData({ + token: TOKEN_pzETH, + tokenHasSamePriceFeed: TOKEN_wstETH, + trusted: false, + reserve: false + }) ); theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ @@ -8127,8 +8212,13 @@ contract PriceFeedDataLive { reserve: true }) ); - mellowLRTPriceFeedsByNetwork[42161].push( - GenericLPPriceFeedData({lpToken: TOKEN_pzETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) + theSamePriceFeedsByNetwork[42161].push( + TheSamePriceFeedData({ + token: TOKEN_pzETH, + tokenHasSamePriceFeed: TOKEN_wstETH, + trusted: false, + reserve: false + }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ @@ -8138,8 +8228,13 @@ contract PriceFeedDataLive { reserve: true }) ); - mellowLRTPriceFeedsByNetwork[10].push( - GenericLPPriceFeedData({lpToken: TOKEN_pzETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) + theSamePriceFeedsByNetwork[10].push( + TheSamePriceFeedData({ + token: TOKEN_pzETH, + tokenHasSamePriceFeed: TOKEN_wstETH, + trusted: false, + reserve: false + }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ @@ -8149,8 +8244,13 @@ contract PriceFeedDataLive { reserve: true }) ); - mellowLRTPriceFeedsByNetwork[8453].push( - GenericLPPriceFeedData({lpToken: TOKEN_pzETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) + theSamePriceFeedsByNetwork[8453].push( + TheSamePriceFeedData({ + token: TOKEN_pzETH, + tokenHasSamePriceFeed: TOKEN_wstETH, + trusted: false, + reserve: false + }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ @@ -8162,8 +8262,13 @@ contract PriceFeedDataLive { ); // ------------------------ DVstETH ------------------------ - mellowLRTPriceFeedsByNetwork[1].push( - GenericLPPriceFeedData({lpToken: TOKEN_DVstETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) + theSamePriceFeedsByNetwork[1].push( + TheSamePriceFeedData({ + token: TOKEN_DVstETH, + tokenHasSamePriceFeed: TOKEN_wstETH, + trusted: false, + reserve: false + }) ); theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ @@ -8173,8 +8278,13 @@ contract PriceFeedDataLive { reserve: true }) ); - mellowLRTPriceFeedsByNetwork[42161].push( - GenericLPPriceFeedData({lpToken: TOKEN_DVstETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) + theSamePriceFeedsByNetwork[42161].push( + TheSamePriceFeedData({ + token: TOKEN_DVstETH, + tokenHasSamePriceFeed: TOKEN_wstETH, + trusted: false, + reserve: false + }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ @@ -8184,8 +8294,13 @@ contract PriceFeedDataLive { reserve: true }) ); - mellowLRTPriceFeedsByNetwork[10].push( - GenericLPPriceFeedData({lpToken: TOKEN_DVstETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) + theSamePriceFeedsByNetwork[10].push( + TheSamePriceFeedData({ + token: TOKEN_DVstETH, + tokenHasSamePriceFeed: TOKEN_wstETH, + trusted: false, + reserve: false + }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ @@ -8195,8 +8310,13 @@ contract PriceFeedDataLive { reserve: true }) ); - mellowLRTPriceFeedsByNetwork[8453].push( - GenericLPPriceFeedData({lpToken: TOKEN_DVstETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) + theSamePriceFeedsByNetwork[8453].push( + TheSamePriceFeedData({ + token: TOKEN_DVstETH, + tokenHasSamePriceFeed: TOKEN_wstETH, + trusted: false, + reserve: false + }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ diff --git a/src/oracles/priceFeeds.ts b/src/oracles/priceFeeds.ts index c21c093..80249dc 100755 --- a/src/oracles/priceFeeds.ts +++ b/src/oracles/priceFeeds.ts @@ -3843,8 +3843,10 @@ export const priceFeedsByToken: Record< steakLRT: { AllNetworks: { Main: { - type: PriceFeedType.MELLOW_LRT_ORACLE, - underlying: "WETH", + // type: PriceFeedType.MELLOW_LRT_ORACLE, + // underlying: "WETH", + type: PriceFeedType.THE_SAME_AS, + token: "wstETH", trusted: false, }, Reserve: { @@ -3856,8 +3858,10 @@ export const priceFeedsByToken: Record< Re7LRT: { AllNetworks: { Main: { - type: PriceFeedType.MELLOW_LRT_ORACLE, - underlying: "WETH", + // type: PriceFeedType.MELLOW_LRT_ORACLE, + // underlying: "WETH", + type: PriceFeedType.THE_SAME_AS, + token: "wstETH", trusted: false, }, Reserve: { @@ -3869,8 +3873,10 @@ export const priceFeedsByToken: Record< amphrETH: { AllNetworks: { Main: { - type: PriceFeedType.MELLOW_LRT_ORACLE, - underlying: "WETH", + // type: PriceFeedType.MELLOW_LRT_ORACLE, + // underlying: "WETH", + type: PriceFeedType.THE_SAME_AS, + token: "wstETH", trusted: false, }, Reserve: { @@ -3882,8 +3888,10 @@ export const priceFeedsByToken: Record< rstETH: { AllNetworks: { Main: { - type: PriceFeedType.MELLOW_LRT_ORACLE, - underlying: "WETH", + // type: PriceFeedType.MELLOW_LRT_ORACLE, + // underlying: "WETH", + type: PriceFeedType.THE_SAME_AS, + token: "wstETH", trusted: false, }, Reserve: { @@ -3895,8 +3903,10 @@ export const priceFeedsByToken: Record< pzETH: { AllNetworks: { Main: { - type: PriceFeedType.MELLOW_LRT_ORACLE, - underlying: "WETH", + // type: PriceFeedType.MELLOW_LRT_ORACLE, + // underlying: "WETH", + type: PriceFeedType.THE_SAME_AS, + token: "wstETH", trusted: false, }, Reserve: { @@ -3908,8 +3918,10 @@ export const priceFeedsByToken: Record< DVstETH: { AllNetworks: { Main: { - type: PriceFeedType.MELLOW_LRT_ORACLE, - underlying: "WETH", + // type: PriceFeedType.MELLOW_LRT_ORACLE, + // underlying: "WETH", + type: PriceFeedType.THE_SAME_AS, + token: "wstETH", trusted: false, }, Reserve: { From 8baef8d07c6ea05b3e19c1b47f90525be7e6b29b Mon Sep 17 00:00:00 2001 From: Arkhip Vouba <80775286+57Ark@users.noreply.github.com> Date: Wed, 22 Jan 2025 12:43:59 +0100 Subject: [PATCH 19/23] fix: beraStone feed --- contracts/PriceFeedDataLive.sol | 2 +- src/oracles/priceFeeds.ts | 2 +- src/tokens/token.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/contracts/PriceFeedDataLive.sol b/contracts/PriceFeedDataLive.sol index abce6d1..929746a 100644 --- a/contracts/PriceFeedDataLive.sol +++ b/contracts/PriceFeedDataLive.sol @@ -2590,7 +2590,7 @@ contract PriceFeedDataLive { cpf.isTargetRedstone = true; cpf.redstoneTargetToBaseData = RedStonePriceFeedDataShort({ dataServiceId: "redstone-primary-prod", - dataFeedId: "beraSTONE_FUNDAMENTAL", + dataFeedId: "beraETH_FUNDAMENTAL", signers: [ 0x8BB8F32Df04c8b654987DAaeD53D6B6091e3B774, 0xdEB22f54738d54976C4c0fe5ce6d408E40d88499, diff --git a/src/oracles/priceFeeds.ts b/src/oracles/priceFeeds.ts index 80249dc..6c4f6ae 100755 --- a/src/oracles/priceFeeds.ts +++ b/src/oracles/priceFeeds.ts @@ -1800,7 +1800,7 @@ export const priceFeedsByToken: Record< targetToBasePriceFeed: { type: PriceFeedType.REDSTONE_ORACLE, dataServiceId: "redstone-primary-prod", - dataId: "beraSTONE_FUNDAMENTAL", + dataId: "beraETH_FUNDAMENTAL", ...REDSTONE_SIGNERS, stalenessPeriod: FOUR_MINUTES, }, diff --git a/src/tokens/token.ts b/src/tokens/token.ts index 92a7292..f3b0f83 100755 --- a/src/tokens/token.ts +++ b/src/tokens/token.ts @@ -1537,7 +1537,7 @@ export const tickerInfoTokensByNetwork: Record< beraSTONE: [ { symbol: "beraSTONE/ETH", - dataId: "beraSTONE_FUNDAMENTAL", + dataId: "beraETH_FUNDAMENTAL", address: "0x692072eE081c9Ded28d2CfD27513E578d895FD0d", priceFeed: "0xD35f2Fe7cc74e143F3f526c6e2c399fE58e31Cf1", reserve: false, From 64c14706575d904bb3644425e9805d23d9999ee8 Mon Sep 17 00:00:00 2001 From: Arkhip Vouba <80775286+57Ark@users.noreply.github.com> Date: Wed, 22 Jan 2025 12:59:26 +0100 Subject: [PATCH 20/23] fix: price feeds --- contracts/PriceFeedDataLive.sol | 216 ++++++-------------------------- src/oracles/priceFeeds.ts | 18 +-- src/tokens/token.ts | 2 +- 3 files changed, 44 insertions(+), 192 deletions(-) diff --git a/contracts/PriceFeedDataLive.sol b/contracts/PriceFeedDataLive.sol index 929746a..5447f20 100644 --- a/contracts/PriceFeedDataLive.sol +++ b/contracts/PriceFeedDataLive.sol @@ -7940,14 +7940,7 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[1].push( - TheSamePriceFeedData({ - token: TOKEN_steakLRT, - tokenHasSamePriceFeed: TOKEN_wstETH, - trusted: false, - reserve: true - }) - ); + zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_steakLRT, trusted: false, reserve: true})); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ token: TOKEN_steakLRT, @@ -7956,13 +7949,8 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[42161].push( - TheSamePriceFeedData({ - token: TOKEN_steakLRT, - tokenHasSamePriceFeed: TOKEN_wstETH, - trusted: false, - reserve: true - }) + zeroPriceFeedsByNetwork[42161].push( + SingeTokenPriceFeedData({token: TOKEN_steakLRT, trusted: false, reserve: true}) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ @@ -7972,13 +7960,8 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[10].push( - TheSamePriceFeedData({ - token: TOKEN_steakLRT, - tokenHasSamePriceFeed: TOKEN_wstETH, - trusted: false, - reserve: true - }) + zeroPriceFeedsByNetwork[10].push( + SingeTokenPriceFeedData({token: TOKEN_steakLRT, trusted: false, reserve: true}) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ @@ -7988,13 +7971,8 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[8453].push( - TheSamePriceFeedData({ - token: TOKEN_steakLRT, - tokenHasSamePriceFeed: TOKEN_wstETH, - trusted: false, - reserve: true - }) + zeroPriceFeedsByNetwork[8453].push( + SingeTokenPriceFeedData({token: TOKEN_steakLRT, trusted: false, reserve: true}) ); // ------------------------ Re7LRT ------------------------ @@ -8006,14 +7984,7 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[1].push( - TheSamePriceFeedData({ - token: TOKEN_Re7LRT, - tokenHasSamePriceFeed: TOKEN_wstETH, - trusted: false, - reserve: true - }) - ); + zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_Re7LRT, trusted: false, reserve: true})); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ token: TOKEN_Re7LRT, @@ -8022,13 +7993,8 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[42161].push( - TheSamePriceFeedData({ - token: TOKEN_Re7LRT, - tokenHasSamePriceFeed: TOKEN_wstETH, - trusted: false, - reserve: true - }) + zeroPriceFeedsByNetwork[42161].push( + SingeTokenPriceFeedData({token: TOKEN_Re7LRT, trusted: false, reserve: true}) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ @@ -8038,14 +8004,7 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[10].push( - TheSamePriceFeedData({ - token: TOKEN_Re7LRT, - tokenHasSamePriceFeed: TOKEN_wstETH, - trusted: false, - reserve: true - }) - ); + zeroPriceFeedsByNetwork[10].push(SingeTokenPriceFeedData({token: TOKEN_Re7LRT, trusted: false, reserve: true})); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ token: TOKEN_Re7LRT, @@ -8054,13 +8013,8 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[8453].push( - TheSamePriceFeedData({ - token: TOKEN_Re7LRT, - tokenHasSamePriceFeed: TOKEN_wstETH, - trusted: false, - reserve: true - }) + zeroPriceFeedsByNetwork[8453].push( + SingeTokenPriceFeedData({token: TOKEN_Re7LRT, trusted: false, reserve: true}) ); // ------------------------ amphrETH ------------------------ @@ -8072,14 +8026,7 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[1].push( - TheSamePriceFeedData({ - token: TOKEN_amphrETH, - tokenHasSamePriceFeed: TOKEN_wstETH, - trusted: false, - reserve: true - }) - ); + zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_amphrETH, trusted: false, reserve: true})); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ token: TOKEN_amphrETH, @@ -8088,13 +8035,8 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[42161].push( - TheSamePriceFeedData({ - token: TOKEN_amphrETH, - tokenHasSamePriceFeed: TOKEN_wstETH, - trusted: false, - reserve: true - }) + zeroPriceFeedsByNetwork[42161].push( + SingeTokenPriceFeedData({token: TOKEN_amphrETH, trusted: false, reserve: true}) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ @@ -8104,13 +8046,8 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[10].push( - TheSamePriceFeedData({ - token: TOKEN_amphrETH, - tokenHasSamePriceFeed: TOKEN_wstETH, - trusted: false, - reserve: true - }) + zeroPriceFeedsByNetwork[10].push( + SingeTokenPriceFeedData({token: TOKEN_amphrETH, trusted: false, reserve: true}) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ @@ -8120,13 +8057,8 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[8453].push( - TheSamePriceFeedData({ - token: TOKEN_amphrETH, - tokenHasSamePriceFeed: TOKEN_wstETH, - trusted: false, - reserve: true - }) + zeroPriceFeedsByNetwork[8453].push( + SingeTokenPriceFeedData({token: TOKEN_amphrETH, trusted: false, reserve: true}) ); // ------------------------ rstETH ------------------------ @@ -8138,14 +8070,7 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[1].push( - TheSamePriceFeedData({ - token: TOKEN_rstETH, - tokenHasSamePriceFeed: TOKEN_wstETH, - trusted: false, - reserve: true - }) - ); + zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_rstETH, trusted: false, reserve: true})); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ token: TOKEN_rstETH, @@ -8154,13 +8079,8 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[42161].push( - TheSamePriceFeedData({ - token: TOKEN_rstETH, - tokenHasSamePriceFeed: TOKEN_wstETH, - trusted: false, - reserve: true - }) + zeroPriceFeedsByNetwork[42161].push( + SingeTokenPriceFeedData({token: TOKEN_rstETH, trusted: false, reserve: true}) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ @@ -8170,14 +8090,7 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[10].push( - TheSamePriceFeedData({ - token: TOKEN_rstETH, - tokenHasSamePriceFeed: TOKEN_wstETH, - trusted: false, - reserve: true - }) - ); + zeroPriceFeedsByNetwork[10].push(SingeTokenPriceFeedData({token: TOKEN_rstETH, trusted: false, reserve: true})); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ token: TOKEN_rstETH, @@ -8186,13 +8099,8 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[8453].push( - TheSamePriceFeedData({ - token: TOKEN_rstETH, - tokenHasSamePriceFeed: TOKEN_wstETH, - trusted: false, - reserve: true - }) + zeroPriceFeedsByNetwork[8453].push( + SingeTokenPriceFeedData({token: TOKEN_rstETH, trusted: false, reserve: true}) ); // ------------------------ pzETH ------------------------ @@ -8204,14 +8112,7 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[1].push( - TheSamePriceFeedData({ - token: TOKEN_pzETH, - tokenHasSamePriceFeed: TOKEN_wstETH, - trusted: false, - reserve: true - }) - ); + zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_pzETH, trusted: false, reserve: true})); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ token: TOKEN_pzETH, @@ -8220,13 +8121,8 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[42161].push( - TheSamePriceFeedData({ - token: TOKEN_pzETH, - tokenHasSamePriceFeed: TOKEN_wstETH, - trusted: false, - reserve: true - }) + zeroPriceFeedsByNetwork[42161].push( + SingeTokenPriceFeedData({token: TOKEN_pzETH, trusted: false, reserve: true}) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ @@ -8236,14 +8132,7 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[10].push( - TheSamePriceFeedData({ - token: TOKEN_pzETH, - tokenHasSamePriceFeed: TOKEN_wstETH, - trusted: false, - reserve: true - }) - ); + zeroPriceFeedsByNetwork[10].push(SingeTokenPriceFeedData({token: TOKEN_pzETH, trusted: false, reserve: true})); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ token: TOKEN_pzETH, @@ -8252,14 +8141,7 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[8453].push( - TheSamePriceFeedData({ - token: TOKEN_pzETH, - tokenHasSamePriceFeed: TOKEN_wstETH, - trusted: false, - reserve: true - }) - ); + zeroPriceFeedsByNetwork[8453].push(SingeTokenPriceFeedData({token: TOKEN_pzETH, trusted: false, reserve: true})); // ------------------------ DVstETH ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -8270,14 +8152,7 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[1].push( - TheSamePriceFeedData({ - token: TOKEN_DVstETH, - tokenHasSamePriceFeed: TOKEN_wstETH, - trusted: false, - reserve: true - }) - ); + zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_DVstETH, trusted: false, reserve: true})); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ token: TOKEN_DVstETH, @@ -8286,13 +8161,8 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[42161].push( - TheSamePriceFeedData({ - token: TOKEN_DVstETH, - tokenHasSamePriceFeed: TOKEN_wstETH, - trusted: false, - reserve: true - }) + zeroPriceFeedsByNetwork[42161].push( + SingeTokenPriceFeedData({token: TOKEN_DVstETH, trusted: false, reserve: true}) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ @@ -8302,14 +8172,7 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[10].push( - TheSamePriceFeedData({ - token: TOKEN_DVstETH, - tokenHasSamePriceFeed: TOKEN_wstETH, - trusted: false, - reserve: true - }) - ); + zeroPriceFeedsByNetwork[10].push(SingeTokenPriceFeedData({token: TOKEN_DVstETH, trusted: false, reserve: true})); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ token: TOKEN_DVstETH, @@ -8318,13 +8181,8 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[8453].push( - TheSamePriceFeedData({ - token: TOKEN_DVstETH, - tokenHasSamePriceFeed: TOKEN_wstETH, - trusted: false, - reserve: true - }) + zeroPriceFeedsByNetwork[8453].push( + SingeTokenPriceFeedData({token: TOKEN_DVstETH, trusted: false, reserve: true}) ); // ------------------------ PT_rsETH_26SEP2024 ------------------------ diff --git a/src/oracles/priceFeeds.ts b/src/oracles/priceFeeds.ts index 6c4f6ae..0576306 100755 --- a/src/oracles/priceFeeds.ts +++ b/src/oracles/priceFeeds.ts @@ -3850,8 +3850,7 @@ export const priceFeedsByToken: Record< trusted: false, }, Reserve: { - type: PriceFeedType.THE_SAME_AS, - token: "wstETH", + type: PriceFeedType.ZERO_ORACLE, }, }, }, @@ -3865,8 +3864,7 @@ export const priceFeedsByToken: Record< trusted: false, }, Reserve: { - type: PriceFeedType.THE_SAME_AS, - token: "wstETH", + type: PriceFeedType.ZERO_ORACLE, }, }, }, @@ -3880,8 +3878,7 @@ export const priceFeedsByToken: Record< trusted: false, }, Reserve: { - type: PriceFeedType.THE_SAME_AS, - token: "wstETH", + type: PriceFeedType.ZERO_ORACLE, }, }, }, @@ -3895,8 +3892,7 @@ export const priceFeedsByToken: Record< trusted: false, }, Reserve: { - type: PriceFeedType.THE_SAME_AS, - token: "wstETH", + type: PriceFeedType.ZERO_ORACLE, }, }, }, @@ -3910,8 +3906,7 @@ export const priceFeedsByToken: Record< trusted: false, }, Reserve: { - type: PriceFeedType.THE_SAME_AS, - token: "wstETH", + type: PriceFeedType.ZERO_ORACLE, }, }, }, @@ -3925,8 +3920,7 @@ export const priceFeedsByToken: Record< trusted: false, }, Reserve: { - type: PriceFeedType.THE_SAME_AS, - token: "wstETH", + type: PriceFeedType.ZERO_ORACLE, }, }, }, diff --git a/src/tokens/token.ts b/src/tokens/token.ts index f3b0f83..0aa7917 100755 --- a/src/tokens/token.ts +++ b/src/tokens/token.ts @@ -1539,7 +1539,7 @@ export const tickerInfoTokensByNetwork: Record< symbol: "beraSTONE/ETH", dataId: "beraETH_FUNDAMENTAL", address: "0x692072eE081c9Ded28d2CfD27513E578d895FD0d", - priceFeed: "0xD35f2Fe7cc74e143F3f526c6e2c399fE58e31Cf1", + priceFeed: "0xf12b7879713FA998B39b3C7C9c2631E40a0b9dfB", reserve: false, }, ], From 2ce7b58a3437132c8fc323b5d4ecbdad39b1ec8f Mon Sep 17 00:00:00 2001 From: Arkhip Vouba <80775286+57Ark@users.noreply.github.com> Date: Thu, 23 Jan 2025 15:57:23 +0100 Subject: [PATCH 21/23] fix: price feeds --- contracts/PriceFeedDataLive.sol | 11 ++++++++++- src/oracles/priceFeeds.ts | 7 ++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/contracts/PriceFeedDataLive.sol b/contracts/PriceFeedDataLive.sol index 5447f20..f274c2e 100644 --- a/contracts/PriceFeedDataLive.sol +++ b/contracts/PriceFeedDataLive.sol @@ -2610,9 +2610,18 @@ contract PriceFeedDataLive { cpf.baseToUSDFeed = 0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419; cpf.baseStalenessPeriod = 4500; - cpf.trusted = true; + cpf.trusted = false; cpf.reserve = false; } + chainlinkPriceFeedsByNetwork[1].push( + ChainlinkPriceFeedData({ + token: TOKEN_beraSTONE, + priceFeed: 0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419, + stalenessPeriod: 4500, + trusted: false, + reserve: true + }) + ); // ------------------------ GHO ------------------------ boundedPriceFeedsByNetwork[1].push( diff --git a/src/oracles/priceFeeds.ts b/src/oracles/priceFeeds.ts index 0576306..4601430 100755 --- a/src/oracles/priceFeeds.ts +++ b/src/oracles/priceFeeds.ts @@ -1810,7 +1810,12 @@ export const priceFeedsByToken: Record< address: "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419", stalenessPeriod: HOUR_1_BUFFERED, }, - trusted: true, + trusted: false, + }, + Reserve: { + type: PriceFeedType.CHAINLINK_ORACLE, + address: "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419", + stalenessPeriod: HOUR_1_BUFFERED, }, }, }, From 4f54871950db66e41fa5125dd21d0a141453454f Mon Sep 17 00:00:00 2001 From: Arkhip Vouba <80775286+57Ark@users.noreply.github.com> Date: Tue, 28 Jan 2025 15:27:37 +0100 Subject: [PATCH 22/23] feat: soniv network --- contracts/NetworkDetector.sol | 2 + contracts/PriceFeedDataLive.sol | 1243 ++++++++++++++++++++++++++++++- contracts/TokensData.sol | 9 + src/contracts/contracts.ts | 199 +++++ src/contracts/utilsContracts.ts | 11 + src/core/chains.ts | 12 + src/oracles/priceFeeds.ts | 2 + src/tokens/quoted.ts | 1 + src/tokens/token.ts | 316 +++++++- src/tokens/tokenData.ts | 1 + src/tokens/tokens.spec.ts | 1 + src/verification/explorers.ts | 2 + 12 files changed, 1789 insertions(+), 10 deletions(-) diff --git a/contracts/NetworkDetector.sol b/contracts/NetworkDetector.sol index a1983c5..4872dac 100644 --- a/contracts/NetworkDetector.sol +++ b/contracts/NetworkDetector.sol @@ -22,10 +22,12 @@ contract NetworkDetector is Test { connectedNetworks.push(42161); connectedNetworks.push(10); connectedNetworks.push(8453); + connectedNetworks.push(146); usdcByNetwork[1] = 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48; usdcByNetwork[42161] = 0xaf88d065e77c8cC2239327C5EDb3A432268e5831; usdcByNetwork[10] = 0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85; usdcByNetwork[8453] = 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913; + usdcByNetwork[146] = 0x29219dd400f2Bf60E5a23d13Be72B486D4038894; chainId = getNetworkId(); } diff --git a/contracts/PriceFeedDataLive.sol b/contracts/PriceFeedDataLive.sol index f274c2e..5a9ec9f 100644 --- a/contracts/PriceFeedDataLive.sol +++ b/contracts/PriceFeedDataLive.sol @@ -422,6 +422,12 @@ contract PriceFeedDataLive { theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({token: TOKEN_USDS, tokenHasSamePriceFeed: TOKEN_DAI, trusted: false, reserve: true}) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({token: TOKEN_USDS, tokenHasSamePriceFeed: TOKEN_DAI, trusted: true, reserve: false}) + ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({token: TOKEN_USDS, tokenHasSamePriceFeed: TOKEN_DAI, trusted: false, reserve: true}) + ); // ------------------------ GUSD ------------------------ zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_GUSD, trusted: true, reserve: false})); @@ -936,6 +942,9 @@ contract PriceFeedDataLive { theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({token: TOKEN_DOLA, tokenHasSamePriceFeed: TOKEN_USDC, trusted: true, reserve: false}) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({token: TOKEN_DOLA, tokenHasSamePriceFeed: TOKEN_USDC, trusted: true, reserve: false}) + ); // ------------------------ WBTC ------------------------ @@ -1587,6 +1596,7 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[42161].push(SingeTokenPriceFeedData({token: TOKEN_LQTY, trusted: true, reserve: false})); zeroPriceFeedsByNetwork[10].push(SingeTokenPriceFeedData({token: TOKEN_LQTY, trusted: true, reserve: false})); zeroPriceFeedsByNetwork[8453].push(SingeTokenPriceFeedData({token: TOKEN_LQTY, trusted: true, reserve: false})); + zeroPriceFeedsByNetwork[146].push(SingeTokenPriceFeedData({token: TOKEN_LQTY, trusted: true, reserve: false})); // ------------------------ GMX ------------------------ zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_GMX, trusted: false, reserve: false})); @@ -2565,6 +2575,7 @@ contract PriceFeedDataLive { ); zeroPriceFeedsByNetwork[10].push(SingeTokenPriceFeedData({token: TOKEN_AURA, trusted: false, reserve: false})); zeroPriceFeedsByNetwork[8453].push(SingeTokenPriceFeedData({token: TOKEN_AURA, trusted: false, reserve: false})); + zeroPriceFeedsByNetwork[146].push(SingeTokenPriceFeedData({token: TOKEN_AURA, trusted: false, reserve: false})); // ------------------------ SWISE ------------------------ zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_SWISE, trusted: false, reserve: false})); @@ -2575,12 +2586,14 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_SWISE, trusted: false, reserve: false}) ); + zeroPriceFeedsByNetwork[146].push(SingeTokenPriceFeedData({token: TOKEN_SWISE, trusted: false, reserve: false})); // ------------------------ SKY ------------------------ zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_SKY, trusted: false, reserve: false})); zeroPriceFeedsByNetwork[42161].push(SingeTokenPriceFeedData({token: TOKEN_SKY, trusted: false, reserve: false})); zeroPriceFeedsByNetwork[10].push(SingeTokenPriceFeedData({token: TOKEN_SKY, trusted: false, reserve: false})); zeroPriceFeedsByNetwork[8453].push(SingeTokenPriceFeedData({token: TOKEN_SKY, trusted: false, reserve: false})); + zeroPriceFeedsByNetwork[146].push(SingeTokenPriceFeedData({token: TOKEN_SKY, trusted: false, reserve: false})); // ------------------------ beraSTONE ------------------------ @@ -2666,6 +2679,9 @@ contract PriceFeedDataLive { yearnPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_yvDAI, trusted: false, reserve: false}) ); + yearnPriceFeedsByNetwork[146].push( + SingeTokenPriceFeedData({token: TOKEN_yvDAI, trusted: false, reserve: false}) + ); // ------------------------ yvUSDC ------------------------ yearnPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_yvUSDC, trusted: false, reserve: false})); @@ -2678,6 +2694,9 @@ contract PriceFeedDataLive { yearnPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_yvUSDC, trusted: false, reserve: false}) ); + yearnPriceFeedsByNetwork[146].push( + SingeTokenPriceFeedData({token: TOKEN_yvUSDC, trusted: false, reserve: false}) + ); // ------------------------ yvUSDC_e ------------------------ yearnPriceFeedsByNetwork[1].push( @@ -2692,6 +2711,9 @@ contract PriceFeedDataLive { yearnPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_yvUSDC_e, trusted: false, reserve: false}) ); + yearnPriceFeedsByNetwork[146].push( + SingeTokenPriceFeedData({token: TOKEN_yvUSDC_e, trusted: false, reserve: false}) + ); // ------------------------ yvUSDT ------------------------ yearnPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_yvUSDT, trusted: false, reserve: false})); @@ -2704,6 +2726,9 @@ contract PriceFeedDataLive { yearnPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_yvUSDT, trusted: false, reserve: false}) ); + yearnPriceFeedsByNetwork[146].push( + SingeTokenPriceFeedData({token: TOKEN_yvUSDT, trusted: false, reserve: false}) + ); // ------------------------ yvWETH ------------------------ yearnPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_yvWETH, trusted: false, reserve: false})); @@ -2716,6 +2741,9 @@ contract PriceFeedDataLive { yearnPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_yvWETH, trusted: false, reserve: false}) ); + yearnPriceFeedsByNetwork[146].push( + SingeTokenPriceFeedData({token: TOKEN_yvWETH, trusted: false, reserve: false}) + ); // ------------------------ yvWBTC ------------------------ yearnPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_yvWBTC, trusted: false, reserve: false})); @@ -2728,6 +2756,9 @@ contract PriceFeedDataLive { yearnPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_yvWBTC, trusted: false, reserve: false}) ); + yearnPriceFeedsByNetwork[146].push( + SingeTokenPriceFeedData({token: TOKEN_yvWBTC, trusted: false, reserve: false}) + ); // ------------------------ yvOP ------------------------ yearnPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_yvOP, trusted: false, reserve: false})); @@ -2738,6 +2769,7 @@ contract PriceFeedDataLive { yearnPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_yvOP, trusted: false, reserve: false}) ); + yearnPriceFeedsByNetwork[146].push(SingeTokenPriceFeedData({token: TOKEN_yvOP, trusted: false, reserve: false})); // ------------------------ 3Crv ------------------------ curvePriceFeedsByNetwork[1].push( @@ -2864,6 +2896,37 @@ contract PriceFeedDataLive { reserve: true }) ); + curvePriceFeedsByNetwork[146].push( + CurvePriceFeedData({ + lpToken: TOKEN__3Crv, + assets: TokensLib.arrayOf(TOKEN_DAI, TOKEN_USDC, TOKEN_USDT), + pool: Contracts.CURVE_3CRV_POOL, + trusted: false, + reserve: false + }) + ); + redStonePriceFeedsByNetwork[146].push( + RedStonePriceFeedData({ + token: TOKEN__3Crv, + dataServiceId: "redstone-primary-prod", + dataFeedId: "3Crv", + signers: [ + 0x8BB8F32Df04c8b654987DAaeD53D6B6091e3B774, + 0xdEB22f54738d54976C4c0fe5ce6d408E40d88499, + 0x51Ce04Be4b3E32572C4Ec9135221d0691Ba7d202, + 0xDD682daEC5A90dD295d14DA4b0bec9281017b5bE, + 0x9c5AE89C4Af6aA32cE58588DBaF90d18a855B6de, + address(0), + address(0), + address(0), + address(0), + address(0) + ], + signersThreshold: 5, + trusted: false, + reserve: true + }) + ); // ------------------------ crvFRAX ------------------------ curvePriceFeedsByNetwork[1].push( @@ -2990,6 +3053,37 @@ contract PriceFeedDataLive { reserve: true }) ); + curvePriceFeedsByNetwork[146].push( + CurvePriceFeedData({ + lpToken: TOKEN_crvFRAX, + assets: TokensLib.arrayOf(TOKEN_FRAX, TOKEN_USDC), + pool: Contracts.CURVE_FRAX_USDC_POOL, + trusted: false, + reserve: false + }) + ); + redStonePriceFeedsByNetwork[146].push( + RedStonePriceFeedData({ + token: TOKEN_crvFRAX, + dataServiceId: "redstone-primary-prod", + dataFeedId: "crvFRAX", + signers: [ + 0x8BB8F32Df04c8b654987DAaeD53D6B6091e3B774, + 0xdEB22f54738d54976C4c0fe5ce6d408E40d88499, + 0x51Ce04Be4b3E32572C4Ec9135221d0691Ba7d202, + 0xDD682daEC5A90dD295d14DA4b0bec9281017b5bE, + 0x9c5AE89C4Af6aA32cE58588DBaF90d18a855B6de, + address(0), + address(0), + address(0), + address(0), + address(0) + ], + signersThreshold: 5, + trusted: false, + reserve: true + }) + ); // ------------------------ steCRV ------------------------ curvePriceFeedsByNetwork[1].push( @@ -3028,6 +3122,15 @@ contract PriceFeedDataLive { reserve: false }) ); + curvePriceFeedsByNetwork[146].push( + CurvePriceFeedData({ + lpToken: TOKEN_steCRV, + assets: TokensLib.arrayOf(TOKEN_STETH, TOKEN_WETH), + pool: Contracts.CURVE_STETH_GATEWAY, + trusted: false, + reserve: false + }) + ); // ------------------------ FRAX3CRV ------------------------ curvePriceFeedsByNetwork[1].push( @@ -3066,6 +3169,15 @@ contract PriceFeedDataLive { reserve: false }) ); + curvePriceFeedsByNetwork[146].push( + CurvePriceFeedData({ + lpToken: TOKEN_FRAX3CRV, + assets: TokensLib.arrayOf(TOKEN_FRAX, TOKEN_DAI, TOKEN_USDC, TOKEN_USDT), + pool: Contracts.CURVE_FRAX_POOL, + trusted: false, + reserve: false + }) + ); // ------------------------ LUSD3CRV ------------------------ curvePriceFeedsByNetwork[1].push( @@ -3104,6 +3216,15 @@ contract PriceFeedDataLive { reserve: false }) ); + curvePriceFeedsByNetwork[146].push( + CurvePriceFeedData({ + lpToken: TOKEN_LUSD3CRV, + assets: TokensLib.arrayOf(TOKEN_LUSD, TOKEN_DAI, TOKEN_USDC, TOKEN_USDT), + pool: Contracts.CURVE_LUSD_POOL, + trusted: false, + reserve: false + }) + ); // ------------------------ crvPlain3andSUSD ------------------------ curvePriceFeedsByNetwork[1].push( @@ -3142,6 +3263,15 @@ contract PriceFeedDataLive { reserve: false }) ); + curvePriceFeedsByNetwork[146].push( + CurvePriceFeedData({ + lpToken: TOKEN_crvPlain3andSUSD, + assets: TokensLib.arrayOf(TOKEN_DAI, TOKEN_USDC, TOKEN_USDT, TOKEN_sUSD), + pool: Contracts.CURVE_SUSD_POOL, + trusted: false, + reserve: false + }) + ); // ------------------------ gusd3CRV ------------------------ zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_gusd3CRV, trusted: true, reserve: false})); @@ -3154,6 +3284,9 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_gusd3CRV, trusted: true, reserve: false}) ); + zeroPriceFeedsByNetwork[146].push( + SingeTokenPriceFeedData({token: TOKEN_gusd3CRV, trusted: true, reserve: false}) + ); // ------------------------ USDeUSDC ------------------------ curvePriceFeedsByNetwork[1].push( @@ -3192,6 +3325,15 @@ contract PriceFeedDataLive { reserve: false }) ); + curvePriceFeedsByNetwork[146].push( + CurvePriceFeedData({ + lpToken: TOKEN_USDeUSDC, + assets: TokensLib.arrayOf(TOKEN_USDe, TOKEN_USDC), + pool: Contracts.CURVE_USDE_USDC_POOL, + trusted: false, + reserve: false + }) + ); // ------------------------ USDeDAI ------------------------ curvePriceFeedsByNetwork[1].push( @@ -3230,6 +3372,15 @@ contract PriceFeedDataLive { reserve: false }) ); + curvePriceFeedsByNetwork[146].push( + CurvePriceFeedData({ + lpToken: TOKEN_USDeDAI, + assets: TokensLib.arrayOf(TOKEN_USDe, TOKEN_DAI), + pool: Contracts.CURVE_USDE_DAI_POOL, + trusted: false, + reserve: false + }) + ); // ------------------------ MtEthena ------------------------ zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_MtEthena, trusted: true, reserve: false})); @@ -3242,6 +3393,9 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_MtEthena, trusted: true, reserve: false}) ); + zeroPriceFeedsByNetwork[146].push( + SingeTokenPriceFeedData({token: TOKEN_MtEthena, trusted: true, reserve: false}) + ); // ------------------------ GHOUSDe ------------------------ curvePriceFeedsByNetwork[1].push( @@ -3280,6 +3434,15 @@ contract PriceFeedDataLive { reserve: false }) ); + curvePriceFeedsByNetwork[146].push( + CurvePriceFeedData({ + lpToken: TOKEN_GHOUSDe, + assets: TokensLib.arrayOf(TOKEN_GHO, TOKEN_USDe), + pool: Contracts.CURVE_GHO_USDE_POOL, + trusted: false, + reserve: false + }) + ); // ------------------------ FRAXUSDe ------------------------ curvePriceFeedsByNetwork[1].push( @@ -3318,6 +3481,15 @@ contract PriceFeedDataLive { reserve: false }) ); + curvePriceFeedsByNetwork[146].push( + CurvePriceFeedData({ + lpToken: TOKEN_FRAXUSDe, + assets: TokensLib.arrayOf(TOKEN_FRAX, TOKEN_USDe), + pool: Contracts.CURVE_FRAX_USDE_POOL, + trusted: false, + reserve: false + }) + ); // ------------------------ USDecrvUSD ------------------------ curvePriceFeedsByNetwork[1].push( @@ -3356,6 +3528,15 @@ contract PriceFeedDataLive { reserve: false }) ); + curvePriceFeedsByNetwork[146].push( + CurvePriceFeedData({ + lpToken: TOKEN_USDecrvUSD, + assets: TokensLib.arrayOf(TOKEN_USDe, TOKEN_crvUSD), + pool: Contracts.CURVE_USDE_CRVUSD_POOL, + trusted: false, + reserve: false + }) + ); // ------------------------ FRAXsDAI ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -3370,6 +3551,9 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_FRAXsDAI, trusted: false, reserve: false}) ); + zeroPriceFeedsByNetwork[146].push( + SingeTokenPriceFeedData({token: TOKEN_FRAXsDAI, trusted: false, reserve: false}) + ); // ------------------------ DOLAsUSDe ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -3384,6 +3568,9 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_DOLAsUSDe, trusted: false, reserve: false}) ); + zeroPriceFeedsByNetwork[146].push( + SingeTokenPriceFeedData({token: TOKEN_DOLAsUSDe, trusted: false, reserve: false}) + ); // ------------------------ crvCRVETH ------------------------ curveCryptoPriceFeedsByNetwork[1].push( @@ -3422,6 +3609,15 @@ contract PriceFeedDataLive { reserve: false }) ); + curveCryptoPriceFeedsByNetwork[146].push( + CurvePriceFeedData({ + lpToken: TOKEN_crvCRVETH, + assets: TokensLib.arrayOf(TOKEN_WETH, TOKEN_CRV), + pool: Contracts.CURVE_CRVETH_POOL, + trusted: false, + reserve: false + }) + ); // ------------------------ crvCVXETH ------------------------ curveCryptoPriceFeedsByNetwork[1].push( @@ -3460,6 +3656,15 @@ contract PriceFeedDataLive { reserve: false }) ); + curveCryptoPriceFeedsByNetwork[146].push( + CurvePriceFeedData({ + lpToken: TOKEN_crvCVXETH, + assets: TokensLib.arrayOf(TOKEN_WETH, TOKEN_CVX), + pool: Contracts.CURVE_CVXETH_POOL, + trusted: false, + reserve: false + }) + ); // ------------------------ crvUSDTWBTCWETH ------------------------ curveCryptoPriceFeedsByNetwork[1].push( @@ -3498,6 +3703,15 @@ contract PriceFeedDataLive { reserve: false }) ); + curveCryptoPriceFeedsByNetwork[146].push( + CurvePriceFeedData({ + lpToken: TOKEN_crvUSDTWBTCWETH, + assets: TokensLib.arrayOf(TOKEN_USDT, TOKEN_WBTC, TOKEN_WETH), + pool: Contracts.CURVE_3CRYPTO_POOL, + trusted: false, + reserve: false + }) + ); // ------------------------ LDOETH ------------------------ curveCryptoPriceFeedsByNetwork[1].push( @@ -3536,6 +3750,15 @@ contract PriceFeedDataLive { reserve: false }) ); + curveCryptoPriceFeedsByNetwork[146].push( + CurvePriceFeedData({ + lpToken: TOKEN_LDOETH, + assets: TokensLib.arrayOf(TOKEN_LDO, TOKEN_WETH), + pool: Contracts.CURVE_LDOETH_POOL, + trusted: false, + reserve: false + }) + ); // ------------------------ crvUSD ------------------------ boundedPriceFeedsByNetwork[1].push( @@ -3676,6 +3899,24 @@ contract PriceFeedDataLive { reserve: true }) ); + curvePriceFeedsByNetwork[146].push( + CurvePriceFeedData({ + lpToken: TOKEN_crvUSDUSDC, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDC), + pool: Contracts.CURVE_CRVUSD_USDC_POOL, + trusted: false, + reserve: false + }) + ); + curvePriceFeedsByNetwork[146].push( + CurvePriceFeedData({ + lpToken: TOKEN_crvUSDUSDC, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDC), + pool: Contracts.CURVE_CRVUSD_USDC_POOL, + trusted: false, + reserve: true + }) + ); // ------------------------ crvUsUSDe ------------------------ curvePriceFeedsByNetwork[1].push( @@ -3750,6 +3991,24 @@ contract PriceFeedDataLive { reserve: true }) ); + curvePriceFeedsByNetwork[146].push( + CurvePriceFeedData({ + lpToken: TOKEN_crvUsUSDe, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDe), + pool: Contracts.CURVE_CRVUSD_SUSDE_POOL, + trusted: false, + reserve: false + }) + ); + curvePriceFeedsByNetwork[146].push( + CurvePriceFeedData({ + lpToken: TOKEN_crvUsUSDe, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDe), + pool: Contracts.CURVE_CRVUSD_SUSDE_POOL, + trusted: false, + reserve: true + }) + ); // ------------------------ llamathena ------------------------ curvePriceFeedsByNetwork[1].push( @@ -3824,6 +4083,24 @@ contract PriceFeedDataLive { reserve: true }) ); + curvePriceFeedsByNetwork[146].push( + CurvePriceFeedData({ + lpToken: TOKEN_llamathena, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDe), + pool: Contracts.CURVE_LLAMA_THENA_POOL, + trusted: false, + reserve: false + }) + ); + curvePriceFeedsByNetwork[146].push( + CurvePriceFeedData({ + lpToken: TOKEN_llamathena, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDe), + pool: Contracts.CURVE_LLAMA_THENA_POOL, + trusted: false, + reserve: true + }) + ); // ------------------------ crvUSDUSDT ------------------------ curvePriceFeedsByNetwork[1].push( @@ -3898,6 +4175,24 @@ contract PriceFeedDataLive { reserve: true }) ); + curvePriceFeedsByNetwork[146].push( + CurvePriceFeedData({ + lpToken: TOKEN_crvUSDUSDT, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDT), + pool: Contracts.CURVE_CRVUSD_USDT_POOL, + trusted: false, + reserve: false + }) + ); + curvePriceFeedsByNetwork[146].push( + CurvePriceFeedData({ + lpToken: TOKEN_crvUSDUSDT, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDT), + pool: Contracts.CURVE_CRVUSD_USDT_POOL, + trusted: false, + reserve: true + }) + ); // ------------------------ crvUSDFRAX ------------------------ curvePriceFeedsByNetwork[1].push( @@ -3936,10 +4231,19 @@ contract PriceFeedDataLive { reserve: false }) ); - - // ------------------------ wstETHCRV ------------------------ - zeroPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: TOKEN_wstETHCRV, trusted: false, reserve: false}) + curvePriceFeedsByNetwork[146].push( + CurvePriceFeedData({ + lpToken: TOKEN_crvUSDFRAX, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_FRAX), + pool: Contracts.CURVE_CRVUSD_FRAX_POOL, + trusted: false, + reserve: false + }) + ); + + // ------------------------ wstETHCRV ------------------------ + zeroPriceFeedsByNetwork[1].push( + SingeTokenPriceFeedData({token: TOKEN_wstETHCRV, trusted: false, reserve: false}) ); zeroPriceFeedsByNetwork[42161].push( SingeTokenPriceFeedData({token: TOKEN_wstETHCRV, trusted: false, reserve: false}) @@ -3950,6 +4254,9 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_wstETHCRV, trusted: false, reserve: false}) ); + zeroPriceFeedsByNetwork[146].push( + SingeTokenPriceFeedData({token: TOKEN_wstETHCRV, trusted: false, reserve: false}) + ); // ------------------------ crvUSDETHCRV ------------------------ curveCryptoPriceFeedsByNetwork[1].push( @@ -3988,6 +4295,15 @@ contract PriceFeedDataLive { reserve: false }) ); + curveCryptoPriceFeedsByNetwork[146].push( + CurvePriceFeedData({ + lpToken: TOKEN_crvUSDETHCRV, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_WETH, TOKEN_CRV), + pool: Contracts.CURVE_TRI_CRV_POOL, + trusted: false, + reserve: false + }) + ); // ------------------------ rETH_f ------------------------ curveCryptoPriceFeedsByNetwork[1].push( @@ -4026,6 +4342,15 @@ contract PriceFeedDataLive { reserve: false }) ); + curveCryptoPriceFeedsByNetwork[146].push( + CurvePriceFeedData({ + lpToken: TOKEN_rETH_f, + assets: TokensLib.arrayOf(TOKEN_rETH, TOKEN_WETH), + pool: Contracts.CURVE_RETH_ETH_POOL, + trusted: false, + reserve: false + }) + ); // ------------------------ DOLAFRAXBP3CRV_f ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -4040,6 +4365,9 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_DOLAFRAXBP3CRV_f, trusted: false, reserve: false}) ); + zeroPriceFeedsByNetwork[146].push( + SingeTokenPriceFeedData({token: TOKEN_DOLAFRAXBP3CRV_f, trusted: false, reserve: false}) + ); // ------------------------ crvUSDDOLA_f ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -4054,6 +4382,9 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_crvUSDDOLA_f, trusted: false, reserve: false}) ); + zeroPriceFeedsByNetwork[146].push( + SingeTokenPriceFeedData({token: TOKEN_crvUSDDOLA_f, trusted: false, reserve: false}) + ); // ------------------------ pufETHwstE ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -4068,6 +4399,9 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_pufETHwstE, trusted: false, reserve: false}) ); + zeroPriceFeedsByNetwork[146].push( + SingeTokenPriceFeedData({token: TOKEN_pufETHwstE, trusted: false, reserve: false}) + ); // ------------------------ GHOcrvUSD ------------------------ curvePriceFeedsByNetwork[1].push( @@ -4106,6 +4440,15 @@ contract PriceFeedDataLive { reserve: false }) ); + curvePriceFeedsByNetwork[146].push( + CurvePriceFeedData({ + lpToken: TOKEN_GHOcrvUSD, + assets: TokensLib.arrayOf(TOKEN_GHO, TOKEN_crvUSD), + pool: Contracts.CURVE_GHO_CRVUSD_POOL, + trusted: false, + reserve: false + }) + ); // ------------------------ 2CRV ------------------------ curvePriceFeedsByNetwork[1].push( @@ -4144,6 +4487,15 @@ contract PriceFeedDataLive { reserve: false }) ); + curvePriceFeedsByNetwork[146].push( + CurvePriceFeedData({ + lpToken: TOKEN__2CRV, + assets: TokensLib.arrayOf(TOKEN_USDC_e, TOKEN_USDT), + pool: Contracts.CURVE_2CRV_POOL_ARB, + trusted: false, + reserve: false + }) + ); // ------------------------ 3c-crvUSD ------------------------ curveCryptoPriceFeedsByNetwork[1].push( @@ -4182,6 +4534,15 @@ contract PriceFeedDataLive { reserve: false }) ); + curveCryptoPriceFeedsByNetwork[146].push( + CurvePriceFeedData({ + lpToken: TOKEN__3c_crvUSD, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_WBTC, TOKEN_WETH), + pool: Contracts.CURVE_TRICRYPTO_CRVUSD_POOL_ARB, + trusted: false, + reserve: false + }) + ); // ------------------------ crvUSDC ------------------------ curvePriceFeedsByNetwork[1].push( @@ -4220,6 +4581,15 @@ contract PriceFeedDataLive { reserve: false }) ); + curvePriceFeedsByNetwork[146].push( + CurvePriceFeedData({ + lpToken: TOKEN_crvUSDC, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDC), + pool: Contracts.CURVE_CRVUSD_USDC_POOL_ARB, + trusted: false, + reserve: false + }) + ); // ------------------------ crvUSDC_e ------------------------ curvePriceFeedsByNetwork[1].push( @@ -4258,6 +4628,15 @@ contract PriceFeedDataLive { reserve: false }) ); + curvePriceFeedsByNetwork[146].push( + CurvePriceFeedData({ + lpToken: TOKEN_crvUSDC_e, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDC_e), + pool: Contracts.CURVE_CRVUSD_USDC_E_POOL_ARB, + trusted: false, + reserve: false + }) + ); // ------------------------ USDEUSDC ------------------------ curvePriceFeedsByNetwork[1].push( @@ -4296,6 +4675,15 @@ contract PriceFeedDataLive { reserve: false }) ); + curvePriceFeedsByNetwork[146].push( + CurvePriceFeedData({ + lpToken: TOKEN_USDEUSDC, + assets: TokensLib.arrayOf(TOKEN_USDC, TOKEN_USDe), + pool: Contracts.CURVE_USDE_USDC_POOL_ARB, + trusted: false, + reserve: false + }) + ); // ------------------------ ezETHWETH ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -4310,6 +4698,9 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_ezETHWETH, trusted: false, reserve: false}) ); + zeroPriceFeedsByNetwork[146].push( + SingeTokenPriceFeedData({token: TOKEN_ezETHWETH, trusted: false, reserve: false}) + ); // ------------------------ ezpzETH ------------------------ zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_ezpzETH, trusted: false, reserve: false})); @@ -4322,6 +4713,9 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_ezpzETH, trusted: false, reserve: false}) ); + zeroPriceFeedsByNetwork[146].push( + SingeTokenPriceFeedData({token: TOKEN_ezpzETH, trusted: false, reserve: false}) + ); // ------------------------ LBTCWBTC ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -4336,6 +4730,9 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_LBTCWBTC, trusted: false, reserve: false}) ); + zeroPriceFeedsByNetwork[146].push( + SingeTokenPriceFeedData({token: TOKEN_LBTCWBTC, trusted: false, reserve: false}) + ); // ------------------------ eBTCWBTC ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -4350,6 +4747,9 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_eBTCWBTC, trusted: false, reserve: false}) ); + zeroPriceFeedsByNetwork[146].push( + SingeTokenPriceFeedData({token: TOKEN_eBTCWBTC, trusted: false, reserve: false}) + ); // ------------------------ pumpBTCWBTC ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -4364,6 +4764,9 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_pumpBTCWBTC, trusted: false, reserve: false}) ); + zeroPriceFeedsByNetwork[146].push( + SingeTokenPriceFeedData({token: TOKEN_pumpBTCWBTC, trusted: false, reserve: false}) + ); // ------------------------ TriBTC ------------------------ zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_TriBTC, trusted: false, reserve: false})); @@ -4374,6 +4777,9 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_TriBTC, trusted: false, reserve: false}) ); + zeroPriceFeedsByNetwork[146].push( + SingeTokenPriceFeedData({token: TOKEN_TriBTC, trusted: false, reserve: false}) + ); // ------------------------ 2BTC-f ------------------------ zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN__2BTC_f, trusted: false, reserve: false})); @@ -4386,6 +4792,9 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN__2BTC_f, trusted: false, reserve: false}) ); + zeroPriceFeedsByNetwork[146].push( + SingeTokenPriceFeedData({token: TOKEN__2BTC_f, trusted: false, reserve: false}) + ); // ------------------------ 3CRV ------------------------ curvePriceFeedsByNetwork[1].push( @@ -4424,6 +4833,15 @@ contract PriceFeedDataLive { reserve: false }) ); + curvePriceFeedsByNetwork[146].push( + CurvePriceFeedData({ + lpToken: TOKEN__3CRV, + assets: TokensLib.arrayOf(TOKEN_DAI, TOKEN_USDC_e, TOKEN_USDT), + pool: Contracts.CURVE_3CRV_POOL_OP, + trusted: false, + reserve: false + }) + ); // ------------------------ crvUSDT ------------------------ curvePriceFeedsByNetwork[1].push( @@ -4462,6 +4880,15 @@ contract PriceFeedDataLive { reserve: false }) ); + curvePriceFeedsByNetwork[146].push( + CurvePriceFeedData({ + lpToken: TOKEN_crvUSDT, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDT), + pool: Contracts.CURVE_CRVUSD_USDT_POOL_ARB, + trusted: false, + reserve: false + }) + ); // ------------------------ yvCurve_stETH ------------------------ yearnPriceFeedsByNetwork[1].push( @@ -4476,6 +4903,9 @@ contract PriceFeedDataLive { yearnPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_yvCurve_stETH, trusted: false, reserve: false}) ); + yearnPriceFeedsByNetwork[146].push( + SingeTokenPriceFeedData({token: TOKEN_yvCurve_stETH, trusted: false, reserve: false}) + ); // ------------------------ yvCurve_FRAX ------------------------ yearnPriceFeedsByNetwork[1].push( @@ -4490,6 +4920,9 @@ contract PriceFeedDataLive { yearnPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_yvCurve_FRAX, trusted: false, reserve: false}) ); + yearnPriceFeedsByNetwork[146].push( + SingeTokenPriceFeedData({token: TOKEN_yvCurve_FRAX, trusted: false, reserve: false}) + ); // ------------------------ cvx3Crv ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -4524,6 +4957,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_cvx3Crv, + tokenHasSamePriceFeed: TOKEN__3Crv, + trusted: false, + reserve: false + }) + ); // ------------------------ cvxcrvFRAX ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -4558,6 +4999,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_cvxcrvFRAX, + tokenHasSamePriceFeed: TOKEN_crvFRAX, + trusted: false, + reserve: false + }) + ); // ------------------------ cvxsteCRV ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -4592,6 +5041,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_cvxsteCRV, + tokenHasSamePriceFeed: TOKEN_steCRV, + trusted: false, + reserve: false + }) + ); // ------------------------ cvxFRAX3CRV ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -4626,6 +5083,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_cvxFRAX3CRV, + tokenHasSamePriceFeed: TOKEN_FRAX3CRV, + trusted: false, + reserve: false + }) + ); // ------------------------ cvxLUSD3CRV ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -4660,6 +5125,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_cvxLUSD3CRV, + tokenHasSamePriceFeed: TOKEN_LUSD3CRV, + trusted: false, + reserve: false + }) + ); // ------------------------ cvxcrvPlain3andSUSD ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -4694,6 +5167,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_cvxcrvPlain3andSUSD, + tokenHasSamePriceFeed: TOKEN_crvPlain3andSUSD, + trusted: false, + reserve: false + }) + ); // ------------------------ cvxgusd3CRV ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -4728,6 +5209,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_cvxgusd3CRV, + tokenHasSamePriceFeed: TOKEN_gusd3CRV, + trusted: false, + reserve: false + }) + ); // ------------------------ cvxcrvCRVETH ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -4762,6 +5251,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_cvxcrvCRVETH, + tokenHasSamePriceFeed: TOKEN_crvCRVETH, + trusted: false, + reserve: false + }) + ); // ------------------------ cvxcrvCVXETH ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -4796,6 +5293,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_cvxcrvCVXETH, + tokenHasSamePriceFeed: TOKEN_crvCVXETH, + trusted: false, + reserve: false + }) + ); // ------------------------ cvxcrvUSDTWBTCWETH ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -4830,6 +5335,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_cvxcrvUSDTWBTCWETH, + tokenHasSamePriceFeed: TOKEN_crvUSDTWBTCWETH, + trusted: false, + reserve: false + }) + ); // ------------------------ cvxLDOETH ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -4864,6 +5377,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_cvxLDOETH, + tokenHasSamePriceFeed: TOKEN_LDOETH, + trusted: false, + reserve: false + }) + ); // ------------------------ cvxcrvUSDUSDC ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -4898,6 +5419,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_cvxcrvUSDUSDC, + tokenHasSamePriceFeed: TOKEN_crvUSDUSDC, + trusted: false, + reserve: false + }) + ); // ------------------------ cvxcrvUSDUSDT ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -4932,6 +5461,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_cvxcrvUSDUSDT, + tokenHasSamePriceFeed: TOKEN_crvUSDUSDT, + trusted: false, + reserve: false + }) + ); // ------------------------ cvxcrvUSDFRAX ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -4966,6 +5503,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_cvxcrvUSDFRAX, + tokenHasSamePriceFeed: TOKEN_crvUSDFRAX, + trusted: false, + reserve: false + }) + ); // ------------------------ cvxcrvUSDETHCRV ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -5000,6 +5545,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_cvxcrvUSDETHCRV, + tokenHasSamePriceFeed: TOKEN_crvUSDETHCRV, + trusted: false, + reserve: false + }) + ); // ------------------------ cvxGHOcrvUSD ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -5034,6 +5587,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_cvxGHOcrvUSD, + tokenHasSamePriceFeed: TOKEN_GHOcrvUSD, + trusted: false, + reserve: false + }) + ); // ------------------------ cvxllamathena ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -5100,6 +5661,22 @@ contract PriceFeedDataLive { reserve: true }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_cvxllamathena, + tokenHasSamePriceFeed: TOKEN_llamathena, + trusted: false, + reserve: false + }) + ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_cvxllamathena, + tokenHasSamePriceFeed: TOKEN_llamathena, + trusted: false, + reserve: true + }) + ); // ------------------------ stkcvx3Crv ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -5134,6 +5711,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_stkcvx3Crv, + tokenHasSamePriceFeed: TOKEN__3Crv, + trusted: false, + reserve: false + }) + ); // ------------------------ stkcvxcrvFRAX ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -5168,6 +5753,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_stkcvxcrvFRAX, + tokenHasSamePriceFeed: TOKEN_crvFRAX, + trusted: false, + reserve: false + }) + ); // ------------------------ stkcvxsteCRV ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -5202,6 +5795,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_stkcvxsteCRV, + tokenHasSamePriceFeed: TOKEN_steCRV, + trusted: false, + reserve: false + }) + ); // ------------------------ stkcvxFRAX3CRV ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -5236,6 +5837,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_stkcvxFRAX3CRV, + tokenHasSamePriceFeed: TOKEN_FRAX3CRV, + trusted: false, + reserve: false + }) + ); // ------------------------ stkcvxLUSD3CRV ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -5270,6 +5879,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_stkcvxLUSD3CRV, + tokenHasSamePriceFeed: TOKEN_LUSD3CRV, + trusted: false, + reserve: false + }) + ); // ------------------------ stkcvxcrvPlain3andSUSD ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -5296,7 +5913,15 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[8453].push( + theSamePriceFeedsByNetwork[8453].push( + TheSamePriceFeedData({ + token: TOKEN_stkcvxcrvPlain3andSUSD, + tokenHasSamePriceFeed: TOKEN_crvPlain3andSUSD, + trusted: false, + reserve: false + }) + ); + theSamePriceFeedsByNetwork[146].push( TheSamePriceFeedData({ token: TOKEN_stkcvxcrvPlain3andSUSD, tokenHasSamePriceFeed: TOKEN_crvPlain3andSUSD, @@ -5338,6 +5963,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_stkcvxgusd3CRV, + tokenHasSamePriceFeed: TOKEN_gusd3CRV, + trusted: false, + reserve: false + }) + ); // ------------------------ stkcvxcrvCRVETH ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -5372,6 +6005,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_stkcvxcrvCRVETH, + tokenHasSamePriceFeed: TOKEN_crvCRVETH, + trusted: false, + reserve: false + }) + ); // ------------------------ stkcvxcrvCVXETH ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -5406,6 +6047,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_stkcvxcrvCVXETH, + tokenHasSamePriceFeed: TOKEN_crvCVXETH, + trusted: false, + reserve: false + }) + ); // ------------------------ stkcvxcrvUSDTWBTCWETH ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -5440,6 +6089,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_stkcvxcrvUSDTWBTCWETH, + tokenHasSamePriceFeed: TOKEN_crvUSDTWBTCWETH, + trusted: false, + reserve: false + }) + ); // ------------------------ stkcvxLDOETH ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -5474,6 +6131,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_stkcvxLDOETH, + tokenHasSamePriceFeed: TOKEN_LDOETH, + trusted: false, + reserve: false + }) + ); // ------------------------ stkcvxcrvUSDUSDC ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -5540,6 +6205,22 @@ contract PriceFeedDataLive { reserve: true }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_stkcvxcrvUSDUSDC, + tokenHasSamePriceFeed: TOKEN_crvUSDUSDC, + trusted: false, + reserve: false + }) + ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_stkcvxcrvUSDUSDC, + tokenHasSamePriceFeed: TOKEN_crvUSDUSDC, + trusted: false, + reserve: true + }) + ); // ------------------------ stkcvxcrvUSDUSDT ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -5606,6 +6287,22 @@ contract PriceFeedDataLive { reserve: true }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_stkcvxcrvUSDUSDT, + tokenHasSamePriceFeed: TOKEN_crvUSDUSDT, + trusted: false, + reserve: false + }) + ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_stkcvxcrvUSDUSDT, + tokenHasSamePriceFeed: TOKEN_crvUSDUSDT, + trusted: false, + reserve: true + }) + ); // ------------------------ stkcvxcrvUSDFRAX ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -5640,6 +6337,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_stkcvxcrvUSDFRAX, + tokenHasSamePriceFeed: TOKEN_crvUSDFRAX, + trusted: false, + reserve: false + }) + ); // ------------------------ stkcvxcrvUSDETHCRV ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -5674,6 +6379,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_stkcvxcrvUSDETHCRV, + tokenHasSamePriceFeed: TOKEN_crvUSDETHCRV, + trusted: false, + reserve: false + }) + ); // ------------------------ stkcvxGHOcrvUSD ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -5708,6 +6421,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_stkcvxGHOcrvUSD, + tokenHasSamePriceFeed: TOKEN_GHOcrvUSD, + trusted: false, + reserve: false + }) + ); // ------------------------ stkcvxllamathena ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -5774,6 +6495,22 @@ contract PriceFeedDataLive { reserve: true }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_stkcvxllamathena, + tokenHasSamePriceFeed: TOKEN_llamathena, + trusted: false, + reserve: false + }) + ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_stkcvxllamathena, + tokenHasSamePriceFeed: TOKEN_llamathena, + trusted: false, + reserve: true + }) + ); // ------------------------ cvxcrvUSDT ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -5808,6 +6545,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_cvxcrvUSDT, + tokenHasSamePriceFeed: TOKEN_crvUSDT, + trusted: false, + reserve: false + }) + ); // ------------------------ B_80BAL_20WETH ------------------------ balancerWeightedLPPriceFeedsByNetwork[1].push( @@ -5842,6 +6587,14 @@ contract PriceFeedDataLive { reserve: false }) ); + balancerWeightedLPPriceFeedsByNetwork[146].push( + BalancerLPPriceFeedData({ + lpToken: TOKEN_B_80BAL_20WETH, + assets: TokensLib.arrayOf(TOKEN_BAL, TOKEN_WETH), + trusted: false, + reserve: false + }) + ); // ------------------------ 50WETH_50AURA ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -5856,6 +6609,9 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN__50WETH_50AURA, trusted: false, reserve: false}) ); + zeroPriceFeedsByNetwork[146].push( + SingeTokenPriceFeedData({token: TOKEN__50WETH_50AURA, trusted: false, reserve: false}) + ); // ------------------------ USDC_DAI_USDT ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( @@ -5890,6 +6646,14 @@ contract PriceFeedDataLive { reserve: false }) ); + balancerStableLPPriceFeedsByNetwork[146].push( + BalancerLPPriceFeedData({ + lpToken: TOKEN_USDC_DAI_USDT, + assets: TokensLib.arrayOf(TOKEN_USDC, TOKEN_DAI, TOKEN_USDT), + trusted: false, + reserve: false + }) + ); // ------------------------ B_rETH_STABLE ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( @@ -5924,6 +6688,14 @@ contract PriceFeedDataLive { reserve: false }) ); + balancerStableLPPriceFeedsByNetwork[146].push( + BalancerLPPriceFeedData({ + lpToken: TOKEN_B_rETH_STABLE, + assets: TokensLib.arrayOf(TOKEN_rETH, TOKEN_WETH), + trusted: false, + reserve: false + }) + ); // ------------------------ weETH_rETH ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( @@ -5958,6 +6730,14 @@ contract PriceFeedDataLive { reserve: false }) ); + balancerStableLPPriceFeedsByNetwork[146].push( + BalancerLPPriceFeedData({ + lpToken: TOKEN_weETH_rETH, + assets: TokensLib.arrayOf(TOKEN_weETH, TOKEN_rETH), + trusted: false, + reserve: false + }) + ); // ------------------------ osETH_wETH_BPT ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( @@ -5992,6 +6772,14 @@ contract PriceFeedDataLive { reserve: false }) ); + balancerStableLPPriceFeedsByNetwork[146].push( + BalancerLPPriceFeedData({ + lpToken: TOKEN_osETH_wETH_BPT, + assets: TokensLib.arrayOf(TOKEN_WETH, TOKEN_osETH), + trusted: false, + reserve: false + }) + ); // ------------------------ ezETH_WETH_BPT ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -6006,6 +6794,9 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_ezETH_WETH_BPT, trusted: false, reserve: false}) ); + zeroPriceFeedsByNetwork[146].push( + SingeTokenPriceFeedData({token: TOKEN_ezETH_WETH_BPT, trusted: false, reserve: false}) + ); // ------------------------ sUSDe_USDC_BPT ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -6020,6 +6811,9 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_sUSDe_USDC_BPT, trusted: false, reserve: false}) ); + zeroPriceFeedsByNetwork[146].push( + SingeTokenPriceFeedData({token: TOKEN_sUSDe_USDC_BPT, trusted: false, reserve: false}) + ); // ------------------------ trenSTETH ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -6034,6 +6828,9 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_trenSTETH, trusted: false, reserve: false}) ); + zeroPriceFeedsByNetwork[146].push( + SingeTokenPriceFeedData({token: TOKEN_trenSTETH, trusted: false, reserve: false}) + ); // ------------------------ DVstETH_wstETH_BPT ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -6048,6 +6845,9 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_DVstETH_wstETH_BPT, trusted: false, reserve: false}) ); + zeroPriceFeedsByNetwork[146].push( + SingeTokenPriceFeedData({token: TOKEN_DVstETH_wstETH_BPT, trusted: false, reserve: false}) + ); // ------------------------ weETH_ezETH_rswETH ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -6062,6 +6862,9 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_weETH_ezETH_rswETH, trusted: false, reserve: false}) ); + zeroPriceFeedsByNetwork[146].push( + SingeTokenPriceFeedData({token: TOKEN_weETH_ezETH_rswETH, trusted: false, reserve: false}) + ); // ------------------------ rsETH_WETH ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( @@ -6096,6 +6899,14 @@ contract PriceFeedDataLive { reserve: false }) ); + balancerStableLPPriceFeedsByNetwork[146].push( + BalancerLPPriceFeedData({ + lpToken: TOKEN_rsETH_WETH, + assets: TokensLib.arrayOf(TOKEN_rsETH, TOKEN_WETH), + trusted: false, + reserve: false + }) + ); // ------------------------ rsETH_wETH_Arb ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( @@ -6130,6 +6941,14 @@ contract PriceFeedDataLive { reserve: false }) ); + balancerStableLPPriceFeedsByNetwork[146].push( + BalancerLPPriceFeedData({ + lpToken: TOKEN_rsETH_wETH_Arb, + assets: TokensLib.arrayOf(TOKEN_rsETH, TOKEN_WETH), + trusted: false, + reserve: false + }) + ); // ------------------------ BPT_rETH_ETH ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( @@ -6164,6 +6983,14 @@ contract PriceFeedDataLive { reserve: false }) ); + balancerStableLPPriceFeedsByNetwork[146].push( + BalancerLPPriceFeedData({ + lpToken: TOKEN_BPT_rETH_ETH, + assets: TokensLib.arrayOf(TOKEN_rETH, TOKEN_WETH), + trusted: false, + reserve: false + }) + ); // ------------------------ BPT_WSTETH_ETH ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( @@ -6198,6 +7025,14 @@ contract PriceFeedDataLive { reserve: false }) ); + balancerStableLPPriceFeedsByNetwork[146].push( + BalancerLPPriceFeedData({ + lpToken: TOKEN_BPT_WSTETH_ETH, + assets: TokensLib.arrayOf(TOKEN_wstETH, TOKEN_WETH), + trusted: false, + reserve: false + }) + ); // ------------------------ BPT_ROAD ------------------------ balancerWeightedLPPriceFeedsByNetwork[1].push( @@ -6232,6 +7067,14 @@ contract PriceFeedDataLive { reserve: false }) ); + balancerWeightedLPPriceFeedsByNetwork[146].push( + BalancerLPPriceFeedData({ + lpToken: TOKEN_BPT_ROAD, + assets: TokensLib.arrayOf(TOKEN_WETH, TOKEN_OP, TOKEN_USDC), + trusted: false, + reserve: false + }) + ); // ------------------------ ECLP_wstETH_WETH ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -6246,6 +7089,9 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_ECLP_wstETH_WETH, trusted: true, reserve: false}) ); + zeroPriceFeedsByNetwork[146].push( + SingeTokenPriceFeedData({token: TOKEN_ECLP_wstETH_WETH, trusted: true, reserve: false}) + ); // ------------------------ wstETH_WETH_BPT ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( @@ -6280,6 +7126,14 @@ contract PriceFeedDataLive { reserve: false }) ); + balancerStableLPPriceFeedsByNetwork[146].push( + BalancerLPPriceFeedData({ + lpToken: TOKEN_wstETH_WETH_BPT, + assets: TokensLib.arrayOf(TOKEN_wstETH, TOKEN_WETH), + trusted: false, + reserve: false + }) + ); // ------------------------ wstETH_rETH_cbETH ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( @@ -6314,6 +7168,14 @@ contract PriceFeedDataLive { reserve: false }) ); + balancerStableLPPriceFeedsByNetwork[146].push( + BalancerLPPriceFeedData({ + lpToken: TOKEN_wstETH_rETH_cbETH, + assets: TokensLib.arrayOf(TOKEN_wstETH, TOKEN_rETH, TOKEN_cbETH), + trusted: false, + reserve: false + }) + ); // ------------------------ cbETH_rETH_wstETH ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( @@ -6348,6 +7210,14 @@ contract PriceFeedDataLive { reserve: false }) ); + balancerStableLPPriceFeedsByNetwork[146].push( + BalancerLPPriceFeedData({ + lpToken: TOKEN_cbETH_rETH_wstETH, + assets: TokensLib.arrayOf(TOKEN_cbETH, TOKEN_wstETH, TOKEN_rETH), + trusted: false, + reserve: false + }) + ); // ------------------------ wstETH_rETH_sfrxETH ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( @@ -6382,6 +7252,14 @@ contract PriceFeedDataLive { reserve: false }) ); + balancerStableLPPriceFeedsByNetwork[146].push( + BalancerLPPriceFeedData({ + lpToken: TOKEN_wstETH_rETH_sfrxETH, + assets: TokensLib.arrayOf(TOKEN_wstETH, TOKEN_rETH, TOKEN_sfrxETH), + trusted: false, + reserve: false + }) + ); // ------------------------ rETH_WETH_BPT_deprecated ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( @@ -6416,6 +7294,14 @@ contract PriceFeedDataLive { reserve: false }) ); + balancerStableLPPriceFeedsByNetwork[146].push( + BalancerLPPriceFeedData({ + lpToken: TOKEN_rETH_WETH_BPT_deprecated, + assets: TokensLib.arrayOf(TOKEN_rETH, TOKEN_WETH), + trusted: false, + reserve: false + }) + ); // ------------------------ rETH_wETH_BPT ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( @@ -6450,6 +7336,14 @@ contract PriceFeedDataLive { reserve: false }) ); + balancerStableLPPriceFeedsByNetwork[146].push( + BalancerLPPriceFeedData({ + lpToken: TOKEN_rETH_wETH_BPT, + assets: TokensLib.arrayOf(TOKEN_rETH, TOKEN_WETH), + trusted: false, + reserve: false + }) + ); // ------------------------ bpt_ethtri ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( @@ -6484,6 +7378,14 @@ contract PriceFeedDataLive { reserve: false }) ); + balancerStableLPPriceFeedsByNetwork[146].push( + BalancerLPPriceFeedData({ + lpToken: TOKEN_bpt_ethtri, + assets: TokensLib.arrayOf(TOKEN_wstETH, TOKEN_sfrxETH, TOKEN_rETH), + trusted: false, + reserve: false + }) + ); // ------------------------ pumpBTC_WBTC_BPT ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -6498,6 +7400,9 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_pumpBTC_WBTC_BPT, trusted: false, reserve: false}) ); + zeroPriceFeedsByNetwork[146].push( + SingeTokenPriceFeedData({token: TOKEN_pumpBTC_WBTC_BPT, trusted: false, reserve: false}) + ); // ------------------------ eBTC_WBTC_BPT ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -6512,6 +7417,9 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_eBTC_WBTC_BPT, trusted: false, reserve: false}) ); + zeroPriceFeedsByNetwork[146].push( + SingeTokenPriceFeedData({token: TOKEN_eBTC_WBTC_BPT, trusted: false, reserve: false}) + ); // ------------------------ 33AURA_33ARB_33BAL ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -6526,6 +7434,9 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN__33AURA_33ARB_33BAL, trusted: true, reserve: false}) ); + zeroPriceFeedsByNetwork[146].push( + SingeTokenPriceFeedData({token: TOKEN__33AURA_33ARB_33BAL, trusted: true, reserve: false}) + ); // ------------------------ ezETH_wstETH ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -6540,6 +7451,9 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_ezETH_wstETH, trusted: true, reserve: false}) ); + zeroPriceFeedsByNetwork[146].push( + SingeTokenPriceFeedData({token: TOKEN_ezETH_wstETH, trusted: true, reserve: false}) + ); // ------------------------ GHO_USDT_USDC ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -6554,6 +7468,9 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_GHO_USDT_USDC, trusted: true, reserve: false}) ); + zeroPriceFeedsByNetwork[146].push( + SingeTokenPriceFeedData({token: TOKEN_GHO_USDT_USDC, trusted: true, reserve: false}) + ); // ------------------------ dDAI ------------------------ zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_dDAI, trusted: false, reserve: false})); @@ -6741,6 +7658,9 @@ contract PriceFeedDataLive { theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({token: TOKEN_aDAI, tokenHasSamePriceFeed: TOKEN_DAI, trusted: false, reserve: false}) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({token: TOKEN_aDAI, tokenHasSamePriceFeed: TOKEN_DAI, trusted: false, reserve: false}) + ); // ------------------------ aUSDC ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -6755,6 +7675,9 @@ contract PriceFeedDataLive { theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({token: TOKEN_aUSDC, tokenHasSamePriceFeed: TOKEN_USDC, trusted: false, reserve: false}) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({token: TOKEN_aUSDC, tokenHasSamePriceFeed: TOKEN_USDC, trusted: false, reserve: false}) + ); // ------------------------ aUSDT ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -6769,6 +7692,9 @@ contract PriceFeedDataLive { theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({token: TOKEN_aUSDT, tokenHasSamePriceFeed: TOKEN_USDT, trusted: false, reserve: false}) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({token: TOKEN_aUSDT, tokenHasSamePriceFeed: TOKEN_USDT, trusted: false, reserve: false}) + ); // ------------------------ aWETH ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -6783,6 +7709,9 @@ contract PriceFeedDataLive { theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({token: TOKEN_aWETH, tokenHasSamePriceFeed: TOKEN_WETH, trusted: false, reserve: false}) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({token: TOKEN_aWETH, tokenHasSamePriceFeed: TOKEN_WETH, trusted: false, reserve: false}) + ); // ------------------------ waDAI ------------------------ wrappedAaveV2PriceFeedsByNetwork[1].push( @@ -6797,6 +7726,9 @@ contract PriceFeedDataLive { wrappedAaveV2PriceFeedsByNetwork[8453].push( GenericLPPriceFeedData({lpToken: TOKEN_waDAI, underlying: TOKEN_aDAI, trusted: false, reserve: false}) ); + wrappedAaveV2PriceFeedsByNetwork[146].push( + GenericLPPriceFeedData({lpToken: TOKEN_waDAI, underlying: TOKEN_aDAI, trusted: false, reserve: false}) + ); // ------------------------ waUSDC ------------------------ wrappedAaveV2PriceFeedsByNetwork[1].push( @@ -6811,6 +7743,9 @@ contract PriceFeedDataLive { wrappedAaveV2PriceFeedsByNetwork[8453].push( GenericLPPriceFeedData({lpToken: TOKEN_waUSDC, underlying: TOKEN_aUSDC, trusted: false, reserve: false}) ); + wrappedAaveV2PriceFeedsByNetwork[146].push( + GenericLPPriceFeedData({lpToken: TOKEN_waUSDC, underlying: TOKEN_aUSDC, trusted: false, reserve: false}) + ); // ------------------------ waUSDT ------------------------ wrappedAaveV2PriceFeedsByNetwork[1].push( @@ -6825,6 +7760,9 @@ contract PriceFeedDataLive { wrappedAaveV2PriceFeedsByNetwork[8453].push( GenericLPPriceFeedData({lpToken: TOKEN_waUSDT, underlying: TOKEN_aUSDT, trusted: false, reserve: false}) ); + wrappedAaveV2PriceFeedsByNetwork[146].push( + GenericLPPriceFeedData({lpToken: TOKEN_waUSDT, underlying: TOKEN_aUSDT, trusted: false, reserve: false}) + ); // ------------------------ waWETH ------------------------ wrappedAaveV2PriceFeedsByNetwork[1].push( @@ -6839,6 +7777,9 @@ contract PriceFeedDataLive { wrappedAaveV2PriceFeedsByNetwork[8453].push( GenericLPPriceFeedData({lpToken: TOKEN_waWETH, underlying: TOKEN_aWETH, trusted: false, reserve: false}) ); + wrappedAaveV2PriceFeedsByNetwork[146].push( + GenericLPPriceFeedData({lpToken: TOKEN_waWETH, underlying: TOKEN_aWETH, trusted: false, reserve: false}) + ); // ------------------------ cDAI ------------------------ compoundV2PriceFeedsByNetwork[1].push( @@ -6853,6 +7794,9 @@ contract PriceFeedDataLive { compoundV2PriceFeedsByNetwork[8453].push( GenericLPPriceFeedData({lpToken: TOKEN_cDAI, underlying: TOKEN_DAI, trusted: false, reserve: false}) ); + compoundV2PriceFeedsByNetwork[146].push( + GenericLPPriceFeedData({lpToken: TOKEN_cDAI, underlying: TOKEN_DAI, trusted: false, reserve: false}) + ); // ------------------------ cUSDC ------------------------ compoundV2PriceFeedsByNetwork[1].push( @@ -6867,6 +7811,9 @@ contract PriceFeedDataLive { compoundV2PriceFeedsByNetwork[8453].push( GenericLPPriceFeedData({lpToken: TOKEN_cUSDC, underlying: TOKEN_USDC, trusted: false, reserve: false}) ); + compoundV2PriceFeedsByNetwork[146].push( + GenericLPPriceFeedData({lpToken: TOKEN_cUSDC, underlying: TOKEN_USDC, trusted: false, reserve: false}) + ); // ------------------------ cUSDT ------------------------ compoundV2PriceFeedsByNetwork[1].push( @@ -6881,6 +7828,9 @@ contract PriceFeedDataLive { compoundV2PriceFeedsByNetwork[8453].push( GenericLPPriceFeedData({lpToken: TOKEN_cUSDT, underlying: TOKEN_USDT, trusted: false, reserve: false}) ); + compoundV2PriceFeedsByNetwork[146].push( + GenericLPPriceFeedData({lpToken: TOKEN_cUSDT, underlying: TOKEN_USDT, trusted: false, reserve: false}) + ); // ------------------------ cLINK ------------------------ compoundV2PriceFeedsByNetwork[1].push( @@ -6895,6 +7845,9 @@ contract PriceFeedDataLive { compoundV2PriceFeedsByNetwork[8453].push( GenericLPPriceFeedData({lpToken: TOKEN_cLINK, underlying: TOKEN_LINK, trusted: false, reserve: false}) ); + compoundV2PriceFeedsByNetwork[146].push( + GenericLPPriceFeedData({lpToken: TOKEN_cLINK, underlying: TOKEN_LINK, trusted: false, reserve: false}) + ); // ------------------------ cETH ------------------------ compoundV2PriceFeedsByNetwork[1].push( @@ -6909,6 +7862,9 @@ contract PriceFeedDataLive { compoundV2PriceFeedsByNetwork[8453].push( GenericLPPriceFeedData({lpToken: TOKEN_cETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) ); + compoundV2PriceFeedsByNetwork[146].push( + GenericLPPriceFeedData({lpToken: TOKEN_cETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) + ); // ------------------------ fUSDC ------------------------ compoundV2PriceFeedsByNetwork[1].push( @@ -6923,6 +7879,9 @@ contract PriceFeedDataLive { compoundV2PriceFeedsByNetwork[8453].push( GenericLPPriceFeedData({lpToken: TOKEN_fUSDC, underlying: TOKEN_USDC, trusted: false, reserve: false}) ); + compoundV2PriceFeedsByNetwork[146].push( + GenericLPPriceFeedData({lpToken: TOKEN_fUSDC, underlying: TOKEN_USDC, trusted: false, reserve: false}) + ); // ------------------------ MKR ------------------------ chainlinkPriceFeedsByNetwork[1].push( @@ -7129,6 +8088,31 @@ contract PriceFeedDataLive { reserve: true }) ); + erc4626PriceFeedsByNetwork[146].push( + GenericLPPriceFeedData({lpToken: TOKEN_sDAI, underlying: TOKEN_DAI, trusted: false, reserve: false}) + ); + redStonePriceFeedsByNetwork[146].push( + RedStonePriceFeedData({ + token: TOKEN_sDAI, + dataServiceId: "redstone-primary-prod", + dataFeedId: "sDAI", + signers: [ + 0x8BB8F32Df04c8b654987DAaeD53D6B6091e3B774, + 0xdEB22f54738d54976C4c0fe5ce6d408E40d88499, + 0x51Ce04Be4b3E32572C4Ec9135221d0691Ba7d202, + 0xDD682daEC5A90dD295d14DA4b0bec9281017b5bE, + 0x9c5AE89C4Af6aA32cE58588DBaF90d18a855B6de, + address(0), + address(0), + address(0), + address(0), + address(0) + ], + signersThreshold: 5, + trusted: false, + reserve: true + }) + ); // ------------------------ sUSDe ------------------------ erc4626PriceFeedsByNetwork[1].push( @@ -7179,6 +8163,18 @@ contract PriceFeedDataLive { reserve: true }) ); + erc4626PriceFeedsByNetwork[146].push( + GenericLPPriceFeedData({lpToken: TOKEN_sUSDe, underlying: TOKEN_USDe, trusted: false, reserve: false}) + ); + chainlinkPriceFeedsByNetwork[146].push( + ChainlinkPriceFeedData({ + token: TOKEN_sUSDe, + priceFeed: 0xb99D174ED06c83588Af997c8859F93E83dD4733f, + stalenessPeriod: 87300, + trusted: false, + reserve: true + }) + ); // ------------------------ YieldETH ------------------------ erc4626PriceFeedsByNetwork[1].push( @@ -7193,6 +8189,9 @@ contract PriceFeedDataLive { erc4626PriceFeedsByNetwork[8453].push( GenericLPPriceFeedData({lpToken: TOKEN_YieldETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) ); + erc4626PriceFeedsByNetwork[146].push( + GenericLPPriceFeedData({lpToken: TOKEN_YieldETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) + ); // ------------------------ sUSDS ------------------------ erc4626PriceFeedsByNetwork[1].push( @@ -7219,6 +8218,12 @@ contract PriceFeedDataLive { erc4626PriceFeedsByNetwork[8453].push( GenericLPPriceFeedData({lpToken: TOKEN_sUSDS, underlying: TOKEN_USDS, trusted: false, reserve: true}) ); + erc4626PriceFeedsByNetwork[146].push( + GenericLPPriceFeedData({lpToken: TOKEN_sUSDS, underlying: TOKEN_USDS, trusted: false, reserve: false}) + ); + erc4626PriceFeedsByNetwork[146].push( + GenericLPPriceFeedData({lpToken: TOKEN_sUSDS, underlying: TOKEN_USDS, trusted: false, reserve: true}) + ); // ------------------------ scrvUSD ------------------------ erc4626PriceFeedsByNetwork[1].push( @@ -7261,6 +8266,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_auraB_rETH_STABLE, + tokenHasSamePriceFeed: TOKEN_B_rETH_STABLE, + trusted: false, + reserve: false + }) + ); // ------------------------ auraB_rETH_STABLE_vault ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -7295,6 +8308,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_auraB_rETH_STABLE_vault, + tokenHasSamePriceFeed: TOKEN_B_rETH_STABLE, + trusted: false, + reserve: false + }) + ); // ------------------------ auraweETH_rETH ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -7329,6 +8350,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_auraweETH_rETH, + tokenHasSamePriceFeed: TOKEN_weETH_rETH, + trusted: false, + reserve: false + }) + ); // ------------------------ auraweETH_rETH_vault ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -7363,6 +8392,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_auraweETH_rETH_vault, + tokenHasSamePriceFeed: TOKEN_weETH_rETH, + trusted: false, + reserve: false + }) + ); // ------------------------ auraosETH_wETH_BPT ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -7397,6 +8434,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_auraosETH_wETH_BPT, + tokenHasSamePriceFeed: TOKEN_osETH_wETH_BPT, + trusted: false, + reserve: false + }) + ); // ------------------------ aurarETH_wETH_BPT ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -7431,6 +8476,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_aurarETH_wETH_BPT, + tokenHasSamePriceFeed: TOKEN_rETH_wETH_BPT, + trusted: false, + reserve: false + }) + ); // ------------------------ auracbETH_rETH_wstETH ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -7465,6 +8518,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_auracbETH_rETH_wstETH, + tokenHasSamePriceFeed: TOKEN_cbETH_rETH_wstETH, + trusted: false, + reserve: false + }) + ); // ------------------------ aurawstETH_rETH_sfrxETH ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -7499,6 +8560,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_aurawstETH_rETH_sfrxETH, + tokenHasSamePriceFeed: TOKEN_wstETH_rETH_sfrxETH, + trusted: false, + reserve: false + }) + ); // ------------------------ aurawstETH_WETH_BPT ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -7533,6 +8602,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_aurawstETH_WETH_BPT, + tokenHasSamePriceFeed: TOKEN_wstETH_WETH_BPT, + trusted: false, + reserve: false + }) + ); // ------------------------ auraosETH_wETH_BPT_vault ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -7567,6 +8644,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_auraosETH_wETH_BPT_vault, + tokenHasSamePriceFeed: TOKEN_osETH_wETH_BPT, + trusted: false, + reserve: false + }) + ); // ------------------------ auraBPT_rETH_ETH ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -7601,6 +8686,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_auraBPT_rETH_ETH, + tokenHasSamePriceFeed: TOKEN_BPT_rETH_ETH, + trusted: false, + reserve: false + }) + ); // ------------------------ auraBPT_rETH_ETH_vault ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -7635,6 +8728,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_auraBPT_rETH_ETH_vault, + tokenHasSamePriceFeed: TOKEN_BPT_rETH_ETH, + trusted: false, + reserve: false + }) + ); // ------------------------ auraBPT_WSTETH_ETH ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -7669,6 +8770,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_auraBPT_WSTETH_ETH, + tokenHasSamePriceFeed: TOKEN_BPT_WSTETH_ETH, + trusted: false, + reserve: false + }) + ); // ------------------------ auraBPT_WSTETH_ETH_vault ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -7703,6 +8812,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_auraBPT_WSTETH_ETH_vault, + tokenHasSamePriceFeed: TOKEN_BPT_WSTETH_ETH, + trusted: false, + reserve: false + }) + ); // ------------------------ aurarETH_wETH_BPT_vault ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -7737,6 +8854,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_aurarETH_wETH_BPT_vault, + tokenHasSamePriceFeed: TOKEN_rETH_wETH_BPT, + trusted: false, + reserve: false + }) + ); // ------------------------ auracbETH_rETH_wstETH_vault ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -7771,6 +8896,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_auracbETH_rETH_wstETH_vault, + tokenHasSamePriceFeed: TOKEN_cbETH_rETH_wstETH, + trusted: false, + reserve: false + }) + ); // ------------------------ aurawstETH_rETH_sfrxETH_vault ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -7805,6 +8938,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_aurawstETH_rETH_sfrxETH_vault, + tokenHasSamePriceFeed: TOKEN_wstETH_rETH_sfrxETH, + trusted: false, + reserve: false + }) + ); // ------------------------ aurawstETH_WETH_BPT_vault ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -7839,6 +8980,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_aurawstETH_WETH_BPT_vault, + tokenHasSamePriceFeed: TOKEN_wstETH_WETH_BPT, + trusted: false, + reserve: false + }) + ); // ------------------------ zpufETH ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -7873,6 +9022,14 @@ contract PriceFeedDataLive { reserve: false }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_zpufETH, + tokenHasSamePriceFeed: TOKEN_pufETH, + trusted: false, + reserve: false + }) + ); // ------------------------ stkUSDS ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -7939,6 +9096,22 @@ contract PriceFeedDataLive { reserve: true }) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_stkUSDS, + tokenHasSamePriceFeed: TOKEN_USDS, + trusted: false, + reserve: false + }) + ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_stkUSDS, + tokenHasSamePriceFeed: TOKEN_USDS, + trusted: false, + reserve: true + }) + ); // ------------------------ steakLRT ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -7983,6 +9156,17 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_steakLRT, trusted: false, reserve: true}) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_steakLRT, + tokenHasSamePriceFeed: TOKEN_wstETH, + trusted: false, + reserve: false + }) + ); + zeroPriceFeedsByNetwork[146].push( + SingeTokenPriceFeedData({token: TOKEN_steakLRT, trusted: false, reserve: true}) + ); // ------------------------ Re7LRT ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -8025,6 +9209,15 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_Re7LRT, trusted: false, reserve: true}) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_Re7LRT, + tokenHasSamePriceFeed: TOKEN_wstETH, + trusted: false, + reserve: false + }) + ); + zeroPriceFeedsByNetwork[146].push(SingeTokenPriceFeedData({token: TOKEN_Re7LRT, trusted: false, reserve: true})); // ------------------------ amphrETH ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -8069,6 +9262,17 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_amphrETH, trusted: false, reserve: true}) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_amphrETH, + tokenHasSamePriceFeed: TOKEN_wstETH, + trusted: false, + reserve: false + }) + ); + zeroPriceFeedsByNetwork[146].push( + SingeTokenPriceFeedData({token: TOKEN_amphrETH, trusted: false, reserve: true}) + ); // ------------------------ rstETH ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -8111,6 +9315,15 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_rstETH, trusted: false, reserve: true}) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_rstETH, + tokenHasSamePriceFeed: TOKEN_wstETH, + trusted: false, + reserve: false + }) + ); + zeroPriceFeedsByNetwork[146].push(SingeTokenPriceFeedData({token: TOKEN_rstETH, trusted: false, reserve: true})); // ------------------------ pzETH ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -8151,6 +9364,15 @@ contract PriceFeedDataLive { }) ); zeroPriceFeedsByNetwork[8453].push(SingeTokenPriceFeedData({token: TOKEN_pzETH, trusted: false, reserve: true})); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_pzETH, + tokenHasSamePriceFeed: TOKEN_wstETH, + trusted: false, + reserve: false + }) + ); + zeroPriceFeedsByNetwork[146].push(SingeTokenPriceFeedData({token: TOKEN_pzETH, trusted: false, reserve: true})); // ------------------------ DVstETH ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -8193,6 +9415,17 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_DVstETH, trusted: false, reserve: true}) ); + theSamePriceFeedsByNetwork[146].push( + TheSamePriceFeedData({ + token: TOKEN_DVstETH, + tokenHasSamePriceFeed: TOKEN_wstETH, + trusted: false, + reserve: false + }) + ); + zeroPriceFeedsByNetwork[146].push( + SingeTokenPriceFeedData({token: TOKEN_DVstETH, trusted: false, reserve: true}) + ); // ------------------------ PT_rsETH_26SEP2024 ------------------------ pendlePriceFeedsByNetwork[1].push( diff --git a/contracts/TokensData.sol b/contracts/TokensData.sol index 3501183..6a8dee2 100644 --- a/contracts/TokensData.sol +++ b/contracts/TokensData.sol @@ -2780,6 +2780,15 @@ contract TokensDataLive { tokenType: TokenType.NORMAL_TOKEN }) ); + + tokenDataByNetwork[146].push( + TokenData({ + id: TOKEN_USDC, + addr: 0x29219dd400f2Bf60E5a23d13Be72B486D4038894, + symbol: "USDC", + tokenType: TokenType.NORMAL_TOKEN + }) + ); } function getTokenData(uint256 chainId) external view returns (TokenData[] memory) { diff --git a/src/contracts/contracts.ts b/src/contracts/contracts.ts index 6d9fca4..4e0bb3b 100755 --- a/src/contracts/contracts.ts +++ b/src/contracts/contracts.ts @@ -848,6 +848,171 @@ export const contractsByNetwork: Record< MELLOW_RENZO_VAULT: tokenDataByNetwork.Base.pzETH, MELLOW_DECENTALIZED_VALIDATOR_VAULT: tokenDataByNetwork.Base.DVstETH, + SKY_STAKING_REWARDS: NOT_DEPLOYED, + DAI_USDS: NOT_DEPLOYED, + }, + // + // + // + // + // SONIC + // + // + // + // + Sonic: { + UNISWAP_V2_ROUTER: NOT_DEPLOYED, + UNISWAP_V3_ROUTER: NOT_DEPLOYED, + PANCAKESWAP_V3_ROUTER: NOT_DEPLOYED, + SUSHISWAP_ROUTER: NOT_DEPLOYED, + FRAXSWAP_ROUTER: NOT_DEPLOYED, + VELODROME_V2_ROUTER: NOT_DEPLOYED, + VELODROME_CL_ROUTER: NOT_DEPLOYED, + CAMELOT_V3_ROUTER: NOT_DEPLOYED, + PENDLE_ROUTER: NOT_DEPLOYED, + + // CURVE + CURVE_3CRV_POOL_OP: NOT_DEPLOYED, + CURVE_3CRV_POOL: NOT_DEPLOYED, + CURVE_FRAX_USDC_POOL: NOT_DEPLOYED, + CURVE_STETH_GATEWAY: NOT_DEPLOYED, + CURVE_FRAX_POOL: NOT_DEPLOYED, + CURVE_LUSD_POOL: NOT_DEPLOYED, + CURVE_SUSD_POOL: NOT_DEPLOYED, + CURVE_SUSD_DEPOSIT: NOT_DEPLOYED, + CURVE_GUSD_POOL: NOT_DEPLOYED, + CURVE_CRVETH_POOL: NOT_DEPLOYED, + CURVE_CVXETH_POOL: NOT_DEPLOYED, + CURVE_3CRYPTO_POOL: NOT_DEPLOYED, + CURVE_LDOETH_POOL: NOT_DEPLOYED, + CURVE_USDE_USDC_POOL: NOT_DEPLOYED, + CURVE_FRAX_USDE_POOL: NOT_DEPLOYED, + CURVE_USDE_CRVUSD_POOL: NOT_DEPLOYED, + CURVE_FRAX_SDAI_POOL: NOT_DEPLOYED, + CURVE_DOLA_SUSDE_POOL: NOT_DEPLOYED, + CURVE_DOLA_FRAXBP_POOL: NOT_DEPLOYED, + CURVE_DOLA_CRVUSD_POOL: NOT_DEPLOYED, + CURVE_USDE_DAI_POOL: NOT_DEPLOYED, + CURVE_SDAI_SUSDE_POOL: NOT_DEPLOYED, + CURVE_GHO_USDE_POOL: NOT_DEPLOYED, + CURVE_PUFETH_WSTETH_POOL: NOT_DEPLOYED, + CURVE_GHO_CRVUSD_POOL: NOT_DEPLOYED, + CURVE_ETH_WSTETH_GATEWAY_OP: NOT_DEPLOYED, + CURVE_EZETH_ETH_POOL: NOT_DEPLOYED, + CURVE_EZPZ_ETH_POOL: NOT_DEPLOYED, + CURVE_LBTC_WBTC_POOL: NOT_DEPLOYED, + CURVE_EBTC_WBTC_POOL: NOT_DEPLOYED, + CURVE_PUMPBTC_WBTC_POOL: NOT_DEPLOYED, + CURVE_TRIBTC_POOL: NOT_DEPLOYED, + CURVE_tBTC_WBTC_POOL: NOT_DEPLOYED, + + CURVE_GEAR_POOL: NOT_DEPLOYED, + + CURVE_CRVUSD_USDC_POOL: NOT_DEPLOYED, + CURVE_CRVUSD_USDT_POOL: NOT_DEPLOYED, + CURVE_CRVUSD_FRAX_POOL: NOT_DEPLOYED, + CURVE_TRI_CRV_POOL: NOT_DEPLOYED, + CURVE_CRVUSD_SUSDE_POOL: NOT_DEPLOYED, + CURVE_LLAMA_THENA_POOL: NOT_DEPLOYED, + + CURVE_RETH_ETH_POOL: NOT_DEPLOYED, + + CURVE_2CRV_POOL_ARB: NOT_DEPLOYED, + CURVE_TRICRYPTO_CRVUSD_POOL_ARB: NOT_DEPLOYED, + CURVE_CRVUSD_USDC_POOL_ARB: NOT_DEPLOYED, + CURVE_CRVUSD_USDT_POOL_ARB: NOT_DEPLOYED, + CURVE_CRVUSD_USDC_E_POOL_ARB: NOT_DEPLOYED, + CURVE_USDE_USDC_POOL_ARB: NOT_DEPLOYED, + + // YEARN + YEARN_DAI_VAULT: NOT_DEPLOYED, + YEARN_USDC_VAULT: NOT_DEPLOYED, + YEARN_USDC_E_VAULT: NOT_DEPLOYED, + YEARN_WETH_VAULT: NOT_DEPLOYED, + YEARN_WBTC_VAULT: NOT_DEPLOYED, + YEARN_USDT_VAULT: NOT_DEPLOYED, + YEARN_OP_VAULT: NOT_DEPLOYED, + YEARN_CURVE_FRAX_VAULT: NOT_DEPLOYED, + YEARN_CURVE_STETH_VAULT: NOT_DEPLOYED, + + /// ERC4626 + MAKER_DSR_VAULT: NOT_DEPLOYED, + YIELD_ETH_VAULT: NOT_DEPLOYED, + STAKED_USDE_VAULT: NOT_DEPLOYED, + STAKED_USDS_VAULT: NOT_DEPLOYED, + SAVINGS_CRVUSD_VAULT: NOT_DEPLOYED, + + // CONVEX + CONVEX_BOOSTER: NOT_DEPLOYED, + CONVEX_3CRV_POOL: NOT_DEPLOYED, + CONVEX_FRAX_USDC_POOL: NOT_DEPLOYED, + CONVEX_STECRV_POOL: NOT_DEPLOYED, + CONVEX_SUSD_POOL: NOT_DEPLOYED, + CONVEX_FRAX3CRV_POOL: NOT_DEPLOYED, + CONVEX_LUSD3CRV_POOL: NOT_DEPLOYED, + CONVEX_GUSD_POOL: NOT_DEPLOYED, + CONVEX_CRVETH_POOL: NOT_DEPLOYED, + CONVEX_CVXETH_POOL: NOT_DEPLOYED, + CONVEX_3CRYPTO_POOL: NOT_DEPLOYED, + CONVEX_LDOETH_POOL: NOT_DEPLOYED, + CONVEX_CRVUSD_USDC_POOL: NOT_DEPLOYED, + CONVEX_CRVUSD_USDT_POOL: NOT_DEPLOYED, + CONVEX_CRVUSD_FRAX_POOL: NOT_DEPLOYED, + CONVEX_TRI_CRV_POOL: NOT_DEPLOYED, + CONVEX_GHO_CRVUSD_POOL: NOT_DEPLOYED, + CONVEX_LLAMA_THENA_POOL: NOT_DEPLOYED, + + CONVEX_BOOSTER_ARB: NOT_DEPLOYED, + CONVEX_CRVUSD_USDT_POOL_ARB: NOT_DEPLOYED, + + // AURA + AURA_BOOSTER: NOT_DEPLOYED, + AURA_WEETH_RETH_POOL: NOT_DEPLOYED, + AURA_OSETH_WETH_POOL: NOT_DEPLOYED, + AURA_B_RETH_STABLE_POOL: NOT_DEPLOYED, + AURA_BPT_RETH_ETH_POOL: NOT_DEPLOYED, + AURA_BPT_WSTETH_ETH_POOL: NOT_DEPLOYED, + AURA_RETH_WETH_POOL_ARB: NOT_DEPLOYED, + AURA_WSTETH_WETH_POOL_ARB: NOT_DEPLOYED, + AURA_CBETH_RETH_WSTETH_POOL_ARB: NOT_DEPLOYED, + AURA_WSTETH_RETH_SFRXETH_POOL_ARB: NOT_DEPLOYED, + + // LIDO + LIDO_STETH_GATEWAY: NOT_DEPLOYED, + LIDO_WSTETH: NOT_DEPLOYED, + + // BALANCER + BALANCER_VAULT: NOT_DEPLOYED, + + // GEARBOX + UNIVERSAL_ADAPTER: NOT_DEPLOYED, + + // AAVE + AAVE_V2_LENDING_POOL: NOT_DEPLOYED, + AAVE_V3_LENDING_POOL: NOT_DEPLOYED, + + AAVE_V2_DAI_TOKEN_WRAPPER: NOT_DEPLOYED, + AAVE_V2_USDC_TOKEN_WRAPPER: NOT_DEPLOYED, + AAVE_V2_USDT_TOKEN_WRAPPER: NOT_DEPLOYED, + AAVE_V2_WETH_TOKEN_WRAPPER: NOT_DEPLOYED, + + COMPOUND_V2_DAI_POOL: NOT_DEPLOYED, + COMPOUND_V2_USDC_POOL: NOT_DEPLOYED, + COMPOUND_V2_USDT_POOL: NOT_DEPLOYED, + COMPOUND_V2_LINK_POOL: NOT_DEPLOYED, + COMPOUND_V2_ETH_GATEWAY: NOT_DEPLOYED, + + FLUX_USDC_POOL: NOT_DEPLOYED, + ZIRCUIT_POOL: NOT_DEPLOYED, + + // MELLOW + MELLOW_STEAKHOUSE_VAULT: NOT_DEPLOYED, + MELLOW_RE7_LABS_VAULT: NOT_DEPLOYED, + MELLOW_AMPHOR_VAULT: NOT_DEPLOYED, + MELLOW_RESTAKING_VAULT: NOT_DEPLOYED, + MELLOW_RENZO_VAULT: NOT_DEPLOYED, + MELLOW_DECENTALIZED_VALIDATOR_VAULT: NOT_DEPLOYED, + SKY_STAKING_REWARDS: NOT_DEPLOYED, DAI_USDS: NOT_DEPLOYED, }, @@ -1186,6 +1351,7 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, // CURVE_STECRV_POOL Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, + Sonic: NOT_DEPLOYED, }, tokens: ["WETH", "STETH"], lpToken: "steCRV", @@ -1200,6 +1366,7 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, Optimism: "0xb90b9b1f91a01ea22a182cd84c1e22222e39b415", Base: NOT_DEPLOYED, + Sonic: NOT_DEPLOYED, }, tokens: ["WETH", "wstETH"], lpToken: "wstETHCRV", @@ -1214,6 +1381,7 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, + Sonic: NOT_DEPLOYED, }, tokens: ["GEAR", "WETH"], lpToken: "GEAR", @@ -1709,6 +1877,7 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, // CONVEX_SUSD_POOL_EXTRA_SNX Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, + Sonic: NOT_DEPLOYED, }, }, ], @@ -1726,6 +1895,7 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, // CONVEX_STECRV_POOL_EXTRA_LDO Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, + Sonic: NOT_DEPLOYED, }, }, ], @@ -1743,6 +1913,7 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, // CONVEX_FRAX3CRV_POOL_EXTRA_FXS Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, + Sonic: NOT_DEPLOYED, }, }, ], @@ -1760,6 +1931,7 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, // CONVEX_LUSD3CRV_POOL_EXTRA_LQTY Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, + Sonic: NOT_DEPLOYED, }, }, ], @@ -1778,6 +1950,7 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, + Sonic: NOT_DEPLOYED, }, }, ], @@ -1795,6 +1968,7 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, + Sonic: NOT_DEPLOYED, }, }, ], @@ -1819,6 +1993,7 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, + Sonic: NOT_DEPLOYED, }, }, ], @@ -1836,6 +2011,7 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, + Sonic: NOT_DEPLOYED, }, }, ], @@ -1853,6 +2029,7 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, + Sonic: NOT_DEPLOYED, }, }, ], @@ -1870,6 +2047,7 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, + Sonic: NOT_DEPLOYED, }, }, ], @@ -1887,6 +2065,7 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, + Sonic: NOT_DEPLOYED, }, }, ], @@ -1904,6 +2083,7 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, + Sonic: NOT_DEPLOYED, }, }, ], @@ -1921,6 +2101,7 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, + Sonic: NOT_DEPLOYED, }, }, ], @@ -1959,6 +2140,7 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, + Sonic: NOT_DEPLOYED, }, }, ], @@ -1977,6 +2159,7 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, + Sonic: NOT_DEPLOYED, }, }, ], @@ -1995,6 +2178,7 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, + Sonic: NOT_DEPLOYED, }, }, { @@ -2004,6 +2188,7 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, + Sonic: NOT_DEPLOYED, }, }, ], @@ -2022,6 +2207,7 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, Optimism: "0x0A22Ae9D9D149C14f6c15A235e715bB6C1Cfa739", Base: NOT_DEPLOYED, + Sonic: NOT_DEPLOYED, }, }, { @@ -2031,6 +2217,7 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, Optimism: "0x81673Cdd00c2839440f31575cCFa5B6ca4a87B2B", Base: NOT_DEPLOYED, + Sonic: NOT_DEPLOYED, }, }, ], @@ -2049,6 +2236,7 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, Optimism: "0x903d716fe68e7e091eCC43AA93c0F8cfD7e7BC0a", Base: NOT_DEPLOYED, + Sonic: NOT_DEPLOYED, }, }, { @@ -2058,6 +2246,7 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, Optimism: "0xb0709c230C06BE6e2A84b2Ba877094EB9a4fA014", Base: NOT_DEPLOYED, + Sonic: NOT_DEPLOYED, }, }, ], @@ -2075,6 +2264,7 @@ export const contractParams: Record = { Arbitrum: "0xC0353d05D3F2b6e14E36c5d3B4bF8d179890A001", Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, + Sonic: NOT_DEPLOYED, }, }, { @@ -2084,6 +2274,7 @@ export const contractParams: Record = { Arbitrum: "0x3a0beff39E243453960aD1198Fc3aAabdBDDe56C", Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, + Sonic: NOT_DEPLOYED, }, }, ], @@ -2101,6 +2292,7 @@ export const contractParams: Record = { Arbitrum: "0x5901ce1c3Bf6C97fC49ED0fF08A88a57ea6E4Ca4", Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, + Sonic: NOT_DEPLOYED, }, }, { @@ -2110,6 +2302,7 @@ export const contractParams: Record = { Arbitrum: "0x4601Ec46A285714e6F2A9466DA7f2BcB33646391", Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, + Sonic: NOT_DEPLOYED, }, }, ], @@ -2127,6 +2320,7 @@ export const contractParams: Record = { Arbitrum: "0xf0dcb30811228bED2b87b2753fabAfe80A9D0fb9", Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, + Sonic: NOT_DEPLOYED, }, }, { @@ -2136,6 +2330,7 @@ export const contractParams: Record = { Arbitrum: "0xE42D389058D820177b83E2863FEb13733d6Dd5f2", Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, + Sonic: NOT_DEPLOYED, }, }, ], @@ -2153,6 +2348,7 @@ export const contractParams: Record = { Arbitrum: "0xeA270927C226454452DDF80e24a02087D0D7089F", Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, + Sonic: NOT_DEPLOYED, }, }, { @@ -2162,6 +2358,7 @@ export const contractParams: Record = { Arbitrum: "0xB05Dc0b460Ca3ed5174b33A7dA2104388764F62D", Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, + Sonic: NOT_DEPLOYED, }, }, ], @@ -2176,6 +2373,7 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, // LIDO_ORACLE Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, + Sonic: NOT_DEPLOYED, }, lpToken: "steCRV", }, @@ -2201,6 +2399,7 @@ export const contractParams: Record = { Arbitrum: "0xE39B5e3B6D74016b2F6A9673D7d7493B6DF549d5", Optimism: "0xE39B5e3B6D74016b2F6A9673D7d7493B6DF549d5", Base: NOT_DEPLOYED, + Sonic: NOT_DEPLOYED, }, }, AAVE_V2_LENDING_POOL: { diff --git a/src/contracts/utilsContracts.ts b/src/contracts/utilsContracts.ts index feb8678..85af636 100644 --- a/src/contracts/utilsContracts.ts +++ b/src/contracts/utilsContracts.ts @@ -7,6 +7,7 @@ export const ADDRESS_PROVIDER: Record = { Arbitrum: "0x7d04eCdb892Ae074f03B5D0aBA03796F90F3F2af", Optimism: "0x3761ca4BFAcFCFFc1B8034e69F19116dD6756726", Base: NOT_DEPLOYED, + Sonic: NOT_DEPLOYED, }; export const TIMELOCK: Record = { @@ -14,6 +15,7 @@ export const TIMELOCK: Record = { Arbitrum: "0x148DD932eCe1155c11006F5650c6Ff428f8D374A", Optimism: "0x148DD932eCe1155c11006F5650c6Ff428f8D374A", Base: NOT_DEPLOYED, + Sonic: NOT_DEPLOYED, }; export const GOVERNOR: Record = { @@ -21,6 +23,7 @@ export const GOVERNOR: Record = { Arbitrum: "0xF0C89a0eDCD68B4176A26B3bf7574498DD3E6d09", Optimism: "0xF0C89a0eDCD68B4176A26B3bf7574498DD3E6d09", Base: NOT_DEPLOYED, + Sonic: NOT_DEPLOYED, }; export const BATCH_CHAIN: Record = { @@ -28,6 +31,7 @@ export const BATCH_CHAIN: Record = { Arbitrum: "0xAEbaa1015D0bc250F5b38aac9b8f65E0668cE3c2", Optimism: "0x5CfB7F186dEA745381ccb1D532e43223B5a6AD10", Base: NOT_DEPLOYED, + Sonic: NOT_DEPLOYED, }; export const BLACKLIST_HELPER: Record = { @@ -35,6 +39,7 @@ export const BLACKLIST_HELPER: Record = { Arbitrum: NOT_DEPLOYED, Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, + Sonic: NOT_DEPLOYED, }; export const CREATE2FACTORY: Record = { @@ -42,6 +47,7 @@ export const CREATE2FACTORY: Record = { Arbitrum: "0xad1231A64eE68D6BF721a1E8e177776cc49bAA2C", Optimism: "0xad1231A64eE68D6BF721a1E8e177776cc49bAA2C", Base: NOT_DEPLOYED, + Sonic: NOT_DEPLOYED, }; export const MULTISIG: Record = { @@ -49,6 +55,7 @@ export const MULTISIG: Record = { Arbitrum: "0x57Fd8B1a9213624157786Fff4a7bc532Ce717773", Optimism: "0x8bA8cd6D00919ceCc19D9B4A2c8669a524883C4c", Base: NOT_DEPLOYED, + Sonic: "0xacEB9dc6a81f1C9E2d8a86c3bFec3f6EF584139D", }; export const VETO_ADMIN: Record = { @@ -56,6 +63,7 @@ export const VETO_ADMIN: Record = { Arbitrum: "0x746fb3AcAfF6Bfe246206EC2E51F587d2E57abb6", Optimism: "0x9744f76dc5239Eb4DC2CE8D5538e1BA89C8FA90f", Base: NOT_DEPLOYED, + Sonic: "0x393eC629b90389F957c5a2E4FC2F8F488e735BFC", }; export const TREASURY: Record = { @@ -63,6 +71,7 @@ export const TREASURY: Record = { Arbitrum: "0x2c31eFFE426765E68A43163A96DD13DF70B53C14", Optimism: "0x1ACc5BC353f23B901801f3Ba48e1E51a14263808", Base: NOT_DEPLOYED, + Sonic: "0x74028Cf1cBa6A4513c9a27137E7d0F3847833795", }; export const ROUTER_MULTISIG_ADDRESS: Record = { @@ -70,6 +79,7 @@ export const ROUTER_MULTISIG_ADDRESS: Record = { Arbitrum: "0xEAb23245937A4F0894B0c92f08992C2c45Fc8df5", Optimism: "0x4cda5Fa96B5d436002175d958667C7EF3B644aA1", Base: NOT_DEPLOYED, + Sonic: "0x21DEE3c9bAc88F8cb96b7e7d19D3DFDB071EC81d", }; export const ROUTER_CREATE2FACTORY: Record = { @@ -77,6 +87,7 @@ export const ROUTER_CREATE2FACTORY: Record = { Arbitrum: "0x95345A4d55DAf6864924fC8861b311B9BC860E5f", Optimism: "0x95345A4d55DAf6864924fC8861b311B9BC860E5f", Base: NOT_DEPLOYED, + Sonic: NOT_DEPLOYED, }; export const emergencyLiquidators: Array
= [ diff --git a/src/core/chains.ts b/src/core/chains.ts index 1b767d5..7c629da 100644 --- a/src/core/chains.ts +++ b/src/core/chains.ts @@ -9,6 +9,7 @@ export const LOCAL_NETWORK = 1337; export const HARDHAT_NETWORK = 31337; export const ARBITRUM_NETWORK = 42161; export const BASE_NETWORK = 8453; +export const SONIC_NETWORK = 146; export const CHAINS = { Mainnet: MAINNET_NETWORK, @@ -17,6 +18,7 @@ export const CHAINS = { Hardhat: HARDHAT_NETWORK, Optimism: OPTIMISM_NETWORK, Base: BASE_NETWORK, + Sonic: SONIC_NETWORK, } as const; export const supportedChains = [ @@ -24,6 +26,7 @@ export const supportedChains = [ "Arbitrum", "Optimism", "Base", + "Sonic", ] as const; export type NetworkType = (typeof supportedChains)[number]; // "Polygon"; @@ -32,6 +35,7 @@ const SUPPORTED_CHAINS: Record = { [CHAINS.Arbitrum]: "Arbitrum", [CHAINS.Local]: "Mainnet", [CHAINS.Optimism]: "Optimism", + [CHAINS.Sonic]: "Sonic", // [CHAINS.Base]: "Polygon", }; @@ -62,6 +66,7 @@ export const detectNetwork = async ( const mainnetUSDC = tokenDataByNetwork.Mainnet["USDC"]; const arbitrumUSDC = tokenDataByNetwork.Arbitrum["USDC"]; const optimismUSDC = tokenDataByNetwork.Optimism["USDC"]; + const sonicUSDC = tokenDataByNetwork.Sonic["USDC"]; const mainnetUSDCContract = new Contract(mainnetUSDC, usdcABI, provider); @@ -69,6 +74,8 @@ export const detectNetwork = async ( const optimismUSDCContract = new Contract(optimismUSDC, usdcABI, provider); + const sonicUSDCContract = new Contract(sonicUSDC, usdcABI, provider); + try { await mainnetUSDCContract.symbol(); return "Mainnet" as NetworkType; @@ -84,5 +91,10 @@ export const detectNetwork = async ( return "Optimism" as NetworkType; } catch {} + try { + await sonicUSDCContract.symbol(); + return "Sonic" as NetworkType; + } catch {} + throw new Error("Unsupported network"); }; diff --git a/src/oracles/priceFeeds.ts b/src/oracles/priceFeeds.ts index 4601430..ead5810 100755 --- a/src/oracles/priceFeeds.ts +++ b/src/oracles/priceFeeds.ts @@ -1,4 +1,5 @@ import { NetworkType } from "../core/chains"; +import { NOT_DEPLOYED } from "../core/constants"; import { SupportedToken } from "../tokens/token"; import { Address, PartialRecord } from "../utils/types"; import { @@ -55,6 +56,7 @@ export const pythByNetwork: Record = { Arbitrum: "0xff1a0f4744e8582DF1aE09D5611b887B6a12925C", Optimism: "0xff1a0f4744e8582DF1aE09D5611b887B6a12925C", Base: "0x8250f4aF4B972684F7b336503E2D6dFeDeB1487a", + Sonic: NOT_DEPLOYED, }; export function getPriceFeedsByToken( diff --git a/src/tokens/quoted.ts b/src/tokens/quoted.ts index 994d22e..4ea704a 100644 --- a/src/tokens/quoted.ts +++ b/src/tokens/quoted.ts @@ -6,4 +6,5 @@ export const nonQuoted: Record> = { Arbitrum: ["WETH", "DAI", "USDC", "WBTC"], Optimism: ["WETH", "USDC", "OP"], Base: ["WETH", "USDC", "USDT"], + Sonic: [], }; diff --git a/src/tokens/token.ts b/src/tokens/token.ts index 0aa7917..2e523f7 100755 --- a/src/tokens/token.ts +++ b/src/tokens/token.ts @@ -1098,11 +1098,6 @@ export const tokenDataByNetwork: Record< // BASE // // - /// - /// - /// OPTIMISM - /// - /// Base: { "1INCH": NOT_DEPLOYED, AAVE: NOT_DEPLOYED, @@ -1400,6 +1395,316 @@ export const tokenDataByNetwork: Record< // SKY stkUSDS: NOT_DEPLOYED, + // MELLOW LRT + steakLRT: NOT_DEPLOYED, + Re7LRT: NOT_DEPLOYED, + amphrETH: NOT_DEPLOYED, + rstETH: NOT_DEPLOYED, + pzETH: NOT_DEPLOYED, + DVstETH: NOT_DEPLOYED, + }, + // + // + // SONIC + // + // + Sonic: { + "1INCH": NOT_DEPLOYED, + AAVE: NOT_DEPLOYED, + CRV: NOT_DEPLOYED, + DAI: NOT_DEPLOYED, + LINK: NOT_DEPLOYED, + SNX: NOT_DEPLOYED, + UNI: NOT_DEPLOYED, + USDT: NOT_DEPLOYED, + DOLA: NOT_DEPLOYED, + USDC: "0x29219dd400f2Bf60E5a23d13Be72B486D4038894", + USDC_e: NOT_DEPLOYED, + WBTC: NOT_DEPLOYED, + tBTC: NOT_DEPLOYED, + WETH: NOT_DEPLOYED, + YFI: NOT_DEPLOYED, + GMX: NOT_DEPLOYED, + ARB: NOT_DEPLOYED, + BAL: NOT_DEPLOYED, + AURA: NOT_DEPLOYED, + SWISE: NOT_DEPLOYED, + WLD: NOT_DEPLOYED, + OP: NOT_DEPLOYED, + SKY: NOT_DEPLOYED, + + /// UPDATE + STETH: NOT_DEPLOYED, + wstETH: NOT_DEPLOYED, + CVX: NOT_DEPLOYED, + FRAX: NOT_DEPLOYED, + FXS: NOT_DEPLOYED, + LDO: NOT_DEPLOYED, + LUSD: NOT_DEPLOYED, + sUSD: NOT_DEPLOYED, + GUSD: NOT_DEPLOYED, + LQTY: NOT_DEPLOYED, + MKR: NOT_DEPLOYED, + RPL: NOT_DEPLOYED, + APE: NOT_DEPLOYED, + LBTC: NOT_DEPLOYED, + eBTC: NOT_DEPLOYED, + solvBTC: NOT_DEPLOYED, + pumpBTC: NOT_DEPLOYED, + rETH: NOT_DEPLOYED, + osETH: NOT_DEPLOYED, + weETH: NOT_DEPLOYED, + ezETH: NOT_DEPLOYED, + rsETH: NOT_DEPLOYED, + PENDLE: NOT_DEPLOYED, + frxETH: NOT_DEPLOYED, + sfrxETH: NOT_DEPLOYED, + cbETH: NOT_DEPLOYED, + rswETH: NOT_DEPLOYED, + USDe: NOT_DEPLOYED, + pufETH: NOT_DEPLOYED, + USDS: NOT_DEPLOYED, + + // REDSTONE + SHIB: NOT_DEPLOYED, + + // YEARN TOKENS + yvDAI: NOT_DEPLOYED, + yvUSDC: NOT_DEPLOYED, + yvUSDC_e: NOT_DEPLOYED, + yvUSDT: NOT_DEPLOYED, + yvWETH: NOT_DEPLOYED, + yvWBTC: NOT_DEPLOYED, + yvOP: NOT_DEPLOYED, + yvCurve_stETH: NOT_DEPLOYED, + yvCurve_FRAX: NOT_DEPLOYED, + + // CURVE LP TOKENS + "3Crv": NOT_DEPLOYED, + "3CRV": NOT_DEPLOYED, + wstETHCRV: NOT_DEPLOYED, + crvFRAX: NOT_DEPLOYED, + steCRV: NOT_DEPLOYED, + FRAX3CRV: NOT_DEPLOYED, + LUSD3CRV: NOT_DEPLOYED, + crvPlain3andSUSD: NOT_DEPLOYED, + gusd3CRV: NOT_DEPLOYED, + USDeUSDC: NOT_DEPLOYED, + FRAXUSDe: NOT_DEPLOYED, + USDecrvUSD: NOT_DEPLOYED, + FRAXsDAI: NOT_DEPLOYED, + DOLAsUSDe: NOT_DEPLOYED, + DOLAFRAXBP3CRV_f: NOT_DEPLOYED, + crvUSDDOLA_f: NOT_DEPLOYED, + crvCRVETH: NOT_DEPLOYED, + crvCVXETH: NOT_DEPLOYED, + crvUSDTWBTCWETH: NOT_DEPLOYED, + LDOETH: NOT_DEPLOYED, + USDeDAI: NOT_DEPLOYED, + MtEthena: NOT_DEPLOYED, + pufETHwstE: NOT_DEPLOYED, + GHOcrvUSD: NOT_DEPLOYED, + ezETHWETH: NOT_DEPLOYED, + ezpzETH: NOT_DEPLOYED, + LBTCWBTC: NOT_DEPLOYED, + eBTCWBTC: NOT_DEPLOYED, + pumpBTCWBTC: NOT_DEPLOYED, + TriBTC: NOT_DEPLOYED, + "2BTC-f": NOT_DEPLOYED, + + crvUSDUSDC: NOT_DEPLOYED, + crvUSDUSDT: NOT_DEPLOYED, + crvUSDFRAX: NOT_DEPLOYED, + crvUSDETHCRV: NOT_DEPLOYED, + crvUsUSDe: NOT_DEPLOYED, + llamathena: NOT_DEPLOYED, + + "2CRV": NOT_DEPLOYED, + "3c-crvUSD": NOT_DEPLOYED, + crvUSDC: NOT_DEPLOYED, + crvUSDC_e: NOT_DEPLOYED, + crvUSDT: NOT_DEPLOYED, + USDEUSDC: NOT_DEPLOYED, + + rETH_f: NOT_DEPLOYED, + + // CONVEX LP TOKENS + cvx3Crv: NOT_DEPLOYED, + cvxcrvFRAX: NOT_DEPLOYED, + cvxsteCRV: NOT_DEPLOYED, + cvxcrvPlain3andSUSD: NOT_DEPLOYED, + cvxFRAX3CRV: NOT_DEPLOYED, + cvxLUSD3CRV: NOT_DEPLOYED, + cvxgusd3CRV: NOT_DEPLOYED, + cvxcrvCRVETH: NOT_DEPLOYED, + cvxcrvCVXETH: NOT_DEPLOYED, + cvxcrvUSDTWBTCWETH: NOT_DEPLOYED, + cvxLDOETH: NOT_DEPLOYED, + cvxcrvUSDUSDC: NOT_DEPLOYED, + cvxcrvUSDUSDT: NOT_DEPLOYED, + cvxcrvUSDFRAX: NOT_DEPLOYED, + cvxcrvUSDETHCRV: NOT_DEPLOYED, + cvxGHOcrvUSD: NOT_DEPLOYED, + cvxllamathena: NOT_DEPLOYED, + + crvUSD: NOT_DEPLOYED, + + // CONVEX PHANTOM TOKEN ADDRESSES + stkcvx3Crv: NOT_DEPLOYED, + stkcvxcrvFRAX: NOT_DEPLOYED, + stkcvxFRAX3CRV: NOT_DEPLOYED, + stkcvxgusd3CRV: NOT_DEPLOYED, + stkcvxsteCRV: NOT_DEPLOYED, + stkcvxcrvPlain3andSUSD: NOT_DEPLOYED, + stkcvxLUSD3CRV: NOT_DEPLOYED, + stkcvxcrvCRVETH: NOT_DEPLOYED, + stkcvxcrvCVXETH: NOT_DEPLOYED, + stkcvxcrvUSDTWBTCWETH: NOT_DEPLOYED, + stkcvxLDOETH: NOT_DEPLOYED, + stkcvxcrvUSDUSDC: NOT_DEPLOYED, + stkcvxcrvUSDUSDT: NOT_DEPLOYED, + stkcvxcrvUSDFRAX: NOT_DEPLOYED, + stkcvxcrvUSDETHCRV: NOT_DEPLOYED, + stkcvxGHOcrvUSD: NOT_DEPLOYED, + stkcvxllamathena: NOT_DEPLOYED, + + cvxcrvUSDT: NOT_DEPLOYED, + + // BALANCER TOKENS + USDC_DAI_USDT: NOT_DEPLOYED, + B_rETH_STABLE: NOT_DEPLOYED, + weETH_rETH: NOT_DEPLOYED, + osETH_wETH_BPT: NOT_DEPLOYED, + B_80BAL_20WETH: NOT_DEPLOYED, + "50WETH_50AURA": NOT_DEPLOYED, + wstETH_WETH_BPT: NOT_DEPLOYED, + wstETH_rETH_cbETH: NOT_DEPLOYED, + cbETH_rETH_wstETH: NOT_DEPLOYED, + wstETH_rETH_sfrxETH: NOT_DEPLOYED, + rETH_WETH_BPT_deprecated: NOT_DEPLOYED, + rETH_wETH_BPT: NOT_DEPLOYED, + ezETH_WETH_BPT: NOT_DEPLOYED, + sUSDe_USDC_BPT: NOT_DEPLOYED, + trenSTETH: NOT_DEPLOYED, + DVstETH_wstETH_BPT: NOT_DEPLOYED, + weETH_ezETH_rswETH: NOT_DEPLOYED, + rsETH_WETH: NOT_DEPLOYED, + rsETH_wETH_Arb: NOT_DEPLOYED, + "33AURA_33ARB_33BAL": NOT_DEPLOYED, + ezETH_wstETH: NOT_DEPLOYED, + + BPT_rETH_ETH: NOT_DEPLOYED, + BPT_WSTETH_ETH: NOT_DEPLOYED, + BPT_ROAD: NOT_DEPLOYED, + ECLP_wstETH_WETH: NOT_DEPLOYED, + bpt_ethtri: NOT_DEPLOYED, + pumpBTC_WBTC_BPT: NOT_DEPLOYED, + eBTC_WBTC_BPT: NOT_DEPLOYED, + + // AURA + auraB_rETH_STABLE: NOT_DEPLOYED, + auraweETH_rETH: NOT_DEPLOYED, + auraosETH_wETH_BPT: NOT_DEPLOYED, + auraBPT_rETH_ETH: NOT_DEPLOYED, + auraBPT_WSTETH_ETH: NOT_DEPLOYED, + aurarETH_wETH_BPT: NOT_DEPLOYED, + auracbETH_rETH_wstETH: NOT_DEPLOYED, + aurawstETH_rETH_sfrxETH: NOT_DEPLOYED, + aurawstETH_WETH_BPT: NOT_DEPLOYED, + + auraB_rETH_STABLE_vault: NOT_DEPLOYED, + auraweETH_rETH_vault: NOT_DEPLOYED, + auraosETH_wETH_BPT_vault: NOT_DEPLOYED, + auraBPT_rETH_ETH_vault: NOT_DEPLOYED, + auraBPT_WSTETH_ETH_vault: NOT_DEPLOYED, + aurarETH_wETH_BPT_vault: NOT_DEPLOYED, + auracbETH_rETH_wstETH_vault: NOT_DEPLOYED, + aurawstETH_rETH_sfrxETH_vault: NOT_DEPLOYED, + aurawstETH_WETH_BPT_vault: NOT_DEPLOYED, + + // PENDLE + PT_rsETH_26SEP2024: NOT_DEPLOYED, + PT_sUSDe_26DEC2024: NOT_DEPLOYED, + PT_eETH_26DEC2024: NOT_DEPLOYED, + PT_ezETH_26DEC2024: NOT_DEPLOYED, + PT_eBTC_26DEC2024: NOT_DEPLOYED, + PT_LBTC_27MAR2025: NOT_DEPLOYED, + PT_corn_solvBTC_BBN_26DEC2024: NOT_DEPLOYED, + PT_corn_pumpBTC_26DEC2024: NOT_DEPLOYED, + PT_cornLBTC_26DEC2024: NOT_DEPLOYED, + PT_corn_eBTC_27MAR2025: NOT_DEPLOYED, + PT_sUSDe_27MAR2025: NOT_DEPLOYED, + + // GEARBOX + dDAI: NOT_DEPLOYED, + dUSDC: NOT_DEPLOYED, + dWBTC: NOT_DEPLOYED, + dWETH: NOT_DEPLOYED, + dwstETH: NOT_DEPLOYED, + dFRAX: NOT_DEPLOYED, + + dUSDCV3: NOT_DEPLOYED, + dWBTCV3: NOT_DEPLOYED, + dWETHV3: NOT_DEPLOYED, + sdUSDCV3: NOT_DEPLOYED, + sdWBTCV3: NOT_DEPLOYED, + sdWETHV3: NOT_DEPLOYED, + sdWETHV3_OLD: NOT_DEPLOYED, + + dUSDTV3: NOT_DEPLOYED, + dGHOV3: NOT_DEPLOYED, + dDAIV3: NOT_DEPLOYED, + sdUSDTV3: NOT_DEPLOYED, + sdGHOV3: NOT_DEPLOYED, + sdDAIV3: NOT_DEPLOYED, + + dcrvUSDV3: NOT_DEPLOYED, + sdcrvUSDV3: NOT_DEPLOYED, + + dDOLAV3: NOT_DEPLOYED, + dwstETHV3: NOT_DEPLOYED, + + dtBTCV3: NOT_DEPLOYED, + + dUSDC_eV3: NOT_DEPLOYED, + sdUSDC_eV3: NOT_DEPLOYED, + + GEAR: NOT_DEPLOYED, + + // AAVE + aUSDC: NOT_DEPLOYED, + aDAI: NOT_DEPLOYED, + aUSDT: NOT_DEPLOYED, + aWETH: NOT_DEPLOYED, + + waDAI: NOT_DEPLOYED, + waUSDC: NOT_DEPLOYED, + waUSDT: NOT_DEPLOYED, + waWETH: NOT_DEPLOYED, + + cDAI: NOT_DEPLOYED, + cUSDC: NOT_DEPLOYED, + cUSDT: NOT_DEPLOYED, + cETH: NOT_DEPLOYED, + cLINK: NOT_DEPLOYED, + + fUSDC: NOT_DEPLOYED, + sDAI: NOT_DEPLOYED, + YieldETH: NOT_DEPLOYED, + sUSDe: NOT_DEPLOYED, + sUSDS: NOT_DEPLOYED, + scrvUSD: NOT_DEPLOYED, + beraSTONE: NOT_DEPLOYED, + + GHO: NOT_DEPLOYED, + GHOUSDe: NOT_DEPLOYED, + GHO_USDT_USDC: NOT_DEPLOYED, + + zpufETH: NOT_DEPLOYED, + + // SKY + stkUSDS: NOT_DEPLOYED, + // MELLOW LRT steakLRT: NOT_DEPLOYED, Re7LRT: NOT_DEPLOYED, @@ -1811,6 +2116,7 @@ export const tickerInfoTokensByNetwork: Record< ], }, Base: {}, + Sonic: {}, }; export const tickerTokensByNetwork: Record< diff --git a/src/tokens/tokenData.ts b/src/tokens/tokenData.ts index c37e946..0f48bcb 100644 --- a/src/tokens/tokenData.ts +++ b/src/tokens/tokenData.ts @@ -26,6 +26,7 @@ export const connectors: Record> = { Arbitrum: ["WETH", "DAI", "USDC", "USDT", "rETH", "USDC_e", "wstETH"], Optimism: ["WETH", "USDC", "USDT", "USDC_e", "wstETH"], Base: ["WETH", "USDC", "USDT"], + Sonic: [], }; export function getConnectors(networkType: NetworkType) { diff --git a/src/tokens/tokens.spec.ts b/src/tokens/tokens.spec.ts index e1663e7..96c17de 100644 --- a/src/tokens/tokens.spec.ts +++ b/src/tokens/tokens.spec.ts @@ -65,6 +65,7 @@ const EXCEPTIONS_IN_SYMBOLS: Record> = { "auraBPT-WSTETH-ETH-vault", }, Base: {}, + Sonic: {}, }; class TokenSuite { diff --git a/src/verification/explorers.ts b/src/verification/explorers.ts index d46a57f..249d2ac 100644 --- a/src/verification/explorers.ts +++ b/src/verification/explorers.ts @@ -5,6 +5,7 @@ export const explorerUrls: Record = { Arbitrum: "https://arbiscan.io", Optimism: "https://optimistic.etherscan.io", Base: "https://basescan.org", + Sonic: "https://sonicscan.org/", }; export const explorerApiUrls: Record = { @@ -12,4 +13,5 @@ export const explorerApiUrls: Record = { Arbitrum: "https://api.arbiscan.io/api", Optimism: "https://api-optimistic.etherscan.io/api", Base: "https://api.basescan.org/api", + Sonic: "https://api.sonicscan.org/api", }; From ce0d16964d167adea2e233e475717164e3da6422 Mon Sep 17 00:00:00 2001 From: Arkhip Vouba <80775286+57Ark@users.noreply.github.com> Date: Tue, 28 Jan 2025 15:32:05 +0100 Subject: [PATCH 23/23] Revert "feat: soniv network" This reverts commit 4f54871950db66e41fa5125dd21d0a141453454f. --- contracts/NetworkDetector.sol | 2 - contracts/PriceFeedDataLive.sol | 1237 +------------------------------ contracts/TokensData.sol | 9 - src/contracts/contracts.ts | 199 ----- src/contracts/utilsContracts.ts | 11 - src/core/chains.ts | 12 - src/oracles/priceFeeds.ts | 2 - src/tokens/quoted.ts | 1 - src/tokens/token.ts | 316 +------- src/tokens/tokenData.ts | 1 - src/tokens/tokens.spec.ts | 1 - src/verification/explorers.ts | 2 - 12 files changed, 7 insertions(+), 1786 deletions(-) diff --git a/contracts/NetworkDetector.sol b/contracts/NetworkDetector.sol index 4872dac..a1983c5 100644 --- a/contracts/NetworkDetector.sol +++ b/contracts/NetworkDetector.sol @@ -22,12 +22,10 @@ contract NetworkDetector is Test { connectedNetworks.push(42161); connectedNetworks.push(10); connectedNetworks.push(8453); - connectedNetworks.push(146); usdcByNetwork[1] = 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48; usdcByNetwork[42161] = 0xaf88d065e77c8cC2239327C5EDb3A432268e5831; usdcByNetwork[10] = 0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85; usdcByNetwork[8453] = 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913; - usdcByNetwork[146] = 0x29219dd400f2Bf60E5a23d13Be72B486D4038894; chainId = getNetworkId(); } diff --git a/contracts/PriceFeedDataLive.sol b/contracts/PriceFeedDataLive.sol index 5a9ec9f..f274c2e 100644 --- a/contracts/PriceFeedDataLive.sol +++ b/contracts/PriceFeedDataLive.sol @@ -422,12 +422,6 @@ contract PriceFeedDataLive { theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({token: TOKEN_USDS, tokenHasSamePriceFeed: TOKEN_DAI, trusted: false, reserve: true}) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({token: TOKEN_USDS, tokenHasSamePriceFeed: TOKEN_DAI, trusted: true, reserve: false}) - ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({token: TOKEN_USDS, tokenHasSamePriceFeed: TOKEN_DAI, trusted: false, reserve: true}) - ); // ------------------------ GUSD ------------------------ zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_GUSD, trusted: true, reserve: false})); @@ -942,9 +936,6 @@ contract PriceFeedDataLive { theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({token: TOKEN_DOLA, tokenHasSamePriceFeed: TOKEN_USDC, trusted: true, reserve: false}) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({token: TOKEN_DOLA, tokenHasSamePriceFeed: TOKEN_USDC, trusted: true, reserve: false}) - ); // ------------------------ WBTC ------------------------ @@ -1596,7 +1587,6 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[42161].push(SingeTokenPriceFeedData({token: TOKEN_LQTY, trusted: true, reserve: false})); zeroPriceFeedsByNetwork[10].push(SingeTokenPriceFeedData({token: TOKEN_LQTY, trusted: true, reserve: false})); zeroPriceFeedsByNetwork[8453].push(SingeTokenPriceFeedData({token: TOKEN_LQTY, trusted: true, reserve: false})); - zeroPriceFeedsByNetwork[146].push(SingeTokenPriceFeedData({token: TOKEN_LQTY, trusted: true, reserve: false})); // ------------------------ GMX ------------------------ zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_GMX, trusted: false, reserve: false})); @@ -2575,7 +2565,6 @@ contract PriceFeedDataLive { ); zeroPriceFeedsByNetwork[10].push(SingeTokenPriceFeedData({token: TOKEN_AURA, trusted: false, reserve: false})); zeroPriceFeedsByNetwork[8453].push(SingeTokenPriceFeedData({token: TOKEN_AURA, trusted: false, reserve: false})); - zeroPriceFeedsByNetwork[146].push(SingeTokenPriceFeedData({token: TOKEN_AURA, trusted: false, reserve: false})); // ------------------------ SWISE ------------------------ zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_SWISE, trusted: false, reserve: false})); @@ -2586,14 +2575,12 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_SWISE, trusted: false, reserve: false}) ); - zeroPriceFeedsByNetwork[146].push(SingeTokenPriceFeedData({token: TOKEN_SWISE, trusted: false, reserve: false})); // ------------------------ SKY ------------------------ zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_SKY, trusted: false, reserve: false})); zeroPriceFeedsByNetwork[42161].push(SingeTokenPriceFeedData({token: TOKEN_SKY, trusted: false, reserve: false})); zeroPriceFeedsByNetwork[10].push(SingeTokenPriceFeedData({token: TOKEN_SKY, trusted: false, reserve: false})); zeroPriceFeedsByNetwork[8453].push(SingeTokenPriceFeedData({token: TOKEN_SKY, trusted: false, reserve: false})); - zeroPriceFeedsByNetwork[146].push(SingeTokenPriceFeedData({token: TOKEN_SKY, trusted: false, reserve: false})); // ------------------------ beraSTONE ------------------------ @@ -2679,9 +2666,6 @@ contract PriceFeedDataLive { yearnPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_yvDAI, trusted: false, reserve: false}) ); - yearnPriceFeedsByNetwork[146].push( - SingeTokenPriceFeedData({token: TOKEN_yvDAI, trusted: false, reserve: false}) - ); // ------------------------ yvUSDC ------------------------ yearnPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_yvUSDC, trusted: false, reserve: false})); @@ -2694,9 +2678,6 @@ contract PriceFeedDataLive { yearnPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_yvUSDC, trusted: false, reserve: false}) ); - yearnPriceFeedsByNetwork[146].push( - SingeTokenPriceFeedData({token: TOKEN_yvUSDC, trusted: false, reserve: false}) - ); // ------------------------ yvUSDC_e ------------------------ yearnPriceFeedsByNetwork[1].push( @@ -2711,9 +2692,6 @@ contract PriceFeedDataLive { yearnPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_yvUSDC_e, trusted: false, reserve: false}) ); - yearnPriceFeedsByNetwork[146].push( - SingeTokenPriceFeedData({token: TOKEN_yvUSDC_e, trusted: false, reserve: false}) - ); // ------------------------ yvUSDT ------------------------ yearnPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_yvUSDT, trusted: false, reserve: false})); @@ -2726,9 +2704,6 @@ contract PriceFeedDataLive { yearnPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_yvUSDT, trusted: false, reserve: false}) ); - yearnPriceFeedsByNetwork[146].push( - SingeTokenPriceFeedData({token: TOKEN_yvUSDT, trusted: false, reserve: false}) - ); // ------------------------ yvWETH ------------------------ yearnPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_yvWETH, trusted: false, reserve: false})); @@ -2741,9 +2716,6 @@ contract PriceFeedDataLive { yearnPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_yvWETH, trusted: false, reserve: false}) ); - yearnPriceFeedsByNetwork[146].push( - SingeTokenPriceFeedData({token: TOKEN_yvWETH, trusted: false, reserve: false}) - ); // ------------------------ yvWBTC ------------------------ yearnPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_yvWBTC, trusted: false, reserve: false})); @@ -2756,9 +2728,6 @@ contract PriceFeedDataLive { yearnPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_yvWBTC, trusted: false, reserve: false}) ); - yearnPriceFeedsByNetwork[146].push( - SingeTokenPriceFeedData({token: TOKEN_yvWBTC, trusted: false, reserve: false}) - ); // ------------------------ yvOP ------------------------ yearnPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_yvOP, trusted: false, reserve: false})); @@ -2769,7 +2738,6 @@ contract PriceFeedDataLive { yearnPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_yvOP, trusted: false, reserve: false}) ); - yearnPriceFeedsByNetwork[146].push(SingeTokenPriceFeedData({token: TOKEN_yvOP, trusted: false, reserve: false})); // ------------------------ 3Crv ------------------------ curvePriceFeedsByNetwork[1].push( @@ -2896,37 +2864,6 @@ contract PriceFeedDataLive { reserve: true }) ); - curvePriceFeedsByNetwork[146].push( - CurvePriceFeedData({ - lpToken: TOKEN__3Crv, - assets: TokensLib.arrayOf(TOKEN_DAI, TOKEN_USDC, TOKEN_USDT), - pool: Contracts.CURVE_3CRV_POOL, - trusted: false, - reserve: false - }) - ); - redStonePriceFeedsByNetwork[146].push( - RedStonePriceFeedData({ - token: TOKEN__3Crv, - dataServiceId: "redstone-primary-prod", - dataFeedId: "3Crv", - signers: [ - 0x8BB8F32Df04c8b654987DAaeD53D6B6091e3B774, - 0xdEB22f54738d54976C4c0fe5ce6d408E40d88499, - 0x51Ce04Be4b3E32572C4Ec9135221d0691Ba7d202, - 0xDD682daEC5A90dD295d14DA4b0bec9281017b5bE, - 0x9c5AE89C4Af6aA32cE58588DBaF90d18a855B6de, - address(0), - address(0), - address(0), - address(0), - address(0) - ], - signersThreshold: 5, - trusted: false, - reserve: true - }) - ); // ------------------------ crvFRAX ------------------------ curvePriceFeedsByNetwork[1].push( @@ -3053,37 +2990,6 @@ contract PriceFeedDataLive { reserve: true }) ); - curvePriceFeedsByNetwork[146].push( - CurvePriceFeedData({ - lpToken: TOKEN_crvFRAX, - assets: TokensLib.arrayOf(TOKEN_FRAX, TOKEN_USDC), - pool: Contracts.CURVE_FRAX_USDC_POOL, - trusted: false, - reserve: false - }) - ); - redStonePriceFeedsByNetwork[146].push( - RedStonePriceFeedData({ - token: TOKEN_crvFRAX, - dataServiceId: "redstone-primary-prod", - dataFeedId: "crvFRAX", - signers: [ - 0x8BB8F32Df04c8b654987DAaeD53D6B6091e3B774, - 0xdEB22f54738d54976C4c0fe5ce6d408E40d88499, - 0x51Ce04Be4b3E32572C4Ec9135221d0691Ba7d202, - 0xDD682daEC5A90dD295d14DA4b0bec9281017b5bE, - 0x9c5AE89C4Af6aA32cE58588DBaF90d18a855B6de, - address(0), - address(0), - address(0), - address(0), - address(0) - ], - signersThreshold: 5, - trusted: false, - reserve: true - }) - ); // ------------------------ steCRV ------------------------ curvePriceFeedsByNetwork[1].push( @@ -3122,15 +3028,6 @@ contract PriceFeedDataLive { reserve: false }) ); - curvePriceFeedsByNetwork[146].push( - CurvePriceFeedData({ - lpToken: TOKEN_steCRV, - assets: TokensLib.arrayOf(TOKEN_STETH, TOKEN_WETH), - pool: Contracts.CURVE_STETH_GATEWAY, - trusted: false, - reserve: false - }) - ); // ------------------------ FRAX3CRV ------------------------ curvePriceFeedsByNetwork[1].push( @@ -3169,15 +3066,6 @@ contract PriceFeedDataLive { reserve: false }) ); - curvePriceFeedsByNetwork[146].push( - CurvePriceFeedData({ - lpToken: TOKEN_FRAX3CRV, - assets: TokensLib.arrayOf(TOKEN_FRAX, TOKEN_DAI, TOKEN_USDC, TOKEN_USDT), - pool: Contracts.CURVE_FRAX_POOL, - trusted: false, - reserve: false - }) - ); // ------------------------ LUSD3CRV ------------------------ curvePriceFeedsByNetwork[1].push( @@ -3216,15 +3104,6 @@ contract PriceFeedDataLive { reserve: false }) ); - curvePriceFeedsByNetwork[146].push( - CurvePriceFeedData({ - lpToken: TOKEN_LUSD3CRV, - assets: TokensLib.arrayOf(TOKEN_LUSD, TOKEN_DAI, TOKEN_USDC, TOKEN_USDT), - pool: Contracts.CURVE_LUSD_POOL, - trusted: false, - reserve: false - }) - ); // ------------------------ crvPlain3andSUSD ------------------------ curvePriceFeedsByNetwork[1].push( @@ -3263,15 +3142,6 @@ contract PriceFeedDataLive { reserve: false }) ); - curvePriceFeedsByNetwork[146].push( - CurvePriceFeedData({ - lpToken: TOKEN_crvPlain3andSUSD, - assets: TokensLib.arrayOf(TOKEN_DAI, TOKEN_USDC, TOKEN_USDT, TOKEN_sUSD), - pool: Contracts.CURVE_SUSD_POOL, - trusted: false, - reserve: false - }) - ); // ------------------------ gusd3CRV ------------------------ zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_gusd3CRV, trusted: true, reserve: false})); @@ -3284,9 +3154,6 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_gusd3CRV, trusted: true, reserve: false}) ); - zeroPriceFeedsByNetwork[146].push( - SingeTokenPriceFeedData({token: TOKEN_gusd3CRV, trusted: true, reserve: false}) - ); // ------------------------ USDeUSDC ------------------------ curvePriceFeedsByNetwork[1].push( @@ -3325,15 +3192,6 @@ contract PriceFeedDataLive { reserve: false }) ); - curvePriceFeedsByNetwork[146].push( - CurvePriceFeedData({ - lpToken: TOKEN_USDeUSDC, - assets: TokensLib.arrayOf(TOKEN_USDe, TOKEN_USDC), - pool: Contracts.CURVE_USDE_USDC_POOL, - trusted: false, - reserve: false - }) - ); // ------------------------ USDeDAI ------------------------ curvePriceFeedsByNetwork[1].push( @@ -3372,15 +3230,6 @@ contract PriceFeedDataLive { reserve: false }) ); - curvePriceFeedsByNetwork[146].push( - CurvePriceFeedData({ - lpToken: TOKEN_USDeDAI, - assets: TokensLib.arrayOf(TOKEN_USDe, TOKEN_DAI), - pool: Contracts.CURVE_USDE_DAI_POOL, - trusted: false, - reserve: false - }) - ); // ------------------------ MtEthena ------------------------ zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_MtEthena, trusted: true, reserve: false})); @@ -3393,9 +3242,6 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_MtEthena, trusted: true, reserve: false}) ); - zeroPriceFeedsByNetwork[146].push( - SingeTokenPriceFeedData({token: TOKEN_MtEthena, trusted: true, reserve: false}) - ); // ------------------------ GHOUSDe ------------------------ curvePriceFeedsByNetwork[1].push( @@ -3434,15 +3280,6 @@ contract PriceFeedDataLive { reserve: false }) ); - curvePriceFeedsByNetwork[146].push( - CurvePriceFeedData({ - lpToken: TOKEN_GHOUSDe, - assets: TokensLib.arrayOf(TOKEN_GHO, TOKEN_USDe), - pool: Contracts.CURVE_GHO_USDE_POOL, - trusted: false, - reserve: false - }) - ); // ------------------------ FRAXUSDe ------------------------ curvePriceFeedsByNetwork[1].push( @@ -3481,15 +3318,6 @@ contract PriceFeedDataLive { reserve: false }) ); - curvePriceFeedsByNetwork[146].push( - CurvePriceFeedData({ - lpToken: TOKEN_FRAXUSDe, - assets: TokensLib.arrayOf(TOKEN_FRAX, TOKEN_USDe), - pool: Contracts.CURVE_FRAX_USDE_POOL, - trusted: false, - reserve: false - }) - ); // ------------------------ USDecrvUSD ------------------------ curvePriceFeedsByNetwork[1].push( @@ -3528,15 +3356,6 @@ contract PriceFeedDataLive { reserve: false }) ); - curvePriceFeedsByNetwork[146].push( - CurvePriceFeedData({ - lpToken: TOKEN_USDecrvUSD, - assets: TokensLib.arrayOf(TOKEN_USDe, TOKEN_crvUSD), - pool: Contracts.CURVE_USDE_CRVUSD_POOL, - trusted: false, - reserve: false - }) - ); // ------------------------ FRAXsDAI ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -3551,9 +3370,6 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_FRAXsDAI, trusted: false, reserve: false}) ); - zeroPriceFeedsByNetwork[146].push( - SingeTokenPriceFeedData({token: TOKEN_FRAXsDAI, trusted: false, reserve: false}) - ); // ------------------------ DOLAsUSDe ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -3568,9 +3384,6 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_DOLAsUSDe, trusted: false, reserve: false}) ); - zeroPriceFeedsByNetwork[146].push( - SingeTokenPriceFeedData({token: TOKEN_DOLAsUSDe, trusted: false, reserve: false}) - ); // ------------------------ crvCRVETH ------------------------ curveCryptoPriceFeedsByNetwork[1].push( @@ -3609,15 +3422,6 @@ contract PriceFeedDataLive { reserve: false }) ); - curveCryptoPriceFeedsByNetwork[146].push( - CurvePriceFeedData({ - lpToken: TOKEN_crvCRVETH, - assets: TokensLib.arrayOf(TOKEN_WETH, TOKEN_CRV), - pool: Contracts.CURVE_CRVETH_POOL, - trusted: false, - reserve: false - }) - ); // ------------------------ crvCVXETH ------------------------ curveCryptoPriceFeedsByNetwork[1].push( @@ -3656,15 +3460,6 @@ contract PriceFeedDataLive { reserve: false }) ); - curveCryptoPriceFeedsByNetwork[146].push( - CurvePriceFeedData({ - lpToken: TOKEN_crvCVXETH, - assets: TokensLib.arrayOf(TOKEN_WETH, TOKEN_CVX), - pool: Contracts.CURVE_CVXETH_POOL, - trusted: false, - reserve: false - }) - ); // ------------------------ crvUSDTWBTCWETH ------------------------ curveCryptoPriceFeedsByNetwork[1].push( @@ -3703,15 +3498,6 @@ contract PriceFeedDataLive { reserve: false }) ); - curveCryptoPriceFeedsByNetwork[146].push( - CurvePriceFeedData({ - lpToken: TOKEN_crvUSDTWBTCWETH, - assets: TokensLib.arrayOf(TOKEN_USDT, TOKEN_WBTC, TOKEN_WETH), - pool: Contracts.CURVE_3CRYPTO_POOL, - trusted: false, - reserve: false - }) - ); // ------------------------ LDOETH ------------------------ curveCryptoPriceFeedsByNetwork[1].push( @@ -3750,15 +3536,6 @@ contract PriceFeedDataLive { reserve: false }) ); - curveCryptoPriceFeedsByNetwork[146].push( - CurvePriceFeedData({ - lpToken: TOKEN_LDOETH, - assets: TokensLib.arrayOf(TOKEN_LDO, TOKEN_WETH), - pool: Contracts.CURVE_LDOETH_POOL, - trusted: false, - reserve: false - }) - ); // ------------------------ crvUSD ------------------------ boundedPriceFeedsByNetwork[1].push( @@ -3899,24 +3676,6 @@ contract PriceFeedDataLive { reserve: true }) ); - curvePriceFeedsByNetwork[146].push( - CurvePriceFeedData({ - lpToken: TOKEN_crvUSDUSDC, - assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDC), - pool: Contracts.CURVE_CRVUSD_USDC_POOL, - trusted: false, - reserve: false - }) - ); - curvePriceFeedsByNetwork[146].push( - CurvePriceFeedData({ - lpToken: TOKEN_crvUSDUSDC, - assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDC), - pool: Contracts.CURVE_CRVUSD_USDC_POOL, - trusted: false, - reserve: true - }) - ); // ------------------------ crvUsUSDe ------------------------ curvePriceFeedsByNetwork[1].push( @@ -3991,24 +3750,6 @@ contract PriceFeedDataLive { reserve: true }) ); - curvePriceFeedsByNetwork[146].push( - CurvePriceFeedData({ - lpToken: TOKEN_crvUsUSDe, - assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDe), - pool: Contracts.CURVE_CRVUSD_SUSDE_POOL, - trusted: false, - reserve: false - }) - ); - curvePriceFeedsByNetwork[146].push( - CurvePriceFeedData({ - lpToken: TOKEN_crvUsUSDe, - assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDe), - pool: Contracts.CURVE_CRVUSD_SUSDE_POOL, - trusted: false, - reserve: true - }) - ); // ------------------------ llamathena ------------------------ curvePriceFeedsByNetwork[1].push( @@ -4083,24 +3824,6 @@ contract PriceFeedDataLive { reserve: true }) ); - curvePriceFeedsByNetwork[146].push( - CurvePriceFeedData({ - lpToken: TOKEN_llamathena, - assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDe), - pool: Contracts.CURVE_LLAMA_THENA_POOL, - trusted: false, - reserve: false - }) - ); - curvePriceFeedsByNetwork[146].push( - CurvePriceFeedData({ - lpToken: TOKEN_llamathena, - assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDe), - pool: Contracts.CURVE_LLAMA_THENA_POOL, - trusted: false, - reserve: true - }) - ); // ------------------------ crvUSDUSDT ------------------------ curvePriceFeedsByNetwork[1].push( @@ -4175,24 +3898,6 @@ contract PriceFeedDataLive { reserve: true }) ); - curvePriceFeedsByNetwork[146].push( - CurvePriceFeedData({ - lpToken: TOKEN_crvUSDUSDT, - assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDT), - pool: Contracts.CURVE_CRVUSD_USDT_POOL, - trusted: false, - reserve: false - }) - ); - curvePriceFeedsByNetwork[146].push( - CurvePriceFeedData({ - lpToken: TOKEN_crvUSDUSDT, - assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDT), - pool: Contracts.CURVE_CRVUSD_USDT_POOL, - trusted: false, - reserve: true - }) - ); // ------------------------ crvUSDFRAX ------------------------ curvePriceFeedsByNetwork[1].push( @@ -4231,15 +3936,6 @@ contract PriceFeedDataLive { reserve: false }) ); - curvePriceFeedsByNetwork[146].push( - CurvePriceFeedData({ - lpToken: TOKEN_crvUSDFRAX, - assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_FRAX), - pool: Contracts.CURVE_CRVUSD_FRAX_POOL, - trusted: false, - reserve: false - }) - ); // ------------------------ wstETHCRV ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -4254,9 +3950,6 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_wstETHCRV, trusted: false, reserve: false}) ); - zeroPriceFeedsByNetwork[146].push( - SingeTokenPriceFeedData({token: TOKEN_wstETHCRV, trusted: false, reserve: false}) - ); // ------------------------ crvUSDETHCRV ------------------------ curveCryptoPriceFeedsByNetwork[1].push( @@ -4295,15 +3988,6 @@ contract PriceFeedDataLive { reserve: false }) ); - curveCryptoPriceFeedsByNetwork[146].push( - CurvePriceFeedData({ - lpToken: TOKEN_crvUSDETHCRV, - assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_WETH, TOKEN_CRV), - pool: Contracts.CURVE_TRI_CRV_POOL, - trusted: false, - reserve: false - }) - ); // ------------------------ rETH_f ------------------------ curveCryptoPriceFeedsByNetwork[1].push( @@ -4342,15 +4026,6 @@ contract PriceFeedDataLive { reserve: false }) ); - curveCryptoPriceFeedsByNetwork[146].push( - CurvePriceFeedData({ - lpToken: TOKEN_rETH_f, - assets: TokensLib.arrayOf(TOKEN_rETH, TOKEN_WETH), - pool: Contracts.CURVE_RETH_ETH_POOL, - trusted: false, - reserve: false - }) - ); // ------------------------ DOLAFRAXBP3CRV_f ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -4365,9 +4040,6 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_DOLAFRAXBP3CRV_f, trusted: false, reserve: false}) ); - zeroPriceFeedsByNetwork[146].push( - SingeTokenPriceFeedData({token: TOKEN_DOLAFRAXBP3CRV_f, trusted: false, reserve: false}) - ); // ------------------------ crvUSDDOLA_f ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -4382,9 +4054,6 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_crvUSDDOLA_f, trusted: false, reserve: false}) ); - zeroPriceFeedsByNetwork[146].push( - SingeTokenPriceFeedData({token: TOKEN_crvUSDDOLA_f, trusted: false, reserve: false}) - ); // ------------------------ pufETHwstE ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -4399,9 +4068,6 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_pufETHwstE, trusted: false, reserve: false}) ); - zeroPriceFeedsByNetwork[146].push( - SingeTokenPriceFeedData({token: TOKEN_pufETHwstE, trusted: false, reserve: false}) - ); // ------------------------ GHOcrvUSD ------------------------ curvePriceFeedsByNetwork[1].push( @@ -4440,15 +4106,6 @@ contract PriceFeedDataLive { reserve: false }) ); - curvePriceFeedsByNetwork[146].push( - CurvePriceFeedData({ - lpToken: TOKEN_GHOcrvUSD, - assets: TokensLib.arrayOf(TOKEN_GHO, TOKEN_crvUSD), - pool: Contracts.CURVE_GHO_CRVUSD_POOL, - trusted: false, - reserve: false - }) - ); // ------------------------ 2CRV ------------------------ curvePriceFeedsByNetwork[1].push( @@ -4487,15 +4144,6 @@ contract PriceFeedDataLive { reserve: false }) ); - curvePriceFeedsByNetwork[146].push( - CurvePriceFeedData({ - lpToken: TOKEN__2CRV, - assets: TokensLib.arrayOf(TOKEN_USDC_e, TOKEN_USDT), - pool: Contracts.CURVE_2CRV_POOL_ARB, - trusted: false, - reserve: false - }) - ); // ------------------------ 3c-crvUSD ------------------------ curveCryptoPriceFeedsByNetwork[1].push( @@ -4534,15 +4182,6 @@ contract PriceFeedDataLive { reserve: false }) ); - curveCryptoPriceFeedsByNetwork[146].push( - CurvePriceFeedData({ - lpToken: TOKEN__3c_crvUSD, - assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_WBTC, TOKEN_WETH), - pool: Contracts.CURVE_TRICRYPTO_CRVUSD_POOL_ARB, - trusted: false, - reserve: false - }) - ); // ------------------------ crvUSDC ------------------------ curvePriceFeedsByNetwork[1].push( @@ -4581,15 +4220,6 @@ contract PriceFeedDataLive { reserve: false }) ); - curvePriceFeedsByNetwork[146].push( - CurvePriceFeedData({ - lpToken: TOKEN_crvUSDC, - assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDC), - pool: Contracts.CURVE_CRVUSD_USDC_POOL_ARB, - trusted: false, - reserve: false - }) - ); // ------------------------ crvUSDC_e ------------------------ curvePriceFeedsByNetwork[1].push( @@ -4628,15 +4258,6 @@ contract PriceFeedDataLive { reserve: false }) ); - curvePriceFeedsByNetwork[146].push( - CurvePriceFeedData({ - lpToken: TOKEN_crvUSDC_e, - assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDC_e), - pool: Contracts.CURVE_CRVUSD_USDC_E_POOL_ARB, - trusted: false, - reserve: false - }) - ); // ------------------------ USDEUSDC ------------------------ curvePriceFeedsByNetwork[1].push( @@ -4675,15 +4296,6 @@ contract PriceFeedDataLive { reserve: false }) ); - curvePriceFeedsByNetwork[146].push( - CurvePriceFeedData({ - lpToken: TOKEN_USDEUSDC, - assets: TokensLib.arrayOf(TOKEN_USDC, TOKEN_USDe), - pool: Contracts.CURVE_USDE_USDC_POOL_ARB, - trusted: false, - reserve: false - }) - ); // ------------------------ ezETHWETH ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -4698,9 +4310,6 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_ezETHWETH, trusted: false, reserve: false}) ); - zeroPriceFeedsByNetwork[146].push( - SingeTokenPriceFeedData({token: TOKEN_ezETHWETH, trusted: false, reserve: false}) - ); // ------------------------ ezpzETH ------------------------ zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_ezpzETH, trusted: false, reserve: false})); @@ -4713,9 +4322,6 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_ezpzETH, trusted: false, reserve: false}) ); - zeroPriceFeedsByNetwork[146].push( - SingeTokenPriceFeedData({token: TOKEN_ezpzETH, trusted: false, reserve: false}) - ); // ------------------------ LBTCWBTC ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -4730,9 +4336,6 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_LBTCWBTC, trusted: false, reserve: false}) ); - zeroPriceFeedsByNetwork[146].push( - SingeTokenPriceFeedData({token: TOKEN_LBTCWBTC, trusted: false, reserve: false}) - ); // ------------------------ eBTCWBTC ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -4747,9 +4350,6 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_eBTCWBTC, trusted: false, reserve: false}) ); - zeroPriceFeedsByNetwork[146].push( - SingeTokenPriceFeedData({token: TOKEN_eBTCWBTC, trusted: false, reserve: false}) - ); // ------------------------ pumpBTCWBTC ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -4764,9 +4364,6 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_pumpBTCWBTC, trusted: false, reserve: false}) ); - zeroPriceFeedsByNetwork[146].push( - SingeTokenPriceFeedData({token: TOKEN_pumpBTCWBTC, trusted: false, reserve: false}) - ); // ------------------------ TriBTC ------------------------ zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_TriBTC, trusted: false, reserve: false})); @@ -4777,9 +4374,6 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_TriBTC, trusted: false, reserve: false}) ); - zeroPriceFeedsByNetwork[146].push( - SingeTokenPriceFeedData({token: TOKEN_TriBTC, trusted: false, reserve: false}) - ); // ------------------------ 2BTC-f ------------------------ zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN__2BTC_f, trusted: false, reserve: false})); @@ -4792,9 +4386,6 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN__2BTC_f, trusted: false, reserve: false}) ); - zeroPriceFeedsByNetwork[146].push( - SingeTokenPriceFeedData({token: TOKEN__2BTC_f, trusted: false, reserve: false}) - ); // ------------------------ 3CRV ------------------------ curvePriceFeedsByNetwork[1].push( @@ -4833,15 +4424,6 @@ contract PriceFeedDataLive { reserve: false }) ); - curvePriceFeedsByNetwork[146].push( - CurvePriceFeedData({ - lpToken: TOKEN__3CRV, - assets: TokensLib.arrayOf(TOKEN_DAI, TOKEN_USDC_e, TOKEN_USDT), - pool: Contracts.CURVE_3CRV_POOL_OP, - trusted: false, - reserve: false - }) - ); // ------------------------ crvUSDT ------------------------ curvePriceFeedsByNetwork[1].push( @@ -4880,15 +4462,6 @@ contract PriceFeedDataLive { reserve: false }) ); - curvePriceFeedsByNetwork[146].push( - CurvePriceFeedData({ - lpToken: TOKEN_crvUSDT, - assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDT), - pool: Contracts.CURVE_CRVUSD_USDT_POOL_ARB, - trusted: false, - reserve: false - }) - ); // ------------------------ yvCurve_stETH ------------------------ yearnPriceFeedsByNetwork[1].push( @@ -4903,9 +4476,6 @@ contract PriceFeedDataLive { yearnPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_yvCurve_stETH, trusted: false, reserve: false}) ); - yearnPriceFeedsByNetwork[146].push( - SingeTokenPriceFeedData({token: TOKEN_yvCurve_stETH, trusted: false, reserve: false}) - ); // ------------------------ yvCurve_FRAX ------------------------ yearnPriceFeedsByNetwork[1].push( @@ -4920,9 +4490,6 @@ contract PriceFeedDataLive { yearnPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_yvCurve_FRAX, trusted: false, reserve: false}) ); - yearnPriceFeedsByNetwork[146].push( - SingeTokenPriceFeedData({token: TOKEN_yvCurve_FRAX, trusted: false, reserve: false}) - ); // ------------------------ cvx3Crv ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -4957,14 +4524,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_cvx3Crv, - tokenHasSamePriceFeed: TOKEN__3Crv, - trusted: false, - reserve: false - }) - ); // ------------------------ cvxcrvFRAX ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -4999,14 +4558,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_cvxcrvFRAX, - tokenHasSamePriceFeed: TOKEN_crvFRAX, - trusted: false, - reserve: false - }) - ); // ------------------------ cvxsteCRV ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -5041,14 +4592,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_cvxsteCRV, - tokenHasSamePriceFeed: TOKEN_steCRV, - trusted: false, - reserve: false - }) - ); // ------------------------ cvxFRAX3CRV ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -5083,14 +4626,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_cvxFRAX3CRV, - tokenHasSamePriceFeed: TOKEN_FRAX3CRV, - trusted: false, - reserve: false - }) - ); // ------------------------ cvxLUSD3CRV ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -5125,14 +4660,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_cvxLUSD3CRV, - tokenHasSamePriceFeed: TOKEN_LUSD3CRV, - trusted: false, - reserve: false - }) - ); // ------------------------ cvxcrvPlain3andSUSD ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -5167,14 +4694,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_cvxcrvPlain3andSUSD, - tokenHasSamePriceFeed: TOKEN_crvPlain3andSUSD, - trusted: false, - reserve: false - }) - ); // ------------------------ cvxgusd3CRV ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -5209,14 +4728,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_cvxgusd3CRV, - tokenHasSamePriceFeed: TOKEN_gusd3CRV, - trusted: false, - reserve: false - }) - ); // ------------------------ cvxcrvCRVETH ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -5251,14 +4762,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_cvxcrvCRVETH, - tokenHasSamePriceFeed: TOKEN_crvCRVETH, - trusted: false, - reserve: false - }) - ); // ------------------------ cvxcrvCVXETH ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -5293,14 +4796,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_cvxcrvCVXETH, - tokenHasSamePriceFeed: TOKEN_crvCVXETH, - trusted: false, - reserve: false - }) - ); // ------------------------ cvxcrvUSDTWBTCWETH ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -5335,14 +4830,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_cvxcrvUSDTWBTCWETH, - tokenHasSamePriceFeed: TOKEN_crvUSDTWBTCWETH, - trusted: false, - reserve: false - }) - ); // ------------------------ cvxLDOETH ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -5377,14 +4864,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_cvxLDOETH, - tokenHasSamePriceFeed: TOKEN_LDOETH, - trusted: false, - reserve: false - }) - ); // ------------------------ cvxcrvUSDUSDC ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -5419,14 +4898,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_cvxcrvUSDUSDC, - tokenHasSamePriceFeed: TOKEN_crvUSDUSDC, - trusted: false, - reserve: false - }) - ); // ------------------------ cvxcrvUSDUSDT ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -5461,14 +4932,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_cvxcrvUSDUSDT, - tokenHasSamePriceFeed: TOKEN_crvUSDUSDT, - trusted: false, - reserve: false - }) - ); // ------------------------ cvxcrvUSDFRAX ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -5503,14 +4966,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_cvxcrvUSDFRAX, - tokenHasSamePriceFeed: TOKEN_crvUSDFRAX, - trusted: false, - reserve: false - }) - ); // ------------------------ cvxcrvUSDETHCRV ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -5545,14 +5000,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_cvxcrvUSDETHCRV, - tokenHasSamePriceFeed: TOKEN_crvUSDETHCRV, - trusted: false, - reserve: false - }) - ); // ------------------------ cvxGHOcrvUSD ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -5587,14 +5034,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_cvxGHOcrvUSD, - tokenHasSamePriceFeed: TOKEN_GHOcrvUSD, - trusted: false, - reserve: false - }) - ); // ------------------------ cvxllamathena ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -5661,22 +5100,6 @@ contract PriceFeedDataLive { reserve: true }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_cvxllamathena, - tokenHasSamePriceFeed: TOKEN_llamathena, - trusted: false, - reserve: false - }) - ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_cvxllamathena, - tokenHasSamePriceFeed: TOKEN_llamathena, - trusted: false, - reserve: true - }) - ); // ------------------------ stkcvx3Crv ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -5711,14 +5134,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_stkcvx3Crv, - tokenHasSamePriceFeed: TOKEN__3Crv, - trusted: false, - reserve: false - }) - ); // ------------------------ stkcvxcrvFRAX ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -5753,14 +5168,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_stkcvxcrvFRAX, - tokenHasSamePriceFeed: TOKEN_crvFRAX, - trusted: false, - reserve: false - }) - ); // ------------------------ stkcvxsteCRV ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -5795,14 +5202,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_stkcvxsteCRV, - tokenHasSamePriceFeed: TOKEN_steCRV, - trusted: false, - reserve: false - }) - ); // ------------------------ stkcvxFRAX3CRV ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -5837,14 +5236,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_stkcvxFRAX3CRV, - tokenHasSamePriceFeed: TOKEN_FRAX3CRV, - trusted: false, - reserve: false - }) - ); // ------------------------ stkcvxLUSD3CRV ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -5879,14 +5270,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_stkcvxLUSD3CRV, - tokenHasSamePriceFeed: TOKEN_LUSD3CRV, - trusted: false, - reserve: false - }) - ); // ------------------------ stkcvxcrvPlain3andSUSD ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -5905,15 +5288,7 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[10].push( - TheSamePriceFeedData({ - token: TOKEN_stkcvxcrvPlain3andSUSD, - tokenHasSamePriceFeed: TOKEN_crvPlain3andSUSD, - trusted: false, - reserve: false - }) - ); - theSamePriceFeedsByNetwork[8453].push( + theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ token: TOKEN_stkcvxcrvPlain3andSUSD, tokenHasSamePriceFeed: TOKEN_crvPlain3andSUSD, @@ -5921,7 +5296,7 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( + theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ token: TOKEN_stkcvxcrvPlain3andSUSD, tokenHasSamePriceFeed: TOKEN_crvPlain3andSUSD, @@ -5963,14 +5338,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_stkcvxgusd3CRV, - tokenHasSamePriceFeed: TOKEN_gusd3CRV, - trusted: false, - reserve: false - }) - ); // ------------------------ stkcvxcrvCRVETH ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -6005,14 +5372,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_stkcvxcrvCRVETH, - tokenHasSamePriceFeed: TOKEN_crvCRVETH, - trusted: false, - reserve: false - }) - ); // ------------------------ stkcvxcrvCVXETH ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -6047,14 +5406,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_stkcvxcrvCVXETH, - tokenHasSamePriceFeed: TOKEN_crvCVXETH, - trusted: false, - reserve: false - }) - ); // ------------------------ stkcvxcrvUSDTWBTCWETH ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -6089,14 +5440,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_stkcvxcrvUSDTWBTCWETH, - tokenHasSamePriceFeed: TOKEN_crvUSDTWBTCWETH, - trusted: false, - reserve: false - }) - ); // ------------------------ stkcvxLDOETH ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -6131,14 +5474,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_stkcvxLDOETH, - tokenHasSamePriceFeed: TOKEN_LDOETH, - trusted: false, - reserve: false - }) - ); // ------------------------ stkcvxcrvUSDUSDC ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -6205,22 +5540,6 @@ contract PriceFeedDataLive { reserve: true }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_stkcvxcrvUSDUSDC, - tokenHasSamePriceFeed: TOKEN_crvUSDUSDC, - trusted: false, - reserve: false - }) - ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_stkcvxcrvUSDUSDC, - tokenHasSamePriceFeed: TOKEN_crvUSDUSDC, - trusted: false, - reserve: true - }) - ); // ------------------------ stkcvxcrvUSDUSDT ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -6287,22 +5606,6 @@ contract PriceFeedDataLive { reserve: true }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_stkcvxcrvUSDUSDT, - tokenHasSamePriceFeed: TOKEN_crvUSDUSDT, - trusted: false, - reserve: false - }) - ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_stkcvxcrvUSDUSDT, - tokenHasSamePriceFeed: TOKEN_crvUSDUSDT, - trusted: false, - reserve: true - }) - ); // ------------------------ stkcvxcrvUSDFRAX ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -6337,14 +5640,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_stkcvxcrvUSDFRAX, - tokenHasSamePriceFeed: TOKEN_crvUSDFRAX, - trusted: false, - reserve: false - }) - ); // ------------------------ stkcvxcrvUSDETHCRV ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -6379,14 +5674,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_stkcvxcrvUSDETHCRV, - tokenHasSamePriceFeed: TOKEN_crvUSDETHCRV, - trusted: false, - reserve: false - }) - ); // ------------------------ stkcvxGHOcrvUSD ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -6421,14 +5708,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_stkcvxGHOcrvUSD, - tokenHasSamePriceFeed: TOKEN_GHOcrvUSD, - trusted: false, - reserve: false - }) - ); // ------------------------ stkcvxllamathena ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -6495,22 +5774,6 @@ contract PriceFeedDataLive { reserve: true }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_stkcvxllamathena, - tokenHasSamePriceFeed: TOKEN_llamathena, - trusted: false, - reserve: false - }) - ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_stkcvxllamathena, - tokenHasSamePriceFeed: TOKEN_llamathena, - trusted: false, - reserve: true - }) - ); // ------------------------ cvxcrvUSDT ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -6545,14 +5808,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_cvxcrvUSDT, - tokenHasSamePriceFeed: TOKEN_crvUSDT, - trusted: false, - reserve: false - }) - ); // ------------------------ B_80BAL_20WETH ------------------------ balancerWeightedLPPriceFeedsByNetwork[1].push( @@ -6587,14 +5842,6 @@ contract PriceFeedDataLive { reserve: false }) ); - balancerWeightedLPPriceFeedsByNetwork[146].push( - BalancerLPPriceFeedData({ - lpToken: TOKEN_B_80BAL_20WETH, - assets: TokensLib.arrayOf(TOKEN_BAL, TOKEN_WETH), - trusted: false, - reserve: false - }) - ); // ------------------------ 50WETH_50AURA ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -6609,9 +5856,6 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN__50WETH_50AURA, trusted: false, reserve: false}) ); - zeroPriceFeedsByNetwork[146].push( - SingeTokenPriceFeedData({token: TOKEN__50WETH_50AURA, trusted: false, reserve: false}) - ); // ------------------------ USDC_DAI_USDT ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( @@ -6646,14 +5890,6 @@ contract PriceFeedDataLive { reserve: false }) ); - balancerStableLPPriceFeedsByNetwork[146].push( - BalancerLPPriceFeedData({ - lpToken: TOKEN_USDC_DAI_USDT, - assets: TokensLib.arrayOf(TOKEN_USDC, TOKEN_DAI, TOKEN_USDT), - trusted: false, - reserve: false - }) - ); // ------------------------ B_rETH_STABLE ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( @@ -6688,14 +5924,6 @@ contract PriceFeedDataLive { reserve: false }) ); - balancerStableLPPriceFeedsByNetwork[146].push( - BalancerLPPriceFeedData({ - lpToken: TOKEN_B_rETH_STABLE, - assets: TokensLib.arrayOf(TOKEN_rETH, TOKEN_WETH), - trusted: false, - reserve: false - }) - ); // ------------------------ weETH_rETH ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( @@ -6730,14 +5958,6 @@ contract PriceFeedDataLive { reserve: false }) ); - balancerStableLPPriceFeedsByNetwork[146].push( - BalancerLPPriceFeedData({ - lpToken: TOKEN_weETH_rETH, - assets: TokensLib.arrayOf(TOKEN_weETH, TOKEN_rETH), - trusted: false, - reserve: false - }) - ); // ------------------------ osETH_wETH_BPT ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( @@ -6772,14 +5992,6 @@ contract PriceFeedDataLive { reserve: false }) ); - balancerStableLPPriceFeedsByNetwork[146].push( - BalancerLPPriceFeedData({ - lpToken: TOKEN_osETH_wETH_BPT, - assets: TokensLib.arrayOf(TOKEN_WETH, TOKEN_osETH), - trusted: false, - reserve: false - }) - ); // ------------------------ ezETH_WETH_BPT ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -6794,9 +6006,6 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_ezETH_WETH_BPT, trusted: false, reserve: false}) ); - zeroPriceFeedsByNetwork[146].push( - SingeTokenPriceFeedData({token: TOKEN_ezETH_WETH_BPT, trusted: false, reserve: false}) - ); // ------------------------ sUSDe_USDC_BPT ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -6811,9 +6020,6 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_sUSDe_USDC_BPT, trusted: false, reserve: false}) ); - zeroPriceFeedsByNetwork[146].push( - SingeTokenPriceFeedData({token: TOKEN_sUSDe_USDC_BPT, trusted: false, reserve: false}) - ); // ------------------------ trenSTETH ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -6828,9 +6034,6 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_trenSTETH, trusted: false, reserve: false}) ); - zeroPriceFeedsByNetwork[146].push( - SingeTokenPriceFeedData({token: TOKEN_trenSTETH, trusted: false, reserve: false}) - ); // ------------------------ DVstETH_wstETH_BPT ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -6845,9 +6048,6 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_DVstETH_wstETH_BPT, trusted: false, reserve: false}) ); - zeroPriceFeedsByNetwork[146].push( - SingeTokenPriceFeedData({token: TOKEN_DVstETH_wstETH_BPT, trusted: false, reserve: false}) - ); // ------------------------ weETH_ezETH_rswETH ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -6862,9 +6062,6 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_weETH_ezETH_rswETH, trusted: false, reserve: false}) ); - zeroPriceFeedsByNetwork[146].push( - SingeTokenPriceFeedData({token: TOKEN_weETH_ezETH_rswETH, trusted: false, reserve: false}) - ); // ------------------------ rsETH_WETH ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( @@ -6899,14 +6096,6 @@ contract PriceFeedDataLive { reserve: false }) ); - balancerStableLPPriceFeedsByNetwork[146].push( - BalancerLPPriceFeedData({ - lpToken: TOKEN_rsETH_WETH, - assets: TokensLib.arrayOf(TOKEN_rsETH, TOKEN_WETH), - trusted: false, - reserve: false - }) - ); // ------------------------ rsETH_wETH_Arb ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( @@ -6941,14 +6130,6 @@ contract PriceFeedDataLive { reserve: false }) ); - balancerStableLPPriceFeedsByNetwork[146].push( - BalancerLPPriceFeedData({ - lpToken: TOKEN_rsETH_wETH_Arb, - assets: TokensLib.arrayOf(TOKEN_rsETH, TOKEN_WETH), - trusted: false, - reserve: false - }) - ); // ------------------------ BPT_rETH_ETH ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( @@ -6983,14 +6164,6 @@ contract PriceFeedDataLive { reserve: false }) ); - balancerStableLPPriceFeedsByNetwork[146].push( - BalancerLPPriceFeedData({ - lpToken: TOKEN_BPT_rETH_ETH, - assets: TokensLib.arrayOf(TOKEN_rETH, TOKEN_WETH), - trusted: false, - reserve: false - }) - ); // ------------------------ BPT_WSTETH_ETH ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( @@ -7025,14 +6198,6 @@ contract PriceFeedDataLive { reserve: false }) ); - balancerStableLPPriceFeedsByNetwork[146].push( - BalancerLPPriceFeedData({ - lpToken: TOKEN_BPT_WSTETH_ETH, - assets: TokensLib.arrayOf(TOKEN_wstETH, TOKEN_WETH), - trusted: false, - reserve: false - }) - ); // ------------------------ BPT_ROAD ------------------------ balancerWeightedLPPriceFeedsByNetwork[1].push( @@ -7067,14 +6232,6 @@ contract PriceFeedDataLive { reserve: false }) ); - balancerWeightedLPPriceFeedsByNetwork[146].push( - BalancerLPPriceFeedData({ - lpToken: TOKEN_BPT_ROAD, - assets: TokensLib.arrayOf(TOKEN_WETH, TOKEN_OP, TOKEN_USDC), - trusted: false, - reserve: false - }) - ); // ------------------------ ECLP_wstETH_WETH ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -7089,9 +6246,6 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_ECLP_wstETH_WETH, trusted: true, reserve: false}) ); - zeroPriceFeedsByNetwork[146].push( - SingeTokenPriceFeedData({token: TOKEN_ECLP_wstETH_WETH, trusted: true, reserve: false}) - ); // ------------------------ wstETH_WETH_BPT ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( @@ -7126,14 +6280,6 @@ contract PriceFeedDataLive { reserve: false }) ); - balancerStableLPPriceFeedsByNetwork[146].push( - BalancerLPPriceFeedData({ - lpToken: TOKEN_wstETH_WETH_BPT, - assets: TokensLib.arrayOf(TOKEN_wstETH, TOKEN_WETH), - trusted: false, - reserve: false - }) - ); // ------------------------ wstETH_rETH_cbETH ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( @@ -7168,14 +6314,6 @@ contract PriceFeedDataLive { reserve: false }) ); - balancerStableLPPriceFeedsByNetwork[146].push( - BalancerLPPriceFeedData({ - lpToken: TOKEN_wstETH_rETH_cbETH, - assets: TokensLib.arrayOf(TOKEN_wstETH, TOKEN_rETH, TOKEN_cbETH), - trusted: false, - reserve: false - }) - ); // ------------------------ cbETH_rETH_wstETH ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( @@ -7210,14 +6348,6 @@ contract PriceFeedDataLive { reserve: false }) ); - balancerStableLPPriceFeedsByNetwork[146].push( - BalancerLPPriceFeedData({ - lpToken: TOKEN_cbETH_rETH_wstETH, - assets: TokensLib.arrayOf(TOKEN_cbETH, TOKEN_wstETH, TOKEN_rETH), - trusted: false, - reserve: false - }) - ); // ------------------------ wstETH_rETH_sfrxETH ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( @@ -7252,14 +6382,6 @@ contract PriceFeedDataLive { reserve: false }) ); - balancerStableLPPriceFeedsByNetwork[146].push( - BalancerLPPriceFeedData({ - lpToken: TOKEN_wstETH_rETH_sfrxETH, - assets: TokensLib.arrayOf(TOKEN_wstETH, TOKEN_rETH, TOKEN_sfrxETH), - trusted: false, - reserve: false - }) - ); // ------------------------ rETH_WETH_BPT_deprecated ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( @@ -7294,14 +6416,6 @@ contract PriceFeedDataLive { reserve: false }) ); - balancerStableLPPriceFeedsByNetwork[146].push( - BalancerLPPriceFeedData({ - lpToken: TOKEN_rETH_WETH_BPT_deprecated, - assets: TokensLib.arrayOf(TOKEN_rETH, TOKEN_WETH), - trusted: false, - reserve: false - }) - ); // ------------------------ rETH_wETH_BPT ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( @@ -7336,14 +6450,6 @@ contract PriceFeedDataLive { reserve: false }) ); - balancerStableLPPriceFeedsByNetwork[146].push( - BalancerLPPriceFeedData({ - lpToken: TOKEN_rETH_wETH_BPT, - assets: TokensLib.arrayOf(TOKEN_rETH, TOKEN_WETH), - trusted: false, - reserve: false - }) - ); // ------------------------ bpt_ethtri ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( @@ -7378,14 +6484,6 @@ contract PriceFeedDataLive { reserve: false }) ); - balancerStableLPPriceFeedsByNetwork[146].push( - BalancerLPPriceFeedData({ - lpToken: TOKEN_bpt_ethtri, - assets: TokensLib.arrayOf(TOKEN_wstETH, TOKEN_sfrxETH, TOKEN_rETH), - trusted: false, - reserve: false - }) - ); // ------------------------ pumpBTC_WBTC_BPT ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -7400,9 +6498,6 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_pumpBTC_WBTC_BPT, trusted: false, reserve: false}) ); - zeroPriceFeedsByNetwork[146].push( - SingeTokenPriceFeedData({token: TOKEN_pumpBTC_WBTC_BPT, trusted: false, reserve: false}) - ); // ------------------------ eBTC_WBTC_BPT ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -7417,9 +6512,6 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_eBTC_WBTC_BPT, trusted: false, reserve: false}) ); - zeroPriceFeedsByNetwork[146].push( - SingeTokenPriceFeedData({token: TOKEN_eBTC_WBTC_BPT, trusted: false, reserve: false}) - ); // ------------------------ 33AURA_33ARB_33BAL ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -7434,9 +6526,6 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN__33AURA_33ARB_33BAL, trusted: true, reserve: false}) ); - zeroPriceFeedsByNetwork[146].push( - SingeTokenPriceFeedData({token: TOKEN__33AURA_33ARB_33BAL, trusted: true, reserve: false}) - ); // ------------------------ ezETH_wstETH ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -7451,9 +6540,6 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_ezETH_wstETH, trusted: true, reserve: false}) ); - zeroPriceFeedsByNetwork[146].push( - SingeTokenPriceFeedData({token: TOKEN_ezETH_wstETH, trusted: true, reserve: false}) - ); // ------------------------ GHO_USDT_USDC ------------------------ zeroPriceFeedsByNetwork[1].push( @@ -7468,9 +6554,6 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_GHO_USDT_USDC, trusted: true, reserve: false}) ); - zeroPriceFeedsByNetwork[146].push( - SingeTokenPriceFeedData({token: TOKEN_GHO_USDT_USDC, trusted: true, reserve: false}) - ); // ------------------------ dDAI ------------------------ zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_dDAI, trusted: false, reserve: false})); @@ -7658,9 +6741,6 @@ contract PriceFeedDataLive { theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({token: TOKEN_aDAI, tokenHasSamePriceFeed: TOKEN_DAI, trusted: false, reserve: false}) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({token: TOKEN_aDAI, tokenHasSamePriceFeed: TOKEN_DAI, trusted: false, reserve: false}) - ); // ------------------------ aUSDC ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -7675,9 +6755,6 @@ contract PriceFeedDataLive { theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({token: TOKEN_aUSDC, tokenHasSamePriceFeed: TOKEN_USDC, trusted: false, reserve: false}) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({token: TOKEN_aUSDC, tokenHasSamePriceFeed: TOKEN_USDC, trusted: false, reserve: false}) - ); // ------------------------ aUSDT ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -7692,9 +6769,6 @@ contract PriceFeedDataLive { theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({token: TOKEN_aUSDT, tokenHasSamePriceFeed: TOKEN_USDT, trusted: false, reserve: false}) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({token: TOKEN_aUSDT, tokenHasSamePriceFeed: TOKEN_USDT, trusted: false, reserve: false}) - ); // ------------------------ aWETH ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -7709,9 +6783,6 @@ contract PriceFeedDataLive { theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({token: TOKEN_aWETH, tokenHasSamePriceFeed: TOKEN_WETH, trusted: false, reserve: false}) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({token: TOKEN_aWETH, tokenHasSamePriceFeed: TOKEN_WETH, trusted: false, reserve: false}) - ); // ------------------------ waDAI ------------------------ wrappedAaveV2PriceFeedsByNetwork[1].push( @@ -7726,9 +6797,6 @@ contract PriceFeedDataLive { wrappedAaveV2PriceFeedsByNetwork[8453].push( GenericLPPriceFeedData({lpToken: TOKEN_waDAI, underlying: TOKEN_aDAI, trusted: false, reserve: false}) ); - wrappedAaveV2PriceFeedsByNetwork[146].push( - GenericLPPriceFeedData({lpToken: TOKEN_waDAI, underlying: TOKEN_aDAI, trusted: false, reserve: false}) - ); // ------------------------ waUSDC ------------------------ wrappedAaveV2PriceFeedsByNetwork[1].push( @@ -7743,9 +6811,6 @@ contract PriceFeedDataLive { wrappedAaveV2PriceFeedsByNetwork[8453].push( GenericLPPriceFeedData({lpToken: TOKEN_waUSDC, underlying: TOKEN_aUSDC, trusted: false, reserve: false}) ); - wrappedAaveV2PriceFeedsByNetwork[146].push( - GenericLPPriceFeedData({lpToken: TOKEN_waUSDC, underlying: TOKEN_aUSDC, trusted: false, reserve: false}) - ); // ------------------------ waUSDT ------------------------ wrappedAaveV2PriceFeedsByNetwork[1].push( @@ -7760,9 +6825,6 @@ contract PriceFeedDataLive { wrappedAaveV2PriceFeedsByNetwork[8453].push( GenericLPPriceFeedData({lpToken: TOKEN_waUSDT, underlying: TOKEN_aUSDT, trusted: false, reserve: false}) ); - wrappedAaveV2PriceFeedsByNetwork[146].push( - GenericLPPriceFeedData({lpToken: TOKEN_waUSDT, underlying: TOKEN_aUSDT, trusted: false, reserve: false}) - ); // ------------------------ waWETH ------------------------ wrappedAaveV2PriceFeedsByNetwork[1].push( @@ -7777,9 +6839,6 @@ contract PriceFeedDataLive { wrappedAaveV2PriceFeedsByNetwork[8453].push( GenericLPPriceFeedData({lpToken: TOKEN_waWETH, underlying: TOKEN_aWETH, trusted: false, reserve: false}) ); - wrappedAaveV2PriceFeedsByNetwork[146].push( - GenericLPPriceFeedData({lpToken: TOKEN_waWETH, underlying: TOKEN_aWETH, trusted: false, reserve: false}) - ); // ------------------------ cDAI ------------------------ compoundV2PriceFeedsByNetwork[1].push( @@ -7794,9 +6853,6 @@ contract PriceFeedDataLive { compoundV2PriceFeedsByNetwork[8453].push( GenericLPPriceFeedData({lpToken: TOKEN_cDAI, underlying: TOKEN_DAI, trusted: false, reserve: false}) ); - compoundV2PriceFeedsByNetwork[146].push( - GenericLPPriceFeedData({lpToken: TOKEN_cDAI, underlying: TOKEN_DAI, trusted: false, reserve: false}) - ); // ------------------------ cUSDC ------------------------ compoundV2PriceFeedsByNetwork[1].push( @@ -7811,9 +6867,6 @@ contract PriceFeedDataLive { compoundV2PriceFeedsByNetwork[8453].push( GenericLPPriceFeedData({lpToken: TOKEN_cUSDC, underlying: TOKEN_USDC, trusted: false, reserve: false}) ); - compoundV2PriceFeedsByNetwork[146].push( - GenericLPPriceFeedData({lpToken: TOKEN_cUSDC, underlying: TOKEN_USDC, trusted: false, reserve: false}) - ); // ------------------------ cUSDT ------------------------ compoundV2PriceFeedsByNetwork[1].push( @@ -7828,9 +6881,6 @@ contract PriceFeedDataLive { compoundV2PriceFeedsByNetwork[8453].push( GenericLPPriceFeedData({lpToken: TOKEN_cUSDT, underlying: TOKEN_USDT, trusted: false, reserve: false}) ); - compoundV2PriceFeedsByNetwork[146].push( - GenericLPPriceFeedData({lpToken: TOKEN_cUSDT, underlying: TOKEN_USDT, trusted: false, reserve: false}) - ); // ------------------------ cLINK ------------------------ compoundV2PriceFeedsByNetwork[1].push( @@ -7845,9 +6895,6 @@ contract PriceFeedDataLive { compoundV2PriceFeedsByNetwork[8453].push( GenericLPPriceFeedData({lpToken: TOKEN_cLINK, underlying: TOKEN_LINK, trusted: false, reserve: false}) ); - compoundV2PriceFeedsByNetwork[146].push( - GenericLPPriceFeedData({lpToken: TOKEN_cLINK, underlying: TOKEN_LINK, trusted: false, reserve: false}) - ); // ------------------------ cETH ------------------------ compoundV2PriceFeedsByNetwork[1].push( @@ -7862,9 +6909,6 @@ contract PriceFeedDataLive { compoundV2PriceFeedsByNetwork[8453].push( GenericLPPriceFeedData({lpToken: TOKEN_cETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) ); - compoundV2PriceFeedsByNetwork[146].push( - GenericLPPriceFeedData({lpToken: TOKEN_cETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) - ); // ------------------------ fUSDC ------------------------ compoundV2PriceFeedsByNetwork[1].push( @@ -7879,9 +6923,6 @@ contract PriceFeedDataLive { compoundV2PriceFeedsByNetwork[8453].push( GenericLPPriceFeedData({lpToken: TOKEN_fUSDC, underlying: TOKEN_USDC, trusted: false, reserve: false}) ); - compoundV2PriceFeedsByNetwork[146].push( - GenericLPPriceFeedData({lpToken: TOKEN_fUSDC, underlying: TOKEN_USDC, trusted: false, reserve: false}) - ); // ------------------------ MKR ------------------------ chainlinkPriceFeedsByNetwork[1].push( @@ -8088,31 +7129,6 @@ contract PriceFeedDataLive { reserve: true }) ); - erc4626PriceFeedsByNetwork[146].push( - GenericLPPriceFeedData({lpToken: TOKEN_sDAI, underlying: TOKEN_DAI, trusted: false, reserve: false}) - ); - redStonePriceFeedsByNetwork[146].push( - RedStonePriceFeedData({ - token: TOKEN_sDAI, - dataServiceId: "redstone-primary-prod", - dataFeedId: "sDAI", - signers: [ - 0x8BB8F32Df04c8b654987DAaeD53D6B6091e3B774, - 0xdEB22f54738d54976C4c0fe5ce6d408E40d88499, - 0x51Ce04Be4b3E32572C4Ec9135221d0691Ba7d202, - 0xDD682daEC5A90dD295d14DA4b0bec9281017b5bE, - 0x9c5AE89C4Af6aA32cE58588DBaF90d18a855B6de, - address(0), - address(0), - address(0), - address(0), - address(0) - ], - signersThreshold: 5, - trusted: false, - reserve: true - }) - ); // ------------------------ sUSDe ------------------------ erc4626PriceFeedsByNetwork[1].push( @@ -8163,18 +7179,6 @@ contract PriceFeedDataLive { reserve: true }) ); - erc4626PriceFeedsByNetwork[146].push( - GenericLPPriceFeedData({lpToken: TOKEN_sUSDe, underlying: TOKEN_USDe, trusted: false, reserve: false}) - ); - chainlinkPriceFeedsByNetwork[146].push( - ChainlinkPriceFeedData({ - token: TOKEN_sUSDe, - priceFeed: 0xb99D174ED06c83588Af997c8859F93E83dD4733f, - stalenessPeriod: 87300, - trusted: false, - reserve: true - }) - ); // ------------------------ YieldETH ------------------------ erc4626PriceFeedsByNetwork[1].push( @@ -8189,9 +7193,6 @@ contract PriceFeedDataLive { erc4626PriceFeedsByNetwork[8453].push( GenericLPPriceFeedData({lpToken: TOKEN_YieldETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) ); - erc4626PriceFeedsByNetwork[146].push( - GenericLPPriceFeedData({lpToken: TOKEN_YieldETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) - ); // ------------------------ sUSDS ------------------------ erc4626PriceFeedsByNetwork[1].push( @@ -8218,12 +7219,6 @@ contract PriceFeedDataLive { erc4626PriceFeedsByNetwork[8453].push( GenericLPPriceFeedData({lpToken: TOKEN_sUSDS, underlying: TOKEN_USDS, trusted: false, reserve: true}) ); - erc4626PriceFeedsByNetwork[146].push( - GenericLPPriceFeedData({lpToken: TOKEN_sUSDS, underlying: TOKEN_USDS, trusted: false, reserve: false}) - ); - erc4626PriceFeedsByNetwork[146].push( - GenericLPPriceFeedData({lpToken: TOKEN_sUSDS, underlying: TOKEN_USDS, trusted: false, reserve: true}) - ); // ------------------------ scrvUSD ------------------------ erc4626PriceFeedsByNetwork[1].push( @@ -8266,14 +7261,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_auraB_rETH_STABLE, - tokenHasSamePriceFeed: TOKEN_B_rETH_STABLE, - trusted: false, - reserve: false - }) - ); // ------------------------ auraB_rETH_STABLE_vault ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -8308,14 +7295,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_auraB_rETH_STABLE_vault, - tokenHasSamePriceFeed: TOKEN_B_rETH_STABLE, - trusted: false, - reserve: false - }) - ); // ------------------------ auraweETH_rETH ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -8350,14 +7329,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_auraweETH_rETH, - tokenHasSamePriceFeed: TOKEN_weETH_rETH, - trusted: false, - reserve: false - }) - ); // ------------------------ auraweETH_rETH_vault ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -8392,14 +7363,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_auraweETH_rETH_vault, - tokenHasSamePriceFeed: TOKEN_weETH_rETH, - trusted: false, - reserve: false - }) - ); // ------------------------ auraosETH_wETH_BPT ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -8434,14 +7397,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_auraosETH_wETH_BPT, - tokenHasSamePriceFeed: TOKEN_osETH_wETH_BPT, - trusted: false, - reserve: false - }) - ); // ------------------------ aurarETH_wETH_BPT ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -8476,14 +7431,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_aurarETH_wETH_BPT, - tokenHasSamePriceFeed: TOKEN_rETH_wETH_BPT, - trusted: false, - reserve: false - }) - ); // ------------------------ auracbETH_rETH_wstETH ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -8518,14 +7465,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_auracbETH_rETH_wstETH, - tokenHasSamePriceFeed: TOKEN_cbETH_rETH_wstETH, - trusted: false, - reserve: false - }) - ); // ------------------------ aurawstETH_rETH_sfrxETH ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -8560,14 +7499,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_aurawstETH_rETH_sfrxETH, - tokenHasSamePriceFeed: TOKEN_wstETH_rETH_sfrxETH, - trusted: false, - reserve: false - }) - ); // ------------------------ aurawstETH_WETH_BPT ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -8602,14 +7533,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_aurawstETH_WETH_BPT, - tokenHasSamePriceFeed: TOKEN_wstETH_WETH_BPT, - trusted: false, - reserve: false - }) - ); // ------------------------ auraosETH_wETH_BPT_vault ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -8644,14 +7567,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_auraosETH_wETH_BPT_vault, - tokenHasSamePriceFeed: TOKEN_osETH_wETH_BPT, - trusted: false, - reserve: false - }) - ); // ------------------------ auraBPT_rETH_ETH ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -8686,14 +7601,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_auraBPT_rETH_ETH, - tokenHasSamePriceFeed: TOKEN_BPT_rETH_ETH, - trusted: false, - reserve: false - }) - ); // ------------------------ auraBPT_rETH_ETH_vault ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -8728,14 +7635,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_auraBPT_rETH_ETH_vault, - tokenHasSamePriceFeed: TOKEN_BPT_rETH_ETH, - trusted: false, - reserve: false - }) - ); // ------------------------ auraBPT_WSTETH_ETH ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -8770,14 +7669,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_auraBPT_WSTETH_ETH, - tokenHasSamePriceFeed: TOKEN_BPT_WSTETH_ETH, - trusted: false, - reserve: false - }) - ); // ------------------------ auraBPT_WSTETH_ETH_vault ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -8812,14 +7703,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_auraBPT_WSTETH_ETH_vault, - tokenHasSamePriceFeed: TOKEN_BPT_WSTETH_ETH, - trusted: false, - reserve: false - }) - ); // ------------------------ aurarETH_wETH_BPT_vault ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -8854,14 +7737,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_aurarETH_wETH_BPT_vault, - tokenHasSamePriceFeed: TOKEN_rETH_wETH_BPT, - trusted: false, - reserve: false - }) - ); // ------------------------ auracbETH_rETH_wstETH_vault ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -8896,14 +7771,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_auracbETH_rETH_wstETH_vault, - tokenHasSamePriceFeed: TOKEN_cbETH_rETH_wstETH, - trusted: false, - reserve: false - }) - ); // ------------------------ aurawstETH_rETH_sfrxETH_vault ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -8938,14 +7805,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_aurawstETH_rETH_sfrxETH_vault, - tokenHasSamePriceFeed: TOKEN_wstETH_rETH_sfrxETH, - trusted: false, - reserve: false - }) - ); // ------------------------ aurawstETH_WETH_BPT_vault ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -8980,14 +7839,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_aurawstETH_WETH_BPT_vault, - tokenHasSamePriceFeed: TOKEN_wstETH_WETH_BPT, - trusted: false, - reserve: false - }) - ); // ------------------------ zpufETH ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -9022,14 +7873,6 @@ contract PriceFeedDataLive { reserve: false }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_zpufETH, - tokenHasSamePriceFeed: TOKEN_pufETH, - trusted: false, - reserve: false - }) - ); // ------------------------ stkUSDS ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -9096,22 +7939,6 @@ contract PriceFeedDataLive { reserve: true }) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_stkUSDS, - tokenHasSamePriceFeed: TOKEN_USDS, - trusted: false, - reserve: false - }) - ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_stkUSDS, - tokenHasSamePriceFeed: TOKEN_USDS, - trusted: false, - reserve: true - }) - ); // ------------------------ steakLRT ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -9156,17 +7983,6 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_steakLRT, trusted: false, reserve: true}) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_steakLRT, - tokenHasSamePriceFeed: TOKEN_wstETH, - trusted: false, - reserve: false - }) - ); - zeroPriceFeedsByNetwork[146].push( - SingeTokenPriceFeedData({token: TOKEN_steakLRT, trusted: false, reserve: true}) - ); // ------------------------ Re7LRT ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -9209,15 +8025,6 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_Re7LRT, trusted: false, reserve: true}) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_Re7LRT, - tokenHasSamePriceFeed: TOKEN_wstETH, - trusted: false, - reserve: false - }) - ); - zeroPriceFeedsByNetwork[146].push(SingeTokenPriceFeedData({token: TOKEN_Re7LRT, trusted: false, reserve: true})); // ------------------------ amphrETH ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -9262,17 +8069,6 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_amphrETH, trusted: false, reserve: true}) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_amphrETH, - tokenHasSamePriceFeed: TOKEN_wstETH, - trusted: false, - reserve: false - }) - ); - zeroPriceFeedsByNetwork[146].push( - SingeTokenPriceFeedData({token: TOKEN_amphrETH, trusted: false, reserve: true}) - ); // ------------------------ rstETH ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -9315,15 +8111,6 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_rstETH, trusted: false, reserve: true}) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_rstETH, - tokenHasSamePriceFeed: TOKEN_wstETH, - trusted: false, - reserve: false - }) - ); - zeroPriceFeedsByNetwork[146].push(SingeTokenPriceFeedData({token: TOKEN_rstETH, trusted: false, reserve: true})); // ------------------------ pzETH ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -9364,15 +8151,6 @@ contract PriceFeedDataLive { }) ); zeroPriceFeedsByNetwork[8453].push(SingeTokenPriceFeedData({token: TOKEN_pzETH, trusted: false, reserve: true})); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_pzETH, - tokenHasSamePriceFeed: TOKEN_wstETH, - trusted: false, - reserve: false - }) - ); - zeroPriceFeedsByNetwork[146].push(SingeTokenPriceFeedData({token: TOKEN_pzETH, trusted: false, reserve: true})); // ------------------------ DVstETH ------------------------ theSamePriceFeedsByNetwork[1].push( @@ -9415,17 +8193,6 @@ contract PriceFeedDataLive { zeroPriceFeedsByNetwork[8453].push( SingeTokenPriceFeedData({token: TOKEN_DVstETH, trusted: false, reserve: true}) ); - theSamePriceFeedsByNetwork[146].push( - TheSamePriceFeedData({ - token: TOKEN_DVstETH, - tokenHasSamePriceFeed: TOKEN_wstETH, - trusted: false, - reserve: false - }) - ); - zeroPriceFeedsByNetwork[146].push( - SingeTokenPriceFeedData({token: TOKEN_DVstETH, trusted: false, reserve: true}) - ); // ------------------------ PT_rsETH_26SEP2024 ------------------------ pendlePriceFeedsByNetwork[1].push( diff --git a/contracts/TokensData.sol b/contracts/TokensData.sol index 6a8dee2..3501183 100644 --- a/contracts/TokensData.sol +++ b/contracts/TokensData.sol @@ -2780,15 +2780,6 @@ contract TokensDataLive { tokenType: TokenType.NORMAL_TOKEN }) ); - - tokenDataByNetwork[146].push( - TokenData({ - id: TOKEN_USDC, - addr: 0x29219dd400f2Bf60E5a23d13Be72B486D4038894, - symbol: "USDC", - tokenType: TokenType.NORMAL_TOKEN - }) - ); } function getTokenData(uint256 chainId) external view returns (TokenData[] memory) { diff --git a/src/contracts/contracts.ts b/src/contracts/contracts.ts index 4e0bb3b..6d9fca4 100755 --- a/src/contracts/contracts.ts +++ b/src/contracts/contracts.ts @@ -848,171 +848,6 @@ export const contractsByNetwork: Record< MELLOW_RENZO_VAULT: tokenDataByNetwork.Base.pzETH, MELLOW_DECENTALIZED_VALIDATOR_VAULT: tokenDataByNetwork.Base.DVstETH, - SKY_STAKING_REWARDS: NOT_DEPLOYED, - DAI_USDS: NOT_DEPLOYED, - }, - // - // - // - // - // SONIC - // - // - // - // - Sonic: { - UNISWAP_V2_ROUTER: NOT_DEPLOYED, - UNISWAP_V3_ROUTER: NOT_DEPLOYED, - PANCAKESWAP_V3_ROUTER: NOT_DEPLOYED, - SUSHISWAP_ROUTER: NOT_DEPLOYED, - FRAXSWAP_ROUTER: NOT_DEPLOYED, - VELODROME_V2_ROUTER: NOT_DEPLOYED, - VELODROME_CL_ROUTER: NOT_DEPLOYED, - CAMELOT_V3_ROUTER: NOT_DEPLOYED, - PENDLE_ROUTER: NOT_DEPLOYED, - - // CURVE - CURVE_3CRV_POOL_OP: NOT_DEPLOYED, - CURVE_3CRV_POOL: NOT_DEPLOYED, - CURVE_FRAX_USDC_POOL: NOT_DEPLOYED, - CURVE_STETH_GATEWAY: NOT_DEPLOYED, - CURVE_FRAX_POOL: NOT_DEPLOYED, - CURVE_LUSD_POOL: NOT_DEPLOYED, - CURVE_SUSD_POOL: NOT_DEPLOYED, - CURVE_SUSD_DEPOSIT: NOT_DEPLOYED, - CURVE_GUSD_POOL: NOT_DEPLOYED, - CURVE_CRVETH_POOL: NOT_DEPLOYED, - CURVE_CVXETH_POOL: NOT_DEPLOYED, - CURVE_3CRYPTO_POOL: NOT_DEPLOYED, - CURVE_LDOETH_POOL: NOT_DEPLOYED, - CURVE_USDE_USDC_POOL: NOT_DEPLOYED, - CURVE_FRAX_USDE_POOL: NOT_DEPLOYED, - CURVE_USDE_CRVUSD_POOL: NOT_DEPLOYED, - CURVE_FRAX_SDAI_POOL: NOT_DEPLOYED, - CURVE_DOLA_SUSDE_POOL: NOT_DEPLOYED, - CURVE_DOLA_FRAXBP_POOL: NOT_DEPLOYED, - CURVE_DOLA_CRVUSD_POOL: NOT_DEPLOYED, - CURVE_USDE_DAI_POOL: NOT_DEPLOYED, - CURVE_SDAI_SUSDE_POOL: NOT_DEPLOYED, - CURVE_GHO_USDE_POOL: NOT_DEPLOYED, - CURVE_PUFETH_WSTETH_POOL: NOT_DEPLOYED, - CURVE_GHO_CRVUSD_POOL: NOT_DEPLOYED, - CURVE_ETH_WSTETH_GATEWAY_OP: NOT_DEPLOYED, - CURVE_EZETH_ETH_POOL: NOT_DEPLOYED, - CURVE_EZPZ_ETH_POOL: NOT_DEPLOYED, - CURVE_LBTC_WBTC_POOL: NOT_DEPLOYED, - CURVE_EBTC_WBTC_POOL: NOT_DEPLOYED, - CURVE_PUMPBTC_WBTC_POOL: NOT_DEPLOYED, - CURVE_TRIBTC_POOL: NOT_DEPLOYED, - CURVE_tBTC_WBTC_POOL: NOT_DEPLOYED, - - CURVE_GEAR_POOL: NOT_DEPLOYED, - - CURVE_CRVUSD_USDC_POOL: NOT_DEPLOYED, - CURVE_CRVUSD_USDT_POOL: NOT_DEPLOYED, - CURVE_CRVUSD_FRAX_POOL: NOT_DEPLOYED, - CURVE_TRI_CRV_POOL: NOT_DEPLOYED, - CURVE_CRVUSD_SUSDE_POOL: NOT_DEPLOYED, - CURVE_LLAMA_THENA_POOL: NOT_DEPLOYED, - - CURVE_RETH_ETH_POOL: NOT_DEPLOYED, - - CURVE_2CRV_POOL_ARB: NOT_DEPLOYED, - CURVE_TRICRYPTO_CRVUSD_POOL_ARB: NOT_DEPLOYED, - CURVE_CRVUSD_USDC_POOL_ARB: NOT_DEPLOYED, - CURVE_CRVUSD_USDT_POOL_ARB: NOT_DEPLOYED, - CURVE_CRVUSD_USDC_E_POOL_ARB: NOT_DEPLOYED, - CURVE_USDE_USDC_POOL_ARB: NOT_DEPLOYED, - - // YEARN - YEARN_DAI_VAULT: NOT_DEPLOYED, - YEARN_USDC_VAULT: NOT_DEPLOYED, - YEARN_USDC_E_VAULT: NOT_DEPLOYED, - YEARN_WETH_VAULT: NOT_DEPLOYED, - YEARN_WBTC_VAULT: NOT_DEPLOYED, - YEARN_USDT_VAULT: NOT_DEPLOYED, - YEARN_OP_VAULT: NOT_DEPLOYED, - YEARN_CURVE_FRAX_VAULT: NOT_DEPLOYED, - YEARN_CURVE_STETH_VAULT: NOT_DEPLOYED, - - /// ERC4626 - MAKER_DSR_VAULT: NOT_DEPLOYED, - YIELD_ETH_VAULT: NOT_DEPLOYED, - STAKED_USDE_VAULT: NOT_DEPLOYED, - STAKED_USDS_VAULT: NOT_DEPLOYED, - SAVINGS_CRVUSD_VAULT: NOT_DEPLOYED, - - // CONVEX - CONVEX_BOOSTER: NOT_DEPLOYED, - CONVEX_3CRV_POOL: NOT_DEPLOYED, - CONVEX_FRAX_USDC_POOL: NOT_DEPLOYED, - CONVEX_STECRV_POOL: NOT_DEPLOYED, - CONVEX_SUSD_POOL: NOT_DEPLOYED, - CONVEX_FRAX3CRV_POOL: NOT_DEPLOYED, - CONVEX_LUSD3CRV_POOL: NOT_DEPLOYED, - CONVEX_GUSD_POOL: NOT_DEPLOYED, - CONVEX_CRVETH_POOL: NOT_DEPLOYED, - CONVEX_CVXETH_POOL: NOT_DEPLOYED, - CONVEX_3CRYPTO_POOL: NOT_DEPLOYED, - CONVEX_LDOETH_POOL: NOT_DEPLOYED, - CONVEX_CRVUSD_USDC_POOL: NOT_DEPLOYED, - CONVEX_CRVUSD_USDT_POOL: NOT_DEPLOYED, - CONVEX_CRVUSD_FRAX_POOL: NOT_DEPLOYED, - CONVEX_TRI_CRV_POOL: NOT_DEPLOYED, - CONVEX_GHO_CRVUSD_POOL: NOT_DEPLOYED, - CONVEX_LLAMA_THENA_POOL: NOT_DEPLOYED, - - CONVEX_BOOSTER_ARB: NOT_DEPLOYED, - CONVEX_CRVUSD_USDT_POOL_ARB: NOT_DEPLOYED, - - // AURA - AURA_BOOSTER: NOT_DEPLOYED, - AURA_WEETH_RETH_POOL: NOT_DEPLOYED, - AURA_OSETH_WETH_POOL: NOT_DEPLOYED, - AURA_B_RETH_STABLE_POOL: NOT_DEPLOYED, - AURA_BPT_RETH_ETH_POOL: NOT_DEPLOYED, - AURA_BPT_WSTETH_ETH_POOL: NOT_DEPLOYED, - AURA_RETH_WETH_POOL_ARB: NOT_DEPLOYED, - AURA_WSTETH_WETH_POOL_ARB: NOT_DEPLOYED, - AURA_CBETH_RETH_WSTETH_POOL_ARB: NOT_DEPLOYED, - AURA_WSTETH_RETH_SFRXETH_POOL_ARB: NOT_DEPLOYED, - - // LIDO - LIDO_STETH_GATEWAY: NOT_DEPLOYED, - LIDO_WSTETH: NOT_DEPLOYED, - - // BALANCER - BALANCER_VAULT: NOT_DEPLOYED, - - // GEARBOX - UNIVERSAL_ADAPTER: NOT_DEPLOYED, - - // AAVE - AAVE_V2_LENDING_POOL: NOT_DEPLOYED, - AAVE_V3_LENDING_POOL: NOT_DEPLOYED, - - AAVE_V2_DAI_TOKEN_WRAPPER: NOT_DEPLOYED, - AAVE_V2_USDC_TOKEN_WRAPPER: NOT_DEPLOYED, - AAVE_V2_USDT_TOKEN_WRAPPER: NOT_DEPLOYED, - AAVE_V2_WETH_TOKEN_WRAPPER: NOT_DEPLOYED, - - COMPOUND_V2_DAI_POOL: NOT_DEPLOYED, - COMPOUND_V2_USDC_POOL: NOT_DEPLOYED, - COMPOUND_V2_USDT_POOL: NOT_DEPLOYED, - COMPOUND_V2_LINK_POOL: NOT_DEPLOYED, - COMPOUND_V2_ETH_GATEWAY: NOT_DEPLOYED, - - FLUX_USDC_POOL: NOT_DEPLOYED, - ZIRCUIT_POOL: NOT_DEPLOYED, - - // MELLOW - MELLOW_STEAKHOUSE_VAULT: NOT_DEPLOYED, - MELLOW_RE7_LABS_VAULT: NOT_DEPLOYED, - MELLOW_AMPHOR_VAULT: NOT_DEPLOYED, - MELLOW_RESTAKING_VAULT: NOT_DEPLOYED, - MELLOW_RENZO_VAULT: NOT_DEPLOYED, - MELLOW_DECENTALIZED_VALIDATOR_VAULT: NOT_DEPLOYED, - SKY_STAKING_REWARDS: NOT_DEPLOYED, DAI_USDS: NOT_DEPLOYED, }, @@ -1351,7 +1186,6 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, // CURVE_STECRV_POOL Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, - Sonic: NOT_DEPLOYED, }, tokens: ["WETH", "STETH"], lpToken: "steCRV", @@ -1366,7 +1200,6 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, Optimism: "0xb90b9b1f91a01ea22a182cd84c1e22222e39b415", Base: NOT_DEPLOYED, - Sonic: NOT_DEPLOYED, }, tokens: ["WETH", "wstETH"], lpToken: "wstETHCRV", @@ -1381,7 +1214,6 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, - Sonic: NOT_DEPLOYED, }, tokens: ["GEAR", "WETH"], lpToken: "GEAR", @@ -1877,7 +1709,6 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, // CONVEX_SUSD_POOL_EXTRA_SNX Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, - Sonic: NOT_DEPLOYED, }, }, ], @@ -1895,7 +1726,6 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, // CONVEX_STECRV_POOL_EXTRA_LDO Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, - Sonic: NOT_DEPLOYED, }, }, ], @@ -1913,7 +1743,6 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, // CONVEX_FRAX3CRV_POOL_EXTRA_FXS Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, - Sonic: NOT_DEPLOYED, }, }, ], @@ -1931,7 +1760,6 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, // CONVEX_LUSD3CRV_POOL_EXTRA_LQTY Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, - Sonic: NOT_DEPLOYED, }, }, ], @@ -1950,7 +1778,6 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, - Sonic: NOT_DEPLOYED, }, }, ], @@ -1968,7 +1795,6 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, - Sonic: NOT_DEPLOYED, }, }, ], @@ -1993,7 +1819,6 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, - Sonic: NOT_DEPLOYED, }, }, ], @@ -2011,7 +1836,6 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, - Sonic: NOT_DEPLOYED, }, }, ], @@ -2029,7 +1853,6 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, - Sonic: NOT_DEPLOYED, }, }, ], @@ -2047,7 +1870,6 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, - Sonic: NOT_DEPLOYED, }, }, ], @@ -2065,7 +1887,6 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, - Sonic: NOT_DEPLOYED, }, }, ], @@ -2083,7 +1904,6 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, - Sonic: NOT_DEPLOYED, }, }, ], @@ -2101,7 +1921,6 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, - Sonic: NOT_DEPLOYED, }, }, ], @@ -2140,7 +1959,6 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, - Sonic: NOT_DEPLOYED, }, }, ], @@ -2159,7 +1977,6 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, - Sonic: NOT_DEPLOYED, }, }, ], @@ -2178,7 +1995,6 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, - Sonic: NOT_DEPLOYED, }, }, { @@ -2188,7 +2004,6 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, - Sonic: NOT_DEPLOYED, }, }, ], @@ -2207,7 +2022,6 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, Optimism: "0x0A22Ae9D9D149C14f6c15A235e715bB6C1Cfa739", Base: NOT_DEPLOYED, - Sonic: NOT_DEPLOYED, }, }, { @@ -2217,7 +2031,6 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, Optimism: "0x81673Cdd00c2839440f31575cCFa5B6ca4a87B2B", Base: NOT_DEPLOYED, - Sonic: NOT_DEPLOYED, }, }, ], @@ -2236,7 +2049,6 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, Optimism: "0x903d716fe68e7e091eCC43AA93c0F8cfD7e7BC0a", Base: NOT_DEPLOYED, - Sonic: NOT_DEPLOYED, }, }, { @@ -2246,7 +2058,6 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, Optimism: "0xb0709c230C06BE6e2A84b2Ba877094EB9a4fA014", Base: NOT_DEPLOYED, - Sonic: NOT_DEPLOYED, }, }, ], @@ -2264,7 +2075,6 @@ export const contractParams: Record = { Arbitrum: "0xC0353d05D3F2b6e14E36c5d3B4bF8d179890A001", Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, - Sonic: NOT_DEPLOYED, }, }, { @@ -2274,7 +2084,6 @@ export const contractParams: Record = { Arbitrum: "0x3a0beff39E243453960aD1198Fc3aAabdBDDe56C", Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, - Sonic: NOT_DEPLOYED, }, }, ], @@ -2292,7 +2101,6 @@ export const contractParams: Record = { Arbitrum: "0x5901ce1c3Bf6C97fC49ED0fF08A88a57ea6E4Ca4", Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, - Sonic: NOT_DEPLOYED, }, }, { @@ -2302,7 +2110,6 @@ export const contractParams: Record = { Arbitrum: "0x4601Ec46A285714e6F2A9466DA7f2BcB33646391", Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, - Sonic: NOT_DEPLOYED, }, }, ], @@ -2320,7 +2127,6 @@ export const contractParams: Record = { Arbitrum: "0xf0dcb30811228bED2b87b2753fabAfe80A9D0fb9", Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, - Sonic: NOT_DEPLOYED, }, }, { @@ -2330,7 +2136,6 @@ export const contractParams: Record = { Arbitrum: "0xE42D389058D820177b83E2863FEb13733d6Dd5f2", Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, - Sonic: NOT_DEPLOYED, }, }, ], @@ -2348,7 +2153,6 @@ export const contractParams: Record = { Arbitrum: "0xeA270927C226454452DDF80e24a02087D0D7089F", Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, - Sonic: NOT_DEPLOYED, }, }, { @@ -2358,7 +2162,6 @@ export const contractParams: Record = { Arbitrum: "0xB05Dc0b460Ca3ed5174b33A7dA2104388764F62D", Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, - Sonic: NOT_DEPLOYED, }, }, ], @@ -2373,7 +2176,6 @@ export const contractParams: Record = { Arbitrum: NOT_DEPLOYED, // LIDO_ORACLE Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, - Sonic: NOT_DEPLOYED, }, lpToken: "steCRV", }, @@ -2399,7 +2201,6 @@ export const contractParams: Record = { Arbitrum: "0xE39B5e3B6D74016b2F6A9673D7d7493B6DF549d5", Optimism: "0xE39B5e3B6D74016b2F6A9673D7d7493B6DF549d5", Base: NOT_DEPLOYED, - Sonic: NOT_DEPLOYED, }, }, AAVE_V2_LENDING_POOL: { diff --git a/src/contracts/utilsContracts.ts b/src/contracts/utilsContracts.ts index 85af636..feb8678 100644 --- a/src/contracts/utilsContracts.ts +++ b/src/contracts/utilsContracts.ts @@ -7,7 +7,6 @@ export const ADDRESS_PROVIDER: Record = { Arbitrum: "0x7d04eCdb892Ae074f03B5D0aBA03796F90F3F2af", Optimism: "0x3761ca4BFAcFCFFc1B8034e69F19116dD6756726", Base: NOT_DEPLOYED, - Sonic: NOT_DEPLOYED, }; export const TIMELOCK: Record = { @@ -15,7 +14,6 @@ export const TIMELOCK: Record = { Arbitrum: "0x148DD932eCe1155c11006F5650c6Ff428f8D374A", Optimism: "0x148DD932eCe1155c11006F5650c6Ff428f8D374A", Base: NOT_DEPLOYED, - Sonic: NOT_DEPLOYED, }; export const GOVERNOR: Record = { @@ -23,7 +21,6 @@ export const GOVERNOR: Record = { Arbitrum: "0xF0C89a0eDCD68B4176A26B3bf7574498DD3E6d09", Optimism: "0xF0C89a0eDCD68B4176A26B3bf7574498DD3E6d09", Base: NOT_DEPLOYED, - Sonic: NOT_DEPLOYED, }; export const BATCH_CHAIN: Record = { @@ -31,7 +28,6 @@ export const BATCH_CHAIN: Record = { Arbitrum: "0xAEbaa1015D0bc250F5b38aac9b8f65E0668cE3c2", Optimism: "0x5CfB7F186dEA745381ccb1D532e43223B5a6AD10", Base: NOT_DEPLOYED, - Sonic: NOT_DEPLOYED, }; export const BLACKLIST_HELPER: Record = { @@ -39,7 +35,6 @@ export const BLACKLIST_HELPER: Record = { Arbitrum: NOT_DEPLOYED, Optimism: NOT_DEPLOYED, Base: NOT_DEPLOYED, - Sonic: NOT_DEPLOYED, }; export const CREATE2FACTORY: Record = { @@ -47,7 +42,6 @@ export const CREATE2FACTORY: Record = { Arbitrum: "0xad1231A64eE68D6BF721a1E8e177776cc49bAA2C", Optimism: "0xad1231A64eE68D6BF721a1E8e177776cc49bAA2C", Base: NOT_DEPLOYED, - Sonic: NOT_DEPLOYED, }; export const MULTISIG: Record = { @@ -55,7 +49,6 @@ export const MULTISIG: Record = { Arbitrum: "0x57Fd8B1a9213624157786Fff4a7bc532Ce717773", Optimism: "0x8bA8cd6D00919ceCc19D9B4A2c8669a524883C4c", Base: NOT_DEPLOYED, - Sonic: "0xacEB9dc6a81f1C9E2d8a86c3bFec3f6EF584139D", }; export const VETO_ADMIN: Record = { @@ -63,7 +56,6 @@ export const VETO_ADMIN: Record = { Arbitrum: "0x746fb3AcAfF6Bfe246206EC2E51F587d2E57abb6", Optimism: "0x9744f76dc5239Eb4DC2CE8D5538e1BA89C8FA90f", Base: NOT_DEPLOYED, - Sonic: "0x393eC629b90389F957c5a2E4FC2F8F488e735BFC", }; export const TREASURY: Record = { @@ -71,7 +63,6 @@ export const TREASURY: Record = { Arbitrum: "0x2c31eFFE426765E68A43163A96DD13DF70B53C14", Optimism: "0x1ACc5BC353f23B901801f3Ba48e1E51a14263808", Base: NOT_DEPLOYED, - Sonic: "0x74028Cf1cBa6A4513c9a27137E7d0F3847833795", }; export const ROUTER_MULTISIG_ADDRESS: Record = { @@ -79,7 +70,6 @@ export const ROUTER_MULTISIG_ADDRESS: Record = { Arbitrum: "0xEAb23245937A4F0894B0c92f08992C2c45Fc8df5", Optimism: "0x4cda5Fa96B5d436002175d958667C7EF3B644aA1", Base: NOT_DEPLOYED, - Sonic: "0x21DEE3c9bAc88F8cb96b7e7d19D3DFDB071EC81d", }; export const ROUTER_CREATE2FACTORY: Record = { @@ -87,7 +77,6 @@ export const ROUTER_CREATE2FACTORY: Record = { Arbitrum: "0x95345A4d55DAf6864924fC8861b311B9BC860E5f", Optimism: "0x95345A4d55DAf6864924fC8861b311B9BC860E5f", Base: NOT_DEPLOYED, - Sonic: NOT_DEPLOYED, }; export const emergencyLiquidators: Array
= [ diff --git a/src/core/chains.ts b/src/core/chains.ts index 7c629da..1b767d5 100644 --- a/src/core/chains.ts +++ b/src/core/chains.ts @@ -9,7 +9,6 @@ export const LOCAL_NETWORK = 1337; export const HARDHAT_NETWORK = 31337; export const ARBITRUM_NETWORK = 42161; export const BASE_NETWORK = 8453; -export const SONIC_NETWORK = 146; export const CHAINS = { Mainnet: MAINNET_NETWORK, @@ -18,7 +17,6 @@ export const CHAINS = { Hardhat: HARDHAT_NETWORK, Optimism: OPTIMISM_NETWORK, Base: BASE_NETWORK, - Sonic: SONIC_NETWORK, } as const; export const supportedChains = [ @@ -26,7 +24,6 @@ export const supportedChains = [ "Arbitrum", "Optimism", "Base", - "Sonic", ] as const; export type NetworkType = (typeof supportedChains)[number]; // "Polygon"; @@ -35,7 +32,6 @@ const SUPPORTED_CHAINS: Record = { [CHAINS.Arbitrum]: "Arbitrum", [CHAINS.Local]: "Mainnet", [CHAINS.Optimism]: "Optimism", - [CHAINS.Sonic]: "Sonic", // [CHAINS.Base]: "Polygon", }; @@ -66,7 +62,6 @@ export const detectNetwork = async ( const mainnetUSDC = tokenDataByNetwork.Mainnet["USDC"]; const arbitrumUSDC = tokenDataByNetwork.Arbitrum["USDC"]; const optimismUSDC = tokenDataByNetwork.Optimism["USDC"]; - const sonicUSDC = tokenDataByNetwork.Sonic["USDC"]; const mainnetUSDCContract = new Contract(mainnetUSDC, usdcABI, provider); @@ -74,8 +69,6 @@ export const detectNetwork = async ( const optimismUSDCContract = new Contract(optimismUSDC, usdcABI, provider); - const sonicUSDCContract = new Contract(sonicUSDC, usdcABI, provider); - try { await mainnetUSDCContract.symbol(); return "Mainnet" as NetworkType; @@ -91,10 +84,5 @@ export const detectNetwork = async ( return "Optimism" as NetworkType; } catch {} - try { - await sonicUSDCContract.symbol(); - return "Sonic" as NetworkType; - } catch {} - throw new Error("Unsupported network"); }; diff --git a/src/oracles/priceFeeds.ts b/src/oracles/priceFeeds.ts index ead5810..4601430 100755 --- a/src/oracles/priceFeeds.ts +++ b/src/oracles/priceFeeds.ts @@ -1,5 +1,4 @@ import { NetworkType } from "../core/chains"; -import { NOT_DEPLOYED } from "../core/constants"; import { SupportedToken } from "../tokens/token"; import { Address, PartialRecord } from "../utils/types"; import { @@ -56,7 +55,6 @@ export const pythByNetwork: Record = { Arbitrum: "0xff1a0f4744e8582DF1aE09D5611b887B6a12925C", Optimism: "0xff1a0f4744e8582DF1aE09D5611b887B6a12925C", Base: "0x8250f4aF4B972684F7b336503E2D6dFeDeB1487a", - Sonic: NOT_DEPLOYED, }; export function getPriceFeedsByToken( diff --git a/src/tokens/quoted.ts b/src/tokens/quoted.ts index 4ea704a..994d22e 100644 --- a/src/tokens/quoted.ts +++ b/src/tokens/quoted.ts @@ -6,5 +6,4 @@ export const nonQuoted: Record> = { Arbitrum: ["WETH", "DAI", "USDC", "WBTC"], Optimism: ["WETH", "USDC", "OP"], Base: ["WETH", "USDC", "USDT"], - Sonic: [], }; diff --git a/src/tokens/token.ts b/src/tokens/token.ts index 2e523f7..0aa7917 100755 --- a/src/tokens/token.ts +++ b/src/tokens/token.ts @@ -1098,6 +1098,11 @@ export const tokenDataByNetwork: Record< // BASE // // + /// + /// + /// OPTIMISM + /// + /// Base: { "1INCH": NOT_DEPLOYED, AAVE: NOT_DEPLOYED, @@ -1395,316 +1400,6 @@ export const tokenDataByNetwork: Record< // SKY stkUSDS: NOT_DEPLOYED, - // MELLOW LRT - steakLRT: NOT_DEPLOYED, - Re7LRT: NOT_DEPLOYED, - amphrETH: NOT_DEPLOYED, - rstETH: NOT_DEPLOYED, - pzETH: NOT_DEPLOYED, - DVstETH: NOT_DEPLOYED, - }, - // - // - // SONIC - // - // - Sonic: { - "1INCH": NOT_DEPLOYED, - AAVE: NOT_DEPLOYED, - CRV: NOT_DEPLOYED, - DAI: NOT_DEPLOYED, - LINK: NOT_DEPLOYED, - SNX: NOT_DEPLOYED, - UNI: NOT_DEPLOYED, - USDT: NOT_DEPLOYED, - DOLA: NOT_DEPLOYED, - USDC: "0x29219dd400f2Bf60E5a23d13Be72B486D4038894", - USDC_e: NOT_DEPLOYED, - WBTC: NOT_DEPLOYED, - tBTC: NOT_DEPLOYED, - WETH: NOT_DEPLOYED, - YFI: NOT_DEPLOYED, - GMX: NOT_DEPLOYED, - ARB: NOT_DEPLOYED, - BAL: NOT_DEPLOYED, - AURA: NOT_DEPLOYED, - SWISE: NOT_DEPLOYED, - WLD: NOT_DEPLOYED, - OP: NOT_DEPLOYED, - SKY: NOT_DEPLOYED, - - /// UPDATE - STETH: NOT_DEPLOYED, - wstETH: NOT_DEPLOYED, - CVX: NOT_DEPLOYED, - FRAX: NOT_DEPLOYED, - FXS: NOT_DEPLOYED, - LDO: NOT_DEPLOYED, - LUSD: NOT_DEPLOYED, - sUSD: NOT_DEPLOYED, - GUSD: NOT_DEPLOYED, - LQTY: NOT_DEPLOYED, - MKR: NOT_DEPLOYED, - RPL: NOT_DEPLOYED, - APE: NOT_DEPLOYED, - LBTC: NOT_DEPLOYED, - eBTC: NOT_DEPLOYED, - solvBTC: NOT_DEPLOYED, - pumpBTC: NOT_DEPLOYED, - rETH: NOT_DEPLOYED, - osETH: NOT_DEPLOYED, - weETH: NOT_DEPLOYED, - ezETH: NOT_DEPLOYED, - rsETH: NOT_DEPLOYED, - PENDLE: NOT_DEPLOYED, - frxETH: NOT_DEPLOYED, - sfrxETH: NOT_DEPLOYED, - cbETH: NOT_DEPLOYED, - rswETH: NOT_DEPLOYED, - USDe: NOT_DEPLOYED, - pufETH: NOT_DEPLOYED, - USDS: NOT_DEPLOYED, - - // REDSTONE - SHIB: NOT_DEPLOYED, - - // YEARN TOKENS - yvDAI: NOT_DEPLOYED, - yvUSDC: NOT_DEPLOYED, - yvUSDC_e: NOT_DEPLOYED, - yvUSDT: NOT_DEPLOYED, - yvWETH: NOT_DEPLOYED, - yvWBTC: NOT_DEPLOYED, - yvOP: NOT_DEPLOYED, - yvCurve_stETH: NOT_DEPLOYED, - yvCurve_FRAX: NOT_DEPLOYED, - - // CURVE LP TOKENS - "3Crv": NOT_DEPLOYED, - "3CRV": NOT_DEPLOYED, - wstETHCRV: NOT_DEPLOYED, - crvFRAX: NOT_DEPLOYED, - steCRV: NOT_DEPLOYED, - FRAX3CRV: NOT_DEPLOYED, - LUSD3CRV: NOT_DEPLOYED, - crvPlain3andSUSD: NOT_DEPLOYED, - gusd3CRV: NOT_DEPLOYED, - USDeUSDC: NOT_DEPLOYED, - FRAXUSDe: NOT_DEPLOYED, - USDecrvUSD: NOT_DEPLOYED, - FRAXsDAI: NOT_DEPLOYED, - DOLAsUSDe: NOT_DEPLOYED, - DOLAFRAXBP3CRV_f: NOT_DEPLOYED, - crvUSDDOLA_f: NOT_DEPLOYED, - crvCRVETH: NOT_DEPLOYED, - crvCVXETH: NOT_DEPLOYED, - crvUSDTWBTCWETH: NOT_DEPLOYED, - LDOETH: NOT_DEPLOYED, - USDeDAI: NOT_DEPLOYED, - MtEthena: NOT_DEPLOYED, - pufETHwstE: NOT_DEPLOYED, - GHOcrvUSD: NOT_DEPLOYED, - ezETHWETH: NOT_DEPLOYED, - ezpzETH: NOT_DEPLOYED, - LBTCWBTC: NOT_DEPLOYED, - eBTCWBTC: NOT_DEPLOYED, - pumpBTCWBTC: NOT_DEPLOYED, - TriBTC: NOT_DEPLOYED, - "2BTC-f": NOT_DEPLOYED, - - crvUSDUSDC: NOT_DEPLOYED, - crvUSDUSDT: NOT_DEPLOYED, - crvUSDFRAX: NOT_DEPLOYED, - crvUSDETHCRV: NOT_DEPLOYED, - crvUsUSDe: NOT_DEPLOYED, - llamathena: NOT_DEPLOYED, - - "2CRV": NOT_DEPLOYED, - "3c-crvUSD": NOT_DEPLOYED, - crvUSDC: NOT_DEPLOYED, - crvUSDC_e: NOT_DEPLOYED, - crvUSDT: NOT_DEPLOYED, - USDEUSDC: NOT_DEPLOYED, - - rETH_f: NOT_DEPLOYED, - - // CONVEX LP TOKENS - cvx3Crv: NOT_DEPLOYED, - cvxcrvFRAX: NOT_DEPLOYED, - cvxsteCRV: NOT_DEPLOYED, - cvxcrvPlain3andSUSD: NOT_DEPLOYED, - cvxFRAX3CRV: NOT_DEPLOYED, - cvxLUSD3CRV: NOT_DEPLOYED, - cvxgusd3CRV: NOT_DEPLOYED, - cvxcrvCRVETH: NOT_DEPLOYED, - cvxcrvCVXETH: NOT_DEPLOYED, - cvxcrvUSDTWBTCWETH: NOT_DEPLOYED, - cvxLDOETH: NOT_DEPLOYED, - cvxcrvUSDUSDC: NOT_DEPLOYED, - cvxcrvUSDUSDT: NOT_DEPLOYED, - cvxcrvUSDFRAX: NOT_DEPLOYED, - cvxcrvUSDETHCRV: NOT_DEPLOYED, - cvxGHOcrvUSD: NOT_DEPLOYED, - cvxllamathena: NOT_DEPLOYED, - - crvUSD: NOT_DEPLOYED, - - // CONVEX PHANTOM TOKEN ADDRESSES - stkcvx3Crv: NOT_DEPLOYED, - stkcvxcrvFRAX: NOT_DEPLOYED, - stkcvxFRAX3CRV: NOT_DEPLOYED, - stkcvxgusd3CRV: NOT_DEPLOYED, - stkcvxsteCRV: NOT_DEPLOYED, - stkcvxcrvPlain3andSUSD: NOT_DEPLOYED, - stkcvxLUSD3CRV: NOT_DEPLOYED, - stkcvxcrvCRVETH: NOT_DEPLOYED, - stkcvxcrvCVXETH: NOT_DEPLOYED, - stkcvxcrvUSDTWBTCWETH: NOT_DEPLOYED, - stkcvxLDOETH: NOT_DEPLOYED, - stkcvxcrvUSDUSDC: NOT_DEPLOYED, - stkcvxcrvUSDUSDT: NOT_DEPLOYED, - stkcvxcrvUSDFRAX: NOT_DEPLOYED, - stkcvxcrvUSDETHCRV: NOT_DEPLOYED, - stkcvxGHOcrvUSD: NOT_DEPLOYED, - stkcvxllamathena: NOT_DEPLOYED, - - cvxcrvUSDT: NOT_DEPLOYED, - - // BALANCER TOKENS - USDC_DAI_USDT: NOT_DEPLOYED, - B_rETH_STABLE: NOT_DEPLOYED, - weETH_rETH: NOT_DEPLOYED, - osETH_wETH_BPT: NOT_DEPLOYED, - B_80BAL_20WETH: NOT_DEPLOYED, - "50WETH_50AURA": NOT_DEPLOYED, - wstETH_WETH_BPT: NOT_DEPLOYED, - wstETH_rETH_cbETH: NOT_DEPLOYED, - cbETH_rETH_wstETH: NOT_DEPLOYED, - wstETH_rETH_sfrxETH: NOT_DEPLOYED, - rETH_WETH_BPT_deprecated: NOT_DEPLOYED, - rETH_wETH_BPT: NOT_DEPLOYED, - ezETH_WETH_BPT: NOT_DEPLOYED, - sUSDe_USDC_BPT: NOT_DEPLOYED, - trenSTETH: NOT_DEPLOYED, - DVstETH_wstETH_BPT: NOT_DEPLOYED, - weETH_ezETH_rswETH: NOT_DEPLOYED, - rsETH_WETH: NOT_DEPLOYED, - rsETH_wETH_Arb: NOT_DEPLOYED, - "33AURA_33ARB_33BAL": NOT_DEPLOYED, - ezETH_wstETH: NOT_DEPLOYED, - - BPT_rETH_ETH: NOT_DEPLOYED, - BPT_WSTETH_ETH: NOT_DEPLOYED, - BPT_ROAD: NOT_DEPLOYED, - ECLP_wstETH_WETH: NOT_DEPLOYED, - bpt_ethtri: NOT_DEPLOYED, - pumpBTC_WBTC_BPT: NOT_DEPLOYED, - eBTC_WBTC_BPT: NOT_DEPLOYED, - - // AURA - auraB_rETH_STABLE: NOT_DEPLOYED, - auraweETH_rETH: NOT_DEPLOYED, - auraosETH_wETH_BPT: NOT_DEPLOYED, - auraBPT_rETH_ETH: NOT_DEPLOYED, - auraBPT_WSTETH_ETH: NOT_DEPLOYED, - aurarETH_wETH_BPT: NOT_DEPLOYED, - auracbETH_rETH_wstETH: NOT_DEPLOYED, - aurawstETH_rETH_sfrxETH: NOT_DEPLOYED, - aurawstETH_WETH_BPT: NOT_DEPLOYED, - - auraB_rETH_STABLE_vault: NOT_DEPLOYED, - auraweETH_rETH_vault: NOT_DEPLOYED, - auraosETH_wETH_BPT_vault: NOT_DEPLOYED, - auraBPT_rETH_ETH_vault: NOT_DEPLOYED, - auraBPT_WSTETH_ETH_vault: NOT_DEPLOYED, - aurarETH_wETH_BPT_vault: NOT_DEPLOYED, - auracbETH_rETH_wstETH_vault: NOT_DEPLOYED, - aurawstETH_rETH_sfrxETH_vault: NOT_DEPLOYED, - aurawstETH_WETH_BPT_vault: NOT_DEPLOYED, - - // PENDLE - PT_rsETH_26SEP2024: NOT_DEPLOYED, - PT_sUSDe_26DEC2024: NOT_DEPLOYED, - PT_eETH_26DEC2024: NOT_DEPLOYED, - PT_ezETH_26DEC2024: NOT_DEPLOYED, - PT_eBTC_26DEC2024: NOT_DEPLOYED, - PT_LBTC_27MAR2025: NOT_DEPLOYED, - PT_corn_solvBTC_BBN_26DEC2024: NOT_DEPLOYED, - PT_corn_pumpBTC_26DEC2024: NOT_DEPLOYED, - PT_cornLBTC_26DEC2024: NOT_DEPLOYED, - PT_corn_eBTC_27MAR2025: NOT_DEPLOYED, - PT_sUSDe_27MAR2025: NOT_DEPLOYED, - - // GEARBOX - dDAI: NOT_DEPLOYED, - dUSDC: NOT_DEPLOYED, - dWBTC: NOT_DEPLOYED, - dWETH: NOT_DEPLOYED, - dwstETH: NOT_DEPLOYED, - dFRAX: NOT_DEPLOYED, - - dUSDCV3: NOT_DEPLOYED, - dWBTCV3: NOT_DEPLOYED, - dWETHV3: NOT_DEPLOYED, - sdUSDCV3: NOT_DEPLOYED, - sdWBTCV3: NOT_DEPLOYED, - sdWETHV3: NOT_DEPLOYED, - sdWETHV3_OLD: NOT_DEPLOYED, - - dUSDTV3: NOT_DEPLOYED, - dGHOV3: NOT_DEPLOYED, - dDAIV3: NOT_DEPLOYED, - sdUSDTV3: NOT_DEPLOYED, - sdGHOV3: NOT_DEPLOYED, - sdDAIV3: NOT_DEPLOYED, - - dcrvUSDV3: NOT_DEPLOYED, - sdcrvUSDV3: NOT_DEPLOYED, - - dDOLAV3: NOT_DEPLOYED, - dwstETHV3: NOT_DEPLOYED, - - dtBTCV3: NOT_DEPLOYED, - - dUSDC_eV3: NOT_DEPLOYED, - sdUSDC_eV3: NOT_DEPLOYED, - - GEAR: NOT_DEPLOYED, - - // AAVE - aUSDC: NOT_DEPLOYED, - aDAI: NOT_DEPLOYED, - aUSDT: NOT_DEPLOYED, - aWETH: NOT_DEPLOYED, - - waDAI: NOT_DEPLOYED, - waUSDC: NOT_DEPLOYED, - waUSDT: NOT_DEPLOYED, - waWETH: NOT_DEPLOYED, - - cDAI: NOT_DEPLOYED, - cUSDC: NOT_DEPLOYED, - cUSDT: NOT_DEPLOYED, - cETH: NOT_DEPLOYED, - cLINK: NOT_DEPLOYED, - - fUSDC: NOT_DEPLOYED, - sDAI: NOT_DEPLOYED, - YieldETH: NOT_DEPLOYED, - sUSDe: NOT_DEPLOYED, - sUSDS: NOT_DEPLOYED, - scrvUSD: NOT_DEPLOYED, - beraSTONE: NOT_DEPLOYED, - - GHO: NOT_DEPLOYED, - GHOUSDe: NOT_DEPLOYED, - GHO_USDT_USDC: NOT_DEPLOYED, - - zpufETH: NOT_DEPLOYED, - - // SKY - stkUSDS: NOT_DEPLOYED, - // MELLOW LRT steakLRT: NOT_DEPLOYED, Re7LRT: NOT_DEPLOYED, @@ -2116,7 +1811,6 @@ export const tickerInfoTokensByNetwork: Record< ], }, Base: {}, - Sonic: {}, }; export const tickerTokensByNetwork: Record< diff --git a/src/tokens/tokenData.ts b/src/tokens/tokenData.ts index 0f48bcb..c37e946 100644 --- a/src/tokens/tokenData.ts +++ b/src/tokens/tokenData.ts @@ -26,7 +26,6 @@ export const connectors: Record> = { Arbitrum: ["WETH", "DAI", "USDC", "USDT", "rETH", "USDC_e", "wstETH"], Optimism: ["WETH", "USDC", "USDT", "USDC_e", "wstETH"], Base: ["WETH", "USDC", "USDT"], - Sonic: [], }; export function getConnectors(networkType: NetworkType) { diff --git a/src/tokens/tokens.spec.ts b/src/tokens/tokens.spec.ts index 96c17de..e1663e7 100644 --- a/src/tokens/tokens.spec.ts +++ b/src/tokens/tokens.spec.ts @@ -65,7 +65,6 @@ const EXCEPTIONS_IN_SYMBOLS: Record> = { "auraBPT-WSTETH-ETH-vault", }, Base: {}, - Sonic: {}, }; class TokenSuite { diff --git a/src/verification/explorers.ts b/src/verification/explorers.ts index 249d2ac..d46a57f 100644 --- a/src/verification/explorers.ts +++ b/src/verification/explorers.ts @@ -5,7 +5,6 @@ export const explorerUrls: Record = { Arbitrum: "https://arbiscan.io", Optimism: "https://optimistic.etherscan.io", Base: "https://basescan.org", - Sonic: "https://sonicscan.org/", }; export const explorerApiUrls: Record = { @@ -13,5 +12,4 @@ export const explorerApiUrls: Record = { Arbitrum: "https://api.arbiscan.io/api", Optimism: "https://api-optimistic.etherscan.io/api", Base: "https://api.basescan.org/api", - Sonic: "https://api.sonicscan.org/api", };