@pendle/core-v2 4.4.0 → 4.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/artifacts/contracts/core/Market/v1/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v1/PendleMarket.sol/PendleMarket.json +9 -149
- package/build/artifacts/contracts/core/Market/v2/PendleMarketV2.sol/PendleMarketV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v2/PendleMarketV2.sol/PendleMarketV2.json +9 -149
- package/build/artifacts/contracts/core/Market/v3/PendleMarketV3.sol/PendleMarketV3.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v3/PendleMarketV3.sol/PendleMarketV3.json +9 -149
- package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseUpg.sol/SYBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewardsUpg.sol/SYBaseWithRewardsUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/PendleAaveV3SY.sol/PendleAaveV3SY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ankr/PendleAnkrBNBSY.sol/PendleAnkrBNBSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraEthxBbAWethSY.sol/AuraEthxBbAWethSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraSwEthBbAWethSYV2.sol/AuraSwEthBbAWethSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraWethVethSYUpg.sol/AuraWethVethSYUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraBbAWethSwethSY.sol/PendleAuraBbAWethSwethSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWstethAnkreth.sol/PendleAuraWstethAnkreth.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV2.sol/PendleAuraBalancerStableLPSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV3Upg.sol/PendleAuraBalancerStableLPSYV3Upg.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BedRock/PendleUniETHSY.sol/PendleUniETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleSUSDEMantleSY.sol/PendleSUSDEMantleSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleSUSDEMantleSY.sol/PendleSUSDEMantleSY.json +1099 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleSUSDESY.sol/PendleSUSDESY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleUSDEMantleSY.sol/PendleUSDEMantleSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleUSDEMantleSY.sol/PendleUSDEMantleSY.json +1055 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleUSDESY.sol/PendleUSDESY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/EtherFi/PendleWEEthSY.sol/PendleWEEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Flux/PendleFluxLendingSY.sol/PendleFluxLendingSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGMV2TokenSY.sol/PendleGMV2TokenSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/HMX/PendleHlpSY.sol/PendleHlpSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/KelpDAO/PendleRsETHSY.sol/PendleRsETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/KelpDAO/PendleRsETHSY.sol/PendleRsETHSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/PendleKyberElasticSYUpg.sol/PendleKyberElasticSYUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/MUX/PendleMlpSY.sol/PendleMlpSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/MantleStakedEth/PendleMantleStakedEthSY.sol/PendleMantleStakedEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/MantleStakedEth/PendleOracleForSyProxy.sol/PendleOracleForSyProxy.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleArbitrumStakedEthSY.sol/PendleArbitrumStakedEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleBridgedLSDSY.sol/PendleBridgedLSDSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC20SY.sol/PendleERC20SY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC20SYUpg.sol/PendleERC20SYUpg.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC20SYUpg.sol/PendleERC20SYUpg.json +976 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626SY.sol/PendleERC4626SY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626UpgSY.sol/PendleERC4626SYUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleEUSDSY.sol/PendleEUSDSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleL2LRTSY.sol/PendleL2LRTSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWbEthSY.sol/PendleWbEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PirexETH/PendleApxETHSY.sol/PendleApxETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Puffer/PendlePufStETHSY.sol/PendlePufStETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Puffer/PendlePufWETHSY.sol/PendlePufWETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Renzo/PendleEzETHL2SY.sol/PendleEzETHL2SY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Renzo/PendleEzETHSY.sol/PendleEzETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Silo/PendleSiloWithIncentiveSY.sol/PendleSiloWithIncentiveSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Stader/PendleETHXSY.sol/PendleETHXSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleRswETHSY.sol/PendleRswETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwETH.sol/SwETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/PendleThenaSY.sol/PendleThenaSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Zircuit/PendleZtakeEzETHSY.sol/PendleZtakeEzETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Zircuit/PendleZtakeRsETHSY.sol/PendleZtakeRsETHSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Zircuit/PendleZtakeRsETHSY.sol/PendleZtakeRsETHSY.json +1074 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Zircuit/PendleZtakeWETHSY.sol/PendleZtakeWETHSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Zircuit/PendleZtakeWETHSY.sol/PendleZtakeWETHSY.json +1025 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Zircuit/PendleZtakeWeETHSY.sol/PendleZtakeWeETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -142
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -142
- package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.json +2 -142
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.json +2 -2
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.json +2 -142
- package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20PermitUpg.sol/PendleERC20PermitUpg.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/KelpDAO/IKelpDepositPool.sol/IKelpDepositPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/KelpDAO/IKelpDepositPool.sol/IKelpDepositPool.json +18 -0
- package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapL1.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapL1.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapL2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapL2.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelper.sol/IExecutorHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelper.sol/IExecutorHelper.json +336 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperL2.sol/IExecutorHelperL2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperL2.sol/IExecutorHelperL2.json +54 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l1-contracts/InputScalingHelper.sol/InputScalingHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l1-contracts/InputScalingHelper.sol/InputScalingHelper.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l1-contracts/ScalingDataLib.sol/ScalingDataLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l1-contracts/ScalingDataLib.sol/ScalingDataLib.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataWriter.sol/CalldataWriter.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataWriter.sol/CalldataWriter.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/DexScaler.sol/DexScaler.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/DexScaler.sol/DexScaler.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/InputScalingHelperL2.sol/InputScalingHelperL2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/InputScalingHelperL2.sol/InputScalingHelperL2.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/ScalingDataL2Lib.sol/ScalingDataL2Lib.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/ScalingDataL2Lib.sol/ScalingDataL2Lib.json +2 -2
- package/contracts/core/Market/v1/PendleMarket.sol +3 -3
- package/contracts/core/Market/v2/PendleMarketV2.sol +3 -3
- package/contracts/core/Market/v3/PendleMarketV3.sol +3 -3
- package/contracts/core/StandardizedYield/implementations/Ethena/PendleSUSDEMantleSY.sol +86 -0
- package/contracts/core/StandardizedYield/implementations/Ethena/PendleUSDEMantleSY.sol +61 -0
- package/contracts/core/StandardizedYield/implementations/PendleERC20SYUpg.sol +66 -0
- package/contracts/core/StandardizedYield/implementations/Zircuit/PendleZtakeRsETHSY.sol +117 -0
- package/contracts/core/StandardizedYield/implementations/Zircuit/PendleZtakeWETHSY.sol +89 -0
- package/contracts/core/YieldContracts/PendlePrincipalToken.sol +3 -3
- package/contracts/core/YieldContracts/PendleYieldToken.sol +3 -3
- package/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol +3 -3
- package/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol +3 -3
- package/contracts/interfaces/KelpDAO/IKelpDepositPool.sol +2 -0
- package/contracts/limit/LimitRouterBase.sol +2 -2
- package/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelper.sol +64 -0
- package/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperL2.sol +15 -0
- package/contracts/router/swap-aggregator/kyberswap/l1-contracts/InputScalingHelper.sol +28 -0
- package/contracts/router/swap-aggregator/kyberswap/l1-contracts/ScalingDataLib.sol +83 -2
- package/deployments/1-core.json +1 -1
- package/deployments/1-markets/AAVE-USDT-SEP2024.json +3 -3
- package/deployments/1-markets/RSWETH-JUNE2024-NEW.json +11 -0
- package/deployments/1-markets/UNIETH-JUNE2024-NEW.json +11 -0
- package/deployments/1-markets/USDE-JUL2024.json +13 -0
- package/deployments/1-markets/ZIRCUIT-EETH-JUN2024.json +11 -0
- package/deployments/1-markets/ZIRCUIT-RSETH-JUN2024.json +11 -0
- package/deployments/10-core.json +1 -1
- package/deployments/42161-core.json +1 -1
- package/deployments/42161-markets/EZETH-JUNE2024-NEW.json +11 -0
- package/deployments/5000-core.json +3 -2
- package/deployments/5000-markets/USD-MANTLE-JUL2024.json +11 -0
- package/deployments/5000-offchain-helper.json +5 -0
- package/deployments/56-core.json +1 -1
- package/deployments/merkle-distribution/2024-03-28.json +12725 -0
- package/package.json +1 -1
- package/typechain-types/IExecutorHelper.ts +546 -0
- package/typechain-types/IExecutorHelperL2.ts +65 -0
- package/typechain-types/IKelpDepositPool.ts +37 -0
- package/typechain-types/PendleERC20SYUpg.ts +1270 -0
- package/typechain-types/PendleMarket.ts +0 -169
- package/typechain-types/PendleMarketV2.ts +0 -169
- package/typechain-types/PendleMarketV3.ts +0 -169
- package/typechain-types/PendlePrincipalToken.ts +0 -169
- package/typechain-types/PendlePrincipalTokenV2.ts +0 -169
- package/typechain-types/PendleSUSDEMantleSY.ts +1438 -0
- package/typechain-types/PendleUSDEMantleSY.ts +1363 -0
- package/typechain-types/PendleYieldToken.ts +0 -169
- package/typechain-types/PendleYieldTokenV2.ts +0 -169
- package/typechain-types/PendleZtakeRsETHSY.ts +1377 -0
- package/typechain-types/PendleZtakeWETHSY.ts +1324 -0
- package/typechain-types/factories/IExecutorHelperL2__factory.ts +54 -0
- package/typechain-types/factories/IExecutorHelper__factory.ts +336 -0
- package/typechain-types/factories/IKelpDepositPool__factory.ts +18 -0
- package/typechain-types/factories/PendleERC20SYUpg__factory.ts +991 -0
- package/typechain-types/factories/PendleLimitRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketV2__factory.ts +1 -141
- package/typechain-types/factories/PendleMarketV3__factory.ts +1 -141
- package/typechain-types/factories/PendleMarket__factory.ts +1 -141
- package/typechain-types/factories/PendlePrincipalTokenV2__factory.ts +1 -141
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -141
- package/typechain-types/factories/PendleRsETHSY__factory.ts +1 -1
- package/typechain-types/factories/PendleSUSDEMantleSY__factory.ts +1157 -0
- package/typechain-types/factories/PendleSwapL1__factory.ts +1 -1
- package/typechain-types/factories/PendleSwapL2__factory.ts +1 -1
- package/typechain-types/factories/PendleUSDEMantleSY__factory.ts +1110 -0
- package/typechain-types/factories/PendleYieldContractFactoryV2__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldTokenV2__factory.ts +1 -141
- package/typechain-types/factories/PendleYieldToken__factory.ts +1 -141
- package/typechain-types/factories/PendleZtakeRsETHSY__factory.ts +1147 -0
- package/typechain-types/factories/PendleZtakeWETHSY__factory.ts +1086 -0
- package/typechain-types/hardhat.d.ts +45 -0
- package/typechain-types/index.ts +10 -0
|
@@ -0,0 +1,1157 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
5
|
+
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
6
|
+
import type {
|
|
7
|
+
PendleSUSDEMantleSY,
|
|
8
|
+
PendleSUSDEMantleSYInterface,
|
|
9
|
+
} from "../PendleSUSDEMantleSY";
|
|
10
|
+
|
|
11
|
+
const _abi = [
|
|
12
|
+
{
|
|
13
|
+
inputs: [
|
|
14
|
+
{
|
|
15
|
+
internalType: "address",
|
|
16
|
+
name: "_susde",
|
|
17
|
+
type: "address",
|
|
18
|
+
},
|
|
19
|
+
],
|
|
20
|
+
stateMutability: "nonpayable",
|
|
21
|
+
type: "constructor",
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
inputs: [
|
|
25
|
+
{
|
|
26
|
+
internalType: "uint256",
|
|
27
|
+
name: "actualSharesOut",
|
|
28
|
+
type: "uint256",
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
internalType: "uint256",
|
|
32
|
+
name: "requiredSharesOut",
|
|
33
|
+
type: "uint256",
|
|
34
|
+
},
|
|
35
|
+
],
|
|
36
|
+
name: "SYInsufficientSharesOut",
|
|
37
|
+
type: "error",
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
inputs: [
|
|
41
|
+
{
|
|
42
|
+
internalType: "uint256",
|
|
43
|
+
name: "actualTokenOut",
|
|
44
|
+
type: "uint256",
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
internalType: "uint256",
|
|
48
|
+
name: "requiredTokenOut",
|
|
49
|
+
type: "uint256",
|
|
50
|
+
},
|
|
51
|
+
],
|
|
52
|
+
name: "SYInsufficientTokenOut",
|
|
53
|
+
type: "error",
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
inputs: [
|
|
57
|
+
{
|
|
58
|
+
internalType: "address",
|
|
59
|
+
name: "token",
|
|
60
|
+
type: "address",
|
|
61
|
+
},
|
|
62
|
+
],
|
|
63
|
+
name: "SYInvalidTokenIn",
|
|
64
|
+
type: "error",
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
inputs: [
|
|
68
|
+
{
|
|
69
|
+
internalType: "address",
|
|
70
|
+
name: "token",
|
|
71
|
+
type: "address",
|
|
72
|
+
},
|
|
73
|
+
],
|
|
74
|
+
name: "SYInvalidTokenOut",
|
|
75
|
+
type: "error",
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
inputs: [],
|
|
79
|
+
name: "SYZeroDeposit",
|
|
80
|
+
type: "error",
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
inputs: [],
|
|
84
|
+
name: "SYZeroRedeem",
|
|
85
|
+
type: "error",
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
inputs: [
|
|
89
|
+
{
|
|
90
|
+
internalType: "uint256",
|
|
91
|
+
name: "totalSupply",
|
|
92
|
+
type: "uint256",
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
internalType: "uint256",
|
|
96
|
+
name: "supplyCap",
|
|
97
|
+
type: "uint256",
|
|
98
|
+
},
|
|
99
|
+
],
|
|
100
|
+
name: "SupplyCapExceeded",
|
|
101
|
+
type: "error",
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
anonymous: false,
|
|
105
|
+
inputs: [
|
|
106
|
+
{
|
|
107
|
+
indexed: true,
|
|
108
|
+
internalType: "address",
|
|
109
|
+
name: "owner",
|
|
110
|
+
type: "address",
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
indexed: true,
|
|
114
|
+
internalType: "address",
|
|
115
|
+
name: "spender",
|
|
116
|
+
type: "address",
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
indexed: false,
|
|
120
|
+
internalType: "uint256",
|
|
121
|
+
name: "value",
|
|
122
|
+
type: "uint256",
|
|
123
|
+
},
|
|
124
|
+
],
|
|
125
|
+
name: "Approval",
|
|
126
|
+
type: "event",
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
anonymous: false,
|
|
130
|
+
inputs: [
|
|
131
|
+
{
|
|
132
|
+
indexed: true,
|
|
133
|
+
internalType: "address",
|
|
134
|
+
name: "user",
|
|
135
|
+
type: "address",
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
indexed: false,
|
|
139
|
+
internalType: "address[]",
|
|
140
|
+
name: "rewardTokens",
|
|
141
|
+
type: "address[]",
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
indexed: false,
|
|
145
|
+
internalType: "uint256[]",
|
|
146
|
+
name: "rewardAmounts",
|
|
147
|
+
type: "uint256[]",
|
|
148
|
+
},
|
|
149
|
+
],
|
|
150
|
+
name: "ClaimRewards",
|
|
151
|
+
type: "event",
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
anonymous: false,
|
|
155
|
+
inputs: [
|
|
156
|
+
{
|
|
157
|
+
indexed: true,
|
|
158
|
+
internalType: "address",
|
|
159
|
+
name: "caller",
|
|
160
|
+
type: "address",
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
indexed: true,
|
|
164
|
+
internalType: "address",
|
|
165
|
+
name: "receiver",
|
|
166
|
+
type: "address",
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
indexed: true,
|
|
170
|
+
internalType: "address",
|
|
171
|
+
name: "tokenIn",
|
|
172
|
+
type: "address",
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
indexed: false,
|
|
176
|
+
internalType: "uint256",
|
|
177
|
+
name: "amountDeposited",
|
|
178
|
+
type: "uint256",
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
indexed: false,
|
|
182
|
+
internalType: "uint256",
|
|
183
|
+
name: "amountSyOut",
|
|
184
|
+
type: "uint256",
|
|
185
|
+
},
|
|
186
|
+
],
|
|
187
|
+
name: "Deposit",
|
|
188
|
+
type: "event",
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
anonymous: false,
|
|
192
|
+
inputs: [],
|
|
193
|
+
name: "EIP712DomainChanged",
|
|
194
|
+
type: "event",
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
anonymous: false,
|
|
198
|
+
inputs: [
|
|
199
|
+
{
|
|
200
|
+
indexed: false,
|
|
201
|
+
internalType: "uint8",
|
|
202
|
+
name: "version",
|
|
203
|
+
type: "uint8",
|
|
204
|
+
},
|
|
205
|
+
],
|
|
206
|
+
name: "Initialized",
|
|
207
|
+
type: "event",
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
anonymous: false,
|
|
211
|
+
inputs: [
|
|
212
|
+
{
|
|
213
|
+
indexed: true,
|
|
214
|
+
internalType: "address",
|
|
215
|
+
name: "previousOwner",
|
|
216
|
+
type: "address",
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
indexed: true,
|
|
220
|
+
internalType: "address",
|
|
221
|
+
name: "newOwner",
|
|
222
|
+
type: "address",
|
|
223
|
+
},
|
|
224
|
+
],
|
|
225
|
+
name: "OwnershipTransferred",
|
|
226
|
+
type: "event",
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
anonymous: false,
|
|
230
|
+
inputs: [
|
|
231
|
+
{
|
|
232
|
+
indexed: false,
|
|
233
|
+
internalType: "address",
|
|
234
|
+
name: "account",
|
|
235
|
+
type: "address",
|
|
236
|
+
},
|
|
237
|
+
],
|
|
238
|
+
name: "Paused",
|
|
239
|
+
type: "event",
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
anonymous: false,
|
|
243
|
+
inputs: [
|
|
244
|
+
{
|
|
245
|
+
indexed: true,
|
|
246
|
+
internalType: "address",
|
|
247
|
+
name: "caller",
|
|
248
|
+
type: "address",
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
indexed: true,
|
|
252
|
+
internalType: "address",
|
|
253
|
+
name: "receiver",
|
|
254
|
+
type: "address",
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
indexed: true,
|
|
258
|
+
internalType: "address",
|
|
259
|
+
name: "tokenOut",
|
|
260
|
+
type: "address",
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
indexed: false,
|
|
264
|
+
internalType: "uint256",
|
|
265
|
+
name: "amountSyToRedeem",
|
|
266
|
+
type: "uint256",
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
indexed: false,
|
|
270
|
+
internalType: "uint256",
|
|
271
|
+
name: "amountTokenOut",
|
|
272
|
+
type: "uint256",
|
|
273
|
+
},
|
|
274
|
+
],
|
|
275
|
+
name: "Redeem",
|
|
276
|
+
type: "event",
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
anonymous: false,
|
|
280
|
+
inputs: [
|
|
281
|
+
{
|
|
282
|
+
indexed: false,
|
|
283
|
+
internalType: "address",
|
|
284
|
+
name: "oracle",
|
|
285
|
+
type: "address",
|
|
286
|
+
},
|
|
287
|
+
],
|
|
288
|
+
name: "SetNewExchangeRateOracle",
|
|
289
|
+
type: "event",
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
anonymous: false,
|
|
293
|
+
inputs: [
|
|
294
|
+
{
|
|
295
|
+
indexed: false,
|
|
296
|
+
internalType: "uint256",
|
|
297
|
+
name: "newSupplyCap",
|
|
298
|
+
type: "uint256",
|
|
299
|
+
},
|
|
300
|
+
],
|
|
301
|
+
name: "SupplyCapUpdated",
|
|
302
|
+
type: "event",
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
anonymous: false,
|
|
306
|
+
inputs: [
|
|
307
|
+
{
|
|
308
|
+
indexed: true,
|
|
309
|
+
internalType: "address",
|
|
310
|
+
name: "from",
|
|
311
|
+
type: "address",
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
indexed: true,
|
|
315
|
+
internalType: "address",
|
|
316
|
+
name: "to",
|
|
317
|
+
type: "address",
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
indexed: false,
|
|
321
|
+
internalType: "uint256",
|
|
322
|
+
name: "value",
|
|
323
|
+
type: "uint256",
|
|
324
|
+
},
|
|
325
|
+
],
|
|
326
|
+
name: "Transfer",
|
|
327
|
+
type: "event",
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
anonymous: false,
|
|
331
|
+
inputs: [
|
|
332
|
+
{
|
|
333
|
+
indexed: false,
|
|
334
|
+
internalType: "address",
|
|
335
|
+
name: "account",
|
|
336
|
+
type: "address",
|
|
337
|
+
},
|
|
338
|
+
],
|
|
339
|
+
name: "Unpaused",
|
|
340
|
+
type: "event",
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
inputs: [],
|
|
344
|
+
name: "DOMAIN_SEPARATOR",
|
|
345
|
+
outputs: [
|
|
346
|
+
{
|
|
347
|
+
internalType: "bytes32",
|
|
348
|
+
name: "",
|
|
349
|
+
type: "bytes32",
|
|
350
|
+
},
|
|
351
|
+
],
|
|
352
|
+
stateMutability: "view",
|
|
353
|
+
type: "function",
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
inputs: [
|
|
357
|
+
{
|
|
358
|
+
internalType: "address",
|
|
359
|
+
name: "",
|
|
360
|
+
type: "address",
|
|
361
|
+
},
|
|
362
|
+
],
|
|
363
|
+
name: "accruedRewards",
|
|
364
|
+
outputs: [
|
|
365
|
+
{
|
|
366
|
+
internalType: "uint256[]",
|
|
367
|
+
name: "rewardAmounts",
|
|
368
|
+
type: "uint256[]",
|
|
369
|
+
},
|
|
370
|
+
],
|
|
371
|
+
stateMutability: "view",
|
|
372
|
+
type: "function",
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
inputs: [
|
|
376
|
+
{
|
|
377
|
+
internalType: "address",
|
|
378
|
+
name: "owner",
|
|
379
|
+
type: "address",
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
internalType: "address",
|
|
383
|
+
name: "spender",
|
|
384
|
+
type: "address",
|
|
385
|
+
},
|
|
386
|
+
],
|
|
387
|
+
name: "allowance",
|
|
388
|
+
outputs: [
|
|
389
|
+
{
|
|
390
|
+
internalType: "uint256",
|
|
391
|
+
name: "",
|
|
392
|
+
type: "uint256",
|
|
393
|
+
},
|
|
394
|
+
],
|
|
395
|
+
stateMutability: "view",
|
|
396
|
+
type: "function",
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
inputs: [
|
|
400
|
+
{
|
|
401
|
+
internalType: "address",
|
|
402
|
+
name: "spender",
|
|
403
|
+
type: "address",
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
internalType: "uint256",
|
|
407
|
+
name: "amount",
|
|
408
|
+
type: "uint256",
|
|
409
|
+
},
|
|
410
|
+
],
|
|
411
|
+
name: "approve",
|
|
412
|
+
outputs: [
|
|
413
|
+
{
|
|
414
|
+
internalType: "bool",
|
|
415
|
+
name: "",
|
|
416
|
+
type: "bool",
|
|
417
|
+
},
|
|
418
|
+
],
|
|
419
|
+
stateMutability: "nonpayable",
|
|
420
|
+
type: "function",
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
inputs: [],
|
|
424
|
+
name: "assetInfo",
|
|
425
|
+
outputs: [
|
|
426
|
+
{
|
|
427
|
+
internalType: "enum IStandardizedYield.AssetType",
|
|
428
|
+
name: "assetType",
|
|
429
|
+
type: "uint8",
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
internalType: "address",
|
|
433
|
+
name: "assetAddress",
|
|
434
|
+
type: "address",
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
internalType: "uint8",
|
|
438
|
+
name: "assetDecimals",
|
|
439
|
+
type: "uint8",
|
|
440
|
+
},
|
|
441
|
+
],
|
|
442
|
+
stateMutability: "view",
|
|
443
|
+
type: "function",
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
inputs: [
|
|
447
|
+
{
|
|
448
|
+
internalType: "address",
|
|
449
|
+
name: "account",
|
|
450
|
+
type: "address",
|
|
451
|
+
},
|
|
452
|
+
],
|
|
453
|
+
name: "balanceOf",
|
|
454
|
+
outputs: [
|
|
455
|
+
{
|
|
456
|
+
internalType: "uint256",
|
|
457
|
+
name: "",
|
|
458
|
+
type: "uint256",
|
|
459
|
+
},
|
|
460
|
+
],
|
|
461
|
+
stateMutability: "view",
|
|
462
|
+
type: "function",
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
inputs: [],
|
|
466
|
+
name: "claimOwnership",
|
|
467
|
+
outputs: [],
|
|
468
|
+
stateMutability: "nonpayable",
|
|
469
|
+
type: "function",
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
inputs: [
|
|
473
|
+
{
|
|
474
|
+
internalType: "address",
|
|
475
|
+
name: "",
|
|
476
|
+
type: "address",
|
|
477
|
+
},
|
|
478
|
+
],
|
|
479
|
+
name: "claimRewards",
|
|
480
|
+
outputs: [
|
|
481
|
+
{
|
|
482
|
+
internalType: "uint256[]",
|
|
483
|
+
name: "rewardAmounts",
|
|
484
|
+
type: "uint256[]",
|
|
485
|
+
},
|
|
486
|
+
],
|
|
487
|
+
stateMutability: "nonpayable",
|
|
488
|
+
type: "function",
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
inputs: [],
|
|
492
|
+
name: "decimals",
|
|
493
|
+
outputs: [
|
|
494
|
+
{
|
|
495
|
+
internalType: "uint8",
|
|
496
|
+
name: "",
|
|
497
|
+
type: "uint8",
|
|
498
|
+
},
|
|
499
|
+
],
|
|
500
|
+
stateMutability: "view",
|
|
501
|
+
type: "function",
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
inputs: [
|
|
505
|
+
{
|
|
506
|
+
internalType: "address",
|
|
507
|
+
name: "receiver",
|
|
508
|
+
type: "address",
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
internalType: "address",
|
|
512
|
+
name: "tokenIn",
|
|
513
|
+
type: "address",
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
internalType: "uint256",
|
|
517
|
+
name: "amountTokenToDeposit",
|
|
518
|
+
type: "uint256",
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
internalType: "uint256",
|
|
522
|
+
name: "minSharesOut",
|
|
523
|
+
type: "uint256",
|
|
524
|
+
},
|
|
525
|
+
],
|
|
526
|
+
name: "deposit",
|
|
527
|
+
outputs: [
|
|
528
|
+
{
|
|
529
|
+
internalType: "uint256",
|
|
530
|
+
name: "amountSharesOut",
|
|
531
|
+
type: "uint256",
|
|
532
|
+
},
|
|
533
|
+
],
|
|
534
|
+
stateMutability: "payable",
|
|
535
|
+
type: "function",
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
inputs: [],
|
|
539
|
+
name: "eip712Domain",
|
|
540
|
+
outputs: [
|
|
541
|
+
{
|
|
542
|
+
internalType: "bytes1",
|
|
543
|
+
name: "fields",
|
|
544
|
+
type: "bytes1",
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
internalType: "string",
|
|
548
|
+
name: "name",
|
|
549
|
+
type: "string",
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
internalType: "string",
|
|
553
|
+
name: "version",
|
|
554
|
+
type: "string",
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
internalType: "uint256",
|
|
558
|
+
name: "chainId",
|
|
559
|
+
type: "uint256",
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
internalType: "address",
|
|
563
|
+
name: "verifyingContract",
|
|
564
|
+
type: "address",
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
internalType: "bytes32",
|
|
568
|
+
name: "salt",
|
|
569
|
+
type: "bytes32",
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
internalType: "uint256[]",
|
|
573
|
+
name: "extensions",
|
|
574
|
+
type: "uint256[]",
|
|
575
|
+
},
|
|
576
|
+
],
|
|
577
|
+
stateMutability: "view",
|
|
578
|
+
type: "function",
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
inputs: [],
|
|
582
|
+
name: "exchangeRate",
|
|
583
|
+
outputs: [
|
|
584
|
+
{
|
|
585
|
+
internalType: "uint256",
|
|
586
|
+
name: "",
|
|
587
|
+
type: "uint256",
|
|
588
|
+
},
|
|
589
|
+
],
|
|
590
|
+
stateMutability: "view",
|
|
591
|
+
type: "function",
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
inputs: [],
|
|
595
|
+
name: "exchangeRateOracle",
|
|
596
|
+
outputs: [
|
|
597
|
+
{
|
|
598
|
+
internalType: "address",
|
|
599
|
+
name: "",
|
|
600
|
+
type: "address",
|
|
601
|
+
},
|
|
602
|
+
],
|
|
603
|
+
stateMutability: "view",
|
|
604
|
+
type: "function",
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
inputs: [],
|
|
608
|
+
name: "getRewardTokens",
|
|
609
|
+
outputs: [
|
|
610
|
+
{
|
|
611
|
+
internalType: "address[]",
|
|
612
|
+
name: "rewardTokens",
|
|
613
|
+
type: "address[]",
|
|
614
|
+
},
|
|
615
|
+
],
|
|
616
|
+
stateMutability: "view",
|
|
617
|
+
type: "function",
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
inputs: [],
|
|
621
|
+
name: "getTokensIn",
|
|
622
|
+
outputs: [
|
|
623
|
+
{
|
|
624
|
+
internalType: "address[]",
|
|
625
|
+
name: "res",
|
|
626
|
+
type: "address[]",
|
|
627
|
+
},
|
|
628
|
+
],
|
|
629
|
+
stateMutability: "view",
|
|
630
|
+
type: "function",
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
inputs: [],
|
|
634
|
+
name: "getTokensOut",
|
|
635
|
+
outputs: [
|
|
636
|
+
{
|
|
637
|
+
internalType: "address[]",
|
|
638
|
+
name: "res",
|
|
639
|
+
type: "address[]",
|
|
640
|
+
},
|
|
641
|
+
],
|
|
642
|
+
stateMutability: "view",
|
|
643
|
+
type: "function",
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
inputs: [
|
|
647
|
+
{
|
|
648
|
+
internalType: "uint256",
|
|
649
|
+
name: "_initialSupplyCap",
|
|
650
|
+
type: "uint256",
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
internalType: "address",
|
|
654
|
+
name: "_initialExchangeRateOracle",
|
|
655
|
+
type: "address",
|
|
656
|
+
},
|
|
657
|
+
],
|
|
658
|
+
name: "initialize",
|
|
659
|
+
outputs: [],
|
|
660
|
+
stateMutability: "nonpayable",
|
|
661
|
+
type: "function",
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
inputs: [
|
|
665
|
+
{
|
|
666
|
+
internalType: "address",
|
|
667
|
+
name: "token",
|
|
668
|
+
type: "address",
|
|
669
|
+
},
|
|
670
|
+
],
|
|
671
|
+
name: "isValidTokenIn",
|
|
672
|
+
outputs: [
|
|
673
|
+
{
|
|
674
|
+
internalType: "bool",
|
|
675
|
+
name: "",
|
|
676
|
+
type: "bool",
|
|
677
|
+
},
|
|
678
|
+
],
|
|
679
|
+
stateMutability: "view",
|
|
680
|
+
type: "function",
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
inputs: [
|
|
684
|
+
{
|
|
685
|
+
internalType: "address",
|
|
686
|
+
name: "token",
|
|
687
|
+
type: "address",
|
|
688
|
+
},
|
|
689
|
+
],
|
|
690
|
+
name: "isValidTokenOut",
|
|
691
|
+
outputs: [
|
|
692
|
+
{
|
|
693
|
+
internalType: "bool",
|
|
694
|
+
name: "",
|
|
695
|
+
type: "bool",
|
|
696
|
+
},
|
|
697
|
+
],
|
|
698
|
+
stateMutability: "view",
|
|
699
|
+
type: "function",
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
inputs: [],
|
|
703
|
+
name: "name",
|
|
704
|
+
outputs: [
|
|
705
|
+
{
|
|
706
|
+
internalType: "string",
|
|
707
|
+
name: "",
|
|
708
|
+
type: "string",
|
|
709
|
+
},
|
|
710
|
+
],
|
|
711
|
+
stateMutability: "view",
|
|
712
|
+
type: "function",
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
inputs: [
|
|
716
|
+
{
|
|
717
|
+
internalType: "address",
|
|
718
|
+
name: "owner",
|
|
719
|
+
type: "address",
|
|
720
|
+
},
|
|
721
|
+
],
|
|
722
|
+
name: "nonces",
|
|
723
|
+
outputs: [
|
|
724
|
+
{
|
|
725
|
+
internalType: "uint256",
|
|
726
|
+
name: "",
|
|
727
|
+
type: "uint256",
|
|
728
|
+
},
|
|
729
|
+
],
|
|
730
|
+
stateMutability: "view",
|
|
731
|
+
type: "function",
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
inputs: [],
|
|
735
|
+
name: "owner",
|
|
736
|
+
outputs: [
|
|
737
|
+
{
|
|
738
|
+
internalType: "address",
|
|
739
|
+
name: "",
|
|
740
|
+
type: "address",
|
|
741
|
+
},
|
|
742
|
+
],
|
|
743
|
+
stateMutability: "view",
|
|
744
|
+
type: "function",
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
inputs: [],
|
|
748
|
+
name: "pause",
|
|
749
|
+
outputs: [],
|
|
750
|
+
stateMutability: "nonpayable",
|
|
751
|
+
type: "function",
|
|
752
|
+
},
|
|
753
|
+
{
|
|
754
|
+
inputs: [],
|
|
755
|
+
name: "paused",
|
|
756
|
+
outputs: [
|
|
757
|
+
{
|
|
758
|
+
internalType: "bool",
|
|
759
|
+
name: "",
|
|
760
|
+
type: "bool",
|
|
761
|
+
},
|
|
762
|
+
],
|
|
763
|
+
stateMutability: "view",
|
|
764
|
+
type: "function",
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
inputs: [],
|
|
768
|
+
name: "pendingOwner",
|
|
769
|
+
outputs: [
|
|
770
|
+
{
|
|
771
|
+
internalType: "address",
|
|
772
|
+
name: "",
|
|
773
|
+
type: "address",
|
|
774
|
+
},
|
|
775
|
+
],
|
|
776
|
+
stateMutability: "view",
|
|
777
|
+
type: "function",
|
|
778
|
+
},
|
|
779
|
+
{
|
|
780
|
+
inputs: [
|
|
781
|
+
{
|
|
782
|
+
internalType: "address",
|
|
783
|
+
name: "owner",
|
|
784
|
+
type: "address",
|
|
785
|
+
},
|
|
786
|
+
{
|
|
787
|
+
internalType: "address",
|
|
788
|
+
name: "spender",
|
|
789
|
+
type: "address",
|
|
790
|
+
},
|
|
791
|
+
{
|
|
792
|
+
internalType: "uint256",
|
|
793
|
+
name: "value",
|
|
794
|
+
type: "uint256",
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
internalType: "uint256",
|
|
798
|
+
name: "deadline",
|
|
799
|
+
type: "uint256",
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
internalType: "uint8",
|
|
803
|
+
name: "v",
|
|
804
|
+
type: "uint8",
|
|
805
|
+
},
|
|
806
|
+
{
|
|
807
|
+
internalType: "bytes32",
|
|
808
|
+
name: "r",
|
|
809
|
+
type: "bytes32",
|
|
810
|
+
},
|
|
811
|
+
{
|
|
812
|
+
internalType: "bytes32",
|
|
813
|
+
name: "s",
|
|
814
|
+
type: "bytes32",
|
|
815
|
+
},
|
|
816
|
+
],
|
|
817
|
+
name: "permit",
|
|
818
|
+
outputs: [],
|
|
819
|
+
stateMutability: "nonpayable",
|
|
820
|
+
type: "function",
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
inputs: [
|
|
824
|
+
{
|
|
825
|
+
internalType: "address",
|
|
826
|
+
name: "tokenIn",
|
|
827
|
+
type: "address",
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
internalType: "uint256",
|
|
831
|
+
name: "amountTokenToDeposit",
|
|
832
|
+
type: "uint256",
|
|
833
|
+
},
|
|
834
|
+
],
|
|
835
|
+
name: "previewDeposit",
|
|
836
|
+
outputs: [
|
|
837
|
+
{
|
|
838
|
+
internalType: "uint256",
|
|
839
|
+
name: "amountSharesOut",
|
|
840
|
+
type: "uint256",
|
|
841
|
+
},
|
|
842
|
+
],
|
|
843
|
+
stateMutability: "view",
|
|
844
|
+
type: "function",
|
|
845
|
+
},
|
|
846
|
+
{
|
|
847
|
+
inputs: [
|
|
848
|
+
{
|
|
849
|
+
internalType: "address",
|
|
850
|
+
name: "tokenOut",
|
|
851
|
+
type: "address",
|
|
852
|
+
},
|
|
853
|
+
{
|
|
854
|
+
internalType: "uint256",
|
|
855
|
+
name: "amountSharesToRedeem",
|
|
856
|
+
type: "uint256",
|
|
857
|
+
},
|
|
858
|
+
],
|
|
859
|
+
name: "previewRedeem",
|
|
860
|
+
outputs: [
|
|
861
|
+
{
|
|
862
|
+
internalType: "uint256",
|
|
863
|
+
name: "amountTokenOut",
|
|
864
|
+
type: "uint256",
|
|
865
|
+
},
|
|
866
|
+
],
|
|
867
|
+
stateMutability: "view",
|
|
868
|
+
type: "function",
|
|
869
|
+
},
|
|
870
|
+
{
|
|
871
|
+
inputs: [
|
|
872
|
+
{
|
|
873
|
+
internalType: "address",
|
|
874
|
+
name: "receiver",
|
|
875
|
+
type: "address",
|
|
876
|
+
},
|
|
877
|
+
{
|
|
878
|
+
internalType: "uint256",
|
|
879
|
+
name: "amountSharesToRedeem",
|
|
880
|
+
type: "uint256",
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
internalType: "address",
|
|
884
|
+
name: "tokenOut",
|
|
885
|
+
type: "address",
|
|
886
|
+
},
|
|
887
|
+
{
|
|
888
|
+
internalType: "uint256",
|
|
889
|
+
name: "minTokenOut",
|
|
890
|
+
type: "uint256",
|
|
891
|
+
},
|
|
892
|
+
{
|
|
893
|
+
internalType: "bool",
|
|
894
|
+
name: "burnFromInternalBalance",
|
|
895
|
+
type: "bool",
|
|
896
|
+
},
|
|
897
|
+
],
|
|
898
|
+
name: "redeem",
|
|
899
|
+
outputs: [
|
|
900
|
+
{
|
|
901
|
+
internalType: "uint256",
|
|
902
|
+
name: "amountTokenOut",
|
|
903
|
+
type: "uint256",
|
|
904
|
+
},
|
|
905
|
+
],
|
|
906
|
+
stateMutability: "nonpayable",
|
|
907
|
+
type: "function",
|
|
908
|
+
},
|
|
909
|
+
{
|
|
910
|
+
inputs: [],
|
|
911
|
+
name: "rewardIndexesCurrent",
|
|
912
|
+
outputs: [
|
|
913
|
+
{
|
|
914
|
+
internalType: "uint256[]",
|
|
915
|
+
name: "indexes",
|
|
916
|
+
type: "uint256[]",
|
|
917
|
+
},
|
|
918
|
+
],
|
|
919
|
+
stateMutability: "nonpayable",
|
|
920
|
+
type: "function",
|
|
921
|
+
},
|
|
922
|
+
{
|
|
923
|
+
inputs: [],
|
|
924
|
+
name: "rewardIndexesStored",
|
|
925
|
+
outputs: [
|
|
926
|
+
{
|
|
927
|
+
internalType: "uint256[]",
|
|
928
|
+
name: "indexes",
|
|
929
|
+
type: "uint256[]",
|
|
930
|
+
},
|
|
931
|
+
],
|
|
932
|
+
stateMutability: "view",
|
|
933
|
+
type: "function",
|
|
934
|
+
},
|
|
935
|
+
{
|
|
936
|
+
inputs: [
|
|
937
|
+
{
|
|
938
|
+
internalType: "address",
|
|
939
|
+
name: "_exchangeRateOracle",
|
|
940
|
+
type: "address",
|
|
941
|
+
},
|
|
942
|
+
],
|
|
943
|
+
name: "setExchangeRateOracle",
|
|
944
|
+
outputs: [],
|
|
945
|
+
stateMutability: "nonpayable",
|
|
946
|
+
type: "function",
|
|
947
|
+
},
|
|
948
|
+
{
|
|
949
|
+
inputs: [],
|
|
950
|
+
name: "supplyCap",
|
|
951
|
+
outputs: [
|
|
952
|
+
{
|
|
953
|
+
internalType: "uint256",
|
|
954
|
+
name: "",
|
|
955
|
+
type: "uint256",
|
|
956
|
+
},
|
|
957
|
+
],
|
|
958
|
+
stateMutability: "view",
|
|
959
|
+
type: "function",
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
inputs: [],
|
|
963
|
+
name: "symbol",
|
|
964
|
+
outputs: [
|
|
965
|
+
{
|
|
966
|
+
internalType: "string",
|
|
967
|
+
name: "",
|
|
968
|
+
type: "string",
|
|
969
|
+
},
|
|
970
|
+
],
|
|
971
|
+
stateMutability: "view",
|
|
972
|
+
type: "function",
|
|
973
|
+
},
|
|
974
|
+
{
|
|
975
|
+
inputs: [],
|
|
976
|
+
name: "totalSupply",
|
|
977
|
+
outputs: [
|
|
978
|
+
{
|
|
979
|
+
internalType: "uint256",
|
|
980
|
+
name: "",
|
|
981
|
+
type: "uint256",
|
|
982
|
+
},
|
|
983
|
+
],
|
|
984
|
+
stateMutability: "view",
|
|
985
|
+
type: "function",
|
|
986
|
+
},
|
|
987
|
+
{
|
|
988
|
+
inputs: [
|
|
989
|
+
{
|
|
990
|
+
internalType: "address",
|
|
991
|
+
name: "to",
|
|
992
|
+
type: "address",
|
|
993
|
+
},
|
|
994
|
+
{
|
|
995
|
+
internalType: "uint256",
|
|
996
|
+
name: "amount",
|
|
997
|
+
type: "uint256",
|
|
998
|
+
},
|
|
999
|
+
],
|
|
1000
|
+
name: "transfer",
|
|
1001
|
+
outputs: [
|
|
1002
|
+
{
|
|
1003
|
+
internalType: "bool",
|
|
1004
|
+
name: "",
|
|
1005
|
+
type: "bool",
|
|
1006
|
+
},
|
|
1007
|
+
],
|
|
1008
|
+
stateMutability: "nonpayable",
|
|
1009
|
+
type: "function",
|
|
1010
|
+
},
|
|
1011
|
+
{
|
|
1012
|
+
inputs: [
|
|
1013
|
+
{
|
|
1014
|
+
internalType: "address",
|
|
1015
|
+
name: "from",
|
|
1016
|
+
type: "address",
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
internalType: "address",
|
|
1020
|
+
name: "to",
|
|
1021
|
+
type: "address",
|
|
1022
|
+
},
|
|
1023
|
+
{
|
|
1024
|
+
internalType: "uint256",
|
|
1025
|
+
name: "amount",
|
|
1026
|
+
type: "uint256",
|
|
1027
|
+
},
|
|
1028
|
+
],
|
|
1029
|
+
name: "transferFrom",
|
|
1030
|
+
outputs: [
|
|
1031
|
+
{
|
|
1032
|
+
internalType: "bool",
|
|
1033
|
+
name: "",
|
|
1034
|
+
type: "bool",
|
|
1035
|
+
},
|
|
1036
|
+
],
|
|
1037
|
+
stateMutability: "nonpayable",
|
|
1038
|
+
type: "function",
|
|
1039
|
+
},
|
|
1040
|
+
{
|
|
1041
|
+
inputs: [
|
|
1042
|
+
{
|
|
1043
|
+
internalType: "address",
|
|
1044
|
+
name: "newOwner",
|
|
1045
|
+
type: "address",
|
|
1046
|
+
},
|
|
1047
|
+
{
|
|
1048
|
+
internalType: "bool",
|
|
1049
|
+
name: "direct",
|
|
1050
|
+
type: "bool",
|
|
1051
|
+
},
|
|
1052
|
+
{
|
|
1053
|
+
internalType: "bool",
|
|
1054
|
+
name: "renounce",
|
|
1055
|
+
type: "bool",
|
|
1056
|
+
},
|
|
1057
|
+
],
|
|
1058
|
+
name: "transferOwnership",
|
|
1059
|
+
outputs: [],
|
|
1060
|
+
stateMutability: "nonpayable",
|
|
1061
|
+
type: "function",
|
|
1062
|
+
},
|
|
1063
|
+
{
|
|
1064
|
+
inputs: [],
|
|
1065
|
+
name: "unpause",
|
|
1066
|
+
outputs: [],
|
|
1067
|
+
stateMutability: "nonpayable",
|
|
1068
|
+
type: "function",
|
|
1069
|
+
},
|
|
1070
|
+
{
|
|
1071
|
+
inputs: [
|
|
1072
|
+
{
|
|
1073
|
+
internalType: "uint256",
|
|
1074
|
+
name: "newSupplyCap",
|
|
1075
|
+
type: "uint256",
|
|
1076
|
+
},
|
|
1077
|
+
],
|
|
1078
|
+
name: "updateSupplyCap",
|
|
1079
|
+
outputs: [],
|
|
1080
|
+
stateMutability: "nonpayable",
|
|
1081
|
+
type: "function",
|
|
1082
|
+
},
|
|
1083
|
+
{
|
|
1084
|
+
inputs: [],
|
|
1085
|
+
name: "yieldToken",
|
|
1086
|
+
outputs: [
|
|
1087
|
+
{
|
|
1088
|
+
internalType: "address",
|
|
1089
|
+
name: "",
|
|
1090
|
+
type: "address",
|
|
1091
|
+
},
|
|
1092
|
+
],
|
|
1093
|
+
stateMutability: "view",
|
|
1094
|
+
type: "function",
|
|
1095
|
+
},
|
|
1096
|
+
{
|
|
1097
|
+
stateMutability: "payable",
|
|
1098
|
+
type: "receive",
|
|
1099
|
+
},
|
|
1100
|
+
];
|
|
1101
|
+
|
|
1102
|
+
const _bytecode =
|
|
1103
|
+
"0x60c06040523480156200001157600080fd5b506040516200307238038062003072833981016040819052620000349162000198565b8080806001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000075573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200009b9190620001ca565b60ff16608052610134805460ff191690556001600160a01b031660a05250620000c3620000ca565b50620001ef565b600154600160a81b900460ff1615620001395760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b600154600160a01b900460ff9081161462000196576001805460ff60a01b191660ff60a01b17905560405160ff81527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b600060208284031215620001ab57600080fd5b81516001600160a01b0381168114620001c357600080fd5b9392505050565b600060208284031215620001dd57600080fd5b815160ff81168114620001c357600080fd5b60805160a051612e3a62000238600039600081816104430152818161075b01528181610d6f01528181610ea401528181610ec50152611b670152600061031a0152612e3a6000f3fe6080604052600436106101da5760003560e01c806306fdde03146101e6578063071bc3c914610211578063078dfbe714610233578063095ea7b314610255578063128fced11461028557806318160ddd146102b257806320e8c565146102d5578063213cae631461021157806323b872dd146102e8578063313ce567146103085780633644e5151461034e5780633ba0b9a9146103635780633f4ba83a1461037857806341d8bc5f1461038d5780634e71e0c8146103ad5780635c975abb146103c257806370a08231146103db578063769f8e5d1461041157806376d5de8514610431578063784367d6146104725780637ecebe00146104925780638456cb59146104b257806384b0196e146104c75780638da5cb5b146104ef5780638f770ad01461050f57806395d89b4114610526578063a40bee501461053b578063a9059cbb1461055f578063b8f82b261461057f578063c4f59f9b1461059f578063cbe52ae3146105c0578063d505accf146105e0578063da35a26f14610600578063da88ecb414610620578063dd62ed3e14610641578063e30c397814610661578063e5a97f0714610681578063ef5cfb8c14610285578063f8b2f99114610620578063fa5a4f0614610472578063ffffce47146106a157600080fd5b366101e157005b600080fd5b3480156101f257600080fd5b506101fb6106c2565b60405161020891906126b1565b60405180910390f35b34801561021d57600080fd5b50610226610754565b60405161020891906126c4565b34801561023f57600080fd5b5061025361024e36600461273b565b610784565b005b34801561026157600080fd5b50610275610270366004612784565b610889565b6040519015158152602001610208565b34801561029157600080fd5b506102a56102a03660046127ae565b6108a3565b6040516102089190612805565b3480156102be57600080fd5b506102c76108be565b604051908152602001610208565b6102c76102e3366004612818565b6108cd565b3480156102f457600080fd5b5061027561030336600461285a565b610a0c565b34801561031457600080fd5b5061033c7f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff9091168152602001610208565b34801561035a57600080fd5b506102c7610a8a565b34801561036f57600080fd5b506102c7610a94565b34801561038457600080fd5b50610253610b03565b34801561039957600080fd5b506102536103a83660046127ae565b610b37565b3480156103b957600080fd5b50610253610b6d565b3480156103ce57600080fd5b506101345460ff16610275565b3480156103e757600080fd5b506102c76103f63660046127ae565b6001600160a01b031660009081526002602052604090205490565b34801561041d57600080fd5b506102c761042c366004612896565b610c18565b34801561043d57600080fd5b506104657f000000000000000000000000000000000000000000000000000000000000000081565b60405161020891906128f1565b34801561047e57600080fd5b5061027561048d3660046127ae565b610d6d565b34801561049e57600080fd5b506102c76104ad3660046127ae565b610d9f565b3480156104be57600080fd5b50610253610dbd565b3480156104d357600080fd5b506104dc610def565b6040516102089796959493929190612905565b3480156104fb57600080fd5b50600054610465906001600160a01b031681565b34801561051b57600080fd5b506102c76101fe5481565b34801561053257600080fd5b506101fb610e8d565b34801561054757600080fd5b50610550610e9c565b6040516102089392919061298b565b34801561056b57600080fd5b5061027561057a366004612784565b610f50565b34801561058b57600080fd5b506102c761059a366004612784565b610fc2565b3480156105ab57600080fd5b50604080516000815260208101909152610226565b3480156105cc57600080fd5b506102c76105db366004612784565b610ffd565b3480156105ec57600080fd5b506102536105fb3660046129dc565b61102d565b34801561060c57600080fd5b5061025361061b366004612a49565b611191565b34801561062c57600080fd5b506040805160008152602081019091526102a5565b34801561064d57600080fd5b506102c761065c366004612a75565b61131c565b34801561066d57600080fd5b50600154610465906001600160a01b031681565b34801561068d57600080fd5b5061025361069c366004612a9f565b611347565b3480156106ad57600080fd5b506101fd54610465906001600160a01b031681565b6060600580546106d190612ab8565b80601f01602080910402602001604051908101604052809291908181526020018280546106fd90612ab8565b801561074a5780601f1061071f5761010080835404028352916020019161074a565b820191906000526020600020905b81548152906001019060200180831161072d57829003601f168201915b5050505050905090565b606061077f7f000000000000000000000000000000000000000000000000000000000000000061137a565b905090565b6000546001600160a01b031633146107b75760405162461bcd60e51b81526004016107ae90612aec565b60405180910390fd5b8115610868576001600160a01b0383161515806107d15750805b6108155760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b60448201526064016107ae565b600080546040516001600160a01b0380871693921691600080516020612dc583398151915291a3600080546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b6000336108978185856113d5565b60019150505b92915050565b604080516000808252602082019092526060915b5092915050565b6004546001600160f81b031690565b600454600090600119600160f81b90910460ff16016108fe5760405162461bcd60e51b81526004016107ae90612b37565b600480546001600160f81b0316600160f91b17905561091c84610d6d565b61093b57836040516315d57ce360e31b81526004016107ae91906128f1565b8260000361095c57604051630a907f2f60e41b815260040160405180910390fd5b6109678433856114f9565b50818181101561098e578082604051635e38f95d60e11b81526004016107ae929190612b6e565b6109988582611560565b836001600160a01b0316856001600160a01b0316336001600160a01b03167f5fe47ed6d4225326d3303476197d782ded5a4e9c14f479dc9ec4992af4e85d5986856040516109e7929190612b6e565b60405180910390a4600480546001600160f81b0316600160f81b179055949350505050565b600454600090600119600160f81b90910460ff1601610a3d5760405162461bcd60e51b81526004016107ae90612b37565b600480546001600160f81b0316600160f91b17905533610a5e858285611683565b610a698585856116fd565b6001915050600480546001600160f81b0316600160f81b1790559392505050565b600061077f611925565b6101fd54604080516339aa885b60e21b815290516000926001600160a01b03169163e6aa216c9160048083019260209291908290030181865afa158015610adf573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061077f9190612b7c565b6000546001600160a01b03163314610b2d5760405162461bcd60e51b81526004016107ae90612aec565b610b3561192f565b565b6000546001600160a01b03163314610b615760405162461bcd60e51b81526004016107ae90612aec565b610b6a8161197c565b50565b6001546001600160a01b0316338114610bc85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e657260448201526064016107ae565b600080546040516001600160a01b0380851693921691600080516020612dc583398151915291a3600080546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b600454600090600119600160f81b90910460ff1601610c495760405162461bcd60e51b81526004016107ae90612b37565b600480546001600160f81b0316600160f91b179055610c6784610d6d565b610c8657836040516388a5056160e01b81526004016107ae91906128f1565b84600003610ca75760405163c3d83b0760e01b815260040160405180910390fd5b8115610cbc57610cb730866119d3565b610cc6565b610cc633866119d3565b610cd1868587611b60565b905082811015610cf85780836040516305ff726560e51b81526004016107ae929190612b6e565b836001600160a01b0316866001600160a01b0316336001600160a01b03167faee47cdf925cf525fdae94f9777ee5a06cac37e1c41220d0a8a89ed154f62d1c8885604051610d47929190612b6e565b60405180910390a4600480546001600160f81b0316600160f81b17905595945050505050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0390811691161490565b6001600160a01b0381166000908152609f602052604081205461089d565b6000546001600160a01b03163314610de75760405162461bcd60e51b81526004016107ae90612aec565b610b35611b8d565b600060608060008060006060606b546000801b148015610e0f5750606c54155b610e535760405162461bcd60e51b81526020600482015260156024820152741152540dcc4c8e88155b9a5b9a5d1a585b1a5e9959605a1b60448201526064016107ae565b610e5b611bcb565b610e63611bda565b60408051600080825260208201909252600f60f81b9b939a50919850469750309650945092509050565b6060600680546106d190612ab8565b6000806000807f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f21573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f459190612b95565b925092509250909192565b600454600090600119600160f81b90910460ff1601610f815760405162461bcd60e51b81526004016107ae90612b37565b600480546001600160f81b0316600160f91b17905533610fa28185856116fd565b6001915050600480546001600160f81b0316600160f81b17905592915050565b6000610fcd83610d6d565b610fec57826040516315d57ce360e31b81526004016107ae91906128f1565b610ff68383611be9565b9392505050565b600061100883610d6d565b61102757826040516388a5056160e01b81526004016107ae91906128f1565b81610ff6565b8342111561107d5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e6500000060448201526064016107ae565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886110ac8c611c34565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e001604051602081830303815290604052805190602001209050600061110782611c5c565b9050600061111782878787611c89565b9050896001600160a01b0316816001600160a01b03161461117a5760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e6174757265000060448201526064016107ae565b6111858a8a8a6113d5565b50505050505050505050565b600154600160a81b900460ff16158080156111b7575060018054600160a01b900460ff16105b806111de57506111c630611cb3565b1580156111de575060018054600160a01b900460ff16145b6112415760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016107ae565b6001805460ff60a01b1916600160a01b179055801561126e576001805460ff60a81b1916600160a81b1790555b6112bf6040518060400160405280600f81526020016e535920457468656e6120735553444560881b8152506040518060400160405280600881526020016753592d735553444560c01b815250611cc2565b6112c88261197c565b6112d183611cfd565b8015610884576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a1505050565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b6000546001600160a01b031633146113715760405162461bcd60e51b81526004016107ae90612aec565b610b6a81611cfd565b6040805160018082528183019092526060916020808301908036833701905050905081816000815181106113b0576113b0612bb2565b60200260200101906001600160a01b031690816001600160a01b031681525050919050565b6001600160a01b0383166114375760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107ae565b6001600160a01b0382166114985760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107ae565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316611545578034146108845760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b60448201526064016107ae565b8015610884576108846001600160a01b038416833084611d33565b6001600160a01b0382166115b65760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016107ae565b6115c260008383611d9e565b6115cb81611da6565b600480546000906115e69084906001600160f81b0316612bde565b92506101000a8154816001600160f81b0302191690836001600160f81b031602179055508060026000846001600160a01b03166001600160a01b03168152602001908152602001600020600082825461163f9190612bfe565b90915550506040518181526001600160a01b03831690600090600080516020612de58339815191529060200160405180910390a361167f60008383611dc0565b5050565b600061168f848461131c565b905060001981146116f757818110156116ea5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016107ae565b6116f784848484036113d5565b50505050565b6001600160a01b0383166117615760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016107ae565b6001600160a01b0382166117c35760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016107ae565b816001600160a01b0316836001600160a01b03160361181e5760405162461bcd60e51b815260206004820152601760248201527622a92199181d103a3930b739b332b9103a379039b2b63360491b60448201526064016107ae565b611829838383611d9e565b6001600160a01b038316600090815260026020526040902054818110156118a15760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016107ae565b6001600160a01b038085166000908152600260205260408082208585039055918516815290812080548492906118d8908490612bfe565b92505081905550826001600160a01b0316846001600160a01b0316600080516020612de58339815191528460405161191291815260200190565b60405180910390a36116f7848484611dc0565b600061077f611e11565b611937611e85565b610134805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b60405161197291906128f1565b60405180910390a1565b6101fd80546001600160a01b0319166001600160a01b0383161790556040517f97f0b7a8b22ce6b1d8cd80fd30e159ba09a73df70fd026076c317f099bf50a8d906119c89083906128f1565b60405180910390a150565b6001600160a01b038216611a335760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016107ae565b611a3f82600083611d9e565b6001600160a01b03821660009081526002602052604090205481811015611ab35760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016107ae565b6001600160a01b03831660009081526002602052604090208282039055611ad982611da6565b60048054600090611af49084906001600160f81b0316612c11565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555060006001600160a01b0316836001600160a01b0316600080516020612de583398151915284604051611b4c91815260200190565b60405180910390a361088483600084611dc0565b60006108b77f00000000000000000000000000000000000000000000000000000000000000008584611ecf565b611b95611f93565b610134805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586119653390565b6060606d80546106d190612ab8565b6060606e80546106d190612ab8565b60008082611bf56108be565b611bff9190612bfe565b6101fe5490915080821115611c2b578181604051634b344b1160e01b81526004016107ae929190612b6e565b50919392505050565b6001600160a01b0381166000908152609f602052604090208054600181018255905b50919050565b600061089d611c69611925565b8360405161190160f01b8152600281019290925260228201526042902090565b6000806000611c9a87878787611fda565b91509150611ca781612094565b5090505b949350505050565b6001600160a01b03163b151590565b600154600160a81b900460ff16611ceb5760405162461bcd60e51b81526004016107ae90612c31565b611cf582826121d9565b61167f61222f565b6101fe8190556040518181527f4e44c8be34d12f1b7f56b13b4bbe97e64ca37a91916f86c73412da80c21748e2906020016119c8565b6040516001600160a01b03808516602483015283166044820152606481018290526116f79085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261226c565b610884611f93565b60006001600160f81b03821115611dbc57600080fd5b5090565b6001600160a01b03831615611dd457505050565b6000611dde6108be565b6101fe5490915080821115611e0a578181604051634b344b1160e01b81526004016107ae929190612b6e565b5050505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f611e3c612341565b611e4461239a565b60408051602081019490945283019190915260608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b6101345460ff16610b355760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016107ae565b80600003611edc57505050565b6001600160a01b038316611f7f576000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611f37576040519150601f19603f3d011682016040523d82523d6000602084013e611f3c565b606091505b50509050806116f75760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b60448201526064016107ae565b6108846001600160a01b03841683836123cb565b6101345460ff1615610b355760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016107ae565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b03831115612007575060009050600361208b565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561205b573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166120845760006001925092505061208b565b9150600090505b94509492505050565b60008160048111156120a8576120a8612975565b036120b05750565b60018160048111156120c4576120c4612975565b0361210c5760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b60448201526064016107ae565b600281600481111561212057612120612975565b0361216d5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016107ae565b600381600481111561218157612181612975565b03610b6a5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016107ae565b600154600160a81b900460ff166122025760405162461bcd60e51b81526004016107ae90612c31565b61220c82826123fb565b61167f82604051806040016040528060018152602001603160f81b815250612457565b600154600160a81b900460ff166122585760405162461bcd60e51b81526004016107ae90612c31565b600080546001600160a01b03191633179055565b60006122c1826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661248a9092919063ffffffff16565b90508051600014806122e25750808060200190518101906122e29190612c7c565b6108845760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016107ae565b60008061234c611bcb565b805190915015612363578051602090910120919050565b606b5480156123725792915050565b7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4709250505090565b6000806123a5611bda565b8051909150156123bc578051602090910120919050565b606c5480156123725792915050565b6040516001600160a01b03831660248201526044810182905261088490849063a9059cbb60e01b90606401611d67565b600154600160a81b900460ff166124245760405162461bcd60e51b81526004016107ae90612c31565b60056124308382612ce9565b50600661243d8282612ce9565b5050600480546001600160f81b0316600160f81b17905550565b600154600160a81b900460ff166124805760405162461bcd60e51b81526004016107ae90612c31565b61167f8282612499565b6060611cab84846000856124ea565b600154600160a81b900460ff166124c25760405162461bcd60e51b81526004016107ae90612c31565b606d6124ce8382612ce9565b50606e6124db8282612ce9565b50506000606b819055606c5550565b60608247101561254b5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016107ae565b600080866001600160a01b031685876040516125679190612da8565b60006040518083038185875af1925050503d80600081146125a4576040519150601f19603f3d011682016040523d82523d6000602084013e6125a9565b606091505b50915091506125ba878383876125c5565b979650505050505050565b6060831561263257825160000361262b576125df85611cb3565b61262b5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016107ae565b5081611cab565b611cab83838151156126475781518083602001fd5b8060405162461bcd60e51b81526004016107ae91906126b1565b60005b8381101561267c578181015183820152602001612664565b50506000910152565b6000815180845261269d816020860160208601612661565b601f01601f19169290920160200192915050565b602081526000610ff66020830184612685565b6020808252825182820181905260009190848201906040850190845b818110156127055783516001600160a01b0316835292840192918401916001016126e0565b50909695505050505050565b80356001600160a01b038116811461272857600080fd5b919050565b8015158114610b6a57600080fd5b60008060006060848603121561275057600080fd5b61275984612711565b925060208401356127698161272d565b915060408401356127798161272d565b809150509250925092565b6000806040838503121561279757600080fd5b6127a083612711565b946020939093013593505050565b6000602082840312156127c057600080fd5b610ff682612711565b60008151808452602080850194506020840160005b838110156127fa578151875295820195908201906001016127de565b509495945050505050565b602081526000610ff660208301846127c9565b6000806000806080858703121561282e57600080fd5b61283785612711565b935061284560208601612711565b93969395505050506040820135916060013590565b60008060006060848603121561286f57600080fd5b61287884612711565b925061288660208501612711565b9150604084013590509250925092565b600080600080600060a086880312156128ae57600080fd5b6128b786612711565b9450602086013593506128cc60408701612711565b92506060860135915060808601356128e38161272d565b809150509295509295909350565b6001600160a01b0391909116815260200190565b60ff60f81b8816815260e06020820152600061292460e0830189612685565b82810360408401526129368189612685565b606084018890526001600160a01b038716608085015260a0840186905283810360c0850152905061296781856127c9565b9a9950505050505050505050565b634e487b7160e01b600052602160045260246000fd5b60608101600285106129ad57634e487b7160e01b600052602160045260246000fd5b9381526001600160a01b0392909216602083015260ff1660409091015290565b60ff81168114610b6a57600080fd5b600080600080600080600060e0888a0312156129f757600080fd5b612a0088612711565b9650612a0e60208901612711565b955060408801359450606088013593506080880135612a2c816129cd565b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215612a5c57600080fd5b82359150612a6c60208401612711565b90509250929050565b60008060408385031215612a8857600080fd5b612a9183612711565b9150612a6c60208401612711565b600060208284031215612ab157600080fd5b5035919050565b600181811c90821680612acc57607f821691505b602082108103611c5657634e487b7160e01b600052602260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052604160045260246000fd5b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b918252602082015260400190565b600060208284031215612b8e57600080fd5b5051919050565b600060208284031215612ba757600080fd5b8151610ff6816129cd565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6001600160f81b038181168382160190808211156108b7576108b7612bc8565b8082018082111561089d5761089d612bc8565b6001600160f81b038281168282160390808211156108b7576108b7612bc8565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b600060208284031215612c8e57600080fd5b8151610ff68161272d565b601f821115610884576000816000526020600020601f850160051c81016020861015612cc25750805b601f850160051c820191505b81811015612ce157828155600101612cce565b505050505050565b81516001600160401b03811115612d0257612d02612b21565b612d1681612d108454612ab8565b84612c99565b602080601f831160018114612d4b5760008415612d335750858301515b600019600386901b1c1916600185901b178555612ce1565b600085815260208120601f198616915b82811015612d7a57888601518255948401946001909101908401612d5b565b5085821015612d985787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008251612dba818460208701612661565b919091019291505056fe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa264697066735822122058b4ae620120f5142b9733e029909b34a462444e897823b8cea0586c8a282e8164736f6c63430008170033";
|
|
1104
|
+
|
|
1105
|
+
type PendleSUSDEMantleSYConstructorParams =
|
|
1106
|
+
| [signer?: Signer]
|
|
1107
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
1108
|
+
|
|
1109
|
+
const isSuperArgs = (
|
|
1110
|
+
xs: PendleSUSDEMantleSYConstructorParams
|
|
1111
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
1112
|
+
|
|
1113
|
+
export class PendleSUSDEMantleSY__factory extends ContractFactory {
|
|
1114
|
+
constructor(...args: PendleSUSDEMantleSYConstructorParams) {
|
|
1115
|
+
if (isSuperArgs(args)) {
|
|
1116
|
+
super(...args);
|
|
1117
|
+
} else {
|
|
1118
|
+
super(_abi, _bytecode, args[0]);
|
|
1119
|
+
}
|
|
1120
|
+
this.contractName = "PendleSUSDEMantleSY";
|
|
1121
|
+
}
|
|
1122
|
+
|
|
1123
|
+
deploy(
|
|
1124
|
+
_susde: string,
|
|
1125
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1126
|
+
): Promise<PendleSUSDEMantleSY> {
|
|
1127
|
+
return super.deploy(
|
|
1128
|
+
_susde,
|
|
1129
|
+
overrides || {}
|
|
1130
|
+
) as Promise<PendleSUSDEMantleSY>;
|
|
1131
|
+
}
|
|
1132
|
+
getDeployTransaction(
|
|
1133
|
+
_susde: string,
|
|
1134
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1135
|
+
): TransactionRequest {
|
|
1136
|
+
return super.getDeployTransaction(_susde, overrides || {});
|
|
1137
|
+
}
|
|
1138
|
+
attach(address: string): PendleSUSDEMantleSY {
|
|
1139
|
+
return super.attach(address) as PendleSUSDEMantleSY;
|
|
1140
|
+
}
|
|
1141
|
+
connect(signer: Signer): PendleSUSDEMantleSY__factory {
|
|
1142
|
+
return super.connect(signer) as PendleSUSDEMantleSY__factory;
|
|
1143
|
+
}
|
|
1144
|
+
static readonly contractName: "PendleSUSDEMantleSY";
|
|
1145
|
+
public readonly contractName: "PendleSUSDEMantleSY";
|
|
1146
|
+
static readonly bytecode = _bytecode;
|
|
1147
|
+
static readonly abi = _abi;
|
|
1148
|
+
static createInterface(): PendleSUSDEMantleSYInterface {
|
|
1149
|
+
return new utils.Interface(_abi) as PendleSUSDEMantleSYInterface;
|
|
1150
|
+
}
|
|
1151
|
+
static connect(
|
|
1152
|
+
address: string,
|
|
1153
|
+
signerOrProvider: Signer | Provider
|
|
1154
|
+
): PendleSUSDEMantleSY {
|
|
1155
|
+
return new Contract(address, _abi, signerOrProvider) as PendleSUSDEMantleSY;
|
|
1156
|
+
}
|
|
1157
|
+
}
|