diff --git a/contracts/PriceFeedDataLive.sol b/contracts/PriceFeedDataLive.sol index d8ad5a0f..69a414b2 100644 --- a/contracts/PriceFeedDataLive.sol +++ b/contracts/PriceFeedDataLive.sol @@ -8267,6 +8267,30 @@ contract PriceFeedDataLive { reserve: true }) ); + + // ------------------------ PT_sUSDe_27MAR2025 ------------------------ + pendlePriceFeedsByNetwork[1].push( + PendlePriceFeedData({ + token: TOKEN_PT_sUSDe_27MAR2025, + underlying: TOKEN_USDe, + market: 0xcDd26Eb5EB2Ce0f203a84553853667aE69Ca29Ce, + twapWindow: 1800, + priceToSy: false, + trusted: false, + reserve: false + }) + ); + pendlePriceFeedsByNetwork[1].push( + PendlePriceFeedData({ + token: TOKEN_PT_sUSDe_27MAR2025, + underlying: TOKEN_USDe, + market: 0xcDd26Eb5EB2Ce0f203a84553853667aE69Ca29Ce, + twapWindow: 1800, + priceToSy: false, + trusted: false, + reserve: true + }) + ); } function chainlinkPriceFeeds(uint256 index) external view returns (ChainlinkPriceFeedData memory) { diff --git a/contracts/Tokens.sol b/contracts/Tokens.sol index a17be4f5..22ae2f78 100644 --- a/contracts/Tokens.sol +++ b/contracts/Tokens.sol @@ -75,186 +75,187 @@ uint256 constant TOKEN_PT_corn_solvBTC_BBN_26DEC2024 = 67; uint256 constant TOKEN_PT_corn_pumpBTC_26DEC2024 = 68; uint256 constant TOKEN_PT_cornLBTC_26DEC2024 = 69; uint256 constant TOKEN_PT_corn_eBTC_27MAR2025 = 70; -uint256 constant TOKEN_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_crvUsUSDe = 82; -uint256 constant TOKEN_scrvUsUSDe = 83; -uint256 constant TOKEN_crvUSDFRAX = 84; -uint256 constant TOKEN_crvUSDETHCRV = 85; -uint256 constant TOKEN_rETH_f = 86; -uint256 constant TOKEN_DOLAFRAXBP3CRV_f = 87; -uint256 constant TOKEN_crvUSDDOLA_f = 88; -uint256 constant TOKEN_USDeUSDC = 89; -uint256 constant TOKEN_FRAXUSDe = 90; -uint256 constant TOKEN_USDecrvUSD = 91; -uint256 constant TOKEN_FRAXsDAI = 92; -uint256 constant TOKEN_DOLAsUSDe = 93; -uint256 constant TOKEN_USDeDAI = 94; -uint256 constant TOKEN_MtEthena = 95; -uint256 constant TOKEN_GHOUSDe = 96; -uint256 constant TOKEN_pufETHwstE = 97; -uint256 constant TOKEN_GHOcrvUSD = 98; -uint256 constant TOKEN_wstETHCRV = 99; -uint256 constant TOKEN__2CRV = 100; -uint256 constant TOKEN__3c_crvUSD = 101; -uint256 constant TOKEN_crvUSDC = 102; -uint256 constant TOKEN_crvUSDT = 103; -uint256 constant TOKEN_crvUSDC_e = 104; -uint256 constant TOKEN_USDEUSDC = 105; -uint256 constant TOKEN__3CRV = 106; -uint256 constant TOKEN_ezETHWETH = 107; -uint256 constant TOKEN_ezpzETH = 108; -uint256 constant TOKEN_LBTCWBTC = 109; -uint256 constant TOKEN_eBTCWBTC = 110; -uint256 constant TOKEN_pumpBTCWBTC = 111; -uint256 constant TOKEN_TriBTC = 112; -uint256 constant TOKEN_FRAX3CRV = 113; -uint256 constant TOKEN_LUSD3CRV = 114; -uint256 constant TOKEN_gusd3CRV = 115; -uint256 constant TOKEN_cvx3Crv = 116; -uint256 constant TOKEN_cvxcrvFRAX = 117; -uint256 constant TOKEN_cvxsteCRV = 118; -uint256 constant TOKEN_cvxFRAX3CRV = 119; -uint256 constant TOKEN_cvxLUSD3CRV = 120; -uint256 constant TOKEN_cvxcrvPlain3andSUSD = 121; -uint256 constant TOKEN_cvxgusd3CRV = 122; -uint256 constant TOKEN_cvxcrvCRVETH = 123; -uint256 constant TOKEN_cvxcrvCVXETH = 124; -uint256 constant TOKEN_cvxcrvUSDTWBTCWETH = 125; -uint256 constant TOKEN_cvxLDOETH = 126; -uint256 constant TOKEN_cvxcrvUSDUSDC = 127; -uint256 constant TOKEN_cvxcrvUSDUSDT = 128; -uint256 constant TOKEN_cvxcrvUSDFRAX = 129; -uint256 constant TOKEN_cvxcrvUSDETHCRV = 130; -uint256 constant TOKEN_cvxGHOcrvUSD = 131; -uint256 constant TOKEN_stkcvx3Crv = 132; -uint256 constant TOKEN_stkcvxcrvFRAX = 133; -uint256 constant TOKEN_stkcvxsteCRV = 134; -uint256 constant TOKEN_stkcvxFRAX3CRV = 135; -uint256 constant TOKEN_stkcvxLUSD3CRV = 136; -uint256 constant TOKEN_stkcvxcrvPlain3andSUSD = 137; -uint256 constant TOKEN_stkcvxgusd3CRV = 138; -uint256 constant TOKEN_stkcvxcrvCRVETH = 139; -uint256 constant TOKEN_stkcvxcrvCVXETH = 140; -uint256 constant TOKEN_stkcvxcrvUSDTWBTCWETH = 141; -uint256 constant TOKEN_stkcvxLDOETH = 142; -uint256 constant TOKEN_stkcvxcrvUSDUSDC = 143; -uint256 constant TOKEN_stkcvxcrvUSDUSDT = 144; -uint256 constant TOKEN_stkcvxcrvUSDFRAX = 145; -uint256 constant TOKEN_stkcvxcrvUSDETHCRV = 146; -uint256 constant TOKEN_stkcvxGHOcrvUSD = 147; -uint256 constant TOKEN_cvxcrvUSDT = 148; -uint256 constant TOKEN_yvDAI = 149; -uint256 constant TOKEN_yvUSDC = 150; -uint256 constant TOKEN_yvUSDC_e = 151; -uint256 constant TOKEN_yvWETH = 152; -uint256 constant TOKEN_yvWBTC = 153; -uint256 constant TOKEN_yvUSDT = 154; -uint256 constant TOKEN_yvOP = 155; -uint256 constant TOKEN_yvCurve_stETH = 156; -uint256 constant TOKEN_yvCurve_FRAX = 157; -uint256 constant TOKEN__50WETH_50AURA = 158; -uint256 constant TOKEN_B_80BAL_20WETH = 159; -uint256 constant TOKEN_USDC_DAI_USDT = 160; -uint256 constant TOKEN_B_rETH_STABLE = 161; -uint256 constant TOKEN_weETH_rETH = 162; -uint256 constant TOKEN_osETH_wETH_BPT = 163; -uint256 constant TOKEN_ezETH_WETH_BPT = 164; -uint256 constant TOKEN_sUSDe_USDC_BPT = 165; -uint256 constant TOKEN_pumpBTC_WBTC_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_scrvUSD = 203; -uint256 constant TOKEN_auraB_rETH_STABLE = 204; -uint256 constant TOKEN_auraosETH_wETH_BPT = 205; -uint256 constant TOKEN_auraweETH_rETH = 206; -uint256 constant TOKEN_auraBPT_rETH_ETH = 207; -uint256 constant TOKEN_auraBPT_WSTETH_ETH = 208; -uint256 constant TOKEN_aurawstETH_WETH_BPT = 209; -uint256 constant TOKEN_aurawstETH_rETH_sfrxETH = 210; -uint256 constant TOKEN_auracbETH_rETH_wstETH = 211; -uint256 constant TOKEN_aurarETH_wETH_BPT = 212; -uint256 constant TOKEN_auraB_rETH_STABLE_vault = 213; -uint256 constant TOKEN_auraosETH_wETH_BPT_vault = 214; -uint256 constant TOKEN_auraweETH_rETH_vault = 215; -uint256 constant TOKEN_auraBPT_rETH_ETH_vault = 216; -uint256 constant TOKEN_auraBPT_WSTETH_ETH_vault = 217; -uint256 constant TOKEN_aurawstETH_WETH_BPT_vault = 218; -uint256 constant TOKEN_aurawstETH_rETH_sfrxETH_vault = 219; -uint256 constant TOKEN_auracbETH_rETH_wstETH_vault = 220; -uint256 constant TOKEN_aurarETH_wETH_BPT_vault = 221; -uint256 constant TOKEN_zpufETH = 222; -uint256 constant TOKEN_stkUSDS = 223; -uint256 constant TOKEN_dDAI = 224; -uint256 constant TOKEN_dUSDC = 225; -uint256 constant TOKEN_dWBTC = 226; -uint256 constant TOKEN_dWETH = 227; -uint256 constant TOKEN_dwstETH = 228; -uint256 constant TOKEN_dFRAX = 229; -uint256 constant TOKEN_dUSDCV3 = 230; -uint256 constant TOKEN_dUSDC_eV3 = 231; -uint256 constant TOKEN_dWBTCV3 = 232; -uint256 constant TOKEN_dWETHV3 = 233; -uint256 constant TOKEN_dUSDTV3 = 234; -uint256 constant TOKEN_dGHOV3 = 235; -uint256 constant TOKEN_dDAIV3 = 236; -uint256 constant TOKEN_dcrvUSDV3 = 237; -uint256 constant TOKEN_dDOLAV3 = 238; -uint256 constant TOKEN_sdUSDCV3 = 239; -uint256 constant TOKEN_sdUSDC_eV3 = 240; -uint256 constant TOKEN_sdWBTCV3 = 241; -uint256 constant TOKEN_sdWETHV3 = 242; -uint256 constant TOKEN_sdWETHV3_OLD = 243; -uint256 constant TOKEN_sdUSDTV3 = 244; -uint256 constant TOKEN_sdGHOV3 = 245; -uint256 constant TOKEN_sdDAIV3 = 246; -uint256 constant TOKEN_sdcrvUSDV3 = 247; -uint256 constant TOKEN_sdDOLAV3 = 248; -uint256 constant TOKEN_GEAR = 249; -uint256 constant NUM_TOKENS = 250; +uint256 constant TOKEN_PT_sUSDe_27MAR2025 = 71; +uint256 constant TOKEN_sfrxETH = 72; +uint256 constant TOKEN__3Crv = 73; +uint256 constant TOKEN_crvFRAX = 74; +uint256 constant TOKEN_steCRV = 75; +uint256 constant TOKEN_crvPlain3andSUSD = 76; +uint256 constant TOKEN_crvCRVETH = 77; +uint256 constant TOKEN_crvCVXETH = 78; +uint256 constant TOKEN_crvUSDTWBTCWETH = 79; +uint256 constant TOKEN_LDOETH = 80; +uint256 constant TOKEN_crvUSDUSDC = 81; +uint256 constant TOKEN_crvUSDUSDT = 82; +uint256 constant TOKEN_crvUsUSDe = 83; +uint256 constant TOKEN_scrvUsUSDe = 84; +uint256 constant TOKEN_crvUSDFRAX = 85; +uint256 constant TOKEN_crvUSDETHCRV = 86; +uint256 constant TOKEN_rETH_f = 87; +uint256 constant TOKEN_DOLAFRAXBP3CRV_f = 88; +uint256 constant TOKEN_crvUSDDOLA_f = 89; +uint256 constant TOKEN_USDeUSDC = 90; +uint256 constant TOKEN_FRAXUSDe = 91; +uint256 constant TOKEN_USDecrvUSD = 92; +uint256 constant TOKEN_FRAXsDAI = 93; +uint256 constant TOKEN_DOLAsUSDe = 94; +uint256 constant TOKEN_USDeDAI = 95; +uint256 constant TOKEN_MtEthena = 96; +uint256 constant TOKEN_GHOUSDe = 97; +uint256 constant TOKEN_pufETHwstE = 98; +uint256 constant TOKEN_GHOcrvUSD = 99; +uint256 constant TOKEN_wstETHCRV = 100; +uint256 constant TOKEN__2CRV = 101; +uint256 constant TOKEN__3c_crvUSD = 102; +uint256 constant TOKEN_crvUSDC = 103; +uint256 constant TOKEN_crvUSDT = 104; +uint256 constant TOKEN_crvUSDC_e = 105; +uint256 constant TOKEN_USDEUSDC = 106; +uint256 constant TOKEN__3CRV = 107; +uint256 constant TOKEN_ezETHWETH = 108; +uint256 constant TOKEN_ezpzETH = 109; +uint256 constant TOKEN_LBTCWBTC = 110; +uint256 constant TOKEN_eBTCWBTC = 111; +uint256 constant TOKEN_pumpBTCWBTC = 112; +uint256 constant TOKEN_TriBTC = 113; +uint256 constant TOKEN_FRAX3CRV = 114; +uint256 constant TOKEN_LUSD3CRV = 115; +uint256 constant TOKEN_gusd3CRV = 116; +uint256 constant TOKEN_cvx3Crv = 117; +uint256 constant TOKEN_cvxcrvFRAX = 118; +uint256 constant TOKEN_cvxsteCRV = 119; +uint256 constant TOKEN_cvxFRAX3CRV = 120; +uint256 constant TOKEN_cvxLUSD3CRV = 121; +uint256 constant TOKEN_cvxcrvPlain3andSUSD = 122; +uint256 constant TOKEN_cvxgusd3CRV = 123; +uint256 constant TOKEN_cvxcrvCRVETH = 124; +uint256 constant TOKEN_cvxcrvCVXETH = 125; +uint256 constant TOKEN_cvxcrvUSDTWBTCWETH = 126; +uint256 constant TOKEN_cvxLDOETH = 127; +uint256 constant TOKEN_cvxcrvUSDUSDC = 128; +uint256 constant TOKEN_cvxcrvUSDUSDT = 129; +uint256 constant TOKEN_cvxcrvUSDFRAX = 130; +uint256 constant TOKEN_cvxcrvUSDETHCRV = 131; +uint256 constant TOKEN_cvxGHOcrvUSD = 132; +uint256 constant TOKEN_stkcvx3Crv = 133; +uint256 constant TOKEN_stkcvxcrvFRAX = 134; +uint256 constant TOKEN_stkcvxsteCRV = 135; +uint256 constant TOKEN_stkcvxFRAX3CRV = 136; +uint256 constant TOKEN_stkcvxLUSD3CRV = 137; +uint256 constant TOKEN_stkcvxcrvPlain3andSUSD = 138; +uint256 constant TOKEN_stkcvxgusd3CRV = 139; +uint256 constant TOKEN_stkcvxcrvCRVETH = 140; +uint256 constant TOKEN_stkcvxcrvCVXETH = 141; +uint256 constant TOKEN_stkcvxcrvUSDTWBTCWETH = 142; +uint256 constant TOKEN_stkcvxLDOETH = 143; +uint256 constant TOKEN_stkcvxcrvUSDUSDC = 144; +uint256 constant TOKEN_stkcvxcrvUSDUSDT = 145; +uint256 constant TOKEN_stkcvxcrvUSDFRAX = 146; +uint256 constant TOKEN_stkcvxcrvUSDETHCRV = 147; +uint256 constant TOKEN_stkcvxGHOcrvUSD = 148; +uint256 constant TOKEN_cvxcrvUSDT = 149; +uint256 constant TOKEN_yvDAI = 150; +uint256 constant TOKEN_yvUSDC = 151; +uint256 constant TOKEN_yvUSDC_e = 152; +uint256 constant TOKEN_yvWETH = 153; +uint256 constant TOKEN_yvWBTC = 154; +uint256 constant TOKEN_yvUSDT = 155; +uint256 constant TOKEN_yvOP = 156; +uint256 constant TOKEN_yvCurve_stETH = 157; +uint256 constant TOKEN_yvCurve_FRAX = 158; +uint256 constant TOKEN__50WETH_50AURA = 159; +uint256 constant TOKEN_B_80BAL_20WETH = 160; +uint256 constant TOKEN_USDC_DAI_USDT = 161; +uint256 constant TOKEN_B_rETH_STABLE = 162; +uint256 constant TOKEN_weETH_rETH = 163; +uint256 constant TOKEN_osETH_wETH_BPT = 164; +uint256 constant TOKEN_ezETH_WETH_BPT = 165; +uint256 constant TOKEN_sUSDe_USDC_BPT = 166; +uint256 constant TOKEN_pumpBTC_WBTC_BPT = 167; +uint256 constant TOKEN_trenSTETH = 168; +uint256 constant TOKEN_weETH_ezETH_rswETH = 169; +uint256 constant TOKEN_GHO_USDT_USDC = 170; +uint256 constant TOKEN_rsETH_WETH = 171; +uint256 constant TOKEN_rsETH_wETH_Arb = 172; +uint256 constant TOKEN_BPT_rETH_ETH = 173; +uint256 constant TOKEN_BPT_WSTETH_ETH = 174; +uint256 constant TOKEN_BPT_ROAD = 175; +uint256 constant TOKEN_ECLP_wstETH_WETH = 176; +uint256 constant TOKEN_wstETH_WETH_BPT = 177; +uint256 constant TOKEN_wstETH_rETH_sfrxETH = 178; +uint256 constant TOKEN_wstETH_rETH_cbETH = 179; +uint256 constant TOKEN_cbETH_rETH_wstETH = 180; +uint256 constant TOKEN_rETH_WETH_BPT_deprecated = 181; +uint256 constant TOKEN_rETH_wETH_BPT = 182; +uint256 constant TOKEN__33AURA_33ARB_33BAL = 183; +uint256 constant TOKEN_ezETH_wstETH = 184; +uint256 constant TOKEN_bpt_ethtri = 185; +uint256 constant TOKEN_aDAI = 186; +uint256 constant TOKEN_aUSDC = 187; +uint256 constant TOKEN_aUSDT = 188; +uint256 constant TOKEN_aWETH = 189; +uint256 constant TOKEN_waDAI = 190; +uint256 constant TOKEN_waUSDC = 191; +uint256 constant TOKEN_waUSDT = 192; +uint256 constant TOKEN_waWETH = 193; +uint256 constant TOKEN_cDAI = 194; +uint256 constant TOKEN_cUSDC = 195; +uint256 constant TOKEN_cUSDT = 196; +uint256 constant TOKEN_cETH = 197; +uint256 constant TOKEN_cLINK = 198; +uint256 constant TOKEN_fUSDC = 199; +uint256 constant TOKEN_sDAI = 200; +uint256 constant TOKEN_YieldETH = 201; +uint256 constant TOKEN_sUSDe = 202; +uint256 constant TOKEN_sUSDS = 203; +uint256 constant TOKEN_scrvUSD = 204; +uint256 constant TOKEN_auraB_rETH_STABLE = 205; +uint256 constant TOKEN_auraosETH_wETH_BPT = 206; +uint256 constant TOKEN_auraweETH_rETH = 207; +uint256 constant TOKEN_auraBPT_rETH_ETH = 208; +uint256 constant TOKEN_auraBPT_WSTETH_ETH = 209; +uint256 constant TOKEN_aurawstETH_WETH_BPT = 210; +uint256 constant TOKEN_aurawstETH_rETH_sfrxETH = 211; +uint256 constant TOKEN_auracbETH_rETH_wstETH = 212; +uint256 constant TOKEN_aurarETH_wETH_BPT = 213; +uint256 constant TOKEN_auraB_rETH_STABLE_vault = 214; +uint256 constant TOKEN_auraosETH_wETH_BPT_vault = 215; +uint256 constant TOKEN_auraweETH_rETH_vault = 216; +uint256 constant TOKEN_auraBPT_rETH_ETH_vault = 217; +uint256 constant TOKEN_auraBPT_WSTETH_ETH_vault = 218; +uint256 constant TOKEN_aurawstETH_WETH_BPT_vault = 219; +uint256 constant TOKEN_aurawstETH_rETH_sfrxETH_vault = 220; +uint256 constant TOKEN_auracbETH_rETH_wstETH_vault = 221; +uint256 constant TOKEN_aurarETH_wETH_BPT_vault = 222; +uint256 constant TOKEN_zpufETH = 223; +uint256 constant TOKEN_stkUSDS = 224; +uint256 constant TOKEN_dDAI = 225; +uint256 constant TOKEN_dUSDC = 226; +uint256 constant TOKEN_dWBTC = 227; +uint256 constant TOKEN_dWETH = 228; +uint256 constant TOKEN_dwstETH = 229; +uint256 constant TOKEN_dFRAX = 230; +uint256 constant TOKEN_dUSDCV3 = 231; +uint256 constant TOKEN_dUSDC_eV3 = 232; +uint256 constant TOKEN_dWBTCV3 = 233; +uint256 constant TOKEN_dWETHV3 = 234; +uint256 constant TOKEN_dUSDTV3 = 235; +uint256 constant TOKEN_dGHOV3 = 236; +uint256 constant TOKEN_dDAIV3 = 237; +uint256 constant TOKEN_dcrvUSDV3 = 238; +uint256 constant TOKEN_dDOLAV3 = 239; +uint256 constant TOKEN_sdUSDCV3 = 240; +uint256 constant TOKEN_sdUSDC_eV3 = 241; +uint256 constant TOKEN_sdWBTCV3 = 242; +uint256 constant TOKEN_sdWETHV3 = 243; +uint256 constant TOKEN_sdWETHV3_OLD = 244; +uint256 constant TOKEN_sdUSDTV3 = 245; +uint256 constant TOKEN_sdGHOV3 = 246; +uint256 constant TOKEN_sdDAIV3 = 247; +uint256 constant TOKEN_sdcrvUSDV3 = 248; +uint256 constant TOKEN_sdDOLAV3 = 249; +uint256 constant TOKEN_GEAR = 250; +uint256 constant NUM_TOKENS = 251; enum TokenType { NO_TOKEN, diff --git a/contracts/TokensData.sol b/contracts/TokensData.sol index 5d8c57ec..7c307c01 100644 --- a/contracts/TokensData.sol +++ b/contracts/TokensData.sol @@ -551,6 +551,14 @@ contract TokensDataLive { tokenType: TokenType.NORMAL_TOKEN }) ); + tokenDataByNetwork[1].push( + TokenData({ + id: TOKEN_PT_sUSDe_27MAR2025, + addr: 0xE00bd3Df25fb187d6ABBB620b3dfd19839947b81, + symbol: "PT_sUSDe_27MAR2025", + tokenType: TokenType.NORMAL_TOKEN + }) + ); tokenDataByNetwork[1].push( TokenData({ id: TOKEN_sfrxETH, diff --git a/src/oracles/priceFeeds.ts b/src/oracles/priceFeeds.ts index 7c16573a..87412c21 100644 --- a/src/oracles/priceFeeds.ts +++ b/src/oracles/priceFeeds.ts @@ -4006,4 +4006,23 @@ export const priceFeedsByToken: Record< }, }, }, + PT_sUSDe_27MAR2025: { + Mainnet: { + Main: { + type: PriceFeedType.PENDLE_PT_TWAP_ORACLE, + underlying: "USDe", + market: "0xcDd26Eb5EB2Ce0f203a84553853667aE69Ca29Ce", + twapWindow: HOUR_1 / 2, + priceToSy: false, + trusted: false, + }, + Reserve: { + type: PriceFeedType.PENDLE_PT_TWAP_ORACLE, + underlying: "USDe", + market: "0xcDd26Eb5EB2Ce0f203a84553853667aE69Ca29Ce", + twapWindow: HOUR_1 / 2, + priceToSy: false, + }, + }, + }, }; diff --git a/src/tokens/decimals.ts b/src/tokens/decimals.ts index d6ac8c2b..657b8a54 100644 --- a/src/tokens/decimals.ts +++ b/src/tokens/decimals.ts @@ -261,4 +261,5 @@ export const decimals: Record = { PT_cornLBTC_26DEC2024: 8, PT_LBTC_27MAR2025: 8, PT_corn_eBTC_27MAR2025: 8, + PT_sUSDe_27MAR2025: 18, }; diff --git a/src/tokens/normal.ts b/src/tokens/normal.ts index 01e61502..c9b88774 100644 --- a/src/tokens/normal.ts +++ b/src/tokens/normal.ts @@ -75,6 +75,7 @@ export type NormalToken = | "PT_corn_pumpBTC_26DEC2024" | "PT_cornLBTC_26DEC2024" | "PT_corn_eBTC_27MAR2025" + | "PT_sUSDe_27MAR2025" // REDSTONE | "SHIB" @@ -490,6 +491,11 @@ export const normalTokens: Record = { symbol: "PT_corn_eBTC_27MAR2025", type: { AllNetworks: TokenType.NORMAL_TOKEN }, }, + PT_sUSDe_27MAR2025: { + name: "Pendle PT Ethena sUSDE 27 Mar 2025 expiry", + symbol: "PT_sUSDe_27MAR2025", + type: { AllNetworks: TokenType.NORMAL_TOKEN }, + }, }; export const isNormalToken = (t: unknown): t is NormalToken => diff --git a/src/tokens/token.ts b/src/tokens/token.ts index bd683b81..d6090c99 100644 --- a/src/tokens/token.ts +++ b/src/tokens/token.ts @@ -384,6 +384,7 @@ export const tokenDataByNetwork: Record< PT_corn_pumpBTC_26DEC2024: "0xa76f0C6e5f286bFF151b891d2A0245077F1Ad74c", PT_cornLBTC_26DEC2024: "0x332A8ee60EdFf0a11CF3994b1b846BBC27d3DcD6", PT_corn_eBTC_27MAR2025: "0x44A7876cA99460ef3218bf08b5f52E2dbE199566", + PT_sUSDe_27MAR2025: "0xE00bd3Df25fb187d6ABBB620b3dfd19839947b81", // GEARBOX dDAI: "0x6CFaF95457d7688022FC53e7AbE052ef8DFBbdBA", @@ -685,6 +686,7 @@ export const tokenDataByNetwork: Record< PT_corn_pumpBTC_26DEC2024: NOT_DEPLOYED, PT_cornLBTC_26DEC2024: NOT_DEPLOYED, PT_corn_eBTC_27MAR2025: NOT_DEPLOYED, + PT_sUSDe_27MAR2025: NOT_DEPLOYED, // GEARBOX dDAI: NOT_DEPLOYED, @@ -986,6 +988,7 @@ export const tokenDataByNetwork: Record< PT_corn_pumpBTC_26DEC2024: NOT_DEPLOYED, PT_cornLBTC_26DEC2024: NOT_DEPLOYED, PT_corn_eBTC_27MAR2025: NOT_DEPLOYED, + PT_sUSDe_27MAR2025: NOT_DEPLOYED, // GEARBOX dDAI: NOT_DEPLOYED, @@ -1289,6 +1292,7 @@ export const tokenDataByNetwork: Record< PT_corn_pumpBTC_26DEC2024: NOT_DEPLOYED, PT_cornLBTC_26DEC2024: NOT_DEPLOYED, PT_corn_eBTC_27MAR2025: NOT_DEPLOYED, + PT_sUSDe_27MAR2025: NOT_DEPLOYED, // GEARBOX dDAI: NOT_DEPLOYED, @@ -1654,6 +1658,15 @@ export const tickerInfoTokensByNetwork: Record< reserve: true, }, ], + PT_sUSDe_27MAR2025: [ + { + symbol: "USDe", + dataId: "USDe", + address: tokenDataByNetwork.Mainnet.USDe, + priceFeed: "0x8A58F957B99E1ED6B3DF20F267a6d5a6dd8e3513", + reserve: true, + }, + ], PT_eETH_26DEC2024: [ { symbol: "ETH",