@pendle/core-v2 0.6.4 → 0.6.5
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/SuperComposableYield/ISuperComposableYield.sol/ISuperComposableYield.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/ISuperComposableYield.sol/ISuperComposableYield.json +0 -13
- package/build/artifacts/contracts/SuperComposableYield/SCYUtils.sol/SCYUtils.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/implementations/IRewardManager.sol/IRewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/implementations/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/implementations/SCYBase.sol/SCYBase.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/implementations/SCYBase.sol/SCYBase.json +0 -13
- package/build/artifacts/contracts/SuperComposableYield/implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.json +0 -13
- package/build/artifacts/contracts/core/PendleBaseToken.sol/PendleBaseToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleBaseToken.sol/PendleBaseToken.json +1 -1
- package/build/artifacts/contracts/core/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleMarket.sol/PendleMarket.json +51 -56
- package/build/artifacts/contracts/core/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleMarketFactory.sol/PendleMarketFactory.json +4 -30
- package/build/artifacts/contracts/core/PendleOwnershipToken.sol/PendleOwnershipToken.dbg.json +4 -0
- package/build/artifacts/contracts/core/PendleOwnershipToken.sol/PendleOwnershipToken.json +439 -0
- package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.json +2 -2
- package/build/artifacts/contracts/core/PendleSCYImpl/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleSCYImpl/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.json +2 -20
- package/build/artifacts/contracts/core/PendleSCYImpl/AaveV3/WadRayMath.sol/WadRayMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleSCYImpl/PendleBenQiErc20SCY.sol/PendleBenQiErc20SCY.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleSCYImpl/PendleBenQiErc20SCY.sol/PendleBenQiErc20SCY.json +16 -21
- package/build/artifacts/contracts/core/PendleSCYImpl/PendleBtrflySCY.sol/PendleBtrflyScy.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleSCYImpl/PendleBtrflySCY.sol/PendleBtrflyScy.json +16 -21
- package/build/artifacts/contracts/core/PendleSCYImpl/PendleStETHSCY.sol/PendleStEthSCY.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleSCYImpl/PendleStETHSCY.sol/PendleStEthSCY.json +18 -23
- package/build/artifacts/contracts/core/PendleSCYImpl/PendleYearnVaultSCY.sol/PendleYearnVaultScy.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleSCYImpl/PendleYearnVaultSCY.sol/PendleYearnVaultScy.json +17 -22
- package/build/artifacts/contracts/core/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +7 -7
- package/build/artifacts/contracts/core/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleYieldToken.sol/PendleYieldToken.json +9 -9
- package/build/artifacts/contracts/core/RouterStatic.sol/RouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/core/RouterStatic.sol/RouterStatic.json +12 -628
- package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.json +3 -3
- package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.json +92 -128
- package/build/artifacts/contracts/core/actions/ActionRedeem.sol/PendleRouterRedeemUpg.dbg.json +4 -0
- package/build/artifacts/contracts/core/actions/ActionRedeem.sol/{ActionRedeem.json → PendleRouterRedeemUpg.json} +3 -3
- package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.json +69 -105
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndOTBase.sol/ActionSCYAndOTBase.dbg.json +4 -0
- package/build/artifacts/contracts/core/actions/base/{ActionSCYAndPTBase.sol/ActionSCYAndPTBase.json → ActionSCYAndOTBase.sol/ActionSCYAndOTBase.json} +2 -2
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndYOBase.sol/ActionSCYAndYOBase.dbg.json +4 -0
- package/build/artifacts/contracts/core/actions/base/{ActionSCYAndPYBase.sol/ActionSCYAndPYBase.json → ActionSCYAndYOBase.sol/ActionSCYAndYOBase.json} +14 -14
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndYTBase.sol/ActionSCYAndYTBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndYTBase.sol/ActionSCYAndYTBase.json +12 -12
- package/build/artifacts/contracts/core/actions/base/ActionType.sol/ActionType.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IJoePair.sol/IJoePair.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IJoeRouter01.sol/IJoeRouter01.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.json +78 -114
- package/build/artifacts/contracts/interfaces/IPActionRedeem.sol/IPActionRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.json +54 -90
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +138 -210
- package/build/artifacts/contracts/interfaces/IPBaseToken.sol/IPBaseToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +14 -14
- package/build/artifacts/contracts/interfaces/IPMarketAddRemoveCallback.sol/IPMarketAddRemoveCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketAddRemoveCallback.sol/IPMarketAddRemoveCallback.json +2 -2
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.json +1 -1
- package/build/artifacts/contracts/interfaces/IPOwnershipToken.sol/IPOwnershipToken.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/{IPPrincipalToken.sol/IPPrincipalToken.json → IPOwnershipToken.sol/IPOwnershipToken.json} +2 -2
- package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +10 -626
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.json +3 -3
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.json +5 -5
- package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWXBTRFLY.sol/IWXBTRFLY.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/JoeLibrary.sol/JoeLibrary.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/JoeLibrary.sol/JoeLibrary.json +2 -2
- package/build/artifacts/contracts/libraries/SCYIndex.sol/SCYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/SCYIndex.sol/SCYIndexLib.json +2 -2
- package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.json +2 -2
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.json +2 -2
- package/build/artifacts/contracts/libraries/math/MarketMathAux.sol/MarketMathAux.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/MarketMathAux.sol/MarketMathAux.json +2 -2
- package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.json +2 -2
- package/build/artifacts/contracts/libraries/math/Math.sol/Math.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/Math.sol/Math.json +2 -2
- package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.dbg.json +1 -1
- package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.json +3 -3
- package/build/artifacts/contracts/periphery/PendleJoeSwapHelperUpg.sol/PendleJoeSwapHelperUpg.dbg.json +1 -1
- package/build/artifacts/contracts/periphery/PermissionsV2Upg.sol/PermissionsV2Upg.dbg.json +1 -1
- package/deployments/kovan.json +21 -24
- package/package.json +1 -1
- package/typechain-types/ActionCallback.ts +5 -5
- package/typechain-types/ActionCore.ts +280 -232
- package/typechain-types/{ActionSCYAndPYBase.ts → ActionSCYAndYOBase.ts} +54 -54
- package/typechain-types/ActionSCYAndYTBase.ts +49 -49
- package/typechain-types/ActionYT.ts +140 -92
- package/typechain-types/AggregatorV2V3Interface.ts +380 -0
- package/typechain-types/BenqiChainlinkOracle.ts +362 -0
- package/typechain-types/BoringOwnable.ts +194 -0
- package/typechain-types/BoringOwnableData.ts +100 -0
- package/typechain-types/BoringOwnableUpg.ts +194 -0
- package/typechain-types/BoringOwnableUpgData.ts +100 -0
- package/typechain-types/Comptroller.ts +2860 -0
- package/typechain-types/ComptrollerErrorReporter.ts +70 -0
- package/typechain-types/ComptrollerInterface.ts +881 -0
- package/typechain-types/ComptrollerVXStorage.ts +781 -0
- package/typechain-types/CrosschainContract.ts +113 -0
- package/typechain-types/CrosschainReceiver.ts +347 -0
- package/typechain-types/CrosschainSender.ts +210 -0
- package/typechain-types/EIP20Interface.ts +337 -0
- package/typechain-types/EIP20NonStandardInterface.ts +298 -0
- package/typechain-types/ERC20Burnable.ts +473 -0
- package/typechain-types/ERC20Locker.ts +91 -0
- package/typechain-types/ERC20Premined.ts +473 -0
- package/typechain-types/ERC20PresetFixedSupply.ts +473 -0
- package/typechain-types/EpochController.ts +195 -0
- package/typechain-types/FundKeeper.ts +347 -0
- package/typechain-types/GaugeTypeControllerAbstract.ts +546 -0
- package/typechain-types/GaugeTypeControllerCrosschain.ts +733 -0
- package/typechain-types/GaugeTypeControllerMainchain.ts +604 -0
- package/typechain-types/IGaugeController.ts +99 -0
- package/typechain-types/ILiquidYieldToken.ts +639 -0
- package/typechain-types/ILiquidYieldTokenWrap.ts +790 -0
- package/typechain-types/IMessageBus.ts +543 -0
- package/typechain-types/IMessageReceiverApp.ts +110 -0
- package/typechain-types/IPActionCore.ts +231 -183
- package/typechain-types/IPActionYT.ts +91 -43
- package/typechain-types/IPAllAction.ts +322 -204
- package/typechain-types/IPFlashCallback.ts +115 -0
- package/typechain-types/IPLiquidYieldToken.ts +641 -0
- package/typechain-types/IPMarket.ts +55 -55
- package/typechain-types/IPMarketAddRemoveCallback.ts +10 -10
- package/typechain-types/IPMarketCallback.ts +107 -0
- package/typechain-types/IPMarketFactory.ts +3 -3
- package/typechain-types/IPMarketSwapCallback.ts +5 -5
- package/typechain-types/{IPPrincipalToken.ts → IPOwnershipToken.ts} +5 -5
- package/typechain-types/IPRouterCore.ts +769 -0
- package/typechain-types/IPRouterRedeem.ts +155 -0
- package/typechain-types/IPRouterStatic.ts +49 -529
- package/typechain-types/IPRouterYT.ts +489 -0
- package/typechain-types/IPYieldContractFactory.ts +19 -19
- package/typechain-types/IPYieldToken.ts +29 -29
- package/typechain-types/IPermissionsV2.ts +87 -0
- package/typechain-types/IRainbowBridge.ts +91 -0
- package/typechain-types/ISCYRewardIndex.ts +695 -0
- package/typechain-types/ISuperComposableYield.ts +0 -13
- package/typechain-types/IVEPendleToken.ts +121 -0
- package/typechain-types/IXPendle.ts +114 -0
- package/typechain-types/InterestRateModel.ts +178 -0
- package/typechain-types/JumpRateModel.ts +347 -0
- package/typechain-types/LYTBase.ts +721 -0
- package/typechain-types/LYTBaseWithRewards.ts +806 -0
- package/typechain-types/LYTWrap.ts +872 -0
- package/typechain-types/LYTWrapWithRewards.ts +979 -0
- package/typechain-types/LiquidityMining.ts +468 -0
- package/typechain-types/Maximillion.ts +145 -0
- package/typechain-types/Ownable.ts +160 -0
- package/typechain-types/PendleAaveV3LYT.ts +808 -0
- package/typechain-types/PendleAaveV3SCY.ts +0 -13
- package/typechain-types/PendleBaseToken.ts +1 -1
- package/typechain-types/PendleBenQiErc20LYT.ts +901 -0
- package/typechain-types/PendleBenQiErc20SCY.ts +20 -14
- package/typechain-types/PendleBenqiLiquidYieldToken.ts +1013 -0
- package/typechain-types/PendleBtrflyLYT.ts +781 -0
- package/typechain-types/PendleBtrflyScy.ts +20 -14
- package/typechain-types/PendleGauge.ts +469 -0
- package/typechain-types/PendleGovernanceManager.ts +5 -5
- package/typechain-types/PendleJoeSwapHelper.ts +92 -0
- package/typechain-types/PendleLYTMockYT.ts +894 -0
- package/typechain-types/PendleLiquidYieldToken.ts +814 -0
- package/typechain-types/PendleLiquidYieldTokenBase.ts +941 -0
- package/typechain-types/PendleMarket.ts +105 -102
- package/typechain-types/PendleMarketFactory.ts +8 -48
- package/typechain-types/{PendlePrincipalToken.ts → PendleOwnershipToken.ts} +6 -15
- package/typechain-types/PendleRouter01.ts +184 -0
- package/typechain-types/PendleRouter02.ts +564 -0
- package/typechain-types/PendleRouter03.ts +224 -0
- package/typechain-types/PendleRouterBase.ts +126 -0
- package/typechain-types/PendleRouterCore.ts +328 -0
- package/typechain-types/PendleRouterCoreUpg.ts +798 -0
- package/typechain-types/PendleRouterLytAndForge.ts +331 -0
- package/typechain-types/PendleRouterMarketBase.ts +82 -0
- package/typechain-types/PendleRouterOT.ts +463 -0
- package/typechain-types/PendleRouterProxy.ts +335 -0
- package/typechain-types/PendleRouterRawTokenOT.ts +865 -0
- package/typechain-types/PendleRouterRawTokenYT.ts +520 -0
- package/typechain-types/{ActionRedeem.ts → PendleRouterRedeemUpg.ts} +5 -5
- package/typechain-types/PendleRouterSCYAndForgeBaseUpg.ts +98 -0
- package/typechain-types/PendleRouterStaticUpg.ts +399 -0
- package/typechain-types/PendleRouterYT.ts +227 -0
- package/typechain-types/PendleRouterYTBaseUpg.ts +134 -0
- package/typechain-types/PendleRouterYTUpg.ts +537 -0
- package/typechain-types/PendleStEthSCY.ts +23 -15
- package/typechain-types/PendleYTLYTBenqi.ts +863 -0
- package/typechain-types/PendleYearnVaultLYT.ts +723 -0
- package/typechain-types/PendleYearnVaultScy.ts +23 -15
- package/typechain-types/PendleYieldContractFactory.ts +28 -28
- package/typechain-types/PendleYieldToken.ts +30 -30
- package/typechain-types/PermissionsV2.ts +87 -0
- package/typechain-types/PermlessAbstract.ts +57 -0
- package/typechain-types/PglStakingContract.ts +662 -0
- package/typechain-types/PglStakingContractProxy.ts +256 -0
- package/typechain-types/PglStakingContractProxyStorage.ts +136 -0
- package/typechain-types/PglStakingContractStorage.ts +397 -0
- package/typechain-types/PriceOracle.ts +116 -0
- package/typechain-types/ProtocolFakeUser.ts +105 -0
- package/typechain-types/Qi.ts +760 -0
- package/typechain-types/QiAvax.ts +1720 -0
- package/typechain-types/QiDelegateInterface.ts +145 -0
- package/typechain-types/QiDelegationStorage.ts +82 -0
- package/typechain-types/QiDelegatorInterface.ts +149 -0
- package/typechain-types/QiErc20.ts +1846 -0
- package/typechain-types/QiErc20Delegate.ts +1926 -0
- package/typechain-types/QiErc20Delegator.ts +1885 -0
- package/typechain-types/QiErc20Interface.ts +382 -0
- package/typechain-types/QiErc20Storage.ts +79 -0
- package/typechain-types/QiToken.ts +1475 -0
- package/typechain-types/QiTokenInterface.ts +1419 -0
- package/typechain-types/QiTokenSaleDistributor.ts +771 -0
- package/typechain-types/QiTokenSaleDistributorProxy.ts +256 -0
- package/typechain-types/QiTokenSaleDistributorProxyStorage.ts +136 -0
- package/typechain-types/QiTokenSaleDistributorStorage.ts +401 -0
- package/typechain-types/QiTokenStorage.ts +311 -0
- package/typechain-types/ReentrancyGuard.ts +52 -0
- package/typechain-types/RouterStatic.ts +49 -529
- package/typechain-types/SCYBase.ts +0 -13
- package/typechain-types/SCYBaseWithRewards.ts +0 -13
- package/typechain-types/SingleGaugeTypeController.ts +478 -0
- package/typechain-types/TokenErrorReporter.ts +70 -0
- package/typechain-types/Unitroller.ts +356 -0
- package/typechain-types/UnitrollerAdminStorage.ts +143 -0
- package/typechain-types/VePendle.ts +1156 -0
- package/typechain-types/VePendleCrosschain.ts +969 -0
- package/typechain-types/VePendleToken.ts +688 -0
- package/typechain-types/VotingController.ts +883 -0
- package/typechain-types/WETH9.ts +414 -0
- package/typechain-types/WhitePaperInterestRateModel.ts +304 -0
- package/typechain-types/XPendle.ts +618 -0
- package/typechain-types/factories/ActionCallback__factory.ts +2 -2
- package/typechain-types/factories/ActionCore__factory.ts +91 -127
- package/typechain-types/factories/{ActionSCYAndPYBase__factory.ts → ActionSCYAndYOBase__factory.ts} +20 -20
- package/typechain-types/factories/ActionSCYAndYTBase__factory.ts +12 -12
- package/typechain-types/factories/ActionYT__factory.ts +68 -104
- package/typechain-types/factories/AggregatorV2V3Interface__factory.ts +288 -0
- package/typechain-types/factories/BenqiChainlinkOracle__factory.ts +311 -0
- package/typechain-types/factories/BoringOwnableData__factory.ts +90 -0
- package/typechain-types/factories/BoringOwnableUpgData__factory.ts +94 -0
- package/typechain-types/factories/BoringOwnableUpg__factory.ts +139 -0
- package/typechain-types/factories/BoringOwnable__factory.ts +149 -0
- package/typechain-types/factories/ComptrollerErrorReporter__factory.ts +93 -0
- package/typechain-types/factories/ComptrollerInterface__factory.ts +595 -0
- package/typechain-types/factories/ComptrollerVXStorage__factory.ts +610 -0
- package/typechain-types/factories/Comptroller__factory.ts +2189 -0
- package/typechain-types/factories/CrosschainContract__factory.ts +52 -0
- package/typechain-types/factories/CrosschainReceiver__factory.ts +187 -0
- package/typechain-types/factories/CrosschainSender__factory.ts +104 -0
- package/typechain-types/factories/EIP20Interface__factory.ts +248 -0
- package/typechain-types/factories/EIP20NonStandardInterface__factory.ts +213 -0
- package/typechain-types/factories/ERC20Burnable__factory.ts +324 -0
- package/typechain-types/factories/ERC20Locker__factory.ts +73 -0
- package/typechain-types/factories/ERC20Premined__factory.ts +393 -0
- package/typechain-types/factories/ERC20PresetFixedSupply__factory.ts +422 -0
- package/typechain-types/factories/EpochController__factory.ts +170 -0
- package/typechain-types/factories/FundKeeper__factory.ts +212 -0
- package/typechain-types/factories/GaugeTypeControllerAbstract__factory.ts +387 -0
- package/typechain-types/factories/GaugeTypeControllerCrosschain__factory.ts +522 -0
- package/typechain-types/factories/GaugeTypeControllerMainchain__factory.ts +431 -0
- package/typechain-types/factories/IGaugeController__factory.ts +45 -0
- package/typechain-types/factories/ILiquidYieldTokenWrap__factory.ts +533 -0
- package/typechain-types/factories/ILiquidYieldToken__factory.ts +429 -0
- package/typechain-types/factories/IMessageBus__factory.ts +396 -0
- package/typechain-types/factories/IMessageReceiverApp__factory.ts +55 -0
- package/typechain-types/factories/IPActionCore__factory.ts +78 -114
- package/typechain-types/factories/IPActionYT__factory.ts +54 -90
- package/typechain-types/factories/IPAllAction__factory.ts +138 -210
- package/typechain-types/factories/IPFlashCallback__factory.ts +49 -0
- package/typechain-types/factories/IPLiquidYieldToken__factory.ts +433 -0
- package/typechain-types/factories/IPMarketAddRemoveCallback__factory.ts +2 -2
- package/typechain-types/factories/IPMarketCallback__factory.ts +55 -0
- package/typechain-types/factories/IPMarketFactory__factory.ts +1 -1
- package/typechain-types/factories/IPMarketSwapCallback__factory.ts +1 -1
- package/typechain-types/factories/IPMarket__factory.ts +14 -14
- package/typechain-types/factories/{IPPrincipalToken__factory.ts → IPOwnershipToken__factory.ts} +8 -8
- package/typechain-types/factories/IPRouterCore__factory.ts +531 -0
- package/typechain-types/factories/IPRouterRedeem__factory.ts +72 -0
- package/typechain-types/factories/IPRouterStatic__factory.ts +10 -626
- package/typechain-types/factories/IPRouterYT__factory.ts +305 -0
- package/typechain-types/factories/IPYieldContractFactory__factory.ts +3 -3
- package/typechain-types/factories/IPYieldToken__factory.ts +5 -5
- package/typechain-types/factories/IPermissionsV2__factory.ts +39 -0
- package/typechain-types/factories/IRainbowBridge__factory.ts +76 -0
- package/typechain-types/factories/ISCYRewardIndex__factory.ts +465 -0
- package/typechain-types/factories/ISuperComposableYield__factory.ts +0 -13
- package/typechain-types/factories/IVEPendleToken__factory.ts +71 -0
- package/typechain-types/factories/IXPendle__factory.ts +61 -0
- package/typechain-types/factories/InterestRateModel__factory.ts +108 -0
- package/typechain-types/factories/JumpRateModel__factory.ts +334 -0
- package/typechain-types/factories/LYTBaseWithRewards__factory.ts +530 -0
- package/typechain-types/factories/LYTBase__factory.ts +474 -0
- package/typechain-types/factories/LYTWrapWithRewards__factory.ts +643 -0
- package/typechain-types/factories/LYTWrap__factory.ts +574 -0
- package/typechain-types/factories/LiquidityMining__factory.ts +367 -0
- package/typechain-types/factories/Maximillion__factory.ts +125 -0
- package/typechain-types/factories/Ownable__factory.ts +75 -0
- package/typechain-types/factories/PendleAaveV3LYT__factory.ts +657 -0
- package/typechain-types/factories/PendleAaveV3SCY__factory.ts +1 -24
- package/typechain-types/factories/PendleBaseToken__factory.ts +1 -1
- package/typechain-types/factories/PendleBenQiErc20LYT__factory.ts +748 -0
- package/typechain-types/factories/PendleBenQiErc20SCY__factory.ts +15 -25
- package/typechain-types/factories/PendleBenqiLiquidYieldToken__factory.ts +785 -0
- package/typechain-types/factories/PendleBtrflyLYT__factory.ts +647 -0
- package/typechain-types/factories/PendleBtrflyScy__factory.ts +15 -25
- package/typechain-types/factories/PendleGauge__factory.ts +383 -0
- package/typechain-types/factories/PendleGovernanceManager__factory.ts +2 -2
- package/typechain-types/factories/PendleJoeSwapHelper__factory.ts +52 -0
- package/typechain-types/factories/PendleLYTMockYT__factory.ts +732 -0
- package/typechain-types/factories/PendleLiquidYieldTokenBase__factory.ts +603 -0
- package/typechain-types/factories/PendleLiquidYieldToken__factory.ts +510 -0
- package/typechain-types/factories/PendleMarketFactory__factory.ts +3 -29
- package/typechain-types/factories/PendleMarket__factory.ts +54 -59
- package/typechain-types/factories/PendleOwnershipToken__factory.ts +527 -0
- package/typechain-types/factories/PendleRouter01__factory.ts +152 -0
- package/typechain-types/factories/PendleRouter02__factory.ts +438 -0
- package/typechain-types/factories/PendleRouter03__factory.ts +190 -0
- package/typechain-types/factories/PendleRouterBase__factory.ts +68 -0
- package/typechain-types/factories/PendleRouterCoreUpg__factory.ts +635 -0
- package/typechain-types/factories/PendleRouterCore__factory.ts +268 -0
- package/typechain-types/factories/PendleRouterLytAndForge__factory.ts +294 -0
- package/typechain-types/factories/PendleRouterMarketBase__factory.ts +43 -0
- package/typechain-types/factories/PendleRouterOT__factory.ts +372 -0
- package/typechain-types/factories/PendleRouterProxy__factory.ts +285 -0
- package/typechain-types/factories/PendleRouterRawTokenOT__factory.ts +697 -0
- package/typechain-types/factories/PendleRouterRawTokenYT__factory.ts +431 -0
- package/typechain-types/factories/{ActionRedeem__factory.ts → PendleRouterRedeemUpg__factory.ts} +26 -19
- package/typechain-types/factories/PendleRouterSCYAndForgeBaseUpg__factory.ts +56 -0
- package/typechain-types/factories/PendleRouterStaticUpg__factory.ts +315 -0
- package/typechain-types/factories/PendleRouterYTBaseUpg__factory.ts +66 -0
- package/typechain-types/factories/PendleRouterYTUpg__factory.ts +422 -0
- package/typechain-types/factories/PendleRouterYT__factory.ts +184 -0
- package/typechain-types/factories/PendleRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleStEthSCY__factory.ts +17 -27
- package/typechain-types/factories/PendleYTLYTBenqi__factory.ts +713 -0
- package/typechain-types/factories/PendleYearnVaultLYT__factory.ts +586 -0
- package/typechain-types/factories/PendleYearnVaultScy__factory.ts +16 -26
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +6 -6
- package/typechain-types/factories/PendleYieldToken__factory.ts +12 -12
- package/typechain-types/factories/PermissionsV2__factory.ts +36 -0
- package/typechain-types/factories/PermlessAbstract__factory.ts +30 -0
- package/typechain-types/factories/PglStakingContractProxyStorage__factory.ts +130 -0
- package/typechain-types/factories/PglStakingContractProxy__factory.ts +187 -0
- package/typechain-types/factories/PglStakingContractStorage__factory.ts +309 -0
- package/typechain-types/factories/PglStakingContract__factory.ts +446 -0
- package/typechain-types/factories/PriceOracle__factory.ts +59 -0
- package/typechain-types/factories/ProtocolFakeUser__factory.ts +87 -0
- package/typechain-types/factories/QiAvax__factory.ts +1471 -0
- package/typechain-types/factories/QiDelegateInterface__factory.ts +65 -0
- package/typechain-types/factories/QiDelegationStorage__factory.ts +79 -0
- package/typechain-types/factories/QiDelegatorInterface__factory.ts +89 -0
- package/typechain-types/factories/QiErc20Delegate__factory.ts +1563 -0
- package/typechain-types/factories/QiErc20Delegator__factory.ts +1648 -0
- package/typechain-types/factories/QiErc20Interface__factory.ts +239 -0
- package/typechain-types/factories/QiErc20Storage__factory.ts +79 -0
- package/typechain-types/factories/QiErc20__factory.ts +1515 -0
- package/typechain-types/factories/QiTokenInterface__factory.ts +1182 -0
- package/typechain-types/factories/QiTokenSaleDistributorProxyStorage__factory.ts +124 -0
- package/typechain-types/factories/QiTokenSaleDistributorProxy__factory.ts +171 -0
- package/typechain-types/factories/QiTokenSaleDistributorStorage__factory.ts +289 -0
- package/typechain-types/factories/QiTokenSaleDistributor__factory.ts +480 -0
- package/typechain-types/factories/QiTokenStorage__factory.ts +274 -0
- package/typechain-types/factories/QiToken__factory.ts +1219 -0
- package/typechain-types/factories/Qi__factory.ts +648 -0
- package/typechain-types/factories/ReentrancyGuard__factory.ts +69 -0
- package/typechain-types/factories/RouterStatic__factory.ts +11 -627
- package/typechain-types/factories/SCYBaseWithRewards__factory.ts +0 -13
- package/typechain-types/factories/SCYBase__factory.ts +0 -13
- package/typechain-types/factories/SingleGaugeTypeController__factory.ts +341 -0
- package/typechain-types/factories/TokenErrorReporter__factory.ts +89 -0
- package/typechain-types/factories/UnitrollerAdminStorage__factory.ts +128 -0
- package/typechain-types/factories/Unitroller__factory.ts +305 -0
- package/typechain-types/factories/VePendleCrosschain__factory.ts +727 -0
- package/typechain-types/factories/VePendleToken__factory.ts +494 -0
- package/typechain-types/factories/VePendle__factory.ts +800 -0
- package/typechain-types/factories/VotingController__factory.ts +610 -0
- package/typechain-types/factories/WETH9__factory.ts +342 -0
- package/typechain-types/factories/WhitePaperInterestRateModel__factory.ts +281 -0
- package/typechain-types/factories/XPendle__factory.ts +473 -0
- package/typechain-types/hardhat.d.ts +20 -20
- package/typechain-types/index.ts +8 -8
- package/build/artifacts/contracts/core/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +0 -4
- package/build/artifacts/contracts/core/PendlePrincipalToken.sol/PendlePrincipalToken.json +0 -452
- package/build/artifacts/contracts/core/actions/ActionRedeem.sol/ActionRedeem.dbg.json +0 -4
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndPTBase.sol/ActionSCYAndPTBase.dbg.json +0 -4
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndPYBase.sol/ActionSCYAndPYBase.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +0 -4
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +0 -540
|
@@ -1,540 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import {
|
|
5
|
-
Signer,
|
|
6
|
-
utils,
|
|
7
|
-
Contract,
|
|
8
|
-
ContractFactory,
|
|
9
|
-
Overrides,
|
|
10
|
-
BigNumberish,
|
|
11
|
-
} from "ethers";
|
|
12
|
-
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
13
|
-
import type {
|
|
14
|
-
PendlePrincipalToken,
|
|
15
|
-
PendlePrincipalTokenInterface,
|
|
16
|
-
} from "../PendlePrincipalToken";
|
|
17
|
-
|
|
18
|
-
const _abi = [
|
|
19
|
-
{
|
|
20
|
-
inputs: [
|
|
21
|
-
{
|
|
22
|
-
internalType: "address",
|
|
23
|
-
name: "_SCY",
|
|
24
|
-
type: "address",
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
internalType: "string",
|
|
28
|
-
name: "_name",
|
|
29
|
-
type: "string",
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
internalType: "string",
|
|
33
|
-
name: "_symbol",
|
|
34
|
-
type: "string",
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
internalType: "uint8",
|
|
38
|
-
name: "__decimals",
|
|
39
|
-
type: "uint8",
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
internalType: "uint256",
|
|
43
|
-
name: "_expiry",
|
|
44
|
-
type: "uint256",
|
|
45
|
-
},
|
|
46
|
-
],
|
|
47
|
-
stateMutability: "nonpayable",
|
|
48
|
-
type: "constructor",
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
anonymous: false,
|
|
52
|
-
inputs: [
|
|
53
|
-
{
|
|
54
|
-
indexed: true,
|
|
55
|
-
internalType: "address",
|
|
56
|
-
name: "owner",
|
|
57
|
-
type: "address",
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
indexed: true,
|
|
61
|
-
internalType: "address",
|
|
62
|
-
name: "spender",
|
|
63
|
-
type: "address",
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
indexed: false,
|
|
67
|
-
internalType: "uint256",
|
|
68
|
-
name: "value",
|
|
69
|
-
type: "uint256",
|
|
70
|
-
},
|
|
71
|
-
],
|
|
72
|
-
name: "Approval",
|
|
73
|
-
type: "event",
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
anonymous: false,
|
|
77
|
-
inputs: [
|
|
78
|
-
{
|
|
79
|
-
indexed: true,
|
|
80
|
-
internalType: "address",
|
|
81
|
-
name: "from",
|
|
82
|
-
type: "address",
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
indexed: true,
|
|
86
|
-
internalType: "address",
|
|
87
|
-
name: "to",
|
|
88
|
-
type: "address",
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
indexed: false,
|
|
92
|
-
internalType: "uint256",
|
|
93
|
-
name: "value",
|
|
94
|
-
type: "uint256",
|
|
95
|
-
},
|
|
96
|
-
],
|
|
97
|
-
name: "Transfer",
|
|
98
|
-
type: "event",
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
anonymous: false,
|
|
102
|
-
inputs: [
|
|
103
|
-
{
|
|
104
|
-
indexed: true,
|
|
105
|
-
internalType: "address",
|
|
106
|
-
name: "YT",
|
|
107
|
-
type: "address",
|
|
108
|
-
},
|
|
109
|
-
],
|
|
110
|
-
name: "YTSet",
|
|
111
|
-
type: "event",
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
inputs: [],
|
|
115
|
-
name: "SCY",
|
|
116
|
-
outputs: [
|
|
117
|
-
{
|
|
118
|
-
internalType: "address",
|
|
119
|
-
name: "",
|
|
120
|
-
type: "address",
|
|
121
|
-
},
|
|
122
|
-
],
|
|
123
|
-
stateMutability: "view",
|
|
124
|
-
type: "function",
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
inputs: [],
|
|
128
|
-
name: "YT",
|
|
129
|
-
outputs: [
|
|
130
|
-
{
|
|
131
|
-
internalType: "address",
|
|
132
|
-
name: "",
|
|
133
|
-
type: "address",
|
|
134
|
-
},
|
|
135
|
-
],
|
|
136
|
-
stateMutability: "view",
|
|
137
|
-
type: "function",
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
inputs: [
|
|
141
|
-
{
|
|
142
|
-
internalType: "address",
|
|
143
|
-
name: "owner",
|
|
144
|
-
type: "address",
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
internalType: "address",
|
|
148
|
-
name: "spender",
|
|
149
|
-
type: "address",
|
|
150
|
-
},
|
|
151
|
-
],
|
|
152
|
-
name: "allowance",
|
|
153
|
-
outputs: [
|
|
154
|
-
{
|
|
155
|
-
internalType: "uint256",
|
|
156
|
-
name: "",
|
|
157
|
-
type: "uint256",
|
|
158
|
-
},
|
|
159
|
-
],
|
|
160
|
-
stateMutability: "view",
|
|
161
|
-
type: "function",
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
inputs: [
|
|
165
|
-
{
|
|
166
|
-
internalType: "address",
|
|
167
|
-
name: "spender",
|
|
168
|
-
type: "address",
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
internalType: "uint256",
|
|
172
|
-
name: "amount",
|
|
173
|
-
type: "uint256",
|
|
174
|
-
},
|
|
175
|
-
],
|
|
176
|
-
name: "approve",
|
|
177
|
-
outputs: [
|
|
178
|
-
{
|
|
179
|
-
internalType: "bool",
|
|
180
|
-
name: "",
|
|
181
|
-
type: "bool",
|
|
182
|
-
},
|
|
183
|
-
],
|
|
184
|
-
stateMutability: "nonpayable",
|
|
185
|
-
type: "function",
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
inputs: [
|
|
189
|
-
{
|
|
190
|
-
internalType: "address",
|
|
191
|
-
name: "account",
|
|
192
|
-
type: "address",
|
|
193
|
-
},
|
|
194
|
-
],
|
|
195
|
-
name: "balanceOf",
|
|
196
|
-
outputs: [
|
|
197
|
-
{
|
|
198
|
-
internalType: "uint256",
|
|
199
|
-
name: "",
|
|
200
|
-
type: "uint256",
|
|
201
|
-
},
|
|
202
|
-
],
|
|
203
|
-
stateMutability: "view",
|
|
204
|
-
type: "function",
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
inputs: [
|
|
208
|
-
{
|
|
209
|
-
internalType: "address",
|
|
210
|
-
name: "user",
|
|
211
|
-
type: "address",
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
internalType: "uint256",
|
|
215
|
-
name: "amount",
|
|
216
|
-
type: "uint256",
|
|
217
|
-
},
|
|
218
|
-
],
|
|
219
|
-
name: "burnByYT",
|
|
220
|
-
outputs: [],
|
|
221
|
-
stateMutability: "nonpayable",
|
|
222
|
-
type: "function",
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
inputs: [],
|
|
226
|
-
name: "decimals",
|
|
227
|
-
outputs: [
|
|
228
|
-
{
|
|
229
|
-
internalType: "uint8",
|
|
230
|
-
name: "",
|
|
231
|
-
type: "uint8",
|
|
232
|
-
},
|
|
233
|
-
],
|
|
234
|
-
stateMutability: "view",
|
|
235
|
-
type: "function",
|
|
236
|
-
},
|
|
237
|
-
{
|
|
238
|
-
inputs: [
|
|
239
|
-
{
|
|
240
|
-
internalType: "address",
|
|
241
|
-
name: "spender",
|
|
242
|
-
type: "address",
|
|
243
|
-
},
|
|
244
|
-
{
|
|
245
|
-
internalType: "uint256",
|
|
246
|
-
name: "subtractedValue",
|
|
247
|
-
type: "uint256",
|
|
248
|
-
},
|
|
249
|
-
],
|
|
250
|
-
name: "decreaseAllowance",
|
|
251
|
-
outputs: [
|
|
252
|
-
{
|
|
253
|
-
internalType: "bool",
|
|
254
|
-
name: "",
|
|
255
|
-
type: "bool",
|
|
256
|
-
},
|
|
257
|
-
],
|
|
258
|
-
stateMutability: "nonpayable",
|
|
259
|
-
type: "function",
|
|
260
|
-
},
|
|
261
|
-
{
|
|
262
|
-
inputs: [],
|
|
263
|
-
name: "expiry",
|
|
264
|
-
outputs: [
|
|
265
|
-
{
|
|
266
|
-
internalType: "uint256",
|
|
267
|
-
name: "",
|
|
268
|
-
type: "uint256",
|
|
269
|
-
},
|
|
270
|
-
],
|
|
271
|
-
stateMutability: "view",
|
|
272
|
-
type: "function",
|
|
273
|
-
},
|
|
274
|
-
{
|
|
275
|
-
inputs: [],
|
|
276
|
-
name: "factory",
|
|
277
|
-
outputs: [
|
|
278
|
-
{
|
|
279
|
-
internalType: "address",
|
|
280
|
-
name: "",
|
|
281
|
-
type: "address",
|
|
282
|
-
},
|
|
283
|
-
],
|
|
284
|
-
stateMutability: "view",
|
|
285
|
-
type: "function",
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
inputs: [
|
|
289
|
-
{
|
|
290
|
-
internalType: "address",
|
|
291
|
-
name: "spender",
|
|
292
|
-
type: "address",
|
|
293
|
-
},
|
|
294
|
-
{
|
|
295
|
-
internalType: "uint256",
|
|
296
|
-
name: "addedValue",
|
|
297
|
-
type: "uint256",
|
|
298
|
-
},
|
|
299
|
-
],
|
|
300
|
-
name: "increaseAllowance",
|
|
301
|
-
outputs: [
|
|
302
|
-
{
|
|
303
|
-
internalType: "bool",
|
|
304
|
-
name: "",
|
|
305
|
-
type: "bool",
|
|
306
|
-
},
|
|
307
|
-
],
|
|
308
|
-
stateMutability: "nonpayable",
|
|
309
|
-
type: "function",
|
|
310
|
-
},
|
|
311
|
-
{
|
|
312
|
-
inputs: [
|
|
313
|
-
{
|
|
314
|
-
internalType: "address",
|
|
315
|
-
name: "_YT",
|
|
316
|
-
type: "address",
|
|
317
|
-
},
|
|
318
|
-
],
|
|
319
|
-
name: "initialize",
|
|
320
|
-
outputs: [],
|
|
321
|
-
stateMutability: "nonpayable",
|
|
322
|
-
type: "function",
|
|
323
|
-
},
|
|
324
|
-
{
|
|
325
|
-
inputs: [],
|
|
326
|
-
name: "isExpired",
|
|
327
|
-
outputs: [
|
|
328
|
-
{
|
|
329
|
-
internalType: "bool",
|
|
330
|
-
name: "",
|
|
331
|
-
type: "bool",
|
|
332
|
-
},
|
|
333
|
-
],
|
|
334
|
-
stateMutability: "view",
|
|
335
|
-
type: "function",
|
|
336
|
-
},
|
|
337
|
-
{
|
|
338
|
-
inputs: [
|
|
339
|
-
{
|
|
340
|
-
internalType: "address",
|
|
341
|
-
name: "user",
|
|
342
|
-
type: "address",
|
|
343
|
-
},
|
|
344
|
-
{
|
|
345
|
-
internalType: "uint256",
|
|
346
|
-
name: "amount",
|
|
347
|
-
type: "uint256",
|
|
348
|
-
},
|
|
349
|
-
],
|
|
350
|
-
name: "mintByYT",
|
|
351
|
-
outputs: [],
|
|
352
|
-
stateMutability: "nonpayable",
|
|
353
|
-
type: "function",
|
|
354
|
-
},
|
|
355
|
-
{
|
|
356
|
-
inputs: [],
|
|
357
|
-
name: "name",
|
|
358
|
-
outputs: [
|
|
359
|
-
{
|
|
360
|
-
internalType: "string",
|
|
361
|
-
name: "",
|
|
362
|
-
type: "string",
|
|
363
|
-
},
|
|
364
|
-
],
|
|
365
|
-
stateMutability: "view",
|
|
366
|
-
type: "function",
|
|
367
|
-
},
|
|
368
|
-
{
|
|
369
|
-
inputs: [],
|
|
370
|
-
name: "symbol",
|
|
371
|
-
outputs: [
|
|
372
|
-
{
|
|
373
|
-
internalType: "string",
|
|
374
|
-
name: "",
|
|
375
|
-
type: "string",
|
|
376
|
-
},
|
|
377
|
-
],
|
|
378
|
-
stateMutability: "view",
|
|
379
|
-
type: "function",
|
|
380
|
-
},
|
|
381
|
-
{
|
|
382
|
-
inputs: [],
|
|
383
|
-
name: "timeCreated",
|
|
384
|
-
outputs: [
|
|
385
|
-
{
|
|
386
|
-
internalType: "uint256",
|
|
387
|
-
name: "",
|
|
388
|
-
type: "uint256",
|
|
389
|
-
},
|
|
390
|
-
],
|
|
391
|
-
stateMutability: "view",
|
|
392
|
-
type: "function",
|
|
393
|
-
},
|
|
394
|
-
{
|
|
395
|
-
inputs: [],
|
|
396
|
-
name: "totalSupply",
|
|
397
|
-
outputs: [
|
|
398
|
-
{
|
|
399
|
-
internalType: "uint256",
|
|
400
|
-
name: "",
|
|
401
|
-
type: "uint256",
|
|
402
|
-
},
|
|
403
|
-
],
|
|
404
|
-
stateMutability: "view",
|
|
405
|
-
type: "function",
|
|
406
|
-
},
|
|
407
|
-
{
|
|
408
|
-
inputs: [
|
|
409
|
-
{
|
|
410
|
-
internalType: "address",
|
|
411
|
-
name: "to",
|
|
412
|
-
type: "address",
|
|
413
|
-
},
|
|
414
|
-
{
|
|
415
|
-
internalType: "uint256",
|
|
416
|
-
name: "amount",
|
|
417
|
-
type: "uint256",
|
|
418
|
-
},
|
|
419
|
-
],
|
|
420
|
-
name: "transfer",
|
|
421
|
-
outputs: [
|
|
422
|
-
{
|
|
423
|
-
internalType: "bool",
|
|
424
|
-
name: "",
|
|
425
|
-
type: "bool",
|
|
426
|
-
},
|
|
427
|
-
],
|
|
428
|
-
stateMutability: "nonpayable",
|
|
429
|
-
type: "function",
|
|
430
|
-
},
|
|
431
|
-
{
|
|
432
|
-
inputs: [
|
|
433
|
-
{
|
|
434
|
-
internalType: "address",
|
|
435
|
-
name: "from",
|
|
436
|
-
type: "address",
|
|
437
|
-
},
|
|
438
|
-
{
|
|
439
|
-
internalType: "address",
|
|
440
|
-
name: "to",
|
|
441
|
-
type: "address",
|
|
442
|
-
},
|
|
443
|
-
{
|
|
444
|
-
internalType: "uint256",
|
|
445
|
-
name: "amount",
|
|
446
|
-
type: "uint256",
|
|
447
|
-
},
|
|
448
|
-
],
|
|
449
|
-
name: "transferFrom",
|
|
450
|
-
outputs: [
|
|
451
|
-
{
|
|
452
|
-
internalType: "bool",
|
|
453
|
-
name: "",
|
|
454
|
-
type: "bool",
|
|
455
|
-
},
|
|
456
|
-
],
|
|
457
|
-
stateMutability: "nonpayable",
|
|
458
|
-
type: "function",
|
|
459
|
-
},
|
|
460
|
-
];
|
|
461
|
-
|
|
462
|
-
const _bytecode =
|
|
463
|
-
"0x6101206040523480156200001257600080fd5b506040516200128a3803806200128a833981016040819052620000359162000298565b83838383838381600390805190602001906200005392919062000125565b5080516200006990600490602084019062000125565b505050428111620000b25760405162461bcd60e51b815260206004820152600e60248201526d494e56414c49445f45585049525960901b60448201526064015b60405180910390fd5b60ff9091166080524260a05260c05250503360e0526001600160a01b0385166200010e5760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606401620000a9565b505050506001600160a01b03166101005262000385565b828054620001339062000348565b90600052602060002090601f016020900481019282620001575760008555620001a2565b82601f106200017257805160ff1916838001178555620001a2565b82800160010185558215620001a2579182015b82811115620001a257825182559160200191906001019062000185565b50620001b0929150620001b4565b5090565b5b80821115620001b05760008155600101620001b5565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620001f357600080fd5b81516001600160401b0380821115620002105762000210620001cb565b604051601f8301601f19908116603f011681019082821181831017156200023b576200023b620001cb565b816040528381526020925086838588010111156200025857600080fd5b600091505b838210156200027c57858201830151818301840152908201906200025d565b838211156200028e5760008385830101525b9695505050505050565b600080600080600060a08688031215620002b157600080fd5b85516001600160a01b0381168114620002c957600080fd5b60208701519095506001600160401b0380821115620002e757600080fd5b620002f589838a01620001e1565b955060408801519150808211156200030c57600080fd5b506200031b88828901620001e1565b935050606086015160ff811681146200033357600080fd5b80925050608086015190509295509295909350565b600181811c908216806200035d57607f821691505b602082108114156200037f57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160e05161010051610eb2620003d860003960006101ee0152600081816102aa015261057c01526000818161017e01526102f70152600061031e015260006101ac0152610eb26000f3fe608060405234801561001057600080fd5b50600436106100fc5760003560e01c806306fdde0314610101578063095ea7b31461011f57806312a31dcc1461014257806318160ddd1461015757806323b872dd146101695780632f13b60c1461017c578063313ce567146101a557806339509351146101d657806347bfac62146101e957806370a0823114610228578063781c18db1461025157806395d89b4114610264578063a457c2d71461026c578063a9059cbb1461027f578063b64761f914610292578063c45a0155146102a5578063c4d66de8146102cc578063dd62ed3e146102df578063e184c9be146102f2578063f1653f6e14610319575b600080fd5b610109610340565b6040516101169190610c67565b60405180910390f35b61013261012d366004610cd4565b6103d2565b6040519015158152602001610116565b610155610150366004610cd4565b6103ea565b005b6002545b604051908152602001610116565b610132610177366004610d00565b61042b565b7f0000000000000000000000000000000000000000000000000000000000000000421015610132565b60405160ff7f0000000000000000000000000000000000000000000000000000000000000000168152602001610116565b6101326101e4366004610cd4565b61044f565b6102107f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610116565b61015b610236366004610d41565b6001600160a01b031660009081526020819052604090205490565b600554610210906001600160a01b031681565b61010961048e565b61013261027a366004610cd4565b61049d565b61013261028d366004610cd4565b61052f565b6101556102a0366004610cd4565b61053d565b6102107f000000000000000000000000000000000000000000000000000000000000000081565b6101556102da366004610d41565b610571565b61015b6102ed366004610d65565b6106e0565b61015b7f000000000000000000000000000000000000000000000000000000000000000081565b61015b7f000000000000000000000000000000000000000000000000000000000000000081565b60606003805461034f90610d9e565b80601f016020809104026020016040519081016040528092919081815260200182805461037b90610d9e565b80156103c85780601f1061039d576101008083540402835291602001916103c8565b820191906000526020600020905b8154815290600101906020018083116103ab57829003601f168201915b5050505050905090565b6000336103e081858561070b565b5060019392505050565b6005546001600160a01b0316331461041d5760405162461bcd60e51b815260040161041490610dd9565b60405180910390fd5b6104278282610830565b5050565b6000336104398582856108fd565b610444858585610977565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906103e09082908690610489908790610e10565b61070b565b60606004805461034f90610d9e565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156105225760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610414565b610444828686840361070b565b6000336103e0818585610977565b6005546001600160a01b031633146105675760405162461bcd60e51b815260040161041490610dd9565b6104278282610b33565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146105d85760405162461bcd60e51b815260206004820152600c60248201526b4f4e4c595f464143544f525960a01b6044820152606401610414565b306001600160a01b0316816001600160a01b031663d94073d46040518163ffffffff1660e01b815260040160206040518083038186803b15801561061b57600080fd5b505afa15801561062f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106539190610e28565b6001600160a01b0316146106965760405162461bcd60e51b815260206004820152600a6024820152691a5b9d985b1a5908165560b21b6044820152606401610414565b600580546001600160a01b0319166001600160a01b0383169081179091556040517f1b89da6b7b61e4a687f655889a2d3239e13e3009cb0a9435ec14342f249a24e190600090a250565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b03831661076d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610414565b6001600160a01b0382166107ce5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610414565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0382166108865760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610414565b80600260008282546108989190610e10565b90915550506001600160a01b038216600090815260208190526040812080548392906108c5908490610e10565b90915550506040518181526001600160a01b03831690600090600080516020610e5d8339815191529060200160405180910390a35050565b600061090984846106e0565b9050600019811461097157818110156109645760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610414565b610971848484840361070b565b50505050565b6001600160a01b0383166109db5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610414565b6001600160a01b038216610a3d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610414565b6001600160a01b03831660009081526020819052604090205481811015610ab55760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610414565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610aec908490610e10565b92505081905550826001600160a01b0316846001600160a01b0316600080516020610e5d83398151915284604051610b2691815260200190565b60405180910390a3610971565b6001600160a01b038216610b935760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610414565b6001600160a01b03821660009081526020819052604090205481811015610c075760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610414565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610c36908490610e45565b90915550506040518281526000906001600160a01b03851690600080516020610e5d83398151915290602001610823565b600060208083528351808285015260005b81811015610c9457858101830151858201604001528201610c78565b81811115610ca6576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610cd157600080fd5b50565b60008060408385031215610ce757600080fd5b8235610cf281610cbc565b946020939093013593505050565b600080600060608486031215610d1557600080fd5b8335610d2081610cbc565b92506020840135610d3081610cbc565b929592945050506040919091013590565b600060208284031215610d5357600080fd5b8135610d5e81610cbc565b9392505050565b60008060408385031215610d7857600080fd5b8235610d8381610cbc565b91506020830135610d9381610cbc565b809150509250929050565b600181811c90821680610db257607f821691505b60208210811415610dd357634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526007908201526613d3931657d65560ca1b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115610e2357610e23610dfa565b500190565b600060208284031215610e3a57600080fd5b8151610d5e81610cbc565b600082821015610e5757610e57610dfa565b50039056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220126c2868ce67db0421870b1654dbef9f1498e686900227ac7a4473fa90e106c564736f6c63430008090033";
|
|
464
|
-
|
|
465
|
-
type PendlePrincipalTokenConstructorParams =
|
|
466
|
-
| [signer?: Signer]
|
|
467
|
-
| ConstructorParameters<typeof ContractFactory>;
|
|
468
|
-
|
|
469
|
-
const isSuperArgs = (
|
|
470
|
-
xs: PendlePrincipalTokenConstructorParams
|
|
471
|
-
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
472
|
-
|
|
473
|
-
export class PendlePrincipalToken__factory extends ContractFactory {
|
|
474
|
-
constructor(...args: PendlePrincipalTokenConstructorParams) {
|
|
475
|
-
if (isSuperArgs(args)) {
|
|
476
|
-
super(...args);
|
|
477
|
-
} else {
|
|
478
|
-
super(_abi, _bytecode, args[0]);
|
|
479
|
-
}
|
|
480
|
-
this.contractName = "PendlePrincipalToken";
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
deploy(
|
|
484
|
-
_SCY: string,
|
|
485
|
-
_name: string,
|
|
486
|
-
_symbol: string,
|
|
487
|
-
__decimals: BigNumberish,
|
|
488
|
-
_expiry: BigNumberish,
|
|
489
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
490
|
-
): Promise<PendlePrincipalToken> {
|
|
491
|
-
return super.deploy(
|
|
492
|
-
_SCY,
|
|
493
|
-
_name,
|
|
494
|
-
_symbol,
|
|
495
|
-
__decimals,
|
|
496
|
-
_expiry,
|
|
497
|
-
overrides || {}
|
|
498
|
-
) as Promise<PendlePrincipalToken>;
|
|
499
|
-
}
|
|
500
|
-
getDeployTransaction(
|
|
501
|
-
_SCY: string,
|
|
502
|
-
_name: string,
|
|
503
|
-
_symbol: string,
|
|
504
|
-
__decimals: BigNumberish,
|
|
505
|
-
_expiry: BigNumberish,
|
|
506
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
507
|
-
): TransactionRequest {
|
|
508
|
-
return super.getDeployTransaction(
|
|
509
|
-
_SCY,
|
|
510
|
-
_name,
|
|
511
|
-
_symbol,
|
|
512
|
-
__decimals,
|
|
513
|
-
_expiry,
|
|
514
|
-
overrides || {}
|
|
515
|
-
);
|
|
516
|
-
}
|
|
517
|
-
attach(address: string): PendlePrincipalToken {
|
|
518
|
-
return super.attach(address) as PendlePrincipalToken;
|
|
519
|
-
}
|
|
520
|
-
connect(signer: Signer): PendlePrincipalToken__factory {
|
|
521
|
-
return super.connect(signer) as PendlePrincipalToken__factory;
|
|
522
|
-
}
|
|
523
|
-
static readonly contractName: "PendlePrincipalToken";
|
|
524
|
-
public readonly contractName: "PendlePrincipalToken";
|
|
525
|
-
static readonly bytecode = _bytecode;
|
|
526
|
-
static readonly abi = _abi;
|
|
527
|
-
static createInterface(): PendlePrincipalTokenInterface {
|
|
528
|
-
return new utils.Interface(_abi) as PendlePrincipalTokenInterface;
|
|
529
|
-
}
|
|
530
|
-
static connect(
|
|
531
|
-
address: string,
|
|
532
|
-
signerOrProvider: Signer | Provider
|
|
533
|
-
): PendlePrincipalToken {
|
|
534
|
-
return new Contract(
|
|
535
|
-
address,
|
|
536
|
-
_abi,
|
|
537
|
-
signerOrProvider
|
|
538
|
-
) as PendlePrincipalToken;
|
|
539
|
-
}
|
|
540
|
-
}
|