@pendle/core-v2 0.6.5 → 0.6.7
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 +13 -0
- 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 +13 -0
- package/build/artifacts/contracts/SuperComposableYield/implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.json +13 -0
- 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 +56 -51
- package/build/artifacts/contracts/core/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleMarketFactory.sol/PendleMarketFactory.json +30 -4
- package/build/artifacts/contracts/core/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +4 -0
- package/build/artifacts/contracts/core/PendlePrincipalToken.sol/PendlePrincipalToken.json +452 -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 +20 -2
- 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 +21 -16
- package/build/artifacts/contracts/core/PendleSCYImpl/PendleBtrflySCY.sol/PendleBtrflyScy.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleSCYImpl/PendleBtrflySCY.sol/PendleBtrflyScy.json +21 -16
- package/build/artifacts/contracts/core/PendleSCYImpl/PendleStETHSCY.sol/PendleStEthSCY.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleSCYImpl/PendleStETHSCY.sol/PendleStEthSCY.json +23 -18
- package/build/artifacts/contracts/core/PendleSCYImpl/PendleYearnVaultSCY.sol/PendleYearnVaultScy.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleSCYImpl/PendleYearnVaultSCY.sol/PendleYearnVaultScy.json +22 -17
- 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 +628 -12
- 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 +128 -92
- package/build/artifacts/contracts/core/actions/ActionRedeem.sol/ActionRedeem.dbg.json +4 -0
- package/build/artifacts/contracts/core/actions/ActionRedeem.sol/{PendleRouterRedeemUpg.json → ActionRedeem.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 +105 -69
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndPTBase.sol/ActionSCYAndPTBase.dbg.json +4 -0
- package/build/artifacts/contracts/core/actions/base/{ActionSCYAndOTBase.sol/ActionSCYAndOTBase.json → ActionSCYAndPTBase.sol/ActionSCYAndPTBase.json} +2 -2
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndPYBase.sol/ActionSCYAndPYBase.dbg.json +4 -0
- package/build/artifacts/contracts/core/actions/base/{ActionSCYAndYOBase.sol/ActionSCYAndYOBase.json → ActionSCYAndPYBase.sol/ActionSCYAndPYBase.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 +114 -78
- 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 +90 -54
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +210 -138
- 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/IPPermissionsV2Upg.sol/IPermissionsV2Upg.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/{IPOwnershipToken.sol/IPOwnershipToken.json → IPPrincipalToken.sol/IPPrincipalToken.json} +2 -2
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +626 -10
- 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/IPendleGauge.sol/IPendleGauge.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPendleGauge.sol/IPendleGauge.json +113 -0
- 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/IVePToken.sol/IVePToken.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IVePToken.sol/IVePToken.json +43 -0
- package/build/artifacts/contracts/interfaces/IVotingEscrowController.sol/VotingEscrowController.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IVotingEscrowController.sol/VotingEscrowController.json +61 -0
- package/build/artifacts/contracts/interfaces/IVotingEscrowPendle.sol/IVotingEscrowPendle.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IVotingEscrowPendle.sol/IVotingEscrowPendle.json +167 -0
- 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/contracts/interfaces/IPendleGauge.sol +32 -0
- package/contracts/interfaces/IVePToken.sol +14 -0
- package/contracts/interfaces/IVotingEscrowController.sol +14 -0
- package/contracts/interfaces/IVotingEscrowPendle.sol +32 -0
- package/contracts/libraries/math/MarketApproxLib.sol +1 -1
- package/package.json +1 -1
- package/typechain-types/ActionCallback.ts +5 -5
- package/typechain-types/ActionCore.ts +232 -280
- package/typechain-types/{PendleRouterRedeemUpg.ts → ActionRedeem.ts} +5 -5
- package/typechain-types/{ActionSCYAndYOBase.ts → ActionSCYAndPYBase.ts} +54 -54
- package/typechain-types/ActionSCYAndYTBase.ts +49 -49
- package/typechain-types/ActionYT.ts +92 -140
- package/typechain-types/IPActionCore.ts +183 -231
- package/typechain-types/IPActionYT.ts +43 -91
- package/typechain-types/IPAllAction.ts +204 -322
- package/typechain-types/IPMarket.ts +55 -55
- package/typechain-types/IPMarketAddRemoveCallback.ts +10 -10
- package/typechain-types/IPMarketFactory.ts +3 -3
- package/typechain-types/IPMarketSwapCallback.ts +5 -5
- package/typechain-types/{IPOwnershipToken.ts → IPPrincipalToken.ts} +5 -5
- package/typechain-types/IPRouterStatic.ts +529 -49
- package/typechain-types/IPYieldContractFactory.ts +19 -19
- package/typechain-types/IPYieldToken.ts +29 -29
- package/typechain-types/IPendleGauge.ts +241 -0
- package/typechain-types/ISuperComposableYield.ts +13 -0
- package/typechain-types/{IVEPendleToken.ts → IVePToken.ts} +16 -34
- package/typechain-types/IVotingEscrowPendle.ts +297 -0
- package/typechain-types/PendleAaveV3SCY.ts +13 -0
- package/typechain-types/PendleBaseToken.ts +1 -1
- package/typechain-types/PendleBenQiErc20SCY.ts +14 -20
- package/typechain-types/PendleBtrflyScy.ts +14 -20
- package/typechain-types/PendleGovernanceManager.ts +5 -5
- package/typechain-types/PendleMarket.ts +102 -105
- package/typechain-types/PendleMarketFactory.ts +48 -8
- package/typechain-types/{PendleOwnershipToken.ts → PendlePrincipalToken.ts} +15 -6
- package/typechain-types/PendleStEthSCY.ts +15 -23
- package/typechain-types/PendleYearnVaultScy.ts +15 -23
- package/typechain-types/PendleYieldContractFactory.ts +28 -28
- package/typechain-types/PendleYieldToken.ts +30 -30
- package/typechain-types/RouterStatic.ts +529 -49
- package/typechain-types/SCYBase.ts +13 -0
- package/typechain-types/SCYBaseWithRewards.ts +13 -0
- package/typechain-types/{IPRouterRedeem.ts → VotingEscrowController.ts} +55 -56
- package/typechain-types/factories/ActionCallback__factory.ts +2 -2
- package/typechain-types/factories/ActionCore__factory.ts +127 -91
- package/typechain-types/factories/{PendleRouterRedeemUpg__factory.ts → ActionRedeem__factory.ts} +19 -26
- package/typechain-types/factories/{ActionSCYAndYOBase__factory.ts → ActionSCYAndPYBase__factory.ts} +20 -20
- package/typechain-types/factories/ActionSCYAndYTBase__factory.ts +12 -12
- package/typechain-types/factories/ActionYT__factory.ts +104 -68
- package/typechain-types/factories/IPActionCore__factory.ts +114 -78
- package/typechain-types/factories/IPActionYT__factory.ts +90 -54
- package/typechain-types/factories/IPAllAction__factory.ts +210 -138
- package/typechain-types/factories/IPMarketAddRemoveCallback__factory.ts +2 -2
- 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/{IPOwnershipToken__factory.ts → IPPrincipalToken__factory.ts} +8 -8
- package/typechain-types/factories/IPRouterStatic__factory.ts +626 -10
- package/typechain-types/factories/IPYieldContractFactory__factory.ts +3 -3
- package/typechain-types/factories/IPYieldToken__factory.ts +5 -5
- package/typechain-types/factories/IPendleGauge__factory.ts +125 -0
- package/typechain-types/factories/ISuperComposableYield__factory.ts +13 -0
- package/typechain-types/factories/{IXPendle__factory.ts → IVePToken__factory.ts} +10 -16
- package/typechain-types/factories/{QiErc20Interface__factory.ts → IVotingEscrowPendle__factory.ts} +41 -98
- package/typechain-types/factories/PendleAaveV3SCY__factory.ts +24 -1
- package/typechain-types/factories/PendleBaseToken__factory.ts +1 -1
- package/typechain-types/factories/PendleBenQiErc20SCY__factory.ts +25 -15
- package/typechain-types/factories/PendleBtrflyScy__factory.ts +25 -15
- package/typechain-types/factories/PendleGovernanceManager__factory.ts +2 -2
- package/typechain-types/factories/PendleMarketFactory__factory.ts +29 -3
- package/typechain-types/factories/PendleMarket__factory.ts +59 -54
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +540 -0
- package/typechain-types/factories/PendleRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleStEthSCY__factory.ts +27 -17
- package/typechain-types/factories/PendleYearnVaultScy__factory.ts +26 -16
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +6 -6
- package/typechain-types/factories/PendleYieldToken__factory.ts +12 -12
- package/typechain-types/factories/RouterStatic__factory.ts +627 -11
- package/typechain-types/factories/SCYBaseWithRewards__factory.ts +13 -0
- package/typechain-types/factories/SCYBase__factory.ts +13 -0
- package/typechain-types/factories/{IVEPendleToken__factory.ts → VotingEscrowController__factory.ts} +33 -24
- package/typechain-types/hardhat.d.ts +56 -20
- package/typechain-types/index.ts +16 -8
- package/build/artifacts/contracts/core/PendleOwnershipToken.sol/PendleOwnershipToken.dbg.json +0 -4
- package/build/artifacts/contracts/core/PendleOwnershipToken.sol/PendleOwnershipToken.json +0 -439
- package/build/artifacts/contracts/core/actions/ActionRedeem.sol/PendleRouterRedeemUpg.dbg.json +0 -4
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndOTBase.sol/ActionSCYAndOTBase.dbg.json +0 -4
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndYOBase.sol/ActionSCYAndYOBase.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPOwnershipToken.sol/IPOwnershipToken.dbg.json +0 -4
- package/typechain-types/AggregatorV2V3Interface.ts +0 -380
- package/typechain-types/BenqiChainlinkOracle.ts +0 -362
- package/typechain-types/BoringOwnable.ts +0 -194
- package/typechain-types/BoringOwnableData.ts +0 -100
- package/typechain-types/BoringOwnableUpg.ts +0 -194
- package/typechain-types/BoringOwnableUpgData.ts +0 -100
- package/typechain-types/Comptroller.ts +0 -2860
- package/typechain-types/ComptrollerErrorReporter.ts +0 -70
- package/typechain-types/ComptrollerInterface.ts +0 -881
- package/typechain-types/ComptrollerVXStorage.ts +0 -781
- package/typechain-types/CrosschainContract.ts +0 -113
- package/typechain-types/CrosschainReceiver.ts +0 -347
- package/typechain-types/CrosschainSender.ts +0 -210
- package/typechain-types/EIP20Interface.ts +0 -337
- package/typechain-types/EIP20NonStandardInterface.ts +0 -298
- package/typechain-types/ERC20Burnable.ts +0 -473
- package/typechain-types/ERC20Locker.ts +0 -91
- package/typechain-types/ERC20Premined.ts +0 -473
- package/typechain-types/ERC20PresetFixedSupply.ts +0 -473
- package/typechain-types/EpochController.ts +0 -195
- package/typechain-types/FundKeeper.ts +0 -347
- package/typechain-types/GaugeTypeControllerAbstract.ts +0 -546
- package/typechain-types/GaugeTypeControllerCrosschain.ts +0 -733
- package/typechain-types/GaugeTypeControllerMainchain.ts +0 -604
- package/typechain-types/IGaugeController.ts +0 -99
- package/typechain-types/ILiquidYieldToken.ts +0 -639
- package/typechain-types/ILiquidYieldTokenWrap.ts +0 -790
- package/typechain-types/IMessageBus.ts +0 -543
- package/typechain-types/IMessageReceiverApp.ts +0 -110
- package/typechain-types/IPFlashCallback.ts +0 -115
- package/typechain-types/IPLiquidYieldToken.ts +0 -641
- package/typechain-types/IPMarketCallback.ts +0 -107
- package/typechain-types/IPRouterCore.ts +0 -769
- package/typechain-types/IPRouterYT.ts +0 -489
- package/typechain-types/IPermissionsV2.ts +0 -87
- package/typechain-types/IRainbowBridge.ts +0 -91
- package/typechain-types/ISCYRewardIndex.ts +0 -695
- package/typechain-types/IXPendle.ts +0 -114
- package/typechain-types/InterestRateModel.ts +0 -178
- package/typechain-types/JumpRateModel.ts +0 -347
- package/typechain-types/LYTBase.ts +0 -721
- package/typechain-types/LYTBaseWithRewards.ts +0 -806
- package/typechain-types/LYTWrap.ts +0 -872
- package/typechain-types/LYTWrapWithRewards.ts +0 -979
- package/typechain-types/LiquidityMining.ts +0 -468
- package/typechain-types/Maximillion.ts +0 -145
- package/typechain-types/Ownable.ts +0 -160
- package/typechain-types/PendleAaveV3LYT.ts +0 -808
- package/typechain-types/PendleBenQiErc20LYT.ts +0 -901
- package/typechain-types/PendleBenqiLiquidYieldToken.ts +0 -1013
- package/typechain-types/PendleBtrflyLYT.ts +0 -781
- package/typechain-types/PendleGauge.ts +0 -469
- package/typechain-types/PendleJoeSwapHelper.ts +0 -92
- package/typechain-types/PendleLYTMockYT.ts +0 -894
- package/typechain-types/PendleLiquidYieldToken.ts +0 -814
- package/typechain-types/PendleLiquidYieldTokenBase.ts +0 -941
- package/typechain-types/PendleRouter01.ts +0 -184
- package/typechain-types/PendleRouter02.ts +0 -564
- package/typechain-types/PendleRouter03.ts +0 -224
- package/typechain-types/PendleRouterBase.ts +0 -126
- package/typechain-types/PendleRouterCore.ts +0 -328
- package/typechain-types/PendleRouterCoreUpg.ts +0 -798
- package/typechain-types/PendleRouterLytAndForge.ts +0 -331
- package/typechain-types/PendleRouterMarketBase.ts +0 -82
- package/typechain-types/PendleRouterOT.ts +0 -463
- package/typechain-types/PendleRouterProxy.ts +0 -335
- package/typechain-types/PendleRouterRawTokenOT.ts +0 -865
- package/typechain-types/PendleRouterRawTokenYT.ts +0 -520
- package/typechain-types/PendleRouterSCYAndForgeBaseUpg.ts +0 -98
- package/typechain-types/PendleRouterStaticUpg.ts +0 -399
- package/typechain-types/PendleRouterYT.ts +0 -227
- package/typechain-types/PendleRouterYTBaseUpg.ts +0 -134
- package/typechain-types/PendleRouterYTUpg.ts +0 -537
- package/typechain-types/PendleYTLYTBenqi.ts +0 -863
- package/typechain-types/PendleYearnVaultLYT.ts +0 -723
- package/typechain-types/PermissionsV2.ts +0 -87
- package/typechain-types/PermlessAbstract.ts +0 -57
- package/typechain-types/PglStakingContract.ts +0 -662
- package/typechain-types/PglStakingContractProxy.ts +0 -256
- package/typechain-types/PglStakingContractProxyStorage.ts +0 -136
- package/typechain-types/PglStakingContractStorage.ts +0 -397
- package/typechain-types/PriceOracle.ts +0 -116
- package/typechain-types/ProtocolFakeUser.ts +0 -105
- package/typechain-types/Qi.ts +0 -760
- package/typechain-types/QiAvax.ts +0 -1720
- package/typechain-types/QiDelegateInterface.ts +0 -145
- package/typechain-types/QiDelegationStorage.ts +0 -82
- package/typechain-types/QiDelegatorInterface.ts +0 -149
- package/typechain-types/QiErc20.ts +0 -1846
- package/typechain-types/QiErc20Delegate.ts +0 -1926
- package/typechain-types/QiErc20Delegator.ts +0 -1885
- package/typechain-types/QiErc20Interface.ts +0 -382
- package/typechain-types/QiErc20Storage.ts +0 -79
- package/typechain-types/QiToken.ts +0 -1475
- package/typechain-types/QiTokenInterface.ts +0 -1419
- package/typechain-types/QiTokenSaleDistributor.ts +0 -771
- package/typechain-types/QiTokenSaleDistributorProxy.ts +0 -256
- package/typechain-types/QiTokenSaleDistributorProxyStorage.ts +0 -136
- package/typechain-types/QiTokenSaleDistributorStorage.ts +0 -401
- package/typechain-types/QiTokenStorage.ts +0 -311
- package/typechain-types/ReentrancyGuard.ts +0 -52
- package/typechain-types/SingleGaugeTypeController.ts +0 -478
- package/typechain-types/TokenErrorReporter.ts +0 -70
- package/typechain-types/Unitroller.ts +0 -356
- package/typechain-types/UnitrollerAdminStorage.ts +0 -143
- package/typechain-types/VePendle.ts +0 -1156
- package/typechain-types/VePendleCrosschain.ts +0 -969
- package/typechain-types/VePendleToken.ts +0 -688
- package/typechain-types/VotingController.ts +0 -883
- package/typechain-types/WETH9.ts +0 -414
- package/typechain-types/WhitePaperInterestRateModel.ts +0 -304
- package/typechain-types/XPendle.ts +0 -618
- package/typechain-types/factories/AggregatorV2V3Interface__factory.ts +0 -288
- package/typechain-types/factories/BenqiChainlinkOracle__factory.ts +0 -311
- package/typechain-types/factories/BoringOwnableData__factory.ts +0 -90
- package/typechain-types/factories/BoringOwnableUpgData__factory.ts +0 -94
- package/typechain-types/factories/BoringOwnableUpg__factory.ts +0 -139
- package/typechain-types/factories/BoringOwnable__factory.ts +0 -149
- package/typechain-types/factories/ComptrollerErrorReporter__factory.ts +0 -93
- package/typechain-types/factories/ComptrollerInterface__factory.ts +0 -595
- package/typechain-types/factories/ComptrollerVXStorage__factory.ts +0 -610
- package/typechain-types/factories/Comptroller__factory.ts +0 -2189
- package/typechain-types/factories/CrosschainContract__factory.ts +0 -52
- package/typechain-types/factories/CrosschainReceiver__factory.ts +0 -187
- package/typechain-types/factories/CrosschainSender__factory.ts +0 -104
- package/typechain-types/factories/EIP20Interface__factory.ts +0 -248
- package/typechain-types/factories/EIP20NonStandardInterface__factory.ts +0 -213
- package/typechain-types/factories/ERC20Burnable__factory.ts +0 -324
- package/typechain-types/factories/ERC20Locker__factory.ts +0 -73
- package/typechain-types/factories/ERC20Premined__factory.ts +0 -393
- package/typechain-types/factories/ERC20PresetFixedSupply__factory.ts +0 -422
- package/typechain-types/factories/EpochController__factory.ts +0 -170
- package/typechain-types/factories/FundKeeper__factory.ts +0 -212
- package/typechain-types/factories/GaugeTypeControllerAbstract__factory.ts +0 -387
- package/typechain-types/factories/GaugeTypeControllerCrosschain__factory.ts +0 -522
- package/typechain-types/factories/GaugeTypeControllerMainchain__factory.ts +0 -431
- package/typechain-types/factories/IGaugeController__factory.ts +0 -45
- package/typechain-types/factories/ILiquidYieldTokenWrap__factory.ts +0 -533
- package/typechain-types/factories/ILiquidYieldToken__factory.ts +0 -429
- package/typechain-types/factories/IMessageBus__factory.ts +0 -396
- package/typechain-types/factories/IMessageReceiverApp__factory.ts +0 -55
- package/typechain-types/factories/IPFlashCallback__factory.ts +0 -49
- package/typechain-types/factories/IPLiquidYieldToken__factory.ts +0 -433
- package/typechain-types/factories/IPMarketCallback__factory.ts +0 -55
- package/typechain-types/factories/IPRouterCore__factory.ts +0 -531
- package/typechain-types/factories/IPRouterRedeem__factory.ts +0 -72
- package/typechain-types/factories/IPRouterYT__factory.ts +0 -305
- package/typechain-types/factories/IPermissionsV2__factory.ts +0 -39
- package/typechain-types/factories/IRainbowBridge__factory.ts +0 -76
- package/typechain-types/factories/ISCYRewardIndex__factory.ts +0 -465
- package/typechain-types/factories/InterestRateModel__factory.ts +0 -108
- package/typechain-types/factories/JumpRateModel__factory.ts +0 -334
- package/typechain-types/factories/LYTBaseWithRewards__factory.ts +0 -530
- package/typechain-types/factories/LYTBase__factory.ts +0 -474
- package/typechain-types/factories/LYTWrapWithRewards__factory.ts +0 -643
- package/typechain-types/factories/LYTWrap__factory.ts +0 -574
- package/typechain-types/factories/LiquidityMining__factory.ts +0 -367
- package/typechain-types/factories/Maximillion__factory.ts +0 -125
- package/typechain-types/factories/Ownable__factory.ts +0 -75
- package/typechain-types/factories/PendleAaveV3LYT__factory.ts +0 -657
- package/typechain-types/factories/PendleBenQiErc20LYT__factory.ts +0 -748
- package/typechain-types/factories/PendleBenqiLiquidYieldToken__factory.ts +0 -785
- package/typechain-types/factories/PendleBtrflyLYT__factory.ts +0 -647
- package/typechain-types/factories/PendleGauge__factory.ts +0 -383
- package/typechain-types/factories/PendleJoeSwapHelper__factory.ts +0 -52
- package/typechain-types/factories/PendleLYTMockYT__factory.ts +0 -732
- package/typechain-types/factories/PendleLiquidYieldTokenBase__factory.ts +0 -603
- package/typechain-types/factories/PendleLiquidYieldToken__factory.ts +0 -510
- package/typechain-types/factories/PendleOwnershipToken__factory.ts +0 -527
- package/typechain-types/factories/PendleRouter01__factory.ts +0 -152
- package/typechain-types/factories/PendleRouter02__factory.ts +0 -438
- package/typechain-types/factories/PendleRouter03__factory.ts +0 -190
- package/typechain-types/factories/PendleRouterBase__factory.ts +0 -68
- package/typechain-types/factories/PendleRouterCoreUpg__factory.ts +0 -635
- package/typechain-types/factories/PendleRouterCore__factory.ts +0 -268
- package/typechain-types/factories/PendleRouterLytAndForge__factory.ts +0 -294
- package/typechain-types/factories/PendleRouterMarketBase__factory.ts +0 -43
- package/typechain-types/factories/PendleRouterOT__factory.ts +0 -372
- package/typechain-types/factories/PendleRouterProxy__factory.ts +0 -285
- package/typechain-types/factories/PendleRouterRawTokenOT__factory.ts +0 -697
- package/typechain-types/factories/PendleRouterRawTokenYT__factory.ts +0 -431
- package/typechain-types/factories/PendleRouterSCYAndForgeBaseUpg__factory.ts +0 -56
- package/typechain-types/factories/PendleRouterStaticUpg__factory.ts +0 -315
- package/typechain-types/factories/PendleRouterYTBaseUpg__factory.ts +0 -66
- package/typechain-types/factories/PendleRouterYTUpg__factory.ts +0 -422
- package/typechain-types/factories/PendleRouterYT__factory.ts +0 -184
- package/typechain-types/factories/PendleYTLYTBenqi__factory.ts +0 -713
- package/typechain-types/factories/PendleYearnVaultLYT__factory.ts +0 -586
- package/typechain-types/factories/PermissionsV2__factory.ts +0 -36
- package/typechain-types/factories/PermlessAbstract__factory.ts +0 -30
- package/typechain-types/factories/PglStakingContractProxyStorage__factory.ts +0 -130
- package/typechain-types/factories/PglStakingContractProxy__factory.ts +0 -187
- package/typechain-types/factories/PglStakingContractStorage__factory.ts +0 -309
- package/typechain-types/factories/PglStakingContract__factory.ts +0 -446
- package/typechain-types/factories/PriceOracle__factory.ts +0 -59
- package/typechain-types/factories/ProtocolFakeUser__factory.ts +0 -87
- package/typechain-types/factories/QiAvax__factory.ts +0 -1471
- package/typechain-types/factories/QiDelegateInterface__factory.ts +0 -65
- package/typechain-types/factories/QiDelegationStorage__factory.ts +0 -79
- package/typechain-types/factories/QiDelegatorInterface__factory.ts +0 -89
- package/typechain-types/factories/QiErc20Delegate__factory.ts +0 -1563
- package/typechain-types/factories/QiErc20Delegator__factory.ts +0 -1648
- package/typechain-types/factories/QiErc20Storage__factory.ts +0 -79
- package/typechain-types/factories/QiErc20__factory.ts +0 -1515
- package/typechain-types/factories/QiTokenInterface__factory.ts +0 -1182
- package/typechain-types/factories/QiTokenSaleDistributorProxyStorage__factory.ts +0 -124
- package/typechain-types/factories/QiTokenSaleDistributorProxy__factory.ts +0 -171
- package/typechain-types/factories/QiTokenSaleDistributorStorage__factory.ts +0 -289
- package/typechain-types/factories/QiTokenSaleDistributor__factory.ts +0 -480
- package/typechain-types/factories/QiTokenStorage__factory.ts +0 -274
- package/typechain-types/factories/QiToken__factory.ts +0 -1219
- package/typechain-types/factories/Qi__factory.ts +0 -648
- package/typechain-types/factories/ReentrancyGuard__factory.ts +0 -69
- package/typechain-types/factories/SingleGaugeTypeController__factory.ts +0 -341
- package/typechain-types/factories/TokenErrorReporter__factory.ts +0 -89
- package/typechain-types/factories/UnitrollerAdminStorage__factory.ts +0 -128
- package/typechain-types/factories/Unitroller__factory.ts +0 -305
- package/typechain-types/factories/VePendleCrosschain__factory.ts +0 -727
- package/typechain-types/factories/VePendleToken__factory.ts +0 -494
- package/typechain-types/factories/VePendle__factory.ts +0 -800
- package/typechain-types/factories/VotingController__factory.ts +0 -610
- package/typechain-types/factories/WETH9__factory.ts +0 -342
- package/typechain-types/factories/WhitePaperInterestRateModel__factory.ts +0 -281
- package/typechain-types/factories/XPendle__factory.ts +0 -473
|
@@ -26,7 +26,7 @@ const _abi = [
|
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
internalType: "uint256",
|
|
29
|
-
name: "
|
|
29
|
+
name: "ptDesired",
|
|
30
30
|
type: "uint256",
|
|
31
31
|
},
|
|
32
32
|
{
|
|
@@ -65,12 +65,12 @@ const _abi = [
|
|
|
65
65
|
},
|
|
66
66
|
{
|
|
67
67
|
internalType: "address",
|
|
68
|
-
name: "
|
|
68
|
+
name: "YT",
|
|
69
69
|
type: "address",
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
72
|
internalType: "uint256",
|
|
73
|
-
name: "
|
|
73
|
+
name: "minPyOut",
|
|
74
74
|
type: "uint256",
|
|
75
75
|
},
|
|
76
76
|
{
|
|
@@ -84,7 +84,7 @@ const _abi = [
|
|
|
84
84
|
type: "address[]",
|
|
85
85
|
},
|
|
86
86
|
],
|
|
87
|
-
name: "
|
|
87
|
+
name: "mintPyFromRawToken",
|
|
88
88
|
outputs: [
|
|
89
89
|
{
|
|
90
90
|
internalType: "uint256",
|
|
@@ -104,12 +104,12 @@ const _abi = [
|
|
|
104
104
|
},
|
|
105
105
|
{
|
|
106
106
|
internalType: "address",
|
|
107
|
-
name: "
|
|
107
|
+
name: "SCY",
|
|
108
108
|
type: "address",
|
|
109
109
|
},
|
|
110
110
|
{
|
|
111
111
|
internalType: "uint256",
|
|
112
|
-
name: "
|
|
112
|
+
name: "minScyOut",
|
|
113
113
|
type: "uint256",
|
|
114
114
|
},
|
|
115
115
|
{
|
|
@@ -123,7 +123,7 @@ const _abi = [
|
|
|
123
123
|
type: "address[]",
|
|
124
124
|
},
|
|
125
125
|
],
|
|
126
|
-
name: "
|
|
126
|
+
name: "mintScyFromRawToken",
|
|
127
127
|
outputs: [
|
|
128
128
|
{
|
|
129
129
|
internalType: "uint256",
|
|
@@ -182,12 +182,12 @@ const _abi = [
|
|
|
182
182
|
inputs: [
|
|
183
183
|
{
|
|
184
184
|
internalType: "address",
|
|
185
|
-
name: "
|
|
185
|
+
name: "YT",
|
|
186
186
|
type: "address",
|
|
187
187
|
},
|
|
188
188
|
{
|
|
189
189
|
internalType: "uint256",
|
|
190
|
-
name: "
|
|
190
|
+
name: "netPyIn",
|
|
191
191
|
type: "uint256",
|
|
192
192
|
},
|
|
193
193
|
{
|
|
@@ -206,7 +206,7 @@ const _abi = [
|
|
|
206
206
|
type: "address[]",
|
|
207
207
|
},
|
|
208
208
|
],
|
|
209
|
-
name: "
|
|
209
|
+
name: "redeemPyToRawToken",
|
|
210
210
|
outputs: [
|
|
211
211
|
{
|
|
212
212
|
internalType: "uint256",
|
|
@@ -221,12 +221,12 @@ const _abi = [
|
|
|
221
221
|
inputs: [
|
|
222
222
|
{
|
|
223
223
|
internalType: "address",
|
|
224
|
-
name: "
|
|
224
|
+
name: "SCY",
|
|
225
225
|
type: "address",
|
|
226
226
|
},
|
|
227
227
|
{
|
|
228
228
|
internalType: "uint256",
|
|
229
|
-
name: "
|
|
229
|
+
name: "netScyIn",
|
|
230
230
|
type: "uint256",
|
|
231
231
|
},
|
|
232
232
|
{
|
|
@@ -245,7 +245,7 @@ const _abi = [
|
|
|
245
245
|
type: "address[]",
|
|
246
246
|
},
|
|
247
247
|
],
|
|
248
|
-
name: "
|
|
248
|
+
name: "redeemScyToRawToken",
|
|
249
249
|
outputs: [
|
|
250
250
|
{
|
|
251
251
|
internalType: "uint256",
|
|
@@ -280,7 +280,7 @@ const _abi = [
|
|
|
280
280
|
},
|
|
281
281
|
{
|
|
282
282
|
internalType: "uint256",
|
|
283
|
-
name: "
|
|
283
|
+
name: "ptOutMin",
|
|
284
284
|
type: "uint256",
|
|
285
285
|
},
|
|
286
286
|
],
|
|
@@ -304,7 +304,7 @@ const _abi = [
|
|
|
304
304
|
inputs: [
|
|
305
305
|
{
|
|
306
306
|
internalType: "uint256",
|
|
307
|
-
name: "
|
|
307
|
+
name: "exactPtIn",
|
|
308
308
|
type: "uint256",
|
|
309
309
|
},
|
|
310
310
|
{
|
|
@@ -328,7 +328,7 @@ const _abi = [
|
|
|
328
328
|
type: "uint256",
|
|
329
329
|
},
|
|
330
330
|
],
|
|
331
|
-
name: "
|
|
331
|
+
name: "swapExactPtForRawToken",
|
|
332
332
|
outputs: [
|
|
333
333
|
{
|
|
334
334
|
internalType: "uint256",
|
|
@@ -353,7 +353,7 @@ const _abi = [
|
|
|
353
353
|
},
|
|
354
354
|
{
|
|
355
355
|
internalType: "uint256",
|
|
356
|
-
name: "
|
|
356
|
+
name: "exactPtIn",
|
|
357
357
|
type: "uint256",
|
|
358
358
|
},
|
|
359
359
|
{
|
|
@@ -362,7 +362,7 @@ const _abi = [
|
|
|
362
362
|
type: "uint256",
|
|
363
363
|
},
|
|
364
364
|
],
|
|
365
|
-
name: "
|
|
365
|
+
name: "swapExactPtForScy",
|
|
366
366
|
outputs: [
|
|
367
367
|
{
|
|
368
368
|
internalType: "uint256",
|
|
@@ -396,31 +396,43 @@ const _abi = [
|
|
|
396
396
|
type: "address",
|
|
397
397
|
},
|
|
398
398
|
{
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
399
|
+
components: [
|
|
400
|
+
{
|
|
401
|
+
internalType: "uint256",
|
|
402
|
+
name: "guessMin",
|
|
403
|
+
type: "uint256",
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
internalType: "uint256",
|
|
407
|
+
name: "guessMax",
|
|
408
|
+
type: "uint256",
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
internalType: "uint256",
|
|
412
|
+
name: "guessOffchain",
|
|
413
|
+
type: "uint256",
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
internalType: "uint256",
|
|
417
|
+
name: "maxIteration",
|
|
418
|
+
type: "uint256",
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
internalType: "uint256",
|
|
422
|
+
name: "eps",
|
|
423
|
+
type: "uint256",
|
|
424
|
+
},
|
|
425
|
+
],
|
|
426
|
+
internalType: "struct ApproxParams",
|
|
427
|
+
name: "approx",
|
|
428
|
+
type: "tuple",
|
|
429
|
+
},
|
|
430
|
+
],
|
|
431
|
+
name: "swapExactRawTokenForPt",
|
|
420
432
|
outputs: [
|
|
421
433
|
{
|
|
422
434
|
internalType: "uint256",
|
|
423
|
-
name: "
|
|
435
|
+
name: "netPtOut",
|
|
424
436
|
type: "uint256",
|
|
425
437
|
},
|
|
426
438
|
],
|
|
@@ -450,24 +462,36 @@ const _abi = [
|
|
|
450
462
|
type: "address",
|
|
451
463
|
},
|
|
452
464
|
{
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
465
|
+
components: [
|
|
466
|
+
{
|
|
467
|
+
internalType: "uint256",
|
|
468
|
+
name: "guessMin",
|
|
469
|
+
type: "uint256",
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
internalType: "uint256",
|
|
473
|
+
name: "guessMax",
|
|
474
|
+
type: "uint256",
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
internalType: "uint256",
|
|
478
|
+
name: "guessOffchain",
|
|
479
|
+
type: "uint256",
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
internalType: "uint256",
|
|
483
|
+
name: "maxIteration",
|
|
484
|
+
type: "uint256",
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
internalType: "uint256",
|
|
488
|
+
name: "eps",
|
|
489
|
+
type: "uint256",
|
|
490
|
+
},
|
|
491
|
+
],
|
|
492
|
+
internalType: "struct ApproxParams",
|
|
493
|
+
name: "approx",
|
|
494
|
+
type: "tuple",
|
|
471
495
|
},
|
|
472
496
|
],
|
|
473
497
|
name: "swapExactRawTokenForYt",
|
|
@@ -499,27 +523,39 @@ const _abi = [
|
|
|
499
523
|
type: "uint256",
|
|
500
524
|
},
|
|
501
525
|
{
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
526
|
+
components: [
|
|
527
|
+
{
|
|
528
|
+
internalType: "uint256",
|
|
529
|
+
name: "guessMin",
|
|
530
|
+
type: "uint256",
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
internalType: "uint256",
|
|
534
|
+
name: "guessMax",
|
|
535
|
+
type: "uint256",
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
internalType: "uint256",
|
|
539
|
+
name: "guessOffchain",
|
|
540
|
+
type: "uint256",
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
internalType: "uint256",
|
|
544
|
+
name: "maxIteration",
|
|
545
|
+
type: "uint256",
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
internalType: "uint256",
|
|
549
|
+
name: "eps",
|
|
550
|
+
type: "uint256",
|
|
551
|
+
},
|
|
552
|
+
],
|
|
553
|
+
internalType: "struct ApproxParams",
|
|
554
|
+
name: "approx",
|
|
555
|
+
type: "tuple",
|
|
556
|
+
},
|
|
557
|
+
],
|
|
558
|
+
name: "swapExactScyForPt",
|
|
523
559
|
outputs: [
|
|
524
560
|
{
|
|
525
561
|
internalType: "uint256",
|
|
@@ -548,24 +584,36 @@ const _abi = [
|
|
|
548
584
|
type: "uint256",
|
|
549
585
|
},
|
|
550
586
|
{
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
587
|
+
components: [
|
|
588
|
+
{
|
|
589
|
+
internalType: "uint256",
|
|
590
|
+
name: "guessMin",
|
|
591
|
+
type: "uint256",
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
internalType: "uint256",
|
|
595
|
+
name: "guessMax",
|
|
596
|
+
type: "uint256",
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
internalType: "uint256",
|
|
600
|
+
name: "guessOffchain",
|
|
601
|
+
type: "uint256",
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
internalType: "uint256",
|
|
605
|
+
name: "maxIteration",
|
|
606
|
+
type: "uint256",
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
internalType: "uint256",
|
|
610
|
+
name: "eps",
|
|
611
|
+
type: "uint256",
|
|
612
|
+
},
|
|
613
|
+
],
|
|
614
|
+
internalType: "struct ApproxParams",
|
|
615
|
+
name: "approx",
|
|
616
|
+
type: "tuple",
|
|
569
617
|
},
|
|
570
618
|
],
|
|
571
619
|
name: "swapExactScyForYt",
|
|
@@ -670,27 +718,39 @@ const _abi = [
|
|
|
670
718
|
type: "uint256",
|
|
671
719
|
},
|
|
672
720
|
{
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
721
|
+
components: [
|
|
722
|
+
{
|
|
723
|
+
internalType: "uint256",
|
|
724
|
+
name: "guessMin",
|
|
725
|
+
type: "uint256",
|
|
726
|
+
},
|
|
727
|
+
{
|
|
728
|
+
internalType: "uint256",
|
|
729
|
+
name: "guessMax",
|
|
730
|
+
type: "uint256",
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
internalType: "uint256",
|
|
734
|
+
name: "guessOffchain",
|
|
735
|
+
type: "uint256",
|
|
736
|
+
},
|
|
737
|
+
{
|
|
738
|
+
internalType: "uint256",
|
|
739
|
+
name: "maxIteration",
|
|
740
|
+
type: "uint256",
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
internalType: "uint256",
|
|
744
|
+
name: "eps",
|
|
745
|
+
type: "uint256",
|
|
746
|
+
},
|
|
747
|
+
],
|
|
748
|
+
internalType: "struct ApproxParams",
|
|
749
|
+
name: "approx",
|
|
750
|
+
type: "tuple",
|
|
751
|
+
},
|
|
752
|
+
],
|
|
753
|
+
name: "swapPtForExactScy",
|
|
694
754
|
outputs: [
|
|
695
755
|
{
|
|
696
756
|
internalType: "uint256",
|
|
@@ -715,7 +775,7 @@ const _abi = [
|
|
|
715
775
|
},
|
|
716
776
|
{
|
|
717
777
|
internalType: "uint256",
|
|
718
|
-
name: "
|
|
778
|
+
name: "exactPtOut",
|
|
719
779
|
type: "uint256",
|
|
720
780
|
},
|
|
721
781
|
{
|
|
@@ -724,7 +784,7 @@ const _abi = [
|
|
|
724
784
|
type: "uint256",
|
|
725
785
|
},
|
|
726
786
|
],
|
|
727
|
-
name: "
|
|
787
|
+
name: "swapScyForExactPt",
|
|
728
788
|
outputs: [
|
|
729
789
|
{
|
|
730
790
|
internalType: "uint256",
|
|
@@ -787,24 +847,36 @@ const _abi = [
|
|
|
787
847
|
type: "uint256",
|
|
788
848
|
},
|
|
789
849
|
{
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
850
|
+
components: [
|
|
851
|
+
{
|
|
852
|
+
internalType: "uint256",
|
|
853
|
+
name: "guessMin",
|
|
854
|
+
type: "uint256",
|
|
855
|
+
},
|
|
856
|
+
{
|
|
857
|
+
internalType: "uint256",
|
|
858
|
+
name: "guessMax",
|
|
859
|
+
type: "uint256",
|
|
860
|
+
},
|
|
861
|
+
{
|
|
862
|
+
internalType: "uint256",
|
|
863
|
+
name: "guessOffchain",
|
|
864
|
+
type: "uint256",
|
|
865
|
+
},
|
|
866
|
+
{
|
|
867
|
+
internalType: "uint256",
|
|
868
|
+
name: "maxIteration",
|
|
869
|
+
type: "uint256",
|
|
870
|
+
},
|
|
871
|
+
{
|
|
872
|
+
internalType: "uint256",
|
|
873
|
+
name: "eps",
|
|
874
|
+
type: "uint256",
|
|
875
|
+
},
|
|
876
|
+
],
|
|
877
|
+
internalType: "struct ApproxParams",
|
|
878
|
+
name: "approx",
|
|
879
|
+
type: "tuple",
|
|
808
880
|
},
|
|
809
881
|
],
|
|
810
882
|
name: "swapYtForExactScy",
|
|
@@ -24,7 +24,7 @@ const _abi = [
|
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
internalType: "uint256",
|
|
27
|
-
name: "
|
|
27
|
+
name: "ptOwed",
|
|
28
28
|
type: "uint256",
|
|
29
29
|
},
|
|
30
30
|
{
|
|
@@ -52,7 +52,7 @@ const _abi = [
|
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
54
|
internalType: "uint256",
|
|
55
|
-
name: "
|
|
55
|
+
name: "ptToAccount",
|
|
56
56
|
type: "uint256",
|
|
57
57
|
},
|
|
58
58
|
{
|
|
@@ -31,7 +31,7 @@ const _abi = [
|
|
|
31
31
|
{
|
|
32
32
|
indexed: false,
|
|
33
33
|
internalType: "uint256",
|
|
34
|
-
name: "
|
|
34
|
+
name: "ptUsed",
|
|
35
35
|
type: "uint256",
|
|
36
36
|
},
|
|
37
37
|
],
|
|
@@ -87,7 +87,7 @@ const _abi = [
|
|
|
87
87
|
{
|
|
88
88
|
indexed: false,
|
|
89
89
|
internalType: "uint256",
|
|
90
|
-
name: "
|
|
90
|
+
name: "ptToAccount",
|
|
91
91
|
type: "uint256",
|
|
92
92
|
},
|
|
93
93
|
],
|
|
@@ -106,7 +106,7 @@ const _abi = [
|
|
|
106
106
|
{
|
|
107
107
|
indexed: false,
|
|
108
108
|
internalType: "int256",
|
|
109
|
-
name: "
|
|
109
|
+
name: "ptToAccount",
|
|
110
110
|
type: "int256",
|
|
111
111
|
},
|
|
112
112
|
{
|
|
@@ -171,7 +171,7 @@ const _abi = [
|
|
|
171
171
|
},
|
|
172
172
|
{
|
|
173
173
|
inputs: [],
|
|
174
|
-
name: "
|
|
174
|
+
name: "PT",
|
|
175
175
|
outputs: [
|
|
176
176
|
{
|
|
177
177
|
internalType: "address",
|
|
@@ -222,7 +222,7 @@ const _abi = [
|
|
|
222
222
|
},
|
|
223
223
|
{
|
|
224
224
|
internalType: "uint256",
|
|
225
|
-
name: "
|
|
225
|
+
name: "ptDesired",
|
|
226
226
|
type: "uint256",
|
|
227
227
|
},
|
|
228
228
|
{
|
|
@@ -245,7 +245,7 @@ const _abi = [
|
|
|
245
245
|
},
|
|
246
246
|
{
|
|
247
247
|
internalType: "uint256",
|
|
248
|
-
name: "
|
|
248
|
+
name: "ptUsed",
|
|
249
249
|
type: "uint256",
|
|
250
250
|
},
|
|
251
251
|
],
|
|
@@ -385,7 +385,7 @@ const _abi = [
|
|
|
385
385
|
components: [
|
|
386
386
|
{
|
|
387
387
|
internalType: "int256",
|
|
388
|
-
name: "
|
|
388
|
+
name: "totalPt",
|
|
389
389
|
type: "int256",
|
|
390
390
|
},
|
|
391
391
|
{
|
|
@@ -462,8 +462,8 @@ const _abi = [
|
|
|
462
462
|
type: "address",
|
|
463
463
|
},
|
|
464
464
|
{
|
|
465
|
-
internalType: "contract
|
|
466
|
-
name: "
|
|
465
|
+
internalType: "contract IPPrincipalToken",
|
|
466
|
+
name: "_PT",
|
|
467
467
|
type: "address",
|
|
468
468
|
},
|
|
469
469
|
{
|
|
@@ -502,7 +502,7 @@ const _abi = [
|
|
|
502
502
|
},
|
|
503
503
|
{
|
|
504
504
|
internalType: "uint256",
|
|
505
|
-
name: "
|
|
505
|
+
name: "ptToAccount",
|
|
506
506
|
type: "uint256",
|
|
507
507
|
},
|
|
508
508
|
],
|
|
@@ -518,7 +518,7 @@ const _abi = [
|
|
|
518
518
|
},
|
|
519
519
|
{
|
|
520
520
|
internalType: "uint256",
|
|
521
|
-
name: "
|
|
521
|
+
name: "exactPtIn",
|
|
522
522
|
type: "uint256",
|
|
523
523
|
},
|
|
524
524
|
{
|
|
@@ -532,7 +532,7 @@ const _abi = [
|
|
|
532
532
|
type: "bytes",
|
|
533
533
|
},
|
|
534
534
|
],
|
|
535
|
-
name: "
|
|
535
|
+
name: "swapExactPtForScy",
|
|
536
536
|
outputs: [
|
|
537
537
|
{
|
|
538
538
|
internalType: "uint256",
|
|
@@ -557,7 +557,7 @@ const _abi = [
|
|
|
557
557
|
},
|
|
558
558
|
{
|
|
559
559
|
internalType: "uint256",
|
|
560
|
-
name: "
|
|
560
|
+
name: "exactPtOut",
|
|
561
561
|
type: "uint256",
|
|
562
562
|
},
|
|
563
563
|
{
|
|
@@ -571,7 +571,7 @@ const _abi = [
|
|
|
571
571
|
type: "bytes",
|
|
572
572
|
},
|
|
573
573
|
],
|
|
574
|
-
name: "
|
|
574
|
+
name: "swapScyForExactPt",
|
|
575
575
|
outputs: [
|
|
576
576
|
{
|
|
577
577
|
internalType: "uint256",
|