@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,1110 @@
|
|
|
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
|
+
PendleUSDEMantleSY,
|
|
8
|
+
PendleUSDEMantleSYInterface,
|
|
9
|
+
} from "../PendleUSDEMantleSY";
|
|
10
|
+
|
|
11
|
+
const _abi = [
|
|
12
|
+
{
|
|
13
|
+
inputs: [
|
|
14
|
+
{
|
|
15
|
+
internalType: "address",
|
|
16
|
+
name: "_usde",
|
|
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: "uint256",
|
|
284
|
+
name: "newSupplyCap",
|
|
285
|
+
type: "uint256",
|
|
286
|
+
},
|
|
287
|
+
],
|
|
288
|
+
name: "SupplyCapUpdated",
|
|
289
|
+
type: "event",
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
anonymous: false,
|
|
293
|
+
inputs: [
|
|
294
|
+
{
|
|
295
|
+
indexed: true,
|
|
296
|
+
internalType: "address",
|
|
297
|
+
name: "from",
|
|
298
|
+
type: "address",
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
indexed: true,
|
|
302
|
+
internalType: "address",
|
|
303
|
+
name: "to",
|
|
304
|
+
type: "address",
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
indexed: false,
|
|
308
|
+
internalType: "uint256",
|
|
309
|
+
name: "value",
|
|
310
|
+
type: "uint256",
|
|
311
|
+
},
|
|
312
|
+
],
|
|
313
|
+
name: "Transfer",
|
|
314
|
+
type: "event",
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
anonymous: false,
|
|
318
|
+
inputs: [
|
|
319
|
+
{
|
|
320
|
+
indexed: false,
|
|
321
|
+
internalType: "address",
|
|
322
|
+
name: "account",
|
|
323
|
+
type: "address",
|
|
324
|
+
},
|
|
325
|
+
],
|
|
326
|
+
name: "Unpaused",
|
|
327
|
+
type: "event",
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
inputs: [],
|
|
331
|
+
name: "DOMAIN_SEPARATOR",
|
|
332
|
+
outputs: [
|
|
333
|
+
{
|
|
334
|
+
internalType: "bytes32",
|
|
335
|
+
name: "",
|
|
336
|
+
type: "bytes32",
|
|
337
|
+
},
|
|
338
|
+
],
|
|
339
|
+
stateMutability: "view",
|
|
340
|
+
type: "function",
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
inputs: [
|
|
344
|
+
{
|
|
345
|
+
internalType: "address",
|
|
346
|
+
name: "",
|
|
347
|
+
type: "address",
|
|
348
|
+
},
|
|
349
|
+
],
|
|
350
|
+
name: "accruedRewards",
|
|
351
|
+
outputs: [
|
|
352
|
+
{
|
|
353
|
+
internalType: "uint256[]",
|
|
354
|
+
name: "rewardAmounts",
|
|
355
|
+
type: "uint256[]",
|
|
356
|
+
},
|
|
357
|
+
],
|
|
358
|
+
stateMutability: "view",
|
|
359
|
+
type: "function",
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
inputs: [
|
|
363
|
+
{
|
|
364
|
+
internalType: "address",
|
|
365
|
+
name: "owner",
|
|
366
|
+
type: "address",
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
internalType: "address",
|
|
370
|
+
name: "spender",
|
|
371
|
+
type: "address",
|
|
372
|
+
},
|
|
373
|
+
],
|
|
374
|
+
name: "allowance",
|
|
375
|
+
outputs: [
|
|
376
|
+
{
|
|
377
|
+
internalType: "uint256",
|
|
378
|
+
name: "",
|
|
379
|
+
type: "uint256",
|
|
380
|
+
},
|
|
381
|
+
],
|
|
382
|
+
stateMutability: "view",
|
|
383
|
+
type: "function",
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
inputs: [
|
|
387
|
+
{
|
|
388
|
+
internalType: "address",
|
|
389
|
+
name: "spender",
|
|
390
|
+
type: "address",
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
internalType: "uint256",
|
|
394
|
+
name: "amount",
|
|
395
|
+
type: "uint256",
|
|
396
|
+
},
|
|
397
|
+
],
|
|
398
|
+
name: "approve",
|
|
399
|
+
outputs: [
|
|
400
|
+
{
|
|
401
|
+
internalType: "bool",
|
|
402
|
+
name: "",
|
|
403
|
+
type: "bool",
|
|
404
|
+
},
|
|
405
|
+
],
|
|
406
|
+
stateMutability: "nonpayable",
|
|
407
|
+
type: "function",
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
inputs: [],
|
|
411
|
+
name: "assetInfo",
|
|
412
|
+
outputs: [
|
|
413
|
+
{
|
|
414
|
+
internalType: "enum IStandardizedYield.AssetType",
|
|
415
|
+
name: "assetType",
|
|
416
|
+
type: "uint8",
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
internalType: "address",
|
|
420
|
+
name: "assetAddress",
|
|
421
|
+
type: "address",
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
internalType: "uint8",
|
|
425
|
+
name: "assetDecimals",
|
|
426
|
+
type: "uint8",
|
|
427
|
+
},
|
|
428
|
+
],
|
|
429
|
+
stateMutability: "view",
|
|
430
|
+
type: "function",
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
inputs: [
|
|
434
|
+
{
|
|
435
|
+
internalType: "address",
|
|
436
|
+
name: "account",
|
|
437
|
+
type: "address",
|
|
438
|
+
},
|
|
439
|
+
],
|
|
440
|
+
name: "balanceOf",
|
|
441
|
+
outputs: [
|
|
442
|
+
{
|
|
443
|
+
internalType: "uint256",
|
|
444
|
+
name: "",
|
|
445
|
+
type: "uint256",
|
|
446
|
+
},
|
|
447
|
+
],
|
|
448
|
+
stateMutability: "view",
|
|
449
|
+
type: "function",
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
inputs: [],
|
|
453
|
+
name: "claimOwnership",
|
|
454
|
+
outputs: [],
|
|
455
|
+
stateMutability: "nonpayable",
|
|
456
|
+
type: "function",
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
inputs: [
|
|
460
|
+
{
|
|
461
|
+
internalType: "address",
|
|
462
|
+
name: "",
|
|
463
|
+
type: "address",
|
|
464
|
+
},
|
|
465
|
+
],
|
|
466
|
+
name: "claimRewards",
|
|
467
|
+
outputs: [
|
|
468
|
+
{
|
|
469
|
+
internalType: "uint256[]",
|
|
470
|
+
name: "rewardAmounts",
|
|
471
|
+
type: "uint256[]",
|
|
472
|
+
},
|
|
473
|
+
],
|
|
474
|
+
stateMutability: "nonpayable",
|
|
475
|
+
type: "function",
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
inputs: [],
|
|
479
|
+
name: "decimals",
|
|
480
|
+
outputs: [
|
|
481
|
+
{
|
|
482
|
+
internalType: "uint8",
|
|
483
|
+
name: "",
|
|
484
|
+
type: "uint8",
|
|
485
|
+
},
|
|
486
|
+
],
|
|
487
|
+
stateMutability: "view",
|
|
488
|
+
type: "function",
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
inputs: [
|
|
492
|
+
{
|
|
493
|
+
internalType: "address",
|
|
494
|
+
name: "receiver",
|
|
495
|
+
type: "address",
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
internalType: "address",
|
|
499
|
+
name: "tokenIn",
|
|
500
|
+
type: "address",
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
internalType: "uint256",
|
|
504
|
+
name: "amountTokenToDeposit",
|
|
505
|
+
type: "uint256",
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
internalType: "uint256",
|
|
509
|
+
name: "minSharesOut",
|
|
510
|
+
type: "uint256",
|
|
511
|
+
},
|
|
512
|
+
],
|
|
513
|
+
name: "deposit",
|
|
514
|
+
outputs: [
|
|
515
|
+
{
|
|
516
|
+
internalType: "uint256",
|
|
517
|
+
name: "amountSharesOut",
|
|
518
|
+
type: "uint256",
|
|
519
|
+
},
|
|
520
|
+
],
|
|
521
|
+
stateMutability: "payable",
|
|
522
|
+
type: "function",
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
inputs: [],
|
|
526
|
+
name: "eip712Domain",
|
|
527
|
+
outputs: [
|
|
528
|
+
{
|
|
529
|
+
internalType: "bytes1",
|
|
530
|
+
name: "fields",
|
|
531
|
+
type: "bytes1",
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
internalType: "string",
|
|
535
|
+
name: "name",
|
|
536
|
+
type: "string",
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
internalType: "string",
|
|
540
|
+
name: "version",
|
|
541
|
+
type: "string",
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
internalType: "uint256",
|
|
545
|
+
name: "chainId",
|
|
546
|
+
type: "uint256",
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
internalType: "address",
|
|
550
|
+
name: "verifyingContract",
|
|
551
|
+
type: "address",
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
internalType: "bytes32",
|
|
555
|
+
name: "salt",
|
|
556
|
+
type: "bytes32",
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
internalType: "uint256[]",
|
|
560
|
+
name: "extensions",
|
|
561
|
+
type: "uint256[]",
|
|
562
|
+
},
|
|
563
|
+
],
|
|
564
|
+
stateMutability: "view",
|
|
565
|
+
type: "function",
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
inputs: [],
|
|
569
|
+
name: "exchangeRate",
|
|
570
|
+
outputs: [
|
|
571
|
+
{
|
|
572
|
+
internalType: "uint256",
|
|
573
|
+
name: "res",
|
|
574
|
+
type: "uint256",
|
|
575
|
+
},
|
|
576
|
+
],
|
|
577
|
+
stateMutability: "view",
|
|
578
|
+
type: "function",
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
inputs: [],
|
|
582
|
+
name: "getRewardTokens",
|
|
583
|
+
outputs: [
|
|
584
|
+
{
|
|
585
|
+
internalType: "address[]",
|
|
586
|
+
name: "rewardTokens",
|
|
587
|
+
type: "address[]",
|
|
588
|
+
},
|
|
589
|
+
],
|
|
590
|
+
stateMutability: "view",
|
|
591
|
+
type: "function",
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
inputs: [],
|
|
595
|
+
name: "getTokensIn",
|
|
596
|
+
outputs: [
|
|
597
|
+
{
|
|
598
|
+
internalType: "address[]",
|
|
599
|
+
name: "res",
|
|
600
|
+
type: "address[]",
|
|
601
|
+
},
|
|
602
|
+
],
|
|
603
|
+
stateMutability: "view",
|
|
604
|
+
type: "function",
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
inputs: [],
|
|
608
|
+
name: "getTokensOut",
|
|
609
|
+
outputs: [
|
|
610
|
+
{
|
|
611
|
+
internalType: "address[]",
|
|
612
|
+
name: "res",
|
|
613
|
+
type: "address[]",
|
|
614
|
+
},
|
|
615
|
+
],
|
|
616
|
+
stateMutability: "view",
|
|
617
|
+
type: "function",
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
inputs: [
|
|
621
|
+
{
|
|
622
|
+
internalType: "uint256",
|
|
623
|
+
name: "_initialSupplyCap",
|
|
624
|
+
type: "uint256",
|
|
625
|
+
},
|
|
626
|
+
],
|
|
627
|
+
name: "initialize",
|
|
628
|
+
outputs: [],
|
|
629
|
+
stateMutability: "nonpayable",
|
|
630
|
+
type: "function",
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
inputs: [
|
|
634
|
+
{
|
|
635
|
+
internalType: "address",
|
|
636
|
+
name: "token",
|
|
637
|
+
type: "address",
|
|
638
|
+
},
|
|
639
|
+
],
|
|
640
|
+
name: "isValidTokenIn",
|
|
641
|
+
outputs: [
|
|
642
|
+
{
|
|
643
|
+
internalType: "bool",
|
|
644
|
+
name: "",
|
|
645
|
+
type: "bool",
|
|
646
|
+
},
|
|
647
|
+
],
|
|
648
|
+
stateMutability: "view",
|
|
649
|
+
type: "function",
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
inputs: [
|
|
653
|
+
{
|
|
654
|
+
internalType: "address",
|
|
655
|
+
name: "token",
|
|
656
|
+
type: "address",
|
|
657
|
+
},
|
|
658
|
+
],
|
|
659
|
+
name: "isValidTokenOut",
|
|
660
|
+
outputs: [
|
|
661
|
+
{
|
|
662
|
+
internalType: "bool",
|
|
663
|
+
name: "",
|
|
664
|
+
type: "bool",
|
|
665
|
+
},
|
|
666
|
+
],
|
|
667
|
+
stateMutability: "view",
|
|
668
|
+
type: "function",
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
inputs: [],
|
|
672
|
+
name: "name",
|
|
673
|
+
outputs: [
|
|
674
|
+
{
|
|
675
|
+
internalType: "string",
|
|
676
|
+
name: "",
|
|
677
|
+
type: "string",
|
|
678
|
+
},
|
|
679
|
+
],
|
|
680
|
+
stateMutability: "view",
|
|
681
|
+
type: "function",
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
inputs: [
|
|
685
|
+
{
|
|
686
|
+
internalType: "address",
|
|
687
|
+
name: "owner",
|
|
688
|
+
type: "address",
|
|
689
|
+
},
|
|
690
|
+
],
|
|
691
|
+
name: "nonces",
|
|
692
|
+
outputs: [
|
|
693
|
+
{
|
|
694
|
+
internalType: "uint256",
|
|
695
|
+
name: "",
|
|
696
|
+
type: "uint256",
|
|
697
|
+
},
|
|
698
|
+
],
|
|
699
|
+
stateMutability: "view",
|
|
700
|
+
type: "function",
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
inputs: [],
|
|
704
|
+
name: "owner",
|
|
705
|
+
outputs: [
|
|
706
|
+
{
|
|
707
|
+
internalType: "address",
|
|
708
|
+
name: "",
|
|
709
|
+
type: "address",
|
|
710
|
+
},
|
|
711
|
+
],
|
|
712
|
+
stateMutability: "view",
|
|
713
|
+
type: "function",
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
inputs: [],
|
|
717
|
+
name: "pause",
|
|
718
|
+
outputs: [],
|
|
719
|
+
stateMutability: "nonpayable",
|
|
720
|
+
type: "function",
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
inputs: [],
|
|
724
|
+
name: "paused",
|
|
725
|
+
outputs: [
|
|
726
|
+
{
|
|
727
|
+
internalType: "bool",
|
|
728
|
+
name: "",
|
|
729
|
+
type: "bool",
|
|
730
|
+
},
|
|
731
|
+
],
|
|
732
|
+
stateMutability: "view",
|
|
733
|
+
type: "function",
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
inputs: [],
|
|
737
|
+
name: "pendingOwner",
|
|
738
|
+
outputs: [
|
|
739
|
+
{
|
|
740
|
+
internalType: "address",
|
|
741
|
+
name: "",
|
|
742
|
+
type: "address",
|
|
743
|
+
},
|
|
744
|
+
],
|
|
745
|
+
stateMutability: "view",
|
|
746
|
+
type: "function",
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
inputs: [
|
|
750
|
+
{
|
|
751
|
+
internalType: "address",
|
|
752
|
+
name: "owner",
|
|
753
|
+
type: "address",
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
internalType: "address",
|
|
757
|
+
name: "spender",
|
|
758
|
+
type: "address",
|
|
759
|
+
},
|
|
760
|
+
{
|
|
761
|
+
internalType: "uint256",
|
|
762
|
+
name: "value",
|
|
763
|
+
type: "uint256",
|
|
764
|
+
},
|
|
765
|
+
{
|
|
766
|
+
internalType: "uint256",
|
|
767
|
+
name: "deadline",
|
|
768
|
+
type: "uint256",
|
|
769
|
+
},
|
|
770
|
+
{
|
|
771
|
+
internalType: "uint8",
|
|
772
|
+
name: "v",
|
|
773
|
+
type: "uint8",
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
internalType: "bytes32",
|
|
777
|
+
name: "r",
|
|
778
|
+
type: "bytes32",
|
|
779
|
+
},
|
|
780
|
+
{
|
|
781
|
+
internalType: "bytes32",
|
|
782
|
+
name: "s",
|
|
783
|
+
type: "bytes32",
|
|
784
|
+
},
|
|
785
|
+
],
|
|
786
|
+
name: "permit",
|
|
787
|
+
outputs: [],
|
|
788
|
+
stateMutability: "nonpayable",
|
|
789
|
+
type: "function",
|
|
790
|
+
},
|
|
791
|
+
{
|
|
792
|
+
inputs: [
|
|
793
|
+
{
|
|
794
|
+
internalType: "address",
|
|
795
|
+
name: "tokenIn",
|
|
796
|
+
type: "address",
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
internalType: "uint256",
|
|
800
|
+
name: "amountTokenToDeposit",
|
|
801
|
+
type: "uint256",
|
|
802
|
+
},
|
|
803
|
+
],
|
|
804
|
+
name: "previewDeposit",
|
|
805
|
+
outputs: [
|
|
806
|
+
{
|
|
807
|
+
internalType: "uint256",
|
|
808
|
+
name: "amountSharesOut",
|
|
809
|
+
type: "uint256",
|
|
810
|
+
},
|
|
811
|
+
],
|
|
812
|
+
stateMutability: "view",
|
|
813
|
+
type: "function",
|
|
814
|
+
},
|
|
815
|
+
{
|
|
816
|
+
inputs: [
|
|
817
|
+
{
|
|
818
|
+
internalType: "address",
|
|
819
|
+
name: "tokenOut",
|
|
820
|
+
type: "address",
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
internalType: "uint256",
|
|
824
|
+
name: "amountSharesToRedeem",
|
|
825
|
+
type: "uint256",
|
|
826
|
+
},
|
|
827
|
+
],
|
|
828
|
+
name: "previewRedeem",
|
|
829
|
+
outputs: [
|
|
830
|
+
{
|
|
831
|
+
internalType: "uint256",
|
|
832
|
+
name: "amountTokenOut",
|
|
833
|
+
type: "uint256",
|
|
834
|
+
},
|
|
835
|
+
],
|
|
836
|
+
stateMutability: "view",
|
|
837
|
+
type: "function",
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
inputs: [
|
|
841
|
+
{
|
|
842
|
+
internalType: "address",
|
|
843
|
+
name: "receiver",
|
|
844
|
+
type: "address",
|
|
845
|
+
},
|
|
846
|
+
{
|
|
847
|
+
internalType: "uint256",
|
|
848
|
+
name: "amountSharesToRedeem",
|
|
849
|
+
type: "uint256",
|
|
850
|
+
},
|
|
851
|
+
{
|
|
852
|
+
internalType: "address",
|
|
853
|
+
name: "tokenOut",
|
|
854
|
+
type: "address",
|
|
855
|
+
},
|
|
856
|
+
{
|
|
857
|
+
internalType: "uint256",
|
|
858
|
+
name: "minTokenOut",
|
|
859
|
+
type: "uint256",
|
|
860
|
+
},
|
|
861
|
+
{
|
|
862
|
+
internalType: "bool",
|
|
863
|
+
name: "burnFromInternalBalance",
|
|
864
|
+
type: "bool",
|
|
865
|
+
},
|
|
866
|
+
],
|
|
867
|
+
name: "redeem",
|
|
868
|
+
outputs: [
|
|
869
|
+
{
|
|
870
|
+
internalType: "uint256",
|
|
871
|
+
name: "amountTokenOut",
|
|
872
|
+
type: "uint256",
|
|
873
|
+
},
|
|
874
|
+
],
|
|
875
|
+
stateMutability: "nonpayable",
|
|
876
|
+
type: "function",
|
|
877
|
+
},
|
|
878
|
+
{
|
|
879
|
+
inputs: [],
|
|
880
|
+
name: "rewardIndexesCurrent",
|
|
881
|
+
outputs: [
|
|
882
|
+
{
|
|
883
|
+
internalType: "uint256[]",
|
|
884
|
+
name: "indexes",
|
|
885
|
+
type: "uint256[]",
|
|
886
|
+
},
|
|
887
|
+
],
|
|
888
|
+
stateMutability: "nonpayable",
|
|
889
|
+
type: "function",
|
|
890
|
+
},
|
|
891
|
+
{
|
|
892
|
+
inputs: [],
|
|
893
|
+
name: "rewardIndexesStored",
|
|
894
|
+
outputs: [
|
|
895
|
+
{
|
|
896
|
+
internalType: "uint256[]",
|
|
897
|
+
name: "indexes",
|
|
898
|
+
type: "uint256[]",
|
|
899
|
+
},
|
|
900
|
+
],
|
|
901
|
+
stateMutability: "view",
|
|
902
|
+
type: "function",
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
inputs: [],
|
|
906
|
+
name: "supplyCap",
|
|
907
|
+
outputs: [
|
|
908
|
+
{
|
|
909
|
+
internalType: "uint256",
|
|
910
|
+
name: "",
|
|
911
|
+
type: "uint256",
|
|
912
|
+
},
|
|
913
|
+
],
|
|
914
|
+
stateMutability: "view",
|
|
915
|
+
type: "function",
|
|
916
|
+
},
|
|
917
|
+
{
|
|
918
|
+
inputs: [],
|
|
919
|
+
name: "symbol",
|
|
920
|
+
outputs: [
|
|
921
|
+
{
|
|
922
|
+
internalType: "string",
|
|
923
|
+
name: "",
|
|
924
|
+
type: "string",
|
|
925
|
+
},
|
|
926
|
+
],
|
|
927
|
+
stateMutability: "view",
|
|
928
|
+
type: "function",
|
|
929
|
+
},
|
|
930
|
+
{
|
|
931
|
+
inputs: [],
|
|
932
|
+
name: "totalSupply",
|
|
933
|
+
outputs: [
|
|
934
|
+
{
|
|
935
|
+
internalType: "uint256",
|
|
936
|
+
name: "",
|
|
937
|
+
type: "uint256",
|
|
938
|
+
},
|
|
939
|
+
],
|
|
940
|
+
stateMutability: "view",
|
|
941
|
+
type: "function",
|
|
942
|
+
},
|
|
943
|
+
{
|
|
944
|
+
inputs: [
|
|
945
|
+
{
|
|
946
|
+
internalType: "address",
|
|
947
|
+
name: "to",
|
|
948
|
+
type: "address",
|
|
949
|
+
},
|
|
950
|
+
{
|
|
951
|
+
internalType: "uint256",
|
|
952
|
+
name: "amount",
|
|
953
|
+
type: "uint256",
|
|
954
|
+
},
|
|
955
|
+
],
|
|
956
|
+
name: "transfer",
|
|
957
|
+
outputs: [
|
|
958
|
+
{
|
|
959
|
+
internalType: "bool",
|
|
960
|
+
name: "",
|
|
961
|
+
type: "bool",
|
|
962
|
+
},
|
|
963
|
+
],
|
|
964
|
+
stateMutability: "nonpayable",
|
|
965
|
+
type: "function",
|
|
966
|
+
},
|
|
967
|
+
{
|
|
968
|
+
inputs: [
|
|
969
|
+
{
|
|
970
|
+
internalType: "address",
|
|
971
|
+
name: "from",
|
|
972
|
+
type: "address",
|
|
973
|
+
},
|
|
974
|
+
{
|
|
975
|
+
internalType: "address",
|
|
976
|
+
name: "to",
|
|
977
|
+
type: "address",
|
|
978
|
+
},
|
|
979
|
+
{
|
|
980
|
+
internalType: "uint256",
|
|
981
|
+
name: "amount",
|
|
982
|
+
type: "uint256",
|
|
983
|
+
},
|
|
984
|
+
],
|
|
985
|
+
name: "transferFrom",
|
|
986
|
+
outputs: [
|
|
987
|
+
{
|
|
988
|
+
internalType: "bool",
|
|
989
|
+
name: "",
|
|
990
|
+
type: "bool",
|
|
991
|
+
},
|
|
992
|
+
],
|
|
993
|
+
stateMutability: "nonpayable",
|
|
994
|
+
type: "function",
|
|
995
|
+
},
|
|
996
|
+
{
|
|
997
|
+
inputs: [
|
|
998
|
+
{
|
|
999
|
+
internalType: "address",
|
|
1000
|
+
name: "newOwner",
|
|
1001
|
+
type: "address",
|
|
1002
|
+
},
|
|
1003
|
+
{
|
|
1004
|
+
internalType: "bool",
|
|
1005
|
+
name: "direct",
|
|
1006
|
+
type: "bool",
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
internalType: "bool",
|
|
1010
|
+
name: "renounce",
|
|
1011
|
+
type: "bool",
|
|
1012
|
+
},
|
|
1013
|
+
],
|
|
1014
|
+
name: "transferOwnership",
|
|
1015
|
+
outputs: [],
|
|
1016
|
+
stateMutability: "nonpayable",
|
|
1017
|
+
type: "function",
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
inputs: [],
|
|
1021
|
+
name: "unpause",
|
|
1022
|
+
outputs: [],
|
|
1023
|
+
stateMutability: "nonpayable",
|
|
1024
|
+
type: "function",
|
|
1025
|
+
},
|
|
1026
|
+
{
|
|
1027
|
+
inputs: [
|
|
1028
|
+
{
|
|
1029
|
+
internalType: "uint256",
|
|
1030
|
+
name: "newSupplyCap",
|
|
1031
|
+
type: "uint256",
|
|
1032
|
+
},
|
|
1033
|
+
],
|
|
1034
|
+
name: "updateSupplyCap",
|
|
1035
|
+
outputs: [],
|
|
1036
|
+
stateMutability: "nonpayable",
|
|
1037
|
+
type: "function",
|
|
1038
|
+
},
|
|
1039
|
+
{
|
|
1040
|
+
inputs: [],
|
|
1041
|
+
name: "yieldToken",
|
|
1042
|
+
outputs: [
|
|
1043
|
+
{
|
|
1044
|
+
internalType: "address",
|
|
1045
|
+
name: "",
|
|
1046
|
+
type: "address",
|
|
1047
|
+
},
|
|
1048
|
+
],
|
|
1049
|
+
stateMutability: "view",
|
|
1050
|
+
type: "function",
|
|
1051
|
+
},
|
|
1052
|
+
{
|
|
1053
|
+
stateMutability: "payable",
|
|
1054
|
+
type: "receive",
|
|
1055
|
+
},
|
|
1056
|
+
];
|
|
1057
|
+
|
|
1058
|
+
const _bytecode =
|
|
1059
|
+
"0x60c06040523480156200001157600080fd5b5060405162002ee338038062002ee3833981016040819052620000349162000198565b8080806001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000075573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200009b9190620001ca565b60ff16608052610134805460ff191690556001600160a01b031660a05250620000c3620000ca565b50620001ef565b600154600160a81b900460ff1615620001395760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b600154600160a01b900460ff9081161462000196576001805460ff60a01b191660ff60a01b17905560405160ff81527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b600060208284031215620001ab57600080fd5b81516001600160a01b0381168114620001c357600080fd5b9392505050565b600060208284031215620001dd57600080fd5b815160ff81168114620001c357600080fd5b60805160a051612cab62000238600039600081816104130152818161070a01528181610c7901528181610dae01528181610dcf0152611a0e015260006103040152612cab6000f3fe6080604052600436106101c45760003560e01c806306fdde03146101d0578063071bc3c9146101fb578063078dfbe71461021d578063095ea7b31461023f578063128fced11461026f57806318160ddd1461029c57806320e8c565146102bf578063213cae63146101fb57806323b872dd146102d2578063313ce567146102f25780633644e515146103385780633ba0b9a91461034d5780633f4ba83a146103685780634e71e0c81461037d5780635c975abb1461039257806370a08231146103ab578063769f8e5d146103e157806376d5de8514610401578063784367d6146104425780637ecebe00146104625780638456cb591461048257806384b0196e146104975780638da5cb5b146104bf5780638f770ad0146104df57806395d89b41146104f6578063a40bee501461050b578063a9059cbb1461052f578063b8f82b261461054f578063c4f59f9b1461056f578063cbe52ae314610590578063d505accf146105b0578063da88ecb4146105d0578063dd62ed3e146105f1578063e30c397814610611578063e5a97f0714610631578063ef5cfb8c1461026f578063f8b2f991146105d0578063fa5a4f0614610442578063fe4b84df1461065157600080fd5b366101cb57005b600080fd5b3480156101dc57600080fd5b506101e5610671565b6040516101f2919061255e565b60405180910390f35b34801561020757600080fd5b50610210610703565b6040516101f29190612571565b34801561022957600080fd5b5061023d6102383660046125e8565b610733565b005b34801561024b57600080fd5b5061025f61025a366004612631565b610838565b60405190151581526020016101f2565b34801561027b57600080fd5b5061028f61028a36600461265b565b610852565b6040516101f291906126b2565b3480156102a857600080fd5b506102b161086d565b6040519081526020016101f2565b6102b16102cd3660046126c5565b61087c565b3480156102de57600080fd5b5061025f6102ed366004612707565b6109bb565b3480156102fe57600080fd5b506103267f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff90911681526020016101f2565b34801561034457600080fd5b506102b1610a39565b34801561035957600080fd5b50670de0b6b3a76400006102b1565b34801561037457600080fd5b5061023d610a43565b34801561038957600080fd5b5061023d610a77565b34801561039e57600080fd5b506101345460ff1661025f565b3480156103b757600080fd5b506102b16103c636600461265b565b6001600160a01b031660009081526002602052604090205490565b3480156103ed57600080fd5b506102b16103fc366004612743565b610b22565b34801561040d57600080fd5b506104357f000000000000000000000000000000000000000000000000000000000000000081565b6040516101f2919061279e565b34801561044e57600080fd5b5061025f61045d36600461265b565b610c77565b34801561046e57600080fd5b506102b161047d36600461265b565b610ca9565b34801561048e57600080fd5b5061023d610cc7565b3480156104a357600080fd5b506104ac610cf9565b6040516101f297969594939291906127b2565b3480156104cb57600080fd5b50600054610435906001600160a01b031681565b3480156104eb57600080fd5b506102b16101fd5481565b34801561050257600080fd5b506101e5610d97565b34801561051757600080fd5b50610520610da6565b6040516101f293929190612838565b34801561053b57600080fd5b5061025f61054a366004612631565b610e5a565b34801561055b57600080fd5b506102b161056a366004612631565b610ecc565b34801561057b57600080fd5b50604080516000815260208101909152610210565b34801561059c57600080fd5b506102b16105ab366004612631565b610f07565b3480156105bc57600080fd5b5061023d6105cb366004612889565b610f37565b3480156105dc57600080fd5b5060408051600081526020810190915261028f565b3480156105fd57600080fd5b506102b161060c3660046128f6565b61109b565b34801561061d57600080fd5b50600154610435906001600160a01b031681565b34801561063d57600080fd5b5061023d61064c366004612929565b6110c6565b34801561065d57600080fd5b5061023d61066c366004612929565b6110fc565b60606005805461068090612942565b80601f01602080910402602001604051908101604052809291908181526020018280546106ac90612942565b80156106f95780601f106106ce576101008083540402835291602001916106f9565b820191906000526020600020905b8154815290600101906020018083116106dc57829003601f168201915b5050505050905090565b606061072e7f000000000000000000000000000000000000000000000000000000000000000061127c565b905090565b6000546001600160a01b031633146107665760405162461bcd60e51b815260040161075d90612976565b60405180910390fd5b8115610817576001600160a01b0383161515806107805750805b6107c45760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b604482015260640161075d565b600080546040516001600160a01b0380871693921691600080516020612c3683398151915291a3600080546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b6000336108468185856112d7565b60019150505b92915050565b604080516000808252602082019092526060915b5092915050565b6004546001600160f81b031690565b600454600090600119600160f81b90910460ff16016108ad5760405162461bcd60e51b815260040161075d906129c1565b600480546001600160f81b0316600160f91b1790556108cb84610c77565b6108ea57836040516315d57ce360e31b815260040161075d919061279e565b8260000361090b57604051630a907f2f60e41b815260040160405180910390fd5b6109168433856113fb565b50818181101561093d578082604051635e38f95d60e11b815260040161075d9291906129f8565b6109478582611462565b836001600160a01b0316856001600160a01b0316336001600160a01b03167f5fe47ed6d4225326d3303476197d782ded5a4e9c14f479dc9ec4992af4e85d5986856040516109969291906129f8565b60405180910390a4600480546001600160f81b0316600160f81b179055949350505050565b600454600090600119600160f81b90910460ff16016109ec5760405162461bcd60e51b815260040161075d906129c1565b600480546001600160f81b0316600160f91b17905533610a0d858285611581565b610a188585856115fb565b6001915050600480546001600160f81b0316600160f81b1790559392505050565b600061072e611823565b6000546001600160a01b03163314610a6d5760405162461bcd60e51b815260040161075d90612976565b610a7561182d565b565b6001546001600160a01b0316338114610ad25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e6572604482015260640161075d565b600080546040516001600160a01b0380851693921691600080516020612c3683398151915291a3600080546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b600454600090600119600160f81b90910460ff1601610b535760405162461bcd60e51b815260040161075d906129c1565b600480546001600160f81b0316600160f91b179055610b7184610c77565b610b9057836040516388a5056160e01b815260040161075d919061279e565b84600003610bb15760405163c3d83b0760e01b815260040160405180910390fd5b8115610bc657610bc1308661187a565b610bd0565b610bd0338661187a565b610bdb868587611a07565b905082811015610c025780836040516305ff726560e51b815260040161075d9291906129f8565b836001600160a01b0316866001600160a01b0316336001600160a01b03167faee47cdf925cf525fdae94f9777ee5a06cac37e1c41220d0a8a89ed154f62d1c8885604051610c519291906129f8565b60405180910390a4600480546001600160f81b0316600160f81b17905595945050505050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0390811691161490565b6001600160a01b0381166000908152609f602052604081205461084c565b6000546001600160a01b03163314610cf15760405162461bcd60e51b815260040161075d90612976565b610a75611a34565b600060608060008060006060606b546000801b148015610d195750606c54155b610d5d5760405162461bcd60e51b81526020600482015260156024820152741152540dcc4c8e88155b9a5b9a5d1a585b1a5e9959605a1b604482015260640161075d565b610d65611a72565b610d6d611a81565b60408051600080825260208201909252600f60f81b9b939a50919850469750309650945092509050565b60606006805461068090612942565b6000806000807f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e2b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e4f9190612a06565b925092509250909192565b600454600090600119600160f81b90910460ff1601610e8b5760405162461bcd60e51b815260040161075d906129c1565b600480546001600160f81b0316600160f91b17905533610eac8185856115fb565b6001915050600480546001600160f81b0316600160f81b17905592915050565b6000610ed783610c77565b610ef657826040516315d57ce360e31b815260040161075d919061279e565b610f008383611a90565b9392505050565b6000610f1283610c77565b610f3157826040516388a5056160e01b815260040161075d919061279e565b81610f00565b83421115610f875760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e65000000604482015260640161075d565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888610fb68c611adb565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e001604051602081830303815290604052805190602001209050600061101182611b03565b9050600061102182878787611b30565b9050896001600160a01b0316816001600160a01b0316146110845760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e61747572650000604482015260640161075d565b61108f8a8a8a6112d7565b50505050505050505050565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b6000546001600160a01b031633146110f05760405162461bcd60e51b815260040161075d90612976565b6110f981611b5a565b50565b600154600160a81b900460ff1615808015611122575060018054600160a01b900460ff16105b80611149575061113130611b96565b158015611149575060018054600160a01b900460ff16145b6111ac5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161075d565b6001805460ff60a01b1916600160a01b17905580156111d9576001805460ff60a81b1916600160a81b1790555b6112286040518060400160405280600e81526020016d535920457468656e61205553446560901b8152506040518060400160405280600781526020016653592d5553446560c81b815250611ba5565b61123182611b5a565b8015611278576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6040805160018082528183019092526060916020808301908036833701905050905081816000815181106112b2576112b2612a23565b60200260200101906001600160a01b031690816001600160a01b031681525050919050565b6001600160a01b0383166113395760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161075d565b6001600160a01b03821661139a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161075d565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316611447578034146108335760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b604482015260640161075d565b8015610833576108336001600160a01b038416833084611be0565b6001600160a01b0382166114b85760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161075d565b6114c460008383611c4b565b6114cd81611c53565b600480546000906114e89084906001600160f81b0316612a4f565b92506101000a8154816001600160f81b0302191690836001600160f81b031602179055508060026000846001600160a01b03166001600160a01b0316815260200190815260200160002060008282546115419190612a6f565b90915550506040518181526001600160a01b03831690600090600080516020612c568339815191529060200160405180910390a361127860008383611c6d565b600061158d848461109b565b905060001981146115f557818110156115e85760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161075d565b6115f584848484036112d7565b50505050565b6001600160a01b03831661165f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161075d565b6001600160a01b0382166116c15760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161075d565b816001600160a01b0316836001600160a01b03160361171c5760405162461bcd60e51b815260206004820152601760248201527622a92199181d103a3930b739b332b9103a379039b2b63360491b604482015260640161075d565b611727838383611c4b565b6001600160a01b0383166000908152600260205260409020548181101561179f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161075d565b6001600160a01b038085166000908152600260205260408082208585039055918516815290812080548492906117d6908490612a6f565b92505081905550826001600160a01b0316846001600160a01b0316600080516020612c568339815191528460405161181091815260200190565b60405180910390a36115f5848484611c6d565b600061072e611cbe565b611835611d32565b610134805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b604051611870919061279e565b60405180910390a1565b6001600160a01b0382166118da5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161075d565b6118e682600083611c4b565b6001600160a01b0382166000908152600260205260409020548181101561195a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161075d565b6001600160a01b0383166000908152600260205260409020828203905561198082611c53565b6004805460009061199b9084906001600160f81b0316612a82565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555060006001600160a01b0316836001600160a01b0316600080516020612c56833981519152846040516119f391815260200190565b60405180910390a361083383600084611c6d565b60006108667f00000000000000000000000000000000000000000000000000000000000000008584611d7c565b611a3c611e40565b610134805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586118633390565b6060606d805461068090612942565b6060606e805461068090612942565b60008082611a9c61086d565b611aa69190612a6f565b6101fd5490915080821115611ad2578181604051634b344b1160e01b815260040161075d9291906129f8565b50919392505050565b6001600160a01b0381166000908152609f602052604090208054600181018255905b50919050565b600061084c611b10611823565b8360405161190160f01b8152600281019290925260228201526042902090565b6000806000611b4187878787611e87565b91509150611b4e81611f41565b5090505b949350505050565b6101fd8190556040518181527f4e44c8be34d12f1b7f56b13b4bbe97e64ca37a91916f86c73412da80c21748e29060200160405180910390a150565b6001600160a01b03163b151590565b600154600160a81b900460ff16611bce5760405162461bcd60e51b815260040161075d90612aa2565b611bd88282612086565b6112786120dc565b6040516001600160a01b03808516602483015283166044820152606481018290526115f59085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152612119565b610833611e40565b60006001600160f81b03821115611c6957600080fd5b5090565b6001600160a01b03831615611c8157505050565b6000611c8b61086d565b6101fd5490915080821115611cb7578181604051634b344b1160e01b815260040161075d9291906129f8565b5050505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f611ce96121ee565b611cf1612247565b60408051602081019490945283019190915260608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b6101345460ff16610a755760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015260640161075d565b80600003611d8957505050565b6001600160a01b038316611e2c576000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611de4576040519150601f19603f3d011682016040523d82523d6000602084013e611de9565b606091505b50509050806115f55760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b604482015260640161075d565b6108336001600160a01b0384168383612278565b6101345460ff1615610a755760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640161075d565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b03831115611eb45750600090506003611f38565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611f08573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611f3157600060019250925050611f38565b9150600090505b94509492505050565b6000816004811115611f5557611f55612822565b03611f5d5750565b6001816004811115611f7157611f71612822565b03611fb95760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b604482015260640161075d565b6002816004811115611fcd57611fcd612822565b0361201a5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161075d565b600381600481111561202e5761202e612822565b036110f95760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161075d565b600154600160a81b900460ff166120af5760405162461bcd60e51b815260040161075d90612aa2565b6120b982826122a8565b61127882604051806040016040528060018152602001603160f81b815250612304565b600154600160a81b900460ff166121055760405162461bcd60e51b815260040161075d90612aa2565b600080546001600160a01b03191633179055565b600061216e826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166123379092919063ffffffff16565b905080516000148061218f57508080602001905181019061218f9190612aed565b6108335760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161075d565b6000806121f9611a72565b805190915015612210578051602090910120919050565b606b54801561221f5792915050565b7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4709250505090565b600080612252611a81565b805190915015612269578051602090910120919050565b606c54801561221f5792915050565b6040516001600160a01b03831660248201526044810182905261083390849063a9059cbb60e01b90606401611c14565b600154600160a81b900460ff166122d15760405162461bcd60e51b815260040161075d90612aa2565b60056122dd8382612b5a565b5060066122ea8282612b5a565b5050600480546001600160f81b0316600160f81b17905550565b600154600160a81b900460ff1661232d5760405162461bcd60e51b815260040161075d90612aa2565b6112788282612346565b6060611b528484600085612397565b600154600160a81b900460ff1661236f5760405162461bcd60e51b815260040161075d90612aa2565b606d61237b8382612b5a565b50606e6123888282612b5a565b50506000606b819055606c5550565b6060824710156123f85760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161075d565b600080866001600160a01b031685876040516124149190612c19565b60006040518083038185875af1925050503d8060008114612451576040519150601f19603f3d011682016040523d82523d6000602084013e612456565b606091505b509150915061246787838387612472565b979650505050505050565b606083156124df5782516000036124d85761248c85611b96565b6124d85760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161075d565b5081611b52565b611b5283838151156124f45781518083602001fd5b8060405162461bcd60e51b815260040161075d919061255e565b60005b83811015612529578181015183820152602001612511565b50506000910152565b6000815180845261254a81602086016020860161250e565b601f01601f19169290920160200192915050565b602081526000610f006020830184612532565b6020808252825182820181905260009190848201906040850190845b818110156125b25783516001600160a01b03168352928401929184019160010161258d565b50909695505050505050565b80356001600160a01b03811681146125d557600080fd5b919050565b80151581146110f957600080fd5b6000806000606084860312156125fd57600080fd5b612606846125be565b92506020840135612616816125da565b91506040840135612626816125da565b809150509250925092565b6000806040838503121561264457600080fd5b61264d836125be565b946020939093013593505050565b60006020828403121561266d57600080fd5b610f00826125be565b60008151808452602080850194506020840160005b838110156126a75781518752958201959082019060010161268b565b509495945050505050565b602081526000610f006020830184612676565b600080600080608085870312156126db57600080fd5b6126e4856125be565b93506126f2602086016125be565b93969395505050506040820135916060013590565b60008060006060848603121561271c57600080fd5b612725846125be565b9250612733602085016125be565b9150604084013590509250925092565b600080600080600060a0868803121561275b57600080fd5b612764866125be565b945060208601359350612779604087016125be565b9250606086013591506080860135612790816125da565b809150509295509295909350565b6001600160a01b0391909116815260200190565b60ff60f81b8816815260e0602082015260006127d160e0830189612532565b82810360408401526127e38189612532565b606084018890526001600160a01b038716608085015260a0840186905283810360c085015290506128148185612676565b9a9950505050505050505050565b634e487b7160e01b600052602160045260246000fd5b606081016002851061285a57634e487b7160e01b600052602160045260246000fd5b9381526001600160a01b0392909216602083015260ff1660409091015290565b60ff811681146110f957600080fd5b600080600080600080600060e0888a0312156128a457600080fd5b6128ad886125be565b96506128bb602089016125be565b9550604088013594506060880135935060808801356128d98161287a565b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561290957600080fd5b612912836125be565b9150612920602084016125be565b90509250929050565b60006020828403121561293b57600080fd5b5035919050565b600181811c9082168061295657607f821691505b602082108103611afd57634e487b7160e01b600052602260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052604160045260246000fd5b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b918252602082015260400190565b600060208284031215612a1857600080fd5b8151610f008161287a565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6001600160f81b0381811683821601908082111561086657610866612a39565b8082018082111561084c5761084c612a39565b6001600160f81b0382811682821603908082111561086657610866612a39565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b600060208284031215612aff57600080fd5b8151610f00816125da565b601f821115610833576000816000526020600020601f850160051c81016020861015612b335750805b601f850160051c820191505b81811015612b5257828155600101612b3f565b505050505050565b81516001600160401b03811115612b7357612b736129ab565b612b8781612b818454612942565b84612b0a565b602080601f831160018114612bbc5760008415612ba45750858301515b600019600386901b1c1916600185901b178555612b52565b600085815260208120601f198616915b82811015612beb57888601518255948401946001909101908401612bcc565b5085821015612c095787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008251612c2b81846020870161250e565b919091019291505056fe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220b97d30a918731faa4527b2f695bbff0ae0454065514405907996e22c933b3a6f64736f6c63430008170033";
|
|
1060
|
+
|
|
1061
|
+
type PendleUSDEMantleSYConstructorParams =
|
|
1062
|
+
| [signer?: Signer]
|
|
1063
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
1064
|
+
|
|
1065
|
+
const isSuperArgs = (
|
|
1066
|
+
xs: PendleUSDEMantleSYConstructorParams
|
|
1067
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
1068
|
+
|
|
1069
|
+
export class PendleUSDEMantleSY__factory extends ContractFactory {
|
|
1070
|
+
constructor(...args: PendleUSDEMantleSYConstructorParams) {
|
|
1071
|
+
if (isSuperArgs(args)) {
|
|
1072
|
+
super(...args);
|
|
1073
|
+
} else {
|
|
1074
|
+
super(_abi, _bytecode, args[0]);
|
|
1075
|
+
}
|
|
1076
|
+
this.contractName = "PendleUSDEMantleSY";
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
deploy(
|
|
1080
|
+
_usde: string,
|
|
1081
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1082
|
+
): Promise<PendleUSDEMantleSY> {
|
|
1083
|
+
return super.deploy(_usde, overrides || {}) as Promise<PendleUSDEMantleSY>;
|
|
1084
|
+
}
|
|
1085
|
+
getDeployTransaction(
|
|
1086
|
+
_usde: string,
|
|
1087
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1088
|
+
): TransactionRequest {
|
|
1089
|
+
return super.getDeployTransaction(_usde, overrides || {});
|
|
1090
|
+
}
|
|
1091
|
+
attach(address: string): PendleUSDEMantleSY {
|
|
1092
|
+
return super.attach(address) as PendleUSDEMantleSY;
|
|
1093
|
+
}
|
|
1094
|
+
connect(signer: Signer): PendleUSDEMantleSY__factory {
|
|
1095
|
+
return super.connect(signer) as PendleUSDEMantleSY__factory;
|
|
1096
|
+
}
|
|
1097
|
+
static readonly contractName: "PendleUSDEMantleSY";
|
|
1098
|
+
public readonly contractName: "PendleUSDEMantleSY";
|
|
1099
|
+
static readonly bytecode = _bytecode;
|
|
1100
|
+
static readonly abi = _abi;
|
|
1101
|
+
static createInterface(): PendleUSDEMantleSYInterface {
|
|
1102
|
+
return new utils.Interface(_abi) as PendleUSDEMantleSYInterface;
|
|
1103
|
+
}
|
|
1104
|
+
static connect(
|
|
1105
|
+
address: string,
|
|
1106
|
+
signerOrProvider: Signer | Provider
|
|
1107
|
+
): PendleUSDEMantleSY {
|
|
1108
|
+
return new Contract(address, _abi, signerOrProvider) as PendleUSDEMantleSY;
|
|
1109
|
+
}
|
|
1110
|
+
}
|