@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
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
"internalType": "uint256",
|
|
25
|
-
"name": "
|
|
25
|
+
"name": "otDesired",
|
|
26
26
|
"type": "uint256"
|
|
27
27
|
},
|
|
28
28
|
{
|
|
@@ -61,12 +61,12 @@
|
|
|
61
61
|
},
|
|
62
62
|
{
|
|
63
63
|
"internalType": "address",
|
|
64
|
-
"name": "
|
|
64
|
+
"name": "SCY",
|
|
65
65
|
"type": "address"
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
68
|
"internalType": "uint256",
|
|
69
|
-
"name": "
|
|
69
|
+
"name": "minScyOut",
|
|
70
70
|
"type": "uint256"
|
|
71
71
|
},
|
|
72
72
|
{
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"type": "address[]"
|
|
81
81
|
}
|
|
82
82
|
],
|
|
83
|
-
"name": "
|
|
83
|
+
"name": "mintScyFromRawToken",
|
|
84
84
|
"outputs": [
|
|
85
85
|
{
|
|
86
86
|
"internalType": "uint256",
|
|
@@ -100,12 +100,12 @@
|
|
|
100
100
|
},
|
|
101
101
|
{
|
|
102
102
|
"internalType": "address",
|
|
103
|
-
"name": "
|
|
103
|
+
"name": "YT",
|
|
104
104
|
"type": "address"
|
|
105
105
|
},
|
|
106
106
|
{
|
|
107
107
|
"internalType": "uint256",
|
|
108
|
-
"name": "
|
|
108
|
+
"name": "minYoOut",
|
|
109
109
|
"type": "uint256"
|
|
110
110
|
},
|
|
111
111
|
{
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
"type": "address[]"
|
|
120
120
|
}
|
|
121
121
|
],
|
|
122
|
-
"name": "
|
|
122
|
+
"name": "mintYoFromRawToken",
|
|
123
123
|
"outputs": [
|
|
124
124
|
{
|
|
125
125
|
"internalType": "uint256",
|
|
@@ -178,12 +178,12 @@
|
|
|
178
178
|
"inputs": [
|
|
179
179
|
{
|
|
180
180
|
"internalType": "address",
|
|
181
|
-
"name": "
|
|
181
|
+
"name": "SCY",
|
|
182
182
|
"type": "address"
|
|
183
183
|
},
|
|
184
184
|
{
|
|
185
185
|
"internalType": "uint256",
|
|
186
|
-
"name": "
|
|
186
|
+
"name": "netScyIn",
|
|
187
187
|
"type": "uint256"
|
|
188
188
|
},
|
|
189
189
|
{
|
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
"type": "address[]"
|
|
203
203
|
}
|
|
204
204
|
],
|
|
205
|
-
"name": "
|
|
205
|
+
"name": "redeemScyToRawToken",
|
|
206
206
|
"outputs": [
|
|
207
207
|
{
|
|
208
208
|
"internalType": "uint256",
|
|
@@ -217,12 +217,12 @@
|
|
|
217
217
|
"inputs": [
|
|
218
218
|
{
|
|
219
219
|
"internalType": "address",
|
|
220
|
-
"name": "
|
|
220
|
+
"name": "YT",
|
|
221
221
|
"type": "address"
|
|
222
222
|
},
|
|
223
223
|
{
|
|
224
224
|
"internalType": "uint256",
|
|
225
|
-
"name": "
|
|
225
|
+
"name": "netYoIn",
|
|
226
226
|
"type": "uint256"
|
|
227
227
|
},
|
|
228
228
|
{
|
|
@@ -241,7 +241,7 @@
|
|
|
241
241
|
"type": "address[]"
|
|
242
242
|
}
|
|
243
243
|
],
|
|
244
|
-
"name": "
|
|
244
|
+
"name": "redeemYoToRawToken",
|
|
245
245
|
"outputs": [
|
|
246
246
|
{
|
|
247
247
|
"internalType": "uint256",
|
|
@@ -276,7 +276,7 @@
|
|
|
276
276
|
},
|
|
277
277
|
{
|
|
278
278
|
"internalType": "uint256",
|
|
279
|
-
"name": "
|
|
279
|
+
"name": "otOutMin",
|
|
280
280
|
"type": "uint256"
|
|
281
281
|
}
|
|
282
282
|
],
|
|
@@ -300,7 +300,7 @@
|
|
|
300
300
|
"inputs": [
|
|
301
301
|
{
|
|
302
302
|
"internalType": "uint256",
|
|
303
|
-
"name": "
|
|
303
|
+
"name": "exactOtIn",
|
|
304
304
|
"type": "uint256"
|
|
305
305
|
},
|
|
306
306
|
{
|
|
@@ -324,7 +324,7 @@
|
|
|
324
324
|
"type": "uint256"
|
|
325
325
|
}
|
|
326
326
|
],
|
|
327
|
-
"name": "
|
|
327
|
+
"name": "swapExactOtForRawToken",
|
|
328
328
|
"outputs": [
|
|
329
329
|
{
|
|
330
330
|
"internalType": "uint256",
|
|
@@ -349,7 +349,7 @@
|
|
|
349
349
|
},
|
|
350
350
|
{
|
|
351
351
|
"internalType": "uint256",
|
|
352
|
-
"name": "
|
|
352
|
+
"name": "exactOtIn",
|
|
353
353
|
"type": "uint256"
|
|
354
354
|
},
|
|
355
355
|
{
|
|
@@ -358,7 +358,7 @@
|
|
|
358
358
|
"type": "uint256"
|
|
359
359
|
}
|
|
360
360
|
],
|
|
361
|
-
"name": "
|
|
361
|
+
"name": "swapExactOtForScy",
|
|
362
362
|
"outputs": [
|
|
363
363
|
{
|
|
364
364
|
"internalType": "uint256",
|
|
@@ -392,43 +392,31 @@
|
|
|
392
392
|
"type": "address"
|
|
393
393
|
},
|
|
394
394
|
{
|
|
395
|
-
"
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
{
|
|
417
|
-
"internalType": "uint256",
|
|
418
|
-
"name": "eps",
|
|
419
|
-
"type": "uint256"
|
|
420
|
-
}
|
|
421
|
-
],
|
|
422
|
-
"internalType": "struct ApproxParams",
|
|
423
|
-
"name": "approx",
|
|
424
|
-
"type": "tuple"
|
|
425
|
-
}
|
|
426
|
-
],
|
|
427
|
-
"name": "swapExactRawTokenForPt",
|
|
395
|
+
"internalType": "uint256",
|
|
396
|
+
"name": "otOutguessMin",
|
|
397
|
+
"type": "uint256"
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"internalType": "uint256",
|
|
401
|
+
"name": "otOutguessMax",
|
|
402
|
+
"type": "uint256"
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"internalType": "uint256",
|
|
406
|
+
"name": "maxIteration",
|
|
407
|
+
"type": "uint256"
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"internalType": "uint256",
|
|
411
|
+
"name": "eps",
|
|
412
|
+
"type": "uint256"
|
|
413
|
+
}
|
|
414
|
+
],
|
|
415
|
+
"name": "swapExactRawTokenForOt",
|
|
428
416
|
"outputs": [
|
|
429
417
|
{
|
|
430
418
|
"internalType": "uint256",
|
|
431
|
-
"name": "
|
|
419
|
+
"name": "netOtOut",
|
|
432
420
|
"type": "uint256"
|
|
433
421
|
}
|
|
434
422
|
],
|
|
@@ -458,36 +446,24 @@
|
|
|
458
446
|
"type": "address"
|
|
459
447
|
},
|
|
460
448
|
{
|
|
461
|
-
"
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
"name": "maxIteration",
|
|
480
|
-
"type": "uint256"
|
|
481
|
-
},
|
|
482
|
-
{
|
|
483
|
-
"internalType": "uint256",
|
|
484
|
-
"name": "eps",
|
|
485
|
-
"type": "uint256"
|
|
486
|
-
}
|
|
487
|
-
],
|
|
488
|
-
"internalType": "struct ApproxParams",
|
|
489
|
-
"name": "approx",
|
|
490
|
-
"type": "tuple"
|
|
449
|
+
"internalType": "uint256",
|
|
450
|
+
"name": "netYtOutGuessMin",
|
|
451
|
+
"type": "uint256"
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
"internalType": "uint256",
|
|
455
|
+
"name": "netYtOutGuessMax",
|
|
456
|
+
"type": "uint256"
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"internalType": "uint256",
|
|
460
|
+
"name": "maxIteration",
|
|
461
|
+
"type": "uint256"
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"internalType": "uint256",
|
|
465
|
+
"name": "eps",
|
|
466
|
+
"type": "uint256"
|
|
491
467
|
}
|
|
492
468
|
],
|
|
493
469
|
"name": "swapExactRawTokenForYt",
|
|
@@ -519,39 +495,27 @@
|
|
|
519
495
|
"type": "uint256"
|
|
520
496
|
},
|
|
521
497
|
{
|
|
522
|
-
"
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
{
|
|
544
|
-
"internalType": "uint256",
|
|
545
|
-
"name": "eps",
|
|
546
|
-
"type": "uint256"
|
|
547
|
-
}
|
|
548
|
-
],
|
|
549
|
-
"internalType": "struct ApproxParams",
|
|
550
|
-
"name": "approx",
|
|
551
|
-
"type": "tuple"
|
|
552
|
-
}
|
|
553
|
-
],
|
|
554
|
-
"name": "swapExactScyForPt",
|
|
498
|
+
"internalType": "uint256",
|
|
499
|
+
"name": "otOutguessMin",
|
|
500
|
+
"type": "uint256"
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
"internalType": "uint256",
|
|
504
|
+
"name": "otOutguessMax",
|
|
505
|
+
"type": "uint256"
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
"internalType": "uint256",
|
|
509
|
+
"name": "maxIteration",
|
|
510
|
+
"type": "uint256"
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"internalType": "uint256",
|
|
514
|
+
"name": "eps",
|
|
515
|
+
"type": "uint256"
|
|
516
|
+
}
|
|
517
|
+
],
|
|
518
|
+
"name": "swapExactScyForOt",
|
|
555
519
|
"outputs": [
|
|
556
520
|
{
|
|
557
521
|
"internalType": "uint256",
|
|
@@ -580,36 +544,24 @@
|
|
|
580
544
|
"type": "uint256"
|
|
581
545
|
},
|
|
582
546
|
{
|
|
583
|
-
"
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
"name": "maxIteration",
|
|
602
|
-
"type": "uint256"
|
|
603
|
-
},
|
|
604
|
-
{
|
|
605
|
-
"internalType": "uint256",
|
|
606
|
-
"name": "eps",
|
|
607
|
-
"type": "uint256"
|
|
608
|
-
}
|
|
609
|
-
],
|
|
610
|
-
"internalType": "struct ApproxParams",
|
|
611
|
-
"name": "approx",
|
|
612
|
-
"type": "tuple"
|
|
547
|
+
"internalType": "uint256",
|
|
548
|
+
"name": "netYtOutGuessMin",
|
|
549
|
+
"type": "uint256"
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
"internalType": "uint256",
|
|
553
|
+
"name": "netYtOutGuessMax",
|
|
554
|
+
"type": "uint256"
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"internalType": "uint256",
|
|
558
|
+
"name": "maxIteration",
|
|
559
|
+
"type": "uint256"
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
"internalType": "uint256",
|
|
563
|
+
"name": "eps",
|
|
564
|
+
"type": "uint256"
|
|
613
565
|
}
|
|
614
566
|
],
|
|
615
567
|
"name": "swapExactScyForYt",
|
|
@@ -714,39 +666,27 @@
|
|
|
714
666
|
"type": "uint256"
|
|
715
667
|
},
|
|
716
668
|
{
|
|
717
|
-
"
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
{
|
|
739
|
-
"internalType": "uint256",
|
|
740
|
-
"name": "eps",
|
|
741
|
-
"type": "uint256"
|
|
742
|
-
}
|
|
743
|
-
],
|
|
744
|
-
"internalType": "struct ApproxParams",
|
|
745
|
-
"name": "approx",
|
|
746
|
-
"type": "tuple"
|
|
747
|
-
}
|
|
748
|
-
],
|
|
749
|
-
"name": "swapPtForExactScy",
|
|
669
|
+
"internalType": "uint256",
|
|
670
|
+
"name": "otInGuessMin",
|
|
671
|
+
"type": "uint256"
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
"internalType": "uint256",
|
|
675
|
+
"name": "otInGuessMax",
|
|
676
|
+
"type": "uint256"
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
"internalType": "uint256",
|
|
680
|
+
"name": "maxIteration",
|
|
681
|
+
"type": "uint256"
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
"internalType": "uint256",
|
|
685
|
+
"name": "eps",
|
|
686
|
+
"type": "uint256"
|
|
687
|
+
}
|
|
688
|
+
],
|
|
689
|
+
"name": "swapOtForExactScy",
|
|
750
690
|
"outputs": [
|
|
751
691
|
{
|
|
752
692
|
"internalType": "uint256",
|
|
@@ -771,7 +711,7 @@
|
|
|
771
711
|
},
|
|
772
712
|
{
|
|
773
713
|
"internalType": "uint256",
|
|
774
|
-
"name": "
|
|
714
|
+
"name": "exactOtOut",
|
|
775
715
|
"type": "uint256"
|
|
776
716
|
},
|
|
777
717
|
{
|
|
@@ -780,7 +720,7 @@
|
|
|
780
720
|
"type": "uint256"
|
|
781
721
|
}
|
|
782
722
|
],
|
|
783
|
-
"name": "
|
|
723
|
+
"name": "swapScyForExactOt",
|
|
784
724
|
"outputs": [
|
|
785
725
|
{
|
|
786
726
|
"internalType": "uint256",
|
|
@@ -843,36 +783,24 @@
|
|
|
843
783
|
"type": "uint256"
|
|
844
784
|
},
|
|
845
785
|
{
|
|
846
|
-
"
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
"name": "maxIteration",
|
|
865
|
-
"type": "uint256"
|
|
866
|
-
},
|
|
867
|
-
{
|
|
868
|
-
"internalType": "uint256",
|
|
869
|
-
"name": "eps",
|
|
870
|
-
"type": "uint256"
|
|
871
|
-
}
|
|
872
|
-
],
|
|
873
|
-
"internalType": "struct ApproxParams",
|
|
874
|
-
"name": "approx",
|
|
875
|
-
"type": "tuple"
|
|
786
|
+
"internalType": "uint256",
|
|
787
|
+
"name": "netYtInGuessMin",
|
|
788
|
+
"type": "uint256"
|
|
789
|
+
},
|
|
790
|
+
{
|
|
791
|
+
"internalType": "uint256",
|
|
792
|
+
"name": "netYtInGuessMax",
|
|
793
|
+
"type": "uint256"
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
"internalType": "uint256",
|
|
797
|
+
"name": "maxIteration",
|
|
798
|
+
"type": "uint256"
|
|
799
|
+
},
|
|
800
|
+
{
|
|
801
|
+
"internalType": "uint256",
|
|
802
|
+
"name": "eps",
|
|
803
|
+
"type": "uint256"
|
|
876
804
|
}
|
|
877
805
|
],
|
|
878
806
|
"name": "swapYtForExactScy",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
{
|
|
28
28
|
"indexed": false,
|
|
29
29
|
"internalType": "uint256",
|
|
30
|
-
"name": "
|
|
30
|
+
"name": "otUsed",
|
|
31
31
|
"type": "uint256"
|
|
32
32
|
}
|
|
33
33
|
],
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
{
|
|
84
84
|
"indexed": false,
|
|
85
85
|
"internalType": "uint256",
|
|
86
|
-
"name": "
|
|
86
|
+
"name": "otToAccount",
|
|
87
87
|
"type": "uint256"
|
|
88
88
|
}
|
|
89
89
|
],
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
{
|
|
103
103
|
"indexed": false,
|
|
104
104
|
"internalType": "int256",
|
|
105
|
-
"name": "
|
|
105
|
+
"name": "otToAccount",
|
|
106
106
|
"type": "int256"
|
|
107
107
|
},
|
|
108
108
|
{
|
|
@@ -167,7 +167,7 @@
|
|
|
167
167
|
},
|
|
168
168
|
{
|
|
169
169
|
"inputs": [],
|
|
170
|
-
"name": "
|
|
170
|
+
"name": "OT",
|
|
171
171
|
"outputs": [
|
|
172
172
|
{
|
|
173
173
|
"internalType": "address",
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
},
|
|
219
219
|
{
|
|
220
220
|
"internalType": "uint256",
|
|
221
|
-
"name": "
|
|
221
|
+
"name": "otDesired",
|
|
222
222
|
"type": "uint256"
|
|
223
223
|
},
|
|
224
224
|
{
|
|
@@ -241,7 +241,7 @@
|
|
|
241
241
|
},
|
|
242
242
|
{
|
|
243
243
|
"internalType": "uint256",
|
|
244
|
-
"name": "
|
|
244
|
+
"name": "otUsed",
|
|
245
245
|
"type": "uint256"
|
|
246
246
|
}
|
|
247
247
|
],
|
|
@@ -381,7 +381,7 @@
|
|
|
381
381
|
"components": [
|
|
382
382
|
{
|
|
383
383
|
"internalType": "int256",
|
|
384
|
-
"name": "
|
|
384
|
+
"name": "totalOt",
|
|
385
385
|
"type": "int256"
|
|
386
386
|
},
|
|
387
387
|
{
|
|
@@ -458,8 +458,8 @@
|
|
|
458
458
|
"type": "address"
|
|
459
459
|
},
|
|
460
460
|
{
|
|
461
|
-
"internalType": "contract
|
|
462
|
-
"name": "
|
|
461
|
+
"internalType": "contract IPOwnershipToken",
|
|
462
|
+
"name": "_OT",
|
|
463
463
|
"type": "address"
|
|
464
464
|
},
|
|
465
465
|
{
|
|
@@ -498,7 +498,7 @@
|
|
|
498
498
|
},
|
|
499
499
|
{
|
|
500
500
|
"internalType": "uint256",
|
|
501
|
-
"name": "
|
|
501
|
+
"name": "otToAccount",
|
|
502
502
|
"type": "uint256"
|
|
503
503
|
}
|
|
504
504
|
],
|
|
@@ -514,7 +514,7 @@
|
|
|
514
514
|
},
|
|
515
515
|
{
|
|
516
516
|
"internalType": "uint256",
|
|
517
|
-
"name": "
|
|
517
|
+
"name": "exactOtIn",
|
|
518
518
|
"type": "uint256"
|
|
519
519
|
},
|
|
520
520
|
{
|
|
@@ -528,7 +528,7 @@
|
|
|
528
528
|
"type": "bytes"
|
|
529
529
|
}
|
|
530
530
|
],
|
|
531
|
-
"name": "
|
|
531
|
+
"name": "swapExactOtForScy",
|
|
532
532
|
"outputs": [
|
|
533
533
|
{
|
|
534
534
|
"internalType": "uint256",
|
|
@@ -553,7 +553,7 @@
|
|
|
553
553
|
},
|
|
554
554
|
{
|
|
555
555
|
"internalType": "uint256",
|
|
556
|
-
"name": "
|
|
556
|
+
"name": "exactOtOut",
|
|
557
557
|
"type": "uint256"
|
|
558
558
|
},
|
|
559
559
|
{
|
|
@@ -567,7 +567,7 @@
|
|
|
567
567
|
"type": "bytes"
|
|
568
568
|
}
|
|
569
569
|
],
|
|
570
|
-
"name": "
|
|
570
|
+
"name": "swapScyForExactOt",
|
|
571
571
|
"outputs": [
|
|
572
572
|
{
|
|
573
573
|
"internalType": "uint256",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
19
|
"internalType": "uint256",
|
|
20
|
-
"name": "
|
|
20
|
+
"name": "otOwed",
|
|
21
21
|
"type": "uint256"
|
|
22
22
|
},
|
|
23
23
|
{
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
47
|
"internalType": "uint256",
|
|
48
|
-
"name": "
|
|
48
|
+
"name": "otToAccount",
|
|
49
49
|
"type": "uint256"
|
|
50
50
|
},
|
|
51
51
|
{
|