From ffb69a9401445ac62a7beffe760f299cc3d64320 Mon Sep 17 00:00:00 2001 From: esser Date: Mon, 25 Nov 2024 14:55:37 +0800 Subject: [PATCH 1/3] feat: add usds ticker --- src/tokens/token.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/tokens/token.ts b/src/tokens/token.ts index b99d9dd..369a084 100644 --- a/src/tokens/token.ts +++ b/src/tokens/token.ts @@ -1467,6 +1467,15 @@ export const tickerInfoTokensByNetwork: Record< reserve: true, }, ], + sUSDS: [ + { + symbol: "DAI", + dataId: "DAI", + address: tokenDataByNetwork.Mainnet.DAI, + priceFeed: "0xa0b9387f0a74ecb9ac1a3bfe4ada0e001ffe006b", + reserve: true, + }, + ], stkUSDS: [ { symbol: "DAI", From 6771dee01791813d6dac900ebe98d55e939591f5 Mon Sep 17 00:00:00 2001 From: esser Date: Mon, 25 Nov 2024 14:59:50 +0800 Subject: [PATCH 2/3] fix: address case --- src/tokens/token.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tokens/token.ts b/src/tokens/token.ts index 369a084..e4ed56a 100644 --- a/src/tokens/token.ts +++ b/src/tokens/token.ts @@ -1472,7 +1472,7 @@ export const tickerInfoTokensByNetwork: Record< symbol: "DAI", dataId: "DAI", address: tokenDataByNetwork.Mainnet.DAI, - priceFeed: "0xa0b9387f0a74ecb9ac1a3bfe4ada0e001ffe006b", + priceFeed: "0xa0b9387f0a74eCB9AC1a3BFE4Ada0E001ffE006b", reserve: true, }, ], From 48e7b18b21e214ba01291d4e8793b7471abdfda3 Mon Sep 17 00:00:00 2001 From: Van0k Date: Mon, 25 Nov 2024 16:37:32 +0400 Subject: [PATCH 3/3] feat: replace Tokens enum with uint256 --- bindings/AdapterData.sol | 12 +- bindings/CreditConfigLive.sol | 14 +- bindings/PoolConfigLive.sol | 9 +- bindings/PriceFeedDataLive.sol | 38 +- bindings/TokensData.sol | 4 +- contracts/AdapterData.sol | 148 +- contracts/PriceFeedDataLive.sol | 2993 +++++++++++++-------------- contracts/Tokens.sol | 497 +++-- contracts/TokensData.sol | 662 +++--- contracts/TokensLib.sol | 46 +- src/bindings/generate.ts | 16 +- src/config/creditManagerV3Config.ts | 20 +- src/config/gaugeV3.ts | 4 +- src/config/poolQuotaKeeperV3.ts | 4 +- src/config/poolV3Core.ts | 4 +- 15 files changed, 2180 insertions(+), 2291 deletions(-) diff --git a/bindings/AdapterData.sol b/bindings/AdapterData.sol index bc2e7bc..4b6b98a 100644 --- a/bindings/AdapterData.sol +++ b/bindings/AdapterData.sol @@ -3,7 +3,7 @@ // (c) Gearbox Foundation, 2023 pragma solidity ^0.8.17; -import {Tokens} from "./Tokens.sol"; +import "./Tokens.sol"; import {Contracts} from "./SupportedContracts.sol"; import {AdapterType} from "./AdapterType.sol"; @@ -15,33 +15,33 @@ struct SimpleAdapter { struct CurveAdapter { Contracts targetContract; AdapterType adapterType; - Tokens lpToken; + uint256 lpToken; Contracts basePool; } struct CurveStETHAdapter { Contracts curveETHGateway; AdapterType adapterType; - Tokens lpToken; + uint256 lpToken; } struct CurveWrapper { Contracts targetContract; AdapterType adapterType; - Tokens lpToken; + uint256 lpToken; uint256 nCoins; } struct ConvexBasePoolAdapter { Contracts targetContract; AdapterType adapterType; - Tokens stakedToken; + uint256 stakedToken; } struct StakingRewardsAdapter { Contracts targetContract; AdapterType adapterType; - Tokens stakedToken; + uint256 stakedToken; } contract AdapterData { diff --git a/bindings/CreditConfigLive.sol b/bindings/CreditConfigLive.sol index 29465ff..e7cdf76 100644 --- a/bindings/CreditConfigLive.sol +++ b/bindings/CreditConfigLive.sol @@ -3,13 +3,13 @@ // (c) Gearbox Foundation, 2023 pragma solidity ^0.8.17; -import {Tokens} from "./Tokens.sol"; +import "./Tokens.sol"; import {Contracts} from "./SupportedContracts.sol"; /// @dev A struct containing parameters for a recognized collateral token in the system struct CollateralTokenHuman { /// @dev Address of the collateral token - Tokens token; + uint256 token; /// @dev Address of the liquidation threshold uint16 liquidationThreshold; } @@ -20,21 +20,21 @@ struct BalancerPool { } struct UniswapV2Pair { - Tokens token0; - Tokens token1; + uint256 token0; + uint256 token1; bool whitelisted; } struct UniswapV3Pool { - Tokens token0; - Tokens token1; + uint256 token0; + uint256 token1; uint24 fee; bool whitelisted; } /// @dev A struct representing the initial Credit Manager configuration parameters struct CreditManagerV3HumanOpts { - Tokens underlying; + uint256 underlying; /// @dev The minimal debt principal amount uint128 minBorrowedAmount; /// @dev The maximal debt principal amount diff --git a/bindings/PoolConfigLive.sol b/bindings/PoolConfigLive.sol index 54949fa..c3c4b81 100644 --- a/bindings/PoolConfigLive.sol +++ b/bindings/PoolConfigLive.sol @@ -2,11 +2,10 @@ // Gearbox. Generalized leverage protocol that allows to take leverage and then use it across other DeFi protocols and platforms in a composable way. // (c) Gearbox Foundation, 2023 pragma solidity ^0.8.17; - -import {Tokens} from "./Tokens.sol"; +import "./Tokens.sol"; struct QuotedTokenParams { - Tokens token; + uint256 token; uint16 minRiskRate; uint16 maxRate; uint96 limit; @@ -25,8 +24,8 @@ struct PoolParams { } contract PoolConfigLive { - mapping(Tokens => PoolParams) poolParams; - Tokens[] underlyings; + mapping(uint256 => PoolParams) poolParams; + uint256[] underlyings; constructor() { PoolParams storage pp; diff --git a/bindings/PriceFeedDataLive.sol b/bindings/PriceFeedDataLive.sol index cbe1ce8..f0369b3 100644 --- a/bindings/PriceFeedDataLive.sol +++ b/bindings/PriceFeedDataLive.sol @@ -3,13 +3,13 @@ // (c) Gearbox Foundation, 2023 pragma solidity ^0.8.17; -import {Tokens} from "./Tokens.sol"; +import "./Tokens.sol"; import {Contracts} from "./SupportedContracts.sol"; import {TokensLib} from "./TokensLib.sol"; struct ChainlinkPriceFeedData { - Tokens token; + uint256 token; address priceFeed; uint32 stalenessPeriod; bool reserve; @@ -17,30 +17,30 @@ struct ChainlinkPriceFeedData { } struct CurvePriceFeedData { - Tokens lpToken; - Tokens[] assets; + uint256 lpToken; + uint256[] assets; Contracts pool; bool reserve; bool trusted; } struct CrvUsdPriceFeedData { - Tokens token; - Tokens underlying; + uint256 token; + uint256 underlying; Contracts pool; bool reserve; bool trusted; } struct TheSamePriceFeedData { - Tokens token; - Tokens tokenHasSamePriceFeed; + uint256 token; + uint256 tokenHasSamePriceFeed; bool reserve; bool trusted; } struct SingeTokenPriceFeedData { - Tokens token; + uint256 token; bool reserve; bool trusted; } @@ -60,7 +60,7 @@ struct CompositePriceFeedDataShort { } struct CompositePriceFeedData { - Tokens token; + uint256 token; // Target data bool isTargetRedstone; RedStonePriceFeedDataShort redstoneTargetToBaseData; @@ -77,7 +77,7 @@ struct CompositePriceFeedData { } struct BoundedPriceFeedData { - Tokens token; + uint256 token; address priceFeed; uint32 stalenessPeriod; uint256 upperBound; @@ -86,21 +86,21 @@ struct BoundedPriceFeedData { } struct GenericLPPriceFeedData { - Tokens lpToken; - Tokens underlying; + uint256 lpToken; + uint256 underlying; bool reserve; bool trusted; } struct BalancerLPPriceFeedData { - Tokens lpToken; - Tokens[] assets; + uint256 lpToken; + uint256[] assets; bool reserve; bool trusted; } struct RedStonePriceFeedData { - Tokens token; + uint256 token; string dataServiceId; bytes32 dataFeedId; address[10] signers; @@ -110,7 +110,7 @@ struct RedStonePriceFeedData { } struct PythPriceFeedData { - Tokens token; + uint256 token; bytes32 priceFeedId; string ticker; address pyth; @@ -119,8 +119,8 @@ struct PythPriceFeedData { } struct PendlePriceFeedData { - Tokens token; - Tokens underlying; + uint256 token; + uint256 underlying; address market; uint32 twapWindow; bool reserve; diff --git a/bindings/TokensData.sol b/bindings/TokensData.sol index f2f1335..fe7fe55 100644 --- a/bindings/TokensData.sol +++ b/bindings/TokensData.sol @@ -3,14 +3,14 @@ // (c) Gearbox Foundation, 2023 pragma solidity ^0.8.17; -import {Tokens, TokenType} from "./Tokens.sol"; +import "./Tokens.sol"; interface IERC20Check { function totalSupply() external view returns (uint256); } struct TokenData { - Tokens id; + uint256 id; address addr; string symbol; TokenType tokenType; diff --git a/contracts/AdapterData.sol b/contracts/AdapterData.sol index f654197..cf3f72a 100644 --- a/contracts/AdapterData.sol +++ b/contracts/AdapterData.sol @@ -3,7 +3,7 @@ // (c) Gearbox Foundation, 2023 pragma solidity ^0.8.17; -import {Tokens} from "./Tokens.sol"; +import "./Tokens.sol"; import {Contracts} from "./SupportedContracts.sol"; import {AdapterType} from "./AdapterType.sol"; @@ -15,33 +15,33 @@ struct SimpleAdapter { struct CurveAdapter { Contracts targetContract; AdapterType adapterType; - Tokens lpToken; + uint256 lpToken; Contracts basePool; } struct CurveStETHAdapter { Contracts curveETHGateway; AdapterType adapterType; - Tokens lpToken; + uint256 lpToken; } struct CurveWrapper { Contracts targetContract; AdapterType adapterType; - Tokens lpToken; + uint256 lpToken; uint256 nCoins; } struct ConvexBasePoolAdapter { Contracts targetContract; AdapterType adapterType; - Tokens stakedToken; + uint256 stakedToken; } struct StakingRewardsAdapter { Contracts targetContract; AdapterType adapterType; - Tokens stakedToken; + uint256 stakedToken; } contract AdapterData { @@ -228,7 +228,7 @@ contract AdapterData { CurveAdapter({ targetContract: Contracts.CURVE_3CRV_POOL, adapterType: AdapterType.CURVE_V1_3ASSETS, - lpToken: Tokens._3Crv, + lpToken: TOKEN__3Crv, basePool: Contracts.NO_CONTRACT }) ); @@ -236,7 +236,7 @@ contract AdapterData { CurveAdapter({ targetContract: Contracts.CURVE_FRAX_USDC_POOL, adapterType: AdapterType.CURVE_V1_2ASSETS, - lpToken: Tokens.crvFRAX, + lpToken: TOKEN_crvFRAX, basePool: Contracts.NO_CONTRACT }) ); @@ -245,7 +245,7 @@ contract AdapterData { CurveAdapter({ targetContract: Contracts.CURVE_FRAX_POOL, adapterType: AdapterType.CURVE_V1_2ASSETS, - lpToken: Tokens.FRAX3CRV, + lpToken: TOKEN_FRAX3CRV, basePool: Contracts.CURVE_3CRV_POOL }) ); @@ -253,7 +253,7 @@ contract AdapterData { CurveAdapter({ targetContract: Contracts.CURVE_LUSD_POOL, adapterType: AdapterType.CURVE_V1_2ASSETS, - lpToken: Tokens.LUSD3CRV, + lpToken: TOKEN_LUSD3CRV, basePool: Contracts.CURVE_3CRV_POOL }) ); @@ -261,7 +261,7 @@ contract AdapterData { CurveAdapter({ targetContract: Contracts.CURVE_SUSD_POOL, adapterType: AdapterType.CURVE_V1_4ASSETS, - lpToken: Tokens.crvPlain3andSUSD, + lpToken: TOKEN_crvPlain3andSUSD, basePool: Contracts.NO_CONTRACT }) ); @@ -269,7 +269,7 @@ contract AdapterData { CurveAdapter({ targetContract: Contracts.CURVE_GUSD_POOL, adapterType: AdapterType.CURVE_V1_2ASSETS, - lpToken: Tokens.gusd3CRV, + lpToken: TOKEN_gusd3CRV, basePool: Contracts.CURVE_3CRV_POOL }) ); @@ -277,7 +277,7 @@ contract AdapterData { CurveAdapter({ targetContract: Contracts.CURVE_MIM_POOL, adapterType: AdapterType.CURVE_V1_2ASSETS, - lpToken: Tokens.MIM_3LP3CRV, + lpToken: TOKEN_MIM_3LP3CRV, basePool: Contracts.CURVE_3CRV_POOL }) ); @@ -285,7 +285,7 @@ contract AdapterData { CurveAdapter({ targetContract: Contracts.CURVE_OHMFRAXBP_POOL, adapterType: AdapterType.CURVE_V1_2ASSETS, - lpToken: Tokens.OHMFRAXBP, + lpToken: TOKEN_OHMFRAXBP, basePool: Contracts.CURVE_FRAX_USDC_POOL }) ); @@ -293,7 +293,7 @@ contract AdapterData { CurveAdapter({ targetContract: Contracts.CURVE_CRVETH_POOL, adapterType: AdapterType.CURVE_V1_2ASSETS, - lpToken: Tokens.crvCRVETH, + lpToken: TOKEN_crvCRVETH, basePool: Contracts.NO_CONTRACT }) ); @@ -301,7 +301,7 @@ contract AdapterData { CurveAdapter({ targetContract: Contracts.CURVE_CVXETH_POOL, adapterType: AdapterType.CURVE_V1_2ASSETS, - lpToken: Tokens.crvCVXETH, + lpToken: TOKEN_crvCVXETH, basePool: Contracts.NO_CONTRACT }) ); @@ -309,7 +309,7 @@ contract AdapterData { CurveAdapter({ targetContract: Contracts.CURVE_3CRYPTO_POOL, adapterType: AdapterType.CURVE_V1_3ASSETS, - lpToken: Tokens.crvUSDTWBTCWETH, + lpToken: TOKEN_crvUSDTWBTCWETH, basePool: Contracts.NO_CONTRACT }) ); @@ -317,7 +317,7 @@ contract AdapterData { CurveAdapter({ targetContract: Contracts.CURVE_LDOETH_POOL, adapterType: AdapterType.CURVE_V1_2ASSETS, - lpToken: Tokens.LDOETH, + lpToken: TOKEN_LDOETH, basePool: Contracts.NO_CONTRACT }) ); @@ -325,7 +325,7 @@ contract AdapterData { CurveAdapter({ targetContract: Contracts.CURVE_CRVUSD_USDC_POOL, adapterType: AdapterType.CURVE_V1_2ASSETS, - lpToken: Tokens.crvUSDUSDC, + lpToken: TOKEN_crvUSDUSDC, basePool: Contracts.NO_CONTRACT }) ); @@ -333,7 +333,7 @@ contract AdapterData { CurveAdapter({ targetContract: Contracts.CURVE_CRVUSD_USDT_POOL, adapterType: AdapterType.CURVE_V1_2ASSETS, - lpToken: Tokens.crvUSDUSDT, + lpToken: TOKEN_crvUSDUSDT, basePool: Contracts.NO_CONTRACT }) ); @@ -341,7 +341,7 @@ contract AdapterData { CurveAdapter({ targetContract: Contracts.CURVE_CRVUSD_FRAX_POOL, adapterType: AdapterType.CURVE_V1_2ASSETS, - lpToken: Tokens.crvUSDFRAX, + lpToken: TOKEN_crvUSDFRAX, basePool: Contracts.NO_CONTRACT }) ); @@ -349,7 +349,7 @@ contract AdapterData { CurveAdapter({ targetContract: Contracts.CURVE_TRI_CRV_POOL, adapterType: AdapterType.CURVE_V1_3ASSETS, - lpToken: Tokens.crvUSDETHCRV, + lpToken: TOKEN_crvUSDETHCRV, basePool: Contracts.NO_CONTRACT }) ); @@ -357,7 +357,7 @@ contract AdapterData { CurveAdapter({ targetContract: Contracts.CURVE_RETH_ETH_POOL, adapterType: AdapterType.CURVE_V1_2ASSETS, - lpToken: Tokens.rETH_f, + lpToken: TOKEN_rETH_f, basePool: Contracts.NO_CONTRACT }) ); @@ -365,7 +365,7 @@ contract AdapterData { CurveAdapter({ targetContract: Contracts.CURVE_USDE_USDC_POOL, adapterType: AdapterType.CURVE_V1_2ASSETS, - lpToken: Tokens.USDeUSDC, + lpToken: TOKEN_USDeUSDC, basePool: Contracts.NO_CONTRACT }) ); @@ -373,7 +373,7 @@ contract AdapterData { CurveAdapter({ targetContract: Contracts.CURVE_FRAX_USDE_POOL, adapterType: AdapterType.CURVE_V1_2ASSETS, - lpToken: Tokens.FRAXUSDe, + lpToken: TOKEN_FRAXUSDe, basePool: Contracts.NO_CONTRACT }) ); @@ -381,7 +381,7 @@ contract AdapterData { CurveAdapter({ targetContract: Contracts.CURVE_USDE_CRVUSD_POOL, adapterType: AdapterType.CURVE_V1_2ASSETS, - lpToken: Tokens.USDecrvUSD, + lpToken: TOKEN_USDecrvUSD, basePool: Contracts.NO_CONTRACT }) ); @@ -389,7 +389,7 @@ contract AdapterData { CurveAdapter({ targetContract: Contracts.CURVE_USDE_DAI_POOL, adapterType: AdapterType.CURVE_V1_2ASSETS, - lpToken: Tokens.USDeDAI, + lpToken: TOKEN_USDeDAI, basePool: Contracts.NO_CONTRACT }) ); @@ -397,7 +397,7 @@ contract AdapterData { CurveAdapter({ targetContract: Contracts.CURVE_SDAI_SUSDE_POOL, adapterType: AdapterType.CURVE_V1_2ASSETS, - lpToken: Tokens.MtEthena, + lpToken: TOKEN_MtEthena, basePool: Contracts.NO_CONTRACT }) ); @@ -405,7 +405,7 @@ contract AdapterData { CurveAdapter({ targetContract: Contracts.CURVE_GHO_USDE_POOL, adapterType: AdapterType.CURVE_V1_2ASSETS, - lpToken: Tokens.GHOUSDe, + lpToken: TOKEN_GHOUSDe, basePool: Contracts.NO_CONTRACT }) ); @@ -413,7 +413,7 @@ contract AdapterData { CurveAdapter({ targetContract: Contracts.CURVE_PUFETH_WSTETH_POOL, adapterType: AdapterType.CURVE_STABLE_NG, - lpToken: Tokens.pufETHwstE, + lpToken: TOKEN_pufETHwstE, basePool: Contracts.NO_CONTRACT }) ); @@ -421,7 +421,7 @@ contract AdapterData { CurveAdapter({ targetContract: Contracts.CURVE_GHO_CRVUSD_POOL, adapterType: AdapterType.CURVE_STABLE_NG, - lpToken: Tokens.GHOcrvUSD, + lpToken: TOKEN_GHOcrvUSD, basePool: Contracts.NO_CONTRACT }) ); @@ -429,7 +429,7 @@ contract AdapterData { CurveAdapter({ targetContract: Contracts.CURVE_EZETH_ETH_POOL, adapterType: AdapterType.CURVE_STABLE_NG, - lpToken: Tokens.ezETHWETH, + lpToken: TOKEN_ezETHWETH, basePool: Contracts.NO_CONTRACT }) ); @@ -437,7 +437,7 @@ contract AdapterData { CurveAdapter({ targetContract: Contracts.CURVE_EZPZ_ETH_POOL, adapterType: AdapterType.CURVE_V1_2ASSETS, - lpToken: Tokens.ezpzETH, + lpToken: TOKEN_ezpzETH, basePool: Contracts.NO_CONTRACT }) ); @@ -445,7 +445,7 @@ contract AdapterData { CurveAdapter({ targetContract: Contracts.CURVE_LBTC_WBTC_POOL, adapterType: AdapterType.CURVE_STABLE_NG, - lpToken: Tokens.LBTCWBTC, + lpToken: TOKEN_LBTCWBTC, basePool: Contracts.NO_CONTRACT }) ); @@ -453,7 +453,7 @@ contract AdapterData { CurveAdapter({ targetContract: Contracts.CURVE_EBTC_WBTC_POOL, adapterType: AdapterType.CURVE_STABLE_NG, - lpToken: Tokens.eBTCWBTC, + lpToken: TOKEN_eBTCWBTC, basePool: Contracts.NO_CONTRACT }) ); @@ -461,7 +461,7 @@ contract AdapterData { CurveAdapter({ targetContract: Contracts.CURVE_TRIBTC_POOL, adapterType: AdapterType.CURVE_STABLE_NG, - lpToken: Tokens.TriBTC, + lpToken: TOKEN_TriBTC, basePool: Contracts.NO_CONTRACT }) ); @@ -469,7 +469,7 @@ contract AdapterData { CurveAdapter({ targetContract: Contracts.CURVE_2CRV_POOL_ARB, adapterType: AdapterType.CURVE_V1_2ASSETS, - lpToken: Tokens._2CRV, + lpToken: TOKEN__2CRV, basePool: Contracts.NO_CONTRACT }) ); @@ -477,7 +477,7 @@ contract AdapterData { CurveAdapter({ targetContract: Contracts.CURVE_TRICRYPTO_CRVUSD_POOL_ARB, adapterType: AdapterType.CURVE_V1_3ASSETS, - lpToken: Tokens._3c_crvUSD, + lpToken: TOKEN__3c_crvUSD, basePool: Contracts.NO_CONTRACT }) ); @@ -485,7 +485,7 @@ contract AdapterData { CurveAdapter({ targetContract: Contracts.CURVE_CRVUSD_USDC_POOL_ARB, adapterType: AdapterType.CURVE_STABLE_NG, - lpToken: Tokens.crvUSDC, + lpToken: TOKEN_crvUSDC, basePool: Contracts.NO_CONTRACT }) ); @@ -493,7 +493,7 @@ contract AdapterData { CurveAdapter({ targetContract: Contracts.CURVE_CRVUSD_USDC_E_POOL_ARB, adapterType: AdapterType.CURVE_STABLE_NG, - lpToken: Tokens.crvUSDC_e, + lpToken: TOKEN_crvUSDC_e, basePool: Contracts.NO_CONTRACT }) ); @@ -501,7 +501,7 @@ contract AdapterData { CurveAdapter({ targetContract: Contracts.CURVE_CRVUSD_USDT_POOL_ARB, adapterType: AdapterType.CURVE_STABLE_NG, - lpToken: Tokens.crvUSDT, + lpToken: TOKEN_crvUSDT, basePool: Contracts.NO_CONTRACT }) ); @@ -509,7 +509,7 @@ contract AdapterData { CurveAdapter({ targetContract: Contracts.CURVE_USDE_USDC_POOL_ARB, adapterType: AdapterType.CURVE_STABLE_NG, - lpToken: Tokens.USDEUSDC, + lpToken: TOKEN_USDEUSDC, basePool: Contracts.NO_CONTRACT }) ); @@ -517,7 +517,7 @@ contract AdapterData { CurveAdapter({ targetContract: Contracts.CURVE_3CRV_POOL_OP, adapterType: AdapterType.CURVE_V1_3ASSETS, - lpToken: Tokens._3CRV, + lpToken: TOKEN__3CRV, basePool: Contracts.NO_CONTRACT }) ); @@ -525,21 +525,21 @@ contract AdapterData { CurveStETHAdapter({ curveETHGateway: Contracts.CURVE_STETH_GATEWAY, adapterType: AdapterType.CURVE_V1_STECRV_POOL, - lpToken: Tokens.steCRV + lpToken: TOKEN_steCRV }) ); curveStEthAdapters.push( CurveStETHAdapter({ curveETHGateway: Contracts.CURVE_ETH_WSTETH_GATEWAY_OP, adapterType: AdapterType.CURVE_V1_STECRV_POOL, - lpToken: Tokens.wstETHCRV + lpToken: TOKEN_wstETHCRV }) ); curveWrappers.push( CurveWrapper({ targetContract: Contracts.CURVE_SUSD_DEPOSIT, adapterType: AdapterType.CURVE_V1_WRAPPER, - lpToken: Tokens.crvPlain3andSUSD, + lpToken: TOKEN_crvPlain3andSUSD, nCoins: 4 }) ); @@ -547,196 +547,196 @@ contract AdapterData { ConvexBasePoolAdapter({ targetContract: Contracts.CONVEX_3CRV_POOL, adapterType: AdapterType.CONVEX_V1_BASE_REWARD_POOL, - stakedToken: Tokens.stkcvx3Crv + stakedToken: TOKEN_stkcvx3Crv }) ); convexBasePoolAdapters.push( ConvexBasePoolAdapter({ targetContract: Contracts.CONVEX_FRAX_USDC_POOL, adapterType: AdapterType.CONVEX_V1_BASE_REWARD_POOL, - stakedToken: Tokens.stkcvxcrvFRAX + stakedToken: TOKEN_stkcvxcrvFRAX }) ); convexBasePoolAdapters.push( ConvexBasePoolAdapter({ targetContract: Contracts.CONVEX_GUSD_POOL, adapterType: AdapterType.CONVEX_V1_BASE_REWARD_POOL, - stakedToken: Tokens.stkcvxgusd3CRV + stakedToken: TOKEN_stkcvxgusd3CRV }) ); convexBasePoolAdapters.push( ConvexBasePoolAdapter({ targetContract: Contracts.CONVEX_SUSD_POOL, adapterType: AdapterType.CONVEX_V1_BASE_REWARD_POOL, - stakedToken: Tokens.stkcvxcrvPlain3andSUSD + stakedToken: TOKEN_stkcvxcrvPlain3andSUSD }) ); convexBasePoolAdapters.push( ConvexBasePoolAdapter({ targetContract: Contracts.CONVEX_STECRV_POOL, adapterType: AdapterType.CONVEX_V1_BASE_REWARD_POOL, - stakedToken: Tokens.stkcvxsteCRV + stakedToken: TOKEN_stkcvxsteCRV }) ); convexBasePoolAdapters.push( ConvexBasePoolAdapter({ targetContract: Contracts.CONVEX_FRAX3CRV_POOL, adapterType: AdapterType.CONVEX_V1_BASE_REWARD_POOL, - stakedToken: Tokens.stkcvxFRAX3CRV + stakedToken: TOKEN_stkcvxFRAX3CRV }) ); convexBasePoolAdapters.push( ConvexBasePoolAdapter({ targetContract: Contracts.CONVEX_LUSD3CRV_POOL, adapterType: AdapterType.CONVEX_V1_BASE_REWARD_POOL, - stakedToken: Tokens.stkcvxLUSD3CRV + stakedToken: TOKEN_stkcvxLUSD3CRV }) ); convexBasePoolAdapters.push( ConvexBasePoolAdapter({ targetContract: Contracts.CONVEX_MIM3CRV_POOL, adapterType: AdapterType.CONVEX_V1_BASE_REWARD_POOL, - stakedToken: Tokens.stkcvxMIM_3LP3CRV + stakedToken: TOKEN_stkcvxMIM_3LP3CRV }) ); convexBasePoolAdapters.push( ConvexBasePoolAdapter({ targetContract: Contracts.CONVEX_OHMFRAXBP_POOL, adapterType: AdapterType.CONVEX_V1_BASE_REWARD_POOL, - stakedToken: Tokens.stkcvxOHMFRAXBP + stakedToken: TOKEN_stkcvxOHMFRAXBP }) ); convexBasePoolAdapters.push( ConvexBasePoolAdapter({ targetContract: Contracts.CONVEX_CRVETH_POOL, adapterType: AdapterType.CONVEX_V1_BASE_REWARD_POOL, - stakedToken: Tokens.stkcvxcrvCRVETH + stakedToken: TOKEN_stkcvxcrvCRVETH }) ); convexBasePoolAdapters.push( ConvexBasePoolAdapter({ targetContract: Contracts.CONVEX_CVXETH_POOL, adapterType: AdapterType.CONVEX_V1_BASE_REWARD_POOL, - stakedToken: Tokens.stkcvxcrvCVXETH + stakedToken: TOKEN_stkcvxcrvCVXETH }) ); convexBasePoolAdapters.push( ConvexBasePoolAdapter({ targetContract: Contracts.CONVEX_3CRYPTO_POOL, adapterType: AdapterType.CONVEX_V1_BASE_REWARD_POOL, - stakedToken: Tokens.stkcvxcrvUSDTWBTCWETH + stakedToken: TOKEN_stkcvxcrvUSDTWBTCWETH }) ); convexBasePoolAdapters.push( ConvexBasePoolAdapter({ targetContract: Contracts.CONVEX_LDOETH_POOL, adapterType: AdapterType.CONVEX_V1_BASE_REWARD_POOL, - stakedToken: Tokens.stkcvxLDOETH + stakedToken: TOKEN_stkcvxLDOETH }) ); convexBasePoolAdapters.push( ConvexBasePoolAdapter({ targetContract: Contracts.CONVEX_CRVUSD_USDC_POOL, adapterType: AdapterType.CONVEX_V1_BASE_REWARD_POOL, - stakedToken: Tokens.stkcvxcrvUSDUSDC + stakedToken: TOKEN_stkcvxcrvUSDUSDC }) ); convexBasePoolAdapters.push( ConvexBasePoolAdapter({ targetContract: Contracts.CONVEX_CRVUSD_USDT_POOL, adapterType: AdapterType.CONVEX_V1_BASE_REWARD_POOL, - stakedToken: Tokens.stkcvxcrvUSDUSDT + stakedToken: TOKEN_stkcvxcrvUSDUSDT }) ); convexBasePoolAdapters.push( ConvexBasePoolAdapter({ targetContract: Contracts.CONVEX_CRVUSD_FRAX_POOL, adapterType: AdapterType.CONVEX_V1_BASE_REWARD_POOL, - stakedToken: Tokens.stkcvxcrvUSDFRAX + stakedToken: TOKEN_stkcvxcrvUSDFRAX }) ); convexBasePoolAdapters.push( ConvexBasePoolAdapter({ targetContract: Contracts.CONVEX_TRI_CRV_POOL, adapterType: AdapterType.CONVEX_V1_BASE_REWARD_POOL, - stakedToken: Tokens.stkcvxcrvUSDETHCRV + stakedToken: TOKEN_stkcvxcrvUSDETHCRV }) ); convexBasePoolAdapters.push( ConvexBasePoolAdapter({ targetContract: Contracts.CONVEX_GHO_CRVUSD_POOL, adapterType: AdapterType.CONVEX_V1_BASE_REWARD_POOL, - stakedToken: Tokens.stkcvxGHOcrvUSD + stakedToken: TOKEN_stkcvxGHOcrvUSD }) ); convexBasePoolAdapters.push( ConvexBasePoolAdapter({ targetContract: Contracts.AURA_B_RETH_STABLE_POOL, adapterType: AdapterType.CONVEX_V1_BASE_REWARD_POOL, - stakedToken: Tokens.auraB_rETH_STABLE_vault + stakedToken: TOKEN_auraB_rETH_STABLE_vault }) ); convexBasePoolAdapters.push( ConvexBasePoolAdapter({ targetContract: Contracts.AURA_WEETH_RETH_POOL, adapterType: AdapterType.CONVEX_V1_BASE_REWARD_POOL, - stakedToken: Tokens.auraweETH_rETH_vault + stakedToken: TOKEN_auraweETH_rETH_vault }) ); convexBasePoolAdapters.push( ConvexBasePoolAdapter({ targetContract: Contracts.AURA_OSETH_WETH_POOL, adapterType: AdapterType.CONVEX_V1_BASE_REWARD_POOL, - stakedToken: Tokens.auraosETH_wETH_BPT_vault + stakedToken: TOKEN_auraosETH_wETH_BPT_vault }) ); convexBasePoolAdapters.push( ConvexBasePoolAdapter({ targetContract: Contracts.AURA_BPT_RETH_ETH_POOL, adapterType: AdapterType.CONVEX_V1_BASE_REWARD_POOL, - stakedToken: Tokens.auraBPT_rETH_ETH_vault + stakedToken: TOKEN_auraBPT_rETH_ETH_vault }) ); convexBasePoolAdapters.push( ConvexBasePoolAdapter({ targetContract: Contracts.AURA_BPT_WSTETH_ETH_POOL, adapterType: AdapterType.CONVEX_V1_BASE_REWARD_POOL, - stakedToken: Tokens.auraBPT_WSTETH_ETH_vault + stakedToken: TOKEN_auraBPT_WSTETH_ETH_vault }) ); convexBasePoolAdapters.push( ConvexBasePoolAdapter({ targetContract: Contracts.AURA_WSTETH_WETH_POOL_ARB, adapterType: AdapterType.CONVEX_V1_BASE_REWARD_POOL, - stakedToken: Tokens.aurawstETH_WETH_BPT_vault + stakedToken: TOKEN_aurawstETH_WETH_BPT_vault }) ); convexBasePoolAdapters.push( ConvexBasePoolAdapter({ targetContract: Contracts.AURA_WSTETH_RETH_SFRXETH_POOL_ARB, adapterType: AdapterType.CONVEX_V1_BASE_REWARD_POOL, - stakedToken: Tokens.aurawstETH_rETH_sfrxETH_vault + stakedToken: TOKEN_aurawstETH_rETH_sfrxETH_vault }) ); convexBasePoolAdapters.push( ConvexBasePoolAdapter({ targetContract: Contracts.AURA_CBETH_RETH_WSTETH_POOL_ARB, adapterType: AdapterType.CONVEX_V1_BASE_REWARD_POOL, - stakedToken: Tokens.auracbETH_rETH_wstETH_vault + stakedToken: TOKEN_auracbETH_rETH_wstETH_vault }) ); convexBasePoolAdapters.push( ConvexBasePoolAdapter({ targetContract: Contracts.AURA_RETH_WETH_POOL_ARB, adapterType: AdapterType.CONVEX_V1_BASE_REWARD_POOL, - stakedToken: Tokens.aurarETH_wETH_BPT_vault + stakedToken: TOKEN_aurarETH_wETH_BPT_vault }) ); stakingRewardsAdapters.push( StakingRewardsAdapter({ targetContract: Contracts.SKY_STAKING_REWARDS, adapterType: AdapterType.STAKING_REWARDS, - stakedToken: Tokens.stkUSDS + stakedToken: TOKEN_stkUSDS }) ); } diff --git a/contracts/PriceFeedDataLive.sol b/contracts/PriceFeedDataLive.sol index d004495..92fa3e5 100644 --- a/contracts/PriceFeedDataLive.sol +++ b/contracts/PriceFeedDataLive.sol @@ -3,13 +3,13 @@ // (c) Gearbox Foundation, 2023 pragma solidity ^0.8.17; -import {Tokens} from "./Tokens.sol"; +import "./Tokens.sol"; import {Contracts} from "./SupportedContracts.sol"; import {TokensLib} from "./TokensLib.sol"; struct ChainlinkPriceFeedData { - Tokens token; + uint256 token; address priceFeed; uint32 stalenessPeriod; bool reserve; @@ -17,30 +17,30 @@ struct ChainlinkPriceFeedData { } struct CurvePriceFeedData { - Tokens lpToken; - Tokens[] assets; + uint256 lpToken; + uint256[] assets; Contracts pool; bool reserve; bool trusted; } struct CrvUsdPriceFeedData { - Tokens token; - Tokens underlying; + uint256 token; + uint256 underlying; Contracts pool; bool reserve; bool trusted; } struct TheSamePriceFeedData { - Tokens token; - Tokens tokenHasSamePriceFeed; + uint256 token; + uint256 tokenHasSamePriceFeed; bool reserve; bool trusted; } struct SingeTokenPriceFeedData { - Tokens token; + uint256 token; bool reserve; bool trusted; } @@ -60,7 +60,7 @@ struct CompositePriceFeedDataShort { } struct CompositePriceFeedData { - Tokens token; + uint256 token; // Target data bool isTargetRedstone; RedStonePriceFeedDataShort redstoneTargetToBaseData; @@ -77,7 +77,7 @@ struct CompositePriceFeedData { } struct BoundedPriceFeedData { - Tokens token; + uint256 token; address priceFeed; uint32 stalenessPeriod; uint256 upperBound; @@ -86,21 +86,21 @@ struct BoundedPriceFeedData { } struct GenericLPPriceFeedData { - Tokens lpToken; - Tokens underlying; + uint256 lpToken; + uint256 underlying; bool reserve; bool trusted; } struct BalancerLPPriceFeedData { - Tokens lpToken; - Tokens[] assets; + uint256 lpToken; + uint256[] assets; bool reserve; bool trusted; } struct RedStonePriceFeedData { - Tokens token; + uint256 token; string dataServiceId; bytes32 dataFeedId; address[10] signers; @@ -110,7 +110,7 @@ struct RedStonePriceFeedData { } struct PythPriceFeedData { - Tokens token; + uint256 token; bytes32 priceFeedId; string ticker; address pyth; @@ -119,8 +119,8 @@ struct PythPriceFeedData { } struct PendlePriceFeedData { - Tokens token; - Tokens underlying; + uint256 token; + uint256 underlying; address market; uint32 twapWindow; bool reserve; @@ -153,7 +153,7 @@ contract PriceFeedDataLive { // ------------------------ 1INCH ------------------------ chainlinkPriceFeedsByNetwork[1].push( ChainlinkPriceFeedData({ - token: Tokens._1INCH, + token: TOKEN__1INCH, priceFeed: 0xc929ad75B72593967DE83E7F7Cda0493458261D9, stalenessPeriod: 87300, trusted: false, @@ -162,7 +162,7 @@ contract PriceFeedDataLive { ); chainlinkPriceFeedsByNetwork[42161].push( ChainlinkPriceFeedData({ - token: Tokens._1INCH, + token: TOKEN__1INCH, priceFeed: 0x4bC735Ef24bf286983024CAd5D03f0738865Aaef, stalenessPeriod: 86520, trusted: false, @@ -173,7 +173,7 @@ contract PriceFeedDataLive { // ------------------------ AAVE ------------------------ chainlinkPriceFeedsByNetwork[1].push( ChainlinkPriceFeedData({ - token: Tokens.AAVE, + token: TOKEN_AAVE, priceFeed: 0x547a514d5e3769680Ce22B2361c10Ea13619e8a9, stalenessPeriod: 87300, trusted: false, @@ -182,7 +182,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[1].push( RedStonePriceFeedData({ - token: Tokens.AAVE, + token: TOKEN_AAVE, dataServiceId: "redstone-primary-prod", dataFeedId: "AAVE", signers: [ @@ -204,7 +204,7 @@ contract PriceFeedDataLive { ); chainlinkPriceFeedsByNetwork[42161].push( ChainlinkPriceFeedData({ - token: Tokens.AAVE, + token: TOKEN_AAVE, priceFeed: 0xaD1d5344AaDE45F43E596773Bcc4c423EAbdD034, stalenessPeriod: 86520, trusted: false, @@ -213,7 +213,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[42161].push( RedStonePriceFeedData({ - token: Tokens.AAVE, + token: TOKEN_AAVE, dataServiceId: "redstone-primary-prod", dataFeedId: "AAVE", signers: [ @@ -237,7 +237,7 @@ contract PriceFeedDataLive { // ------------------------ COMP ------------------------ chainlinkPriceFeedsByNetwork[1].push( ChainlinkPriceFeedData({ - token: Tokens.COMP, + token: TOKEN_COMP, priceFeed: 0xdbd020CAeF83eFd542f4De03e3cF0C28A4428bd5, stalenessPeriod: 87300, trusted: false, @@ -246,7 +246,7 @@ contract PriceFeedDataLive { ); chainlinkPriceFeedsByNetwork[42161].push( ChainlinkPriceFeedData({ - token: Tokens.COMP, + token: TOKEN_COMP, priceFeed: 0xe7C53FFd03Eb6ceF7d208bC4C13446c76d1E5884, stalenessPeriod: 3720, trusted: false, @@ -257,7 +257,7 @@ contract PriceFeedDataLive { // ------------------------ CRV ------------------------ chainlinkPriceFeedsByNetwork[1].push( ChainlinkPriceFeedData({ - token: Tokens.CRV, + token: TOKEN_CRV, priceFeed: 0xCd627aA160A6fA45Eb793D19Ef54f5062F20f33f, stalenessPeriod: 87300, trusted: false, @@ -266,7 +266,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[1].push( RedStonePriceFeedData({ - token: Tokens.CRV, + token: TOKEN_CRV, dataServiceId: "redstone-primary-prod", dataFeedId: "CRV", signers: [ @@ -288,7 +288,7 @@ contract PriceFeedDataLive { ); chainlinkPriceFeedsByNetwork[42161].push( ChainlinkPriceFeedData({ - token: Tokens.CRV, + token: TOKEN_CRV, priceFeed: 0xaebDA2c976cfd1eE1977Eac079B4382acb849325, stalenessPeriod: 3720, trusted: false, @@ -297,7 +297,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[42161].push( RedStonePriceFeedData({ - token: Tokens.CRV, + token: TOKEN_CRV, dataServiceId: "redstone-primary-prod", dataFeedId: "CRV", signers: [ @@ -321,7 +321,7 @@ contract PriceFeedDataLive { // ------------------------ DAI ------------------------ boundedPriceFeedsByNetwork[1].push( BoundedPriceFeedData({ - token: Tokens.DAI, + token: TOKEN_DAI, priceFeed: 0xAed0c38402a5d19df6E4c03F4E2DceD6e29c1ee9, stalenessPeriod: 4500, upperBound: 104000000, @@ -331,7 +331,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[1].push( RedStonePriceFeedData({ - token: Tokens.DAI, + token: TOKEN_DAI, dataServiceId: "redstone-primary-prod", dataFeedId: "DAI", signers: [ @@ -353,7 +353,7 @@ contract PriceFeedDataLive { ); boundedPriceFeedsByNetwork[42161].push( BoundedPriceFeedData({ - token: Tokens.DAI, + token: TOKEN_DAI, priceFeed: 0xc5C8E77B397E531B8EC06BFb0048328B30E9eCfB, stalenessPeriod: 86520, upperBound: 104000000, @@ -363,7 +363,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[42161].push( RedStonePriceFeedData({ - token: Tokens.DAI, + token: TOKEN_DAI, dataServiceId: "redstone-primary-prod", dataFeedId: "DAI", signers: [ @@ -385,7 +385,7 @@ contract PriceFeedDataLive { ); boundedPriceFeedsByNetwork[10].push( BoundedPriceFeedData({ - token: Tokens.DAI, + token: TOKEN_DAI, priceFeed: 0x8dBa75e83DA73cc766A7e5a0ee71F656BAb470d6, stalenessPeriod: 86520, upperBound: 104000000, @@ -395,7 +395,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[10].push( RedStonePriceFeedData({ - token: Tokens.DAI, + token: TOKEN_DAI, dataServiceId: "redstone-primary-prod", dataFeedId: "DAI", signers: [ @@ -418,60 +418,56 @@ contract PriceFeedDataLive { // ------------------------ USDS ------------------------ theSamePriceFeedsByNetwork[1].push( - TheSamePriceFeedData({token: Tokens.USDS, tokenHasSamePriceFeed: Tokens.DAI, trusted: true, reserve: false}) + TheSamePriceFeedData({token: TOKEN_USDS, tokenHasSamePriceFeed: TOKEN_DAI, trusted: true, reserve: false}) ); theSamePriceFeedsByNetwork[1].push( - TheSamePriceFeedData({token: Tokens.USDS, tokenHasSamePriceFeed: Tokens.DAI, trusted: false, reserve: true}) + TheSamePriceFeedData({token: TOKEN_USDS, tokenHasSamePriceFeed: TOKEN_DAI, trusted: false, reserve: true}) ); theSamePriceFeedsByNetwork[42161].push( - TheSamePriceFeedData({token: Tokens.USDS, tokenHasSamePriceFeed: Tokens.DAI, trusted: true, reserve: false}) + TheSamePriceFeedData({token: TOKEN_USDS, tokenHasSamePriceFeed: TOKEN_DAI, trusted: true, reserve: false}) ); theSamePriceFeedsByNetwork[42161].push( - TheSamePriceFeedData({token: Tokens.USDS, tokenHasSamePriceFeed: Tokens.DAI, trusted: false, reserve: true}) + TheSamePriceFeedData({token: TOKEN_USDS, tokenHasSamePriceFeed: TOKEN_DAI, trusted: false, reserve: true}) ); theSamePriceFeedsByNetwork[10].push( - TheSamePriceFeedData({token: Tokens.USDS, tokenHasSamePriceFeed: Tokens.DAI, trusted: true, reserve: false}) + TheSamePriceFeedData({token: TOKEN_USDS, tokenHasSamePriceFeed: TOKEN_DAI, trusted: true, reserve: false}) ); theSamePriceFeedsByNetwork[10].push( - TheSamePriceFeedData({token: Tokens.USDS, tokenHasSamePriceFeed: Tokens.DAI, trusted: false, reserve: true}) + TheSamePriceFeedData({token: TOKEN_USDS, tokenHasSamePriceFeed: TOKEN_DAI, trusted: false, reserve: true}) ); theSamePriceFeedsByNetwork[8453].push( - TheSamePriceFeedData({token: Tokens.USDS, tokenHasSamePriceFeed: Tokens.DAI, trusted: true, reserve: false}) + TheSamePriceFeedData({token: TOKEN_USDS, tokenHasSamePriceFeed: TOKEN_DAI, trusted: true, reserve: false}) ); theSamePriceFeedsByNetwork[8453].push( - TheSamePriceFeedData({token: Tokens.USDS, tokenHasSamePriceFeed: Tokens.DAI, trusted: false, reserve: true}) + TheSamePriceFeedData({token: TOKEN_USDS, tokenHasSamePriceFeed: TOKEN_DAI, trusted: false, reserve: true}) ); // ------------------------ DPI ------------------------ chainlinkPriceFeedsByNetwork[1].push( ChainlinkPriceFeedData({ - token: Tokens.DPI, + token: TOKEN_DPI, priceFeed: 0xD2A593BF7594aCE1faD597adb697b5645d5edDB2, stalenessPeriod: 86400, trusted: false, reserve: false }) ); - zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.DPI, trusted: false, reserve: false}) - ); + zeroPriceFeedsByNetwork[42161].push(SingeTokenPriceFeedData({token: TOKEN_DPI, trusted: false, reserve: false})); // ------------------------ FEI ------------------------ - zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: Tokens.FEI, trusted: false, reserve: false})); - zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.FEI, trusted: false, reserve: false}) - ); + zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_FEI, trusted: false, reserve: false})); + zeroPriceFeedsByNetwork[42161].push(SingeTokenPriceFeedData({token: TOKEN_FEI, trusted: false, reserve: false})); // ------------------------ GUSD ------------------------ - zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: Tokens.GUSD, trusted: true, reserve: false})); + zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_GUSD, trusted: true, reserve: false})); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.GUSD, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_GUSD, trusted: false, reserve: false}) ); // ------------------------ LINK ------------------------ chainlinkPriceFeedsByNetwork[1].push( ChainlinkPriceFeedData({ - token: Tokens.LINK, + token: TOKEN_LINK, priceFeed: 0x2c1d072e956AFFC0D435Cb7AC38EF18d24d9127c, stalenessPeriod: 4500, trusted: false, @@ -480,7 +476,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[1].push( RedStonePriceFeedData({ - token: Tokens.LINK, + token: TOKEN_LINK, dataServiceId: "redstone-primary-prod", dataFeedId: "LINK", signers: [ @@ -502,7 +498,7 @@ contract PriceFeedDataLive { ); chainlinkPriceFeedsByNetwork[42161].push( ChainlinkPriceFeedData({ - token: Tokens.LINK, + token: TOKEN_LINK, priceFeed: 0x86E53CF1B870786351Da77A57575e79CB55812CB, stalenessPeriod: 3720, trusted: false, @@ -511,7 +507,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[42161].push( RedStonePriceFeedData({ - token: Tokens.LINK, + token: TOKEN_LINK, dataServiceId: "redstone-primary-prod", dataFeedId: "LINK", signers: [ @@ -533,7 +529,7 @@ contract PriceFeedDataLive { ); chainlinkPriceFeedsByNetwork[10].push( ChainlinkPriceFeedData({ - token: Tokens.LINK, + token: TOKEN_LINK, priceFeed: 0xCc232dcFAAE6354cE191Bd574108c1aD03f86450, stalenessPeriod: 1320, trusted: false, @@ -542,7 +538,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[10].push( RedStonePriceFeedData({ - token: Tokens.LINK, + token: TOKEN_LINK, dataServiceId: "redstone-primary-prod", dataFeedId: "LINK", signers: [ @@ -566,7 +562,7 @@ contract PriceFeedDataLive { // ------------------------ SNX ------------------------ chainlinkPriceFeedsByNetwork[1].push( ChainlinkPriceFeedData({ - token: Tokens.SNX, + token: TOKEN_SNX, priceFeed: 0xDC3EA94CD0AC27d9A86C180091e7f78C683d3699, stalenessPeriod: 87300, trusted: false, @@ -575,7 +571,7 @@ contract PriceFeedDataLive { ); chainlinkPriceFeedsByNetwork[42161].push( ChainlinkPriceFeedData({ - token: Tokens.SNX, + token: TOKEN_SNX, priceFeed: 0x054296f0D036b95531B4E14aFB578B80CFb41252, stalenessPeriod: 86520, trusted: false, @@ -584,7 +580,7 @@ contract PriceFeedDataLive { ); chainlinkPriceFeedsByNetwork[10].push( ChainlinkPriceFeedData({ - token: Tokens.SNX, + token: TOKEN_SNX, priceFeed: 0x2FCF37343e916eAEd1f1DdaaF84458a359b53877, stalenessPeriod: 1320, trusted: false, @@ -595,7 +591,7 @@ contract PriceFeedDataLive { // ------------------------ WLD ------------------------ chainlinkPriceFeedsByNetwork[10].push( ChainlinkPriceFeedData({ - token: Tokens.WLD, + token: TOKEN_WLD, priceFeed: 0x4e1C6B168DCFD7758bC2Ab9d2865f1895813D236, stalenessPeriod: 86520, trusted: false, @@ -606,7 +602,7 @@ contract PriceFeedDataLive { // ------------------------ OP ------------------------ chainlinkPriceFeedsByNetwork[10].push( ChainlinkPriceFeedData({ - token: Tokens.OP, + token: TOKEN_OP, priceFeed: 0x0D276FC14719f9292D5C1eA2198673d1f4269246, stalenessPeriod: 1320, trusted: false, @@ -615,7 +611,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[10].push( RedStonePriceFeedData({ - token: Tokens.OP, + token: TOKEN_OP, dataServiceId: "redstone-primary-prod", dataFeedId: "OP", signers: [ @@ -639,7 +635,7 @@ contract PriceFeedDataLive { // ------------------------ UNI ------------------------ chainlinkPriceFeedsByNetwork[1].push( ChainlinkPriceFeedData({ - token: Tokens.UNI, + token: TOKEN_UNI, priceFeed: 0x553303d460EE0afB37EdFf9bE42922D8FF63220e, stalenessPeriod: 4500, trusted: false, @@ -648,7 +644,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[1].push( RedStonePriceFeedData({ - token: Tokens.UNI, + token: TOKEN_UNI, dataServiceId: "redstone-primary-prod", dataFeedId: "UNI", signers: [ @@ -670,7 +666,7 @@ contract PriceFeedDataLive { ); chainlinkPriceFeedsByNetwork[42161].push( ChainlinkPriceFeedData({ - token: Tokens.UNI, + token: TOKEN_UNI, priceFeed: 0x9C917083fDb403ab5ADbEC26Ee294f6EcAda2720, stalenessPeriod: 86520, trusted: false, @@ -679,7 +675,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[42161].push( RedStonePriceFeedData({ - token: Tokens.UNI, + token: TOKEN_UNI, dataServiceId: "redstone-primary-prod", dataFeedId: "UNI", signers: [ @@ -703,7 +699,7 @@ contract PriceFeedDataLive { // ------------------------ USDC ------------------------ boundedPriceFeedsByNetwork[1].push( BoundedPriceFeedData({ - token: Tokens.USDC, + token: TOKEN_USDC, priceFeed: 0x8fFfFfd4AfB6115b954Bd326cbe7B4BA576818f6, stalenessPeriod: 87300, upperBound: 104000000, @@ -713,7 +709,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[1].push( RedStonePriceFeedData({ - token: Tokens.USDC, + token: TOKEN_USDC, dataServiceId: "redstone-primary-prod", dataFeedId: "USDC", signers: [ @@ -735,7 +731,7 @@ contract PriceFeedDataLive { ); boundedPriceFeedsByNetwork[42161].push( BoundedPriceFeedData({ - token: Tokens.USDC, + token: TOKEN_USDC, priceFeed: 0x50834F3163758fcC1Df9973b6e91f0F0F0434aD3, stalenessPeriod: 86520, upperBound: 104000000, @@ -745,7 +741,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[42161].push( RedStonePriceFeedData({ - token: Tokens.USDC, + token: TOKEN_USDC, dataServiceId: "redstone-primary-prod", dataFeedId: "USDC", signers: [ @@ -767,7 +763,7 @@ contract PriceFeedDataLive { ); boundedPriceFeedsByNetwork[10].push( BoundedPriceFeedData({ - token: Tokens.USDC, + token: TOKEN_USDC, priceFeed: 0x16a9FA2FDa030272Ce99B29CF780dFA30361E0f3, stalenessPeriod: 86520, upperBound: 104000000, @@ -777,7 +773,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[10].push( RedStonePriceFeedData({ - token: Tokens.USDC, + token: TOKEN_USDC, dataServiceId: "redstone-primary-prod", dataFeedId: "USDC", signers: [ @@ -801,7 +797,7 @@ contract PriceFeedDataLive { // ------------------------ USDC_e ------------------------ boundedPriceFeedsByNetwork[42161].push( BoundedPriceFeedData({ - token: Tokens.USDC_e, + token: TOKEN_USDC_e, priceFeed: 0x50834F3163758fcC1Df9973b6e91f0F0F0434aD3, stalenessPeriod: 86520, upperBound: 104000000, @@ -811,7 +807,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[42161].push( RedStonePriceFeedData({ - token: Tokens.USDC_e, + token: TOKEN_USDC_e, dataServiceId: "redstone-primary-prod", dataFeedId: "USDC", signers: [ @@ -833,7 +829,7 @@ contract PriceFeedDataLive { ); boundedPriceFeedsByNetwork[10].push( BoundedPriceFeedData({ - token: Tokens.USDC_e, + token: TOKEN_USDC_e, priceFeed: 0x16a9FA2FDa030272Ce99B29CF780dFA30361E0f3, stalenessPeriod: 86520, upperBound: 104000000, @@ -843,7 +839,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[10].push( RedStonePriceFeedData({ - token: Tokens.USDC_e, + token: TOKEN_USDC_e, dataServiceId: "redstone-primary-prod", dataFeedId: "USDC", signers: [ @@ -867,7 +863,7 @@ contract PriceFeedDataLive { // ------------------------ USDT ------------------------ boundedPriceFeedsByNetwork[1].push( BoundedPriceFeedData({ - token: Tokens.USDT, + token: TOKEN_USDT, priceFeed: 0x3E7d1eAB13ad0104d2750B8863b489D65364e32D, stalenessPeriod: 87300, upperBound: 104000000, @@ -877,7 +873,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[1].push( RedStonePriceFeedData({ - token: Tokens.USDT, + token: TOKEN_USDT, dataServiceId: "redstone-primary-prod", dataFeedId: "USDT", signers: [ @@ -899,7 +895,7 @@ contract PriceFeedDataLive { ); boundedPriceFeedsByNetwork[42161].push( BoundedPriceFeedData({ - token: Tokens.USDT, + token: TOKEN_USDT, priceFeed: 0x3f3f5dF88dC9F13eac63DF89EC16ef6e7E25DdE7, stalenessPeriod: 86520, upperBound: 104000000, @@ -909,7 +905,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[42161].push( RedStonePriceFeedData({ - token: Tokens.USDT, + token: TOKEN_USDT, dataServiceId: "redstone-primary-prod", dataFeedId: "USDT", signers: [ @@ -931,7 +927,7 @@ contract PriceFeedDataLive { ); boundedPriceFeedsByNetwork[10].push( BoundedPriceFeedData({ - token: Tokens.USDT, + token: TOKEN_USDT, priceFeed: 0xECef79E109e997bCA29c1c0897ec9d7b03647F5E, stalenessPeriod: 86520, upperBound: 104000000, @@ -941,7 +937,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[10].push( RedStonePriceFeedData({ - token: Tokens.USDT, + token: TOKEN_USDT, dataServiceId: "redstone-primary-prod", dataFeedId: "USDT", signers: [ @@ -966,7 +962,7 @@ contract PriceFeedDataLive { { CompositePriceFeedData storage cpf = compositePriceFeedsByNetwork[1].push(); - cpf.token = Tokens.WBTC; + cpf.token = TOKEN_WBTC; cpf.isTargetRedstone = false; cpf.targetToBaseFeed = 0xfdFD9C85aD200c506Cf9e21F1FD8dd01932FBB23; cpf.targetStalenessPeriod = 87300; @@ -979,7 +975,7 @@ contract PriceFeedDataLive { } redStonePriceFeedsByNetwork[1].push( RedStonePriceFeedData({ - token: Tokens.WBTC, + token: TOKEN_WBTC, dataServiceId: "redstone-primary-prod", dataFeedId: "WBTC", signers: [ @@ -1001,7 +997,7 @@ contract PriceFeedDataLive { ); { CompositePriceFeedData storage cpf = compositePriceFeedsByNetwork[42161].push(); - cpf.token = Tokens.WBTC; + cpf.token = TOKEN_WBTC; cpf.isTargetRedstone = false; cpf.targetToBaseFeed = 0x0017abAc5b6f291F9164e35B1234CA1D697f9CF4; cpf.targetStalenessPeriod = 86520; @@ -1014,7 +1010,7 @@ contract PriceFeedDataLive { } redStonePriceFeedsByNetwork[42161].push( RedStonePriceFeedData({ - token: Tokens.WBTC, + token: TOKEN_WBTC, dataServiceId: "redstone-primary-prod", dataFeedId: "WBTC", signers: [ @@ -1036,7 +1032,7 @@ contract PriceFeedDataLive { ); chainlinkPriceFeedsByNetwork[10].push( ChainlinkPriceFeedData({ - token: Tokens.WBTC, + token: TOKEN_WBTC, priceFeed: 0x718A5788b89454aAE3A028AE9c111A29Be6c2a6F, stalenessPeriod: 1320, trusted: false, @@ -1045,7 +1041,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[10].push( RedStonePriceFeedData({ - token: Tokens.WBTC, + token: TOKEN_WBTC, dataServiceId: "redstone-primary-prod", dataFeedId: "WBTC", signers: [ @@ -1069,7 +1065,7 @@ contract PriceFeedDataLive { // ------------------------ WETH ------------------------ chainlinkPriceFeedsByNetwork[1].push( ChainlinkPriceFeedData({ - token: Tokens.WETH, + token: TOKEN_WETH, priceFeed: 0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419, stalenessPeriod: 4500, trusted: true, @@ -1078,7 +1074,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[1].push( RedStonePriceFeedData({ - token: Tokens.WETH, + token: TOKEN_WETH, dataServiceId: "redstone-primary-prod", dataFeedId: "ETH", signers: [ @@ -1100,7 +1096,7 @@ contract PriceFeedDataLive { ); chainlinkPriceFeedsByNetwork[42161].push( ChainlinkPriceFeedData({ - token: Tokens.WETH, + token: TOKEN_WETH, priceFeed: 0x639Fe6ab55C921f74e7fac1ee960C0B6293ba612, stalenessPeriod: 86520, trusted: true, @@ -1109,7 +1105,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[42161].push( RedStonePriceFeedData({ - token: Tokens.WETH, + token: TOKEN_WETH, dataServiceId: "redstone-primary-prod", dataFeedId: "ETH", signers: [ @@ -1131,7 +1127,7 @@ contract PriceFeedDataLive { ); chainlinkPriceFeedsByNetwork[10].push( ChainlinkPriceFeedData({ - token: Tokens.WETH, + token: TOKEN_WETH, priceFeed: 0x13e3Ee699D1909E989722E753853AE30b17e08c5, stalenessPeriod: 1320, trusted: true, @@ -1140,7 +1136,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[10].push( RedStonePriceFeedData({ - token: Tokens.WETH, + token: TOKEN_WETH, dataServiceId: "redstone-primary-prod", dataFeedId: "ETH", signers: [ @@ -1164,7 +1160,7 @@ contract PriceFeedDataLive { // ------------------------ YFI ------------------------ chainlinkPriceFeedsByNetwork[1].push( ChainlinkPriceFeedData({ - token: Tokens.YFI, + token: TOKEN_YFI, priceFeed: 0xA027702dbb89fbd58938e4324ac03B58d812b0E1, stalenessPeriod: 87300, trusted: false, @@ -1173,7 +1169,7 @@ contract PriceFeedDataLive { ); chainlinkPriceFeedsByNetwork[42161].push( ChainlinkPriceFeedData({ - token: Tokens.YFI, + token: TOKEN_YFI, priceFeed: 0x745Ab5b69E01E2BE1104Ca84937Bb71f96f5fB21, stalenessPeriod: 86520, trusted: false, @@ -1183,16 +1179,11 @@ contract PriceFeedDataLive { // ------------------------ STETH ------------------------ theSamePriceFeedsByNetwork[1].push( - TheSamePriceFeedData({ - token: Tokens.STETH, - tokenHasSamePriceFeed: Tokens.WETH, - trusted: false, - reserve: false - }) + TheSamePriceFeedData({token: TOKEN_STETH, tokenHasSamePriceFeed: TOKEN_WETH, trusted: false, reserve: false}) ); { CompositePriceFeedData storage cpf = compositePriceFeedsByNetwork[1].push(); - cpf.token = Tokens.STETH; + cpf.token = TOKEN_STETH; cpf.isTargetRedstone = false; cpf.targetToBaseFeed = 0x86392dC19c0b719886221c78AB11eb8Cf5c52812; cpf.targetStalenessPeriod = 87300; @@ -1204,14 +1195,14 @@ contract PriceFeedDataLive { cpf.reserve = true; } zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.STETH, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_STETH, trusted: false, reserve: false}) ); // ------------------------ wstETH ------------------------ - wstethPriceFeedByNetwork[1] = SingeTokenPriceFeedData({token: Tokens.wstETH, trusted: false, reserve: false}); + wstethPriceFeedByNetwork[1] = SingeTokenPriceFeedData({token: TOKEN_wstETH, trusted: false, reserve: false}); { CompositePriceFeedData storage cpf = compositePriceFeedsByNetwork[42161].push(); - cpf.token = Tokens.wstETH; + cpf.token = TOKEN_wstETH; cpf.isTargetRedstone = false; cpf.targetToBaseFeed = 0xB1552C5e96B312d0Bf8b554186F846C40614a540; cpf.targetStalenessPeriod = 86520; @@ -1224,7 +1215,7 @@ contract PriceFeedDataLive { } { CompositePriceFeedData storage cpf = compositePriceFeedsByNetwork[42161].push(); - cpf.token = Tokens.wstETH; + cpf.token = TOKEN_wstETH; cpf.isTargetRedstone = false; cpf.targetToBaseFeed = 0xb523AE262D20A936BC152e6023996e46FDC2A95D; cpf.targetStalenessPeriod = 86520; @@ -1237,7 +1228,7 @@ contract PriceFeedDataLive { } { CompositePriceFeedData storage cpf = compositePriceFeedsByNetwork[10].push(); - cpf.token = Tokens.wstETH; + cpf.token = TOKEN_wstETH; cpf.isTargetRedstone = false; cpf.targetToBaseFeed = 0xe59EBa0D492cA53C6f46015EEa00517F2707dc77; cpf.targetStalenessPeriod = 86520; @@ -1250,7 +1241,7 @@ contract PriceFeedDataLive { } { CompositePriceFeedData storage cpf = compositePriceFeedsByNetwork[10].push(); - cpf.token = Tokens.wstETH; + cpf.token = TOKEN_wstETH; cpf.isTargetRedstone = false; cpf.targetToBaseFeed = 0x524299Ab0987a7c4B3c8022a35669DdcdC715a10; cpf.targetStalenessPeriod = 86520; @@ -1265,7 +1256,7 @@ contract PriceFeedDataLive { // ------------------------ CVX ------------------------ chainlinkPriceFeedsByNetwork[1].push( ChainlinkPriceFeedData({ - token: Tokens.CVX, + token: TOKEN_CVX, priceFeed: 0xd962fC30A72A84cE50161031391756Bf2876Af5D, stalenessPeriod: 87300, trusted: false, @@ -1274,7 +1265,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[1].push( RedStonePriceFeedData({ - token: Tokens.CVX, + token: TOKEN_CVX, dataServiceId: "redstone-primary-prod", dataFeedId: "CVX", signers: [ @@ -1296,7 +1287,7 @@ contract PriceFeedDataLive { ); chainlinkPriceFeedsByNetwork[42161].push( ChainlinkPriceFeedData({ - token: Tokens.CVX, + token: TOKEN_CVX, priceFeed: 0x851175a919f36c8e30197c09a9A49dA932c2CC00, stalenessPeriod: 86520, trusted: false, @@ -1307,7 +1298,7 @@ contract PriceFeedDataLive { // ------------------------ FRAX ------------------------ boundedPriceFeedsByNetwork[1].push( BoundedPriceFeedData({ - token: Tokens.FRAX, + token: TOKEN_FRAX, priceFeed: 0xB9E1E3A9feFf48998E45Fa90847ed4D467E8BcfD, stalenessPeriod: 4500, upperBound: 104000000, @@ -1317,7 +1308,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[1].push( RedStonePriceFeedData({ - token: Tokens.FRAX, + token: TOKEN_FRAX, dataServiceId: "redstone-primary-prod", dataFeedId: "FRAX", signers: [ @@ -1339,7 +1330,7 @@ contract PriceFeedDataLive { ); chainlinkPriceFeedsByNetwork[42161].push( ChainlinkPriceFeedData({ - token: Tokens.FRAX, + token: TOKEN_FRAX, priceFeed: 0x0809E3d38d1B4214958faf06D8b1B1a2b73f2ab8, stalenessPeriod: 86520, trusted: false, @@ -1350,7 +1341,7 @@ contract PriceFeedDataLive { // ------------------------ LUSD ------------------------ boundedPriceFeedsByNetwork[1].push( BoundedPriceFeedData({ - token: Tokens.LUSD, + token: TOKEN_LUSD, priceFeed: 0x3D7aE7E594f2f2091Ad8798313450130d0Aba3a0, stalenessPeriod: 87300, upperBound: 110000000, @@ -1360,7 +1351,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[1].push( RedStonePriceFeedData({ - token: Tokens.LUSD, + token: TOKEN_LUSD, dataServiceId: "redstone-primary-prod", dataFeedId: "LUSD", signers: [ @@ -1382,7 +1373,7 @@ contract PriceFeedDataLive { ); boundedPriceFeedsByNetwork[42161].push( BoundedPriceFeedData({ - token: Tokens.LUSD, + token: TOKEN_LUSD, priceFeed: 0x0411D28c94d85A36bC72Cb0f875dfA8371D8fFfF, stalenessPeriod: 86520, upperBound: 110000000, @@ -1392,7 +1383,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[42161].push( RedStonePriceFeedData({ - token: Tokens.LUSD, + token: TOKEN_LUSD, dataServiceId: "redstone-primary-prod", dataFeedId: "LUSD", signers: [ @@ -1417,7 +1408,7 @@ contract PriceFeedDataLive { { CompositePriceFeedData storage cpf = compositePriceFeedsByNetwork[1].push(); - cpf.token = Tokens.sUSD; + cpf.token = TOKEN_sUSD; cpf.isTargetRedstone = false; cpf.targetToBaseFeed = 0x8e0b7e6062272B5eF4524250bFFF8e5Bd3497757; cpf.targetStalenessPeriod = 87300; @@ -1429,13 +1420,13 @@ contract PriceFeedDataLive { cpf.reserve = false; } zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.sUSD, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_sUSD, trusted: false, reserve: false}) ); // ------------------------ USDe ------------------------ boundedPriceFeedsByNetwork[1].push( BoundedPriceFeedData({ - token: Tokens.USDe, + token: TOKEN_USDe, priceFeed: 0xa569d910839Ae8865Da8F8e70FfFb0cBA869F961, stalenessPeriod: 87300, upperBound: 104000000, @@ -1445,7 +1436,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[1].push( RedStonePriceFeedData({ - token: Tokens.USDe, + token: TOKEN_USDe, dataServiceId: "redstone-primary-prod", dataFeedId: "USDe", signers: [ @@ -1467,7 +1458,7 @@ contract PriceFeedDataLive { ); boundedPriceFeedsByNetwork[42161].push( BoundedPriceFeedData({ - token: Tokens.USDe, + token: TOKEN_USDe, priceFeed: 0x88AC7Bca36567525A866138F03a6F6844868E0Bc, stalenessPeriod: 86520, upperBound: 104000000, @@ -1477,7 +1468,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[42161].push( RedStonePriceFeedData({ - token: Tokens.USDe, + token: TOKEN_USDe, dataServiceId: "redstone-primary-prod", dataFeedId: "USDe", signers: [ @@ -1501,7 +1492,7 @@ contract PriceFeedDataLive { // ------------------------ FXS ------------------------ chainlinkPriceFeedsByNetwork[1].push( ChainlinkPriceFeedData({ - token: Tokens.FXS, + token: TOKEN_FXS, priceFeed: 0x6Ebc52C8C1089be9eB3945C4350B68B8E4C2233f, stalenessPeriod: 87300, trusted: false, @@ -1510,7 +1501,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[1].push( RedStonePriceFeedData({ - token: Tokens.FXS, + token: TOKEN_FXS, dataServiceId: "redstone-primary-prod", dataFeedId: "FXS", signers: [ @@ -1532,7 +1523,7 @@ contract PriceFeedDataLive { ); chainlinkPriceFeedsByNetwork[42161].push( ChainlinkPriceFeedData({ - token: Tokens.FXS, + token: TOKEN_FXS, priceFeed: 0x36a121448D74Fa81450c992A1a44B9b7377CD3a5, stalenessPeriod: 3720, trusted: false, @@ -1541,7 +1532,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[42161].push( RedStonePriceFeedData({ - token: Tokens.FXS, + token: TOKEN_FXS, dataServiceId: "redstone-primary-prod", dataFeedId: "FXS", signers: [ @@ -1566,7 +1557,7 @@ contract PriceFeedDataLive { { CompositePriceFeedData storage cpf = compositePriceFeedsByNetwork[1].push(); - cpf.token = Tokens.LDO; + cpf.token = TOKEN_LDO; cpf.isTargetRedstone = false; cpf.targetToBaseFeed = 0x4e844125952D32AcdF339BE976c98E22F6F318dB; cpf.targetStalenessPeriod = 87300; @@ -1579,7 +1570,7 @@ contract PriceFeedDataLive { } redStonePriceFeedsByNetwork[1].push( RedStonePriceFeedData({ - token: Tokens.LDO, + token: TOKEN_LDO, dataServiceId: "redstone-primary-prod", dataFeedId: "LDO", signers: [ @@ -1599,23 +1590,19 @@ contract PriceFeedDataLive { reserve: true }) ); - zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.LDO, trusted: false, reserve: false}) - ); + zeroPriceFeedsByNetwork[42161].push(SingeTokenPriceFeedData({token: TOKEN_LDO, trusted: false, reserve: false})); // ------------------------ LQTY ------------------------ - zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: Tokens.LQTY, trusted: true, reserve: false})); - zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.LQTY, trusted: true, reserve: false}) - ); - zeroPriceFeedsByNetwork[10].push(SingeTokenPriceFeedData({token: Tokens.LQTY, trusted: true, reserve: false})); - zeroPriceFeedsByNetwork[8453].push(SingeTokenPriceFeedData({token: Tokens.LQTY, trusted: true, reserve: false})); + zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_LQTY, trusted: true, reserve: false})); + 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})); // ------------------------ OHM ------------------------ { CompositePriceFeedData storage cpf = compositePriceFeedsByNetwork[1].push(); - cpf.token = Tokens.OHM; + cpf.token = TOKEN_OHM; cpf.isTargetRedstone = false; cpf.targetToBaseFeed = 0x9a72298ae3886221820B1c878d12D872087D3a23; cpf.targetStalenessPeriod = 87300; @@ -1626,14 +1613,12 @@ contract PriceFeedDataLive { cpf.trusted = false; cpf.reserve = false; } - zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.OHM, trusted: false, reserve: false}) - ); + zeroPriceFeedsByNetwork[42161].push(SingeTokenPriceFeedData({token: TOKEN_OHM, trusted: false, reserve: false})); // ------------------------ MIM ------------------------ boundedPriceFeedsByNetwork[1].push( BoundedPriceFeedData({ - token: Tokens.MIM, + token: TOKEN_MIM, priceFeed: 0x7A364e8770418566e3eb2001A96116E6138Eb32F, stalenessPeriod: 87300, upperBound: 104000000, @@ -1641,14 +1626,12 @@ contract PriceFeedDataLive { reserve: false }) ); - zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.MIM, trusted: false, reserve: false}) - ); + zeroPriceFeedsByNetwork[42161].push(SingeTokenPriceFeedData({token: TOKEN_MIM, trusted: false, reserve: false})); // ------------------------ SPELL ------------------------ chainlinkPriceFeedsByNetwork[1].push( ChainlinkPriceFeedData({ - token: Tokens.SPELL, + token: TOKEN_SPELL, priceFeed: 0x8c110B94C5f1d347fAcF5E1E938AB2db60E3c9a8, stalenessPeriod: 87300, trusted: false, @@ -1657,7 +1640,7 @@ contract PriceFeedDataLive { ); chainlinkPriceFeedsByNetwork[42161].push( ChainlinkPriceFeedData({ - token: Tokens.SPELL, + token: TOKEN_SPELL, priceFeed: 0x383b3624478124697BEF675F07cA37570b73992f, stalenessPeriod: 86520, trusted: false, @@ -1666,10 +1649,10 @@ contract PriceFeedDataLive { ); // ------------------------ GMX ------------------------ - zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: Tokens.GMX, trusted: false, reserve: false})); + zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_GMX, trusted: false, reserve: false})); chainlinkPriceFeedsByNetwork[42161].push( ChainlinkPriceFeedData({ - token: Tokens.GMX, + token: TOKEN_GMX, priceFeed: 0xDB98056FecFff59D032aB628337A4887110df3dB, stalenessPeriod: 86520, trusted: false, @@ -1678,7 +1661,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[42161].push( RedStonePriceFeedData({ - token: Tokens.GMX, + token: TOKEN_GMX, dataServiceId: "redstone-arbitrum-prod", dataFeedId: "GMX", signers: [ @@ -1700,10 +1683,10 @@ contract PriceFeedDataLive { ); // ------------------------ ARB ------------------------ - zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: Tokens.ARB, trusted: false, reserve: false})); + zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_ARB, trusted: false, reserve: false})); chainlinkPriceFeedsByNetwork[42161].push( ChainlinkPriceFeedData({ - token: Tokens.ARB, + token: TOKEN_ARB, priceFeed: 0xb2A824043730FE05F3DA2efaFa1CBbe83fa548D6, stalenessPeriod: 86520, trusted: false, @@ -1712,7 +1695,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[42161].push( RedStonePriceFeedData({ - token: Tokens.ARB, + token: TOKEN_ARB, dataServiceId: "redstone-primary-prod", dataFeedId: "ARB", signers: [ @@ -1734,13 +1717,13 @@ contract PriceFeedDataLive { ); // ------------------------ SHIB ------------------------ - zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: Tokens.SHIB, trusted: false, reserve: false})); + zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_SHIB, trusted: false, reserve: false})); // ------------------------ RDNT ------------------------ - zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: Tokens.RDNT, trusted: false, reserve: false})); + zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_RDNT, trusted: false, reserve: false})); chainlinkPriceFeedsByNetwork[42161].push( ChainlinkPriceFeedData({ - token: Tokens.RDNT, + token: TOKEN_RDNT, priceFeed: 0x20d0Fcab0ECFD078B036b6CAf1FaC69A6453b352, stalenessPeriod: 86520, trusted: false, @@ -1751,7 +1734,7 @@ contract PriceFeedDataLive { // ------------------------ BAL ------------------------ chainlinkPriceFeedsByNetwork[1].push( ChainlinkPriceFeedData({ - token: Tokens.BAL, + token: TOKEN_BAL, priceFeed: 0xdF2917806E30300537aEB49A7663062F4d1F2b5F, stalenessPeriod: 86400, trusted: false, @@ -1760,7 +1743,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[1].push( RedStonePriceFeedData({ - token: Tokens.BAL, + token: TOKEN_BAL, dataServiceId: "redstone-arbitrum-prod", dataFeedId: "BAL", signers: [ @@ -1782,7 +1765,7 @@ contract PriceFeedDataLive { ); chainlinkPriceFeedsByNetwork[42161].push( ChainlinkPriceFeedData({ - token: Tokens.BAL, + token: TOKEN_BAL, priceFeed: 0xBE5eA816870D11239c543F84b71439511D70B94f, stalenessPeriod: 3720, trusted: false, @@ -1791,7 +1774,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[42161].push( RedStonePriceFeedData({ - token: Tokens.BAL, + token: TOKEN_BAL, dataServiceId: "redstone-arbitrum-prod", dataFeedId: "BAL", signers: [ @@ -1816,7 +1799,7 @@ contract PriceFeedDataLive { { CompositePriceFeedData storage cpf = compositePriceFeedsByNetwork[1].push(); - cpf.token = Tokens.LBTC; + cpf.token = TOKEN_LBTC; cpf.isTargetRedstone = true; cpf.redstoneTargetToBaseData = RedStonePriceFeedDataShort({ dataServiceId: "redstone-primary-prod", @@ -1845,7 +1828,7 @@ contract PriceFeedDataLive { } redStonePriceFeedsByNetwork[1].push( RedStonePriceFeedData({ - token: Tokens.LBTC, + token: TOKEN_LBTC, dataServiceId: "redstone-primary-prod", dataFeedId: "LBTC", signers: [ @@ -1870,7 +1853,7 @@ contract PriceFeedDataLive { { CompositePriceFeedData storage cpf = compositePriceFeedsByNetwork[1].push(); - cpf.token = Tokens.eBTC; + cpf.token = TOKEN_eBTC; cpf.isTargetRedstone = true; cpf.redstoneTargetToBaseData = RedStonePriceFeedDataShort({ dataServiceId: "redstone-primary-prod", @@ -1898,14 +1881,14 @@ contract PriceFeedDataLive { cpf.reserve = false; } theSamePriceFeedsByNetwork[1].push( - TheSamePriceFeedData({token: Tokens.eBTC, tokenHasSamePriceFeed: Tokens.LBTC, trusted: false, reserve: true}) + TheSamePriceFeedData({token: TOKEN_eBTC, tokenHasSamePriceFeed: TOKEN_LBTC, trusted: false, reserve: true}) ); // ------------------------ rETH ------------------------ { CompositePriceFeedData storage cpf = compositePriceFeedsByNetwork[1].push(); - cpf.token = Tokens.rETH; + cpf.token = TOKEN_rETH; cpf.isTargetRedstone = false; cpf.targetToBaseFeed = 0x536218f9E9Eb48863970252233c8F271f554C2d0; cpf.targetStalenessPeriod = 87300; @@ -1918,7 +1901,7 @@ contract PriceFeedDataLive { } redStonePriceFeedsByNetwork[1].push( RedStonePriceFeedData({ - token: Tokens.rETH, + token: TOKEN_rETH, dataServiceId: "redstone-primary-prod", dataFeedId: "rETH", signers: [ @@ -1940,7 +1923,7 @@ contract PriceFeedDataLive { ); { CompositePriceFeedData storage cpf = compositePriceFeedsByNetwork[42161].push(); - cpf.token = Tokens.rETH; + cpf.token = TOKEN_rETH; cpf.isTargetRedstone = false; cpf.targetToBaseFeed = 0xF3272CAfe65b190e76caAF483db13424a3e23dD2; cpf.targetStalenessPeriod = 86520; @@ -1953,7 +1936,7 @@ contract PriceFeedDataLive { } redStonePriceFeedsByNetwork[42161].push( RedStonePriceFeedData({ - token: Tokens.rETH, + token: TOKEN_rETH, dataServiceId: "redstone-primary-prod", dataFeedId: "rETH", signers: [ @@ -1975,7 +1958,7 @@ contract PriceFeedDataLive { ); { CompositePriceFeedData storage cpf = compositePriceFeedsByNetwork[10].push(); - cpf.token = Tokens.rETH; + cpf.token = TOKEN_rETH; cpf.isTargetRedstone = false; cpf.targetToBaseFeed = 0xb429DE60943a8e6DeD356dca2F93Cd31201D9ed0; cpf.targetStalenessPeriod = 86520; @@ -1988,7 +1971,7 @@ contract PriceFeedDataLive { } redStonePriceFeedsByNetwork[10].push( RedStonePriceFeedData({ - token: Tokens.rETH, + token: TOKEN_rETH, dataServiceId: "redstone-primary-prod", dataFeedId: "rETH", signers: [ @@ -2013,7 +1996,7 @@ contract PriceFeedDataLive { { CompositePriceFeedData storage cpf = compositePriceFeedsByNetwork[1].push(); - cpf.token = Tokens.osETH; + cpf.token = TOKEN_osETH; cpf.isTargetRedstone = false; cpf.targetToBaseFeed = 0x66ac817f997Efd114EDFcccdce99F3268557B32C; cpf.targetStalenessPeriod = 87300; @@ -2026,7 +2009,7 @@ contract PriceFeedDataLive { } redStonePriceFeedsByNetwork[1].push( RedStonePriceFeedData({ - token: Tokens.osETH, + token: TOKEN_osETH, dataServiceId: "redstone-primary-prod", dataFeedId: "osETH", signers: [ @@ -2051,7 +2034,7 @@ contract PriceFeedDataLive { { CompositePriceFeedData storage cpf = compositePriceFeedsByNetwork[1].push(); - cpf.token = Tokens.weETH; + cpf.token = TOKEN_weETH; cpf.isTargetRedstone = true; cpf.redstoneTargetToBaseData = RedStonePriceFeedDataShort({ dataServiceId: "redstone-primary-prod", @@ -2080,7 +2063,7 @@ contract PriceFeedDataLive { } { CompositePriceFeedData storage cpf = compositePriceFeedsByNetwork[1].push(); - cpf.token = Tokens.weETH; + cpf.token = TOKEN_weETH; cpf.isTargetRedstone = false; cpf.targetToBaseFeed = 0x5c9C449BbC9a6075A2c061dF312a35fd1E05fF22; cpf.targetStalenessPeriod = 87300; @@ -2093,7 +2076,7 @@ contract PriceFeedDataLive { } { CompositePriceFeedData storage cpf = compositePriceFeedsByNetwork[42161].push(); - cpf.token = Tokens.weETH; + cpf.token = TOKEN_weETH; cpf.isTargetRedstone = false; cpf.targetToBaseFeed = 0xE141425bc1594b8039De6390db1cDaf4397EA22b; cpf.targetStalenessPeriod = 86520; @@ -2106,7 +2089,7 @@ contract PriceFeedDataLive { } { CompositePriceFeedData storage cpf = compositePriceFeedsByNetwork[42161].push(); - cpf.token = Tokens.weETH; + cpf.token = TOKEN_weETH; cpf.isTargetRedstone = false; cpf.targetToBaseFeed = 0xA736eAe8805dDeFFba40cAB8c99bCB309dEaBd9B; cpf.targetStalenessPeriod = 86520; @@ -2122,7 +2105,7 @@ contract PriceFeedDataLive { { CompositePriceFeedData storage cpf = compositePriceFeedsByNetwork[1].push(); - cpf.token = Tokens.ezETH; + cpf.token = TOKEN_ezETH; cpf.isTargetRedstone = true; cpf.redstoneTargetToBaseData = RedStonePriceFeedDataShort({ dataServiceId: "redstone-primary-prod", @@ -2151,7 +2134,7 @@ contract PriceFeedDataLive { } { CompositePriceFeedData storage cpf = compositePriceFeedsByNetwork[1].push(); - cpf.token = Tokens.ezETH; + cpf.token = TOKEN_ezETH; cpf.isTargetRedstone = false; cpf.targetToBaseFeed = 0x636A000262F6aA9e1F094ABF0aD8f645C44f641C; cpf.targetStalenessPeriod = 87300; @@ -2164,7 +2147,7 @@ contract PriceFeedDataLive { } { CompositePriceFeedData storage cpf = compositePriceFeedsByNetwork[42161].push(); - cpf.token = Tokens.ezETH; + cpf.token = TOKEN_ezETH; cpf.isTargetRedstone = true; cpf.redstoneTargetToBaseData = RedStonePriceFeedDataShort({ dataServiceId: "redstone-primary-prod", @@ -2193,7 +2176,7 @@ contract PriceFeedDataLive { } { CompositePriceFeedData storage cpf = compositePriceFeedsByNetwork[42161].push(); - cpf.token = Tokens.ezETH; + cpf.token = TOKEN_ezETH; cpf.isTargetRedstone = false; cpf.targetToBaseFeed = 0x11E1836bFF2ce9d6A5bec9cA79dc998210f3886d; cpf.targetStalenessPeriod = 86520; @@ -2206,7 +2189,7 @@ contract PriceFeedDataLive { } { CompositePriceFeedData storage cpf = compositePriceFeedsByNetwork[10].push(); - cpf.token = Tokens.ezETH; + cpf.token = TOKEN_ezETH; cpf.isTargetRedstone = false; cpf.targetToBaseFeed = 0xFAD40C0e2BeF93c6a822015863045CAAeAAde4d3; cpf.targetStalenessPeriod = 86520; @@ -2219,7 +2202,7 @@ contract PriceFeedDataLive { } { CompositePriceFeedData storage cpf = compositePriceFeedsByNetwork[10].push(); - cpf.token = Tokens.ezETH; + cpf.token = TOKEN_ezETH; cpf.isTargetRedstone = true; cpf.redstoneTargetToBaseData = RedStonePriceFeedDataShort({ dataServiceId: "redstone-primary-prod", @@ -2251,7 +2234,7 @@ contract PriceFeedDataLive { { CompositePriceFeedData storage cpf = compositePriceFeedsByNetwork[1].push(); - cpf.token = Tokens.rswETH; + cpf.token = TOKEN_rswETH; cpf.isTargetRedstone = true; cpf.redstoneTargetToBaseData = RedStonePriceFeedDataShort({ dataServiceId: "redstone-primary-prod", @@ -2280,7 +2263,7 @@ contract PriceFeedDataLive { } { CompositePriceFeedData storage cpf = compositePriceFeedsByNetwork[1].push(); - cpf.token = Tokens.rswETH; + cpf.token = TOKEN_rswETH; cpf.isTargetRedstone = false; cpf.targetToBaseFeed = 0xb613CfebD0b6e95abDDe02677d6bC42394FdB857; cpf.targetStalenessPeriod = 87300; @@ -2296,7 +2279,7 @@ contract PriceFeedDataLive { { CompositePriceFeedData storage cpf = compositePriceFeedsByNetwork[1].push(); - cpf.token = Tokens.pufETH; + cpf.token = TOKEN_pufETH; cpf.isTargetRedstone = true; cpf.redstoneTargetToBaseData = RedStonePriceFeedDataShort({ dataServiceId: "redstone-primary-prod", @@ -2325,7 +2308,7 @@ contract PriceFeedDataLive { } { CompositePriceFeedData storage cpf = compositePriceFeedsByNetwork[1].push(); - cpf.token = Tokens.pufETH; + cpf.token = TOKEN_pufETH; cpf.isTargetRedstone = false; cpf.targetToBaseFeed = 0x76A495b0bFfb53ef3F0E94ef0763e03cE410835C; cpf.targetStalenessPeriod = 87300; @@ -2341,7 +2324,7 @@ contract PriceFeedDataLive { { CompositePriceFeedData storage cpf = compositePriceFeedsByNetwork[1].push(); - cpf.token = Tokens.rsETH; + cpf.token = TOKEN_rsETH; cpf.isTargetRedstone = true; cpf.redstoneTargetToBaseData = RedStonePriceFeedDataShort({ dataServiceId: "redstone-primary-prod", @@ -2370,7 +2353,7 @@ contract PriceFeedDataLive { } { CompositePriceFeedData storage cpf = compositePriceFeedsByNetwork[1].push(); - cpf.token = Tokens.rsETH; + cpf.token = TOKEN_rsETH; cpf.isTargetRedstone = false; cpf.targetToBaseFeed = 0x03c68933f7a3F76875C0bc670a58e69294cDFD01; cpf.targetStalenessPeriod = 87300; @@ -2383,7 +2366,7 @@ contract PriceFeedDataLive { } { CompositePriceFeedData storage cpf = compositePriceFeedsByNetwork[42161].push(); - cpf.token = Tokens.rsETH; + cpf.token = TOKEN_rsETH; cpf.isTargetRedstone = false; cpf.targetToBaseFeed = 0xb0EA543f9F8d4B818550365d13F66Da747e1476A; cpf.targetStalenessPeriod = 86520; @@ -2396,7 +2379,7 @@ contract PriceFeedDataLive { } { CompositePriceFeedData storage cpf = compositePriceFeedsByNetwork[42161].push(); - cpf.token = Tokens.rsETH; + cpf.token = TOKEN_rsETH; cpf.isTargetRedstone = true; cpf.redstoneTargetToBaseData = RedStonePriceFeedDataShort({ dataServiceId: "redstone-primary-prod", @@ -2425,10 +2408,10 @@ contract PriceFeedDataLive { } // ------------------------ frxETH ------------------------ - zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: Tokens.frxETH, trusted: false, reserve: false})); + zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_frxETH, trusted: false, reserve: false})); { CompositePriceFeedData storage cpf = compositePriceFeedsByNetwork[42161].push(); - cpf.token = Tokens.frxETH; + cpf.token = TOKEN_frxETH; cpf.isTargetRedstone = false; cpf.targetToBaseFeed = 0x5C3e80763862CB777Aa07BDDBcCE0123104e1c34; cpf.targetStalenessPeriod = 86520; @@ -2441,12 +2424,10 @@ contract PriceFeedDataLive { } // ------------------------ sfrxETH ------------------------ - zeroPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: Tokens.sfrxETH, trusted: false, reserve: false}) - ); + zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_sfrxETH, trusted: false, reserve: false})); { CompositePriceFeedData storage cpf = compositePriceFeedsByNetwork[42161].push(); - cpf.token = Tokens.sfrxETH; + cpf.token = TOKEN_sfrxETH; cpf.isTargetRedstone = false; cpf.targetToBaseFeed = 0x98E5a52fB741347199C08a7a3fcF017364284431; cpf.targetStalenessPeriod = 86520; @@ -2462,14 +2443,14 @@ contract PriceFeedDataLive { cpf.reserve = false; } zeroPriceFeedsByNetwork[10].push( - SingeTokenPriceFeedData({token: Tokens.sfrxETH, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_sfrxETH, trusted: false, reserve: false}) ); // ------------------------ cbETH ------------------------ { CompositePriceFeedData storage cpf = compositePriceFeedsByNetwork[1].push(); - cpf.token = Tokens.cbETH; + cpf.token = TOKEN_cbETH; cpf.isTargetRedstone = false; cpf.targetToBaseFeed = 0xF017fcB346A1885194689bA23Eff2fE6fA5C483b; cpf.targetStalenessPeriod = 87300; @@ -2482,7 +2463,7 @@ contract PriceFeedDataLive { } { CompositePriceFeedData storage cpf = compositePriceFeedsByNetwork[42161].push(); - cpf.token = Tokens.cbETH; + cpf.token = TOKEN_cbETH; cpf.isTargetRedstone = false; cpf.targetToBaseFeed = 0xa668682974E3f121185a3cD94f00322beC674275; cpf.targetStalenessPeriod = 86520; @@ -2495,7 +2476,7 @@ contract PriceFeedDataLive { } { CompositePriceFeedData storage cpf = compositePriceFeedsByNetwork[10].push(); - cpf.token = Tokens.cbETH; + cpf.token = TOKEN_cbETH; cpf.isTargetRedstone = false; cpf.targetToBaseFeed = 0x138b809B8472fF09Cd3E075E6EcbB2e42D41d870; cpf.targetStalenessPeriod = 86520; @@ -2510,7 +2491,7 @@ contract PriceFeedDataLive { // ------------------------ PENDLE ------------------------ chainlinkPriceFeedsByNetwork[42161].push( ChainlinkPriceFeedData({ - token: Tokens.PENDLE, + token: TOKEN_PENDLE, priceFeed: 0x66853E19d73c0F9301fe099c324A1E9726953433, stalenessPeriod: 86520, trusted: false, @@ -2519,7 +2500,7 @@ contract PriceFeedDataLive { ); chainlinkPriceFeedsByNetwork[10].push( ChainlinkPriceFeedData({ - token: Tokens.PENDLE, + token: TOKEN_PENDLE, priceFeed: 0x58F23F80bF389DB1af9e3aA8c59679806749A8a4, stalenessPeriod: 86520, trusted: false, @@ -2528,37 +2509,33 @@ contract PriceFeedDataLive { ); // ------------------------ AURA ------------------------ - zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: Tokens.AURA, trusted: false, reserve: false})); + zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_AURA, trusted: false, reserve: false})); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.AURA, trusted: false, reserve: false}) - ); - zeroPriceFeedsByNetwork[10].push(SingeTokenPriceFeedData({token: Tokens.AURA, trusted: false, reserve: false})); - zeroPriceFeedsByNetwork[8453].push( - SingeTokenPriceFeedData({token: Tokens.AURA, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_AURA, trusted: false, reserve: false}) ); + zeroPriceFeedsByNetwork[10].push(SingeTokenPriceFeedData({token: TOKEN_AURA, trusted: false, reserve: false})); + zeroPriceFeedsByNetwork[8453].push(SingeTokenPriceFeedData({token: TOKEN_AURA, trusted: false, reserve: false})); // ------------------------ SWISE ------------------------ - zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: Tokens.SWISE, trusted: false, reserve: false})); + zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_SWISE, trusted: false, reserve: false})); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.SWISE, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_SWISE, trusted: false, reserve: false}) ); - zeroPriceFeedsByNetwork[10].push(SingeTokenPriceFeedData({token: Tokens.SWISE, trusted: false, reserve: false})); + zeroPriceFeedsByNetwork[10].push(SingeTokenPriceFeedData({token: TOKEN_SWISE, trusted: false, reserve: false})); zeroPriceFeedsByNetwork[8453].push( - SingeTokenPriceFeedData({token: Tokens.SWISE, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_SWISE, trusted: false, reserve: false}) ); // ------------------------ SKY ------------------------ - zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: Tokens.SKY, trusted: false, reserve: false})); - zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.SKY, trusted: false, reserve: false}) - ); - zeroPriceFeedsByNetwork[10].push(SingeTokenPriceFeedData({token: Tokens.SKY, trusted: false, reserve: false})); - zeroPriceFeedsByNetwork[8453].push(SingeTokenPriceFeedData({token: Tokens.SKY, trusted: false, reserve: false})); + 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})); // ------------------------ GHO ------------------------ boundedPriceFeedsByNetwork[1].push( BoundedPriceFeedData({ - token: Tokens.GHO, + token: TOKEN_GHO, priceFeed: 0x3f12643D3f6f874d39C2a4c9f2Cd6f2DbAC877FC, stalenessPeriod: 87300, upperBound: 104000000, @@ -2568,7 +2545,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[1].push( RedStonePriceFeedData({ - token: Tokens.GHO, + token: TOKEN_GHO, dataServiceId: "redstone-primary-prod", dataFeedId: "GHO", signers: [ @@ -2590,102 +2567,92 @@ contract PriceFeedDataLive { ); // ------------------------ yvDAI ------------------------ - yearnPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: Tokens.yvDAI, trusted: false, reserve: false})); + yearnPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_yvDAI, trusted: false, reserve: false})); yearnPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.yvDAI, trusted: false, reserve: false}) - ); - yearnPriceFeedsByNetwork[10].push( - SingeTokenPriceFeedData({token: Tokens.yvDAI, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_yvDAI, trusted: false, reserve: false}) ); + yearnPriceFeedsByNetwork[10].push(SingeTokenPriceFeedData({token: TOKEN_yvDAI, trusted: false, reserve: false})); yearnPriceFeedsByNetwork[8453].push( - SingeTokenPriceFeedData({token: Tokens.yvDAI, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_yvDAI, trusted: false, reserve: false}) ); // ------------------------ yvUSDC ------------------------ - yearnPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: Tokens.yvUSDC, trusted: false, reserve: false}) - ); + yearnPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_yvUSDC, trusted: false, reserve: false})); yearnPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.yvUSDC, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_yvUSDC, trusted: false, reserve: false}) ); yearnPriceFeedsByNetwork[10].push( - SingeTokenPriceFeedData({token: Tokens.yvUSDC, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_yvUSDC, trusted: false, reserve: false}) ); yearnPriceFeedsByNetwork[8453].push( - SingeTokenPriceFeedData({token: Tokens.yvUSDC, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_yvUSDC, trusted: false, reserve: false}) ); // ------------------------ yvUSDC_e ------------------------ yearnPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: Tokens.yvUSDC_e, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_yvUSDC_e, trusted: false, reserve: false}) ); yearnPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.yvUSDC_e, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_yvUSDC_e, trusted: false, reserve: false}) ); yearnPriceFeedsByNetwork[10].push( - SingeTokenPriceFeedData({token: Tokens.yvUSDC_e, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_yvUSDC_e, trusted: false, reserve: false}) ); yearnPriceFeedsByNetwork[8453].push( - SingeTokenPriceFeedData({token: Tokens.yvUSDC_e, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_yvUSDC_e, trusted: false, reserve: false}) ); // ------------------------ yvUSDT ------------------------ - yearnPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: Tokens.yvUSDT, trusted: false, reserve: false}) - ); + yearnPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_yvUSDT, trusted: false, reserve: false})); yearnPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.yvUSDT, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_yvUSDT, trusted: false, reserve: false}) ); yearnPriceFeedsByNetwork[10].push( - SingeTokenPriceFeedData({token: Tokens.yvUSDT, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_yvUSDT, trusted: false, reserve: false}) ); yearnPriceFeedsByNetwork[8453].push( - SingeTokenPriceFeedData({token: Tokens.yvUSDT, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_yvUSDT, trusted: false, reserve: false}) ); // ------------------------ yvWETH ------------------------ - yearnPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: Tokens.yvWETH, trusted: false, reserve: false}) - ); + yearnPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_yvWETH, trusted: false, reserve: false})); yearnPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.yvWETH, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_yvWETH, trusted: false, reserve: false}) ); yearnPriceFeedsByNetwork[10].push( - SingeTokenPriceFeedData({token: Tokens.yvWETH, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_yvWETH, trusted: false, reserve: false}) ); yearnPriceFeedsByNetwork[8453].push( - SingeTokenPriceFeedData({token: Tokens.yvWETH, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_yvWETH, trusted: false, reserve: false}) ); // ------------------------ yvWBTC ------------------------ - yearnPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: Tokens.yvWBTC, trusted: false, reserve: false}) - ); + yearnPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_yvWBTC, trusted: false, reserve: false})); yearnPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.yvWBTC, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_yvWBTC, trusted: false, reserve: false}) ); yearnPriceFeedsByNetwork[10].push( - SingeTokenPriceFeedData({token: Tokens.yvWBTC, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_yvWBTC, trusted: false, reserve: false}) ); yearnPriceFeedsByNetwork[8453].push( - SingeTokenPriceFeedData({token: Tokens.yvWBTC, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_yvWBTC, trusted: false, reserve: false}) ); // ------------------------ yvOP ------------------------ - yearnPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: Tokens.yvOP, trusted: false, reserve: false})); + yearnPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_yvOP, trusted: false, reserve: false})); yearnPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.yvOP, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_yvOP, trusted: false, reserve: false}) ); - yearnPriceFeedsByNetwork[10].push(SingeTokenPriceFeedData({token: Tokens.yvOP, trusted: false, reserve: false})); + yearnPriceFeedsByNetwork[10].push(SingeTokenPriceFeedData({token: TOKEN_yvOP, trusted: false, reserve: false})); yearnPriceFeedsByNetwork[8453].push( - SingeTokenPriceFeedData({token: Tokens.yvOP, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_yvOP, trusted: false, reserve: false}) ); // ------------------------ 3Crv ------------------------ curvePriceFeedsByNetwork[1].push( CurvePriceFeedData({ - lpToken: Tokens._3Crv, - assets: TokensLib.arrayOf(Tokens.DAI, Tokens.USDC, Tokens.USDT), + lpToken: TOKEN__3Crv, + assets: TokensLib.arrayOf(TOKEN_DAI, TOKEN_USDC, TOKEN_USDT), pool: Contracts.CURVE_3CRV_POOL, trusted: false, reserve: false @@ -2693,7 +2660,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[1].push( RedStonePriceFeedData({ - token: Tokens._3Crv, + token: TOKEN__3Crv, dataServiceId: "redstone-primary-prod", dataFeedId: "3Crv", signers: [ @@ -2715,8 +2682,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[42161].push( CurvePriceFeedData({ - lpToken: Tokens._3Crv, - assets: TokensLib.arrayOf(Tokens.DAI, Tokens.USDC, Tokens.USDT), + lpToken: TOKEN__3Crv, + assets: TokensLib.arrayOf(TOKEN_DAI, TOKEN_USDC, TOKEN_USDT), pool: Contracts.CURVE_3CRV_POOL, trusted: false, reserve: false @@ -2724,7 +2691,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[42161].push( RedStonePriceFeedData({ - token: Tokens._3Crv, + token: TOKEN__3Crv, dataServiceId: "redstone-primary-prod", dataFeedId: "3Crv", signers: [ @@ -2746,8 +2713,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[10].push( CurvePriceFeedData({ - lpToken: Tokens._3Crv, - assets: TokensLib.arrayOf(Tokens.DAI, Tokens.USDC, Tokens.USDT), + lpToken: TOKEN__3Crv, + assets: TokensLib.arrayOf(TOKEN_DAI, TOKEN_USDC, TOKEN_USDT), pool: Contracts.CURVE_3CRV_POOL, trusted: false, reserve: false @@ -2755,7 +2722,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[10].push( RedStonePriceFeedData({ - token: Tokens._3Crv, + token: TOKEN__3Crv, dataServiceId: "redstone-primary-prod", dataFeedId: "3Crv", signers: [ @@ -2777,8 +2744,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[8453].push( CurvePriceFeedData({ - lpToken: Tokens._3Crv, - assets: TokensLib.arrayOf(Tokens.DAI, Tokens.USDC, Tokens.USDT), + lpToken: TOKEN__3Crv, + assets: TokensLib.arrayOf(TOKEN_DAI, TOKEN_USDC, TOKEN_USDT), pool: Contracts.CURVE_3CRV_POOL, trusted: false, reserve: false @@ -2786,7 +2753,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[8453].push( RedStonePriceFeedData({ - token: Tokens._3Crv, + token: TOKEN__3Crv, dataServiceId: "redstone-primary-prod", dataFeedId: "3Crv", signers: [ @@ -2810,8 +2777,8 @@ contract PriceFeedDataLive { // ------------------------ crvFRAX ------------------------ curvePriceFeedsByNetwork[1].push( CurvePriceFeedData({ - lpToken: Tokens.crvFRAX, - assets: TokensLib.arrayOf(Tokens.FRAX, Tokens.USDC), + lpToken: TOKEN_crvFRAX, + assets: TokensLib.arrayOf(TOKEN_FRAX, TOKEN_USDC), pool: Contracts.CURVE_FRAX_USDC_POOL, trusted: false, reserve: false @@ -2819,7 +2786,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[1].push( RedStonePriceFeedData({ - token: Tokens.crvFRAX, + token: TOKEN_crvFRAX, dataServiceId: "redstone-primary-prod", dataFeedId: "crvFRAX", signers: [ @@ -2841,8 +2808,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[42161].push( CurvePriceFeedData({ - lpToken: Tokens.crvFRAX, - assets: TokensLib.arrayOf(Tokens.FRAX, Tokens.USDC), + lpToken: TOKEN_crvFRAX, + assets: TokensLib.arrayOf(TOKEN_FRAX, TOKEN_USDC), pool: Contracts.CURVE_FRAX_USDC_POOL, trusted: false, reserve: false @@ -2850,7 +2817,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[42161].push( RedStonePriceFeedData({ - token: Tokens.crvFRAX, + token: TOKEN_crvFRAX, dataServiceId: "redstone-primary-prod", dataFeedId: "crvFRAX", signers: [ @@ -2872,8 +2839,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[10].push( CurvePriceFeedData({ - lpToken: Tokens.crvFRAX, - assets: TokensLib.arrayOf(Tokens.FRAX, Tokens.USDC), + lpToken: TOKEN_crvFRAX, + assets: TokensLib.arrayOf(TOKEN_FRAX, TOKEN_USDC), pool: Contracts.CURVE_FRAX_USDC_POOL, trusted: false, reserve: false @@ -2881,7 +2848,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[10].push( RedStonePriceFeedData({ - token: Tokens.crvFRAX, + token: TOKEN_crvFRAX, dataServiceId: "redstone-primary-prod", dataFeedId: "crvFRAX", signers: [ @@ -2903,8 +2870,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[8453].push( CurvePriceFeedData({ - lpToken: Tokens.crvFRAX, - assets: TokensLib.arrayOf(Tokens.FRAX, Tokens.USDC), + lpToken: TOKEN_crvFRAX, + assets: TokensLib.arrayOf(TOKEN_FRAX, TOKEN_USDC), pool: Contracts.CURVE_FRAX_USDC_POOL, trusted: false, reserve: false @@ -2912,7 +2879,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[8453].push( RedStonePriceFeedData({ - token: Tokens.crvFRAX, + token: TOKEN_crvFRAX, dataServiceId: "redstone-primary-prod", dataFeedId: "crvFRAX", signers: [ @@ -2936,8 +2903,8 @@ contract PriceFeedDataLive { // ------------------------ steCRV ------------------------ curvePriceFeedsByNetwork[1].push( CurvePriceFeedData({ - lpToken: Tokens.steCRV, - assets: TokensLib.arrayOf(Tokens.STETH, Tokens.WETH), + lpToken: TOKEN_steCRV, + assets: TokensLib.arrayOf(TOKEN_STETH, TOKEN_WETH), pool: Contracts.CURVE_STETH_GATEWAY, trusted: false, reserve: false @@ -2945,8 +2912,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[42161].push( CurvePriceFeedData({ - lpToken: Tokens.steCRV, - assets: TokensLib.arrayOf(Tokens.STETH, Tokens.WETH), + lpToken: TOKEN_steCRV, + assets: TokensLib.arrayOf(TOKEN_STETH, TOKEN_WETH), pool: Contracts.CURVE_STETH_GATEWAY, trusted: false, reserve: false @@ -2954,8 +2921,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[10].push( CurvePriceFeedData({ - lpToken: Tokens.steCRV, - assets: TokensLib.arrayOf(Tokens.STETH, Tokens.WETH), + lpToken: TOKEN_steCRV, + assets: TokensLib.arrayOf(TOKEN_STETH, TOKEN_WETH), pool: Contracts.CURVE_STETH_GATEWAY, trusted: false, reserve: false @@ -2963,8 +2930,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[8453].push( CurvePriceFeedData({ - lpToken: Tokens.steCRV, - assets: TokensLib.arrayOf(Tokens.STETH, Tokens.WETH), + lpToken: TOKEN_steCRV, + assets: TokensLib.arrayOf(TOKEN_STETH, TOKEN_WETH), pool: Contracts.CURVE_STETH_GATEWAY, trusted: false, reserve: false @@ -2974,8 +2941,8 @@ contract PriceFeedDataLive { // ------------------------ FRAX3CRV ------------------------ curvePriceFeedsByNetwork[1].push( CurvePriceFeedData({ - lpToken: Tokens.FRAX3CRV, - assets: TokensLib.arrayOf(Tokens.FRAX, Tokens.DAI, Tokens.USDC, Tokens.USDT), + lpToken: TOKEN_FRAX3CRV, + assets: TokensLib.arrayOf(TOKEN_FRAX, TOKEN_DAI, TOKEN_USDC, TOKEN_USDT), pool: Contracts.CURVE_FRAX_POOL, trusted: false, reserve: false @@ -2983,8 +2950,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[42161].push( CurvePriceFeedData({ - lpToken: Tokens.FRAX3CRV, - assets: TokensLib.arrayOf(Tokens.FRAX, Tokens.DAI, Tokens.USDC, Tokens.USDT), + lpToken: TOKEN_FRAX3CRV, + assets: TokensLib.arrayOf(TOKEN_FRAX, TOKEN_DAI, TOKEN_USDC, TOKEN_USDT), pool: Contracts.CURVE_FRAX_POOL, trusted: false, reserve: false @@ -2992,8 +2959,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[10].push( CurvePriceFeedData({ - lpToken: Tokens.FRAX3CRV, - assets: TokensLib.arrayOf(Tokens.FRAX, Tokens.DAI, Tokens.USDC, Tokens.USDT), + lpToken: TOKEN_FRAX3CRV, + assets: TokensLib.arrayOf(TOKEN_FRAX, TOKEN_DAI, TOKEN_USDC, TOKEN_USDT), pool: Contracts.CURVE_FRAX_POOL, trusted: false, reserve: false @@ -3001,8 +2968,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[8453].push( CurvePriceFeedData({ - lpToken: Tokens.FRAX3CRV, - assets: TokensLib.arrayOf(Tokens.FRAX, Tokens.DAI, Tokens.USDC, Tokens.USDT), + lpToken: TOKEN_FRAX3CRV, + assets: TokensLib.arrayOf(TOKEN_FRAX, TOKEN_DAI, TOKEN_USDC, TOKEN_USDT), pool: Contracts.CURVE_FRAX_POOL, trusted: false, reserve: false @@ -3012,8 +2979,8 @@ contract PriceFeedDataLive { // ------------------------ LUSD3CRV ------------------------ curvePriceFeedsByNetwork[1].push( CurvePriceFeedData({ - lpToken: Tokens.LUSD3CRV, - assets: TokensLib.arrayOf(Tokens.LUSD, Tokens.DAI, Tokens.USDC, Tokens.USDT), + lpToken: TOKEN_LUSD3CRV, + assets: TokensLib.arrayOf(TOKEN_LUSD, TOKEN_DAI, TOKEN_USDC, TOKEN_USDT), pool: Contracts.CURVE_LUSD_POOL, trusted: false, reserve: false @@ -3021,8 +2988,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[42161].push( CurvePriceFeedData({ - lpToken: Tokens.LUSD3CRV, - assets: TokensLib.arrayOf(Tokens.LUSD, Tokens.DAI, Tokens.USDC, Tokens.USDT), + lpToken: TOKEN_LUSD3CRV, + assets: TokensLib.arrayOf(TOKEN_LUSD, TOKEN_DAI, TOKEN_USDC, TOKEN_USDT), pool: Contracts.CURVE_LUSD_POOL, trusted: false, reserve: false @@ -3030,8 +2997,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[10].push( CurvePriceFeedData({ - lpToken: Tokens.LUSD3CRV, - assets: TokensLib.arrayOf(Tokens.LUSD, Tokens.DAI, Tokens.USDC, Tokens.USDT), + lpToken: TOKEN_LUSD3CRV, + assets: TokensLib.arrayOf(TOKEN_LUSD, TOKEN_DAI, TOKEN_USDC, TOKEN_USDT), pool: Contracts.CURVE_LUSD_POOL, trusted: false, reserve: false @@ -3039,8 +3006,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[8453].push( CurvePriceFeedData({ - lpToken: Tokens.LUSD3CRV, - assets: TokensLib.arrayOf(Tokens.LUSD, Tokens.DAI, Tokens.USDC, Tokens.USDT), + lpToken: TOKEN_LUSD3CRV, + assets: TokensLib.arrayOf(TOKEN_LUSD, TOKEN_DAI, TOKEN_USDC, TOKEN_USDT), pool: Contracts.CURVE_LUSD_POOL, trusted: false, reserve: false @@ -3050,8 +3017,8 @@ contract PriceFeedDataLive { // ------------------------ crvPlain3andSUSD ------------------------ curvePriceFeedsByNetwork[1].push( CurvePriceFeedData({ - lpToken: Tokens.crvPlain3andSUSD, - assets: TokensLib.arrayOf(Tokens.DAI, Tokens.USDC, Tokens.USDT, Tokens.sUSD), + lpToken: TOKEN_crvPlain3andSUSD, + assets: TokensLib.arrayOf(TOKEN_DAI, TOKEN_USDC, TOKEN_USDT, TOKEN_sUSD), pool: Contracts.CURVE_SUSD_POOL, trusted: false, reserve: false @@ -3059,8 +3026,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[42161].push( CurvePriceFeedData({ - lpToken: Tokens.crvPlain3andSUSD, - assets: TokensLib.arrayOf(Tokens.DAI, Tokens.USDC, Tokens.USDT, Tokens.sUSD), + lpToken: TOKEN_crvPlain3andSUSD, + assets: TokensLib.arrayOf(TOKEN_DAI, TOKEN_USDC, TOKEN_USDT, TOKEN_sUSD), pool: Contracts.CURVE_SUSD_POOL, trusted: false, reserve: false @@ -3068,8 +3035,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[10].push( CurvePriceFeedData({ - lpToken: Tokens.crvPlain3andSUSD, - assets: TokensLib.arrayOf(Tokens.DAI, Tokens.USDC, Tokens.USDT, Tokens.sUSD), + lpToken: TOKEN_crvPlain3andSUSD, + assets: TokensLib.arrayOf(TOKEN_DAI, TOKEN_USDC, TOKEN_USDT, TOKEN_sUSD), pool: Contracts.CURVE_SUSD_POOL, trusted: false, reserve: false @@ -3077,8 +3044,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[8453].push( CurvePriceFeedData({ - lpToken: Tokens.crvPlain3andSUSD, - assets: TokensLib.arrayOf(Tokens.DAI, Tokens.USDC, Tokens.USDT, Tokens.sUSD), + lpToken: TOKEN_crvPlain3andSUSD, + assets: TokensLib.arrayOf(TOKEN_DAI, TOKEN_USDC, TOKEN_USDT, TOKEN_sUSD), pool: Contracts.CURVE_SUSD_POOL, trusted: false, reserve: false @@ -3086,24 +3053,22 @@ contract PriceFeedDataLive { ); // ------------------------ gusd3CRV ------------------------ - zeroPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: Tokens.gusd3CRV, trusted: true, reserve: false}) - ); + zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_gusd3CRV, trusted: true, reserve: false})); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.gusd3CRV, trusted: true, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_gusd3CRV, trusted: true, reserve: false}) ); zeroPriceFeedsByNetwork[10].push( - SingeTokenPriceFeedData({token: Tokens.gusd3CRV, trusted: true, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_gusd3CRV, trusted: true, reserve: false}) ); zeroPriceFeedsByNetwork[8453].push( - SingeTokenPriceFeedData({token: Tokens.gusd3CRV, trusted: true, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_gusd3CRV, trusted: true, reserve: false}) ); // ------------------------ MIM_3LP3CRV ------------------------ curvePriceFeedsByNetwork[1].push( CurvePriceFeedData({ - lpToken: Tokens.MIM_3LP3CRV, - assets: TokensLib.arrayOf(Tokens.MIM, Tokens.DAI, Tokens.USDC, Tokens.USDT), + lpToken: TOKEN_MIM_3LP3CRV, + assets: TokensLib.arrayOf(TOKEN_MIM, TOKEN_DAI, TOKEN_USDC, TOKEN_USDT), pool: Contracts.CURVE_MIM_POOL, trusted: false, reserve: false @@ -3111,8 +3076,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[42161].push( CurvePriceFeedData({ - lpToken: Tokens.MIM_3LP3CRV, - assets: TokensLib.arrayOf(Tokens.MIM, Tokens.DAI, Tokens.USDC, Tokens.USDT), + lpToken: TOKEN_MIM_3LP3CRV, + assets: TokensLib.arrayOf(TOKEN_MIM, TOKEN_DAI, TOKEN_USDC, TOKEN_USDT), pool: Contracts.CURVE_MIM_POOL, trusted: false, reserve: false @@ -3120,8 +3085,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[10].push( CurvePriceFeedData({ - lpToken: Tokens.MIM_3LP3CRV, - assets: TokensLib.arrayOf(Tokens.MIM, Tokens.DAI, Tokens.USDC, Tokens.USDT), + lpToken: TOKEN_MIM_3LP3CRV, + assets: TokensLib.arrayOf(TOKEN_MIM, TOKEN_DAI, TOKEN_USDC, TOKEN_USDT), pool: Contracts.CURVE_MIM_POOL, trusted: false, reserve: false @@ -3129,8 +3094,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[8453].push( CurvePriceFeedData({ - lpToken: Tokens.MIM_3LP3CRV, - assets: TokensLib.arrayOf(Tokens.MIM, Tokens.DAI, Tokens.USDC, Tokens.USDT), + lpToken: TOKEN_MIM_3LP3CRV, + assets: TokensLib.arrayOf(TOKEN_MIM, TOKEN_DAI, TOKEN_USDC, TOKEN_USDT), pool: Contracts.CURVE_MIM_POOL, trusted: false, reserve: false @@ -3140,8 +3105,8 @@ contract PriceFeedDataLive { // ------------------------ USDeUSDC ------------------------ curvePriceFeedsByNetwork[1].push( CurvePriceFeedData({ - lpToken: Tokens.USDeUSDC, - assets: TokensLib.arrayOf(Tokens.USDe, Tokens.USDC), + lpToken: TOKEN_USDeUSDC, + assets: TokensLib.arrayOf(TOKEN_USDe, TOKEN_USDC), pool: Contracts.CURVE_USDE_USDC_POOL, trusted: false, reserve: false @@ -3149,8 +3114,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[42161].push( CurvePriceFeedData({ - lpToken: Tokens.USDeUSDC, - assets: TokensLib.arrayOf(Tokens.USDe, Tokens.USDC), + lpToken: TOKEN_USDeUSDC, + assets: TokensLib.arrayOf(TOKEN_USDe, TOKEN_USDC), pool: Contracts.CURVE_USDE_USDC_POOL, trusted: false, reserve: false @@ -3158,8 +3123,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[10].push( CurvePriceFeedData({ - lpToken: Tokens.USDeUSDC, - assets: TokensLib.arrayOf(Tokens.USDe, Tokens.USDC), + lpToken: TOKEN_USDeUSDC, + assets: TokensLib.arrayOf(TOKEN_USDe, TOKEN_USDC), pool: Contracts.CURVE_USDE_USDC_POOL, trusted: false, reserve: false @@ -3167,8 +3132,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[8453].push( CurvePriceFeedData({ - lpToken: Tokens.USDeUSDC, - assets: TokensLib.arrayOf(Tokens.USDe, Tokens.USDC), + lpToken: TOKEN_USDeUSDC, + assets: TokensLib.arrayOf(TOKEN_USDe, TOKEN_USDC), pool: Contracts.CURVE_USDE_USDC_POOL, trusted: false, reserve: false @@ -3178,8 +3143,8 @@ contract PriceFeedDataLive { // ------------------------ USDeDAI ------------------------ curvePriceFeedsByNetwork[1].push( CurvePriceFeedData({ - lpToken: Tokens.USDeDAI, - assets: TokensLib.arrayOf(Tokens.USDe, Tokens.DAI), + lpToken: TOKEN_USDeDAI, + assets: TokensLib.arrayOf(TOKEN_USDe, TOKEN_DAI), pool: Contracts.CURVE_USDE_DAI_POOL, trusted: false, reserve: false @@ -3187,8 +3152,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[42161].push( CurvePriceFeedData({ - lpToken: Tokens.USDeDAI, - assets: TokensLib.arrayOf(Tokens.USDe, Tokens.DAI), + lpToken: TOKEN_USDeDAI, + assets: TokensLib.arrayOf(TOKEN_USDe, TOKEN_DAI), pool: Contracts.CURVE_USDE_DAI_POOL, trusted: false, reserve: false @@ -3196,8 +3161,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[10].push( CurvePriceFeedData({ - lpToken: Tokens.USDeDAI, - assets: TokensLib.arrayOf(Tokens.USDe, Tokens.DAI), + lpToken: TOKEN_USDeDAI, + assets: TokensLib.arrayOf(TOKEN_USDe, TOKEN_DAI), pool: Contracts.CURVE_USDE_DAI_POOL, trusted: false, reserve: false @@ -3205,8 +3170,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[8453].push( CurvePriceFeedData({ - lpToken: Tokens.USDeDAI, - assets: TokensLib.arrayOf(Tokens.USDe, Tokens.DAI), + lpToken: TOKEN_USDeDAI, + assets: TokensLib.arrayOf(TOKEN_USDe, TOKEN_DAI), pool: Contracts.CURVE_USDE_DAI_POOL, trusted: false, reserve: false @@ -3214,24 +3179,22 @@ contract PriceFeedDataLive { ); // ------------------------ MtEthena ------------------------ - zeroPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: Tokens.MtEthena, trusted: true, reserve: false}) - ); + zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_MtEthena, trusted: true, reserve: false})); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.MtEthena, trusted: true, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_MtEthena, trusted: true, reserve: false}) ); zeroPriceFeedsByNetwork[10].push( - SingeTokenPriceFeedData({token: Tokens.MtEthena, trusted: true, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_MtEthena, trusted: true, reserve: false}) ); zeroPriceFeedsByNetwork[8453].push( - SingeTokenPriceFeedData({token: Tokens.MtEthena, trusted: true, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_MtEthena, trusted: true, reserve: false}) ); // ------------------------ GHOUSDe ------------------------ curvePriceFeedsByNetwork[1].push( CurvePriceFeedData({ - lpToken: Tokens.GHOUSDe, - assets: TokensLib.arrayOf(Tokens.GHO, Tokens.USDe), + lpToken: TOKEN_GHOUSDe, + assets: TokensLib.arrayOf(TOKEN_GHO, TOKEN_USDe), pool: Contracts.CURVE_GHO_USDE_POOL, trusted: false, reserve: false @@ -3239,8 +3202,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[42161].push( CurvePriceFeedData({ - lpToken: Tokens.GHOUSDe, - assets: TokensLib.arrayOf(Tokens.GHO, Tokens.USDe), + lpToken: TOKEN_GHOUSDe, + assets: TokensLib.arrayOf(TOKEN_GHO, TOKEN_USDe), pool: Contracts.CURVE_GHO_USDE_POOL, trusted: false, reserve: false @@ -3248,8 +3211,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[10].push( CurvePriceFeedData({ - lpToken: Tokens.GHOUSDe, - assets: TokensLib.arrayOf(Tokens.GHO, Tokens.USDe), + lpToken: TOKEN_GHOUSDe, + assets: TokensLib.arrayOf(TOKEN_GHO, TOKEN_USDe), pool: Contracts.CURVE_GHO_USDE_POOL, trusted: false, reserve: false @@ -3257,8 +3220,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[8453].push( CurvePriceFeedData({ - lpToken: Tokens.GHOUSDe, - assets: TokensLib.arrayOf(Tokens.GHO, Tokens.USDe), + lpToken: TOKEN_GHOUSDe, + assets: TokensLib.arrayOf(TOKEN_GHO, TOKEN_USDe), pool: Contracts.CURVE_GHO_USDE_POOL, trusted: false, reserve: false @@ -3268,8 +3231,8 @@ contract PriceFeedDataLive { // ------------------------ FRAXUSDe ------------------------ curvePriceFeedsByNetwork[1].push( CurvePriceFeedData({ - lpToken: Tokens.FRAXUSDe, - assets: TokensLib.arrayOf(Tokens.FRAX, Tokens.USDe), + lpToken: TOKEN_FRAXUSDe, + assets: TokensLib.arrayOf(TOKEN_FRAX, TOKEN_USDe), pool: Contracts.CURVE_FRAX_USDE_POOL, trusted: false, reserve: false @@ -3277,8 +3240,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[42161].push( CurvePriceFeedData({ - lpToken: Tokens.FRAXUSDe, - assets: TokensLib.arrayOf(Tokens.FRAX, Tokens.USDe), + lpToken: TOKEN_FRAXUSDe, + assets: TokensLib.arrayOf(TOKEN_FRAX, TOKEN_USDe), pool: Contracts.CURVE_FRAX_USDE_POOL, trusted: false, reserve: false @@ -3286,8 +3249,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[10].push( CurvePriceFeedData({ - lpToken: Tokens.FRAXUSDe, - assets: TokensLib.arrayOf(Tokens.FRAX, Tokens.USDe), + lpToken: TOKEN_FRAXUSDe, + assets: TokensLib.arrayOf(TOKEN_FRAX, TOKEN_USDe), pool: Contracts.CURVE_FRAX_USDE_POOL, trusted: false, reserve: false @@ -3295,8 +3258,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[8453].push( CurvePriceFeedData({ - lpToken: Tokens.FRAXUSDe, - assets: TokensLib.arrayOf(Tokens.FRAX, Tokens.USDe), + lpToken: TOKEN_FRAXUSDe, + assets: TokensLib.arrayOf(TOKEN_FRAX, TOKEN_USDe), pool: Contracts.CURVE_FRAX_USDE_POOL, trusted: false, reserve: false @@ -3306,8 +3269,8 @@ contract PriceFeedDataLive { // ------------------------ USDecrvUSD ------------------------ curvePriceFeedsByNetwork[1].push( CurvePriceFeedData({ - lpToken: Tokens.USDecrvUSD, - assets: TokensLib.arrayOf(Tokens.USDe, Tokens.crvUSD), + lpToken: TOKEN_USDecrvUSD, + assets: TokensLib.arrayOf(TOKEN_USDe, TOKEN_crvUSD), pool: Contracts.CURVE_USDE_CRVUSD_POOL, trusted: false, reserve: false @@ -3315,8 +3278,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[42161].push( CurvePriceFeedData({ - lpToken: Tokens.USDecrvUSD, - assets: TokensLib.arrayOf(Tokens.USDe, Tokens.crvUSD), + lpToken: TOKEN_USDecrvUSD, + assets: TokensLib.arrayOf(TOKEN_USDe, TOKEN_crvUSD), pool: Contracts.CURVE_USDE_CRVUSD_POOL, trusted: false, reserve: false @@ -3324,8 +3287,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[10].push( CurvePriceFeedData({ - lpToken: Tokens.USDecrvUSD, - assets: TokensLib.arrayOf(Tokens.USDe, Tokens.crvUSD), + lpToken: TOKEN_USDecrvUSD, + assets: TokensLib.arrayOf(TOKEN_USDe, TOKEN_crvUSD), pool: Contracts.CURVE_USDE_CRVUSD_POOL, trusted: false, reserve: false @@ -3333,8 +3296,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[8453].push( CurvePriceFeedData({ - lpToken: Tokens.USDecrvUSD, - assets: TokensLib.arrayOf(Tokens.USDe, Tokens.crvUSD), + lpToken: TOKEN_USDecrvUSD, + assets: TokensLib.arrayOf(TOKEN_USDe, TOKEN_crvUSD), pool: Contracts.CURVE_USDE_CRVUSD_POOL, trusted: false, reserve: false @@ -3344,8 +3307,8 @@ contract PriceFeedDataLive { // ------------------------ OHMFRAXBP ------------------------ curveCryptoPriceFeedsByNetwork[1].push( CurvePriceFeedData({ - lpToken: Tokens.OHMFRAXBP, - assets: TokensLib.arrayOf(Tokens.OHM, Tokens.crvFRAX), + lpToken: TOKEN_OHMFRAXBP, + assets: TokensLib.arrayOf(TOKEN_OHM, TOKEN_crvFRAX), pool: Contracts.CURVE_OHMFRAXBP_POOL, trusted: false, reserve: false @@ -3353,8 +3316,8 @@ contract PriceFeedDataLive { ); curveCryptoPriceFeedsByNetwork[42161].push( CurvePriceFeedData({ - lpToken: Tokens.OHMFRAXBP, - assets: TokensLib.arrayOf(Tokens.OHM, Tokens.crvFRAX), + lpToken: TOKEN_OHMFRAXBP, + assets: TokensLib.arrayOf(TOKEN_OHM, TOKEN_crvFRAX), pool: Contracts.CURVE_OHMFRAXBP_POOL, trusted: false, reserve: false @@ -3362,8 +3325,8 @@ contract PriceFeedDataLive { ); curveCryptoPriceFeedsByNetwork[10].push( CurvePriceFeedData({ - lpToken: Tokens.OHMFRAXBP, - assets: TokensLib.arrayOf(Tokens.OHM, Tokens.crvFRAX), + lpToken: TOKEN_OHMFRAXBP, + assets: TokensLib.arrayOf(TOKEN_OHM, TOKEN_crvFRAX), pool: Contracts.CURVE_OHMFRAXBP_POOL, trusted: false, reserve: false @@ -3371,8 +3334,8 @@ contract PriceFeedDataLive { ); curveCryptoPriceFeedsByNetwork[8453].push( CurvePriceFeedData({ - lpToken: Tokens.OHMFRAXBP, - assets: TokensLib.arrayOf(Tokens.OHM, Tokens.crvFRAX), + lpToken: TOKEN_OHMFRAXBP, + assets: TokensLib.arrayOf(TOKEN_OHM, TOKEN_crvFRAX), pool: Contracts.CURVE_OHMFRAXBP_POOL, trusted: false, reserve: false @@ -3382,8 +3345,8 @@ contract PriceFeedDataLive { // ------------------------ crvCRVETH ------------------------ curveCryptoPriceFeedsByNetwork[1].push( CurvePriceFeedData({ - lpToken: Tokens.crvCRVETH, - assets: TokensLib.arrayOf(Tokens.WETH, Tokens.CRV), + lpToken: TOKEN_crvCRVETH, + assets: TokensLib.arrayOf(TOKEN_WETH, TOKEN_CRV), pool: Contracts.CURVE_CRVETH_POOL, trusted: false, reserve: false @@ -3391,8 +3354,8 @@ contract PriceFeedDataLive { ); curveCryptoPriceFeedsByNetwork[42161].push( CurvePriceFeedData({ - lpToken: Tokens.crvCRVETH, - assets: TokensLib.arrayOf(Tokens.WETH, Tokens.CRV), + lpToken: TOKEN_crvCRVETH, + assets: TokensLib.arrayOf(TOKEN_WETH, TOKEN_CRV), pool: Contracts.CURVE_CRVETH_POOL, trusted: false, reserve: false @@ -3400,8 +3363,8 @@ contract PriceFeedDataLive { ); curveCryptoPriceFeedsByNetwork[10].push( CurvePriceFeedData({ - lpToken: Tokens.crvCRVETH, - assets: TokensLib.arrayOf(Tokens.WETH, Tokens.CRV), + lpToken: TOKEN_crvCRVETH, + assets: TokensLib.arrayOf(TOKEN_WETH, TOKEN_CRV), pool: Contracts.CURVE_CRVETH_POOL, trusted: false, reserve: false @@ -3409,8 +3372,8 @@ contract PriceFeedDataLive { ); curveCryptoPriceFeedsByNetwork[8453].push( CurvePriceFeedData({ - lpToken: Tokens.crvCRVETH, - assets: TokensLib.arrayOf(Tokens.WETH, Tokens.CRV), + lpToken: TOKEN_crvCRVETH, + assets: TokensLib.arrayOf(TOKEN_WETH, TOKEN_CRV), pool: Contracts.CURVE_CRVETH_POOL, trusted: false, reserve: false @@ -3420,8 +3383,8 @@ contract PriceFeedDataLive { // ------------------------ crvCVXETH ------------------------ curveCryptoPriceFeedsByNetwork[1].push( CurvePriceFeedData({ - lpToken: Tokens.crvCVXETH, - assets: TokensLib.arrayOf(Tokens.WETH, Tokens.CVX), + lpToken: TOKEN_crvCVXETH, + assets: TokensLib.arrayOf(TOKEN_WETH, TOKEN_CVX), pool: Contracts.CURVE_CVXETH_POOL, trusted: false, reserve: false @@ -3429,8 +3392,8 @@ contract PriceFeedDataLive { ); curveCryptoPriceFeedsByNetwork[42161].push( CurvePriceFeedData({ - lpToken: Tokens.crvCVXETH, - assets: TokensLib.arrayOf(Tokens.WETH, Tokens.CVX), + lpToken: TOKEN_crvCVXETH, + assets: TokensLib.arrayOf(TOKEN_WETH, TOKEN_CVX), pool: Contracts.CURVE_CVXETH_POOL, trusted: false, reserve: false @@ -3438,8 +3401,8 @@ contract PriceFeedDataLive { ); curveCryptoPriceFeedsByNetwork[10].push( CurvePriceFeedData({ - lpToken: Tokens.crvCVXETH, - assets: TokensLib.arrayOf(Tokens.WETH, Tokens.CVX), + lpToken: TOKEN_crvCVXETH, + assets: TokensLib.arrayOf(TOKEN_WETH, TOKEN_CVX), pool: Contracts.CURVE_CVXETH_POOL, trusted: false, reserve: false @@ -3447,8 +3410,8 @@ contract PriceFeedDataLive { ); curveCryptoPriceFeedsByNetwork[8453].push( CurvePriceFeedData({ - lpToken: Tokens.crvCVXETH, - assets: TokensLib.arrayOf(Tokens.WETH, Tokens.CVX), + lpToken: TOKEN_crvCVXETH, + assets: TokensLib.arrayOf(TOKEN_WETH, TOKEN_CVX), pool: Contracts.CURVE_CVXETH_POOL, trusted: false, reserve: false @@ -3458,8 +3421,8 @@ contract PriceFeedDataLive { // ------------------------ crvUSDTWBTCWETH ------------------------ curveCryptoPriceFeedsByNetwork[1].push( CurvePriceFeedData({ - lpToken: Tokens.crvUSDTWBTCWETH, - assets: TokensLib.arrayOf(Tokens.USDT, Tokens.WBTC, Tokens.WETH), + lpToken: TOKEN_crvUSDTWBTCWETH, + assets: TokensLib.arrayOf(TOKEN_USDT, TOKEN_WBTC, TOKEN_WETH), pool: Contracts.CURVE_3CRYPTO_POOL, trusted: false, reserve: false @@ -3467,8 +3430,8 @@ contract PriceFeedDataLive { ); curveCryptoPriceFeedsByNetwork[42161].push( CurvePriceFeedData({ - lpToken: Tokens.crvUSDTWBTCWETH, - assets: TokensLib.arrayOf(Tokens.USDT, Tokens.WBTC, Tokens.WETH), + lpToken: TOKEN_crvUSDTWBTCWETH, + assets: TokensLib.arrayOf(TOKEN_USDT, TOKEN_WBTC, TOKEN_WETH), pool: Contracts.CURVE_3CRYPTO_POOL, trusted: false, reserve: false @@ -3476,8 +3439,8 @@ contract PriceFeedDataLive { ); curveCryptoPriceFeedsByNetwork[10].push( CurvePriceFeedData({ - lpToken: Tokens.crvUSDTWBTCWETH, - assets: TokensLib.arrayOf(Tokens.USDT, Tokens.WBTC, Tokens.WETH), + lpToken: TOKEN_crvUSDTWBTCWETH, + assets: TokensLib.arrayOf(TOKEN_USDT, TOKEN_WBTC, TOKEN_WETH), pool: Contracts.CURVE_3CRYPTO_POOL, trusted: false, reserve: false @@ -3485,8 +3448,8 @@ contract PriceFeedDataLive { ); curveCryptoPriceFeedsByNetwork[8453].push( CurvePriceFeedData({ - lpToken: Tokens.crvUSDTWBTCWETH, - assets: TokensLib.arrayOf(Tokens.USDT, Tokens.WBTC, Tokens.WETH), + lpToken: TOKEN_crvUSDTWBTCWETH, + assets: TokensLib.arrayOf(TOKEN_USDT, TOKEN_WBTC, TOKEN_WETH), pool: Contracts.CURVE_3CRYPTO_POOL, trusted: false, reserve: false @@ -3496,8 +3459,8 @@ contract PriceFeedDataLive { // ------------------------ LDOETH ------------------------ curveCryptoPriceFeedsByNetwork[1].push( CurvePriceFeedData({ - lpToken: Tokens.LDOETH, - assets: TokensLib.arrayOf(Tokens.LDO, Tokens.WETH), + lpToken: TOKEN_LDOETH, + assets: TokensLib.arrayOf(TOKEN_LDO, TOKEN_WETH), pool: Contracts.CURVE_LDOETH_POOL, trusted: false, reserve: false @@ -3505,8 +3468,8 @@ contract PriceFeedDataLive { ); curveCryptoPriceFeedsByNetwork[42161].push( CurvePriceFeedData({ - lpToken: Tokens.LDOETH, - assets: TokensLib.arrayOf(Tokens.LDO, Tokens.WETH), + lpToken: TOKEN_LDOETH, + assets: TokensLib.arrayOf(TOKEN_LDO, TOKEN_WETH), pool: Contracts.CURVE_LDOETH_POOL, trusted: false, reserve: false @@ -3514,8 +3477,8 @@ contract PriceFeedDataLive { ); curveCryptoPriceFeedsByNetwork[10].push( CurvePriceFeedData({ - lpToken: Tokens.LDOETH, - assets: TokensLib.arrayOf(Tokens.LDO, Tokens.WETH), + lpToken: TOKEN_LDOETH, + assets: TokensLib.arrayOf(TOKEN_LDO, TOKEN_WETH), pool: Contracts.CURVE_LDOETH_POOL, trusted: false, reserve: false @@ -3523,8 +3486,8 @@ contract PriceFeedDataLive { ); curveCryptoPriceFeedsByNetwork[8453].push( CurvePriceFeedData({ - lpToken: Tokens.LDOETH, - assets: TokensLib.arrayOf(Tokens.LDO, Tokens.WETH), + lpToken: TOKEN_LDOETH, + assets: TokensLib.arrayOf(TOKEN_LDO, TOKEN_WETH), pool: Contracts.CURVE_LDOETH_POOL, trusted: false, reserve: false @@ -3534,7 +3497,7 @@ contract PriceFeedDataLive { // ------------------------ crvUSD ------------------------ boundedPriceFeedsByNetwork[1].push( BoundedPriceFeedData({ - token: Tokens.crvUSD, + token: TOKEN_crvUSD, priceFeed: 0xEEf0C605546958c1f899b6fB336C20671f9cD49F, stalenessPeriod: 87300, upperBound: 104000000, @@ -3544,7 +3507,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[1].push( RedStonePriceFeedData({ - token: Tokens.crvUSD, + token: TOKEN_crvUSD, dataServiceId: "redstone-primary-prod", dataFeedId: "crvUSD", signers: [ @@ -3566,7 +3529,7 @@ contract PriceFeedDataLive { ); boundedPriceFeedsByNetwork[42161].push( BoundedPriceFeedData({ - token: Tokens.crvUSD, + token: TOKEN_crvUSD, priceFeed: 0x0a32255dd4BB6177C994bAAc73E0606fDD568f66, stalenessPeriod: 86520, upperBound: 104000000, @@ -3576,7 +3539,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[42161].push( RedStonePriceFeedData({ - token: Tokens.crvUSD, + token: TOKEN_crvUSD, dataServiceId: "redstone-primary-prod", dataFeedId: "crvUSD", signers: [ @@ -3600,8 +3563,8 @@ contract PriceFeedDataLive { // ------------------------ crvUSDUSDC ------------------------ curvePriceFeedsByNetwork[1].push( CurvePriceFeedData({ - lpToken: Tokens.crvUSDUSDC, - assets: TokensLib.arrayOf(Tokens.crvUSD, Tokens.USDC), + lpToken: TOKEN_crvUSDUSDC, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDC), pool: Contracts.CURVE_CRVUSD_USDC_POOL, trusted: false, reserve: false @@ -3609,8 +3572,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[1].push( CurvePriceFeedData({ - lpToken: Tokens.crvUSDUSDC, - assets: TokensLib.arrayOf(Tokens.crvUSD, Tokens.USDC), + lpToken: TOKEN_crvUSDUSDC, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDC), pool: Contracts.CURVE_CRVUSD_USDC_POOL, trusted: false, reserve: true @@ -3618,8 +3581,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[42161].push( CurvePriceFeedData({ - lpToken: Tokens.crvUSDUSDC, - assets: TokensLib.arrayOf(Tokens.crvUSD, Tokens.USDC), + lpToken: TOKEN_crvUSDUSDC, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDC), pool: Contracts.CURVE_CRVUSD_USDC_POOL, trusted: false, reserve: false @@ -3627,8 +3590,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[42161].push( CurvePriceFeedData({ - lpToken: Tokens.crvUSDUSDC, - assets: TokensLib.arrayOf(Tokens.crvUSD, Tokens.USDC), + lpToken: TOKEN_crvUSDUSDC, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDC), pool: Contracts.CURVE_CRVUSD_USDC_POOL, trusted: false, reserve: true @@ -3636,8 +3599,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[10].push( CurvePriceFeedData({ - lpToken: Tokens.crvUSDUSDC, - assets: TokensLib.arrayOf(Tokens.crvUSD, Tokens.USDC), + lpToken: TOKEN_crvUSDUSDC, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDC), pool: Contracts.CURVE_CRVUSD_USDC_POOL, trusted: false, reserve: false @@ -3645,8 +3608,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[10].push( CurvePriceFeedData({ - lpToken: Tokens.crvUSDUSDC, - assets: TokensLib.arrayOf(Tokens.crvUSD, Tokens.USDC), + lpToken: TOKEN_crvUSDUSDC, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDC), pool: Contracts.CURVE_CRVUSD_USDC_POOL, trusted: false, reserve: true @@ -3654,8 +3617,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[8453].push( CurvePriceFeedData({ - lpToken: Tokens.crvUSDUSDC, - assets: TokensLib.arrayOf(Tokens.crvUSD, Tokens.USDC), + lpToken: TOKEN_crvUSDUSDC, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDC), pool: Contracts.CURVE_CRVUSD_USDC_POOL, trusted: false, reserve: false @@ -3663,8 +3626,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[8453].push( CurvePriceFeedData({ - lpToken: Tokens.crvUSDUSDC, - assets: TokensLib.arrayOf(Tokens.crvUSD, Tokens.USDC), + lpToken: TOKEN_crvUSDUSDC, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDC), pool: Contracts.CURVE_CRVUSD_USDC_POOL, trusted: false, reserve: true @@ -3674,8 +3637,8 @@ contract PriceFeedDataLive { // ------------------------ crvUSDUSDT ------------------------ curvePriceFeedsByNetwork[1].push( CurvePriceFeedData({ - lpToken: Tokens.crvUSDUSDT, - assets: TokensLib.arrayOf(Tokens.crvUSD, Tokens.USDT), + lpToken: TOKEN_crvUSDUSDT, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDT), pool: Contracts.CURVE_CRVUSD_USDT_POOL, trusted: false, reserve: false @@ -3683,8 +3646,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[1].push( CurvePriceFeedData({ - lpToken: Tokens.crvUSDUSDT, - assets: TokensLib.arrayOf(Tokens.crvUSD, Tokens.USDT), + lpToken: TOKEN_crvUSDUSDT, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDT), pool: Contracts.CURVE_CRVUSD_USDT_POOL, trusted: false, reserve: true @@ -3692,8 +3655,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[42161].push( CurvePriceFeedData({ - lpToken: Tokens.crvUSDUSDT, - assets: TokensLib.arrayOf(Tokens.crvUSD, Tokens.USDT), + lpToken: TOKEN_crvUSDUSDT, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDT), pool: Contracts.CURVE_CRVUSD_USDT_POOL, trusted: false, reserve: false @@ -3701,8 +3664,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[42161].push( CurvePriceFeedData({ - lpToken: Tokens.crvUSDUSDT, - assets: TokensLib.arrayOf(Tokens.crvUSD, Tokens.USDT), + lpToken: TOKEN_crvUSDUSDT, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDT), pool: Contracts.CURVE_CRVUSD_USDT_POOL, trusted: false, reserve: true @@ -3710,8 +3673,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[10].push( CurvePriceFeedData({ - lpToken: Tokens.crvUSDUSDT, - assets: TokensLib.arrayOf(Tokens.crvUSD, Tokens.USDT), + lpToken: TOKEN_crvUSDUSDT, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDT), pool: Contracts.CURVE_CRVUSD_USDT_POOL, trusted: false, reserve: false @@ -3719,8 +3682,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[10].push( CurvePriceFeedData({ - lpToken: Tokens.crvUSDUSDT, - assets: TokensLib.arrayOf(Tokens.crvUSD, Tokens.USDT), + lpToken: TOKEN_crvUSDUSDT, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDT), pool: Contracts.CURVE_CRVUSD_USDT_POOL, trusted: false, reserve: true @@ -3728,8 +3691,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[8453].push( CurvePriceFeedData({ - lpToken: Tokens.crvUSDUSDT, - assets: TokensLib.arrayOf(Tokens.crvUSD, Tokens.USDT), + lpToken: TOKEN_crvUSDUSDT, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDT), pool: Contracts.CURVE_CRVUSD_USDT_POOL, trusted: false, reserve: false @@ -3737,8 +3700,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[8453].push( CurvePriceFeedData({ - lpToken: Tokens.crvUSDUSDT, - assets: TokensLib.arrayOf(Tokens.crvUSD, Tokens.USDT), + lpToken: TOKEN_crvUSDUSDT, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDT), pool: Contracts.CURVE_CRVUSD_USDT_POOL, trusted: false, reserve: true @@ -3748,8 +3711,8 @@ contract PriceFeedDataLive { // ------------------------ crvUSDFRAX ------------------------ curvePriceFeedsByNetwork[1].push( CurvePriceFeedData({ - lpToken: Tokens.crvUSDFRAX, - assets: TokensLib.arrayOf(Tokens.crvUSD, Tokens.FRAX), + lpToken: TOKEN_crvUSDFRAX, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_FRAX), pool: Contracts.CURVE_CRVUSD_FRAX_POOL, trusted: false, reserve: false @@ -3757,8 +3720,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[42161].push( CurvePriceFeedData({ - lpToken: Tokens.crvUSDFRAX, - assets: TokensLib.arrayOf(Tokens.crvUSD, Tokens.FRAX), + lpToken: TOKEN_crvUSDFRAX, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_FRAX), pool: Contracts.CURVE_CRVUSD_FRAX_POOL, trusted: false, reserve: false @@ -3766,8 +3729,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[10].push( CurvePriceFeedData({ - lpToken: Tokens.crvUSDFRAX, - assets: TokensLib.arrayOf(Tokens.crvUSD, Tokens.FRAX), + lpToken: TOKEN_crvUSDFRAX, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_FRAX), pool: Contracts.CURVE_CRVUSD_FRAX_POOL, trusted: false, reserve: false @@ -3775,8 +3738,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[8453].push( CurvePriceFeedData({ - lpToken: Tokens.crvUSDFRAX, - assets: TokensLib.arrayOf(Tokens.crvUSD, Tokens.FRAX), + lpToken: TOKEN_crvUSDFRAX, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_FRAX), pool: Contracts.CURVE_CRVUSD_FRAX_POOL, trusted: false, reserve: false @@ -3785,23 +3748,23 @@ contract PriceFeedDataLive { // ------------------------ wstETHCRV ------------------------ zeroPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: Tokens.wstETHCRV, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_wstETHCRV, trusted: false, reserve: false}) ); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.wstETHCRV, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_wstETHCRV, trusted: false, reserve: false}) ); zeroPriceFeedsByNetwork[10].push( - SingeTokenPriceFeedData({token: Tokens.wstETHCRV, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_wstETHCRV, trusted: false, reserve: false}) ); zeroPriceFeedsByNetwork[8453].push( - SingeTokenPriceFeedData({token: Tokens.wstETHCRV, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_wstETHCRV, trusted: false, reserve: false}) ); // ------------------------ crvUSDETHCRV ------------------------ curveCryptoPriceFeedsByNetwork[1].push( CurvePriceFeedData({ - lpToken: Tokens.crvUSDETHCRV, - assets: TokensLib.arrayOf(Tokens.crvUSD, Tokens.WETH, Tokens.CRV), + lpToken: TOKEN_crvUSDETHCRV, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_WETH, TOKEN_CRV), pool: Contracts.CURVE_TRI_CRV_POOL, trusted: false, reserve: false @@ -3809,8 +3772,8 @@ contract PriceFeedDataLive { ); curveCryptoPriceFeedsByNetwork[42161].push( CurvePriceFeedData({ - lpToken: Tokens.crvUSDETHCRV, - assets: TokensLib.arrayOf(Tokens.crvUSD, Tokens.WETH, Tokens.CRV), + lpToken: TOKEN_crvUSDETHCRV, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_WETH, TOKEN_CRV), pool: Contracts.CURVE_TRI_CRV_POOL, trusted: false, reserve: false @@ -3818,8 +3781,8 @@ contract PriceFeedDataLive { ); curveCryptoPriceFeedsByNetwork[10].push( CurvePriceFeedData({ - lpToken: Tokens.crvUSDETHCRV, - assets: TokensLib.arrayOf(Tokens.crvUSD, Tokens.WETH, Tokens.CRV), + lpToken: TOKEN_crvUSDETHCRV, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_WETH, TOKEN_CRV), pool: Contracts.CURVE_TRI_CRV_POOL, trusted: false, reserve: false @@ -3827,8 +3790,8 @@ contract PriceFeedDataLive { ); curveCryptoPriceFeedsByNetwork[8453].push( CurvePriceFeedData({ - lpToken: Tokens.crvUSDETHCRV, - assets: TokensLib.arrayOf(Tokens.crvUSD, Tokens.WETH, Tokens.CRV), + lpToken: TOKEN_crvUSDETHCRV, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_WETH, TOKEN_CRV), pool: Contracts.CURVE_TRI_CRV_POOL, trusted: false, reserve: false @@ -3838,8 +3801,8 @@ contract PriceFeedDataLive { // ------------------------ rETH_f ------------------------ curveCryptoPriceFeedsByNetwork[1].push( CurvePriceFeedData({ - lpToken: Tokens.rETH_f, - assets: TokensLib.arrayOf(Tokens.rETH, Tokens.WETH), + lpToken: TOKEN_rETH_f, + assets: TokensLib.arrayOf(TOKEN_rETH, TOKEN_WETH), pool: Contracts.CURVE_RETH_ETH_POOL, trusted: false, reserve: false @@ -3847,8 +3810,8 @@ contract PriceFeedDataLive { ); curveCryptoPriceFeedsByNetwork[42161].push( CurvePriceFeedData({ - lpToken: Tokens.rETH_f, - assets: TokensLib.arrayOf(Tokens.rETH, Tokens.WETH), + lpToken: TOKEN_rETH_f, + assets: TokensLib.arrayOf(TOKEN_rETH, TOKEN_WETH), pool: Contracts.CURVE_RETH_ETH_POOL, trusted: false, reserve: false @@ -3856,8 +3819,8 @@ contract PriceFeedDataLive { ); curveCryptoPriceFeedsByNetwork[10].push( CurvePriceFeedData({ - lpToken: Tokens.rETH_f, - assets: TokensLib.arrayOf(Tokens.rETH, Tokens.WETH), + lpToken: TOKEN_rETH_f, + assets: TokensLib.arrayOf(TOKEN_rETH, TOKEN_WETH), pool: Contracts.CURVE_RETH_ETH_POOL, trusted: false, reserve: false @@ -3865,8 +3828,8 @@ contract PriceFeedDataLive { ); curveCryptoPriceFeedsByNetwork[8453].push( CurvePriceFeedData({ - lpToken: Tokens.rETH_f, - assets: TokensLib.arrayOf(Tokens.rETH, Tokens.WETH), + lpToken: TOKEN_rETH_f, + assets: TokensLib.arrayOf(TOKEN_rETH, TOKEN_WETH), pool: Contracts.CURVE_RETH_ETH_POOL, trusted: false, reserve: false @@ -3875,23 +3838,23 @@ contract PriceFeedDataLive { // ------------------------ pufETHwstE ------------------------ zeroPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: Tokens.pufETHwstE, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_pufETHwstE, trusted: false, reserve: false}) ); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.pufETHwstE, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_pufETHwstE, trusted: false, reserve: false}) ); zeroPriceFeedsByNetwork[10].push( - SingeTokenPriceFeedData({token: Tokens.pufETHwstE, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_pufETHwstE, trusted: false, reserve: false}) ); zeroPriceFeedsByNetwork[8453].push( - SingeTokenPriceFeedData({token: Tokens.pufETHwstE, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_pufETHwstE, trusted: false, reserve: false}) ); // ------------------------ GHOcrvUSD ------------------------ curvePriceFeedsByNetwork[1].push( CurvePriceFeedData({ - lpToken: Tokens.GHOcrvUSD, - assets: TokensLib.arrayOf(Tokens.GHO, Tokens.crvUSD), + lpToken: TOKEN_GHOcrvUSD, + assets: TokensLib.arrayOf(TOKEN_GHO, TOKEN_crvUSD), pool: Contracts.CURVE_GHO_CRVUSD_POOL, trusted: false, reserve: false @@ -3899,8 +3862,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[42161].push( CurvePriceFeedData({ - lpToken: Tokens.GHOcrvUSD, - assets: TokensLib.arrayOf(Tokens.GHO, Tokens.crvUSD), + lpToken: TOKEN_GHOcrvUSD, + assets: TokensLib.arrayOf(TOKEN_GHO, TOKEN_crvUSD), pool: Contracts.CURVE_GHO_CRVUSD_POOL, trusted: false, reserve: false @@ -3908,8 +3871,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[10].push( CurvePriceFeedData({ - lpToken: Tokens.GHOcrvUSD, - assets: TokensLib.arrayOf(Tokens.GHO, Tokens.crvUSD), + lpToken: TOKEN_GHOcrvUSD, + assets: TokensLib.arrayOf(TOKEN_GHO, TOKEN_crvUSD), pool: Contracts.CURVE_GHO_CRVUSD_POOL, trusted: false, reserve: false @@ -3917,8 +3880,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[8453].push( CurvePriceFeedData({ - lpToken: Tokens.GHOcrvUSD, - assets: TokensLib.arrayOf(Tokens.GHO, Tokens.crvUSD), + lpToken: TOKEN_GHOcrvUSD, + assets: TokensLib.arrayOf(TOKEN_GHO, TOKEN_crvUSD), pool: Contracts.CURVE_GHO_CRVUSD_POOL, trusted: false, reserve: false @@ -3928,8 +3891,8 @@ contract PriceFeedDataLive { // ------------------------ 2CRV ------------------------ curvePriceFeedsByNetwork[1].push( CurvePriceFeedData({ - lpToken: Tokens._2CRV, - assets: TokensLib.arrayOf(Tokens.USDC_e, Tokens.USDT), + lpToken: TOKEN__2CRV, + assets: TokensLib.arrayOf(TOKEN_USDC_e, TOKEN_USDT), pool: Contracts.CURVE_2CRV_POOL_ARB, trusted: false, reserve: false @@ -3937,8 +3900,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[42161].push( CurvePriceFeedData({ - lpToken: Tokens._2CRV, - assets: TokensLib.arrayOf(Tokens.USDC_e, Tokens.USDT), + lpToken: TOKEN__2CRV, + assets: TokensLib.arrayOf(TOKEN_USDC_e, TOKEN_USDT), pool: Contracts.CURVE_2CRV_POOL_ARB, trusted: false, reserve: false @@ -3946,8 +3909,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[10].push( CurvePriceFeedData({ - lpToken: Tokens._2CRV, - assets: TokensLib.arrayOf(Tokens.USDC_e, Tokens.USDT), + lpToken: TOKEN__2CRV, + assets: TokensLib.arrayOf(TOKEN_USDC_e, TOKEN_USDT), pool: Contracts.CURVE_2CRV_POOL_ARB, trusted: false, reserve: false @@ -3955,8 +3918,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[8453].push( CurvePriceFeedData({ - lpToken: Tokens._2CRV, - assets: TokensLib.arrayOf(Tokens.USDC_e, Tokens.USDT), + lpToken: TOKEN__2CRV, + assets: TokensLib.arrayOf(TOKEN_USDC_e, TOKEN_USDT), pool: Contracts.CURVE_2CRV_POOL_ARB, trusted: false, reserve: false @@ -3966,8 +3929,8 @@ contract PriceFeedDataLive { // ------------------------ 3c-crvUSD ------------------------ curveCryptoPriceFeedsByNetwork[1].push( CurvePriceFeedData({ - lpToken: Tokens._3c_crvUSD, - assets: TokensLib.arrayOf(Tokens.crvUSD, Tokens.WBTC, Tokens.WETH), + lpToken: TOKEN__3c_crvUSD, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_WBTC, TOKEN_WETH), pool: Contracts.CURVE_TRICRYPTO_CRVUSD_POOL_ARB, trusted: false, reserve: false @@ -3975,8 +3938,8 @@ contract PriceFeedDataLive { ); curveCryptoPriceFeedsByNetwork[42161].push( CurvePriceFeedData({ - lpToken: Tokens._3c_crvUSD, - assets: TokensLib.arrayOf(Tokens.crvUSD, Tokens.WBTC, Tokens.WETH), + lpToken: TOKEN__3c_crvUSD, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_WBTC, TOKEN_WETH), pool: Contracts.CURVE_TRICRYPTO_CRVUSD_POOL_ARB, trusted: false, reserve: false @@ -3984,8 +3947,8 @@ contract PriceFeedDataLive { ); curveCryptoPriceFeedsByNetwork[10].push( CurvePriceFeedData({ - lpToken: Tokens._3c_crvUSD, - assets: TokensLib.arrayOf(Tokens.crvUSD, Tokens.WBTC, Tokens.WETH), + lpToken: TOKEN__3c_crvUSD, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_WBTC, TOKEN_WETH), pool: Contracts.CURVE_TRICRYPTO_CRVUSD_POOL_ARB, trusted: false, reserve: false @@ -3993,8 +3956,8 @@ contract PriceFeedDataLive { ); curveCryptoPriceFeedsByNetwork[8453].push( CurvePriceFeedData({ - lpToken: Tokens._3c_crvUSD, - assets: TokensLib.arrayOf(Tokens.crvUSD, Tokens.WBTC, Tokens.WETH), + lpToken: TOKEN__3c_crvUSD, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_WBTC, TOKEN_WETH), pool: Contracts.CURVE_TRICRYPTO_CRVUSD_POOL_ARB, trusted: false, reserve: false @@ -4004,8 +3967,8 @@ contract PriceFeedDataLive { // ------------------------ crvUSDC ------------------------ curvePriceFeedsByNetwork[1].push( CurvePriceFeedData({ - lpToken: Tokens.crvUSDC, - assets: TokensLib.arrayOf(Tokens.crvUSD, Tokens.USDC), + lpToken: TOKEN_crvUSDC, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDC), pool: Contracts.CURVE_CRVUSD_USDC_POOL_ARB, trusted: false, reserve: false @@ -4013,8 +3976,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[42161].push( CurvePriceFeedData({ - lpToken: Tokens.crvUSDC, - assets: TokensLib.arrayOf(Tokens.crvUSD, Tokens.USDC), + lpToken: TOKEN_crvUSDC, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDC), pool: Contracts.CURVE_CRVUSD_USDC_POOL_ARB, trusted: false, reserve: false @@ -4022,8 +3985,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[10].push( CurvePriceFeedData({ - lpToken: Tokens.crvUSDC, - assets: TokensLib.arrayOf(Tokens.crvUSD, Tokens.USDC), + lpToken: TOKEN_crvUSDC, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDC), pool: Contracts.CURVE_CRVUSD_USDC_POOL_ARB, trusted: false, reserve: false @@ -4031,8 +3994,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[8453].push( CurvePriceFeedData({ - lpToken: Tokens.crvUSDC, - assets: TokensLib.arrayOf(Tokens.crvUSD, Tokens.USDC), + lpToken: TOKEN_crvUSDC, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDC), pool: Contracts.CURVE_CRVUSD_USDC_POOL_ARB, trusted: false, reserve: false @@ -4042,8 +4005,8 @@ contract PriceFeedDataLive { // ------------------------ crvUSDC_e ------------------------ curvePriceFeedsByNetwork[1].push( CurvePriceFeedData({ - lpToken: Tokens.crvUSDC_e, - assets: TokensLib.arrayOf(Tokens.crvUSD, Tokens.USDC_e), + lpToken: TOKEN_crvUSDC_e, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDC_e), pool: Contracts.CURVE_CRVUSD_USDC_E_POOL_ARB, trusted: false, reserve: false @@ -4051,8 +4014,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[42161].push( CurvePriceFeedData({ - lpToken: Tokens.crvUSDC_e, - assets: TokensLib.arrayOf(Tokens.crvUSD, Tokens.USDC_e), + lpToken: TOKEN_crvUSDC_e, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDC_e), pool: Contracts.CURVE_CRVUSD_USDC_E_POOL_ARB, trusted: false, reserve: false @@ -4060,8 +4023,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[10].push( CurvePriceFeedData({ - lpToken: Tokens.crvUSDC_e, - assets: TokensLib.arrayOf(Tokens.crvUSD, Tokens.USDC_e), + lpToken: TOKEN_crvUSDC_e, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDC_e), pool: Contracts.CURVE_CRVUSD_USDC_E_POOL_ARB, trusted: false, reserve: false @@ -4069,8 +4032,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[8453].push( CurvePriceFeedData({ - lpToken: Tokens.crvUSDC_e, - assets: TokensLib.arrayOf(Tokens.crvUSD, Tokens.USDC_e), + lpToken: TOKEN_crvUSDC_e, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDC_e), pool: Contracts.CURVE_CRVUSD_USDC_E_POOL_ARB, trusted: false, reserve: false @@ -4080,8 +4043,8 @@ contract PriceFeedDataLive { // ------------------------ USDEUSDC ------------------------ curvePriceFeedsByNetwork[1].push( CurvePriceFeedData({ - lpToken: Tokens.USDEUSDC, - assets: TokensLib.arrayOf(Tokens.USDC, Tokens.USDe), + lpToken: TOKEN_USDEUSDC, + assets: TokensLib.arrayOf(TOKEN_USDC, TOKEN_USDe), pool: Contracts.CURVE_USDE_USDC_POOL_ARB, trusted: false, reserve: false @@ -4089,8 +4052,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[42161].push( CurvePriceFeedData({ - lpToken: Tokens.USDEUSDC, - assets: TokensLib.arrayOf(Tokens.USDC, Tokens.USDe), + lpToken: TOKEN_USDEUSDC, + assets: TokensLib.arrayOf(TOKEN_USDC, TOKEN_USDe), pool: Contracts.CURVE_USDE_USDC_POOL_ARB, trusted: false, reserve: false @@ -4098,8 +4061,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[10].push( CurvePriceFeedData({ - lpToken: Tokens.USDEUSDC, - assets: TokensLib.arrayOf(Tokens.USDC, Tokens.USDe), + lpToken: TOKEN_USDEUSDC, + assets: TokensLib.arrayOf(TOKEN_USDC, TOKEN_USDe), pool: Contracts.CURVE_USDE_USDC_POOL_ARB, trusted: false, reserve: false @@ -4107,8 +4070,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[8453].push( CurvePriceFeedData({ - lpToken: Tokens.USDEUSDC, - assets: TokensLib.arrayOf(Tokens.USDC, Tokens.USDe), + lpToken: TOKEN_USDEUSDC, + assets: TokensLib.arrayOf(TOKEN_USDC, TOKEN_USDe), pool: Contracts.CURVE_USDE_USDC_POOL_ARB, trusted: false, reserve: false @@ -4117,77 +4080,73 @@ contract PriceFeedDataLive { // ------------------------ ezETHWETH ------------------------ zeroPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: Tokens.ezETHWETH, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_ezETHWETH, trusted: false, reserve: false}) ); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.ezETHWETH, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_ezETHWETH, trusted: false, reserve: false}) ); zeroPriceFeedsByNetwork[10].push( - SingeTokenPriceFeedData({token: Tokens.ezETHWETH, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_ezETHWETH, trusted: false, reserve: false}) ); zeroPriceFeedsByNetwork[8453].push( - SingeTokenPriceFeedData({token: Tokens.ezETHWETH, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_ezETHWETH, trusted: false, reserve: false}) ); // ------------------------ ezpzETH ------------------------ - zeroPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: Tokens.ezpzETH, trusted: false, reserve: false}) - ); + zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_ezpzETH, trusted: false, reserve: false})); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.ezpzETH, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_ezpzETH, trusted: false, reserve: false}) ); zeroPriceFeedsByNetwork[10].push( - SingeTokenPriceFeedData({token: Tokens.ezpzETH, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_ezpzETH, trusted: false, reserve: false}) ); zeroPriceFeedsByNetwork[8453].push( - SingeTokenPriceFeedData({token: Tokens.ezpzETH, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_ezpzETH, trusted: false, reserve: false}) ); // ------------------------ LBTCWBTC ------------------------ zeroPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: Tokens.LBTCWBTC, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_LBTCWBTC, trusted: false, reserve: false}) ); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.LBTCWBTC, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_LBTCWBTC, trusted: false, reserve: false}) ); zeroPriceFeedsByNetwork[10].push( - SingeTokenPriceFeedData({token: Tokens.LBTCWBTC, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_LBTCWBTC, trusted: false, reserve: false}) ); zeroPriceFeedsByNetwork[8453].push( - SingeTokenPriceFeedData({token: Tokens.LBTCWBTC, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_LBTCWBTC, trusted: false, reserve: false}) ); // ------------------------ eBTCWBTC ------------------------ zeroPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: Tokens.eBTCWBTC, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_eBTCWBTC, trusted: false, reserve: false}) ); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.eBTCWBTC, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_eBTCWBTC, trusted: false, reserve: false}) ); zeroPriceFeedsByNetwork[10].push( - SingeTokenPriceFeedData({token: Tokens.eBTCWBTC, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_eBTCWBTC, trusted: false, reserve: false}) ); zeroPriceFeedsByNetwork[8453].push( - SingeTokenPriceFeedData({token: Tokens.eBTCWBTC, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_eBTCWBTC, trusted: false, reserve: false}) ); // ------------------------ TriBTC ------------------------ - zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: Tokens.TriBTC, trusted: false, reserve: false})); + zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_TriBTC, trusted: false, reserve: false})); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.TriBTC, trusted: false, reserve: false}) - ); - zeroPriceFeedsByNetwork[10].push( - SingeTokenPriceFeedData({token: Tokens.TriBTC, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_TriBTC, trusted: false, reserve: false}) ); + zeroPriceFeedsByNetwork[10].push(SingeTokenPriceFeedData({token: TOKEN_TriBTC, trusted: false, reserve: false})); zeroPriceFeedsByNetwork[8453].push( - SingeTokenPriceFeedData({token: Tokens.TriBTC, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_TriBTC, trusted: false, reserve: false}) ); // ------------------------ 3CRV ------------------------ curvePriceFeedsByNetwork[1].push( CurvePriceFeedData({ - lpToken: Tokens._3CRV, - assets: TokensLib.arrayOf(Tokens.DAI, Tokens.USDC_e, Tokens.USDT), + lpToken: TOKEN__3CRV, + assets: TokensLib.arrayOf(TOKEN_DAI, TOKEN_USDC_e, TOKEN_USDT), pool: Contracts.CURVE_3CRV_POOL_OP, trusted: false, reserve: false @@ -4195,8 +4154,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[42161].push( CurvePriceFeedData({ - lpToken: Tokens._3CRV, - assets: TokensLib.arrayOf(Tokens.DAI, Tokens.USDC_e, Tokens.USDT), + lpToken: TOKEN__3CRV, + assets: TokensLib.arrayOf(TOKEN_DAI, TOKEN_USDC_e, TOKEN_USDT), pool: Contracts.CURVE_3CRV_POOL_OP, trusted: false, reserve: false @@ -4204,8 +4163,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[10].push( CurvePriceFeedData({ - lpToken: Tokens._3CRV, - assets: TokensLib.arrayOf(Tokens.DAI, Tokens.USDC_e, Tokens.USDT), + lpToken: TOKEN__3CRV, + assets: TokensLib.arrayOf(TOKEN_DAI, TOKEN_USDC_e, TOKEN_USDT), pool: Contracts.CURVE_3CRV_POOL_OP, trusted: false, reserve: false @@ -4213,8 +4172,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[8453].push( CurvePriceFeedData({ - lpToken: Tokens._3CRV, - assets: TokensLib.arrayOf(Tokens.DAI, Tokens.USDC_e, Tokens.USDT), + lpToken: TOKEN__3CRV, + assets: TokensLib.arrayOf(TOKEN_DAI, TOKEN_USDC_e, TOKEN_USDT), pool: Contracts.CURVE_3CRV_POOL_OP, trusted: false, reserve: false @@ -4224,8 +4183,8 @@ contract PriceFeedDataLive { // ------------------------ crvUSDT ------------------------ curvePriceFeedsByNetwork[1].push( CurvePriceFeedData({ - lpToken: Tokens.crvUSDT, - assets: TokensLib.arrayOf(Tokens.crvUSD, Tokens.USDT), + lpToken: TOKEN_crvUSDT, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDT), pool: Contracts.CURVE_CRVUSD_USDT_POOL_ARB, trusted: false, reserve: false @@ -4233,8 +4192,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[42161].push( CurvePriceFeedData({ - lpToken: Tokens.crvUSDT, - assets: TokensLib.arrayOf(Tokens.crvUSD, Tokens.USDT), + lpToken: TOKEN_crvUSDT, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDT), pool: Contracts.CURVE_CRVUSD_USDT_POOL_ARB, trusted: false, reserve: false @@ -4242,8 +4201,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[10].push( CurvePriceFeedData({ - lpToken: Tokens.crvUSDT, - assets: TokensLib.arrayOf(Tokens.crvUSD, Tokens.USDT), + lpToken: TOKEN_crvUSDT, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDT), pool: Contracts.CURVE_CRVUSD_USDT_POOL_ARB, trusted: false, reserve: false @@ -4251,8 +4210,8 @@ contract PriceFeedDataLive { ); curvePriceFeedsByNetwork[8453].push( CurvePriceFeedData({ - lpToken: Tokens.crvUSDT, - assets: TokensLib.arrayOf(Tokens.crvUSD, Tokens.USDT), + lpToken: TOKEN_crvUSDT, + assets: TokensLib.arrayOf(TOKEN_crvUSD, TOKEN_USDT), pool: Contracts.CURVE_CRVUSD_USDT_POOL_ARB, trusted: false, reserve: false @@ -4261,61 +4220,61 @@ contract PriceFeedDataLive { // ------------------------ yvCurve_stETH ------------------------ yearnPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: Tokens.yvCurve_stETH, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_yvCurve_stETH, trusted: false, reserve: false}) ); yearnPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.yvCurve_stETH, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_yvCurve_stETH, trusted: false, reserve: false}) ); yearnPriceFeedsByNetwork[10].push( - SingeTokenPriceFeedData({token: Tokens.yvCurve_stETH, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_yvCurve_stETH, trusted: false, reserve: false}) ); yearnPriceFeedsByNetwork[8453].push( - SingeTokenPriceFeedData({token: Tokens.yvCurve_stETH, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_yvCurve_stETH, trusted: false, reserve: false}) ); // ------------------------ yvCurve_FRAX ------------------------ yearnPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: Tokens.yvCurve_FRAX, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_yvCurve_FRAX, trusted: false, reserve: false}) ); yearnPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.yvCurve_FRAX, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_yvCurve_FRAX, trusted: false, reserve: false}) ); yearnPriceFeedsByNetwork[10].push( - SingeTokenPriceFeedData({token: Tokens.yvCurve_FRAX, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_yvCurve_FRAX, trusted: false, reserve: false}) ); yearnPriceFeedsByNetwork[8453].push( - SingeTokenPriceFeedData({token: Tokens.yvCurve_FRAX, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_yvCurve_FRAX, trusted: false, reserve: false}) ); // ------------------------ cvx3Crv ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.cvx3Crv, - tokenHasSamePriceFeed: Tokens._3Crv, + token: TOKEN_cvx3Crv, + tokenHasSamePriceFeed: TOKEN__3Crv, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.cvx3Crv, - tokenHasSamePriceFeed: Tokens._3Crv, + token: TOKEN_cvx3Crv, + tokenHasSamePriceFeed: TOKEN__3Crv, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.cvx3Crv, - tokenHasSamePriceFeed: Tokens._3Crv, + token: TOKEN_cvx3Crv, + tokenHasSamePriceFeed: TOKEN__3Crv, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.cvx3Crv, - tokenHasSamePriceFeed: Tokens._3Crv, + token: TOKEN_cvx3Crv, + tokenHasSamePriceFeed: TOKEN__3Crv, trusted: false, reserve: false }) @@ -4324,32 +4283,32 @@ contract PriceFeedDataLive { // ------------------------ cvxcrvFRAX ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.cvxcrvFRAX, - tokenHasSamePriceFeed: Tokens.crvFRAX, + token: TOKEN_cvxcrvFRAX, + tokenHasSamePriceFeed: TOKEN_crvFRAX, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.cvxcrvFRAX, - tokenHasSamePriceFeed: Tokens.crvFRAX, + token: TOKEN_cvxcrvFRAX, + tokenHasSamePriceFeed: TOKEN_crvFRAX, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.cvxcrvFRAX, - tokenHasSamePriceFeed: Tokens.crvFRAX, + token: TOKEN_cvxcrvFRAX, + tokenHasSamePriceFeed: TOKEN_crvFRAX, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.cvxcrvFRAX, - tokenHasSamePriceFeed: Tokens.crvFRAX, + token: TOKEN_cvxcrvFRAX, + tokenHasSamePriceFeed: TOKEN_crvFRAX, trusted: false, reserve: false }) @@ -4358,32 +4317,32 @@ contract PriceFeedDataLive { // ------------------------ cvxsteCRV ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.cvxsteCRV, - tokenHasSamePriceFeed: Tokens.steCRV, + token: TOKEN_cvxsteCRV, + tokenHasSamePriceFeed: TOKEN_steCRV, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.cvxsteCRV, - tokenHasSamePriceFeed: Tokens.steCRV, + token: TOKEN_cvxsteCRV, + tokenHasSamePriceFeed: TOKEN_steCRV, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.cvxsteCRV, - tokenHasSamePriceFeed: Tokens.steCRV, + token: TOKEN_cvxsteCRV, + tokenHasSamePriceFeed: TOKEN_steCRV, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.cvxsteCRV, - tokenHasSamePriceFeed: Tokens.steCRV, + token: TOKEN_cvxsteCRV, + tokenHasSamePriceFeed: TOKEN_steCRV, trusted: false, reserve: false }) @@ -4392,32 +4351,32 @@ contract PriceFeedDataLive { // ------------------------ cvxFRAX3CRV ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.cvxFRAX3CRV, - tokenHasSamePriceFeed: Tokens.FRAX3CRV, + token: TOKEN_cvxFRAX3CRV, + tokenHasSamePriceFeed: TOKEN_FRAX3CRV, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.cvxFRAX3CRV, - tokenHasSamePriceFeed: Tokens.FRAX3CRV, + token: TOKEN_cvxFRAX3CRV, + tokenHasSamePriceFeed: TOKEN_FRAX3CRV, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.cvxFRAX3CRV, - tokenHasSamePriceFeed: Tokens.FRAX3CRV, + token: TOKEN_cvxFRAX3CRV, + tokenHasSamePriceFeed: TOKEN_FRAX3CRV, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.cvxFRAX3CRV, - tokenHasSamePriceFeed: Tokens.FRAX3CRV, + token: TOKEN_cvxFRAX3CRV, + tokenHasSamePriceFeed: TOKEN_FRAX3CRV, trusted: false, reserve: false }) @@ -4426,32 +4385,32 @@ contract PriceFeedDataLive { // ------------------------ cvxLUSD3CRV ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.cvxLUSD3CRV, - tokenHasSamePriceFeed: Tokens.LUSD3CRV, + token: TOKEN_cvxLUSD3CRV, + tokenHasSamePriceFeed: TOKEN_LUSD3CRV, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.cvxLUSD3CRV, - tokenHasSamePriceFeed: Tokens.LUSD3CRV, + token: TOKEN_cvxLUSD3CRV, + tokenHasSamePriceFeed: TOKEN_LUSD3CRV, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.cvxLUSD3CRV, - tokenHasSamePriceFeed: Tokens.LUSD3CRV, + token: TOKEN_cvxLUSD3CRV, + tokenHasSamePriceFeed: TOKEN_LUSD3CRV, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.cvxLUSD3CRV, - tokenHasSamePriceFeed: Tokens.LUSD3CRV, + token: TOKEN_cvxLUSD3CRV, + tokenHasSamePriceFeed: TOKEN_LUSD3CRV, trusted: false, reserve: false }) @@ -4460,32 +4419,32 @@ contract PriceFeedDataLive { // ------------------------ cvxcrvPlain3andSUSD ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.cvxcrvPlain3andSUSD, - tokenHasSamePriceFeed: Tokens.crvPlain3andSUSD, + token: TOKEN_cvxcrvPlain3andSUSD, + tokenHasSamePriceFeed: TOKEN_crvPlain3andSUSD, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.cvxcrvPlain3andSUSD, - tokenHasSamePriceFeed: Tokens.crvPlain3andSUSD, + token: TOKEN_cvxcrvPlain3andSUSD, + tokenHasSamePriceFeed: TOKEN_crvPlain3andSUSD, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.cvxcrvPlain3andSUSD, - tokenHasSamePriceFeed: Tokens.crvPlain3andSUSD, + token: TOKEN_cvxcrvPlain3andSUSD, + tokenHasSamePriceFeed: TOKEN_crvPlain3andSUSD, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.cvxcrvPlain3andSUSD, - tokenHasSamePriceFeed: Tokens.crvPlain3andSUSD, + token: TOKEN_cvxcrvPlain3andSUSD, + tokenHasSamePriceFeed: TOKEN_crvPlain3andSUSD, trusted: false, reserve: false }) @@ -4494,32 +4453,32 @@ contract PriceFeedDataLive { // ------------------------ cvxgusd3CRV ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.cvxgusd3CRV, - tokenHasSamePriceFeed: Tokens.gusd3CRV, + token: TOKEN_cvxgusd3CRV, + tokenHasSamePriceFeed: TOKEN_gusd3CRV, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.cvxgusd3CRV, - tokenHasSamePriceFeed: Tokens.gusd3CRV, + token: TOKEN_cvxgusd3CRV, + tokenHasSamePriceFeed: TOKEN_gusd3CRV, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.cvxgusd3CRV, - tokenHasSamePriceFeed: Tokens.gusd3CRV, + token: TOKEN_cvxgusd3CRV, + tokenHasSamePriceFeed: TOKEN_gusd3CRV, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.cvxgusd3CRV, - tokenHasSamePriceFeed: Tokens.gusd3CRV, + token: TOKEN_cvxgusd3CRV, + tokenHasSamePriceFeed: TOKEN_gusd3CRV, trusted: false, reserve: false }) @@ -4528,32 +4487,32 @@ contract PriceFeedDataLive { // ------------------------ cvxOHMFRAXBP ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.cvxOHMFRAXBP, - tokenHasSamePriceFeed: Tokens.OHMFRAXBP, + token: TOKEN_cvxOHMFRAXBP, + tokenHasSamePriceFeed: TOKEN_OHMFRAXBP, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.cvxOHMFRAXBP, - tokenHasSamePriceFeed: Tokens.OHMFRAXBP, + token: TOKEN_cvxOHMFRAXBP, + tokenHasSamePriceFeed: TOKEN_OHMFRAXBP, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.cvxOHMFRAXBP, - tokenHasSamePriceFeed: Tokens.OHMFRAXBP, + token: TOKEN_cvxOHMFRAXBP, + tokenHasSamePriceFeed: TOKEN_OHMFRAXBP, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.cvxOHMFRAXBP, - tokenHasSamePriceFeed: Tokens.OHMFRAXBP, + token: TOKEN_cvxOHMFRAXBP, + tokenHasSamePriceFeed: TOKEN_OHMFRAXBP, trusted: false, reserve: false }) @@ -4562,32 +4521,32 @@ contract PriceFeedDataLive { // ------------------------ cvxMIM_3LP3CRV ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.cvxMIM_3LP3CRV, - tokenHasSamePriceFeed: Tokens.MIM_3LP3CRV, + token: TOKEN_cvxMIM_3LP3CRV, + tokenHasSamePriceFeed: TOKEN_MIM_3LP3CRV, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.cvxMIM_3LP3CRV, - tokenHasSamePriceFeed: Tokens.MIM_3LP3CRV, + token: TOKEN_cvxMIM_3LP3CRV, + tokenHasSamePriceFeed: TOKEN_MIM_3LP3CRV, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.cvxMIM_3LP3CRV, - tokenHasSamePriceFeed: Tokens.MIM_3LP3CRV, + token: TOKEN_cvxMIM_3LP3CRV, + tokenHasSamePriceFeed: TOKEN_MIM_3LP3CRV, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.cvxMIM_3LP3CRV, - tokenHasSamePriceFeed: Tokens.MIM_3LP3CRV, + token: TOKEN_cvxMIM_3LP3CRV, + tokenHasSamePriceFeed: TOKEN_MIM_3LP3CRV, trusted: false, reserve: false }) @@ -4596,32 +4555,32 @@ contract PriceFeedDataLive { // ------------------------ cvxcrvCRVETH ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.cvxcrvCRVETH, - tokenHasSamePriceFeed: Tokens.crvCRVETH, + token: TOKEN_cvxcrvCRVETH, + tokenHasSamePriceFeed: TOKEN_crvCRVETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.cvxcrvCRVETH, - tokenHasSamePriceFeed: Tokens.crvCRVETH, + token: TOKEN_cvxcrvCRVETH, + tokenHasSamePriceFeed: TOKEN_crvCRVETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.cvxcrvCRVETH, - tokenHasSamePriceFeed: Tokens.crvCRVETH, + token: TOKEN_cvxcrvCRVETH, + tokenHasSamePriceFeed: TOKEN_crvCRVETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.cvxcrvCRVETH, - tokenHasSamePriceFeed: Tokens.crvCRVETH, + token: TOKEN_cvxcrvCRVETH, + tokenHasSamePriceFeed: TOKEN_crvCRVETH, trusted: false, reserve: false }) @@ -4630,32 +4589,32 @@ contract PriceFeedDataLive { // ------------------------ cvxcrvCVXETH ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.cvxcrvCVXETH, - tokenHasSamePriceFeed: Tokens.crvCVXETH, + token: TOKEN_cvxcrvCVXETH, + tokenHasSamePriceFeed: TOKEN_crvCVXETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.cvxcrvCVXETH, - tokenHasSamePriceFeed: Tokens.crvCVXETH, + token: TOKEN_cvxcrvCVXETH, + tokenHasSamePriceFeed: TOKEN_crvCVXETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.cvxcrvCVXETH, - tokenHasSamePriceFeed: Tokens.crvCVXETH, + token: TOKEN_cvxcrvCVXETH, + tokenHasSamePriceFeed: TOKEN_crvCVXETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.cvxcrvCVXETH, - tokenHasSamePriceFeed: Tokens.crvCVXETH, + token: TOKEN_cvxcrvCVXETH, + tokenHasSamePriceFeed: TOKEN_crvCVXETH, trusted: false, reserve: false }) @@ -4664,32 +4623,32 @@ contract PriceFeedDataLive { // ------------------------ cvxcrvUSDTWBTCWETH ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.cvxcrvUSDTWBTCWETH, - tokenHasSamePriceFeed: Tokens.crvUSDTWBTCWETH, + token: TOKEN_cvxcrvUSDTWBTCWETH, + tokenHasSamePriceFeed: TOKEN_crvUSDTWBTCWETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.cvxcrvUSDTWBTCWETH, - tokenHasSamePriceFeed: Tokens.crvUSDTWBTCWETH, + token: TOKEN_cvxcrvUSDTWBTCWETH, + tokenHasSamePriceFeed: TOKEN_crvUSDTWBTCWETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.cvxcrvUSDTWBTCWETH, - tokenHasSamePriceFeed: Tokens.crvUSDTWBTCWETH, + token: TOKEN_cvxcrvUSDTWBTCWETH, + tokenHasSamePriceFeed: TOKEN_crvUSDTWBTCWETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.cvxcrvUSDTWBTCWETH, - tokenHasSamePriceFeed: Tokens.crvUSDTWBTCWETH, + token: TOKEN_cvxcrvUSDTWBTCWETH, + tokenHasSamePriceFeed: TOKEN_crvUSDTWBTCWETH, trusted: false, reserve: false }) @@ -4698,32 +4657,32 @@ contract PriceFeedDataLive { // ------------------------ cvxLDOETH ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.cvxLDOETH, - tokenHasSamePriceFeed: Tokens.LDOETH, + token: TOKEN_cvxLDOETH, + tokenHasSamePriceFeed: TOKEN_LDOETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.cvxLDOETH, - tokenHasSamePriceFeed: Tokens.LDOETH, + token: TOKEN_cvxLDOETH, + tokenHasSamePriceFeed: TOKEN_LDOETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.cvxLDOETH, - tokenHasSamePriceFeed: Tokens.LDOETH, + token: TOKEN_cvxLDOETH, + tokenHasSamePriceFeed: TOKEN_LDOETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.cvxLDOETH, - tokenHasSamePriceFeed: Tokens.LDOETH, + token: TOKEN_cvxLDOETH, + tokenHasSamePriceFeed: TOKEN_LDOETH, trusted: false, reserve: false }) @@ -4732,32 +4691,32 @@ contract PriceFeedDataLive { // ------------------------ cvxcrvUSDUSDC ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.cvxcrvUSDUSDC, - tokenHasSamePriceFeed: Tokens.crvUSDUSDC, + token: TOKEN_cvxcrvUSDUSDC, + tokenHasSamePriceFeed: TOKEN_crvUSDUSDC, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.cvxcrvUSDUSDC, - tokenHasSamePriceFeed: Tokens.crvUSDUSDC, + token: TOKEN_cvxcrvUSDUSDC, + tokenHasSamePriceFeed: TOKEN_crvUSDUSDC, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.cvxcrvUSDUSDC, - tokenHasSamePriceFeed: Tokens.crvUSDUSDC, + token: TOKEN_cvxcrvUSDUSDC, + tokenHasSamePriceFeed: TOKEN_crvUSDUSDC, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.cvxcrvUSDUSDC, - tokenHasSamePriceFeed: Tokens.crvUSDUSDC, + token: TOKEN_cvxcrvUSDUSDC, + tokenHasSamePriceFeed: TOKEN_crvUSDUSDC, trusted: false, reserve: false }) @@ -4766,32 +4725,32 @@ contract PriceFeedDataLive { // ------------------------ cvxcrvUSDUSDT ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.cvxcrvUSDUSDT, - tokenHasSamePriceFeed: Tokens.crvUSDUSDT, + token: TOKEN_cvxcrvUSDUSDT, + tokenHasSamePriceFeed: TOKEN_crvUSDUSDT, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.cvxcrvUSDUSDT, - tokenHasSamePriceFeed: Tokens.crvUSDUSDT, + token: TOKEN_cvxcrvUSDUSDT, + tokenHasSamePriceFeed: TOKEN_crvUSDUSDT, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.cvxcrvUSDUSDT, - tokenHasSamePriceFeed: Tokens.crvUSDUSDT, + token: TOKEN_cvxcrvUSDUSDT, + tokenHasSamePriceFeed: TOKEN_crvUSDUSDT, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.cvxcrvUSDUSDT, - tokenHasSamePriceFeed: Tokens.crvUSDUSDT, + token: TOKEN_cvxcrvUSDUSDT, + tokenHasSamePriceFeed: TOKEN_crvUSDUSDT, trusted: false, reserve: false }) @@ -4800,32 +4759,32 @@ contract PriceFeedDataLive { // ------------------------ cvxcrvUSDFRAX ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.cvxcrvUSDFRAX, - tokenHasSamePriceFeed: Tokens.crvUSDFRAX, + token: TOKEN_cvxcrvUSDFRAX, + tokenHasSamePriceFeed: TOKEN_crvUSDFRAX, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.cvxcrvUSDFRAX, - tokenHasSamePriceFeed: Tokens.crvUSDFRAX, + token: TOKEN_cvxcrvUSDFRAX, + tokenHasSamePriceFeed: TOKEN_crvUSDFRAX, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.cvxcrvUSDFRAX, - tokenHasSamePriceFeed: Tokens.crvUSDFRAX, + token: TOKEN_cvxcrvUSDFRAX, + tokenHasSamePriceFeed: TOKEN_crvUSDFRAX, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.cvxcrvUSDFRAX, - tokenHasSamePriceFeed: Tokens.crvUSDFRAX, + token: TOKEN_cvxcrvUSDFRAX, + tokenHasSamePriceFeed: TOKEN_crvUSDFRAX, trusted: false, reserve: false }) @@ -4834,32 +4793,32 @@ contract PriceFeedDataLive { // ------------------------ cvxcrvUSDETHCRV ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.cvxcrvUSDETHCRV, - tokenHasSamePriceFeed: Tokens.crvUSDETHCRV, + token: TOKEN_cvxcrvUSDETHCRV, + tokenHasSamePriceFeed: TOKEN_crvUSDETHCRV, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.cvxcrvUSDETHCRV, - tokenHasSamePriceFeed: Tokens.crvUSDETHCRV, + token: TOKEN_cvxcrvUSDETHCRV, + tokenHasSamePriceFeed: TOKEN_crvUSDETHCRV, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.cvxcrvUSDETHCRV, - tokenHasSamePriceFeed: Tokens.crvUSDETHCRV, + token: TOKEN_cvxcrvUSDETHCRV, + tokenHasSamePriceFeed: TOKEN_crvUSDETHCRV, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.cvxcrvUSDETHCRV, - tokenHasSamePriceFeed: Tokens.crvUSDETHCRV, + token: TOKEN_cvxcrvUSDETHCRV, + tokenHasSamePriceFeed: TOKEN_crvUSDETHCRV, trusted: false, reserve: false }) @@ -4868,32 +4827,32 @@ contract PriceFeedDataLive { // ------------------------ cvxGHOcrvUSD ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.cvxGHOcrvUSD, - tokenHasSamePriceFeed: Tokens.GHOcrvUSD, + token: TOKEN_cvxGHOcrvUSD, + tokenHasSamePriceFeed: TOKEN_GHOcrvUSD, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.cvxGHOcrvUSD, - tokenHasSamePriceFeed: Tokens.GHOcrvUSD, + token: TOKEN_cvxGHOcrvUSD, + tokenHasSamePriceFeed: TOKEN_GHOcrvUSD, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.cvxGHOcrvUSD, - tokenHasSamePriceFeed: Tokens.GHOcrvUSD, + token: TOKEN_cvxGHOcrvUSD, + tokenHasSamePriceFeed: TOKEN_GHOcrvUSD, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.cvxGHOcrvUSD, - tokenHasSamePriceFeed: Tokens.GHOcrvUSD, + token: TOKEN_cvxGHOcrvUSD, + tokenHasSamePriceFeed: TOKEN_GHOcrvUSD, trusted: false, reserve: false }) @@ -4902,32 +4861,32 @@ contract PriceFeedDataLive { // ------------------------ stkcvx3Crv ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.stkcvx3Crv, - tokenHasSamePriceFeed: Tokens._3Crv, + token: TOKEN_stkcvx3Crv, + tokenHasSamePriceFeed: TOKEN__3Crv, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.stkcvx3Crv, - tokenHasSamePriceFeed: Tokens._3Crv, + token: TOKEN_stkcvx3Crv, + tokenHasSamePriceFeed: TOKEN__3Crv, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.stkcvx3Crv, - tokenHasSamePriceFeed: Tokens._3Crv, + token: TOKEN_stkcvx3Crv, + tokenHasSamePriceFeed: TOKEN__3Crv, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.stkcvx3Crv, - tokenHasSamePriceFeed: Tokens._3Crv, + token: TOKEN_stkcvx3Crv, + tokenHasSamePriceFeed: TOKEN__3Crv, trusted: false, reserve: false }) @@ -4936,32 +4895,32 @@ contract PriceFeedDataLive { // ------------------------ stkcvxcrvFRAX ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvFRAX, - tokenHasSamePriceFeed: Tokens.crvFRAX, + token: TOKEN_stkcvxcrvFRAX, + tokenHasSamePriceFeed: TOKEN_crvFRAX, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvFRAX, - tokenHasSamePriceFeed: Tokens.crvFRAX, + token: TOKEN_stkcvxcrvFRAX, + tokenHasSamePriceFeed: TOKEN_crvFRAX, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvFRAX, - tokenHasSamePriceFeed: Tokens.crvFRAX, + token: TOKEN_stkcvxcrvFRAX, + tokenHasSamePriceFeed: TOKEN_crvFRAX, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvFRAX, - tokenHasSamePriceFeed: Tokens.crvFRAX, + token: TOKEN_stkcvxcrvFRAX, + tokenHasSamePriceFeed: TOKEN_crvFRAX, trusted: false, reserve: false }) @@ -4970,32 +4929,32 @@ contract PriceFeedDataLive { // ------------------------ stkcvxsteCRV ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.stkcvxsteCRV, - tokenHasSamePriceFeed: Tokens.steCRV, + token: TOKEN_stkcvxsteCRV, + tokenHasSamePriceFeed: TOKEN_steCRV, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.stkcvxsteCRV, - tokenHasSamePriceFeed: Tokens.steCRV, + token: TOKEN_stkcvxsteCRV, + tokenHasSamePriceFeed: TOKEN_steCRV, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.stkcvxsteCRV, - tokenHasSamePriceFeed: Tokens.steCRV, + token: TOKEN_stkcvxsteCRV, + tokenHasSamePriceFeed: TOKEN_steCRV, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.stkcvxsteCRV, - tokenHasSamePriceFeed: Tokens.steCRV, + token: TOKEN_stkcvxsteCRV, + tokenHasSamePriceFeed: TOKEN_steCRV, trusted: false, reserve: false }) @@ -5004,32 +4963,32 @@ contract PriceFeedDataLive { // ------------------------ stkcvxFRAX3CRV ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.stkcvxFRAX3CRV, - tokenHasSamePriceFeed: Tokens.FRAX3CRV, + token: TOKEN_stkcvxFRAX3CRV, + tokenHasSamePriceFeed: TOKEN_FRAX3CRV, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.stkcvxFRAX3CRV, - tokenHasSamePriceFeed: Tokens.FRAX3CRV, + token: TOKEN_stkcvxFRAX3CRV, + tokenHasSamePriceFeed: TOKEN_FRAX3CRV, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.stkcvxFRAX3CRV, - tokenHasSamePriceFeed: Tokens.FRAX3CRV, + token: TOKEN_stkcvxFRAX3CRV, + tokenHasSamePriceFeed: TOKEN_FRAX3CRV, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.stkcvxFRAX3CRV, - tokenHasSamePriceFeed: Tokens.FRAX3CRV, + token: TOKEN_stkcvxFRAX3CRV, + tokenHasSamePriceFeed: TOKEN_FRAX3CRV, trusted: false, reserve: false }) @@ -5038,32 +4997,32 @@ contract PriceFeedDataLive { // ------------------------ stkcvxLUSD3CRV ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.stkcvxLUSD3CRV, - tokenHasSamePriceFeed: Tokens.LUSD3CRV, + token: TOKEN_stkcvxLUSD3CRV, + tokenHasSamePriceFeed: TOKEN_LUSD3CRV, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.stkcvxLUSD3CRV, - tokenHasSamePriceFeed: Tokens.LUSD3CRV, + token: TOKEN_stkcvxLUSD3CRV, + tokenHasSamePriceFeed: TOKEN_LUSD3CRV, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.stkcvxLUSD3CRV, - tokenHasSamePriceFeed: Tokens.LUSD3CRV, + token: TOKEN_stkcvxLUSD3CRV, + tokenHasSamePriceFeed: TOKEN_LUSD3CRV, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.stkcvxLUSD3CRV, - tokenHasSamePriceFeed: Tokens.LUSD3CRV, + token: TOKEN_stkcvxLUSD3CRV, + tokenHasSamePriceFeed: TOKEN_LUSD3CRV, trusted: false, reserve: false }) @@ -5072,32 +5031,32 @@ contract PriceFeedDataLive { // ------------------------ stkcvxcrvPlain3andSUSD ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvPlain3andSUSD, - tokenHasSamePriceFeed: Tokens.crvPlain3andSUSD, + token: TOKEN_stkcvxcrvPlain3andSUSD, + tokenHasSamePriceFeed: TOKEN_crvPlain3andSUSD, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvPlain3andSUSD, - tokenHasSamePriceFeed: Tokens.crvPlain3andSUSD, + token: TOKEN_stkcvxcrvPlain3andSUSD, + tokenHasSamePriceFeed: TOKEN_crvPlain3andSUSD, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvPlain3andSUSD, - tokenHasSamePriceFeed: Tokens.crvPlain3andSUSD, + token: TOKEN_stkcvxcrvPlain3andSUSD, + tokenHasSamePriceFeed: TOKEN_crvPlain3andSUSD, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvPlain3andSUSD, - tokenHasSamePriceFeed: Tokens.crvPlain3andSUSD, + token: TOKEN_stkcvxcrvPlain3andSUSD, + tokenHasSamePriceFeed: TOKEN_crvPlain3andSUSD, trusted: false, reserve: false }) @@ -5106,32 +5065,32 @@ contract PriceFeedDataLive { // ------------------------ stkcvxgusd3CRV ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.stkcvxgusd3CRV, - tokenHasSamePriceFeed: Tokens.gusd3CRV, + token: TOKEN_stkcvxgusd3CRV, + tokenHasSamePriceFeed: TOKEN_gusd3CRV, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.stkcvxgusd3CRV, - tokenHasSamePriceFeed: Tokens.gusd3CRV, + token: TOKEN_stkcvxgusd3CRV, + tokenHasSamePriceFeed: TOKEN_gusd3CRV, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.stkcvxgusd3CRV, - tokenHasSamePriceFeed: Tokens.gusd3CRV, + token: TOKEN_stkcvxgusd3CRV, + tokenHasSamePriceFeed: TOKEN_gusd3CRV, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.stkcvxgusd3CRV, - tokenHasSamePriceFeed: Tokens.gusd3CRV, + token: TOKEN_stkcvxgusd3CRV, + tokenHasSamePriceFeed: TOKEN_gusd3CRV, trusted: false, reserve: false }) @@ -5140,32 +5099,32 @@ contract PriceFeedDataLive { // ------------------------ stkcvxOHMFRAXBP ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.stkcvxOHMFRAXBP, - tokenHasSamePriceFeed: Tokens.OHMFRAXBP, + token: TOKEN_stkcvxOHMFRAXBP, + tokenHasSamePriceFeed: TOKEN_OHMFRAXBP, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.stkcvxOHMFRAXBP, - tokenHasSamePriceFeed: Tokens.OHMFRAXBP, + token: TOKEN_stkcvxOHMFRAXBP, + tokenHasSamePriceFeed: TOKEN_OHMFRAXBP, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.stkcvxOHMFRAXBP, - tokenHasSamePriceFeed: Tokens.OHMFRAXBP, + token: TOKEN_stkcvxOHMFRAXBP, + tokenHasSamePriceFeed: TOKEN_OHMFRAXBP, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.stkcvxOHMFRAXBP, - tokenHasSamePriceFeed: Tokens.OHMFRAXBP, + token: TOKEN_stkcvxOHMFRAXBP, + tokenHasSamePriceFeed: TOKEN_OHMFRAXBP, trusted: false, reserve: false }) @@ -5174,32 +5133,32 @@ contract PriceFeedDataLive { // ------------------------ stkcvxMIM_3LP3CRV ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.stkcvxMIM_3LP3CRV, - tokenHasSamePriceFeed: Tokens.MIM_3LP3CRV, + token: TOKEN_stkcvxMIM_3LP3CRV, + tokenHasSamePriceFeed: TOKEN_MIM_3LP3CRV, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.stkcvxMIM_3LP3CRV, - tokenHasSamePriceFeed: Tokens.MIM_3LP3CRV, + token: TOKEN_stkcvxMIM_3LP3CRV, + tokenHasSamePriceFeed: TOKEN_MIM_3LP3CRV, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.stkcvxMIM_3LP3CRV, - tokenHasSamePriceFeed: Tokens.MIM_3LP3CRV, + token: TOKEN_stkcvxMIM_3LP3CRV, + tokenHasSamePriceFeed: TOKEN_MIM_3LP3CRV, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.stkcvxMIM_3LP3CRV, - tokenHasSamePriceFeed: Tokens.MIM_3LP3CRV, + token: TOKEN_stkcvxMIM_3LP3CRV, + tokenHasSamePriceFeed: TOKEN_MIM_3LP3CRV, trusted: false, reserve: false }) @@ -5208,32 +5167,32 @@ contract PriceFeedDataLive { // ------------------------ stkcvxcrvCRVETH ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvCRVETH, - tokenHasSamePriceFeed: Tokens.crvCRVETH, + token: TOKEN_stkcvxcrvCRVETH, + tokenHasSamePriceFeed: TOKEN_crvCRVETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvCRVETH, - tokenHasSamePriceFeed: Tokens.crvCRVETH, + token: TOKEN_stkcvxcrvCRVETH, + tokenHasSamePriceFeed: TOKEN_crvCRVETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvCRVETH, - tokenHasSamePriceFeed: Tokens.crvCRVETH, + token: TOKEN_stkcvxcrvCRVETH, + tokenHasSamePriceFeed: TOKEN_crvCRVETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvCRVETH, - tokenHasSamePriceFeed: Tokens.crvCRVETH, + token: TOKEN_stkcvxcrvCRVETH, + tokenHasSamePriceFeed: TOKEN_crvCRVETH, trusted: false, reserve: false }) @@ -5242,32 +5201,32 @@ contract PriceFeedDataLive { // ------------------------ stkcvxcrvCVXETH ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvCVXETH, - tokenHasSamePriceFeed: Tokens.crvCVXETH, + token: TOKEN_stkcvxcrvCVXETH, + tokenHasSamePriceFeed: TOKEN_crvCVXETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvCVXETH, - tokenHasSamePriceFeed: Tokens.crvCVXETH, + token: TOKEN_stkcvxcrvCVXETH, + tokenHasSamePriceFeed: TOKEN_crvCVXETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvCVXETH, - tokenHasSamePriceFeed: Tokens.crvCVXETH, + token: TOKEN_stkcvxcrvCVXETH, + tokenHasSamePriceFeed: TOKEN_crvCVXETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvCVXETH, - tokenHasSamePriceFeed: Tokens.crvCVXETH, + token: TOKEN_stkcvxcrvCVXETH, + tokenHasSamePriceFeed: TOKEN_crvCVXETH, trusted: false, reserve: false }) @@ -5276,32 +5235,32 @@ contract PriceFeedDataLive { // ------------------------ stkcvxcrvUSDTWBTCWETH ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvUSDTWBTCWETH, - tokenHasSamePriceFeed: Tokens.crvUSDTWBTCWETH, + token: TOKEN_stkcvxcrvUSDTWBTCWETH, + tokenHasSamePriceFeed: TOKEN_crvUSDTWBTCWETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvUSDTWBTCWETH, - tokenHasSamePriceFeed: Tokens.crvUSDTWBTCWETH, + token: TOKEN_stkcvxcrvUSDTWBTCWETH, + tokenHasSamePriceFeed: TOKEN_crvUSDTWBTCWETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvUSDTWBTCWETH, - tokenHasSamePriceFeed: Tokens.crvUSDTWBTCWETH, + token: TOKEN_stkcvxcrvUSDTWBTCWETH, + tokenHasSamePriceFeed: TOKEN_crvUSDTWBTCWETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvUSDTWBTCWETH, - tokenHasSamePriceFeed: Tokens.crvUSDTWBTCWETH, + token: TOKEN_stkcvxcrvUSDTWBTCWETH, + tokenHasSamePriceFeed: TOKEN_crvUSDTWBTCWETH, trusted: false, reserve: false }) @@ -5310,32 +5269,32 @@ contract PriceFeedDataLive { // ------------------------ stkcvxLDOETH ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.stkcvxLDOETH, - tokenHasSamePriceFeed: Tokens.LDOETH, + token: TOKEN_stkcvxLDOETH, + tokenHasSamePriceFeed: TOKEN_LDOETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.stkcvxLDOETH, - tokenHasSamePriceFeed: Tokens.LDOETH, + token: TOKEN_stkcvxLDOETH, + tokenHasSamePriceFeed: TOKEN_LDOETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.stkcvxLDOETH, - tokenHasSamePriceFeed: Tokens.LDOETH, + token: TOKEN_stkcvxLDOETH, + tokenHasSamePriceFeed: TOKEN_LDOETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.stkcvxLDOETH, - tokenHasSamePriceFeed: Tokens.LDOETH, + token: TOKEN_stkcvxLDOETH, + tokenHasSamePriceFeed: TOKEN_LDOETH, trusted: false, reserve: false }) @@ -5344,64 +5303,64 @@ contract PriceFeedDataLive { // ------------------------ stkcvxcrvUSDUSDC ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvUSDUSDC, - tokenHasSamePriceFeed: Tokens.crvUSDUSDC, + token: TOKEN_stkcvxcrvUSDUSDC, + tokenHasSamePriceFeed: TOKEN_crvUSDUSDC, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvUSDUSDC, - tokenHasSamePriceFeed: Tokens.crvUSDUSDC, + token: TOKEN_stkcvxcrvUSDUSDC, + tokenHasSamePriceFeed: TOKEN_crvUSDUSDC, trusted: false, reserve: true }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvUSDUSDC, - tokenHasSamePriceFeed: Tokens.crvUSDUSDC, + token: TOKEN_stkcvxcrvUSDUSDC, + tokenHasSamePriceFeed: TOKEN_crvUSDUSDC, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvUSDUSDC, - tokenHasSamePriceFeed: Tokens.crvUSDUSDC, + token: TOKEN_stkcvxcrvUSDUSDC, + tokenHasSamePriceFeed: TOKEN_crvUSDUSDC, trusted: false, reserve: true }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvUSDUSDC, - tokenHasSamePriceFeed: Tokens.crvUSDUSDC, + token: TOKEN_stkcvxcrvUSDUSDC, + tokenHasSamePriceFeed: TOKEN_crvUSDUSDC, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvUSDUSDC, - tokenHasSamePriceFeed: Tokens.crvUSDUSDC, + token: TOKEN_stkcvxcrvUSDUSDC, + tokenHasSamePriceFeed: TOKEN_crvUSDUSDC, trusted: false, reserve: true }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvUSDUSDC, - tokenHasSamePriceFeed: Tokens.crvUSDUSDC, + token: TOKEN_stkcvxcrvUSDUSDC, + tokenHasSamePriceFeed: TOKEN_crvUSDUSDC, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvUSDUSDC, - tokenHasSamePriceFeed: Tokens.crvUSDUSDC, + token: TOKEN_stkcvxcrvUSDUSDC, + tokenHasSamePriceFeed: TOKEN_crvUSDUSDC, trusted: false, reserve: true }) @@ -5410,64 +5369,64 @@ contract PriceFeedDataLive { // ------------------------ stkcvxcrvUSDUSDT ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvUSDUSDT, - tokenHasSamePriceFeed: Tokens.crvUSDUSDT, + token: TOKEN_stkcvxcrvUSDUSDT, + tokenHasSamePriceFeed: TOKEN_crvUSDUSDT, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvUSDUSDT, - tokenHasSamePriceFeed: Tokens.crvUSDUSDT, + token: TOKEN_stkcvxcrvUSDUSDT, + tokenHasSamePriceFeed: TOKEN_crvUSDUSDT, trusted: false, reserve: true }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvUSDUSDT, - tokenHasSamePriceFeed: Tokens.crvUSDUSDT, + token: TOKEN_stkcvxcrvUSDUSDT, + tokenHasSamePriceFeed: TOKEN_crvUSDUSDT, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvUSDUSDT, - tokenHasSamePriceFeed: Tokens.crvUSDUSDT, + token: TOKEN_stkcvxcrvUSDUSDT, + tokenHasSamePriceFeed: TOKEN_crvUSDUSDT, trusted: false, reserve: true }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvUSDUSDT, - tokenHasSamePriceFeed: Tokens.crvUSDUSDT, + token: TOKEN_stkcvxcrvUSDUSDT, + tokenHasSamePriceFeed: TOKEN_crvUSDUSDT, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvUSDUSDT, - tokenHasSamePriceFeed: Tokens.crvUSDUSDT, + token: TOKEN_stkcvxcrvUSDUSDT, + tokenHasSamePriceFeed: TOKEN_crvUSDUSDT, trusted: false, reserve: true }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvUSDUSDT, - tokenHasSamePriceFeed: Tokens.crvUSDUSDT, + token: TOKEN_stkcvxcrvUSDUSDT, + tokenHasSamePriceFeed: TOKEN_crvUSDUSDT, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvUSDUSDT, - tokenHasSamePriceFeed: Tokens.crvUSDUSDT, + token: TOKEN_stkcvxcrvUSDUSDT, + tokenHasSamePriceFeed: TOKEN_crvUSDUSDT, trusted: false, reserve: true }) @@ -5476,32 +5435,32 @@ contract PriceFeedDataLive { // ------------------------ stkcvxcrvUSDFRAX ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvUSDFRAX, - tokenHasSamePriceFeed: Tokens.crvUSDFRAX, + token: TOKEN_stkcvxcrvUSDFRAX, + tokenHasSamePriceFeed: TOKEN_crvUSDFRAX, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvUSDFRAX, - tokenHasSamePriceFeed: Tokens.crvUSDFRAX, + token: TOKEN_stkcvxcrvUSDFRAX, + tokenHasSamePriceFeed: TOKEN_crvUSDFRAX, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvUSDFRAX, - tokenHasSamePriceFeed: Tokens.crvUSDFRAX, + token: TOKEN_stkcvxcrvUSDFRAX, + tokenHasSamePriceFeed: TOKEN_crvUSDFRAX, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvUSDFRAX, - tokenHasSamePriceFeed: Tokens.crvUSDFRAX, + token: TOKEN_stkcvxcrvUSDFRAX, + tokenHasSamePriceFeed: TOKEN_crvUSDFRAX, trusted: false, reserve: false }) @@ -5510,32 +5469,32 @@ contract PriceFeedDataLive { // ------------------------ stkcvxcrvUSDETHCRV ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvUSDETHCRV, - tokenHasSamePriceFeed: Tokens.crvUSDETHCRV, + token: TOKEN_stkcvxcrvUSDETHCRV, + tokenHasSamePriceFeed: TOKEN_crvUSDETHCRV, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvUSDETHCRV, - tokenHasSamePriceFeed: Tokens.crvUSDETHCRV, + token: TOKEN_stkcvxcrvUSDETHCRV, + tokenHasSamePriceFeed: TOKEN_crvUSDETHCRV, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvUSDETHCRV, - tokenHasSamePriceFeed: Tokens.crvUSDETHCRV, + token: TOKEN_stkcvxcrvUSDETHCRV, + tokenHasSamePriceFeed: TOKEN_crvUSDETHCRV, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.stkcvxcrvUSDETHCRV, - tokenHasSamePriceFeed: Tokens.crvUSDETHCRV, + token: TOKEN_stkcvxcrvUSDETHCRV, + tokenHasSamePriceFeed: TOKEN_crvUSDETHCRV, trusted: false, reserve: false }) @@ -5544,32 +5503,32 @@ contract PriceFeedDataLive { // ------------------------ stkcvxGHOcrvUSD ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.stkcvxGHOcrvUSD, - tokenHasSamePriceFeed: Tokens.GHOcrvUSD, + token: TOKEN_stkcvxGHOcrvUSD, + tokenHasSamePriceFeed: TOKEN_GHOcrvUSD, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.stkcvxGHOcrvUSD, - tokenHasSamePriceFeed: Tokens.GHOcrvUSD, + token: TOKEN_stkcvxGHOcrvUSD, + tokenHasSamePriceFeed: TOKEN_GHOcrvUSD, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.stkcvxGHOcrvUSD, - tokenHasSamePriceFeed: Tokens.GHOcrvUSD, + token: TOKEN_stkcvxGHOcrvUSD, + tokenHasSamePriceFeed: TOKEN_GHOcrvUSD, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.stkcvxGHOcrvUSD, - tokenHasSamePriceFeed: Tokens.GHOcrvUSD, + token: TOKEN_stkcvxGHOcrvUSD, + tokenHasSamePriceFeed: TOKEN_GHOcrvUSD, trusted: false, reserve: false }) @@ -5578,32 +5537,32 @@ contract PriceFeedDataLive { // ------------------------ cvxcrvUSDT ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.cvxcrvUSDT, - tokenHasSamePriceFeed: Tokens.crvUSDT, + token: TOKEN_cvxcrvUSDT, + tokenHasSamePriceFeed: TOKEN_crvUSDT, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.cvxcrvUSDT, - tokenHasSamePriceFeed: Tokens.crvUSDT, + token: TOKEN_cvxcrvUSDT, + tokenHasSamePriceFeed: TOKEN_crvUSDT, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.cvxcrvUSDT, - tokenHasSamePriceFeed: Tokens.crvUSDT, + token: TOKEN_cvxcrvUSDT, + tokenHasSamePriceFeed: TOKEN_crvUSDT, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.cvxcrvUSDT, - tokenHasSamePriceFeed: Tokens.crvUSDT, + token: TOKEN_cvxcrvUSDT, + tokenHasSamePriceFeed: TOKEN_crvUSDT, trusted: false, reserve: false }) @@ -5612,32 +5571,32 @@ contract PriceFeedDataLive { // ------------------------ 50OHM_50DAI ------------------------ balancerWeightedLPPriceFeedsByNetwork[1].push( BalancerLPPriceFeedData({ - lpToken: Tokens._50OHM_50DAI, - assets: TokensLib.arrayOf(Tokens.OHM, Tokens.DAI), + lpToken: TOKEN__50OHM_50DAI, + assets: TokensLib.arrayOf(TOKEN_OHM, TOKEN_DAI), trusted: false, reserve: false }) ); balancerWeightedLPPriceFeedsByNetwork[42161].push( BalancerLPPriceFeedData({ - lpToken: Tokens._50OHM_50DAI, - assets: TokensLib.arrayOf(Tokens.OHM, Tokens.DAI), + lpToken: TOKEN__50OHM_50DAI, + assets: TokensLib.arrayOf(TOKEN_OHM, TOKEN_DAI), trusted: false, reserve: false }) ); balancerWeightedLPPriceFeedsByNetwork[10].push( BalancerLPPriceFeedData({ - lpToken: Tokens._50OHM_50DAI, - assets: TokensLib.arrayOf(Tokens.OHM, Tokens.DAI), + lpToken: TOKEN__50OHM_50DAI, + assets: TokensLib.arrayOf(TOKEN_OHM, TOKEN_DAI), trusted: false, reserve: false }) ); balancerWeightedLPPriceFeedsByNetwork[8453].push( BalancerLPPriceFeedData({ - lpToken: Tokens._50OHM_50DAI, - assets: TokensLib.arrayOf(Tokens.OHM, Tokens.DAI), + lpToken: TOKEN__50OHM_50DAI, + assets: TokensLib.arrayOf(TOKEN_OHM, TOKEN_DAI), trusted: false, reserve: false }) @@ -5646,32 +5605,32 @@ contract PriceFeedDataLive { // ------------------------ 50OHM_50WETH ------------------------ balancerWeightedLPPriceFeedsByNetwork[1].push( BalancerLPPriceFeedData({ - lpToken: Tokens._50OHM_50WETH, - assets: TokensLib.arrayOf(Tokens.OHM, Tokens.WETH), + lpToken: TOKEN__50OHM_50WETH, + assets: TokensLib.arrayOf(TOKEN_OHM, TOKEN_WETH), trusted: false, reserve: false }) ); balancerWeightedLPPriceFeedsByNetwork[42161].push( BalancerLPPriceFeedData({ - lpToken: Tokens._50OHM_50WETH, - assets: TokensLib.arrayOf(Tokens.OHM, Tokens.WETH), + lpToken: TOKEN__50OHM_50WETH, + assets: TokensLib.arrayOf(TOKEN_OHM, TOKEN_WETH), trusted: false, reserve: false }) ); balancerWeightedLPPriceFeedsByNetwork[10].push( BalancerLPPriceFeedData({ - lpToken: Tokens._50OHM_50WETH, - assets: TokensLib.arrayOf(Tokens.OHM, Tokens.WETH), + lpToken: TOKEN__50OHM_50WETH, + assets: TokensLib.arrayOf(TOKEN_OHM, TOKEN_WETH), trusted: false, reserve: false }) ); balancerWeightedLPPriceFeedsByNetwork[8453].push( BalancerLPPriceFeedData({ - lpToken: Tokens._50OHM_50WETH, - assets: TokensLib.arrayOf(Tokens.OHM, Tokens.WETH), + lpToken: TOKEN__50OHM_50WETH, + assets: TokensLib.arrayOf(TOKEN_OHM, TOKEN_WETH), trusted: false, reserve: false }) @@ -5680,32 +5639,32 @@ contract PriceFeedDataLive { // ------------------------ B_80BAL_20WETH ------------------------ balancerWeightedLPPriceFeedsByNetwork[1].push( BalancerLPPriceFeedData({ - lpToken: Tokens.B_80BAL_20WETH, - assets: TokensLib.arrayOf(Tokens.BAL, Tokens.WETH), + lpToken: TOKEN_B_80BAL_20WETH, + assets: TokensLib.arrayOf(TOKEN_BAL, TOKEN_WETH), trusted: false, reserve: false }) ); balancerWeightedLPPriceFeedsByNetwork[42161].push( BalancerLPPriceFeedData({ - lpToken: Tokens.B_80BAL_20WETH, - assets: TokensLib.arrayOf(Tokens.BAL, Tokens.WETH), + lpToken: TOKEN_B_80BAL_20WETH, + assets: TokensLib.arrayOf(TOKEN_BAL, TOKEN_WETH), trusted: false, reserve: false }) ); balancerWeightedLPPriceFeedsByNetwork[10].push( BalancerLPPriceFeedData({ - lpToken: Tokens.B_80BAL_20WETH, - assets: TokensLib.arrayOf(Tokens.BAL, Tokens.WETH), + lpToken: TOKEN_B_80BAL_20WETH, + assets: TokensLib.arrayOf(TOKEN_BAL, TOKEN_WETH), trusted: false, reserve: false }) ); balancerWeightedLPPriceFeedsByNetwork[8453].push( BalancerLPPriceFeedData({ - lpToken: Tokens.B_80BAL_20WETH, - assets: TokensLib.arrayOf(Tokens.BAL, Tokens.WETH), + lpToken: TOKEN_B_80BAL_20WETH, + assets: TokensLib.arrayOf(TOKEN_BAL, TOKEN_WETH), trusted: false, reserve: false }) @@ -5713,47 +5672,47 @@ contract PriceFeedDataLive { // ------------------------ 50WETH_50AURA ------------------------ zeroPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: Tokens._50WETH_50AURA, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN__50WETH_50AURA, trusted: false, reserve: false}) ); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens._50WETH_50AURA, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN__50WETH_50AURA, trusted: false, reserve: false}) ); zeroPriceFeedsByNetwork[10].push( - SingeTokenPriceFeedData({token: Tokens._50WETH_50AURA, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN__50WETH_50AURA, trusted: false, reserve: false}) ); zeroPriceFeedsByNetwork[8453].push( - SingeTokenPriceFeedData({token: Tokens._50WETH_50AURA, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN__50WETH_50AURA, trusted: false, reserve: false}) ); // ------------------------ OHM_wstETH ------------------------ balancerWeightedLPPriceFeedsByNetwork[1].push( BalancerLPPriceFeedData({ - lpToken: Tokens.OHM_wstETH, - assets: TokensLib.arrayOf(Tokens.OHM, Tokens.wstETH), + lpToken: TOKEN_OHM_wstETH, + assets: TokensLib.arrayOf(TOKEN_OHM, TOKEN_wstETH), trusted: false, reserve: false }) ); balancerWeightedLPPriceFeedsByNetwork[42161].push( BalancerLPPriceFeedData({ - lpToken: Tokens.OHM_wstETH, - assets: TokensLib.arrayOf(Tokens.OHM, Tokens.wstETH), + lpToken: TOKEN_OHM_wstETH, + assets: TokensLib.arrayOf(TOKEN_OHM, TOKEN_wstETH), trusted: false, reserve: false }) ); balancerWeightedLPPriceFeedsByNetwork[10].push( BalancerLPPriceFeedData({ - lpToken: Tokens.OHM_wstETH, - assets: TokensLib.arrayOf(Tokens.OHM, Tokens.wstETH), + lpToken: TOKEN_OHM_wstETH, + assets: TokensLib.arrayOf(TOKEN_OHM, TOKEN_wstETH), trusted: false, reserve: false }) ); balancerWeightedLPPriceFeedsByNetwork[8453].push( BalancerLPPriceFeedData({ - lpToken: Tokens.OHM_wstETH, - assets: TokensLib.arrayOf(Tokens.OHM, Tokens.wstETH), + lpToken: TOKEN_OHM_wstETH, + assets: TokensLib.arrayOf(TOKEN_OHM, TOKEN_wstETH), trusted: false, reserve: false }) @@ -5762,32 +5721,32 @@ contract PriceFeedDataLive { // ------------------------ USDC_DAI_USDT ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( BalancerLPPriceFeedData({ - lpToken: Tokens.USDC_DAI_USDT, - assets: TokensLib.arrayOf(Tokens.USDC, Tokens.DAI, Tokens.USDT), + lpToken: TOKEN_USDC_DAI_USDT, + assets: TokensLib.arrayOf(TOKEN_USDC, TOKEN_DAI, TOKEN_USDT), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[42161].push( BalancerLPPriceFeedData({ - lpToken: Tokens.USDC_DAI_USDT, - assets: TokensLib.arrayOf(Tokens.USDC, Tokens.DAI, Tokens.USDT), + lpToken: TOKEN_USDC_DAI_USDT, + assets: TokensLib.arrayOf(TOKEN_USDC, TOKEN_DAI, TOKEN_USDT), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[10].push( BalancerLPPriceFeedData({ - lpToken: Tokens.USDC_DAI_USDT, - assets: TokensLib.arrayOf(Tokens.USDC, Tokens.DAI, Tokens.USDT), + lpToken: TOKEN_USDC_DAI_USDT, + assets: TokensLib.arrayOf(TOKEN_USDC, TOKEN_DAI, TOKEN_USDT), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[8453].push( BalancerLPPriceFeedData({ - lpToken: Tokens.USDC_DAI_USDT, - assets: TokensLib.arrayOf(Tokens.USDC, Tokens.DAI, Tokens.USDT), + lpToken: TOKEN_USDC_DAI_USDT, + assets: TokensLib.arrayOf(TOKEN_USDC, TOKEN_DAI, TOKEN_USDT), trusted: false, reserve: false }) @@ -5796,32 +5755,32 @@ contract PriceFeedDataLive { // ------------------------ B_rETH_STABLE ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( BalancerLPPriceFeedData({ - lpToken: Tokens.B_rETH_STABLE, - assets: TokensLib.arrayOf(Tokens.rETH, Tokens.WETH), + lpToken: TOKEN_B_rETH_STABLE, + assets: TokensLib.arrayOf(TOKEN_rETH, TOKEN_WETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[42161].push( BalancerLPPriceFeedData({ - lpToken: Tokens.B_rETH_STABLE, - assets: TokensLib.arrayOf(Tokens.rETH, Tokens.WETH), + lpToken: TOKEN_B_rETH_STABLE, + assets: TokensLib.arrayOf(TOKEN_rETH, TOKEN_WETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[10].push( BalancerLPPriceFeedData({ - lpToken: Tokens.B_rETH_STABLE, - assets: TokensLib.arrayOf(Tokens.rETH, Tokens.WETH), + lpToken: TOKEN_B_rETH_STABLE, + assets: TokensLib.arrayOf(TOKEN_rETH, TOKEN_WETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[8453].push( BalancerLPPriceFeedData({ - lpToken: Tokens.B_rETH_STABLE, - assets: TokensLib.arrayOf(Tokens.rETH, Tokens.WETH), + lpToken: TOKEN_B_rETH_STABLE, + assets: TokensLib.arrayOf(TOKEN_rETH, TOKEN_WETH), trusted: false, reserve: false }) @@ -5830,32 +5789,32 @@ contract PriceFeedDataLive { // ------------------------ weETH_rETH ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( BalancerLPPriceFeedData({ - lpToken: Tokens.weETH_rETH, - assets: TokensLib.arrayOf(Tokens.weETH, Tokens.rETH), + lpToken: TOKEN_weETH_rETH, + assets: TokensLib.arrayOf(TOKEN_weETH, TOKEN_rETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[42161].push( BalancerLPPriceFeedData({ - lpToken: Tokens.weETH_rETH, - assets: TokensLib.arrayOf(Tokens.weETH, Tokens.rETH), + lpToken: TOKEN_weETH_rETH, + assets: TokensLib.arrayOf(TOKEN_weETH, TOKEN_rETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[10].push( BalancerLPPriceFeedData({ - lpToken: Tokens.weETH_rETH, - assets: TokensLib.arrayOf(Tokens.weETH, Tokens.rETH), + lpToken: TOKEN_weETH_rETH, + assets: TokensLib.arrayOf(TOKEN_weETH, TOKEN_rETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[8453].push( BalancerLPPriceFeedData({ - lpToken: Tokens.weETH_rETH, - assets: TokensLib.arrayOf(Tokens.weETH, Tokens.rETH), + lpToken: TOKEN_weETH_rETH, + assets: TokensLib.arrayOf(TOKEN_weETH, TOKEN_rETH), trusted: false, reserve: false }) @@ -5864,32 +5823,32 @@ contract PriceFeedDataLive { // ------------------------ osETH_wETH_BPT ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( BalancerLPPriceFeedData({ - lpToken: Tokens.osETH_wETH_BPT, - assets: TokensLib.arrayOf(Tokens.WETH, Tokens.osETH), + lpToken: TOKEN_osETH_wETH_BPT, + assets: TokensLib.arrayOf(TOKEN_WETH, TOKEN_osETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[42161].push( BalancerLPPriceFeedData({ - lpToken: Tokens.osETH_wETH_BPT, - assets: TokensLib.arrayOf(Tokens.WETH, Tokens.osETH), + lpToken: TOKEN_osETH_wETH_BPT, + assets: TokensLib.arrayOf(TOKEN_WETH, TOKEN_osETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[10].push( BalancerLPPriceFeedData({ - lpToken: Tokens.osETH_wETH_BPT, - assets: TokensLib.arrayOf(Tokens.WETH, Tokens.osETH), + lpToken: TOKEN_osETH_wETH_BPT, + assets: TokensLib.arrayOf(TOKEN_WETH, TOKEN_osETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[8453].push( BalancerLPPriceFeedData({ - lpToken: Tokens.osETH_wETH_BPT, - assets: TokensLib.arrayOf(Tokens.WETH, Tokens.osETH), + lpToken: TOKEN_osETH_wETH_BPT, + assets: TokensLib.arrayOf(TOKEN_WETH, TOKEN_osETH), trusted: false, reserve: false }) @@ -5897,75 +5856,75 @@ contract PriceFeedDataLive { // ------------------------ ezETH_WETH_BPT ------------------------ zeroPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: Tokens.ezETH_WETH_BPT, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_ezETH_WETH_BPT, trusted: false, reserve: false}) ); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.ezETH_WETH_BPT, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_ezETH_WETH_BPT, trusted: false, reserve: false}) ); zeroPriceFeedsByNetwork[10].push( - SingeTokenPriceFeedData({token: Tokens.ezETH_WETH_BPT, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_ezETH_WETH_BPT, trusted: false, reserve: false}) ); zeroPriceFeedsByNetwork[8453].push( - SingeTokenPriceFeedData({token: Tokens.ezETH_WETH_BPT, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_ezETH_WETH_BPT, trusted: false, reserve: false}) ); // ------------------------ trenSTETH ------------------------ zeroPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: Tokens.trenSTETH, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_trenSTETH, trusted: false, reserve: false}) ); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.trenSTETH, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_trenSTETH, trusted: false, reserve: false}) ); zeroPriceFeedsByNetwork[10].push( - SingeTokenPriceFeedData({token: Tokens.trenSTETH, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_trenSTETH, trusted: false, reserve: false}) ); zeroPriceFeedsByNetwork[8453].push( - SingeTokenPriceFeedData({token: Tokens.trenSTETH, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_trenSTETH, trusted: false, reserve: false}) ); // ------------------------ weETH_ezETH_rswETH ------------------------ zeroPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: Tokens.weETH_ezETH_rswETH, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_weETH_ezETH_rswETH, trusted: false, reserve: false}) ); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.weETH_ezETH_rswETH, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_weETH_ezETH_rswETH, trusted: false, reserve: false}) ); zeroPriceFeedsByNetwork[10].push( - SingeTokenPriceFeedData({token: Tokens.weETH_ezETH_rswETH, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_weETH_ezETH_rswETH, trusted: false, reserve: false}) ); zeroPriceFeedsByNetwork[8453].push( - SingeTokenPriceFeedData({token: Tokens.weETH_ezETH_rswETH, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_weETH_ezETH_rswETH, trusted: false, reserve: false}) ); // ------------------------ rsETH_WETH ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( BalancerLPPriceFeedData({ - lpToken: Tokens.rsETH_WETH, - assets: TokensLib.arrayOf(Tokens.rsETH, Tokens.WETH), + lpToken: TOKEN_rsETH_WETH, + assets: TokensLib.arrayOf(TOKEN_rsETH, TOKEN_WETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[42161].push( BalancerLPPriceFeedData({ - lpToken: Tokens.rsETH_WETH, - assets: TokensLib.arrayOf(Tokens.rsETH, Tokens.WETH), + lpToken: TOKEN_rsETH_WETH, + assets: TokensLib.arrayOf(TOKEN_rsETH, TOKEN_WETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[10].push( BalancerLPPriceFeedData({ - lpToken: Tokens.rsETH_WETH, - assets: TokensLib.arrayOf(Tokens.rsETH, Tokens.WETH), + lpToken: TOKEN_rsETH_WETH, + assets: TokensLib.arrayOf(TOKEN_rsETH, TOKEN_WETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[8453].push( BalancerLPPriceFeedData({ - lpToken: Tokens.rsETH_WETH, - assets: TokensLib.arrayOf(Tokens.rsETH, Tokens.WETH), + lpToken: TOKEN_rsETH_WETH, + assets: TokensLib.arrayOf(TOKEN_rsETH, TOKEN_WETH), trusted: false, reserve: false }) @@ -5974,32 +5933,32 @@ contract PriceFeedDataLive { // ------------------------ rsETH_wETH_Arb ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( BalancerLPPriceFeedData({ - lpToken: Tokens.rsETH_wETH_Arb, - assets: TokensLib.arrayOf(Tokens.rsETH, Tokens.WETH), + lpToken: TOKEN_rsETH_wETH_Arb, + assets: TokensLib.arrayOf(TOKEN_rsETH, TOKEN_WETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[42161].push( BalancerLPPriceFeedData({ - lpToken: Tokens.rsETH_wETH_Arb, - assets: TokensLib.arrayOf(Tokens.rsETH, Tokens.WETH), + lpToken: TOKEN_rsETH_wETH_Arb, + assets: TokensLib.arrayOf(TOKEN_rsETH, TOKEN_WETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[10].push( BalancerLPPriceFeedData({ - lpToken: Tokens.rsETH_wETH_Arb, - assets: TokensLib.arrayOf(Tokens.rsETH, Tokens.WETH), + lpToken: TOKEN_rsETH_wETH_Arb, + assets: TokensLib.arrayOf(TOKEN_rsETH, TOKEN_WETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[8453].push( BalancerLPPriceFeedData({ - lpToken: Tokens.rsETH_wETH_Arb, - assets: TokensLib.arrayOf(Tokens.rsETH, Tokens.WETH), + lpToken: TOKEN_rsETH_wETH_Arb, + assets: TokensLib.arrayOf(TOKEN_rsETH, TOKEN_WETH), trusted: false, reserve: false }) @@ -6008,32 +5967,32 @@ contract PriceFeedDataLive { // ------------------------ BPT_rETH_ETH ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( BalancerLPPriceFeedData({ - lpToken: Tokens.BPT_rETH_ETH, - assets: TokensLib.arrayOf(Tokens.rETH, Tokens.WETH), + lpToken: TOKEN_BPT_rETH_ETH, + assets: TokensLib.arrayOf(TOKEN_rETH, TOKEN_WETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[42161].push( BalancerLPPriceFeedData({ - lpToken: Tokens.BPT_rETH_ETH, - assets: TokensLib.arrayOf(Tokens.rETH, Tokens.WETH), + lpToken: TOKEN_BPT_rETH_ETH, + assets: TokensLib.arrayOf(TOKEN_rETH, TOKEN_WETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[10].push( BalancerLPPriceFeedData({ - lpToken: Tokens.BPT_rETH_ETH, - assets: TokensLib.arrayOf(Tokens.rETH, Tokens.WETH), + lpToken: TOKEN_BPT_rETH_ETH, + assets: TokensLib.arrayOf(TOKEN_rETH, TOKEN_WETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[8453].push( BalancerLPPriceFeedData({ - lpToken: Tokens.BPT_rETH_ETH, - assets: TokensLib.arrayOf(Tokens.rETH, Tokens.WETH), + lpToken: TOKEN_BPT_rETH_ETH, + assets: TokensLib.arrayOf(TOKEN_rETH, TOKEN_WETH), trusted: false, reserve: false }) @@ -6042,32 +6001,32 @@ contract PriceFeedDataLive { // ------------------------ BPT_WSTETH_ETH ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( BalancerLPPriceFeedData({ - lpToken: Tokens.BPT_WSTETH_ETH, - assets: TokensLib.arrayOf(Tokens.wstETH, Tokens.WETH), + lpToken: TOKEN_BPT_WSTETH_ETH, + assets: TokensLib.arrayOf(TOKEN_wstETH, TOKEN_WETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[42161].push( BalancerLPPriceFeedData({ - lpToken: Tokens.BPT_WSTETH_ETH, - assets: TokensLib.arrayOf(Tokens.wstETH, Tokens.WETH), + lpToken: TOKEN_BPT_WSTETH_ETH, + assets: TokensLib.arrayOf(TOKEN_wstETH, TOKEN_WETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[10].push( BalancerLPPriceFeedData({ - lpToken: Tokens.BPT_WSTETH_ETH, - assets: TokensLib.arrayOf(Tokens.wstETH, Tokens.WETH), + lpToken: TOKEN_BPT_WSTETH_ETH, + assets: TokensLib.arrayOf(TOKEN_wstETH, TOKEN_WETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[8453].push( BalancerLPPriceFeedData({ - lpToken: Tokens.BPT_WSTETH_ETH, - assets: TokensLib.arrayOf(Tokens.wstETH, Tokens.WETH), + lpToken: TOKEN_BPT_WSTETH_ETH, + assets: TokensLib.arrayOf(TOKEN_wstETH, TOKEN_WETH), trusted: false, reserve: false }) @@ -6076,32 +6035,32 @@ contract PriceFeedDataLive { // ------------------------ BPT_ROAD ------------------------ balancerWeightedLPPriceFeedsByNetwork[1].push( BalancerLPPriceFeedData({ - lpToken: Tokens.BPT_ROAD, - assets: TokensLib.arrayOf(Tokens.WETH, Tokens.OP, Tokens.USDC), + lpToken: TOKEN_BPT_ROAD, + assets: TokensLib.arrayOf(TOKEN_WETH, TOKEN_OP, TOKEN_USDC), trusted: false, reserve: false }) ); balancerWeightedLPPriceFeedsByNetwork[42161].push( BalancerLPPriceFeedData({ - lpToken: Tokens.BPT_ROAD, - assets: TokensLib.arrayOf(Tokens.WETH, Tokens.OP, Tokens.USDC), + lpToken: TOKEN_BPT_ROAD, + assets: TokensLib.arrayOf(TOKEN_WETH, TOKEN_OP, TOKEN_USDC), trusted: false, reserve: false }) ); balancerWeightedLPPriceFeedsByNetwork[10].push( BalancerLPPriceFeedData({ - lpToken: Tokens.BPT_ROAD, - assets: TokensLib.arrayOf(Tokens.WETH, Tokens.OP, Tokens.USDC), + lpToken: TOKEN_BPT_ROAD, + assets: TokensLib.arrayOf(TOKEN_WETH, TOKEN_OP, TOKEN_USDC), trusted: false, reserve: false }) ); balancerWeightedLPPriceFeedsByNetwork[8453].push( BalancerLPPriceFeedData({ - lpToken: Tokens.BPT_ROAD, - assets: TokensLib.arrayOf(Tokens.WETH, Tokens.OP, Tokens.USDC), + lpToken: TOKEN_BPT_ROAD, + assets: TokensLib.arrayOf(TOKEN_WETH, TOKEN_OP, TOKEN_USDC), trusted: false, reserve: false }) @@ -6109,47 +6068,47 @@ contract PriceFeedDataLive { // ------------------------ ECLP_wstETH_WETH ------------------------ zeroPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: Tokens.ECLP_wstETH_WETH, trusted: true, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_ECLP_wstETH_WETH, trusted: true, reserve: false}) ); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.ECLP_wstETH_WETH, trusted: true, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_ECLP_wstETH_WETH, trusted: true, reserve: false}) ); zeroPriceFeedsByNetwork[10].push( - SingeTokenPriceFeedData({token: Tokens.ECLP_wstETH_WETH, trusted: true, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_ECLP_wstETH_WETH, trusted: true, reserve: false}) ); zeroPriceFeedsByNetwork[8453].push( - SingeTokenPriceFeedData({token: Tokens.ECLP_wstETH_WETH, trusted: true, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_ECLP_wstETH_WETH, trusted: true, reserve: false}) ); // ------------------------ wstETH_WETH_BPT ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( BalancerLPPriceFeedData({ - lpToken: Tokens.wstETH_WETH_BPT, - assets: TokensLib.arrayOf(Tokens.wstETH, Tokens.WETH), + lpToken: TOKEN_wstETH_WETH_BPT, + assets: TokensLib.arrayOf(TOKEN_wstETH, TOKEN_WETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[42161].push( BalancerLPPriceFeedData({ - lpToken: Tokens.wstETH_WETH_BPT, - assets: TokensLib.arrayOf(Tokens.wstETH, Tokens.WETH), + lpToken: TOKEN_wstETH_WETH_BPT, + assets: TokensLib.arrayOf(TOKEN_wstETH, TOKEN_WETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[10].push( BalancerLPPriceFeedData({ - lpToken: Tokens.wstETH_WETH_BPT, - assets: TokensLib.arrayOf(Tokens.wstETH, Tokens.WETH), + lpToken: TOKEN_wstETH_WETH_BPT, + assets: TokensLib.arrayOf(TOKEN_wstETH, TOKEN_WETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[8453].push( BalancerLPPriceFeedData({ - lpToken: Tokens.wstETH_WETH_BPT, - assets: TokensLib.arrayOf(Tokens.wstETH, Tokens.WETH), + lpToken: TOKEN_wstETH_WETH_BPT, + assets: TokensLib.arrayOf(TOKEN_wstETH, TOKEN_WETH), trusted: false, reserve: false }) @@ -6158,32 +6117,32 @@ contract PriceFeedDataLive { // ------------------------ wstETH_rETH_cbETH ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( BalancerLPPriceFeedData({ - lpToken: Tokens.wstETH_rETH_cbETH, - assets: TokensLib.arrayOf(Tokens.wstETH, Tokens.rETH, Tokens.cbETH), + lpToken: TOKEN_wstETH_rETH_cbETH, + assets: TokensLib.arrayOf(TOKEN_wstETH, TOKEN_rETH, TOKEN_cbETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[42161].push( BalancerLPPriceFeedData({ - lpToken: Tokens.wstETH_rETH_cbETH, - assets: TokensLib.arrayOf(Tokens.wstETH, Tokens.rETH, Tokens.cbETH), + lpToken: TOKEN_wstETH_rETH_cbETH, + assets: TokensLib.arrayOf(TOKEN_wstETH, TOKEN_rETH, TOKEN_cbETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[10].push( BalancerLPPriceFeedData({ - lpToken: Tokens.wstETH_rETH_cbETH, - assets: TokensLib.arrayOf(Tokens.wstETH, Tokens.rETH, Tokens.cbETH), + lpToken: TOKEN_wstETH_rETH_cbETH, + assets: TokensLib.arrayOf(TOKEN_wstETH, TOKEN_rETH, TOKEN_cbETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[8453].push( BalancerLPPriceFeedData({ - lpToken: Tokens.wstETH_rETH_cbETH, - assets: TokensLib.arrayOf(Tokens.wstETH, Tokens.rETH, Tokens.cbETH), + lpToken: TOKEN_wstETH_rETH_cbETH, + assets: TokensLib.arrayOf(TOKEN_wstETH, TOKEN_rETH, TOKEN_cbETH), trusted: false, reserve: false }) @@ -6192,32 +6151,32 @@ contract PriceFeedDataLive { // ------------------------ cbETH_rETH_wstETH ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( BalancerLPPriceFeedData({ - lpToken: Tokens.cbETH_rETH_wstETH, - assets: TokensLib.arrayOf(Tokens.cbETH, Tokens.wstETH, Tokens.rETH), + lpToken: TOKEN_cbETH_rETH_wstETH, + assets: TokensLib.arrayOf(TOKEN_cbETH, TOKEN_wstETH, TOKEN_rETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[42161].push( BalancerLPPriceFeedData({ - lpToken: Tokens.cbETH_rETH_wstETH, - assets: TokensLib.arrayOf(Tokens.cbETH, Tokens.wstETH, Tokens.rETH), + lpToken: TOKEN_cbETH_rETH_wstETH, + assets: TokensLib.arrayOf(TOKEN_cbETH, TOKEN_wstETH, TOKEN_rETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[10].push( BalancerLPPriceFeedData({ - lpToken: Tokens.cbETH_rETH_wstETH, - assets: TokensLib.arrayOf(Tokens.cbETH, Tokens.wstETH, Tokens.rETH), + lpToken: TOKEN_cbETH_rETH_wstETH, + assets: TokensLib.arrayOf(TOKEN_cbETH, TOKEN_wstETH, TOKEN_rETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[8453].push( BalancerLPPriceFeedData({ - lpToken: Tokens.cbETH_rETH_wstETH, - assets: TokensLib.arrayOf(Tokens.cbETH, Tokens.wstETH, Tokens.rETH), + lpToken: TOKEN_cbETH_rETH_wstETH, + assets: TokensLib.arrayOf(TOKEN_cbETH, TOKEN_wstETH, TOKEN_rETH), trusted: false, reserve: false }) @@ -6226,32 +6185,32 @@ contract PriceFeedDataLive { // ------------------------ wstETH_rETH_sfrxETH ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( BalancerLPPriceFeedData({ - lpToken: Tokens.wstETH_rETH_sfrxETH, - assets: TokensLib.arrayOf(Tokens.wstETH, Tokens.rETH, Tokens.sfrxETH), + lpToken: TOKEN_wstETH_rETH_sfrxETH, + assets: TokensLib.arrayOf(TOKEN_wstETH, TOKEN_rETH, TOKEN_sfrxETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[42161].push( BalancerLPPriceFeedData({ - lpToken: Tokens.wstETH_rETH_sfrxETH, - assets: TokensLib.arrayOf(Tokens.wstETH, Tokens.rETH, Tokens.sfrxETH), + lpToken: TOKEN_wstETH_rETH_sfrxETH, + assets: TokensLib.arrayOf(TOKEN_wstETH, TOKEN_rETH, TOKEN_sfrxETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[10].push( BalancerLPPriceFeedData({ - lpToken: Tokens.wstETH_rETH_sfrxETH, - assets: TokensLib.arrayOf(Tokens.wstETH, Tokens.rETH, Tokens.sfrxETH), + lpToken: TOKEN_wstETH_rETH_sfrxETH, + assets: TokensLib.arrayOf(TOKEN_wstETH, TOKEN_rETH, TOKEN_sfrxETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[8453].push( BalancerLPPriceFeedData({ - lpToken: Tokens.wstETH_rETH_sfrxETH, - assets: TokensLib.arrayOf(Tokens.wstETH, Tokens.rETH, Tokens.sfrxETH), + lpToken: TOKEN_wstETH_rETH_sfrxETH, + assets: TokensLib.arrayOf(TOKEN_wstETH, TOKEN_rETH, TOKEN_sfrxETH), trusted: false, reserve: false }) @@ -6260,32 +6219,32 @@ contract PriceFeedDataLive { // ------------------------ rETH_WETH_BPT_deprecated ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( BalancerLPPriceFeedData({ - lpToken: Tokens.rETH_WETH_BPT_deprecated, - assets: TokensLib.arrayOf(Tokens.rETH, Tokens.WETH), + lpToken: TOKEN_rETH_WETH_BPT_deprecated, + assets: TokensLib.arrayOf(TOKEN_rETH, TOKEN_WETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[42161].push( BalancerLPPriceFeedData({ - lpToken: Tokens.rETH_WETH_BPT_deprecated, - assets: TokensLib.arrayOf(Tokens.rETH, Tokens.WETH), + lpToken: TOKEN_rETH_WETH_BPT_deprecated, + assets: TokensLib.arrayOf(TOKEN_rETH, TOKEN_WETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[10].push( BalancerLPPriceFeedData({ - lpToken: Tokens.rETH_WETH_BPT_deprecated, - assets: TokensLib.arrayOf(Tokens.rETH, Tokens.WETH), + lpToken: TOKEN_rETH_WETH_BPT_deprecated, + assets: TokensLib.arrayOf(TOKEN_rETH, TOKEN_WETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[8453].push( BalancerLPPriceFeedData({ - lpToken: Tokens.rETH_WETH_BPT_deprecated, - assets: TokensLib.arrayOf(Tokens.rETH, Tokens.WETH), + lpToken: TOKEN_rETH_WETH_BPT_deprecated, + assets: TokensLib.arrayOf(TOKEN_rETH, TOKEN_WETH), trusted: false, reserve: false }) @@ -6294,32 +6253,32 @@ contract PriceFeedDataLive { // ------------------------ rETH_wETH_BPT ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( BalancerLPPriceFeedData({ - lpToken: Tokens.rETH_wETH_BPT, - assets: TokensLib.arrayOf(Tokens.rETH, Tokens.WETH), + lpToken: TOKEN_rETH_wETH_BPT, + assets: TokensLib.arrayOf(TOKEN_rETH, TOKEN_WETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[42161].push( BalancerLPPriceFeedData({ - lpToken: Tokens.rETH_wETH_BPT, - assets: TokensLib.arrayOf(Tokens.rETH, Tokens.WETH), + lpToken: TOKEN_rETH_wETH_BPT, + assets: TokensLib.arrayOf(TOKEN_rETH, TOKEN_WETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[10].push( BalancerLPPriceFeedData({ - lpToken: Tokens.rETH_wETH_BPT, - assets: TokensLib.arrayOf(Tokens.rETH, Tokens.WETH), + lpToken: TOKEN_rETH_wETH_BPT, + assets: TokensLib.arrayOf(TOKEN_rETH, TOKEN_WETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[8453].push( BalancerLPPriceFeedData({ - lpToken: Tokens.rETH_wETH_BPT, - assets: TokensLib.arrayOf(Tokens.rETH, Tokens.WETH), + lpToken: TOKEN_rETH_wETH_BPT, + assets: TokensLib.arrayOf(TOKEN_rETH, TOKEN_WETH), trusted: false, reserve: false }) @@ -6328,32 +6287,32 @@ contract PriceFeedDataLive { // ------------------------ bpt_ethtri ------------------------ balancerStableLPPriceFeedsByNetwork[1].push( BalancerLPPriceFeedData({ - lpToken: Tokens.bpt_ethtri, - assets: TokensLib.arrayOf(Tokens.wstETH, Tokens.sfrxETH, Tokens.rETH), + lpToken: TOKEN_bpt_ethtri, + assets: TokensLib.arrayOf(TOKEN_wstETH, TOKEN_sfrxETH, TOKEN_rETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[42161].push( BalancerLPPriceFeedData({ - lpToken: Tokens.bpt_ethtri, - assets: TokensLib.arrayOf(Tokens.wstETH, Tokens.sfrxETH, Tokens.rETH), + lpToken: TOKEN_bpt_ethtri, + assets: TokensLib.arrayOf(TOKEN_wstETH, TOKEN_sfrxETH, TOKEN_rETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[10].push( BalancerLPPriceFeedData({ - lpToken: Tokens.bpt_ethtri, - assets: TokensLib.arrayOf(Tokens.wstETH, Tokens.sfrxETH, Tokens.rETH), + lpToken: TOKEN_bpt_ethtri, + assets: TokensLib.arrayOf(TOKEN_wstETH, TOKEN_sfrxETH, TOKEN_rETH), trusted: false, reserve: false }) ); balancerStableLPPriceFeedsByNetwork[8453].push( BalancerLPPriceFeedData({ - lpToken: Tokens.bpt_ethtri, - assets: TokensLib.arrayOf(Tokens.wstETH, Tokens.sfrxETH, Tokens.rETH), + lpToken: TOKEN_bpt_ethtri, + assets: TokensLib.arrayOf(TOKEN_wstETH, TOKEN_sfrxETH, TOKEN_rETH), trusted: false, reserve: false }) @@ -6361,482 +6320,408 @@ contract PriceFeedDataLive { // ------------------------ 33AURA_33ARB_33BAL ------------------------ zeroPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: Tokens._33AURA_33ARB_33BAL, trusted: true, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN__33AURA_33ARB_33BAL, trusted: true, reserve: false}) ); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens._33AURA_33ARB_33BAL, trusted: true, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN__33AURA_33ARB_33BAL, trusted: true, reserve: false}) ); zeroPriceFeedsByNetwork[10].push( - SingeTokenPriceFeedData({token: Tokens._33AURA_33ARB_33BAL, trusted: true, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN__33AURA_33ARB_33BAL, trusted: true, reserve: false}) ); zeroPriceFeedsByNetwork[8453].push( - SingeTokenPriceFeedData({token: Tokens._33AURA_33ARB_33BAL, trusted: true, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN__33AURA_33ARB_33BAL, trusted: true, reserve: false}) ); // ------------------------ ezETH_wstETH ------------------------ zeroPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: Tokens.ezETH_wstETH, trusted: true, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_ezETH_wstETH, trusted: true, reserve: false}) ); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.ezETH_wstETH, trusted: true, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_ezETH_wstETH, trusted: true, reserve: false}) ); zeroPriceFeedsByNetwork[10].push( - SingeTokenPriceFeedData({token: Tokens.ezETH_wstETH, trusted: true, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_ezETH_wstETH, trusted: true, reserve: false}) ); zeroPriceFeedsByNetwork[8453].push( - SingeTokenPriceFeedData({token: Tokens.ezETH_wstETH, trusted: true, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_ezETH_wstETH, trusted: true, reserve: false}) ); // ------------------------ GHO_USDT_USDC ------------------------ zeroPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: Tokens.GHO_USDT_USDC, trusted: true, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_GHO_USDT_USDC, trusted: true, reserve: false}) ); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.GHO_USDT_USDC, trusted: true, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_GHO_USDT_USDC, trusted: true, reserve: false}) ); zeroPriceFeedsByNetwork[10].push( - SingeTokenPriceFeedData({token: Tokens.GHO_USDT_USDC, trusted: true, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_GHO_USDT_USDC, trusted: true, reserve: false}) ); zeroPriceFeedsByNetwork[8453].push( - SingeTokenPriceFeedData({token: Tokens.GHO_USDT_USDC, trusted: true, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_GHO_USDT_USDC, trusted: true, reserve: false}) ); // ------------------------ dDAI ------------------------ - zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: Tokens.dDAI, trusted: false, reserve: false})); + zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_dDAI, trusted: false, reserve: false})); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.dDAI, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_dDAI, trusted: false, reserve: false}) ); // ------------------------ dUSDC ------------------------ - zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: Tokens.dUSDC, trusted: false, reserve: false})); + zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_dUSDC, trusted: false, reserve: false})); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.dUSDC, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_dUSDC, trusted: false, reserve: false}) ); // ------------------------ dWBTC ------------------------ - zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: Tokens.dWBTC, trusted: false, reserve: false})); + zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_dWBTC, trusted: false, reserve: false})); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.dWBTC, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_dWBTC, trusted: false, reserve: false}) ); // ------------------------ dWETH ------------------------ - zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: Tokens.dWETH, trusted: false, reserve: false})); + zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_dWETH, trusted: false, reserve: false})); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.dWETH, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_dWETH, trusted: false, reserve: false}) ); // ------------------------ dwstETH ------------------------ - zeroPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: Tokens.dwstETH, trusted: false, reserve: false}) - ); + zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_dwstETH, trusted: false, reserve: false})); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.dwstETH, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_dwstETH, trusted: false, reserve: false}) ); // ------------------------ dFRAX ------------------------ - zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: Tokens.dFRAX, trusted: false, reserve: false})); + zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_dFRAX, trusted: false, reserve: false})); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.dFRAX, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_dFRAX, trusted: false, reserve: false}) ); // ------------------------ dUSDCV3 ------------------------ - zeroPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: Tokens.dUSDCV3, trusted: false, reserve: false}) - ); + zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_dUSDCV3, trusted: false, reserve: false})); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.dUSDCV3, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_dUSDCV3, trusted: false, reserve: false}) ); // ------------------------ dUSDC_eV3 ------------------------ zeroPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: Tokens.dUSDC_eV3, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_dUSDC_eV3, trusted: false, reserve: false}) ); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.dUSDC_eV3, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_dUSDC_eV3, trusted: false, reserve: false}) ); // ------------------------ dWBTCV3 ------------------------ - zeroPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: Tokens.dWBTCV3, trusted: false, reserve: false}) - ); + zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_dWBTCV3, trusted: false, reserve: false})); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.dWBTCV3, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_dWBTCV3, trusted: false, reserve: false}) ); // ------------------------ dWETHV3 ------------------------ - zeroPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: Tokens.dWETHV3, trusted: false, reserve: false}) - ); + zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_dWETHV3, trusted: false, reserve: false})); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.dWETHV3, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_dWETHV3, trusted: false, reserve: false}) ); // ------------------------ dcrvUSDV3 ------------------------ zeroPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: Tokens.dcrvUSDV3, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_dcrvUSDV3, trusted: false, reserve: false}) ); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.dcrvUSDV3, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_dcrvUSDV3, trusted: false, reserve: false}) ); // ------------------------ sdUSDCV3 ------------------------ zeroPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: Tokens.sdUSDCV3, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_sdUSDCV3, trusted: false, reserve: false}) ); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.sdUSDCV3, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_sdUSDCV3, trusted: false, reserve: false}) ); // ------------------------ sdUSDC_eV3 ------------------------ zeroPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: Tokens.sdUSDC_eV3, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_sdUSDC_eV3, trusted: false, reserve: false}) ); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.sdUSDC_eV3, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_sdUSDC_eV3, trusted: false, reserve: false}) ); // ------------------------ sdWBTCV3 ------------------------ zeroPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: Tokens.sdWBTCV3, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_sdWBTCV3, trusted: false, reserve: false}) ); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.sdWBTCV3, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_sdWBTCV3, trusted: false, reserve: false}) ); // ------------------------ sdWETHV3 ------------------------ zeroPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: Tokens.sdWETHV3, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_sdWETHV3, trusted: false, reserve: false}) ); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.sdWETHV3, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_sdWETHV3, trusted: false, reserve: false}) ); // ------------------------ sdWETHV3_OLD ------------------------ zeroPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: Tokens.sdWETHV3_OLD, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_sdWETHV3_OLD, trusted: false, reserve: false}) ); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.sdWETHV3_OLD, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_sdWETHV3_OLD, trusted: false, reserve: false}) ); // ------------------------ dUSDTV3 ------------------------ - zeroPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: Tokens.dUSDTV3, trusted: false, reserve: false}) - ); + zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_dUSDTV3, trusted: false, reserve: false})); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.dUSDTV3, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_dUSDTV3, trusted: false, reserve: false}) ); // ------------------------ dGHOV3 ------------------------ - zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: Tokens.dGHOV3, trusted: false, reserve: false})); + zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_dGHOV3, trusted: false, reserve: false})); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.dGHOV3, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_dGHOV3, trusted: false, reserve: false}) ); // ------------------------ dDAIV3 ------------------------ - zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: Tokens.dDAIV3, trusted: false, reserve: false})); + zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_dDAIV3, trusted: false, reserve: false})); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.dDAIV3, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_dDAIV3, trusted: false, reserve: false}) ); // ------------------------ sdUSDTV3 ------------------------ zeroPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: Tokens.sdUSDTV3, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_sdUSDTV3, trusted: false, reserve: false}) ); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.sdUSDTV3, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_sdUSDTV3, trusted: false, reserve: false}) ); // ------------------------ sdGHOV3 ------------------------ - zeroPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: Tokens.sdGHOV3, trusted: false, reserve: false}) - ); + zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_sdGHOV3, trusted: false, reserve: false})); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.sdGHOV3, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_sdGHOV3, trusted: false, reserve: false}) ); // ------------------------ sdDAIV3 ------------------------ - zeroPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: Tokens.sdDAIV3, trusted: false, reserve: false}) - ); + zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_sdDAIV3, trusted: false, reserve: false})); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.sdDAIV3, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_sdDAIV3, trusted: false, reserve: false}) ); // ------------------------ sdcrvUSDV3 ------------------------ zeroPriceFeedsByNetwork[1].push( - SingeTokenPriceFeedData({token: Tokens.sdcrvUSDV3, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_sdcrvUSDV3, trusted: false, reserve: false}) ); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.sdcrvUSDV3, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_sdcrvUSDV3, trusted: false, reserve: false}) ); // ------------------------ GEAR ------------------------ - zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: Tokens.GEAR, trusted: false, reserve: false})); + zeroPriceFeedsByNetwork[1].push(SingeTokenPriceFeedData({token: TOKEN_GEAR, trusted: false, reserve: false})); zeroPriceFeedsByNetwork[42161].push( - SingeTokenPriceFeedData({token: Tokens.GEAR, trusted: false, reserve: false}) + SingeTokenPriceFeedData({token: TOKEN_GEAR, trusted: false, reserve: false}) ); // ------------------------ aDAI ------------------------ theSamePriceFeedsByNetwork[1].push( - TheSamePriceFeedData({token: Tokens.aDAI, tokenHasSamePriceFeed: Tokens.DAI, trusted: false, reserve: false}) + TheSamePriceFeedData({token: TOKEN_aDAI, tokenHasSamePriceFeed: TOKEN_DAI, trusted: false, reserve: false}) ); theSamePriceFeedsByNetwork[42161].push( - TheSamePriceFeedData({token: Tokens.aDAI, tokenHasSamePriceFeed: Tokens.DAI, trusted: false, reserve: false}) + TheSamePriceFeedData({token: TOKEN_aDAI, tokenHasSamePriceFeed: TOKEN_DAI, trusted: false, reserve: false}) ); theSamePriceFeedsByNetwork[10].push( - TheSamePriceFeedData({token: Tokens.aDAI, tokenHasSamePriceFeed: Tokens.DAI, trusted: false, reserve: false}) + TheSamePriceFeedData({token: TOKEN_aDAI, tokenHasSamePriceFeed: TOKEN_DAI, trusted: false, reserve: false}) ); theSamePriceFeedsByNetwork[8453].push( - TheSamePriceFeedData({token: Tokens.aDAI, tokenHasSamePriceFeed: Tokens.DAI, trusted: false, reserve: false}) + TheSamePriceFeedData({token: TOKEN_aDAI, tokenHasSamePriceFeed: TOKEN_DAI, trusted: false, reserve: false}) ); // ------------------------ aUSDC ------------------------ theSamePriceFeedsByNetwork[1].push( - TheSamePriceFeedData({ - token: Tokens.aUSDC, - tokenHasSamePriceFeed: Tokens.USDC, - trusted: false, - reserve: false - }) + TheSamePriceFeedData({token: TOKEN_aUSDC, tokenHasSamePriceFeed: TOKEN_USDC, trusted: false, reserve: false}) ); theSamePriceFeedsByNetwork[42161].push( - TheSamePriceFeedData({ - token: Tokens.aUSDC, - tokenHasSamePriceFeed: Tokens.USDC, - trusted: false, - reserve: false - }) + TheSamePriceFeedData({token: TOKEN_aUSDC, tokenHasSamePriceFeed: TOKEN_USDC, trusted: false, reserve: false}) ); theSamePriceFeedsByNetwork[10].push( - TheSamePriceFeedData({ - token: Tokens.aUSDC, - tokenHasSamePriceFeed: Tokens.USDC, - trusted: false, - reserve: false - }) + TheSamePriceFeedData({token: TOKEN_aUSDC, tokenHasSamePriceFeed: TOKEN_USDC, trusted: false, reserve: false}) ); theSamePriceFeedsByNetwork[8453].push( - TheSamePriceFeedData({ - token: Tokens.aUSDC, - tokenHasSamePriceFeed: Tokens.USDC, - trusted: false, - reserve: false - }) + TheSamePriceFeedData({token: TOKEN_aUSDC, tokenHasSamePriceFeed: TOKEN_USDC, trusted: false, reserve: false}) ); // ------------------------ aUSDT ------------------------ theSamePriceFeedsByNetwork[1].push( - TheSamePriceFeedData({ - token: Tokens.aUSDT, - tokenHasSamePriceFeed: Tokens.USDT, - trusted: false, - reserve: false - }) + TheSamePriceFeedData({token: TOKEN_aUSDT, tokenHasSamePriceFeed: TOKEN_USDT, trusted: false, reserve: false}) ); theSamePriceFeedsByNetwork[42161].push( - TheSamePriceFeedData({ - token: Tokens.aUSDT, - tokenHasSamePriceFeed: Tokens.USDT, - trusted: false, - reserve: false - }) + TheSamePriceFeedData({token: TOKEN_aUSDT, tokenHasSamePriceFeed: TOKEN_USDT, trusted: false, reserve: false}) ); theSamePriceFeedsByNetwork[10].push( - TheSamePriceFeedData({ - token: Tokens.aUSDT, - tokenHasSamePriceFeed: Tokens.USDT, - trusted: false, - reserve: false - }) + TheSamePriceFeedData({token: TOKEN_aUSDT, tokenHasSamePriceFeed: TOKEN_USDT, trusted: false, reserve: false}) ); theSamePriceFeedsByNetwork[8453].push( - TheSamePriceFeedData({ - token: Tokens.aUSDT, - tokenHasSamePriceFeed: Tokens.USDT, - trusted: false, - reserve: false - }) + TheSamePriceFeedData({token: TOKEN_aUSDT, tokenHasSamePriceFeed: TOKEN_USDT, trusted: false, reserve: false}) ); // ------------------------ aWETH ------------------------ theSamePriceFeedsByNetwork[1].push( - TheSamePriceFeedData({ - token: Tokens.aWETH, - tokenHasSamePriceFeed: Tokens.WETH, - trusted: false, - reserve: false - }) + TheSamePriceFeedData({token: TOKEN_aWETH, tokenHasSamePriceFeed: TOKEN_WETH, trusted: false, reserve: false}) ); theSamePriceFeedsByNetwork[42161].push( - TheSamePriceFeedData({ - token: Tokens.aWETH, - tokenHasSamePriceFeed: Tokens.WETH, - trusted: false, - reserve: false - }) + TheSamePriceFeedData({token: TOKEN_aWETH, tokenHasSamePriceFeed: TOKEN_WETH, trusted: false, reserve: false}) ); theSamePriceFeedsByNetwork[10].push( - TheSamePriceFeedData({ - token: Tokens.aWETH, - tokenHasSamePriceFeed: Tokens.WETH, - trusted: false, - reserve: false - }) + TheSamePriceFeedData({token: TOKEN_aWETH, tokenHasSamePriceFeed: TOKEN_WETH, trusted: false, reserve: false}) ); theSamePriceFeedsByNetwork[8453].push( - TheSamePriceFeedData({ - token: Tokens.aWETH, - tokenHasSamePriceFeed: Tokens.WETH, - trusted: false, - reserve: false - }) + TheSamePriceFeedData({token: TOKEN_aWETH, tokenHasSamePriceFeed: TOKEN_WETH, trusted: false, reserve: false}) ); // ------------------------ waDAI ------------------------ wrappedAaveV2PriceFeedsByNetwork[1].push( - GenericLPPriceFeedData({lpToken: Tokens.waDAI, underlying: Tokens.aDAI, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_waDAI, underlying: TOKEN_aDAI, trusted: false, reserve: false}) ); wrappedAaveV2PriceFeedsByNetwork[42161].push( - GenericLPPriceFeedData({lpToken: Tokens.waDAI, underlying: Tokens.aDAI, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_waDAI, underlying: TOKEN_aDAI, trusted: false, reserve: false}) ); wrappedAaveV2PriceFeedsByNetwork[10].push( - GenericLPPriceFeedData({lpToken: Tokens.waDAI, underlying: Tokens.aDAI, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_waDAI, underlying: TOKEN_aDAI, trusted: false, reserve: false}) ); wrappedAaveV2PriceFeedsByNetwork[8453].push( - GenericLPPriceFeedData({lpToken: Tokens.waDAI, underlying: Tokens.aDAI, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_waDAI, underlying: TOKEN_aDAI, trusted: false, reserve: false}) ); // ------------------------ waUSDC ------------------------ wrappedAaveV2PriceFeedsByNetwork[1].push( - GenericLPPriceFeedData({lpToken: Tokens.waUSDC, underlying: Tokens.aUSDC, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_waUSDC, underlying: TOKEN_aUSDC, trusted: false, reserve: false}) ); wrappedAaveV2PriceFeedsByNetwork[42161].push( - GenericLPPriceFeedData({lpToken: Tokens.waUSDC, underlying: Tokens.aUSDC, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_waUSDC, underlying: TOKEN_aUSDC, trusted: false, reserve: false}) ); wrappedAaveV2PriceFeedsByNetwork[10].push( - GenericLPPriceFeedData({lpToken: Tokens.waUSDC, underlying: Tokens.aUSDC, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_waUSDC, underlying: TOKEN_aUSDC, trusted: false, reserve: false}) ); wrappedAaveV2PriceFeedsByNetwork[8453].push( - GenericLPPriceFeedData({lpToken: Tokens.waUSDC, underlying: Tokens.aUSDC, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_waUSDC, underlying: TOKEN_aUSDC, trusted: false, reserve: false}) ); // ------------------------ waUSDT ------------------------ wrappedAaveV2PriceFeedsByNetwork[1].push( - GenericLPPriceFeedData({lpToken: Tokens.waUSDT, underlying: Tokens.aUSDT, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_waUSDT, underlying: TOKEN_aUSDT, trusted: false, reserve: false}) ); wrappedAaveV2PriceFeedsByNetwork[42161].push( - GenericLPPriceFeedData({lpToken: Tokens.waUSDT, underlying: Tokens.aUSDT, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_waUSDT, underlying: TOKEN_aUSDT, trusted: false, reserve: false}) ); wrappedAaveV2PriceFeedsByNetwork[10].push( - GenericLPPriceFeedData({lpToken: Tokens.waUSDT, underlying: Tokens.aUSDT, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_waUSDT, underlying: TOKEN_aUSDT, trusted: false, reserve: false}) ); wrappedAaveV2PriceFeedsByNetwork[8453].push( - GenericLPPriceFeedData({lpToken: Tokens.waUSDT, underlying: Tokens.aUSDT, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_waUSDT, underlying: TOKEN_aUSDT, trusted: false, reserve: false}) ); // ------------------------ waWETH ------------------------ wrappedAaveV2PriceFeedsByNetwork[1].push( - GenericLPPriceFeedData({lpToken: Tokens.waWETH, underlying: Tokens.aWETH, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_waWETH, underlying: TOKEN_aWETH, trusted: false, reserve: false}) ); wrappedAaveV2PriceFeedsByNetwork[42161].push( - GenericLPPriceFeedData({lpToken: Tokens.waWETH, underlying: Tokens.aWETH, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_waWETH, underlying: TOKEN_aWETH, trusted: false, reserve: false}) ); wrappedAaveV2PriceFeedsByNetwork[10].push( - GenericLPPriceFeedData({lpToken: Tokens.waWETH, underlying: Tokens.aWETH, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_waWETH, underlying: TOKEN_aWETH, trusted: false, reserve: false}) ); wrappedAaveV2PriceFeedsByNetwork[8453].push( - GenericLPPriceFeedData({lpToken: Tokens.waWETH, underlying: Tokens.aWETH, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_waWETH, underlying: TOKEN_aWETH, trusted: false, reserve: false}) ); // ------------------------ cDAI ------------------------ compoundV2PriceFeedsByNetwork[1].push( - GenericLPPriceFeedData({lpToken: Tokens.cDAI, underlying: Tokens.DAI, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_cDAI, underlying: TOKEN_DAI, trusted: false, reserve: false}) ); compoundV2PriceFeedsByNetwork[42161].push( - GenericLPPriceFeedData({lpToken: Tokens.cDAI, underlying: Tokens.DAI, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_cDAI, underlying: TOKEN_DAI, trusted: false, reserve: false}) ); compoundV2PriceFeedsByNetwork[10].push( - GenericLPPriceFeedData({lpToken: Tokens.cDAI, underlying: Tokens.DAI, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_cDAI, underlying: TOKEN_DAI, trusted: false, reserve: false}) ); compoundV2PriceFeedsByNetwork[8453].push( - GenericLPPriceFeedData({lpToken: Tokens.cDAI, underlying: Tokens.DAI, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_cDAI, underlying: TOKEN_DAI, trusted: false, reserve: false}) ); // ------------------------ cUSDC ------------------------ compoundV2PriceFeedsByNetwork[1].push( - GenericLPPriceFeedData({lpToken: Tokens.cUSDC, underlying: Tokens.USDC, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_cUSDC, underlying: TOKEN_USDC, trusted: false, reserve: false}) ); compoundV2PriceFeedsByNetwork[42161].push( - GenericLPPriceFeedData({lpToken: Tokens.cUSDC, underlying: Tokens.USDC, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_cUSDC, underlying: TOKEN_USDC, trusted: false, reserve: false}) ); compoundV2PriceFeedsByNetwork[10].push( - GenericLPPriceFeedData({lpToken: Tokens.cUSDC, underlying: Tokens.USDC, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_cUSDC, underlying: TOKEN_USDC, trusted: false, reserve: false}) ); compoundV2PriceFeedsByNetwork[8453].push( - GenericLPPriceFeedData({lpToken: Tokens.cUSDC, underlying: Tokens.USDC, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_cUSDC, underlying: TOKEN_USDC, trusted: false, reserve: false}) ); // ------------------------ cUSDT ------------------------ compoundV2PriceFeedsByNetwork[1].push( - GenericLPPriceFeedData({lpToken: Tokens.cUSDT, underlying: Tokens.USDT, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_cUSDT, underlying: TOKEN_USDT, trusted: false, reserve: false}) ); compoundV2PriceFeedsByNetwork[42161].push( - GenericLPPriceFeedData({lpToken: Tokens.cUSDT, underlying: Tokens.USDT, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_cUSDT, underlying: TOKEN_USDT, trusted: false, reserve: false}) ); compoundV2PriceFeedsByNetwork[10].push( - GenericLPPriceFeedData({lpToken: Tokens.cUSDT, underlying: Tokens.USDT, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_cUSDT, underlying: TOKEN_USDT, trusted: false, reserve: false}) ); compoundV2PriceFeedsByNetwork[8453].push( - GenericLPPriceFeedData({lpToken: Tokens.cUSDT, underlying: Tokens.USDT, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_cUSDT, underlying: TOKEN_USDT, trusted: false, reserve: false}) ); // ------------------------ cLINK ------------------------ compoundV2PriceFeedsByNetwork[1].push( - GenericLPPriceFeedData({lpToken: Tokens.cLINK, underlying: Tokens.LINK, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_cLINK, underlying: TOKEN_LINK, trusted: false, reserve: false}) ); compoundV2PriceFeedsByNetwork[42161].push( - GenericLPPriceFeedData({lpToken: Tokens.cLINK, underlying: Tokens.LINK, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_cLINK, underlying: TOKEN_LINK, trusted: false, reserve: false}) ); compoundV2PriceFeedsByNetwork[10].push( - GenericLPPriceFeedData({lpToken: Tokens.cLINK, underlying: Tokens.LINK, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_cLINK, underlying: TOKEN_LINK, trusted: false, reserve: false}) ); compoundV2PriceFeedsByNetwork[8453].push( - GenericLPPriceFeedData({lpToken: Tokens.cLINK, underlying: Tokens.LINK, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_cLINK, underlying: TOKEN_LINK, trusted: false, reserve: false}) ); // ------------------------ cETH ------------------------ compoundV2PriceFeedsByNetwork[1].push( - GenericLPPriceFeedData({lpToken: Tokens.cETH, underlying: Tokens.WETH, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_cETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) ); compoundV2PriceFeedsByNetwork[42161].push( - GenericLPPriceFeedData({lpToken: Tokens.cETH, underlying: Tokens.WETH, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_cETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) ); compoundV2PriceFeedsByNetwork[10].push( - GenericLPPriceFeedData({lpToken: Tokens.cETH, underlying: Tokens.WETH, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_cETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) ); compoundV2PriceFeedsByNetwork[8453].push( - GenericLPPriceFeedData({lpToken: Tokens.cETH, underlying: Tokens.WETH, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_cETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) ); // ------------------------ fUSDC ------------------------ compoundV2PriceFeedsByNetwork[1].push( - GenericLPPriceFeedData({lpToken: Tokens.fUSDC, underlying: Tokens.USDC, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_fUSDC, underlying: TOKEN_USDC, trusted: false, reserve: false}) ); compoundV2PriceFeedsByNetwork[42161].push( - GenericLPPriceFeedData({lpToken: Tokens.fUSDC, underlying: Tokens.USDC, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_fUSDC, underlying: TOKEN_USDC, trusted: false, reserve: false}) ); compoundV2PriceFeedsByNetwork[10].push( - GenericLPPriceFeedData({lpToken: Tokens.fUSDC, underlying: Tokens.USDC, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_fUSDC, underlying: TOKEN_USDC, trusted: false, reserve: false}) ); compoundV2PriceFeedsByNetwork[8453].push( - GenericLPPriceFeedData({lpToken: Tokens.fUSDC, underlying: Tokens.USDC, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_fUSDC, underlying: TOKEN_USDC, trusted: false, reserve: false}) ); // ------------------------ MKR ------------------------ chainlinkPriceFeedsByNetwork[1].push( ChainlinkPriceFeedData({ - token: Tokens.MKR, + token: TOKEN_MKR, priceFeed: 0xec1D1B3b0443256cc3860e24a46F108e699484Aa, stalenessPeriod: 4500, trusted: false, @@ -6845,7 +6730,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[1].push( RedStonePriceFeedData({ - token: Tokens.MKR, + token: TOKEN_MKR, dataServiceId: "redstone-primary-prod", dataFeedId: "MKR", signers: [ @@ -6867,7 +6752,7 @@ contract PriceFeedDataLive { ); chainlinkPriceFeedsByNetwork[42161].push( ChainlinkPriceFeedData({ - token: Tokens.MKR, + token: TOKEN_MKR, priceFeed: 0xdE9f0894670c4EFcacF370426F10C3AD2Cdf147e, stalenessPeriod: 86520, trusted: false, @@ -6878,7 +6763,7 @@ contract PriceFeedDataLive { // ------------------------ RPL ------------------------ chainlinkPriceFeedsByNetwork[1].push( ChainlinkPriceFeedData({ - token: Tokens.RPL, + token: TOKEN_RPL, priceFeed: 0x4E155eD98aFE9034b7A5962f6C84c86d869daA9d, stalenessPeriod: 87300, trusted: false, @@ -6887,7 +6772,7 @@ contract PriceFeedDataLive { ); chainlinkPriceFeedsByNetwork[42161].push( ChainlinkPriceFeedData({ - token: Tokens.RPL, + token: TOKEN_RPL, priceFeed: 0xF0b7159BbFc341Cc41E7Cb182216F62c6d40533D, stalenessPeriod: 86520, trusted: false, @@ -6898,7 +6783,7 @@ contract PriceFeedDataLive { // ------------------------ APE ------------------------ chainlinkPriceFeedsByNetwork[1].push( ChainlinkPriceFeedData({ - token: Tokens.APE, + token: TOKEN_APE, priceFeed: 0xD10aBbC76679a20055E167BB80A24ac851b37056, stalenessPeriod: 87300, trusted: false, @@ -6907,7 +6792,7 @@ contract PriceFeedDataLive { ); redStonePriceFeedsByNetwork[1].push( RedStonePriceFeedData({ - token: Tokens.APE, + token: TOKEN_APE, dataServiceId: "redstone-primary-prod", dataFeedId: "APE", signers: [ @@ -6929,7 +6814,7 @@ contract PriceFeedDataLive { ); chainlinkPriceFeedsByNetwork[42161].push( ChainlinkPriceFeedData({ - token: Tokens.APE, + token: TOKEN_APE, priceFeed: 0x221912ce795669f628c51c69b7d0873eDA9C03bB, stalenessPeriod: 86520, trusted: false, @@ -6939,11 +6824,11 @@ contract PriceFeedDataLive { // ------------------------ sDAI ------------------------ erc4626PriceFeedsByNetwork[1].push( - GenericLPPriceFeedData({lpToken: Tokens.sDAI, underlying: Tokens.DAI, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_sDAI, underlying: TOKEN_DAI, trusted: false, reserve: false}) ); redStonePriceFeedsByNetwork[1].push( RedStonePriceFeedData({ - token: Tokens.sDAI, + token: TOKEN_sDAI, dataServiceId: "redstone-primary-prod", dataFeedId: "sDAI", signers: [ @@ -6964,11 +6849,11 @@ contract PriceFeedDataLive { }) ); erc4626PriceFeedsByNetwork[42161].push( - GenericLPPriceFeedData({lpToken: Tokens.sDAI, underlying: Tokens.DAI, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_sDAI, underlying: TOKEN_DAI, trusted: false, reserve: false}) ); redStonePriceFeedsByNetwork[42161].push( RedStonePriceFeedData({ - token: Tokens.sDAI, + token: TOKEN_sDAI, dataServiceId: "redstone-primary-prod", dataFeedId: "sDAI", signers: [ @@ -6989,11 +6874,11 @@ contract PriceFeedDataLive { }) ); erc4626PriceFeedsByNetwork[10].push( - GenericLPPriceFeedData({lpToken: Tokens.sDAI, underlying: Tokens.DAI, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_sDAI, underlying: TOKEN_DAI, trusted: false, reserve: false}) ); redStonePriceFeedsByNetwork[10].push( RedStonePriceFeedData({ - token: Tokens.sDAI, + token: TOKEN_sDAI, dataServiceId: "redstone-primary-prod", dataFeedId: "sDAI", signers: [ @@ -7014,11 +6899,11 @@ contract PriceFeedDataLive { }) ); erc4626PriceFeedsByNetwork[8453].push( - GenericLPPriceFeedData({lpToken: Tokens.sDAI, underlying: Tokens.DAI, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_sDAI, underlying: TOKEN_DAI, trusted: false, reserve: false}) ); redStonePriceFeedsByNetwork[8453].push( RedStonePriceFeedData({ - token: Tokens.sDAI, + token: TOKEN_sDAI, dataServiceId: "redstone-primary-prod", dataFeedId: "sDAI", signers: [ @@ -7041,11 +6926,11 @@ contract PriceFeedDataLive { // ------------------------ sUSDe ------------------------ erc4626PriceFeedsByNetwork[1].push( - GenericLPPriceFeedData({lpToken: Tokens.sUSDe, underlying: Tokens.USDe, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_sUSDe, underlying: TOKEN_USDe, trusted: false, reserve: false}) ); chainlinkPriceFeedsByNetwork[1].push( ChainlinkPriceFeedData({ - token: Tokens.sUSDe, + token: TOKEN_sUSDe, priceFeed: 0xb99D174ED06c83588Af997c8859F93E83dD4733f, stalenessPeriod: 87300, trusted: false, @@ -7053,11 +6938,11 @@ contract PriceFeedDataLive { }) ); erc4626PriceFeedsByNetwork[42161].push( - GenericLPPriceFeedData({lpToken: Tokens.sUSDe, underlying: Tokens.USDe, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_sUSDe, underlying: TOKEN_USDe, trusted: false, reserve: false}) ); chainlinkPriceFeedsByNetwork[42161].push( ChainlinkPriceFeedData({ - token: Tokens.sUSDe, + token: TOKEN_sUSDe, priceFeed: 0xb99D174ED06c83588Af997c8859F93E83dD4733f, stalenessPeriod: 87300, trusted: false, @@ -7065,11 +6950,11 @@ contract PriceFeedDataLive { }) ); erc4626PriceFeedsByNetwork[10].push( - GenericLPPriceFeedData({lpToken: Tokens.sUSDe, underlying: Tokens.USDe, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_sUSDe, underlying: TOKEN_USDe, trusted: false, reserve: false}) ); chainlinkPriceFeedsByNetwork[10].push( ChainlinkPriceFeedData({ - token: Tokens.sUSDe, + token: TOKEN_sUSDe, priceFeed: 0xb99D174ED06c83588Af997c8859F93E83dD4733f, stalenessPeriod: 87300, trusted: false, @@ -7077,11 +6962,11 @@ contract PriceFeedDataLive { }) ); erc4626PriceFeedsByNetwork[8453].push( - GenericLPPriceFeedData({lpToken: Tokens.sUSDe, underlying: Tokens.USDe, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_sUSDe, underlying: TOKEN_USDe, trusted: false, reserve: false}) ); chainlinkPriceFeedsByNetwork[8453].push( ChainlinkPriceFeedData({ - token: Tokens.sUSDe, + token: TOKEN_sUSDe, priceFeed: 0xb99D174ED06c83588Af997c8859F93E83dD4733f, stalenessPeriod: 87300, trusted: false, @@ -7091,73 +6976,73 @@ contract PriceFeedDataLive { // ------------------------ YieldETH ------------------------ erc4626PriceFeedsByNetwork[1].push( - GenericLPPriceFeedData({lpToken: Tokens.YieldETH, underlying: Tokens.WETH, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_YieldETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) ); erc4626PriceFeedsByNetwork[42161].push( - GenericLPPriceFeedData({lpToken: Tokens.YieldETH, underlying: Tokens.WETH, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_YieldETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) ); erc4626PriceFeedsByNetwork[10].push( - GenericLPPriceFeedData({lpToken: Tokens.YieldETH, underlying: Tokens.WETH, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_YieldETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) ); erc4626PriceFeedsByNetwork[8453].push( - GenericLPPriceFeedData({lpToken: Tokens.YieldETH, underlying: Tokens.WETH, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_YieldETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) ); // ------------------------ sUSDS ------------------------ erc4626PriceFeedsByNetwork[1].push( - GenericLPPriceFeedData({lpToken: Tokens.sUSDS, underlying: Tokens.USDS, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_sUSDS, underlying: TOKEN_USDS, trusted: false, reserve: false}) ); erc4626PriceFeedsByNetwork[1].push( - GenericLPPriceFeedData({lpToken: Tokens.sUSDS, underlying: Tokens.USDS, trusted: false, reserve: true}) + GenericLPPriceFeedData({lpToken: TOKEN_sUSDS, underlying: TOKEN_USDS, trusted: false, reserve: true}) ); erc4626PriceFeedsByNetwork[42161].push( - GenericLPPriceFeedData({lpToken: Tokens.sUSDS, underlying: Tokens.USDS, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_sUSDS, underlying: TOKEN_USDS, trusted: false, reserve: false}) ); erc4626PriceFeedsByNetwork[42161].push( - GenericLPPriceFeedData({lpToken: Tokens.sUSDS, underlying: Tokens.USDS, trusted: false, reserve: true}) + GenericLPPriceFeedData({lpToken: TOKEN_sUSDS, underlying: TOKEN_USDS, trusted: false, reserve: true}) ); erc4626PriceFeedsByNetwork[10].push( - GenericLPPriceFeedData({lpToken: Tokens.sUSDS, underlying: Tokens.USDS, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_sUSDS, underlying: TOKEN_USDS, trusted: false, reserve: false}) ); erc4626PriceFeedsByNetwork[10].push( - GenericLPPriceFeedData({lpToken: Tokens.sUSDS, underlying: Tokens.USDS, trusted: false, reserve: true}) + GenericLPPriceFeedData({lpToken: TOKEN_sUSDS, underlying: TOKEN_USDS, trusted: false, reserve: true}) ); erc4626PriceFeedsByNetwork[8453].push( - GenericLPPriceFeedData({lpToken: Tokens.sUSDS, underlying: Tokens.USDS, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_sUSDS, underlying: TOKEN_USDS, trusted: false, reserve: false}) ); erc4626PriceFeedsByNetwork[8453].push( - GenericLPPriceFeedData({lpToken: Tokens.sUSDS, underlying: Tokens.USDS, trusted: false, reserve: true}) + GenericLPPriceFeedData({lpToken: TOKEN_sUSDS, underlying: TOKEN_USDS, trusted: false, reserve: true}) ); // ------------------------ auraB_rETH_STABLE ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.auraB_rETH_STABLE, - tokenHasSamePriceFeed: Tokens.B_rETH_STABLE, + token: TOKEN_auraB_rETH_STABLE, + tokenHasSamePriceFeed: TOKEN_B_rETH_STABLE, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.auraB_rETH_STABLE, - tokenHasSamePriceFeed: Tokens.B_rETH_STABLE, + token: TOKEN_auraB_rETH_STABLE, + tokenHasSamePriceFeed: TOKEN_B_rETH_STABLE, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.auraB_rETH_STABLE, - tokenHasSamePriceFeed: Tokens.B_rETH_STABLE, + token: TOKEN_auraB_rETH_STABLE, + tokenHasSamePriceFeed: TOKEN_B_rETH_STABLE, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.auraB_rETH_STABLE, - tokenHasSamePriceFeed: Tokens.B_rETH_STABLE, + token: TOKEN_auraB_rETH_STABLE, + tokenHasSamePriceFeed: TOKEN_B_rETH_STABLE, trusted: false, reserve: false }) @@ -7166,32 +7051,32 @@ contract PriceFeedDataLive { // ------------------------ auraB_rETH_STABLE_vault ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.auraB_rETH_STABLE_vault, - tokenHasSamePriceFeed: Tokens.B_rETH_STABLE, + token: TOKEN_auraB_rETH_STABLE_vault, + tokenHasSamePriceFeed: TOKEN_B_rETH_STABLE, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.auraB_rETH_STABLE_vault, - tokenHasSamePriceFeed: Tokens.B_rETH_STABLE, + token: TOKEN_auraB_rETH_STABLE_vault, + tokenHasSamePriceFeed: TOKEN_B_rETH_STABLE, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.auraB_rETH_STABLE_vault, - tokenHasSamePriceFeed: Tokens.B_rETH_STABLE, + token: TOKEN_auraB_rETH_STABLE_vault, + tokenHasSamePriceFeed: TOKEN_B_rETH_STABLE, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.auraB_rETH_STABLE_vault, - tokenHasSamePriceFeed: Tokens.B_rETH_STABLE, + token: TOKEN_auraB_rETH_STABLE_vault, + tokenHasSamePriceFeed: TOKEN_B_rETH_STABLE, trusted: false, reserve: false }) @@ -7200,32 +7085,32 @@ contract PriceFeedDataLive { // ------------------------ auraweETH_rETH ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.auraweETH_rETH, - tokenHasSamePriceFeed: Tokens.weETH_rETH, + token: TOKEN_auraweETH_rETH, + tokenHasSamePriceFeed: TOKEN_weETH_rETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.auraweETH_rETH, - tokenHasSamePriceFeed: Tokens.weETH_rETH, + token: TOKEN_auraweETH_rETH, + tokenHasSamePriceFeed: TOKEN_weETH_rETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.auraweETH_rETH, - tokenHasSamePriceFeed: Tokens.weETH_rETH, + token: TOKEN_auraweETH_rETH, + tokenHasSamePriceFeed: TOKEN_weETH_rETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.auraweETH_rETH, - tokenHasSamePriceFeed: Tokens.weETH_rETH, + token: TOKEN_auraweETH_rETH, + tokenHasSamePriceFeed: TOKEN_weETH_rETH, trusted: false, reserve: false }) @@ -7234,32 +7119,32 @@ contract PriceFeedDataLive { // ------------------------ auraweETH_rETH_vault ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.auraweETH_rETH_vault, - tokenHasSamePriceFeed: Tokens.weETH_rETH, + token: TOKEN_auraweETH_rETH_vault, + tokenHasSamePriceFeed: TOKEN_weETH_rETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.auraweETH_rETH_vault, - tokenHasSamePriceFeed: Tokens.weETH_rETH, + token: TOKEN_auraweETH_rETH_vault, + tokenHasSamePriceFeed: TOKEN_weETH_rETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.auraweETH_rETH_vault, - tokenHasSamePriceFeed: Tokens.weETH_rETH, + token: TOKEN_auraweETH_rETH_vault, + tokenHasSamePriceFeed: TOKEN_weETH_rETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.auraweETH_rETH_vault, - tokenHasSamePriceFeed: Tokens.weETH_rETH, + token: TOKEN_auraweETH_rETH_vault, + tokenHasSamePriceFeed: TOKEN_weETH_rETH, trusted: false, reserve: false }) @@ -7268,32 +7153,32 @@ contract PriceFeedDataLive { // ------------------------ auraosETH_wETH_BPT ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.auraosETH_wETH_BPT, - tokenHasSamePriceFeed: Tokens.osETH_wETH_BPT, + token: TOKEN_auraosETH_wETH_BPT, + tokenHasSamePriceFeed: TOKEN_osETH_wETH_BPT, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.auraosETH_wETH_BPT, - tokenHasSamePriceFeed: Tokens.osETH_wETH_BPT, + token: TOKEN_auraosETH_wETH_BPT, + tokenHasSamePriceFeed: TOKEN_osETH_wETH_BPT, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.auraosETH_wETH_BPT, - tokenHasSamePriceFeed: Tokens.osETH_wETH_BPT, + token: TOKEN_auraosETH_wETH_BPT, + tokenHasSamePriceFeed: TOKEN_osETH_wETH_BPT, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.auraosETH_wETH_BPT, - tokenHasSamePriceFeed: Tokens.osETH_wETH_BPT, + token: TOKEN_auraosETH_wETH_BPT, + tokenHasSamePriceFeed: TOKEN_osETH_wETH_BPT, trusted: false, reserve: false }) @@ -7302,32 +7187,32 @@ contract PriceFeedDataLive { // ------------------------ aurarETH_wETH_BPT ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.aurarETH_wETH_BPT, - tokenHasSamePriceFeed: Tokens.rETH_wETH_BPT, + token: TOKEN_aurarETH_wETH_BPT, + tokenHasSamePriceFeed: TOKEN_rETH_wETH_BPT, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.aurarETH_wETH_BPT, - tokenHasSamePriceFeed: Tokens.rETH_wETH_BPT, + token: TOKEN_aurarETH_wETH_BPT, + tokenHasSamePriceFeed: TOKEN_rETH_wETH_BPT, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.aurarETH_wETH_BPT, - tokenHasSamePriceFeed: Tokens.rETH_wETH_BPT, + token: TOKEN_aurarETH_wETH_BPT, + tokenHasSamePriceFeed: TOKEN_rETH_wETH_BPT, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.aurarETH_wETH_BPT, - tokenHasSamePriceFeed: Tokens.rETH_wETH_BPT, + token: TOKEN_aurarETH_wETH_BPT, + tokenHasSamePriceFeed: TOKEN_rETH_wETH_BPT, trusted: false, reserve: false }) @@ -7336,32 +7221,32 @@ contract PriceFeedDataLive { // ------------------------ auracbETH_rETH_wstETH ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.auracbETH_rETH_wstETH, - tokenHasSamePriceFeed: Tokens.cbETH_rETH_wstETH, + token: TOKEN_auracbETH_rETH_wstETH, + tokenHasSamePriceFeed: TOKEN_cbETH_rETH_wstETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.auracbETH_rETH_wstETH, - tokenHasSamePriceFeed: Tokens.cbETH_rETH_wstETH, + token: TOKEN_auracbETH_rETH_wstETH, + tokenHasSamePriceFeed: TOKEN_cbETH_rETH_wstETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.auracbETH_rETH_wstETH, - tokenHasSamePriceFeed: Tokens.cbETH_rETH_wstETH, + token: TOKEN_auracbETH_rETH_wstETH, + tokenHasSamePriceFeed: TOKEN_cbETH_rETH_wstETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.auracbETH_rETH_wstETH, - tokenHasSamePriceFeed: Tokens.cbETH_rETH_wstETH, + token: TOKEN_auracbETH_rETH_wstETH, + tokenHasSamePriceFeed: TOKEN_cbETH_rETH_wstETH, trusted: false, reserve: false }) @@ -7370,32 +7255,32 @@ contract PriceFeedDataLive { // ------------------------ aurawstETH_rETH_sfrxETH ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.aurawstETH_rETH_sfrxETH, - tokenHasSamePriceFeed: Tokens.wstETH_rETH_sfrxETH, + token: TOKEN_aurawstETH_rETH_sfrxETH, + tokenHasSamePriceFeed: TOKEN_wstETH_rETH_sfrxETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.aurawstETH_rETH_sfrxETH, - tokenHasSamePriceFeed: Tokens.wstETH_rETH_sfrxETH, + token: TOKEN_aurawstETH_rETH_sfrxETH, + tokenHasSamePriceFeed: TOKEN_wstETH_rETH_sfrxETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.aurawstETH_rETH_sfrxETH, - tokenHasSamePriceFeed: Tokens.wstETH_rETH_sfrxETH, + token: TOKEN_aurawstETH_rETH_sfrxETH, + tokenHasSamePriceFeed: TOKEN_wstETH_rETH_sfrxETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.aurawstETH_rETH_sfrxETH, - tokenHasSamePriceFeed: Tokens.wstETH_rETH_sfrxETH, + token: TOKEN_aurawstETH_rETH_sfrxETH, + tokenHasSamePriceFeed: TOKEN_wstETH_rETH_sfrxETH, trusted: false, reserve: false }) @@ -7404,32 +7289,32 @@ contract PriceFeedDataLive { // ------------------------ aurawstETH_WETH_BPT ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.aurawstETH_WETH_BPT, - tokenHasSamePriceFeed: Tokens.wstETH_WETH_BPT, + token: TOKEN_aurawstETH_WETH_BPT, + tokenHasSamePriceFeed: TOKEN_wstETH_WETH_BPT, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.aurawstETH_WETH_BPT, - tokenHasSamePriceFeed: Tokens.wstETH_WETH_BPT, + token: TOKEN_aurawstETH_WETH_BPT, + tokenHasSamePriceFeed: TOKEN_wstETH_WETH_BPT, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.aurawstETH_WETH_BPT, - tokenHasSamePriceFeed: Tokens.wstETH_WETH_BPT, + token: TOKEN_aurawstETH_WETH_BPT, + tokenHasSamePriceFeed: TOKEN_wstETH_WETH_BPT, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.aurawstETH_WETH_BPT, - tokenHasSamePriceFeed: Tokens.wstETH_WETH_BPT, + token: TOKEN_aurawstETH_WETH_BPT, + tokenHasSamePriceFeed: TOKEN_wstETH_WETH_BPT, trusted: false, reserve: false }) @@ -7438,32 +7323,32 @@ contract PriceFeedDataLive { // ------------------------ auraosETH_wETH_BPT_vault ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.auraosETH_wETH_BPT_vault, - tokenHasSamePriceFeed: Tokens.osETH_wETH_BPT, + token: TOKEN_auraosETH_wETH_BPT_vault, + tokenHasSamePriceFeed: TOKEN_osETH_wETH_BPT, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.auraosETH_wETH_BPT_vault, - tokenHasSamePriceFeed: Tokens.osETH_wETH_BPT, + token: TOKEN_auraosETH_wETH_BPT_vault, + tokenHasSamePriceFeed: TOKEN_osETH_wETH_BPT, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.auraosETH_wETH_BPT_vault, - tokenHasSamePriceFeed: Tokens.osETH_wETH_BPT, + token: TOKEN_auraosETH_wETH_BPT_vault, + tokenHasSamePriceFeed: TOKEN_osETH_wETH_BPT, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.auraosETH_wETH_BPT_vault, - tokenHasSamePriceFeed: Tokens.osETH_wETH_BPT, + token: TOKEN_auraosETH_wETH_BPT_vault, + tokenHasSamePriceFeed: TOKEN_osETH_wETH_BPT, trusted: false, reserve: false }) @@ -7472,32 +7357,32 @@ contract PriceFeedDataLive { // ------------------------ auraBPT_rETH_ETH ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.auraBPT_rETH_ETH, - tokenHasSamePriceFeed: Tokens.BPT_rETH_ETH, + token: TOKEN_auraBPT_rETH_ETH, + tokenHasSamePriceFeed: TOKEN_BPT_rETH_ETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.auraBPT_rETH_ETH, - tokenHasSamePriceFeed: Tokens.BPT_rETH_ETH, + token: TOKEN_auraBPT_rETH_ETH, + tokenHasSamePriceFeed: TOKEN_BPT_rETH_ETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.auraBPT_rETH_ETH, - tokenHasSamePriceFeed: Tokens.BPT_rETH_ETH, + token: TOKEN_auraBPT_rETH_ETH, + tokenHasSamePriceFeed: TOKEN_BPT_rETH_ETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.auraBPT_rETH_ETH, - tokenHasSamePriceFeed: Tokens.BPT_rETH_ETH, + token: TOKEN_auraBPT_rETH_ETH, + tokenHasSamePriceFeed: TOKEN_BPT_rETH_ETH, trusted: false, reserve: false }) @@ -7506,32 +7391,32 @@ contract PriceFeedDataLive { // ------------------------ auraBPT_rETH_ETH_vault ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.auraBPT_rETH_ETH_vault, - tokenHasSamePriceFeed: Tokens.BPT_rETH_ETH, + token: TOKEN_auraBPT_rETH_ETH_vault, + tokenHasSamePriceFeed: TOKEN_BPT_rETH_ETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.auraBPT_rETH_ETH_vault, - tokenHasSamePriceFeed: Tokens.BPT_rETH_ETH, + token: TOKEN_auraBPT_rETH_ETH_vault, + tokenHasSamePriceFeed: TOKEN_BPT_rETH_ETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.auraBPT_rETH_ETH_vault, - tokenHasSamePriceFeed: Tokens.BPT_rETH_ETH, + token: TOKEN_auraBPT_rETH_ETH_vault, + tokenHasSamePriceFeed: TOKEN_BPT_rETH_ETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.auraBPT_rETH_ETH_vault, - tokenHasSamePriceFeed: Tokens.BPT_rETH_ETH, + token: TOKEN_auraBPT_rETH_ETH_vault, + tokenHasSamePriceFeed: TOKEN_BPT_rETH_ETH, trusted: false, reserve: false }) @@ -7540,32 +7425,32 @@ contract PriceFeedDataLive { // ------------------------ auraBPT_WSTETH_ETH ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.auraBPT_WSTETH_ETH, - tokenHasSamePriceFeed: Tokens.BPT_WSTETH_ETH, + token: TOKEN_auraBPT_WSTETH_ETH, + tokenHasSamePriceFeed: TOKEN_BPT_WSTETH_ETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.auraBPT_WSTETH_ETH, - tokenHasSamePriceFeed: Tokens.BPT_WSTETH_ETH, + token: TOKEN_auraBPT_WSTETH_ETH, + tokenHasSamePriceFeed: TOKEN_BPT_WSTETH_ETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.auraBPT_WSTETH_ETH, - tokenHasSamePriceFeed: Tokens.BPT_WSTETH_ETH, + token: TOKEN_auraBPT_WSTETH_ETH, + tokenHasSamePriceFeed: TOKEN_BPT_WSTETH_ETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.auraBPT_WSTETH_ETH, - tokenHasSamePriceFeed: Tokens.BPT_WSTETH_ETH, + token: TOKEN_auraBPT_WSTETH_ETH, + tokenHasSamePriceFeed: TOKEN_BPT_WSTETH_ETH, trusted: false, reserve: false }) @@ -7574,32 +7459,32 @@ contract PriceFeedDataLive { // ------------------------ auraBPT_WSTETH_ETH_vault ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.auraBPT_WSTETH_ETH_vault, - tokenHasSamePriceFeed: Tokens.BPT_WSTETH_ETH, + token: TOKEN_auraBPT_WSTETH_ETH_vault, + tokenHasSamePriceFeed: TOKEN_BPT_WSTETH_ETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.auraBPT_WSTETH_ETH_vault, - tokenHasSamePriceFeed: Tokens.BPT_WSTETH_ETH, + token: TOKEN_auraBPT_WSTETH_ETH_vault, + tokenHasSamePriceFeed: TOKEN_BPT_WSTETH_ETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.auraBPT_WSTETH_ETH_vault, - tokenHasSamePriceFeed: Tokens.BPT_WSTETH_ETH, + token: TOKEN_auraBPT_WSTETH_ETH_vault, + tokenHasSamePriceFeed: TOKEN_BPT_WSTETH_ETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.auraBPT_WSTETH_ETH_vault, - tokenHasSamePriceFeed: Tokens.BPT_WSTETH_ETH, + token: TOKEN_auraBPT_WSTETH_ETH_vault, + tokenHasSamePriceFeed: TOKEN_BPT_WSTETH_ETH, trusted: false, reserve: false }) @@ -7608,32 +7493,32 @@ contract PriceFeedDataLive { // ------------------------ aurarETH_wETH_BPT_vault ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.aurarETH_wETH_BPT_vault, - tokenHasSamePriceFeed: Tokens.rETH_wETH_BPT, + token: TOKEN_aurarETH_wETH_BPT_vault, + tokenHasSamePriceFeed: TOKEN_rETH_wETH_BPT, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.aurarETH_wETH_BPT_vault, - tokenHasSamePriceFeed: Tokens.rETH_wETH_BPT, + token: TOKEN_aurarETH_wETH_BPT_vault, + tokenHasSamePriceFeed: TOKEN_rETH_wETH_BPT, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.aurarETH_wETH_BPT_vault, - tokenHasSamePriceFeed: Tokens.rETH_wETH_BPT, + token: TOKEN_aurarETH_wETH_BPT_vault, + tokenHasSamePriceFeed: TOKEN_rETH_wETH_BPT, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.aurarETH_wETH_BPT_vault, - tokenHasSamePriceFeed: Tokens.rETH_wETH_BPT, + token: TOKEN_aurarETH_wETH_BPT_vault, + tokenHasSamePriceFeed: TOKEN_rETH_wETH_BPT, trusted: false, reserve: false }) @@ -7642,32 +7527,32 @@ contract PriceFeedDataLive { // ------------------------ auracbETH_rETH_wstETH_vault ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.auracbETH_rETH_wstETH_vault, - tokenHasSamePriceFeed: Tokens.cbETH_rETH_wstETH, + token: TOKEN_auracbETH_rETH_wstETH_vault, + tokenHasSamePriceFeed: TOKEN_cbETH_rETH_wstETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.auracbETH_rETH_wstETH_vault, - tokenHasSamePriceFeed: Tokens.cbETH_rETH_wstETH, + token: TOKEN_auracbETH_rETH_wstETH_vault, + tokenHasSamePriceFeed: TOKEN_cbETH_rETH_wstETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.auracbETH_rETH_wstETH_vault, - tokenHasSamePriceFeed: Tokens.cbETH_rETH_wstETH, + token: TOKEN_auracbETH_rETH_wstETH_vault, + tokenHasSamePriceFeed: TOKEN_cbETH_rETH_wstETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.auracbETH_rETH_wstETH_vault, - tokenHasSamePriceFeed: Tokens.cbETH_rETH_wstETH, + token: TOKEN_auracbETH_rETH_wstETH_vault, + tokenHasSamePriceFeed: TOKEN_cbETH_rETH_wstETH, trusted: false, reserve: false }) @@ -7676,32 +7561,32 @@ contract PriceFeedDataLive { // ------------------------ aurawstETH_rETH_sfrxETH_vault ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.aurawstETH_rETH_sfrxETH_vault, - tokenHasSamePriceFeed: Tokens.wstETH_rETH_sfrxETH, + token: TOKEN_aurawstETH_rETH_sfrxETH_vault, + tokenHasSamePriceFeed: TOKEN_wstETH_rETH_sfrxETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.aurawstETH_rETH_sfrxETH_vault, - tokenHasSamePriceFeed: Tokens.wstETH_rETH_sfrxETH, + token: TOKEN_aurawstETH_rETH_sfrxETH_vault, + tokenHasSamePriceFeed: TOKEN_wstETH_rETH_sfrxETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.aurawstETH_rETH_sfrxETH_vault, - tokenHasSamePriceFeed: Tokens.wstETH_rETH_sfrxETH, + token: TOKEN_aurawstETH_rETH_sfrxETH_vault, + tokenHasSamePriceFeed: TOKEN_wstETH_rETH_sfrxETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.aurawstETH_rETH_sfrxETH_vault, - tokenHasSamePriceFeed: Tokens.wstETH_rETH_sfrxETH, + token: TOKEN_aurawstETH_rETH_sfrxETH_vault, + tokenHasSamePriceFeed: TOKEN_wstETH_rETH_sfrxETH, trusted: false, reserve: false }) @@ -7710,32 +7595,32 @@ contract PriceFeedDataLive { // ------------------------ aurawstETH_WETH_BPT_vault ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.aurawstETH_WETH_BPT_vault, - tokenHasSamePriceFeed: Tokens.wstETH_WETH_BPT, + token: TOKEN_aurawstETH_WETH_BPT_vault, + tokenHasSamePriceFeed: TOKEN_wstETH_WETH_BPT, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.aurawstETH_WETH_BPT_vault, - tokenHasSamePriceFeed: Tokens.wstETH_WETH_BPT, + token: TOKEN_aurawstETH_WETH_BPT_vault, + tokenHasSamePriceFeed: TOKEN_wstETH_WETH_BPT, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.aurawstETH_WETH_BPT_vault, - tokenHasSamePriceFeed: Tokens.wstETH_WETH_BPT, + token: TOKEN_aurawstETH_WETH_BPT_vault, + tokenHasSamePriceFeed: TOKEN_wstETH_WETH_BPT, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.aurawstETH_WETH_BPT_vault, - tokenHasSamePriceFeed: Tokens.wstETH_WETH_BPT, + token: TOKEN_aurawstETH_WETH_BPT_vault, + tokenHasSamePriceFeed: TOKEN_wstETH_WETH_BPT, trusted: false, reserve: false }) @@ -7744,32 +7629,32 @@ contract PriceFeedDataLive { // ------------------------ zpufETH ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.zpufETH, - tokenHasSamePriceFeed: Tokens.pufETH, + token: TOKEN_zpufETH, + tokenHasSamePriceFeed: TOKEN_pufETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.zpufETH, - tokenHasSamePriceFeed: Tokens.pufETH, + token: TOKEN_zpufETH, + tokenHasSamePriceFeed: TOKEN_pufETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.zpufETH, - tokenHasSamePriceFeed: Tokens.pufETH, + token: TOKEN_zpufETH, + tokenHasSamePriceFeed: TOKEN_pufETH, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.zpufETH, - tokenHasSamePriceFeed: Tokens.pufETH, + token: TOKEN_zpufETH, + tokenHasSamePriceFeed: TOKEN_pufETH, trusted: false, reserve: false }) @@ -7778,64 +7663,64 @@ contract PriceFeedDataLive { // ------------------------ stkUSDS ------------------------ theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.stkUSDS, - tokenHasSamePriceFeed: Tokens.USDS, + token: TOKEN_stkUSDS, + tokenHasSamePriceFeed: TOKEN_USDS, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.stkUSDS, - tokenHasSamePriceFeed: Tokens.USDS, + token: TOKEN_stkUSDS, + tokenHasSamePriceFeed: TOKEN_USDS, trusted: false, reserve: true }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.stkUSDS, - tokenHasSamePriceFeed: Tokens.USDS, + token: TOKEN_stkUSDS, + tokenHasSamePriceFeed: TOKEN_USDS, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.stkUSDS, - tokenHasSamePriceFeed: Tokens.USDS, + token: TOKEN_stkUSDS, + tokenHasSamePriceFeed: TOKEN_USDS, trusted: false, reserve: true }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.stkUSDS, - tokenHasSamePriceFeed: Tokens.USDS, + token: TOKEN_stkUSDS, + tokenHasSamePriceFeed: TOKEN_USDS, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.stkUSDS, - tokenHasSamePriceFeed: Tokens.USDS, + token: TOKEN_stkUSDS, + tokenHasSamePriceFeed: TOKEN_USDS, trusted: false, reserve: true }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.stkUSDS, - tokenHasSamePriceFeed: Tokens.USDS, + token: TOKEN_stkUSDS, + tokenHasSamePriceFeed: TOKEN_USDS, trusted: false, reserve: false }) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.stkUSDS, - tokenHasSamePriceFeed: Tokens.USDS, + token: TOKEN_stkUSDS, + tokenHasSamePriceFeed: TOKEN_USDS, trusted: false, reserve: true }) @@ -7843,45 +7728,45 @@ contract PriceFeedDataLive { // ------------------------ steakLRT ------------------------ mellowLRTPriceFeedsByNetwork[1].push( - GenericLPPriceFeedData({lpToken: Tokens.steakLRT, underlying: Tokens.WETH, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_steakLRT, underlying: TOKEN_WETH, trusted: false, reserve: false}) ); theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.steakLRT, - tokenHasSamePriceFeed: Tokens.wstETH, + token: TOKEN_steakLRT, + tokenHasSamePriceFeed: TOKEN_wstETH, trusted: false, reserve: true }) ); mellowLRTPriceFeedsByNetwork[42161].push( - GenericLPPriceFeedData({lpToken: Tokens.steakLRT, underlying: Tokens.WETH, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_steakLRT, underlying: TOKEN_WETH, trusted: false, reserve: false}) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.steakLRT, - tokenHasSamePriceFeed: Tokens.wstETH, + token: TOKEN_steakLRT, + tokenHasSamePriceFeed: TOKEN_wstETH, trusted: false, reserve: true }) ); mellowLRTPriceFeedsByNetwork[10].push( - GenericLPPriceFeedData({lpToken: Tokens.steakLRT, underlying: Tokens.WETH, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_steakLRT, underlying: TOKEN_WETH, trusted: false, reserve: false}) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.steakLRT, - tokenHasSamePriceFeed: Tokens.wstETH, + token: TOKEN_steakLRT, + tokenHasSamePriceFeed: TOKEN_wstETH, trusted: false, reserve: true }) ); mellowLRTPriceFeedsByNetwork[8453].push( - GenericLPPriceFeedData({lpToken: Tokens.steakLRT, underlying: Tokens.WETH, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_steakLRT, underlying: TOKEN_WETH, trusted: false, reserve: false}) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.steakLRT, - tokenHasSamePriceFeed: Tokens.wstETH, + token: TOKEN_steakLRT, + tokenHasSamePriceFeed: TOKEN_wstETH, trusted: false, reserve: true }) @@ -7889,45 +7774,45 @@ contract PriceFeedDataLive { // ------------------------ Re7LRT ------------------------ mellowLRTPriceFeedsByNetwork[1].push( - GenericLPPriceFeedData({lpToken: Tokens.Re7LRT, underlying: Tokens.WETH, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_Re7LRT, underlying: TOKEN_WETH, trusted: false, reserve: false}) ); theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.Re7LRT, - tokenHasSamePriceFeed: Tokens.wstETH, + token: TOKEN_Re7LRT, + tokenHasSamePriceFeed: TOKEN_wstETH, trusted: false, reserve: true }) ); mellowLRTPriceFeedsByNetwork[42161].push( - GenericLPPriceFeedData({lpToken: Tokens.Re7LRT, underlying: Tokens.WETH, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_Re7LRT, underlying: TOKEN_WETH, trusted: false, reserve: false}) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.Re7LRT, - tokenHasSamePriceFeed: Tokens.wstETH, + token: TOKEN_Re7LRT, + tokenHasSamePriceFeed: TOKEN_wstETH, trusted: false, reserve: true }) ); mellowLRTPriceFeedsByNetwork[10].push( - GenericLPPriceFeedData({lpToken: Tokens.Re7LRT, underlying: Tokens.WETH, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_Re7LRT, underlying: TOKEN_WETH, trusted: false, reserve: false}) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.Re7LRT, - tokenHasSamePriceFeed: Tokens.wstETH, + token: TOKEN_Re7LRT, + tokenHasSamePriceFeed: TOKEN_wstETH, trusted: false, reserve: true }) ); mellowLRTPriceFeedsByNetwork[8453].push( - GenericLPPriceFeedData({lpToken: Tokens.Re7LRT, underlying: Tokens.WETH, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_Re7LRT, underlying: TOKEN_WETH, trusted: false, reserve: false}) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.Re7LRT, - tokenHasSamePriceFeed: Tokens.wstETH, + token: TOKEN_Re7LRT, + tokenHasSamePriceFeed: TOKEN_wstETH, trusted: false, reserve: true }) @@ -7935,45 +7820,45 @@ contract PriceFeedDataLive { // ------------------------ amphrETH ------------------------ mellowLRTPriceFeedsByNetwork[1].push( - GenericLPPriceFeedData({lpToken: Tokens.amphrETH, underlying: Tokens.WETH, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_amphrETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) ); theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.amphrETH, - tokenHasSamePriceFeed: Tokens.wstETH, + token: TOKEN_amphrETH, + tokenHasSamePriceFeed: TOKEN_wstETH, trusted: false, reserve: true }) ); mellowLRTPriceFeedsByNetwork[42161].push( - GenericLPPriceFeedData({lpToken: Tokens.amphrETH, underlying: Tokens.WETH, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_amphrETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.amphrETH, - tokenHasSamePriceFeed: Tokens.wstETH, + token: TOKEN_amphrETH, + tokenHasSamePriceFeed: TOKEN_wstETH, trusted: false, reserve: true }) ); mellowLRTPriceFeedsByNetwork[10].push( - GenericLPPriceFeedData({lpToken: Tokens.amphrETH, underlying: Tokens.WETH, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_amphrETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.amphrETH, - tokenHasSamePriceFeed: Tokens.wstETH, + token: TOKEN_amphrETH, + tokenHasSamePriceFeed: TOKEN_wstETH, trusted: false, reserve: true }) ); mellowLRTPriceFeedsByNetwork[8453].push( - GenericLPPriceFeedData({lpToken: Tokens.amphrETH, underlying: Tokens.WETH, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_amphrETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.amphrETH, - tokenHasSamePriceFeed: Tokens.wstETH, + token: TOKEN_amphrETH, + tokenHasSamePriceFeed: TOKEN_wstETH, trusted: false, reserve: true }) @@ -7981,45 +7866,45 @@ contract PriceFeedDataLive { // ------------------------ rstETH ------------------------ mellowLRTPriceFeedsByNetwork[1].push( - GenericLPPriceFeedData({lpToken: Tokens.rstETH, underlying: Tokens.WETH, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_rstETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) ); theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.rstETH, - tokenHasSamePriceFeed: Tokens.wstETH, + token: TOKEN_rstETH, + tokenHasSamePriceFeed: TOKEN_wstETH, trusted: false, reserve: true }) ); mellowLRTPriceFeedsByNetwork[42161].push( - GenericLPPriceFeedData({lpToken: Tokens.rstETH, underlying: Tokens.WETH, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_rstETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.rstETH, - tokenHasSamePriceFeed: Tokens.wstETH, + token: TOKEN_rstETH, + tokenHasSamePriceFeed: TOKEN_wstETH, trusted: false, reserve: true }) ); mellowLRTPriceFeedsByNetwork[10].push( - GenericLPPriceFeedData({lpToken: Tokens.rstETH, underlying: Tokens.WETH, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_rstETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.rstETH, - tokenHasSamePriceFeed: Tokens.wstETH, + token: TOKEN_rstETH, + tokenHasSamePriceFeed: TOKEN_wstETH, trusted: false, reserve: true }) ); mellowLRTPriceFeedsByNetwork[8453].push( - GenericLPPriceFeedData({lpToken: Tokens.rstETH, underlying: Tokens.WETH, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_rstETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.rstETH, - tokenHasSamePriceFeed: Tokens.wstETH, + token: TOKEN_rstETH, + tokenHasSamePriceFeed: TOKEN_wstETH, trusted: false, reserve: true }) @@ -8027,45 +7912,45 @@ contract PriceFeedDataLive { // ------------------------ pzETH ------------------------ mellowLRTPriceFeedsByNetwork[1].push( - GenericLPPriceFeedData({lpToken: Tokens.pzETH, underlying: Tokens.WETH, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_pzETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) ); theSamePriceFeedsByNetwork[1].push( TheSamePriceFeedData({ - token: Tokens.pzETH, - tokenHasSamePriceFeed: Tokens.wstETH, + token: TOKEN_pzETH, + tokenHasSamePriceFeed: TOKEN_wstETH, trusted: false, reserve: true }) ); mellowLRTPriceFeedsByNetwork[42161].push( - GenericLPPriceFeedData({lpToken: Tokens.pzETH, underlying: Tokens.WETH, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_pzETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) ); theSamePriceFeedsByNetwork[42161].push( TheSamePriceFeedData({ - token: Tokens.pzETH, - tokenHasSamePriceFeed: Tokens.wstETH, + token: TOKEN_pzETH, + tokenHasSamePriceFeed: TOKEN_wstETH, trusted: false, reserve: true }) ); mellowLRTPriceFeedsByNetwork[10].push( - GenericLPPriceFeedData({lpToken: Tokens.pzETH, underlying: Tokens.WETH, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_pzETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) ); theSamePriceFeedsByNetwork[10].push( TheSamePriceFeedData({ - token: Tokens.pzETH, - tokenHasSamePriceFeed: Tokens.wstETH, + token: TOKEN_pzETH, + tokenHasSamePriceFeed: TOKEN_wstETH, trusted: false, reserve: true }) ); mellowLRTPriceFeedsByNetwork[8453].push( - GenericLPPriceFeedData({lpToken: Tokens.pzETH, underlying: Tokens.WETH, trusted: false, reserve: false}) + GenericLPPriceFeedData({lpToken: TOKEN_pzETH, underlying: TOKEN_WETH, trusted: false, reserve: false}) ); theSamePriceFeedsByNetwork[8453].push( TheSamePriceFeedData({ - token: Tokens.pzETH, - tokenHasSamePriceFeed: Tokens.wstETH, + token: TOKEN_pzETH, + tokenHasSamePriceFeed: TOKEN_wstETH, trusted: false, reserve: true }) @@ -8074,8 +7959,8 @@ contract PriceFeedDataLive { // ------------------------ PT_rsETH_26SEP2024 ------------------------ pendlePriceFeedsByNetwork[1].push( PendlePriceFeedData({ - token: Tokens.PT_rsETH_26SEP2024, - underlying: Tokens.rsETH, + token: TOKEN_PT_rsETH_26SEP2024, + underlying: TOKEN_rsETH, market: 0x6b4740722e46048874d84306B2877600ABCea3Ae, twapWindow: 3600, trusted: false, @@ -8086,8 +7971,8 @@ contract PriceFeedDataLive { // ------------------------ PT_sUSDe_26DEC2024 ------------------------ pendlePriceFeedsByNetwork[1].push( PendlePriceFeedData({ - token: Tokens.PT_sUSDe_26DEC2024, - underlying: Tokens.USDe, + token: TOKEN_PT_sUSDe_26DEC2024, + underlying: TOKEN_USDe, market: 0xa0ab94DeBB3cC9A7eA77f3205ba4AB23276feD08, twapWindow: 1800, trusted: false, @@ -8096,8 +7981,8 @@ contract PriceFeedDataLive { ); pendlePriceFeedsByNetwork[1].push( PendlePriceFeedData({ - token: Tokens.PT_sUSDe_26DEC2024, - underlying: Tokens.USDe, + token: TOKEN_PT_sUSDe_26DEC2024, + underlying: TOKEN_USDe, market: 0xa0ab94DeBB3cC9A7eA77f3205ba4AB23276feD08, twapWindow: 1800, trusted: false, @@ -8108,8 +7993,8 @@ contract PriceFeedDataLive { // ------------------------ PT_eETH_26DEC2024 ------------------------ pendlePriceFeedsByNetwork[1].push( PendlePriceFeedData({ - token: Tokens.PT_eETH_26DEC2024, - underlying: Tokens.WETH, + token: TOKEN_PT_eETH_26DEC2024, + underlying: TOKEN_WETH, market: 0x7d372819240D14fB477f17b964f95F33BeB4c704, twapWindow: 1800, trusted: false, @@ -8118,8 +8003,8 @@ contract PriceFeedDataLive { ); pendlePriceFeedsByNetwork[1].push( PendlePriceFeedData({ - token: Tokens.PT_eETH_26DEC2024, - underlying: Tokens.WETH, + token: TOKEN_PT_eETH_26DEC2024, + underlying: TOKEN_WETH, market: 0x7d372819240D14fB477f17b964f95F33BeB4c704, twapWindow: 1800, trusted: false, @@ -8130,8 +8015,8 @@ contract PriceFeedDataLive { // ------------------------ PT_ezETH_26DEC2024 ------------------------ pendlePriceFeedsByNetwork[1].push( PendlePriceFeedData({ - token: Tokens.PT_ezETH_26DEC2024, - underlying: Tokens.WETH, + token: TOKEN_PT_ezETH_26DEC2024, + underlying: TOKEN_WETH, market: 0xD8F12bCDE578c653014F27379a6114F67F0e445f, twapWindow: 1800, trusted: false, @@ -8140,8 +8025,8 @@ contract PriceFeedDataLive { ); pendlePriceFeedsByNetwork[1].push( PendlePriceFeedData({ - token: Tokens.PT_ezETH_26DEC2024, - underlying: Tokens.WETH, + token: TOKEN_PT_ezETH_26DEC2024, + underlying: TOKEN_WETH, market: 0xD8F12bCDE578c653014F27379a6114F67F0e445f, twapWindow: 1800, trusted: false, @@ -8152,8 +8037,8 @@ contract PriceFeedDataLive { // ------------------------ PT_eBTC_26DEC2024 ------------------------ pendlePriceFeedsByNetwork[1].push( PendlePriceFeedData({ - token: Tokens.PT_eBTC_26DEC2024, - underlying: Tokens.WBTC, + token: TOKEN_PT_eBTC_26DEC2024, + underlying: TOKEN_WBTC, market: 0x36d3ca43ae7939645C306E26603ce16e39A89192, twapWindow: 1800, trusted: false, @@ -8162,8 +8047,8 @@ contract PriceFeedDataLive { ); pendlePriceFeedsByNetwork[1].push( PendlePriceFeedData({ - token: Tokens.PT_eBTC_26DEC2024, - underlying: Tokens.WBTC, + token: TOKEN_PT_eBTC_26DEC2024, + underlying: TOKEN_WBTC, market: 0x36d3ca43ae7939645C306E26603ce16e39A89192, twapWindow: 1800, trusted: false, @@ -8174,8 +8059,8 @@ contract PriceFeedDataLive { // ------------------------ PT_LBTC_27MAR2025 ------------------------ pendlePriceFeedsByNetwork[1].push( PendlePriceFeedData({ - token: Tokens.PT_LBTC_27MAR2025, - underlying: Tokens.WBTC, + token: TOKEN_PT_LBTC_27MAR2025, + underlying: TOKEN_WBTC, market: 0x70B70Ac0445C3eF04E314DFdA6caafd825428221, twapWindow: 1800, trusted: false, @@ -8184,8 +8069,8 @@ contract PriceFeedDataLive { ); pendlePriceFeedsByNetwork[1].push( PendlePriceFeedData({ - token: Tokens.PT_LBTC_27MAR2025, - underlying: Tokens.WBTC, + token: TOKEN_PT_LBTC_27MAR2025, + underlying: TOKEN_WBTC, market: 0x70B70Ac0445C3eF04E314DFdA6caafd825428221, twapWindow: 1800, trusted: false, diff --git a/contracts/Tokens.sol b/contracts/Tokens.sol index 0ddfff9..46114e3 100644 --- a/contracts/Tokens.sol +++ b/contracts/Tokens.sol @@ -4,255 +4,254 @@ pragma solidity ^0.8.17; /// @dev c-Tokens and LUNA are added for unit test purposes -enum Tokens { - NO_TOKEN, - LUNA, - _1INCH, - AAVE, - COMP, - CRV, - DAI, - DPI, - FEI, - LINK, - SNX, - UNI, - USDC, - USDC_e, - USDT, - WBTC, - WETH, - YFI, - WLD, - OP, - STETH, - CVX, - FRAX, - FXS, - LDO, - LUSD, - sUSD, - GUSD, - LQTY, - OHM, - MIM, - SPELL, - GMX, - ARB, - RDNT, - BAL, - SHIB, - crvUSD, - MKR, - RPL, - APE, - LBTC, - eBTC, - rETH, - AURA, - osETH, - weETH, - SWISE, - ezETH, - rsETH, - frxETH, - PENDLE, - cbETH, - rswETH, - USDe, - GHO, - pufETH, - wstETH, - steakLRT, - Re7LRT, - amphrETH, - rstETH, - pzETH, - PT_rsETH_26SEP2024, - USDS, - SKY, - PT_sUSDe_26DEC2024, - PT_eETH_26DEC2024, - PT_ezETH_26DEC2024, - PT_eBTC_26DEC2024, - PT_LBTC_27MAR2025, - sfrxETH, - _3Crv, - crvFRAX, - steCRV, - crvPlain3andSUSD, - crvCRVETH, - crvCVXETH, - crvUSDTWBTCWETH, - LDOETH, - crvUSDUSDC, - crvUSDUSDT, - crvUSDFRAX, - crvUSDETHCRV, - rETH_f, - USDeUSDC, - FRAXUSDe, - USDecrvUSD, - USDeDAI, - MtEthena, - GHOUSDe, - pufETHwstE, - GHOcrvUSD, - wstETHCRV, - _2CRV, - _3c_crvUSD, - crvUSDC, - crvUSDT, - crvUSDC_e, - USDEUSDC, - _3CRV, - ezETHWETH, - ezpzETH, - LBTCWBTC, - eBTCWBTC, - TriBTC, - FRAX3CRV, - LUSD3CRV, - gusd3CRV, - MIM_3LP3CRV, - OHMFRAXBP, - cvx3Crv, - cvxcrvFRAX, - cvxsteCRV, - cvxFRAX3CRV, - cvxLUSD3CRV, - cvxcrvPlain3andSUSD, - cvxgusd3CRV, - cvxOHMFRAXBP, - cvxMIM_3LP3CRV, - cvxcrvCRVETH, - cvxcrvCVXETH, - cvxcrvUSDTWBTCWETH, - cvxLDOETH, - cvxcrvUSDUSDC, - cvxcrvUSDUSDT, - cvxcrvUSDFRAX, - cvxcrvUSDETHCRV, - cvxGHOcrvUSD, - stkcvx3Crv, - stkcvxcrvFRAX, - stkcvxsteCRV, - stkcvxFRAX3CRV, - stkcvxLUSD3CRV, - stkcvxcrvPlain3andSUSD, - stkcvxgusd3CRV, - stkcvxOHMFRAXBP, - stkcvxMIM_3LP3CRV, - stkcvxcrvCRVETH, - stkcvxcrvCVXETH, - stkcvxcrvUSDTWBTCWETH, - stkcvxLDOETH, - stkcvxcrvUSDUSDC, - stkcvxcrvUSDUSDT, - stkcvxcrvUSDFRAX, - stkcvxcrvUSDETHCRV, - stkcvxGHOcrvUSD, - cvxcrvUSDT, - yvDAI, - yvUSDC, - yvUSDC_e, - yvWETH, - yvWBTC, - yvUSDT, - yvOP, - yvCurve_stETH, - yvCurve_FRAX, - _50WETH_50AURA, - B_80BAL_20WETH, - _50OHM_50DAI, - _50OHM_50WETH, - OHM_wstETH, - USDC_DAI_USDT, - B_rETH_STABLE, - weETH_rETH, - osETH_wETH_BPT, - ezETH_WETH_BPT, - trenSTETH, - weETH_ezETH_rswETH, - GHO_USDT_USDC, - rsETH_WETH, - rsETH_wETH_Arb, - BPT_rETH_ETH, - BPT_WSTETH_ETH, - BPT_ROAD, - ECLP_wstETH_WETH, - wstETH_WETH_BPT, - wstETH_rETH_sfrxETH, - wstETH_rETH_cbETH, - cbETH_rETH_wstETH, - rETH_WETH_BPT_deprecated, - rETH_wETH_BPT, - _33AURA_33ARB_33BAL, - ezETH_wstETH, - bpt_ethtri, - aDAI, - aUSDC, - aUSDT, - aWETH, - waDAI, - waUSDC, - waUSDT, - waWETH, - cDAI, - cUSDC, - cUSDT, - cETH, - cLINK, - fUSDC, - sDAI, - YieldETH, - sUSDe, - sUSDS, - auraB_rETH_STABLE, - auraosETH_wETH_BPT, - auraweETH_rETH, - auraBPT_rETH_ETH, - auraBPT_WSTETH_ETH, - aurawstETH_WETH_BPT, - aurawstETH_rETH_sfrxETH, - auracbETH_rETH_wstETH, - aurarETH_wETH_BPT, - auraB_rETH_STABLE_vault, - auraosETH_wETH_BPT_vault, - auraweETH_rETH_vault, - auraBPT_rETH_ETH_vault, - auraBPT_WSTETH_ETH_vault, - aurawstETH_WETH_BPT_vault, - aurawstETH_rETH_sfrxETH_vault, - auracbETH_rETH_wstETH_vault, - aurarETH_wETH_BPT_vault, - zpufETH, - stkUSDS, - dDAI, - dUSDC, - dWBTC, - dWETH, - dwstETH, - dFRAX, - dUSDCV3, - dUSDC_eV3, - dWBTCV3, - dWETHV3, - dUSDTV3, - dGHOV3, - dDAIV3, - dcrvUSDV3, - sdUSDCV3, - sdUSDC_eV3, - sdWBTCV3, - sdWETHV3, - sdWETHV3_OLD, - sdUSDTV3, - sdGHOV3, - sdDAIV3, - sdcrvUSDV3, - GEAR -} +uint256 constant TOKEN_NO_TOKEN = 0; +uint256 constant TOKEN_LUNA = 1; +uint256 constant TOKEN__1INCH = 2; +uint256 constant TOKEN_AAVE = 3; +uint256 constant TOKEN_COMP = 4; +uint256 constant TOKEN_CRV = 5; +uint256 constant TOKEN_DAI = 6; +uint256 constant TOKEN_DPI = 7; +uint256 constant TOKEN_FEI = 8; +uint256 constant TOKEN_LINK = 9; +uint256 constant TOKEN_SNX = 10; +uint256 constant TOKEN_UNI = 11; +uint256 constant TOKEN_USDC = 12; +uint256 constant TOKEN_USDC_e = 13; +uint256 constant TOKEN_USDT = 14; +uint256 constant TOKEN_WBTC = 15; +uint256 constant TOKEN_WETH = 16; +uint256 constant TOKEN_YFI = 17; +uint256 constant TOKEN_WLD = 18; +uint256 constant TOKEN_OP = 19; +uint256 constant TOKEN_STETH = 20; +uint256 constant TOKEN_CVX = 21; +uint256 constant TOKEN_FRAX = 22; +uint256 constant TOKEN_FXS = 23; +uint256 constant TOKEN_LDO = 24; +uint256 constant TOKEN_LUSD = 25; +uint256 constant TOKEN_sUSD = 26; +uint256 constant TOKEN_GUSD = 27; +uint256 constant TOKEN_LQTY = 28; +uint256 constant TOKEN_OHM = 29; +uint256 constant TOKEN_MIM = 30; +uint256 constant TOKEN_SPELL = 31; +uint256 constant TOKEN_GMX = 32; +uint256 constant TOKEN_ARB = 33; +uint256 constant TOKEN_RDNT = 34; +uint256 constant TOKEN_BAL = 35; +uint256 constant TOKEN_SHIB = 36; +uint256 constant TOKEN_crvUSD = 37; +uint256 constant TOKEN_MKR = 38; +uint256 constant TOKEN_RPL = 39; +uint256 constant TOKEN_APE = 40; +uint256 constant TOKEN_LBTC = 41; +uint256 constant TOKEN_eBTC = 42; +uint256 constant TOKEN_rETH = 43; +uint256 constant TOKEN_AURA = 44; +uint256 constant TOKEN_osETH = 45; +uint256 constant TOKEN_weETH = 46; +uint256 constant TOKEN_SWISE = 47; +uint256 constant TOKEN_ezETH = 48; +uint256 constant TOKEN_rsETH = 49; +uint256 constant TOKEN_frxETH = 50; +uint256 constant TOKEN_PENDLE = 51; +uint256 constant TOKEN_cbETH = 52; +uint256 constant TOKEN_rswETH = 53; +uint256 constant TOKEN_USDe = 54; +uint256 constant TOKEN_GHO = 55; +uint256 constant TOKEN_pufETH = 56; +uint256 constant TOKEN_wstETH = 57; +uint256 constant TOKEN_steakLRT = 58; +uint256 constant TOKEN_Re7LRT = 59; +uint256 constant TOKEN_amphrETH = 60; +uint256 constant TOKEN_rstETH = 61; +uint256 constant TOKEN_pzETH = 62; +uint256 constant TOKEN_PT_rsETH_26SEP2024 = 63; +uint256 constant TOKEN_USDS = 64; +uint256 constant TOKEN_SKY = 65; +uint256 constant TOKEN_PT_sUSDe_26DEC2024 = 66; +uint256 constant TOKEN_PT_eETH_26DEC2024 = 67; +uint256 constant TOKEN_PT_ezETH_26DEC2024 = 68; +uint256 constant TOKEN_PT_eBTC_26DEC2024 = 69; +uint256 constant TOKEN_PT_LBTC_27MAR2025 = 70; +uint256 constant TOKEN_sfrxETH = 71; +uint256 constant TOKEN__3Crv = 72; +uint256 constant TOKEN_crvFRAX = 73; +uint256 constant TOKEN_steCRV = 74; +uint256 constant TOKEN_crvPlain3andSUSD = 75; +uint256 constant TOKEN_crvCRVETH = 76; +uint256 constant TOKEN_crvCVXETH = 77; +uint256 constant TOKEN_crvUSDTWBTCWETH = 78; +uint256 constant TOKEN_LDOETH = 79; +uint256 constant TOKEN_crvUSDUSDC = 80; +uint256 constant TOKEN_crvUSDUSDT = 81; +uint256 constant TOKEN_crvUSDFRAX = 82; +uint256 constant TOKEN_crvUSDETHCRV = 83; +uint256 constant TOKEN_rETH_f = 84; +uint256 constant TOKEN_USDeUSDC = 85; +uint256 constant TOKEN_FRAXUSDe = 86; +uint256 constant TOKEN_USDecrvUSD = 87; +uint256 constant TOKEN_USDeDAI = 88; +uint256 constant TOKEN_MtEthena = 89; +uint256 constant TOKEN_GHOUSDe = 90; +uint256 constant TOKEN_pufETHwstE = 91; +uint256 constant TOKEN_GHOcrvUSD = 92; +uint256 constant TOKEN_wstETHCRV = 93; +uint256 constant TOKEN__2CRV = 94; +uint256 constant TOKEN__3c_crvUSD = 95; +uint256 constant TOKEN_crvUSDC = 96; +uint256 constant TOKEN_crvUSDT = 97; +uint256 constant TOKEN_crvUSDC_e = 98; +uint256 constant TOKEN_USDEUSDC = 99; +uint256 constant TOKEN__3CRV = 100; +uint256 constant TOKEN_ezETHWETH = 101; +uint256 constant TOKEN_ezpzETH = 102; +uint256 constant TOKEN_LBTCWBTC = 103; +uint256 constant TOKEN_eBTCWBTC = 104; +uint256 constant TOKEN_TriBTC = 105; +uint256 constant TOKEN_FRAX3CRV = 106; +uint256 constant TOKEN_LUSD3CRV = 107; +uint256 constant TOKEN_gusd3CRV = 108; +uint256 constant TOKEN_MIM_3LP3CRV = 109; +uint256 constant TOKEN_OHMFRAXBP = 110; +uint256 constant TOKEN_cvx3Crv = 111; +uint256 constant TOKEN_cvxcrvFRAX = 112; +uint256 constant TOKEN_cvxsteCRV = 113; +uint256 constant TOKEN_cvxFRAX3CRV = 114; +uint256 constant TOKEN_cvxLUSD3CRV = 115; +uint256 constant TOKEN_cvxcrvPlain3andSUSD = 116; +uint256 constant TOKEN_cvxgusd3CRV = 117; +uint256 constant TOKEN_cvxOHMFRAXBP = 118; +uint256 constant TOKEN_cvxMIM_3LP3CRV = 119; +uint256 constant TOKEN_cvxcrvCRVETH = 120; +uint256 constant TOKEN_cvxcrvCVXETH = 121; +uint256 constant TOKEN_cvxcrvUSDTWBTCWETH = 122; +uint256 constant TOKEN_cvxLDOETH = 123; +uint256 constant TOKEN_cvxcrvUSDUSDC = 124; +uint256 constant TOKEN_cvxcrvUSDUSDT = 125; +uint256 constant TOKEN_cvxcrvUSDFRAX = 126; +uint256 constant TOKEN_cvxcrvUSDETHCRV = 127; +uint256 constant TOKEN_cvxGHOcrvUSD = 128; +uint256 constant TOKEN_stkcvx3Crv = 129; +uint256 constant TOKEN_stkcvxcrvFRAX = 130; +uint256 constant TOKEN_stkcvxsteCRV = 131; +uint256 constant TOKEN_stkcvxFRAX3CRV = 132; +uint256 constant TOKEN_stkcvxLUSD3CRV = 133; +uint256 constant TOKEN_stkcvxcrvPlain3andSUSD = 134; +uint256 constant TOKEN_stkcvxgusd3CRV = 135; +uint256 constant TOKEN_stkcvxOHMFRAXBP = 136; +uint256 constant TOKEN_stkcvxMIM_3LP3CRV = 137; +uint256 constant TOKEN_stkcvxcrvCRVETH = 138; +uint256 constant TOKEN_stkcvxcrvCVXETH = 139; +uint256 constant TOKEN_stkcvxcrvUSDTWBTCWETH = 140; +uint256 constant TOKEN_stkcvxLDOETH = 141; +uint256 constant TOKEN_stkcvxcrvUSDUSDC = 142; +uint256 constant TOKEN_stkcvxcrvUSDUSDT = 143; +uint256 constant TOKEN_stkcvxcrvUSDFRAX = 144; +uint256 constant TOKEN_stkcvxcrvUSDETHCRV = 145; +uint256 constant TOKEN_stkcvxGHOcrvUSD = 146; +uint256 constant TOKEN_cvxcrvUSDT = 147; +uint256 constant TOKEN_yvDAI = 148; +uint256 constant TOKEN_yvUSDC = 149; +uint256 constant TOKEN_yvUSDC_e = 150; +uint256 constant TOKEN_yvWETH = 151; +uint256 constant TOKEN_yvWBTC = 152; +uint256 constant TOKEN_yvUSDT = 153; +uint256 constant TOKEN_yvOP = 154; +uint256 constant TOKEN_yvCurve_stETH = 155; +uint256 constant TOKEN_yvCurve_FRAX = 156; +uint256 constant TOKEN__50WETH_50AURA = 157; +uint256 constant TOKEN_B_80BAL_20WETH = 158; +uint256 constant TOKEN__50OHM_50DAI = 159; +uint256 constant TOKEN__50OHM_50WETH = 160; +uint256 constant TOKEN_OHM_wstETH = 161; +uint256 constant TOKEN_USDC_DAI_USDT = 162; +uint256 constant TOKEN_B_rETH_STABLE = 163; +uint256 constant TOKEN_weETH_rETH = 164; +uint256 constant TOKEN_osETH_wETH_BPT = 165; +uint256 constant TOKEN_ezETH_WETH_BPT = 166; +uint256 constant TOKEN_trenSTETH = 167; +uint256 constant TOKEN_weETH_ezETH_rswETH = 168; +uint256 constant TOKEN_GHO_USDT_USDC = 169; +uint256 constant TOKEN_rsETH_WETH = 170; +uint256 constant TOKEN_rsETH_wETH_Arb = 171; +uint256 constant TOKEN_BPT_rETH_ETH = 172; +uint256 constant TOKEN_BPT_WSTETH_ETH = 173; +uint256 constant TOKEN_BPT_ROAD = 174; +uint256 constant TOKEN_ECLP_wstETH_WETH = 175; +uint256 constant TOKEN_wstETH_WETH_BPT = 176; +uint256 constant TOKEN_wstETH_rETH_sfrxETH = 177; +uint256 constant TOKEN_wstETH_rETH_cbETH = 178; +uint256 constant TOKEN_cbETH_rETH_wstETH = 179; +uint256 constant TOKEN_rETH_WETH_BPT_deprecated = 180; +uint256 constant TOKEN_rETH_wETH_BPT = 181; +uint256 constant TOKEN__33AURA_33ARB_33BAL = 182; +uint256 constant TOKEN_ezETH_wstETH = 183; +uint256 constant TOKEN_bpt_ethtri = 184; +uint256 constant TOKEN_aDAI = 185; +uint256 constant TOKEN_aUSDC = 186; +uint256 constant TOKEN_aUSDT = 187; +uint256 constant TOKEN_aWETH = 188; +uint256 constant TOKEN_waDAI = 189; +uint256 constant TOKEN_waUSDC = 190; +uint256 constant TOKEN_waUSDT = 191; +uint256 constant TOKEN_waWETH = 192; +uint256 constant TOKEN_cDAI = 193; +uint256 constant TOKEN_cUSDC = 194; +uint256 constant TOKEN_cUSDT = 195; +uint256 constant TOKEN_cETH = 196; +uint256 constant TOKEN_cLINK = 197; +uint256 constant TOKEN_fUSDC = 198; +uint256 constant TOKEN_sDAI = 199; +uint256 constant TOKEN_YieldETH = 200; +uint256 constant TOKEN_sUSDe = 201; +uint256 constant TOKEN_sUSDS = 202; +uint256 constant TOKEN_auraB_rETH_STABLE = 203; +uint256 constant TOKEN_auraosETH_wETH_BPT = 204; +uint256 constant TOKEN_auraweETH_rETH = 205; +uint256 constant TOKEN_auraBPT_rETH_ETH = 206; +uint256 constant TOKEN_auraBPT_WSTETH_ETH = 207; +uint256 constant TOKEN_aurawstETH_WETH_BPT = 208; +uint256 constant TOKEN_aurawstETH_rETH_sfrxETH = 209; +uint256 constant TOKEN_auracbETH_rETH_wstETH = 210; +uint256 constant TOKEN_aurarETH_wETH_BPT = 211; +uint256 constant TOKEN_auraB_rETH_STABLE_vault = 212; +uint256 constant TOKEN_auraosETH_wETH_BPT_vault = 213; +uint256 constant TOKEN_auraweETH_rETH_vault = 214; +uint256 constant TOKEN_auraBPT_rETH_ETH_vault = 215; +uint256 constant TOKEN_auraBPT_WSTETH_ETH_vault = 216; +uint256 constant TOKEN_aurawstETH_WETH_BPT_vault = 217; +uint256 constant TOKEN_aurawstETH_rETH_sfrxETH_vault = 218; +uint256 constant TOKEN_auracbETH_rETH_wstETH_vault = 219; +uint256 constant TOKEN_aurarETH_wETH_BPT_vault = 220; +uint256 constant TOKEN_zpufETH = 221; +uint256 constant TOKEN_stkUSDS = 222; +uint256 constant TOKEN_dDAI = 223; +uint256 constant TOKEN_dUSDC = 224; +uint256 constant TOKEN_dWBTC = 225; +uint256 constant TOKEN_dWETH = 226; +uint256 constant TOKEN_dwstETH = 227; +uint256 constant TOKEN_dFRAX = 228; +uint256 constant TOKEN_dUSDCV3 = 229; +uint256 constant TOKEN_dUSDC_eV3 = 230; +uint256 constant TOKEN_dWBTCV3 = 231; +uint256 constant TOKEN_dWETHV3 = 232; +uint256 constant TOKEN_dUSDTV3 = 233; +uint256 constant TOKEN_dGHOV3 = 234; +uint256 constant TOKEN_dDAIV3 = 235; +uint256 constant TOKEN_dcrvUSDV3 = 236; +uint256 constant TOKEN_sdUSDCV3 = 237; +uint256 constant TOKEN_sdUSDC_eV3 = 238; +uint256 constant TOKEN_sdWBTCV3 = 239; +uint256 constant TOKEN_sdWETHV3 = 240; +uint256 constant TOKEN_sdWETHV3_OLD = 241; +uint256 constant TOKEN_sdUSDTV3 = 242; +uint256 constant TOKEN_sdGHOV3 = 243; +uint256 constant TOKEN_sdDAIV3 = 244; +uint256 constant TOKEN_sdcrvUSDV3 = 245; +uint256 constant TOKEN_GEAR = 246; +uint256 constant NUM_TOKENS = 247; enum TokenType { NO_TOKEN, diff --git a/contracts/TokensData.sol b/contracts/TokensData.sol index 727ffea..0b39322 100644 --- a/contracts/TokensData.sol +++ b/contracts/TokensData.sol @@ -3,14 +3,14 @@ // (c) Gearbox Foundation, 2023 pragma solidity ^0.8.17; -import {Tokens, TokenType} from "./Tokens.sol"; +import "./Tokens.sol"; interface IERC20Check { function totalSupply() external view returns (uint256); } struct TokenData { - Tokens id; + uint256 id; address addr; string symbol; TokenType tokenType; @@ -22,7 +22,7 @@ contract TokensDataLive { constructor() { tokenDataByNetwork[1].push( TokenData({ - id: Tokens._1INCH, + id: TOKEN__1INCH, addr: 0x111111111117dC0aa78b770fA6A738034120C302, symbol: "1INCH", tokenType: TokenType.NORMAL_TOKEN @@ -30,7 +30,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.AAVE, + id: TOKEN_AAVE, addr: 0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9, symbol: "AAVE", tokenType: TokenType.NORMAL_TOKEN @@ -38,7 +38,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.COMP, + id: TOKEN_COMP, addr: 0xc00e94Cb662C3520282E6f5717214004A7f26888, symbol: "COMP", tokenType: TokenType.NORMAL_TOKEN @@ -46,7 +46,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.CRV, + id: TOKEN_CRV, addr: 0xD533a949740bb3306d119CC777fa900bA034cd52, symbol: "CRV", tokenType: TokenType.NORMAL_TOKEN @@ -54,7 +54,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.DAI, + id: TOKEN_DAI, addr: 0x6B175474E89094C44Da98b954EedeAC495271d0F, symbol: "DAI", tokenType: TokenType.NORMAL_TOKEN @@ -62,7 +62,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.DPI, + id: TOKEN_DPI, addr: 0x1494CA1F11D487c2bBe4543E90080AeBa4BA3C2b, symbol: "DPI", tokenType: TokenType.NORMAL_TOKEN @@ -70,7 +70,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.FEI, + id: TOKEN_FEI, addr: 0x956F47F50A910163D8BF957Cf5846D573E7f87CA, symbol: "FEI", tokenType: TokenType.NORMAL_TOKEN @@ -78,7 +78,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.LINK, + id: TOKEN_LINK, addr: 0x514910771AF9Ca656af840dff83E8264EcF986CA, symbol: "LINK", tokenType: TokenType.NORMAL_TOKEN @@ -86,7 +86,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.SNX, + id: TOKEN_SNX, addr: 0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F, symbol: "SNX", tokenType: TokenType.NORMAL_TOKEN @@ -94,7 +94,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.UNI, + id: TOKEN_UNI, addr: 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984, symbol: "UNI", tokenType: TokenType.NORMAL_TOKEN @@ -102,7 +102,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.USDC, + id: TOKEN_USDC, addr: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48, symbol: "USDC", tokenType: TokenType.NORMAL_TOKEN @@ -111,7 +111,7 @@ contract TokensDataLive { tokenDataByNetwork[1].push( TokenData({ - id: Tokens.USDT, + id: TOKEN_USDT, addr: 0xdAC17F958D2ee523a2206206994597C13D831ec7, symbol: "USDT", tokenType: TokenType.NORMAL_TOKEN @@ -119,7 +119,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.WBTC, + id: TOKEN_WBTC, addr: 0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599, symbol: "WBTC", tokenType: TokenType.NORMAL_TOKEN @@ -127,7 +127,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.WETH, + id: TOKEN_WETH, addr: 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, symbol: "WETH", tokenType: TokenType.NORMAL_TOKEN @@ -135,7 +135,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.YFI, + id: TOKEN_YFI, addr: 0x0bc529c00C6401aEF6D220BE8C6Ea1667F6Ad93e, symbol: "YFI", tokenType: TokenType.NORMAL_TOKEN @@ -143,7 +143,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.WLD, + id: TOKEN_WLD, addr: 0x163f8C2467924be0ae7B5347228CABF260318753, symbol: "WLD", tokenType: TokenType.NORMAL_TOKEN @@ -152,7 +152,7 @@ contract TokensDataLive { tokenDataByNetwork[1].push( TokenData({ - id: Tokens.STETH, + id: TOKEN_STETH, addr: 0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84, symbol: "STETH", tokenType: TokenType.NORMAL_TOKEN @@ -160,7 +160,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.CVX, + id: TOKEN_CVX, addr: 0x4e3FBD56CD56c3e72c1403e103b45Db9da5B9D2B, symbol: "CVX", tokenType: TokenType.NORMAL_TOKEN @@ -168,7 +168,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.FRAX, + id: TOKEN_FRAX, addr: 0x853d955aCEf822Db058eb8505911ED77F175b99e, symbol: "FRAX", tokenType: TokenType.NORMAL_TOKEN @@ -176,7 +176,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.FXS, + id: TOKEN_FXS, addr: 0x3432B6A60D23Ca0dFCa7761B7ab56459D9C964D0, symbol: "FXS", tokenType: TokenType.NORMAL_TOKEN @@ -184,7 +184,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.LDO, + id: TOKEN_LDO, addr: 0x5A98FcBEA516Cf06857215779Fd812CA3beF1B32, symbol: "LDO", tokenType: TokenType.NORMAL_TOKEN @@ -192,7 +192,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.LUSD, + id: TOKEN_LUSD, addr: 0x5f98805A4E8be255a32880FDeC7F6728C6568bA0, symbol: "LUSD", tokenType: TokenType.NORMAL_TOKEN @@ -200,7 +200,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.sUSD, + id: TOKEN_sUSD, addr: 0x57Ab1ec28D129707052df4dF418D58a2D46d5f51, symbol: "sUSD", tokenType: TokenType.NORMAL_TOKEN @@ -208,7 +208,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.GUSD, + id: TOKEN_GUSD, addr: 0x056Fd409E1d7A124BD7017459dFEa2F387b6d5Cd, symbol: "GUSD", tokenType: TokenType.NORMAL_TOKEN @@ -216,7 +216,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.LQTY, + id: TOKEN_LQTY, addr: 0x6DEA81C8171D0bA574754EF6F8b412F2Ed88c54D, symbol: "LQTY", tokenType: TokenType.NORMAL_TOKEN @@ -224,7 +224,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.OHM, + id: TOKEN_OHM, addr: 0x64aa3364F17a4D01c6f1751Fd97C2BD3D7e7f1D5, symbol: "OHM", tokenType: TokenType.NORMAL_TOKEN @@ -232,7 +232,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.MIM, + id: TOKEN_MIM, addr: 0x99D8a9C45b2ecA8864373A26D1459e3Dff1e17F3, symbol: "MIM", tokenType: TokenType.NORMAL_TOKEN @@ -240,7 +240,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.SPELL, + id: TOKEN_SPELL, addr: 0x090185f2135308BaD17527004364eBcC2D37e5F6, symbol: "SPELL", tokenType: TokenType.NORMAL_TOKEN @@ -249,7 +249,7 @@ contract TokensDataLive { tokenDataByNetwork[1].push( TokenData({ - id: Tokens.ARB, + id: TOKEN_ARB, addr: 0xB50721BCf8d664c30412Cfbc6cf7a15145234ad1, symbol: "ARB", tokenType: TokenType.NORMAL_TOKEN @@ -258,7 +258,7 @@ contract TokensDataLive { tokenDataByNetwork[1].push( TokenData({ - id: Tokens.BAL, + id: TOKEN_BAL, addr: 0xba100000625a3754423978a60c9317c58a424e3D, symbol: "BAL", tokenType: TokenType.NORMAL_TOKEN @@ -266,7 +266,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.SHIB, + id: TOKEN_SHIB, addr: 0x95aD61b0a150d79219dCF64E1E6Cc01f0B64C4cE, symbol: "SHIB", tokenType: TokenType.NORMAL_TOKEN @@ -274,7 +274,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.crvUSD, + id: TOKEN_crvUSD, addr: 0xf939E0A03FB07F59A73314E73794Be0E57ac1b4E, symbol: "crvUSD", tokenType: TokenType.NORMAL_TOKEN @@ -282,7 +282,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.MKR, + id: TOKEN_MKR, addr: 0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2, symbol: "MKR", tokenType: TokenType.NORMAL_TOKEN @@ -290,7 +290,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.RPL, + id: TOKEN_RPL, addr: 0xB4EFd85c19999D84251304bDA99E90B92300Bd93, symbol: "RPL", tokenType: TokenType.NORMAL_TOKEN @@ -298,7 +298,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.APE, + id: TOKEN_APE, addr: 0x4d224452801ACEd8B2F0aebE155379bb5D594381, symbol: "APE", tokenType: TokenType.NORMAL_TOKEN @@ -306,7 +306,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.LBTC, + id: TOKEN_LBTC, addr: 0x8236a87084f8B84306f72007F36F2618A5634494, symbol: "LBTC", tokenType: TokenType.NORMAL_TOKEN @@ -314,7 +314,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.eBTC, + id: TOKEN_eBTC, addr: 0x657e8C867D8B37dCC18fA4Caead9C45EB088C642, symbol: "eBTC", tokenType: TokenType.NORMAL_TOKEN @@ -322,7 +322,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.rETH, + id: TOKEN_rETH, addr: 0xae78736Cd615f374D3085123A210448E74Fc6393, symbol: "rETH", tokenType: TokenType.NORMAL_TOKEN @@ -330,7 +330,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.AURA, + id: TOKEN_AURA, addr: 0xC0c293ce456fF0ED870ADd98a0828Dd4d2903DBF, symbol: "AURA", tokenType: TokenType.NORMAL_TOKEN @@ -338,7 +338,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.osETH, + id: TOKEN_osETH, addr: 0xf1C9acDc66974dFB6dEcB12aA385b9cD01190E38, symbol: "osETH", tokenType: TokenType.NORMAL_TOKEN @@ -346,7 +346,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.weETH, + id: TOKEN_weETH, addr: 0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee, symbol: "weETH", tokenType: TokenType.NORMAL_TOKEN @@ -354,7 +354,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.SWISE, + id: TOKEN_SWISE, addr: 0x48C3399719B582dD63eB5AADf12A40B4C3f52FA2, symbol: "SWISE", tokenType: TokenType.NORMAL_TOKEN @@ -362,7 +362,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.ezETH, + id: TOKEN_ezETH, addr: 0xbf5495Efe5DB9ce00f80364C8B423567e58d2110, symbol: "ezETH", tokenType: TokenType.NORMAL_TOKEN @@ -370,7 +370,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.rsETH, + id: TOKEN_rsETH, addr: 0xA1290d69c65A6Fe4DF752f95823fae25cB99e5A7, symbol: "rsETH", tokenType: TokenType.NORMAL_TOKEN @@ -378,7 +378,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.frxETH, + id: TOKEN_frxETH, addr: 0x5E8422345238F34275888049021821E8E08CAa1f, symbol: "frxETH", tokenType: TokenType.NORMAL_TOKEN @@ -386,7 +386,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.PENDLE, + id: TOKEN_PENDLE, addr: 0x808507121B80c02388fAd14726482e061B8da827, symbol: "PENDLE", tokenType: TokenType.NORMAL_TOKEN @@ -394,7 +394,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.cbETH, + id: TOKEN_cbETH, addr: 0xBe9895146f7AF43049ca1c1AE358B0541Ea49704, symbol: "cbETH", tokenType: TokenType.NORMAL_TOKEN @@ -402,7 +402,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.rswETH, + id: TOKEN_rswETH, addr: 0xFAe103DC9cf190eD75350761e95403b7b8aFa6c0, symbol: "rswETH", tokenType: TokenType.NORMAL_TOKEN @@ -410,7 +410,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.USDe, + id: TOKEN_USDe, addr: 0x4c9EDD5852cd905f086C759E8383e09bff1E68B3, symbol: "USDe", tokenType: TokenType.NORMAL_TOKEN @@ -418,7 +418,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.GHO, + id: TOKEN_GHO, addr: 0x40D16FC0246aD3160Ccc09B8D0D3A2cD28aE6C2f, symbol: "GHO", tokenType: TokenType.NORMAL_TOKEN @@ -426,7 +426,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.pufETH, + id: TOKEN_pufETH, addr: 0xD9A442856C234a39a81a089C06451EBAa4306a72, symbol: "pufETH", tokenType: TokenType.NORMAL_TOKEN @@ -434,7 +434,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.wstETH, + id: TOKEN_wstETH, addr: 0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0, symbol: "wstETH", tokenType: TokenType.NORMAL_TOKEN @@ -442,7 +442,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.steakLRT, + id: TOKEN_steakLRT, addr: 0xBEEF69Ac7870777598A04B2bd4771c71212E6aBc, symbol: "steakLRT", tokenType: TokenType.NORMAL_TOKEN @@ -450,7 +450,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.Re7LRT, + id: TOKEN_Re7LRT, addr: 0x84631c0d0081FDe56DeB72F6DE77abBbF6A9f93a, symbol: "Re7LRT", tokenType: TokenType.NORMAL_TOKEN @@ -458,7 +458,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.amphrETH, + id: TOKEN_amphrETH, addr: 0x5fD13359Ba15A84B76f7F87568309040176167cd, symbol: "amphrETH", tokenType: TokenType.NORMAL_TOKEN @@ -466,7 +466,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.rstETH, + id: TOKEN_rstETH, addr: 0x7a4EffD87C2f3C55CA251080b1343b605f327E3a, symbol: "rstETH", tokenType: TokenType.NORMAL_TOKEN @@ -474,7 +474,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.pzETH, + id: TOKEN_pzETH, addr: 0x8c9532a60E0E7C6BbD2B2c1303F63aCE1c3E9811, symbol: "pzETH", tokenType: TokenType.NORMAL_TOKEN @@ -482,7 +482,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.PT_rsETH_26SEP2024, + id: TOKEN_PT_rsETH_26SEP2024, addr: 0x7bAf258049cc8B9A78097723dc19a8b103D4098F, symbol: "PT_rsETH_26SEP2024", tokenType: TokenType.NORMAL_TOKEN @@ -490,7 +490,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.USDS, + id: TOKEN_USDS, addr: 0xdC035D45d973E3EC169d2276DDab16f1e407384F, symbol: "USDS", tokenType: TokenType.NORMAL_TOKEN @@ -498,7 +498,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.SKY, + id: TOKEN_SKY, addr: 0x56072C95FAA701256059aa122697B133aDEd9279, symbol: "SKY", tokenType: TokenType.NORMAL_TOKEN @@ -506,7 +506,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.PT_sUSDe_26DEC2024, + id: TOKEN_PT_sUSDe_26DEC2024, addr: 0xEe9085fC268F6727d5D4293dBABccF901ffDCC29, symbol: "PT_sUSDe_26DEC2024", tokenType: TokenType.NORMAL_TOKEN @@ -514,7 +514,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.PT_eETH_26DEC2024, + id: TOKEN_PT_eETH_26DEC2024, addr: 0x6ee2b5E19ECBa773a352E5B21415Dc419A700d1d, symbol: "PT_eETH_26DEC2024", tokenType: TokenType.NORMAL_TOKEN @@ -522,7 +522,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.PT_ezETH_26DEC2024, + id: TOKEN_PT_ezETH_26DEC2024, addr: 0xf7906F274c174A52d444175729E3fa98f9bde285, symbol: "PT_ezETH_26DEC2024", tokenType: TokenType.NORMAL_TOKEN @@ -530,7 +530,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.PT_eBTC_26DEC2024, + id: TOKEN_PT_eBTC_26DEC2024, addr: 0xB997B3418935A1Df0F914Ee901ec83927c1509A0, symbol: "PT_eBTC_26DEC2024", tokenType: TokenType.NORMAL_TOKEN @@ -538,7 +538,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.PT_LBTC_27MAR2025, + id: TOKEN_PT_LBTC_27MAR2025, addr: 0xEc5a52C685CC3Ad79a6a347aBACe330d69e0b1eD, symbol: "PT_LBTC_27MAR2025", tokenType: TokenType.NORMAL_TOKEN @@ -546,7 +546,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.sfrxETH, + id: TOKEN_sfrxETH, addr: 0xac3E018457B222d93114458476f3E3416Abbe38F, symbol: "sfrxETH", tokenType: TokenType.WRAPPED_TOKEN @@ -554,7 +554,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens._3Crv, + id: TOKEN__3Crv, addr: 0x6c3F90f043a72FA612cbac8115EE7e52BDe6E490, symbol: "3Crv", tokenType: TokenType.CURVE_LP_TOKEN @@ -562,7 +562,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.crvFRAX, + id: TOKEN_crvFRAX, addr: 0x3175Df0976dFA876431C2E9eE6Bc45b65d3473CC, symbol: "crvFRAX", tokenType: TokenType.CURVE_LP_TOKEN @@ -570,7 +570,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.steCRV, + id: TOKEN_steCRV, addr: 0x06325440D014e39736583c165C2963BA99fAf14E, symbol: "steCRV", tokenType: TokenType.CURVE_LP_TOKEN @@ -578,7 +578,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.crvPlain3andSUSD, + id: TOKEN_crvPlain3andSUSD, addr: 0xC25a3A3b969415c80451098fa907EC722572917F, symbol: "crvPlain3andSUSD", tokenType: TokenType.CURVE_LP_TOKEN @@ -586,7 +586,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.crvCRVETH, + id: TOKEN_crvCRVETH, addr: 0xEd4064f376cB8d68F770FB1Ff088a3d0F3FF5c4d, symbol: "crvCRVETH", tokenType: TokenType.CURVE_LP_TOKEN @@ -594,7 +594,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.crvCVXETH, + id: TOKEN_crvCVXETH, addr: 0x3A283D9c08E8b55966afb64C515f5143cf907611, symbol: "crvCVXETH", tokenType: TokenType.CURVE_LP_TOKEN @@ -602,7 +602,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.crvUSDTWBTCWETH, + id: TOKEN_crvUSDTWBTCWETH, addr: 0xf5f5B97624542D72A9E06f04804Bf81baA15e2B4, symbol: "crvUSDTWBTCWETH", tokenType: TokenType.CURVE_LP_TOKEN @@ -610,7 +610,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.LDOETH, + id: TOKEN_LDOETH, addr: 0xb79565c01b7Ae53618d9B847b9443aAf4f9011e7, symbol: "LDOETH", tokenType: TokenType.CURVE_LP_TOKEN @@ -618,7 +618,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.crvUSDUSDC, + id: TOKEN_crvUSDUSDC, addr: 0x4DEcE678ceceb27446b35C672dC7d61F30bAD69E, symbol: "crvUSDUSDC", tokenType: TokenType.CURVE_LP_TOKEN @@ -626,7 +626,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.crvUSDUSDT, + id: TOKEN_crvUSDUSDT, addr: 0x390f3595bCa2Df7d23783dFd126427CCeb997BF4, symbol: "crvUSDUSDT", tokenType: TokenType.CURVE_LP_TOKEN @@ -634,7 +634,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.crvUSDFRAX, + id: TOKEN_crvUSDFRAX, addr: 0x0CD6f267b2086bea681E922E19D40512511BE538, symbol: "crvUSDFRAX", tokenType: TokenType.CURVE_LP_TOKEN @@ -642,7 +642,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.crvUSDETHCRV, + id: TOKEN_crvUSDETHCRV, addr: 0x4eBdF703948ddCEA3B11f675B4D1Fba9d2414A14, symbol: "crvUSDETHCRV", tokenType: TokenType.CURVE_LP_TOKEN @@ -650,7 +650,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.rETH_f, + id: TOKEN_rETH_f, addr: 0x6c38cE8984a890F5e46e6dF6117C26b3F1EcfC9C, symbol: "rETH_f", tokenType: TokenType.CURVE_LP_TOKEN @@ -658,7 +658,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.USDeUSDC, + id: TOKEN_USDeUSDC, addr: 0x02950460E2b9529D0E00284A5fA2d7bDF3fA4d72, symbol: "USDeUSDC", tokenType: TokenType.CURVE_LP_TOKEN @@ -666,7 +666,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.FRAXUSDe, + id: TOKEN_FRAXUSDe, addr: 0x5dc1BF6f1e983C0b21EfB003c105133736fA0743, symbol: "FRAXUSDe", tokenType: TokenType.CURVE_LP_TOKEN @@ -674,7 +674,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.USDecrvUSD, + id: TOKEN_USDecrvUSD, addr: 0xF55B0f6F2Da5ffDDb104b58a60F2862745960442, symbol: "USDecrvUSD", tokenType: TokenType.CURVE_LP_TOKEN @@ -682,7 +682,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.USDeDAI, + id: TOKEN_USDeDAI, addr: 0xF36a4BA50C603204c3FC6d2dA8b78A7b69CBC67d, symbol: "USDeDAI", tokenType: TokenType.CURVE_LP_TOKEN @@ -690,7 +690,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.MtEthena, + id: TOKEN_MtEthena, addr: 0x167478921b907422F8E88B43C4Af2B8BEa278d3A, symbol: "MtEthena", tokenType: TokenType.CURVE_LP_TOKEN @@ -698,7 +698,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.GHOUSDe, + id: TOKEN_GHOUSDe, addr: 0x670a72e6D22b0956C0D2573288F82DCc5d6E3a61, symbol: "GHOUSDe", tokenType: TokenType.CURVE_LP_TOKEN @@ -706,7 +706,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.pufETHwstE, + id: TOKEN_pufETHwstE, addr: 0xEEda34A377dD0ca676b9511EE1324974fA8d980D, symbol: "pufETHwstE", tokenType: TokenType.CURVE_LP_TOKEN @@ -714,7 +714,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.GHOcrvUSD, + id: TOKEN_GHOcrvUSD, addr: 0x635EF0056A597D13863B73825CcA297236578595, symbol: "GHOcrvUSD", tokenType: TokenType.CURVE_LP_TOKEN @@ -723,7 +723,7 @@ contract TokensDataLive { tokenDataByNetwork[1].push( TokenData({ - id: Tokens.ezETHWETH, + id: TOKEN_ezETHWETH, addr: 0x85dE3ADd465a219EE25E04d22c39aB027cF5C12E, symbol: "ezETHWETH", tokenType: TokenType.CURVE_LP_TOKEN @@ -731,7 +731,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.ezpzETH, + id: TOKEN_ezpzETH, addr: 0x8c65CeC3847ad99BdC02621bDBC89F2acE56934B, symbol: "ezpzETH", tokenType: TokenType.CURVE_LP_TOKEN @@ -739,7 +739,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.LBTCWBTC, + id: TOKEN_LBTCWBTC, addr: 0x2f3bC4c27A4437AeCA13dE0e37cdf1028f3706F0, symbol: "LBTCWBTC", tokenType: TokenType.CURVE_LP_TOKEN @@ -747,7 +747,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.eBTCWBTC, + id: TOKEN_eBTCWBTC, addr: 0x7704D01908afD31bf647d969c295BB45230cD2d6, symbol: "eBTCWBTC", tokenType: TokenType.CURVE_LP_TOKEN @@ -755,7 +755,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.TriBTC, + id: TOKEN_TriBTC, addr: 0xabaf76590478F2fE0b396996f55F0b61101e9502, symbol: "TriBTC", tokenType: TokenType.CURVE_LP_TOKEN @@ -763,7 +763,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.FRAX3CRV, + id: TOKEN_FRAX3CRV, addr: 0xd632f22692FaC7611d2AA1C0D552930D43CAEd3B, symbol: "FRAX3CRV", tokenType: TokenType.CURVE_LP_TOKEN @@ -771,7 +771,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.LUSD3CRV, + id: TOKEN_LUSD3CRV, addr: 0xEd279fDD11cA84bEef15AF5D39BB4d4bEE23F0cA, symbol: "LUSD3CRV", tokenType: TokenType.CURVE_LP_TOKEN @@ -779,7 +779,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.gusd3CRV, + id: TOKEN_gusd3CRV, addr: 0xD2967f45c4f384DEEa880F807Be904762a3DeA07, symbol: "gusd3CRV", tokenType: TokenType.CURVE_LP_TOKEN @@ -787,7 +787,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.MIM_3LP3CRV, + id: TOKEN_MIM_3LP3CRV, addr: 0x5a6A4D54456819380173272A5E8E9B9904BdF41B, symbol: "MIM_3LP3CRV", tokenType: TokenType.CURVE_LP_TOKEN @@ -795,7 +795,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.OHMFRAXBP, + id: TOKEN_OHMFRAXBP, addr: 0x5271045F7B73c17825A7A7aee6917eE46b0B7520, symbol: "OHMFRAXBP", tokenType: TokenType.CURVE_LP_TOKEN @@ -803,7 +803,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.cvx3Crv, + id: TOKEN_cvx3Crv, addr: 0x30D9410ED1D5DA1F6C8391af5338C93ab8d4035C, symbol: "cvx3Crv", tokenType: TokenType.CONVEX_LP_TOKEN @@ -811,7 +811,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.cvxcrvFRAX, + id: TOKEN_cvxcrvFRAX, addr: 0x117A0bab81F25e60900787d98061cCFae023560c, symbol: "cvxcrvFRAX", tokenType: TokenType.CONVEX_LP_TOKEN @@ -819,7 +819,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.cvxsteCRV, + id: TOKEN_cvxsteCRV, addr: 0x9518c9063eB0262D791f38d8d6Eb0aca33c63ed0, symbol: "cvxsteCRV", tokenType: TokenType.CONVEX_LP_TOKEN @@ -827,7 +827,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.cvxFRAX3CRV, + id: TOKEN_cvxFRAX3CRV, addr: 0xbE0F6478E0E4894CFb14f32855603A083A57c7dA, symbol: "cvxFRAX3CRV", tokenType: TokenType.CONVEX_LP_TOKEN @@ -835,7 +835,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.cvxLUSD3CRV, + id: TOKEN_cvxLUSD3CRV, addr: 0xFB9B2f06FDb404Fd3E2278E9A9edc8f252F273d0, symbol: "cvxLUSD3CRV", tokenType: TokenType.CONVEX_LP_TOKEN @@ -843,7 +843,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.cvxcrvPlain3andSUSD, + id: TOKEN_cvxcrvPlain3andSUSD, addr: 0x11D200ef1409cecA8D6d23e6496550f707772F11, symbol: "cvxcrvPlain3andSUSD", tokenType: TokenType.CONVEX_LP_TOKEN @@ -851,7 +851,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.cvxgusd3CRV, + id: TOKEN_cvxgusd3CRV, addr: 0x15c2471ef46Fa721990730cfa526BcFb45574576, symbol: "cvxgusd3CRV", tokenType: TokenType.CONVEX_LP_TOKEN @@ -859,7 +859,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.cvxOHMFRAXBP, + id: TOKEN_cvxOHMFRAXBP, addr: 0xd8F1B275c320819c7D752ef79988d0780bf00446, symbol: "cvxOHMFRAXBP", tokenType: TokenType.CONVEX_LP_TOKEN @@ -867,7 +867,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.cvxMIM_3LP3CRV, + id: TOKEN_cvxMIM_3LP3CRV, addr: 0xabB54222c2b77158CC975a2b715a3d703c256F05, symbol: "cvxMIM_3LP3CRV", tokenType: TokenType.CONVEX_LP_TOKEN @@ -875,7 +875,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.cvxcrvCRVETH, + id: TOKEN_cvxcrvCRVETH, addr: 0x0Fb8dcdD95e4C48D3dD0eFA4086512f6F8FD4565, symbol: "cvxcrvCRVETH", tokenType: TokenType.CONVEX_LP_TOKEN @@ -883,7 +883,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.cvxcrvCVXETH, + id: TOKEN_cvxcrvCVXETH, addr: 0x0bC857f97c0554d1d0D602b56F2EEcE682016fBA, symbol: "cvxcrvCVXETH", tokenType: TokenType.CONVEX_LP_TOKEN @@ -891,7 +891,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.cvxcrvUSDTWBTCWETH, + id: TOKEN_cvxcrvUSDTWBTCWETH, addr: 0xB77BA8B4b9d981269466eE95796A9Af57d4E82DB, symbol: "cvxcrvUSDTWBTCWETH", tokenType: TokenType.CONVEX_LP_TOKEN @@ -899,7 +899,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.cvxLDOETH, + id: TOKEN_cvxLDOETH, addr: 0x4eBE557ae39F87D2a014719777FD4cF4d01Dc8Ee, symbol: "cvxLDOETH", tokenType: TokenType.CONVEX_LP_TOKEN @@ -907,7 +907,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.cvxcrvUSDUSDC, + id: TOKEN_cvxcrvUSDUSDC, addr: 0x75A2F59eC37c18962c53b0244D60B53f749DF25E, symbol: "cvxcrvUSDUSDC", tokenType: TokenType.CONVEX_LP_TOKEN @@ -915,7 +915,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.cvxcrvUSDUSDT, + id: TOKEN_cvxcrvUSDUSDT, addr: 0x939e4C11E391a28CD81248163f3a2e595f12CE5E, symbol: "cvxcrvUSDUSDT", tokenType: TokenType.CONVEX_LP_TOKEN @@ -923,7 +923,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.cvxcrvUSDFRAX, + id: TOKEN_cvxcrvUSDFRAX, addr: 0x01CcDe1dFb6c84e1Cc13a6Bf777aa2160ABd11BA, symbol: "cvxcrvUSDFRAX", tokenType: TokenType.CONVEX_LP_TOKEN @@ -931,7 +931,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.cvxcrvUSDETHCRV, + id: TOKEN_cvxcrvUSDETHCRV, addr: 0xa11a2c04D62b4A2324Fc857Fa14762Ad94751b4F, symbol: "cvxcrvUSDETHCRV", tokenType: TokenType.CONVEX_LP_TOKEN @@ -939,7 +939,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.cvxGHOcrvUSD, + id: TOKEN_cvxGHOcrvUSD, addr: 0x53f4474c06c699307514bd55FB1607005F46a889, symbol: "cvxGHOcrvUSD", tokenType: TokenType.CONVEX_LP_TOKEN @@ -947,7 +947,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.stkcvx3Crv, + id: TOKEN_stkcvx3Crv, addr: 0xbAc7a431146aeAf3F57A16b9954f332Fd292F270, symbol: "stkcvx3Crv", tokenType: TokenType.CONVEX_STAKED_TOKEN @@ -955,7 +955,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.stkcvxcrvFRAX, + id: TOKEN_stkcvxcrvFRAX, addr: 0x276187f24D41745513cbE2Bd5dFC33a4d8CDc9ed, symbol: "stkcvxcrvFRAX", tokenType: TokenType.CONVEX_STAKED_TOKEN @@ -963,7 +963,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.stkcvxsteCRV, + id: TOKEN_stkcvxsteCRV, addr: 0xe15B7D80a51e1fe54aC355CaBE848Efce5289BDB, symbol: "stkcvxsteCRV", tokenType: TokenType.CONVEX_STAKED_TOKEN @@ -971,7 +971,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.stkcvxFRAX3CRV, + id: TOKEN_stkcvxFRAX3CRV, addr: 0xaF314b088B53835d5cF4e4CB81beABa5934a61fe, symbol: "stkcvxFRAX3CRV", tokenType: TokenType.CONVEX_STAKED_TOKEN @@ -979,7 +979,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.stkcvxLUSD3CRV, + id: TOKEN_stkcvxLUSD3CRV, addr: 0x0A1D4A25d0390899b90bCD22E1Ef155003EA76d7, symbol: "stkcvxLUSD3CRV", tokenType: TokenType.CONVEX_STAKED_TOKEN @@ -987,7 +987,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.stkcvxcrvPlain3andSUSD, + id: TOKEN_stkcvxcrvPlain3andSUSD, addr: 0x7e1992A7F28dAA5f6a2d34e2cd40f962f37B172C, symbol: "stkcvxcrvPlain3andSUSD", tokenType: TokenType.CONVEX_STAKED_TOKEN @@ -995,7 +995,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.stkcvxgusd3CRV, + id: TOKEN_stkcvxgusd3CRV, addr: 0x34fB99abBAFb4e87e256960D572664c6ADc301B8, symbol: "stkcvxgusd3CRV", tokenType: TokenType.CONVEX_STAKED_TOKEN @@ -1003,7 +1003,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.stkcvxOHMFRAXBP, + id: TOKEN_stkcvxOHMFRAXBP, addr: 0x888407AabAfa936B90acF65C4Db19370A01d9bd8, symbol: "stkcvxOHMFRAXBP", tokenType: TokenType.CONVEX_STAKED_TOKEN @@ -1011,7 +1011,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.stkcvxMIM_3LP3CRV, + id: TOKEN_stkcvxMIM_3LP3CRV, addr: 0x1aAbe1B22a290cCB39FD77440D5eb96Cf40079f4, symbol: "stkcvxMIM_3LP3CRV", tokenType: TokenType.CONVEX_STAKED_TOKEN @@ -1019,7 +1019,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.stkcvxcrvCRVETH, + id: TOKEN_stkcvxcrvCRVETH, addr: 0xfC4b109D46e12170DF31AF8ba39403fAC2b8c0cf, symbol: "stkcvxcrvCRVETH", tokenType: TokenType.CONVEX_STAKED_TOKEN @@ -1027,7 +1027,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.stkcvxcrvCVXETH, + id: TOKEN_stkcvxcrvCVXETH, addr: 0x948bEd0211076b05d22e98929217d0f04D068C5c, symbol: "stkcvxcrvCVXETH", tokenType: TokenType.CONVEX_STAKED_TOKEN @@ -1035,7 +1035,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.stkcvxcrvUSDTWBTCWETH, + id: TOKEN_stkcvxcrvUSDTWBTCWETH, addr: 0xEE3EE8373384BBfea3227E527C1B9b4e7821273E, symbol: "stkcvxcrvUSDTWBTCWETH", tokenType: TokenType.CONVEX_STAKED_TOKEN @@ -1043,7 +1043,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.stkcvxLDOETH, + id: TOKEN_stkcvxLDOETH, addr: 0x2Fd6bD5b81c1060039D619E76e4e1f924B173006, symbol: "stkcvxLDOETH", tokenType: TokenType.CONVEX_STAKED_TOKEN @@ -1051,7 +1051,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.stkcvxcrvUSDUSDC, + id: TOKEN_stkcvxcrvUSDUSDC, addr: 0xDb4217B9C8DB788Aa3871d45B4BE6ac5D1FF8C49, symbol: "stkcvxcrvUSDUSDC", tokenType: TokenType.CONVEX_STAKED_TOKEN @@ -1059,7 +1059,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.stkcvxcrvUSDUSDT, + id: TOKEN_stkcvxcrvUSDUSDT, addr: 0x5C5e5117E26374870c80a5FA04c3f75a821440D6, symbol: "stkcvxcrvUSDUSDT", tokenType: TokenType.CONVEX_STAKED_TOKEN @@ -1067,7 +1067,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.stkcvxcrvUSDFRAX, + id: TOKEN_stkcvxcrvUSDFRAX, addr: 0x7376AD488AB2bd8dF7665d619A4148f0E5094813, symbol: "stkcvxcrvUSDFRAX", tokenType: TokenType.CONVEX_STAKED_TOKEN @@ -1075,7 +1075,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.stkcvxcrvUSDETHCRV, + id: TOKEN_stkcvxcrvUSDETHCRV, addr: 0x0Bf1626d4925F8A872801968be11c052862AC2D3, symbol: "stkcvxcrvUSDETHCRV", tokenType: TokenType.CONVEX_STAKED_TOKEN @@ -1083,7 +1083,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.stkcvxGHOcrvUSD, + id: TOKEN_stkcvxGHOcrvUSD, addr: 0xa19Da509625f0e36050eA2906E991A99B29D3221, symbol: "stkcvxGHOcrvUSD", tokenType: TokenType.CONVEX_STAKED_TOKEN @@ -1092,7 +1092,7 @@ contract TokensDataLive { tokenDataByNetwork[1].push( TokenData({ - id: Tokens.yvDAI, + id: TOKEN_yvDAI, addr: 0xdA816459F1AB5631232FE5e97a05BBBb94970c95, symbol: "yvDAI", tokenType: TokenType.YEARN_ON_NORMAL_TOKEN @@ -1100,7 +1100,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.yvUSDC, + id: TOKEN_yvUSDC, addr: 0xa354F35829Ae975e850e23e9615b11Da1B3dC4DE, symbol: "yvUSDC", tokenType: TokenType.YEARN_ON_NORMAL_TOKEN @@ -1109,7 +1109,7 @@ contract TokensDataLive { tokenDataByNetwork[1].push( TokenData({ - id: Tokens.yvWETH, + id: TOKEN_yvWETH, addr: 0xa258C4606Ca8206D8aA700cE2143D7db854D168c, symbol: "yvWETH", tokenType: TokenType.YEARN_ON_NORMAL_TOKEN @@ -1117,7 +1117,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.yvWBTC, + id: TOKEN_yvWBTC, addr: 0xA696a63cc78DfFa1a63E9E50587C197387FF6C7E, symbol: "yvWBTC", tokenType: TokenType.YEARN_ON_NORMAL_TOKEN @@ -1125,7 +1125,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.yvUSDT, + id: TOKEN_yvUSDT, addr: 0x3B27F92C0e212C671EA351827EDF93DB27cc0c65, symbol: "yvUSDT", tokenType: TokenType.YEARN_ON_NORMAL_TOKEN @@ -1134,7 +1134,7 @@ contract TokensDataLive { tokenDataByNetwork[1].push( TokenData({ - id: Tokens.yvCurve_stETH, + id: TOKEN_yvCurve_stETH, addr: 0xdCD90C7f6324cfa40d7169ef80b12031770B4325, symbol: "yvCurve_stETH", tokenType: TokenType.YEARN_ON_CURVE_TOKEN @@ -1142,7 +1142,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.yvCurve_FRAX, + id: TOKEN_yvCurve_FRAX, addr: 0xB4AdA607B9d6b2c9Ee07A275e9616B84AC560139, symbol: "yvCurve_FRAX", tokenType: TokenType.YEARN_ON_CURVE_TOKEN @@ -1150,7 +1150,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens._50WETH_50AURA, + id: TOKEN__50WETH_50AURA, addr: 0xCfCA23cA9CA720B6E98E3Eb9B6aa0fFC4a5C08B9, symbol: "50WETH_50AURA", tokenType: TokenType.BALANCER_LP_TOKEN @@ -1158,7 +1158,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.B_80BAL_20WETH, + id: TOKEN_B_80BAL_20WETH, addr: 0x5c6Ee304399DBdB9C8Ef030aB642B10820DB8F56, symbol: "B_80BAL_20WETH", tokenType: TokenType.BALANCER_LP_TOKEN @@ -1166,7 +1166,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens._50OHM_50DAI, + id: TOKEN__50OHM_50DAI, addr: 0x76FCf0e8C7Ff37A47a799FA2cd4c13cDe0D981C9, symbol: "50OHM_50DAI", tokenType: TokenType.BALANCER_LP_TOKEN @@ -1174,7 +1174,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens._50OHM_50WETH, + id: TOKEN__50OHM_50WETH, addr: 0xD1eC5e215E8148D76F4460e4097FD3d5ae0A3558, symbol: "50OHM_50WETH", tokenType: TokenType.BALANCER_LP_TOKEN @@ -1182,7 +1182,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.OHM_wstETH, + id: TOKEN_OHM_wstETH, addr: 0xd4f79CA0Ac83192693bce4699d0c10C66Aa6Cf0F, symbol: "OHM_wstETH", tokenType: TokenType.BALANCER_LP_TOKEN @@ -1190,7 +1190,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.USDC_DAI_USDT, + id: TOKEN_USDC_DAI_USDT, addr: 0x79c58f70905F734641735BC61e45c19dD9Ad60bC, symbol: "USDC_DAI_USDT", tokenType: TokenType.BALANCER_LP_TOKEN @@ -1198,7 +1198,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.B_rETH_STABLE, + id: TOKEN_B_rETH_STABLE, addr: 0x1E19CF2D73a72Ef1332C882F20534B6519Be0276, symbol: "B_rETH_STABLE", tokenType: TokenType.BALANCER_LP_TOKEN @@ -1206,7 +1206,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.weETH_rETH, + id: TOKEN_weETH_rETH, addr: 0x05ff47AFADa98a98982113758878F9A8B9FddA0a, symbol: "weETH_rETH", tokenType: TokenType.BALANCER_LP_TOKEN @@ -1214,7 +1214,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.osETH_wETH_BPT, + id: TOKEN_osETH_wETH_BPT, addr: 0xDACf5Fa19b1f720111609043ac67A9818262850c, symbol: "osETH_wETH_BPT", tokenType: TokenType.BALANCER_LP_TOKEN @@ -1222,7 +1222,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.ezETH_WETH_BPT, + id: TOKEN_ezETH_WETH_BPT, addr: 0x596192bB6e41802428Ac943D2f1476C1Af25CC0E, symbol: "ezETH_WETH_BPT", tokenType: TokenType.BALANCER_LP_TOKEN @@ -1230,7 +1230,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.trenSTETH, + id: TOKEN_trenSTETH, addr: 0x4216d5900a6109bba48418b5e2AB6cc4e61Cf477, symbol: "trenSTETH", tokenType: TokenType.BALANCER_LP_TOKEN @@ -1238,7 +1238,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.weETH_ezETH_rswETH, + id: TOKEN_weETH_ezETH_rswETH, addr: 0x848a5564158d84b8A8fb68ab5D004Fae11619A54, symbol: "weETH_ezETH_rswETH", tokenType: TokenType.BALANCER_LP_TOKEN @@ -1246,7 +1246,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.GHO_USDT_USDC, + id: TOKEN_GHO_USDT_USDC, addr: 0x8353157092ED8Be69a9DF8F95af097bbF33Cb2aF, symbol: "GHO_USDT_USDC", tokenType: TokenType.BALANCER_LP_TOKEN @@ -1254,7 +1254,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.rsETH_WETH, + id: TOKEN_rsETH_WETH, addr: 0x58AAdFB1Afac0ad7fca1148f3cdE6aEDF5236B6D, symbol: "rsETH_WETH", tokenType: TokenType.BALANCER_LP_TOKEN @@ -1263,7 +1263,7 @@ contract TokensDataLive { tokenDataByNetwork[1].push( TokenData({ - id: Tokens.aDAI, + id: TOKEN_aDAI, addr: 0x028171bCA77440897B824Ca71D1c56caC55b68A3, symbol: "aDAI", tokenType: TokenType.AAVE_V2_A_TOKEN @@ -1271,7 +1271,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.aUSDC, + id: TOKEN_aUSDC, addr: 0xBcca60bB61934080951369a648Fb03DF4F96263C, symbol: "aUSDC", tokenType: TokenType.AAVE_V2_A_TOKEN @@ -1279,7 +1279,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.aUSDT, + id: TOKEN_aUSDT, addr: 0x3Ed3B47Dd13EC9a98b44e6204A523E766B225811, symbol: "aUSDT", tokenType: TokenType.AAVE_V2_A_TOKEN @@ -1287,7 +1287,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.aWETH, + id: TOKEN_aWETH, addr: 0x030bA81f1c18d280636F32af80b9AAd02Cf0854e, symbol: "aWETH", tokenType: TokenType.AAVE_V2_A_TOKEN @@ -1296,7 +1296,7 @@ contract TokensDataLive { tokenDataByNetwork[1].push( TokenData({ - id: Tokens.cDAI, + id: TOKEN_cDAI, addr: 0x5d3a536E4D6DbD6114cc1Ead35777bAB948E3643, symbol: "cDAI", tokenType: TokenType.COMPOUND_V2_C_TOKEN @@ -1304,7 +1304,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.cUSDC, + id: TOKEN_cUSDC, addr: 0x39AA39c021dfbaE8faC545936693aC917d5E7563, symbol: "cUSDC", tokenType: TokenType.COMPOUND_V2_C_TOKEN @@ -1312,7 +1312,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.cUSDT, + id: TOKEN_cUSDT, addr: 0xf650C3d88D12dB855b8bf7D11Be6C55A4e07dCC9, symbol: "cUSDT", tokenType: TokenType.COMPOUND_V2_C_TOKEN @@ -1320,7 +1320,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.cETH, + id: TOKEN_cETH, addr: 0x4Ddc2D193948926D02f9B1fE9e1daa0718270ED5, symbol: "cETH", tokenType: TokenType.COMPOUND_V2_C_TOKEN @@ -1328,7 +1328,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.cLINK, + id: TOKEN_cLINK, addr: 0xFAce851a4921ce59e912d19329929CE6da6EB0c7, symbol: "cLINK", tokenType: TokenType.COMPOUND_V2_C_TOKEN @@ -1336,7 +1336,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.fUSDC, + id: TOKEN_fUSDC, addr: 0x465a5a630482f3abD6d3b84B39B29b07214d19e5, symbol: "fUSDC", tokenType: TokenType.COMPOUND_V2_C_TOKEN @@ -1344,7 +1344,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.sDAI, + id: TOKEN_sDAI, addr: 0x83F20F44975D03b1b09e64809B757c47f942BEeA, symbol: "sDAI", tokenType: TokenType.ERC4626_VAULT_TOKEN @@ -1352,7 +1352,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.YieldETH, + id: TOKEN_YieldETH, addr: 0xb5b29320d2Dde5BA5BAFA1EbcD270052070483ec, symbol: "YieldETH", tokenType: TokenType.ERC4626_VAULT_TOKEN @@ -1360,7 +1360,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.sUSDe, + id: TOKEN_sUSDe, addr: 0x9D39A5DE30e57443BfF2A8307A4256c8797A3497, symbol: "sUSDe", tokenType: TokenType.ERC4626_VAULT_TOKEN @@ -1368,7 +1368,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.sUSDS, + id: TOKEN_sUSDS, addr: 0xa3931d71877C0E7a3148CB7Eb4463524FEc27fbD, symbol: "sUSDS", tokenType: TokenType.ERC4626_VAULT_TOKEN @@ -1376,7 +1376,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.auraB_rETH_STABLE, + id: TOKEN_auraB_rETH_STABLE, addr: 0x9497df26e5bD669Cb925eC68E730492b9300c482, symbol: "auraB_rETH_STABLE", tokenType: TokenType.AURA_LP_TOKEN @@ -1384,7 +1384,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.auraosETH_wETH_BPT, + id: TOKEN_auraosETH_wETH_BPT, addr: 0x7d7a8889F4277234335F86f18df3b7c0AC5F6aed, symbol: "auraosETH_wETH_BPT", tokenType: TokenType.AURA_LP_TOKEN @@ -1392,7 +1392,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.auraweETH_rETH, + id: TOKEN_auraweETH_rETH, addr: 0xb2912397566Dafc9cDee555a38e980661858a61a, symbol: "auraweETH_rETH", tokenType: TokenType.AURA_LP_TOKEN @@ -1401,7 +1401,7 @@ contract TokensDataLive { tokenDataByNetwork[1].push( TokenData({ - id: Tokens.auraB_rETH_STABLE_vault, + id: TOKEN_auraB_rETH_STABLE_vault, addr: 0xDd1fE5AD401D4777cE89959b7fa587e569Bf125D, symbol: "auraB_rETH_STABLE_vault", tokenType: TokenType.AURA_STAKED_TOKEN @@ -1409,7 +1409,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.auraosETH_wETH_BPT_vault, + id: TOKEN_auraosETH_wETH_BPT_vault, addr: 0x5F032f15B4e910252EDaDdB899f7201E89C8cD6b, symbol: "auraosETH_wETH_BPT_vault", tokenType: TokenType.AURA_STAKED_TOKEN @@ -1417,7 +1417,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.auraweETH_rETH_vault, + id: TOKEN_auraweETH_rETH_vault, addr: 0x07A319A023859BbD49CC9C38ee891c3EA9283Cc5, symbol: "auraweETH_rETH_vault", tokenType: TokenType.AURA_STAKED_TOKEN @@ -1426,7 +1426,7 @@ contract TokensDataLive { tokenDataByNetwork[1].push( TokenData({ - id: Tokens.zpufETH, + id: TOKEN_zpufETH, addr: 0xF5740711F088DF1D2fBDb8F62D4852960c139cbA, symbol: "zpufETH", tokenType: TokenType.ZIRCUIT_STAKED_TOKEN @@ -1434,7 +1434,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.stkUSDS, + id: TOKEN_stkUSDS, addr: 0xcB5D10A57Aeb622b92784D53F730eE2210ab370E, symbol: "stkUSDS", tokenType: TokenType.STAKING_REWARDS_PHANTOM_TOKEN @@ -1442,7 +1442,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.dDAI, + id: TOKEN_dDAI, addr: 0x6CFaF95457d7688022FC53e7AbE052ef8DFBbdBA, symbol: "dDAI", tokenType: TokenType.DIESEL_LP_TOKEN @@ -1450,7 +1450,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.dUSDC, + id: TOKEN_dUSDC, addr: 0xc411dB5f5Eb3f7d552F9B8454B2D74097ccdE6E3, symbol: "dUSDC", tokenType: TokenType.DIESEL_LP_TOKEN @@ -1458,7 +1458,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.dWBTC, + id: TOKEN_dWBTC, addr: 0xe753260F1955e8678DCeA8887759e07aa57E8c54, symbol: "dWBTC", tokenType: TokenType.DIESEL_LP_TOKEN @@ -1466,7 +1466,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.dWETH, + id: TOKEN_dWETH, addr: 0xF21fc650C1B34eb0FDE786D52d23dA99Db3D6278, symbol: "dWETH", tokenType: TokenType.DIESEL_LP_TOKEN @@ -1474,7 +1474,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.dwstETH, + id: TOKEN_dwstETH, addr: 0x2158034dB06f06dcB9A786D2F1F8c38781bA779d, symbol: "dwstETH", tokenType: TokenType.DIESEL_LP_TOKEN @@ -1482,7 +1482,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.dFRAX, + id: TOKEN_dFRAX, addr: 0x8A1112AFef7F4FC7c066a77AABBc01b3Fff31D47, symbol: "dFRAX", tokenType: TokenType.DIESEL_LP_TOKEN @@ -1490,7 +1490,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.dUSDCV3, + id: TOKEN_dUSDCV3, addr: 0xda00000035fef4082F78dEF6A8903bee419FbF8E, symbol: "dUSDCV3", tokenType: TokenType.DIESEL_LP_TOKEN @@ -1499,7 +1499,7 @@ contract TokensDataLive { tokenDataByNetwork[1].push( TokenData({ - id: Tokens.dWBTCV3, + id: TOKEN_dWBTCV3, addr: 0xda00010eDA646913F273E10E7A5d1F659242757d, symbol: "dWBTCV3", tokenType: TokenType.DIESEL_LP_TOKEN @@ -1507,7 +1507,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.dWETHV3, + id: TOKEN_dWETHV3, addr: 0xda0002859B2d05F66a753d8241fCDE8623f26F4f, symbol: "dWETHV3", tokenType: TokenType.DIESEL_LP_TOKEN @@ -1515,7 +1515,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.dUSDTV3, + id: TOKEN_dUSDTV3, addr: 0x05A811275fE9b4DE503B3311F51edF6A856D936e, symbol: "dUSDTV3", tokenType: TokenType.DIESEL_LP_TOKEN @@ -1523,7 +1523,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.dGHOV3, + id: TOKEN_dGHOV3, addr: 0x4d56c9cBa373AD39dF69Eb18F076b7348000AE09, symbol: "dGHOV3", tokenType: TokenType.DIESEL_LP_TOKEN @@ -1531,7 +1531,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.dDAIV3, + id: TOKEN_dDAIV3, addr: 0xe7146F53dBcae9D6Fa3555FE502648deb0B2F823, symbol: "dDAIV3", tokenType: TokenType.DIESEL_LP_TOKEN @@ -1539,7 +1539,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.dcrvUSDV3, + id: TOKEN_dcrvUSDV3, addr: 0x8EF73f036fEEC873D0B2fd20892215Df5B8Bdd72, symbol: "dcrvUSDV3", tokenType: TokenType.DIESEL_LP_TOKEN @@ -1547,7 +1547,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.sdUSDCV3, + id: TOKEN_sdUSDCV3, addr: 0x9ef444a6d7F4A5adcd68FD5329aA5240C90E14d2, symbol: "sdUSDCV3", tokenType: TokenType.DIESEL_LP_TOKEN @@ -1556,7 +1556,7 @@ contract TokensDataLive { tokenDataByNetwork[1].push( TokenData({ - id: Tokens.sdWBTCV3, + id: TOKEN_sdWBTCV3, addr: 0xA8cE662E45E825DAF178DA2c8d5Fae97696A788A, symbol: "sdWBTCV3", tokenType: TokenType.DIESEL_LP_TOKEN @@ -1564,7 +1564,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.sdWETHV3, + id: TOKEN_sdWETHV3, addr: 0x0418fEB7d0B25C411EB77cD654305d29FcbFf685, symbol: "sdWETHV3", tokenType: TokenType.DIESEL_LP_TOKEN @@ -1573,7 +1573,7 @@ contract TokensDataLive { tokenDataByNetwork[1].push( TokenData({ - id: Tokens.sdUSDTV3, + id: TOKEN_sdUSDTV3, addr: 0x16adAb68bDEcE3089D4f1626Bb5AEDD0d02471aD, symbol: "sdUSDTV3", tokenType: TokenType.DIESEL_LP_TOKEN @@ -1581,7 +1581,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.sdGHOV3, + id: TOKEN_sdGHOV3, addr: 0xE2037090f896A858E3168B978668F22026AC52e7, symbol: "sdGHOV3", tokenType: TokenType.DIESEL_LP_TOKEN @@ -1589,7 +1589,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.sdDAIV3, + id: TOKEN_sdDAIV3, addr: 0xC853E4DA38d9Bd1d01675355b8c8f3BBC1451973, symbol: "sdDAIV3", tokenType: TokenType.DIESEL_LP_TOKEN @@ -1597,7 +1597,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.sdcrvUSDV3, + id: TOKEN_sdcrvUSDV3, addr: 0xfBCA378AeA93EADD6882299A3d74D8641Cc0C4BC, symbol: "sdcrvUSDV3", tokenType: TokenType.DIESEL_LP_TOKEN @@ -1605,7 +1605,7 @@ contract TokensDataLive { ); tokenDataByNetwork[1].push( TokenData({ - id: Tokens.GEAR, + id: TOKEN_GEAR, addr: 0xBa3335588D9403515223F109EdC4eB7269a9Ab5D, symbol: "GEAR", tokenType: TokenType.GEAR_TOKEN @@ -1613,7 +1613,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.AAVE, + id: TOKEN_AAVE, addr: 0xba5DdD1f9d7F570dc94a51479a000E3BCE967196, symbol: "AAVE", tokenType: TokenType.NORMAL_TOKEN @@ -1621,7 +1621,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.COMP, + id: TOKEN_COMP, addr: 0x354A6dA3fcde098F8389cad84b0182725c6C91dE, symbol: "COMP", tokenType: TokenType.NORMAL_TOKEN @@ -1629,7 +1629,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.CRV, + id: TOKEN_CRV, addr: 0x11cDb42B0EB46D95f990BeDD4695A6e3fA034978, symbol: "CRV", tokenType: TokenType.NORMAL_TOKEN @@ -1637,7 +1637,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.DAI, + id: TOKEN_DAI, addr: 0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1, symbol: "DAI", tokenType: TokenType.NORMAL_TOKEN @@ -1646,7 +1646,7 @@ contract TokensDataLive { tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.LINK, + id: TOKEN_LINK, addr: 0xf97f4df75117a78c1A5a0DBb814Af92458539FB4, symbol: "LINK", tokenType: TokenType.NORMAL_TOKEN @@ -1654,7 +1654,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.SNX, + id: TOKEN_SNX, addr: 0xcBA56Cd8216FCBBF3fA6DF6137F3147cBcA37D60, symbol: "SNX", tokenType: TokenType.NORMAL_TOKEN @@ -1662,7 +1662,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.UNI, + id: TOKEN_UNI, addr: 0xFa7F8980b0f1E64A2062791cc3b0871572f1F7f0, symbol: "UNI", tokenType: TokenType.NORMAL_TOKEN @@ -1670,7 +1670,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.USDC, + id: TOKEN_USDC, addr: 0xaf88d065e77c8cC2239327C5EDb3A432268e5831, symbol: "USDC", tokenType: TokenType.NORMAL_TOKEN @@ -1678,7 +1678,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.USDC_e, + id: TOKEN_USDC_e, addr: 0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8, symbol: "USDC_e", tokenType: TokenType.NORMAL_TOKEN @@ -1686,7 +1686,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.USDT, + id: TOKEN_USDT, addr: 0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9, symbol: "USDT", tokenType: TokenType.NORMAL_TOKEN @@ -1694,7 +1694,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.WBTC, + id: TOKEN_WBTC, addr: 0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f, symbol: "WBTC", tokenType: TokenType.NORMAL_TOKEN @@ -1702,7 +1702,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.WETH, + id: TOKEN_WETH, addr: 0x82aF49447D8a07e3bd95BD0d56f35241523fBab1, symbol: "WETH", tokenType: TokenType.NORMAL_TOKEN @@ -1710,7 +1710,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.YFI, + id: TOKEN_YFI, addr: 0x82e3A8F066a6989666b031d916c43672085b1582, symbol: "YFI", tokenType: TokenType.NORMAL_TOKEN @@ -1719,7 +1719,7 @@ contract TokensDataLive { tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.CVX, + id: TOKEN_CVX, addr: 0xaAFcFD42c9954C6689ef1901e03db742520829c5, symbol: "CVX", tokenType: TokenType.NORMAL_TOKEN @@ -1727,7 +1727,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.FRAX, + id: TOKEN_FRAX, addr: 0x17FC002b466eEc40DaE837Fc4bE5c67993ddBd6F, symbol: "FRAX", tokenType: TokenType.NORMAL_TOKEN @@ -1735,7 +1735,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.FXS, + id: TOKEN_FXS, addr: 0x9d2F299715D94d8A7E6F5eaa8E654E8c74a988A7, symbol: "FXS", tokenType: TokenType.NORMAL_TOKEN @@ -1743,7 +1743,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.LDO, + id: TOKEN_LDO, addr: 0x13Ad51ed4F1B7e9Dc168d8a00cB3f4dDD85EfA60, symbol: "LDO", tokenType: TokenType.NORMAL_TOKEN @@ -1751,7 +1751,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.LUSD, + id: TOKEN_LUSD, addr: 0x93b346b6BC2548dA6A1E7d98E9a421B42541425b, symbol: "LUSD", tokenType: TokenType.NORMAL_TOKEN @@ -1759,7 +1759,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.sUSD, + id: TOKEN_sUSD, addr: 0xA970AF1a584579B618be4d69aD6F73459D112F95, symbol: "sUSD", tokenType: TokenType.NORMAL_TOKEN @@ -1768,7 +1768,7 @@ contract TokensDataLive { tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.LQTY, + id: TOKEN_LQTY, addr: 0xfb9E5D956D889D91a82737B9bFCDaC1DCE3e1449, symbol: "LQTY", tokenType: TokenType.NORMAL_TOKEN @@ -1776,7 +1776,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.OHM, + id: TOKEN_OHM, addr: 0x6E6a3D8F1AfFAc703B1aEF1F43B8D2321bE40043, symbol: "OHM", tokenType: TokenType.NORMAL_TOKEN @@ -1784,7 +1784,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.MIM, + id: TOKEN_MIM, addr: 0xFEa7a6a0B346362BF88A9e4A88416B77a57D6c2A, symbol: "MIM", tokenType: TokenType.NORMAL_TOKEN @@ -1792,7 +1792,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.SPELL, + id: TOKEN_SPELL, addr: 0x3E6648C5a70A150A88bCE65F4aD4d506Fe15d2AF, symbol: "SPELL", tokenType: TokenType.NORMAL_TOKEN @@ -1800,7 +1800,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.GMX, + id: TOKEN_GMX, addr: 0xfc5A1A6EB076a2C7aD06eD22C90d7E710E35ad0a, symbol: "GMX", tokenType: TokenType.NORMAL_TOKEN @@ -1808,7 +1808,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.ARB, + id: TOKEN_ARB, addr: 0x912CE59144191C1204E64559FE8253a0e49E6548, symbol: "ARB", tokenType: TokenType.NORMAL_TOKEN @@ -1816,7 +1816,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.RDNT, + id: TOKEN_RDNT, addr: 0x3082CC23568eA640225c2467653dB90e9250AaA0, symbol: "RDNT", tokenType: TokenType.NORMAL_TOKEN @@ -1824,7 +1824,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.BAL, + id: TOKEN_BAL, addr: 0x040d1EdC9569d4Bab2D15287Dc5A4F10F56a56B8, symbol: "BAL", tokenType: TokenType.NORMAL_TOKEN @@ -1833,7 +1833,7 @@ contract TokensDataLive { tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.crvUSD, + id: TOKEN_crvUSD, addr: 0x498Bf2B1e120FeD3ad3D42EA2165E9b73f99C1e5, symbol: "crvUSD", tokenType: TokenType.NORMAL_TOKEN @@ -1842,7 +1842,7 @@ contract TokensDataLive { tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.RPL, + id: TOKEN_RPL, addr: 0xB766039cc6DB368759C1E56B79AFfE831d0Cc507, symbol: "RPL", tokenType: TokenType.NORMAL_TOKEN @@ -1851,7 +1851,7 @@ contract TokensDataLive { tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.rETH, + id: TOKEN_rETH, addr: 0xEC70Dcb4A1EFa46b8F2D97C310C9c4790ba5ffA8, symbol: "rETH", tokenType: TokenType.NORMAL_TOKEN @@ -1859,7 +1859,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.AURA, + id: TOKEN_AURA, addr: 0x1509706a6c66CA549ff0cB464de88231DDBe213B, symbol: "AURA", tokenType: TokenType.NORMAL_TOKEN @@ -1868,7 +1868,7 @@ contract TokensDataLive { tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.weETH, + id: TOKEN_weETH, addr: 0x35751007a407ca6FEFfE80b3cB397736D2cf4dbe, symbol: "weETH", tokenType: TokenType.NORMAL_TOKEN @@ -1877,7 +1877,7 @@ contract TokensDataLive { tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.ezETH, + id: TOKEN_ezETH, addr: 0x2416092f143378750bb29b79eD961ab195CcEea5, symbol: "ezETH", tokenType: TokenType.NORMAL_TOKEN @@ -1885,7 +1885,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.rsETH, + id: TOKEN_rsETH, addr: 0x4186BFC76E2E237523CBC30FD220FE055156b41F, symbol: "rsETH", tokenType: TokenType.NORMAL_TOKEN @@ -1893,7 +1893,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.frxETH, + id: TOKEN_frxETH, addr: 0x178412e79c25968a32e89b11f63B33F733770c2A, symbol: "frxETH", tokenType: TokenType.NORMAL_TOKEN @@ -1901,7 +1901,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.PENDLE, + id: TOKEN_PENDLE, addr: 0x0c880f6761F1af8d9Aa9C466984b80DAb9a8c9e8, symbol: "PENDLE", tokenType: TokenType.NORMAL_TOKEN @@ -1909,7 +1909,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.cbETH, + id: TOKEN_cbETH, addr: 0x1DEBd73E752bEaF79865Fd6446b0c970EaE7732f, symbol: "cbETH", tokenType: TokenType.NORMAL_TOKEN @@ -1918,7 +1918,7 @@ contract TokensDataLive { tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.USDe, + id: TOKEN_USDe, addr: 0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34, symbol: "USDe", tokenType: TokenType.NORMAL_TOKEN @@ -1927,7 +1927,7 @@ contract TokensDataLive { tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.wstETH, + id: TOKEN_wstETH, addr: 0x5979D7b546E38E414F7E9822514be443A4800529, symbol: "wstETH", tokenType: TokenType.NORMAL_TOKEN @@ -1936,7 +1936,7 @@ contract TokensDataLive { tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.sfrxETH, + id: TOKEN_sfrxETH, addr: 0x95aB45875cFFdba1E5f451B950bC2E42c0053f39, symbol: "sfrxETH", tokenType: TokenType.NORMAL_TOKEN @@ -1945,7 +1945,7 @@ contract TokensDataLive { tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.crvUSDFRAX, + id: TOKEN_crvUSDFRAX, addr: 0x2FE7AE43591E534C256A1594D326e5779E302Ff4, symbol: "crvUSDFRAX", tokenType: TokenType.CURVE_LP_TOKEN @@ -1954,7 +1954,7 @@ contract TokensDataLive { tokenDataByNetwork[42161].push( TokenData({ - id: Tokens._2CRV, + id: TOKEN__2CRV, addr: 0x7f90122BF0700F9E7e1F688fe926940E8839F353, symbol: "2CRV", tokenType: TokenType.CURVE_LP_TOKEN @@ -1962,7 +1962,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens._3c_crvUSD, + id: TOKEN__3c_crvUSD, addr: 0x82670f35306253222F8a165869B28c64739ac62e, symbol: "3c-crvUSD", tokenType: TokenType.CURVE_LP_TOKEN @@ -1970,7 +1970,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.crvUSDC, + id: TOKEN_crvUSDC, addr: 0xec090cf6DD891D2d014beA6edAda6e05E025D93d, symbol: "crvUSDC", tokenType: TokenType.CURVE_LP_TOKEN @@ -1978,7 +1978,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.crvUSDT, + id: TOKEN_crvUSDT, addr: 0x73aF1150F265419Ef8a5DB41908B700C32D49135, symbol: "crvUSDT", tokenType: TokenType.CURVE_LP_TOKEN @@ -1986,7 +1986,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.crvUSDC_e, + id: TOKEN_crvUSDC_e, addr: 0x3aDf984c937FA6846E5a24E0A68521Bdaf767cE1, symbol: "crvUSDC_e", tokenType: TokenType.CURVE_LP_TOKEN @@ -1994,7 +1994,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.USDEUSDC, + id: TOKEN_USDEUSDC, addr: 0x1c34204FCFE5314Dcf53BE2671C02c35DB58B4e3, symbol: "USDEUSDC", tokenType: TokenType.CURVE_LP_TOKEN @@ -2003,7 +2003,7 @@ contract TokensDataLive { tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.cvxcrvUSDT, + id: TOKEN_cvxcrvUSDT, addr: 0xf74d4C9b0F49fb70D8Ff6706ddF39e3a16D61E67, symbol: "cvxcrvUSDT", tokenType: TokenType.CONVEX_L2_STAKED_TOKEN @@ -2012,7 +2012,7 @@ contract TokensDataLive { tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.rsETH_wETH_Arb, + id: TOKEN_rsETH_wETH_Arb, addr: 0x90e6CB5249f5e1572afBF8A96D8A1ca6aCFFd739, symbol: "rsETH_wETH_Arb", tokenType: TokenType.BALANCER_LP_TOKEN @@ -2021,7 +2021,7 @@ contract TokensDataLive { tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.wstETH_WETH_BPT, + id: TOKEN_wstETH_WETH_BPT, addr: 0x9791d590788598535278552EEcD4b211bFc790CB, symbol: "wstETH_WETH_BPT", tokenType: TokenType.BALANCER_LP_TOKEN @@ -2029,7 +2029,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.wstETH_rETH_sfrxETH, + id: TOKEN_wstETH_rETH_sfrxETH, addr: 0x0c8972437a38b389ec83d1E666b69b8a4fcf8bfd, symbol: "wstETH_rETH_sfrxETH", tokenType: TokenType.BALANCER_LP_TOKEN @@ -2037,7 +2037,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.wstETH_rETH_cbETH, + id: TOKEN_wstETH_rETH_cbETH, addr: 0x4a2F6Ae7F3e5D715689530873ec35593Dc28951B, symbol: "wstETH_rETH_cbETH", tokenType: TokenType.BALANCER_LP_TOKEN @@ -2045,7 +2045,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.cbETH_rETH_wstETH, + id: TOKEN_cbETH_rETH_wstETH, addr: 0x2d6CeD12420a9AF5a83765a8c48Be2aFcD1A8FEb, symbol: "cbETH_rETH_wstETH", tokenType: TokenType.BALANCER_LP_TOKEN @@ -2053,7 +2053,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.rETH_WETH_BPT_deprecated, + id: TOKEN_rETH_WETH_BPT_deprecated, addr: 0xadE4A71BB62bEc25154CFc7e6ff49A513B491E81, symbol: "rETH_WETH_BPT_deprecated", tokenType: TokenType.BALANCER_LP_TOKEN @@ -2061,7 +2061,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.rETH_wETH_BPT, + id: TOKEN_rETH_wETH_BPT, addr: 0xd0EC47c54cA5e20aaAe4616c25C825c7f48D4069, symbol: "rETH_wETH_BPT", tokenType: TokenType.BALANCER_LP_TOKEN @@ -2069,7 +2069,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens._33AURA_33ARB_33BAL, + id: TOKEN__33AURA_33ARB_33BAL, addr: 0xbcaA6c053cab3Dd73a2E898d89A4f84a180ae1CA, symbol: "33AURA_33ARB_33BAL", tokenType: TokenType.BALANCER_LP_TOKEN @@ -2077,7 +2077,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.ezETH_wstETH, + id: TOKEN_ezETH_wstETH, addr: 0xB61371Ab661B1ACec81C699854D2f911070C059E, symbol: "ezETH_wstETH", tokenType: TokenType.BALANCER_LP_TOKEN @@ -2086,7 +2086,7 @@ contract TokensDataLive { tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.aDAI, + id: TOKEN_aDAI, addr: 0x82E64f49Ed5EC1bC6e43DAD4FC8Af9bb3A2312EE, symbol: "aDAI", tokenType: TokenType.AAVE_V2_A_TOKEN @@ -2094,7 +2094,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.aUSDC, + id: TOKEN_aUSDC, addr: 0x724dc807b04555b71ed48a6896b6F41593b8C637, symbol: "aUSDC", tokenType: TokenType.AAVE_V2_A_TOKEN @@ -2102,7 +2102,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.aUSDT, + id: TOKEN_aUSDT, addr: 0x6ab707Aca953eDAeFBc4fD23bA73294241490620, symbol: "aUSDT", tokenType: TokenType.AAVE_V2_A_TOKEN @@ -2110,7 +2110,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.aWETH, + id: TOKEN_aWETH, addr: 0xe50fA9b3c56FfB159cB0FCA61F5c9D750e8128c8, symbol: "aWETH", tokenType: TokenType.AAVE_V2_A_TOKEN @@ -2119,7 +2119,7 @@ contract TokensDataLive { tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.aurawstETH_WETH_BPT, + id: TOKEN_aurawstETH_WETH_BPT, addr: 0xc99B6fD0486448F100891CA43C015fD6f09c8bD0, symbol: "aurawstETH_WETH_BPT", tokenType: TokenType.AURA_LP_TOKEN @@ -2127,7 +2127,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.aurawstETH_rETH_sfrxETH, + id: TOKEN_aurawstETH_rETH_sfrxETH, addr: 0x5db70B93942936c01e5a1A1D19ABc442A9C967e3, symbol: "aurawstETH_rETH_sfrxETH", tokenType: TokenType.AURA_LP_TOKEN @@ -2135,7 +2135,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.auracbETH_rETH_wstETH, + id: TOKEN_auracbETH_rETH_wstETH, addr: 0x7A1b7f30a98d4C8BDB66AaDc6E13Be4AcdD4DE2C, symbol: "auracbETH_rETH_wstETH", tokenType: TokenType.AURA_LP_TOKEN @@ -2143,7 +2143,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.aurarETH_wETH_BPT, + id: TOKEN_aurarETH_wETH_BPT, addr: 0xE23B5EC0100d446E4086D03e3546D6ef6F6Bcf1c, symbol: "aurarETH_wETH_BPT", tokenType: TokenType.AURA_LP_TOKEN @@ -2152,7 +2152,7 @@ contract TokensDataLive { tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.aurawstETH_WETH_BPT_vault, + id: TOKEN_aurawstETH_WETH_BPT_vault, addr: 0xa7BdaD177D474f946f3cDEB4bcea9d24Cf017471, symbol: "aurawstETH_WETH_BPT_vault", tokenType: TokenType.AURA_STAKED_TOKEN @@ -2160,7 +2160,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.aurawstETH_rETH_sfrxETH_vault, + id: TOKEN_aurawstETH_rETH_sfrxETH_vault, addr: 0xa427B131059A503b5fC9C7e1a130585ca3b32e3d, symbol: "aurawstETH_rETH_sfrxETH_vault", tokenType: TokenType.AURA_STAKED_TOKEN @@ -2168,7 +2168,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.auracbETH_rETH_wstETH_vault, + id: TOKEN_auracbETH_rETH_wstETH_vault, addr: 0x8cA64Bd82AbFE138E195ce5Cb7268CA285D42245, symbol: "auracbETH_rETH_wstETH_vault", tokenType: TokenType.AURA_STAKED_TOKEN @@ -2176,7 +2176,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.aurarETH_wETH_BPT_vault, + id: TOKEN_aurarETH_wETH_BPT_vault, addr: 0x129A44AC6ff0f965C907579F96F2eD682E52c84A, symbol: "aurarETH_wETH_BPT_vault", tokenType: TokenType.AURA_STAKED_TOKEN @@ -2185,7 +2185,7 @@ contract TokensDataLive { tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.dUSDCV3, + id: TOKEN_dUSDCV3, addr: 0x890A69EF363C9c7BdD5E36eb95Ceb569F63ACbF6, symbol: "dUSDCV3", tokenType: TokenType.DIESEL_LP_TOKEN @@ -2193,7 +2193,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.dUSDC_eV3, + id: TOKEN_dUSDC_eV3, addr: 0xa76c604145D7394DEc36C49Af494C144Ff327861, symbol: "dUSDC_eV3", tokenType: TokenType.DIESEL_LP_TOKEN @@ -2202,7 +2202,7 @@ contract TokensDataLive { tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.dWETHV3, + id: TOKEN_dWETHV3, addr: 0x04419d3509f13054f60d253E0c79491d9E683399, symbol: "dWETHV3", tokenType: TokenType.DIESEL_LP_TOKEN @@ -2211,7 +2211,7 @@ contract TokensDataLive { tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.sdUSDCV3, + id: TOKEN_sdUSDCV3, addr: 0xD0181a36B0566a8645B7eECFf2148adE7Ecf2BE9, symbol: "sdUSDCV3", tokenType: TokenType.DIESEL_LP_TOKEN @@ -2219,7 +2219,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.sdUSDC_eV3, + id: TOKEN_sdUSDC_eV3, addr: 0x608F9e2E8933Ce6b39A8CddBc34a1e3E8D21cE75, symbol: "sdUSDC_eV3", tokenType: TokenType.DIESEL_LP_TOKEN @@ -2228,7 +2228,7 @@ contract TokensDataLive { tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.sdWETHV3, + id: TOKEN_sdWETHV3, addr: 0xf3b7994e4dA53E04155057Fd61dc501599d57877, symbol: "sdWETHV3", tokenType: TokenType.DIESEL_LP_TOKEN @@ -2236,7 +2236,7 @@ contract TokensDataLive { ); tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.sdWETHV3_OLD, + id: TOKEN_sdWETHV3_OLD, addr: 0x6773fF780Dd38175247795545Ee37adD6ab6139a, symbol: "sdWETHV3_OLD", tokenType: TokenType.DIESEL_LP_TOKEN @@ -2245,7 +2245,7 @@ contract TokensDataLive { tokenDataByNetwork[42161].push( TokenData({ - id: Tokens.GEAR, + id: TOKEN_GEAR, addr: 0x2F26337576127efabEEc1f62BE79dB1bcA9148A4, symbol: "GEAR", tokenType: TokenType.GEAR_TOKEN @@ -2253,7 +2253,7 @@ contract TokensDataLive { ); tokenDataByNetwork[10].push( TokenData({ - id: Tokens.AAVE, + id: TOKEN_AAVE, addr: 0x76FB31fb4af56892A25e32cFC43De717950c9278, symbol: "AAVE", tokenType: TokenType.NORMAL_TOKEN @@ -2262,7 +2262,7 @@ contract TokensDataLive { tokenDataByNetwork[10].push( TokenData({ - id: Tokens.CRV, + id: TOKEN_CRV, addr: 0x0994206dfE8De6Ec6920FF4D779B0d950605Fb53, symbol: "CRV", tokenType: TokenType.NORMAL_TOKEN @@ -2270,7 +2270,7 @@ contract TokensDataLive { ); tokenDataByNetwork[10].push( TokenData({ - id: Tokens.DAI, + id: TOKEN_DAI, addr: 0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1, symbol: "DAI", tokenType: TokenType.NORMAL_TOKEN @@ -2279,7 +2279,7 @@ contract TokensDataLive { tokenDataByNetwork[10].push( TokenData({ - id: Tokens.LINK, + id: TOKEN_LINK, addr: 0x350a791Bfc2C21F9Ed5d10980Dad2e2638ffa7f6, symbol: "LINK", tokenType: TokenType.NORMAL_TOKEN @@ -2287,7 +2287,7 @@ contract TokensDataLive { ); tokenDataByNetwork[10].push( TokenData({ - id: Tokens.SNX, + id: TOKEN_SNX, addr: 0x8700dAec35aF8Ff88c16BdF0418774CB3D7599B4, symbol: "SNX", tokenType: TokenType.NORMAL_TOKEN @@ -2295,7 +2295,7 @@ contract TokensDataLive { ); tokenDataByNetwork[10].push( TokenData({ - id: Tokens.UNI, + id: TOKEN_UNI, addr: 0x6fd9d7AD17242c41f7131d257212c54A0e816691, symbol: "UNI", tokenType: TokenType.NORMAL_TOKEN @@ -2303,7 +2303,7 @@ contract TokensDataLive { ); tokenDataByNetwork[10].push( TokenData({ - id: Tokens.USDC, + id: TOKEN_USDC, addr: 0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85, symbol: "USDC", tokenType: TokenType.NORMAL_TOKEN @@ -2311,7 +2311,7 @@ contract TokensDataLive { ); tokenDataByNetwork[10].push( TokenData({ - id: Tokens.USDC_e, + id: TOKEN_USDC_e, addr: 0x7F5c764cBc14f9669B88837ca1490cCa17c31607, symbol: "USDC_e", tokenType: TokenType.NORMAL_TOKEN @@ -2319,7 +2319,7 @@ contract TokensDataLive { ); tokenDataByNetwork[10].push( TokenData({ - id: Tokens.USDT, + id: TOKEN_USDT, addr: 0x94b008aA00579c1307B0EF2c499aD98a8ce58e58, symbol: "USDT", tokenType: TokenType.NORMAL_TOKEN @@ -2327,7 +2327,7 @@ contract TokensDataLive { ); tokenDataByNetwork[10].push( TokenData({ - id: Tokens.WBTC, + id: TOKEN_WBTC, addr: 0x68f180fcCe6836688e9084f035309E29Bf0A2095, symbol: "WBTC", tokenType: TokenType.NORMAL_TOKEN @@ -2335,7 +2335,7 @@ contract TokensDataLive { ); tokenDataByNetwork[10].push( TokenData({ - id: Tokens.WETH, + id: TOKEN_WETH, addr: 0x4200000000000000000000000000000000000006, symbol: "WETH", tokenType: TokenType.NORMAL_TOKEN @@ -2343,7 +2343,7 @@ contract TokensDataLive { ); tokenDataByNetwork[10].push( TokenData({ - id: Tokens.YFI, + id: TOKEN_YFI, addr: 0x9046D36440290FfDE54FE0DD84Db8b1CfEE9107B, symbol: "YFI", tokenType: TokenType.NORMAL_TOKEN @@ -2351,7 +2351,7 @@ contract TokensDataLive { ); tokenDataByNetwork[10].push( TokenData({ - id: Tokens.WLD, + id: TOKEN_WLD, addr: 0xdC6fF44d5d932Cbd77B52E5612Ba0529DC6226F1, symbol: "WLD", tokenType: TokenType.NORMAL_TOKEN @@ -2359,7 +2359,7 @@ contract TokensDataLive { ); tokenDataByNetwork[10].push( TokenData({ - id: Tokens.OP, + id: TOKEN_OP, addr: 0x4200000000000000000000000000000000000042, symbol: "OP", tokenType: TokenType.NORMAL_TOKEN @@ -2368,7 +2368,7 @@ contract TokensDataLive { tokenDataByNetwork[10].push( TokenData({ - id: Tokens.FRAX, + id: TOKEN_FRAX, addr: 0x2E3D870790dC77A83DD1d18184Acc7439A53f475, symbol: "FRAX", tokenType: TokenType.NORMAL_TOKEN @@ -2376,7 +2376,7 @@ contract TokensDataLive { ); tokenDataByNetwork[10].push( TokenData({ - id: Tokens.FXS, + id: TOKEN_FXS, addr: 0x67CCEA5bb16181E7b4109c9c2143c24a1c2205Be, symbol: "FXS", tokenType: TokenType.NORMAL_TOKEN @@ -2384,7 +2384,7 @@ contract TokensDataLive { ); tokenDataByNetwork[10].push( TokenData({ - id: Tokens.LDO, + id: TOKEN_LDO, addr: 0xFdb794692724153d1488CcdBE0C56c252596735F, symbol: "LDO", tokenType: TokenType.NORMAL_TOKEN @@ -2392,7 +2392,7 @@ contract TokensDataLive { ); tokenDataByNetwork[10].push( TokenData({ - id: Tokens.LUSD, + id: TOKEN_LUSD, addr: 0xc40F949F8a4e094D1b49a23ea9241D289B7b2819, symbol: "LUSD", tokenType: TokenType.NORMAL_TOKEN @@ -2400,7 +2400,7 @@ contract TokensDataLive { ); tokenDataByNetwork[10].push( TokenData({ - id: Tokens.sUSD, + id: TOKEN_sUSD, addr: 0x8c6f28f2F1A3C87F0f938b96d27520d9751ec8d9, symbol: "sUSD", tokenType: TokenType.NORMAL_TOKEN @@ -2409,7 +2409,7 @@ contract TokensDataLive { tokenDataByNetwork[10].push( TokenData({ - id: Tokens.MIM, + id: TOKEN_MIM, addr: 0xB153FB3d196A8eB25522705560ac152eeEc57901, symbol: "MIM", tokenType: TokenType.NORMAL_TOKEN @@ -2418,7 +2418,7 @@ contract TokensDataLive { tokenDataByNetwork[10].push( TokenData({ - id: Tokens.BAL, + id: TOKEN_BAL, addr: 0xFE8B128bA8C78aabC59d4c64cEE7fF28e9379921, symbol: "BAL", tokenType: TokenType.NORMAL_TOKEN @@ -2427,7 +2427,7 @@ contract TokensDataLive { tokenDataByNetwork[10].push( TokenData({ - id: Tokens.RPL, + id: TOKEN_RPL, addr: 0xC81D1F0EB955B0c020E5d5b264E1FF72c14d1401, symbol: "RPL", tokenType: TokenType.NORMAL_TOKEN @@ -2436,7 +2436,7 @@ contract TokensDataLive { tokenDataByNetwork[10].push( TokenData({ - id: Tokens.rETH, + id: TOKEN_rETH, addr: 0x9Bcef72be871e61ED4fBbc7630889beE758eb81D, symbol: "rETH", tokenType: TokenType.NORMAL_TOKEN @@ -2444,7 +2444,7 @@ contract TokensDataLive { ); tokenDataByNetwork[10].push( TokenData({ - id: Tokens.AURA, + id: TOKEN_AURA, addr: 0x1509706a6c66CA549ff0cB464de88231DDBe213B, symbol: "AURA", tokenType: TokenType.NORMAL_TOKEN @@ -2453,7 +2453,7 @@ contract TokensDataLive { tokenDataByNetwork[10].push( TokenData({ - id: Tokens.ezETH, + id: TOKEN_ezETH, addr: 0x2416092f143378750bb29b79eD961ab195CcEea5, symbol: "ezETH", tokenType: TokenType.NORMAL_TOKEN @@ -2462,7 +2462,7 @@ contract TokensDataLive { tokenDataByNetwork[10].push( TokenData({ - id: Tokens.frxETH, + id: TOKEN_frxETH, addr: 0x6806411765Af15Bddd26f8f544A34cC40cb9838B, symbol: "frxETH", tokenType: TokenType.NORMAL_TOKEN @@ -2470,7 +2470,7 @@ contract TokensDataLive { ); tokenDataByNetwork[10].push( TokenData({ - id: Tokens.PENDLE, + id: TOKEN_PENDLE, addr: 0xBC7B1Ff1c6989f006a1185318eD4E7b5796e66E1, symbol: "PENDLE", tokenType: TokenType.NORMAL_TOKEN @@ -2478,7 +2478,7 @@ contract TokensDataLive { ); tokenDataByNetwork[10].push( TokenData({ - id: Tokens.cbETH, + id: TOKEN_cbETH, addr: 0xadDb6A0412DE1BA0F936DCaeb8Aaa24578dcF3B2, symbol: "cbETH", tokenType: TokenType.NORMAL_TOKEN @@ -2487,7 +2487,7 @@ contract TokensDataLive { tokenDataByNetwork[10].push( TokenData({ - id: Tokens.wstETH, + id: TOKEN_wstETH, addr: 0x1F32b1c2345538c0c6f582fCB022739c4A194Ebb, symbol: "wstETH", tokenType: TokenType.NORMAL_TOKEN @@ -2496,7 +2496,7 @@ contract TokensDataLive { tokenDataByNetwork[10].push( TokenData({ - id: Tokens.sfrxETH, + id: TOKEN_sfrxETH, addr: 0x484c2D6e3cDd945a8B2DF735e079178C1036578c, symbol: "sfrxETH", tokenType: TokenType.NORMAL_TOKEN @@ -2505,7 +2505,7 @@ contract TokensDataLive { tokenDataByNetwork[10].push( TokenData({ - id: Tokens.wstETHCRV, + id: TOKEN_wstETHCRV, addr: 0xEfDE221f306152971D8e9f181bFe998447975810, symbol: "wstETHCRV", tokenType: TokenType.CURVE_LP_TOKEN @@ -2514,7 +2514,7 @@ contract TokensDataLive { tokenDataByNetwork[10].push( TokenData({ - id: Tokens._3CRV, + id: TOKEN__3CRV, addr: 0x15F52286C0FF1d7A7dDbC9E300dd66628D46D4e6, symbol: "3CRV", tokenType: TokenType.CURVE_LP_TOKEN @@ -2523,7 +2523,7 @@ contract TokensDataLive { tokenDataByNetwork[10].push( TokenData({ - id: Tokens.yvDAI, + id: TOKEN_yvDAI, addr: 0x65343F414FFD6c97b0f6add33d16F6845Ac22BAc, symbol: "yvDAI", tokenType: TokenType.YEARN_ON_NORMAL_TOKEN @@ -2532,7 +2532,7 @@ contract TokensDataLive { tokenDataByNetwork[10].push( TokenData({ - id: Tokens.yvUSDC_e, + id: TOKEN_yvUSDC_e, addr: 0xaD17A225074191d5c8a37B50FdA1AE278a2EE6A2, symbol: "yvUSDC_e", tokenType: TokenType.YEARN_ON_NORMAL_TOKEN @@ -2540,7 +2540,7 @@ contract TokensDataLive { ); tokenDataByNetwork[10].push( TokenData({ - id: Tokens.yvWETH, + id: TOKEN_yvWETH, addr: 0x5B977577Eb8a480f63e11FC615D6753adB8652Ae, symbol: "yvWETH", tokenType: TokenType.YEARN_ON_NORMAL_TOKEN @@ -2548,7 +2548,7 @@ contract TokensDataLive { ); tokenDataByNetwork[10].push( TokenData({ - id: Tokens.yvWBTC, + id: TOKEN_yvWBTC, addr: 0x7Edf16076e56FA4c111055fbA1fF5556b8757cFB, symbol: "yvWBTC", tokenType: TokenType.YEARN_ON_NORMAL_TOKEN @@ -2556,7 +2556,7 @@ contract TokensDataLive { ); tokenDataByNetwork[10].push( TokenData({ - id: Tokens.yvUSDT, + id: TOKEN_yvUSDT, addr: 0xFaee21D0f0Af88EE72BB6d68E54a90E6EC2616de, symbol: "yvUSDT", tokenType: TokenType.YEARN_ON_NORMAL_TOKEN @@ -2564,7 +2564,7 @@ contract TokensDataLive { ); tokenDataByNetwork[10].push( TokenData({ - id: Tokens.yvOP, + id: TOKEN_yvOP, addr: 0x7D2382b1f8Af621229d33464340541Db362B4907, symbol: "yvOP", tokenType: TokenType.YEARN_ON_NORMAL_TOKEN @@ -2573,7 +2573,7 @@ contract TokensDataLive { tokenDataByNetwork[10].push( TokenData({ - id: Tokens.BPT_rETH_ETH, + id: TOKEN_BPT_rETH_ETH, addr: 0x4Fd63966879300caFafBB35D157dC5229278Ed23, symbol: "BPT_rETH_ETH", tokenType: TokenType.BALANCER_LP_TOKEN @@ -2581,7 +2581,7 @@ contract TokensDataLive { ); tokenDataByNetwork[10].push( TokenData({ - id: Tokens.BPT_WSTETH_ETH, + id: TOKEN_BPT_WSTETH_ETH, addr: 0x7B50775383d3D6f0215A8F290f2C9e2eEBBEceb2, symbol: "BPT_WSTETH_ETH", tokenType: TokenType.BALANCER_LP_TOKEN @@ -2589,7 +2589,7 @@ contract TokensDataLive { ); tokenDataByNetwork[10].push( TokenData({ - id: Tokens.BPT_ROAD, + id: TOKEN_BPT_ROAD, addr: 0x39965c9dAb5448482Cf7e002F583c812Ceb53046, symbol: "BPT_ROAD", tokenType: TokenType.BALANCER_LP_TOKEN @@ -2597,7 +2597,7 @@ contract TokensDataLive { ); tokenDataByNetwork[10].push( TokenData({ - id: Tokens.ECLP_wstETH_WETH, + id: TOKEN_ECLP_wstETH_WETH, addr: 0x7Ca75bdEa9dEde97F8B13C6641B768650CB83782, symbol: "ECLP_wstETH_WETH", tokenType: TokenType.BALANCER_LP_TOKEN @@ -2606,7 +2606,7 @@ contract TokensDataLive { tokenDataByNetwork[10].push( TokenData({ - id: Tokens.bpt_ethtri, + id: TOKEN_bpt_ethtri, addr: 0x5F8893506Ddc4C271837187d14A9C87964a074Dc, symbol: "bpt_ethtri", tokenType: TokenType.BALANCER_LP_TOKEN @@ -2615,7 +2615,7 @@ contract TokensDataLive { tokenDataByNetwork[10].push( TokenData({ - id: Tokens.auraBPT_rETH_ETH, + id: TOKEN_auraBPT_rETH_ETH, addr: 0x094C6846Fb2801b4753182ADFac336AAE8030A46, symbol: "auraBPT_rETH_ETH", tokenType: TokenType.AURA_LP_TOKEN @@ -2623,7 +2623,7 @@ contract TokensDataLive { ); tokenDataByNetwork[10].push( TokenData({ - id: Tokens.auraBPT_WSTETH_ETH, + id: TOKEN_auraBPT_WSTETH_ETH, addr: 0x4c7E79c921144eBf7eBdbf0D3156bf192cDBe5f5, symbol: "auraBPT_WSTETH_ETH", tokenType: TokenType.AURA_LP_TOKEN @@ -2632,7 +2632,7 @@ contract TokensDataLive { tokenDataByNetwork[10].push( TokenData({ - id: Tokens.auraBPT_rETH_ETH_vault, + id: TOKEN_auraBPT_rETH_ETH_vault, addr: 0x61ac9315a1Ae71633E95Fb35601B59180eC8d61d, symbol: "auraBPT_rETH_ETH_vault", tokenType: TokenType.AURA_STAKED_TOKEN @@ -2640,7 +2640,7 @@ contract TokensDataLive { ); tokenDataByNetwork[10].push( TokenData({ - id: Tokens.auraBPT_WSTETH_ETH_vault, + id: TOKEN_auraBPT_WSTETH_ETH_vault, addr: 0xe110b862E4D076596707892c0C5163BC183eb161, symbol: "auraBPT_WSTETH_ETH_vault", tokenType: TokenType.AURA_STAKED_TOKEN @@ -2649,7 +2649,7 @@ contract TokensDataLive { tokenDataByNetwork[10].push( TokenData({ - id: Tokens.dUSDCV3, + id: TOKEN_dUSDCV3, addr: 0xa210BB193Ca352Fa81fBd0e81Cb800580b0762eE, symbol: "dUSDCV3", tokenType: TokenType.DIESEL_LP_TOKEN @@ -2657,7 +2657,7 @@ contract TokensDataLive { ); tokenDataByNetwork[10].push( TokenData({ - id: Tokens.dUSDC_eV3, + id: TOKEN_dUSDC_eV3, addr: 0x5520dAa93A187f4Ec67344e6D2C4FC9B080B6A35, symbol: "dUSDC_eV3", tokenType: TokenType.DIESEL_LP_TOKEN @@ -2666,7 +2666,7 @@ contract TokensDataLive { tokenDataByNetwork[10].push( TokenData({ - id: Tokens.dWETHV3, + id: TOKEN_dWETHV3, addr: 0x42dB77B3103c71059F4b997d6441cFB299FD0d94, symbol: "dWETHV3", tokenType: TokenType.DIESEL_LP_TOKEN @@ -2675,7 +2675,7 @@ contract TokensDataLive { tokenDataByNetwork[10].push( TokenData({ - id: Tokens.sdUSDCV3, + id: TOKEN_sdUSDCV3, addr: 0x3ee44B2D6AD1CDF8f3Ce26Fc65f3945716Bb1492, symbol: "sdUSDCV3", tokenType: TokenType.DIESEL_LP_TOKEN @@ -2683,7 +2683,7 @@ contract TokensDataLive { ); tokenDataByNetwork[10].push( TokenData({ - id: Tokens.sdUSDC_eV3, + id: TOKEN_sdUSDC_eV3, addr: 0x73302b63Ad4a16C498f26dB89cb27F37a72E4E04, symbol: "sdUSDC_eV3", tokenType: TokenType.DIESEL_LP_TOKEN @@ -2692,7 +2692,7 @@ contract TokensDataLive { tokenDataByNetwork[10].push( TokenData({ - id: Tokens.sdWETHV3, + id: TOKEN_sdWETHV3, addr: 0x704c4C9F0d29257E5b0E526b20b48EfFC8f758b2, symbol: "sdWETHV3", tokenType: TokenType.DIESEL_LP_TOKEN @@ -2701,7 +2701,7 @@ contract TokensDataLive { tokenDataByNetwork[10].push( TokenData({ - id: Tokens.GEAR, + id: TOKEN_GEAR, addr: 0x39E6C2E1757ae4354087266E2C3EA9aC4257C1eb, symbol: "GEAR", tokenType: TokenType.GEAR_TOKEN @@ -2710,7 +2710,7 @@ contract TokensDataLive { tokenDataByNetwork[8453].push( TokenData({ - id: Tokens.USDC, + id: TOKEN_USDC, addr: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913, symbol: "USDC", tokenType: TokenType.NORMAL_TOKEN diff --git a/contracts/TokensLib.sol b/contracts/TokensLib.sol index 2c38d7c..f7f6fd8 100644 --- a/contracts/TokensLib.sol +++ b/contracts/TokensLib.sol @@ -3,41 +3,43 @@ // (c) Gearbox Foundation, 2023 pragma solidity ^0.8.17; -import {Tokens} from "./Tokens.sol"; - library TokensLib { - function arrayOf(Tokens t1) external pure returns (Tokens[] memory tokensList) { - tokensList = new Tokens[](1); + function arrayOf(uint256 t1) external pure returns (uint256[] memory tokensList) { + tokensList = new uint256[](1); tokensList[0] = t1; } - function arrayOf(Tokens t1, Tokens t2) external pure returns (Tokens[] memory tokensList) { - tokensList = new Tokens[](2); + function arrayOf(uint256 t1, uint256 t2) external pure returns (uint256[] memory tokensList) { + tokensList = new uint256[](2); tokensList[0] = t1; tokensList[1] = t2; } - function arrayOf(Tokens t1, Tokens t2, Tokens t3) external pure returns (Tokens[] memory tokensList) { - tokensList = new Tokens[](3); + function arrayOf(uint256 t1, uint256 t2, uint256 t3) external pure returns (uint256[] memory tokensList) { + tokensList = new uint256[](3); tokensList[0] = t1; tokensList[1] = t2; tokensList[2] = t3; } - function arrayOf(Tokens t1, Tokens t2, Tokens t3, Tokens t4) external pure returns (Tokens[] memory tokensList) { - tokensList = new Tokens[](4); + function arrayOf(uint256 t1, uint256 t2, uint256 t3, uint256 t4) + external + pure + returns (uint256[] memory tokensList) + { + tokensList = new uint256[](4); tokensList[0] = t1; tokensList[1] = t2; tokensList[2] = t3; tokensList[3] = t4; } - function arrayOf(Tokens t1, Tokens t2, Tokens t3, Tokens t4, Tokens t5) + function arrayOf(uint256 t1, uint256 t2, uint256 t3, uint256 t4, uint256 t5) external pure - returns (Tokens[] memory tokensList) + returns (uint256[] memory tokensList) { - tokensList = new Tokens[](5); + tokensList = new uint256[](5); tokensList[0] = t1; tokensList[1] = t2; tokensList[2] = t3; @@ -45,12 +47,12 @@ library TokensLib { tokensList[4] = t5; } - function arrayOf(Tokens t1, Tokens t2, Tokens t3, Tokens t4, Tokens t5, Tokens t6) + function arrayOf(uint256 t1, uint256 t2, uint256 t3, uint256 t4, uint256 t5, uint256 t6) external pure - returns (Tokens[] memory tokensList) + returns (uint256[] memory tokensList) { - tokensList = new Tokens[](6); + tokensList = new uint256[](6); tokensList[0] = t1; tokensList[1] = t2; tokensList[2] = t3; @@ -59,12 +61,12 @@ library TokensLib { tokensList[5] = t6; } - function arrayOf(Tokens t1, Tokens t2, Tokens t3, Tokens t4, Tokens t5, Tokens t6, Tokens t7) + function arrayOf(uint256 t1, uint256 t2, uint256 t3, uint256 t4, uint256 t5, uint256 t6, uint256 t7) external pure - returns (Tokens[] memory tokensList) + returns (uint256[] memory tokensList) { - tokensList = new Tokens[](6); + tokensList = new uint256[](6); tokensList[0] = t1; tokensList[1] = t2; tokensList[2] = t3; @@ -74,12 +76,12 @@ library TokensLib { tokensList[6] = t7; } - function arrayOf(Tokens t1, Tokens t2, Tokens t3, Tokens t4, Tokens t5, Tokens t6, Tokens t7, Tokens t8) + function arrayOf(uint256 t1, uint256 t2, uint256 t3, uint256 t4, uint256 t5, uint256 t6, uint256 t7, uint256 t8) external pure - returns (Tokens[] memory tokensList) + returns (uint256[] memory tokensList) { - tokensList = new Tokens[](6); + tokensList = new uint256[](6); tokensList[0] = t1; tokensList[1] = t2; tokensList[2] = t3; diff --git a/src/bindings/generate.ts b/src/bindings/generate.ts index c423e04..6221d4c 100644 --- a/src/bindings/generate.ts +++ b/src/bindings/generate.ts @@ -35,8 +35,16 @@ class BindingsGenerator { } generateTokens() { - const tokensEnum = this.tokens.map(t => safeEnum(t)).join(",\n"); - let data = `enum Tokens {NO_TOKEN, LUNA, ${tokensEnum}}`; + const tokensConstants = this.tokens + .map( + (t, index) => `uint256 constant TOKEN_${safeEnum(t)} = ${index + 2};`, + ) + .join("\n"); + let data = `uint256 constant TOKEN_NO_TOKEN = 0; + uint256 constant TOKEN_LUNA = 1; + ${tokensConstants}`; + + data += `uint256 constant NUM_TOKENS = ${this.tokens.length + 2};`; const tokenTypeEnum = Object.values(TokenType) .filter(v => isNaN(Number(v))) @@ -859,7 +867,7 @@ class BindingsGenerator { return `curveAdapters.push(CurveAdapter({targetContract: Contracts.${contract}, adapterType: AdapterType.${ AdapterInterface[contractParam.type] - }, lpToken: Tokens.${safeEnum( + }, lpToken: TOKEN_${safeEnum( contractParam.lpToken, )}, basePool: Contracts.${basePool}}));`; } @@ -952,7 +960,7 @@ class BindingsGenerator { } private tokensEnum(t: string): string { - return `Tokens.${safeEnum(t)}`; + return `TOKEN_${safeEnum(t)}`; } } diff --git a/src/config/creditManagerV3Config.ts b/src/config/creditManagerV3Config.ts index dfa8ced..12b1172 100644 --- a/src/config/creditManagerV3Config.ts +++ b/src/config/creditManagerV3Config.ts @@ -124,7 +124,7 @@ ${adapters};`; this.state.collateralTokens .map( ct => ` - cts.push(CollateralTokenHuman({token: Tokens.${safeEnum( + cts.push(CollateralTokenHuman({token: TOKEN_${safeEnum( ct.token, )}, lt: ${formatNumberToString_(ct.lt)}}));`, ) @@ -208,8 +208,8 @@ ${contracts} .map( pair => `gsp.push(GenericSwapPair({ router: Contracts.${a.contract}, - token0: Tokens.${safeEnum(pair.token0)}, - token1: Tokens.${safeEnum(pair.token1)} + token0: TOKEN_${safeEnum(pair.token0)}, + token1: TOKEN_${safeEnum(pair.token1)} }));`, ) .join("\n"); @@ -226,8 +226,8 @@ ${contracts} .map( pair => `uv3p.push(UniswapV3Pair({ router: Contracts.${a.contract}, - token0: Tokens.${safeEnum(pair.token0)}, - token1: Tokens.${safeEnum(pair.token1)}, + token0: TOKEN_${safeEnum(pair.token0)}, + token1: TOKEN_${safeEnum(pair.token1)}, fee: ${ a.contract === "VELODROME_CL_ROUTER" ? (pair as VelodromeCLPool).tickSpacing @@ -245,8 +245,8 @@ ${contracts} const pools = ((a as VelodromeV2Config).allowed || []) .map( pool => `vv2p.push(VelodromeV2Pool({ - token0: Tokens.${safeEnum(pool.token0)}, - token1: Tokens.${safeEnum(pool.token1)}, + token0: TOKEN_${safeEnum(pool.token0)}, + token1: TOKEN_${safeEnum(pool.token1)}, stable: ${pool.stable}, factory: ${pool.factory} }));`, @@ -262,8 +262,8 @@ ${contracts} .map( pair => `pendp.push(PendlePair({ market: ${pair.market}, - inputToken: Tokens.${safeEnum(pair.inputToken)}, - pendleToken: Tokens.${safeEnum(pair.pendleToken)}, + inputToken: TOKEN_${safeEnum(pair.inputToken)}, + pendleToken: TOKEN_${safeEnum(pair.pendleToken)}, status: ${pair.status.toFixed()} }));`, ) @@ -279,7 +279,7 @@ ${contracts} .map( underlying => `mu.push(MellowUnderlyingConfig({ vault: Contracts.${a.contract}, - underlying: Tokens.${safeEnum(underlying)} + underlying: TOKEN_${safeEnum(underlying)} }));`, ) .join("\n"); diff --git a/src/config/gaugeV3.ts b/src/config/gaugeV3.ts index 49592c3..8a5934a 100644 --- a/src/config/gaugeV3.ts +++ b/src/config/gaugeV3.ts @@ -50,9 +50,7 @@ export class GaugeV3Configurator implements IConfigurator { return Object.entries(this.state.quotaTokenParams) .map( ([token, params]) => - `_gaugeRates.push(GaugeRate({token: Tokens.${safeEnum( - token, - )}, minRate: ${formatNumberToString_( + `_gaugeRates.push(GaugeRate({token: TOKEN_${safeEnum(token)}, minRate: ${formatNumberToString_( params.minRate, )}, maxRate: ${formatNumberToString_(params.maxRate)}}));`, ) diff --git a/src/config/poolQuotaKeeperV3.ts b/src/config/poolQuotaKeeperV3.ts index efde1f1..7da279d 100644 --- a/src/config/poolQuotaKeeperV3.ts +++ b/src/config/poolQuotaKeeperV3.ts @@ -65,9 +65,7 @@ export class PoolQuotaKeeperV3Configurator implements IConfigurator { return Object.entries(this.state.quotaLimits) .map( ([token, params]) => - `_quotaLimits.push(PoolQuotaLimit({token: Tokens.${safeEnum( - token, - )}, quotaIncreaseFee: ${formatNumberToString_( + `_quotaLimits.push(PoolQuotaLimit({token: TOKEN_${safeEnum(token)}, quotaIncreaseFee: ${formatNumberToString_( params.quotaIncreaseFee, )}, limit: ${formatNumberToString_(params.limit)}}));`, ) diff --git a/src/config/poolV3Core.ts b/src/config/poolV3Core.ts index 3efe862..bf6ff7b 100644 --- a/src/config/poolV3Core.ts +++ b/src/config/poolV3Core.ts @@ -138,7 +138,7 @@ ${creditManagers}`; // (c) Gearbox Holdings, 2022 pragma solidity ^0.8.17; - import {Tokens} from "@gearbox-protocol/sdk-gov/contracts/Tokens.sol"; + import "@gearbox-protocol/sdk-gov/contracts/Tokens.sol"; import {Contracts} from "@gearbox-protocol/sdk-gov/contracts/SupportedContracts.sol"; import { LinearIRMV3DeployParams, @@ -161,7 +161,7 @@ ${creditManagers}`; .toUpperCase()} is IPoolV3DeployConfig { string public constant id = "${this.id}"; uint256 public constant chainId = ${CHAINS[this.network]}; - Tokens public constant underlying = Tokens.${safeEnum(this.underlying)}; + uint256 public constant underlying = TOKEN_${safeEnum(this.underlying)}; bool public constant supportsQuotas = ${this.supportsQuotas}; uint256 public constant getAccountAmount = ${formatNumberToString_( this.accountAmount,