@pendle/core-v2 0.8.1-gamma → 0.9.2-beta
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/SCY-implementations/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/WadRayMath.sol/WadRayMath.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiSAvaxSCY.sol/PendleQiSAvaxSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiSAvaxSCY.sol/PendleQiSAvaxSCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleSAvaxSCY.sol/PendleSAvaxSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleSAvaxSCY.sol/PendleSAvaxSCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Euler/PendleEulerSCY.sol/PendleEulerSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Euler/PendleEulerSCY.sol/PendleEulerSCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargateSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargateSCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultScy.sol/PendleYearnVaultSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultScy.sol/PendleYearnVaultSCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol/PendleSJoeSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol/PendleSJoeSCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerReceiverUpg.sol/CelerReceiverUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerSenderUpg.sol/CelerSenderUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -2
- package/build/artifacts/contracts/core/LiquidityMining/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +2 -2
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
- package/build/artifacts/contracts/core/PendleERC20.sol/PendleERC20.dbg.json +1 -1
- 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/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
- package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.json +2 -2
- package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.json +446 -131
- package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.json +75 -41
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndPTBase.sol/ActionSCYAndPTBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndPTBase.sol/ActionSCYAndPTBase.json +1 -1
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndPYBase.sol/ActionSCYAndPYBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndPYBase.sol/ActionSCYAndPYBase.json +1 -1
- 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 +1 -1
- package/build/artifacts/contracts/core/actions/base/CallbackHelper.sol/CallbackHelper.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/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ICelerMessageBus.sol/ICelerMessageBus.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ICelerMessageReceiverApp.sol/ICelerMessageReceiverApp.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IEulerEToken.sol/IEulerEToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IEulerMarkets.sol/IEulerMarkets.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 +442 -127
- package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.json +71 -37
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +513 -164
- package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.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 +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +2 -2
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IPVotingEscrow.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
- 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/IRewardManager.sol/IRewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ISAvax.sol/ISAvax.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ISJoe.sol/ISJoe.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStargateLPStaking.sol/IStargateLPStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStargatePool.sol/IStargatePool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ISuperComposableYield.sol/ISuperComposableYield.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWAvax.sol/IWAvax.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.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/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/SCY/SCYUtils.sol/SCYUtils.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
- package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
- package/build/artifacts/contracts/libraries/helpers/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/PYIndex.sol/PYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/PYIndex.sol/PYIndexLib.json +2 -2
- package/build/artifacts/contracts/libraries/helpers/SSTORE2Deployer.sol/SSTORE2Deployer.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/TokenHelper.sol/TokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +4 -0
- package/build/artifacts/contracts/libraries/{traderjoe/PendleJoeSwapHelperUpg.sol/PendleJoeSwapHelperUpg.json → kyberswap/KyberSwapHelper.sol/KyberSwapHelper.json} +3 -3
- package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
- 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/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/libraries/math/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/solmate/SSTORE2.sol/SSTORE2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +80 -41
- package/build/artifacts/contracts/periphery/PermissionsV2Upg.sol/PermissionsV2Upg.dbg.json +1 -1
- package/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol +6 -8
- package/contracts/core/PendleRouter.sol +14 -12
- package/contracts/core/actions/ActionCore.sol +125 -89
- package/contracts/core/actions/ActionYT.sol +17 -37
- package/contracts/core/actions/base/ActionSCYAndPTBase.sol +82 -42
- package/contracts/core/actions/base/ActionSCYAndPYBase.sol +39 -51
- package/contracts/core/actions/base/ActionSCYAndYTBase.sol +10 -27
- package/contracts/interfaces/IPActionCore.sol +89 -54
- package/contracts/interfaces/IPActionYT.sol +11 -12
- package/contracts/interfaces/IPRouterStatic.sol +2 -2
- package/contracts/libraries/helpers/TokenHelper.sol +8 -3
- package/contracts/libraries/kyberswap/KyberSwapHelper.sol +61 -0
- package/contracts/libraries/math/Math.sol +4 -0
- package/contracts/offchain-helpers/RouterStatic.sol +39 -3
- package/package.json +1 -1
- package/typechain-types/ActionCore.ts +545 -379
- package/typechain-types/ActionSCYAndPTBase.ts +11 -8
- package/typechain-types/ActionSCYAndPYBase.ts +11 -8
- package/typechain-types/ActionSCYAndYTBase.ts +11 -8
- package/typechain-types/ActionYT.ts +119 -106
- package/typechain-types/FeeDistributorAbstract.ts +164 -0
- package/typechain-types/IPActionCore.ts +533 -370
- package/typechain-types/IPActionYT.ts +110 -100
- package/typechain-types/IPAllAction.ts +611 -466
- package/typechain-types/IPRouterStatic.ts +16 -16
- package/typechain-types/IPVotingControllerStorage.ts +169 -0
- package/typechain-types/{PermissionsV2.ts → KyberSwapHelper.ts} +13 -13
- package/typechain-types/{PendleYearnVaultScy.ts → PendleYearnVaultSCY.ts} +0 -0
- package/typechain-types/RouterStatic.ts +145 -95
- package/typechain-types/factories/ActionCallback__factory.ts +1 -1
- package/typechain-types/factories/ActionCore__factory.ts +449 -134
- package/typechain-types/factories/ActionSCYAndPTBase__factory.ts +1 -1
- package/typechain-types/factories/ActionSCYAndPYBase__factory.ts +1 -1
- package/typechain-types/factories/ActionSCYAndYTBase__factory.ts +1 -1
- package/typechain-types/factories/ActionYT__factory.ts +78 -44
- package/typechain-types/factories/{VotingEscrowController__factory.ts → FeeDistributorAbstract__factory.ts} +33 -23
- package/typechain-types/factories/IPActionCore__factory.ts +442 -127
- package/typechain-types/factories/IPActionYT__factory.ts +71 -37
- package/typechain-types/factories/IPAllAction__factory.ts +513 -164
- package/typechain-types/factories/IPRouterStatic__factory.ts +2 -2
- package/typechain-types/factories/IPVotingControllerStorage__factory.ts +107 -0
- package/typechain-types/factories/{IPermissionsV2__factory.ts → KyberSwapHelper__factory.ts} +9 -9
- package/typechain-types/factories/PendleAaveV3SCY__factory.ts +1 -1
- package/typechain-types/factories/PendleERC4626SCY__factory.ts +1 -1
- package/typechain-types/factories/PendleEulerSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleMarket__factory.ts +1 -1
- package/typechain-types/factories/PendleQiSAvaxSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleSAvaxSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleSJoeSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleStargateSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleWstEthSCY__factory.ts +1 -1
- package/typechain-types/factories/{PendleYearnVaultScy__factory.ts → PendleYearnVaultSCY__factory.ts} +1 -1
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
- package/typechain-types/factories/RouterStatic__factory.ts +79 -40
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +9 -54
- package/typechain-types/index.ts +2 -12
- package/build/artifacts/contracts/interfaces/IJoePair.sol/IJoePair.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IJoePair.sol/IJoePair.json +0 -662
- package/build/artifacts/contracts/interfaces/IJoeRouter01.sol/IJoeRouter01.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IJoeRouter01.sol/IJoeRouter01.json +0 -760
- package/build/artifacts/contracts/interfaces/IJoeRouter02.sol/IJoeRouter02.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IJoeRouter02.sol/IJoeRouter02.json +0 -962
- package/build/artifacts/contracts/libraries/traderjoe/JoeLibrary.sol/JoeLibrary.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/traderjoe/JoeLibrary.sol/JoeLibrary.json +0 -10
- package/build/artifacts/contracts/libraries/traderjoe/PendleJoeSwapHelperUpg.sol/PendleJoeSwapHelperUpg.dbg.json +0 -4
- package/contracts/interfaces/IJoePair.sol +0 -98
- package/contracts/interfaces/IJoeRouter01.sol +0 -162
- package/contracts/interfaces/IJoeRouter02.sol +0 -52
- package/contracts/libraries/traderjoe/JoeLibrary.sol +0 -122
- package/contracts/libraries/traderjoe/PendleJoeSwapHelperUpg.sol +0 -80
- package/typechain-types/ActionRedeem.ts +0 -125
- package/typechain-types/ActionSCYAndYOBase.ts +0 -223
- 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/CelerReceiver.ts +0 -267
- package/typechain-types/CelerSender.ts +0 -197
- 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/ERC20Permit.ts +0 -521
- 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/IERC20Permit.ts +0 -175
- package/typechain-types/IGaugeController.ts +0 -99
- package/typechain-types/IJoePair.ts +0 -888
- package/typechain-types/IJoeRouter01.ts +0 -1107
- package/typechain-types/IJoeRouter02.ts +0 -1420
- 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/IPActionRedeem.ts +0 -125
- package/typechain-types/IPActionSCYAndPY.ts +0 -183
- package/typechain-types/IPBaseToken.ts +0 -365
- package/typechain-types/IPFlashCallback.ts +0 -115
- package/typechain-types/IPGauge.ts +0 -212
- package/typechain-types/IPLiquidYieldToken.ts +0 -641
- package/typechain-types/IPMarketAddRemoveCallback.ts +0 -169
- package/typechain-types/IPMarketCallback.ts +0 -107
- package/typechain-types/IPOwnershipToken.ts +0 -488
- package/typechain-types/IPRouterCore.ts +0 -769
- package/typechain-types/IPRouterRedeem.ts +0 -155
- package/typechain-types/IPRouterYT.ts +0 -489
- package/typechain-types/IPVotingEscrowController.ts +0 -154
- package/typechain-types/IPendleGauge.ts +0 -241
- package/typechain-types/IPermissionsV2.ts +0 -87
- package/typechain-types/IRainbowBridge.ts +0 -91
- package/typechain-types/ISCYRewardIndex.ts +0 -695
- package/typechain-types/IVEPendleToken.ts +0 -121
- package/typechain-types/IVePToken.ts +0 -103
- package/typechain-types/IVotingEscrowPendle.ts +0 -297
- 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/PendleBaseToken.ts +0 -475
- package/typechain-types/PendleBenQiErc20LYT.ts +0 -901
- package/typechain-types/PendleBenQiErc20SCY.ts +0 -1050
- package/typechain-types/PendleBenqiLiquidYieldToken.ts +0 -1013
- package/typechain-types/PendleBtrflyLYT.ts +0 -781
- package/typechain-types/PendleBtrflyScy.ts +0 -822
- package/typechain-types/PendleCelerRouter.ts +0 -359
- package/typechain-types/PendleERC20Permit.ts +0 -443
- package/typechain-types/PendleGaugeController.ts +0 -346
- package/typechain-types/PendleGaugeControllerMainchain.ts +0 -410
- package/typechain-types/PendleGaugeControllerSidechain.ts +0 -524
- package/typechain-types/PendleJoeLpSCY.ts +0 -835
- package/typechain-types/PendleJoeSwapHelper.ts +0 -92
- package/typechain-types/PendleJoeSwapHelperUpg.ts +0 -84
- package/typechain-types/PendleLYTMockYT.ts +0 -894
- package/typechain-types/PendleLiquidYieldToken.ts +0 -814
- package/typechain-types/PendleLiquidYieldTokenBase.ts +0 -941
- package/typechain-types/PendleOwnershipToken.ts +0 -598
- 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/PendleRouterRedeemUpg.ts +0 -125
- 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/PendleStEthSCY.ts +0 -872
- package/typechain-types/PendleStargatePool.ts +0 -1135
- package/typechain-types/PendleVotingController.ts +0 -983
- package/typechain-types/PendleYTLYTBenqi.ts +0 -863
- package/typechain-types/PendleYearnVaultLYT.ts +0 -723
- 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 -1004
- package/typechain-types/VotingControllerStorage.ts +0 -448
- package/typechain-types/VotingEscrowController.ts +0 -154
- package/typechain-types/VotingEscrowPendle.ts +0 -752
- package/typechain-types/VotingEscrowToken.ts +0 -251
- 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/ActionRedeem__factory.ts +0 -105
- package/typechain-types/factories/ActionSCYAndYOBase__factory.ts +0 -200
- 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/CelerReceiver__factory.ts +0 -140
- package/typechain-types/factories/CelerSender__factory.ts +0 -85
- 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/ERC20Permit__factory.ts +0 -368
- 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/IERC20Permit__factory.ts +0 -98
- package/typechain-types/factories/IGaugeController__factory.ts +0 -45
- package/typechain-types/factories/IJoePair__factory.ts +0 -674
- package/typechain-types/factories/IJoeRouter01__factory.ts +0 -772
- package/typechain-types/factories/IJoeRouter02__factory.ts +0 -974
- 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/IPActionRedeem__factory.ts +0 -70
- package/typechain-types/factories/IPActionSCYAndPY__factory.ts +0 -174
- package/typechain-types/factories/IPBaseToken__factory.ts +0 -271
- package/typechain-types/factories/IPFlashCallback__factory.ts +0 -49
- package/typechain-types/factories/IPGauge__factory.ts +0 -110
- package/typechain-types/factories/IPLiquidYieldToken__factory.ts +0 -433
- package/typechain-types/factories/IPMarketAddRemoveCallback__factory.ts +0 -86
- package/typechain-types/factories/IPMarketCallback__factory.ts +0 -55
- package/typechain-types/factories/IPOwnershipToken__factory.ts +0 -349
- 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/IPVotingEscrowController__factory.ts +0 -80
- package/typechain-types/factories/IPendleGauge__factory.ts +0 -125
- package/typechain-types/factories/IRainbowBridge__factory.ts +0 -76
- package/typechain-types/factories/ISCYRewardIndex__factory.ts +0 -465
- package/typechain-types/factories/IVEPendleToken__factory.ts +0 -71
- package/typechain-types/factories/IVePToken__factory.ts +0 -55
- package/typechain-types/factories/IVotingEscrowPendle__factory.ts +0 -182
- package/typechain-types/factories/IXPendle__factory.ts +0 -61
- 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/PendleBaseToken__factory.ts +0 -348
- package/typechain-types/factories/PendleBenQiErc20LYT__factory.ts +0 -748
- package/typechain-types/factories/PendleBenQiErc20SCY__factory.ts +0 -871
- package/typechain-types/factories/PendleBenqiLiquidYieldToken__factory.ts +0 -785
- package/typechain-types/factories/PendleBtrflyLYT__factory.ts +0 -647
- package/typechain-types/factories/PendleBtrflyScy__factory.ts +0 -710
- package/typechain-types/factories/PendleCelerRouter__factory.ts +0 -259
- package/typechain-types/factories/PendleERC20Permit__factory.ts +0 -405
- package/typechain-types/factories/PendleGaugeControllerMainchain__factory.ts +0 -332
- package/typechain-types/factories/PendleGaugeControllerSidechain__factory.ts +0 -391
- package/typechain-types/factories/PendleGaugeController__factory.ts +0 -212
- package/typechain-types/factories/PendleJoeLpSCY__factory.ts +0 -732
- package/typechain-types/factories/PendleJoeSwapHelperUpg__factory.ts +0 -43
- 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/PendleRouterRedeemUpg__factory.ts +0 -112
- 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/PendleStEthSCY__factory.ts +0 -716
- package/typechain-types/factories/PendleStargatePool__factory.ts +0 -961
- package/typechain-types/factories/PendleVotingController__factory.ts +0 -730
- 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/QiErc20Interface__factory.ts +0 -239
- 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/VotingControllerStorage__factory.ts +0 -315
- package/typechain-types/factories/VotingController__factory.ts +0 -645
- package/typechain-types/factories/VotingEscrowPendle__factory.ts +0 -527
- package/typechain-types/factories/VotingEscrowToken__factory.ts +0 -153
- 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
|
@@ -44,122 +44,146 @@ export type ApproxParamsStructOutput = [
|
|
|
44
44
|
eps: BigNumber;
|
|
45
45
|
};
|
|
46
46
|
|
|
47
|
+
export type TokenInputStruct = {
|
|
48
|
+
tokenIn: string;
|
|
49
|
+
netTokenIn: BigNumberish;
|
|
50
|
+
tokenMintScy: string;
|
|
51
|
+
kybercall: BytesLike;
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
export type TokenInputStructOutput = [string, BigNumber, string, string] & {
|
|
55
|
+
tokenIn: string;
|
|
56
|
+
netTokenIn: BigNumber;
|
|
57
|
+
tokenMintScy: string;
|
|
58
|
+
kybercall: string;
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
export type TokenOutputStruct = {
|
|
62
|
+
tokenOut: string;
|
|
63
|
+
minTokenOut: BigNumberish;
|
|
64
|
+
tokenRedeemScy: string;
|
|
65
|
+
kybercall: BytesLike;
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
export type TokenOutputStructOutput = [string, BigNumber, string, string] & {
|
|
69
|
+
tokenOut: string;
|
|
70
|
+
minTokenOut: BigNumber;
|
|
71
|
+
tokenRedeemScy: string;
|
|
72
|
+
kybercall: string;
|
|
73
|
+
};
|
|
74
|
+
|
|
47
75
|
export interface IPActionCoreInterface extends utils.Interface {
|
|
48
76
|
contractName: "IPActionCore";
|
|
49
77
|
functions: {
|
|
50
|
-
"
|
|
78
|
+
"addLiquidityDualIbTokenAndPt(address,address,uint256,uint256,uint256)": FunctionFragment;
|
|
79
|
+
"addLiquidityDualScyAndPt(address,address,uint256,uint256,uint256)": FunctionFragment;
|
|
51
80
|
"addLiquiditySinglePt(address,address,uint256,uint256,(uint256,uint256,uint256,uint256,uint256))": FunctionFragment;
|
|
52
|
-
"addLiquiditySingleRawToken(address,address,uint256,uint256,address[],(uint256,uint256,uint256,uint256,uint256))": FunctionFragment;
|
|
53
81
|
"addLiquiditySingleScy(address,address,uint256,uint256,(uint256,uint256,uint256,uint256,uint256))": FunctionFragment;
|
|
54
|
-
"
|
|
82
|
+
"addLiquiditySingleToken(address,address,uint256,(uint256,uint256,uint256,uint256,uint256),(address,uint256,address,bytes))": FunctionFragment;
|
|
55
83
|
"mintPyFromScy(address,address,uint256,uint256)": FunctionFragment;
|
|
56
|
-
"
|
|
84
|
+
"mintPyFromToken(address,address,uint256,(address,uint256,address,bytes))": FunctionFragment;
|
|
85
|
+
"mintScyFromToken(address,address,uint256,(address,uint256,address,bytes))": FunctionFragment;
|
|
57
86
|
"redeemDueInterestAndRewards(address,address[],address[],address[])": FunctionFragment;
|
|
58
|
-
"redeemPyToRawToken(address,address,uint256,uint256,address[])": FunctionFragment;
|
|
59
87
|
"redeemPyToScy(address,address,uint256,uint256)": FunctionFragment;
|
|
60
|
-
"
|
|
61
|
-
"
|
|
88
|
+
"redeemPyToToken(address,address,uint256,(address,uint256,address,bytes))": FunctionFragment;
|
|
89
|
+
"redeemScyToToken(address,address,uint256,(address,uint256,address,bytes))": FunctionFragment;
|
|
90
|
+
"removeLiquidityDualIbTokenAndPt(address,address,uint256,uint256,uint256)": FunctionFragment;
|
|
91
|
+
"removeLiquidityDualScyAndPt(address,address,uint256,uint256,uint256)": FunctionFragment;
|
|
62
92
|
"removeLiquiditySinglePt(address,address,uint256,uint256,(uint256,uint256,uint256,uint256,uint256))": FunctionFragment;
|
|
63
|
-
"removeLiquiditySingleRawToken(address,address,uint256,uint256,address[])": FunctionFragment;
|
|
64
93
|
"removeLiquiditySingleScy(address,address,uint256,uint256)": FunctionFragment;
|
|
65
|
-
"
|
|
94
|
+
"removeLiquiditySingleToken(address,address,uint256,(address,uint256,address,bytes))": FunctionFragment;
|
|
66
95
|
"swapExactPtForScy(address,address,uint256,uint256)": FunctionFragment;
|
|
67
|
-
"
|
|
96
|
+
"swapExactPtForToken(address,address,uint256,(address,uint256,address,bytes))": FunctionFragment;
|
|
68
97
|
"swapExactScyForPt(address,address,uint256,uint256,(uint256,uint256,uint256,uint256,uint256))": FunctionFragment;
|
|
98
|
+
"swapExactTokenForPt(address,address,uint256,(uint256,uint256,uint256,uint256,uint256),(address,uint256,address,bytes))": FunctionFragment;
|
|
69
99
|
"swapPtForExactScy(address,address,uint256,uint256,(uint256,uint256,uint256,uint256,uint256))": FunctionFragment;
|
|
70
100
|
"swapScyForExactPt(address,address,uint256,uint256)": FunctionFragment;
|
|
71
101
|
};
|
|
72
102
|
|
|
73
103
|
encodeFunctionData(
|
|
74
|
-
functionFragment: "
|
|
104
|
+
functionFragment: "addLiquidityDualIbTokenAndPt",
|
|
75
105
|
values: [string, string, BigNumberish, BigNumberish, BigNumberish]
|
|
76
106
|
): string;
|
|
77
107
|
encodeFunctionData(
|
|
78
|
-
functionFragment: "
|
|
79
|
-
values: [string, string, BigNumberish, BigNumberish,
|
|
108
|
+
functionFragment: "addLiquidityDualScyAndPt",
|
|
109
|
+
values: [string, string, BigNumberish, BigNumberish, BigNumberish]
|
|
80
110
|
): string;
|
|
81
111
|
encodeFunctionData(
|
|
82
|
-
functionFragment: "
|
|
83
|
-
values: [
|
|
84
|
-
string,
|
|
85
|
-
string,
|
|
86
|
-
BigNumberish,
|
|
87
|
-
BigNumberish,
|
|
88
|
-
string[],
|
|
89
|
-
ApproxParamsStruct
|
|
90
|
-
]
|
|
112
|
+
functionFragment: "addLiquiditySinglePt",
|
|
113
|
+
values: [string, string, BigNumberish, BigNumberish, ApproxParamsStruct]
|
|
91
114
|
): string;
|
|
92
115
|
encodeFunctionData(
|
|
93
116
|
functionFragment: "addLiquiditySingleScy",
|
|
94
117
|
values: [string, string, BigNumberish, BigNumberish, ApproxParamsStruct]
|
|
95
118
|
): string;
|
|
96
119
|
encodeFunctionData(
|
|
97
|
-
functionFragment: "
|
|
98
|
-
values: [string, string, BigNumberish,
|
|
120
|
+
functionFragment: "addLiquiditySingleToken",
|
|
121
|
+
values: [string, string, BigNumberish, ApproxParamsStruct, TokenInputStruct]
|
|
99
122
|
): string;
|
|
100
123
|
encodeFunctionData(
|
|
101
124
|
functionFragment: "mintPyFromScy",
|
|
102
125
|
values: [string, string, BigNumberish, BigNumberish]
|
|
103
126
|
): string;
|
|
104
127
|
encodeFunctionData(
|
|
105
|
-
functionFragment: "
|
|
106
|
-
values: [string, string, BigNumberish,
|
|
128
|
+
functionFragment: "mintPyFromToken",
|
|
129
|
+
values: [string, string, BigNumberish, TokenInputStruct]
|
|
107
130
|
): string;
|
|
108
131
|
encodeFunctionData(
|
|
109
|
-
functionFragment: "
|
|
110
|
-
values: [string, string
|
|
132
|
+
functionFragment: "mintScyFromToken",
|
|
133
|
+
values: [string, string, BigNumberish, TokenInputStruct]
|
|
111
134
|
): string;
|
|
112
135
|
encodeFunctionData(
|
|
113
|
-
functionFragment: "
|
|
114
|
-
values: [string, string,
|
|
136
|
+
functionFragment: "redeemDueInterestAndRewards",
|
|
137
|
+
values: [string, string[], string[], string[]]
|
|
115
138
|
): string;
|
|
116
139
|
encodeFunctionData(
|
|
117
140
|
functionFragment: "redeemPyToScy",
|
|
118
141
|
values: [string, string, BigNumberish, BigNumberish]
|
|
119
142
|
): string;
|
|
120
143
|
encodeFunctionData(
|
|
121
|
-
functionFragment: "
|
|
122
|
-
values: [string, string, BigNumberish,
|
|
144
|
+
functionFragment: "redeemPyToToken",
|
|
145
|
+
values: [string, string, BigNumberish, TokenOutputStruct]
|
|
146
|
+
): string;
|
|
147
|
+
encodeFunctionData(
|
|
148
|
+
functionFragment: "redeemScyToToken",
|
|
149
|
+
values: [string, string, BigNumberish, TokenOutputStruct]
|
|
123
150
|
): string;
|
|
124
151
|
encodeFunctionData(
|
|
125
|
-
functionFragment: "
|
|
152
|
+
functionFragment: "removeLiquidityDualIbTokenAndPt",
|
|
126
153
|
values: [string, string, BigNumberish, BigNumberish, BigNumberish]
|
|
127
154
|
): string;
|
|
128
155
|
encodeFunctionData(
|
|
129
|
-
functionFragment: "
|
|
130
|
-
values: [string, string, BigNumberish, BigNumberish,
|
|
156
|
+
functionFragment: "removeLiquidityDualScyAndPt",
|
|
157
|
+
values: [string, string, BigNumberish, BigNumberish, BigNumberish]
|
|
131
158
|
): string;
|
|
132
159
|
encodeFunctionData(
|
|
133
|
-
functionFragment: "
|
|
134
|
-
values: [string, string, BigNumberish, BigNumberish,
|
|
160
|
+
functionFragment: "removeLiquiditySinglePt",
|
|
161
|
+
values: [string, string, BigNumberish, BigNumberish, ApproxParamsStruct]
|
|
135
162
|
): string;
|
|
136
163
|
encodeFunctionData(
|
|
137
164
|
functionFragment: "removeLiquiditySingleScy",
|
|
138
165
|
values: [string, string, BigNumberish, BigNumberish]
|
|
139
166
|
): string;
|
|
140
167
|
encodeFunctionData(
|
|
141
|
-
functionFragment: "
|
|
142
|
-
values: [string, string, BigNumberish,
|
|
168
|
+
functionFragment: "removeLiquiditySingleToken",
|
|
169
|
+
values: [string, string, BigNumberish, TokenOutputStruct]
|
|
143
170
|
): string;
|
|
144
171
|
encodeFunctionData(
|
|
145
172
|
functionFragment: "swapExactPtForScy",
|
|
146
173
|
values: [string, string, BigNumberish, BigNumberish]
|
|
147
174
|
): string;
|
|
148
175
|
encodeFunctionData(
|
|
149
|
-
functionFragment: "
|
|
150
|
-
values: [
|
|
151
|
-
string,
|
|
152
|
-
string,
|
|
153
|
-
BigNumberish,
|
|
154
|
-
BigNumberish,
|
|
155
|
-
string[],
|
|
156
|
-
ApproxParamsStruct
|
|
157
|
-
]
|
|
176
|
+
functionFragment: "swapExactPtForToken",
|
|
177
|
+
values: [string, string, BigNumberish, TokenOutputStruct]
|
|
158
178
|
): string;
|
|
159
179
|
encodeFunctionData(
|
|
160
180
|
functionFragment: "swapExactScyForPt",
|
|
161
181
|
values: [string, string, BigNumberish, BigNumberish, ApproxParamsStruct]
|
|
162
182
|
): string;
|
|
183
|
+
encodeFunctionData(
|
|
184
|
+
functionFragment: "swapExactTokenForPt",
|
|
185
|
+
values: [string, string, BigNumberish, ApproxParamsStruct, TokenInputStruct]
|
|
186
|
+
): string;
|
|
163
187
|
encodeFunctionData(
|
|
164
188
|
functionFragment: "swapPtForExactScy",
|
|
165
189
|
values: [string, string, BigNumberish, BigNumberish, ApproxParamsStruct]
|
|
@@ -170,15 +194,15 @@ export interface IPActionCoreInterface extends utils.Interface {
|
|
|
170
194
|
): string;
|
|
171
195
|
|
|
172
196
|
decodeFunctionResult(
|
|
173
|
-
functionFragment: "
|
|
197
|
+
functionFragment: "addLiquidityDualIbTokenAndPt",
|
|
174
198
|
data: BytesLike
|
|
175
199
|
): Result;
|
|
176
200
|
decodeFunctionResult(
|
|
177
|
-
functionFragment: "
|
|
201
|
+
functionFragment: "addLiquidityDualScyAndPt",
|
|
178
202
|
data: BytesLike
|
|
179
203
|
): Result;
|
|
180
204
|
decodeFunctionResult(
|
|
181
|
-
functionFragment: "
|
|
205
|
+
functionFragment: "addLiquiditySinglePt",
|
|
182
206
|
data: BytesLike
|
|
183
207
|
): Result;
|
|
184
208
|
decodeFunctionResult(
|
|
@@ -186,7 +210,7 @@ export interface IPActionCoreInterface extends utils.Interface {
|
|
|
186
210
|
data: BytesLike
|
|
187
211
|
): Result;
|
|
188
212
|
decodeFunctionResult(
|
|
189
|
-
functionFragment: "
|
|
213
|
+
functionFragment: "addLiquiditySingleToken",
|
|
190
214
|
data: BytesLike
|
|
191
215
|
): Result;
|
|
192
216
|
decodeFunctionResult(
|
|
@@ -194,15 +218,15 @@ export interface IPActionCoreInterface extends utils.Interface {
|
|
|
194
218
|
data: BytesLike
|
|
195
219
|
): Result;
|
|
196
220
|
decodeFunctionResult(
|
|
197
|
-
functionFragment: "
|
|
221
|
+
functionFragment: "mintPyFromToken",
|
|
198
222
|
data: BytesLike
|
|
199
223
|
): Result;
|
|
200
224
|
decodeFunctionResult(
|
|
201
|
-
functionFragment: "
|
|
225
|
+
functionFragment: "mintScyFromToken",
|
|
202
226
|
data: BytesLike
|
|
203
227
|
): Result;
|
|
204
228
|
decodeFunctionResult(
|
|
205
|
-
functionFragment: "
|
|
229
|
+
functionFragment: "redeemDueInterestAndRewards",
|
|
206
230
|
data: BytesLike
|
|
207
231
|
): Result;
|
|
208
232
|
decodeFunctionResult(
|
|
@@ -210,19 +234,23 @@ export interface IPActionCoreInterface extends utils.Interface {
|
|
|
210
234
|
data: BytesLike
|
|
211
235
|
): Result;
|
|
212
236
|
decodeFunctionResult(
|
|
213
|
-
functionFragment: "
|
|
237
|
+
functionFragment: "redeemPyToToken",
|
|
214
238
|
data: BytesLike
|
|
215
239
|
): Result;
|
|
216
240
|
decodeFunctionResult(
|
|
217
|
-
functionFragment: "
|
|
241
|
+
functionFragment: "redeemScyToToken",
|
|
218
242
|
data: BytesLike
|
|
219
243
|
): Result;
|
|
220
244
|
decodeFunctionResult(
|
|
221
|
-
functionFragment: "
|
|
245
|
+
functionFragment: "removeLiquidityDualIbTokenAndPt",
|
|
222
246
|
data: BytesLike
|
|
223
247
|
): Result;
|
|
224
248
|
decodeFunctionResult(
|
|
225
|
-
functionFragment: "
|
|
249
|
+
functionFragment: "removeLiquidityDualScyAndPt",
|
|
250
|
+
data: BytesLike
|
|
251
|
+
): Result;
|
|
252
|
+
decodeFunctionResult(
|
|
253
|
+
functionFragment: "removeLiquiditySinglePt",
|
|
226
254
|
data: BytesLike
|
|
227
255
|
): Result;
|
|
228
256
|
decodeFunctionResult(
|
|
@@ -230,7 +258,7 @@ export interface IPActionCoreInterface extends utils.Interface {
|
|
|
230
258
|
data: BytesLike
|
|
231
259
|
): Result;
|
|
232
260
|
decodeFunctionResult(
|
|
233
|
-
functionFragment: "
|
|
261
|
+
functionFragment: "removeLiquiditySingleToken",
|
|
234
262
|
data: BytesLike
|
|
235
263
|
): Result;
|
|
236
264
|
decodeFunctionResult(
|
|
@@ -238,13 +266,17 @@ export interface IPActionCoreInterface extends utils.Interface {
|
|
|
238
266
|
data: BytesLike
|
|
239
267
|
): Result;
|
|
240
268
|
decodeFunctionResult(
|
|
241
|
-
functionFragment: "
|
|
269
|
+
functionFragment: "swapExactPtForToken",
|
|
242
270
|
data: BytesLike
|
|
243
271
|
): Result;
|
|
244
272
|
decodeFunctionResult(
|
|
245
273
|
functionFragment: "swapExactScyForPt",
|
|
246
274
|
data: BytesLike
|
|
247
275
|
): Result;
|
|
276
|
+
decodeFunctionResult(
|
|
277
|
+
functionFragment: "swapExactTokenForPt",
|
|
278
|
+
data: BytesLike
|
|
279
|
+
): Result;
|
|
248
280
|
decodeFunctionResult(
|
|
249
281
|
functionFragment: "swapPtForExactScy",
|
|
250
282
|
data: BytesLike
|
|
@@ -255,58 +287,69 @@ export interface IPActionCoreInterface extends utils.Interface {
|
|
|
255
287
|
): Result;
|
|
256
288
|
|
|
257
289
|
events: {
|
|
258
|
-
"
|
|
259
|
-
"
|
|
290
|
+
"AddLiquidityDualIbTokenAndPt(address,address,address,uint256,uint256,uint256)": EventFragment;
|
|
291
|
+
"AddLiquidityDualScyAndPt(address,address,address,uint256,uint256,uint256)": EventFragment;
|
|
260
292
|
"MintPyFromScy(address,address,address,uint256,uint256)": EventFragment;
|
|
261
|
-
"
|
|
262
|
-
"
|
|
293
|
+
"MintPyFromToken(address,address,address,address,uint256,uint256)": EventFragment;
|
|
294
|
+
"MintScyFromToken(address,address,address,address,uint256,uint256)": EventFragment;
|
|
263
295
|
"RedeemPyToScy(address,address,address,uint256,uint256)": EventFragment;
|
|
264
|
-
"
|
|
265
|
-
"
|
|
266
|
-
"
|
|
296
|
+
"RedeemPyToToken(address,address,address,uint256,address,uint256)": EventFragment;
|
|
297
|
+
"RedeemScyToToken(address,address,address,uint256,address,uint256)": EventFragment;
|
|
298
|
+
"RemoveLiquidityDualIbTokenAndPt(address,address,address,uint256,uint256,uint256)": EventFragment;
|
|
299
|
+
"RemoveLiquidityDualScyAndPt(address,address,address,uint256,uint256,uint256)": EventFragment;
|
|
267
300
|
"SwapPtAndScy(address,address,address,int256,int256)": EventFragment;
|
|
301
|
+
"SwapPtAndToken(address,address,address,address,int256,int256)": EventFragment;
|
|
268
302
|
};
|
|
269
303
|
|
|
270
|
-
getEvent(
|
|
271
|
-
|
|
304
|
+
getEvent(
|
|
305
|
+
nameOrSignatureOrTopic: "AddLiquidityDualIbTokenAndPt"
|
|
306
|
+
): EventFragment;
|
|
307
|
+
getEvent(nameOrSignatureOrTopic: "AddLiquidityDualScyAndPt"): EventFragment;
|
|
272
308
|
getEvent(nameOrSignatureOrTopic: "MintPyFromScy"): EventFragment;
|
|
273
|
-
getEvent(nameOrSignatureOrTopic: "
|
|
274
|
-
getEvent(nameOrSignatureOrTopic: "
|
|
309
|
+
getEvent(nameOrSignatureOrTopic: "MintPyFromToken"): EventFragment;
|
|
310
|
+
getEvent(nameOrSignatureOrTopic: "MintScyFromToken"): EventFragment;
|
|
275
311
|
getEvent(nameOrSignatureOrTopic: "RedeemPyToScy"): EventFragment;
|
|
276
|
-
getEvent(nameOrSignatureOrTopic: "
|
|
277
|
-
getEvent(nameOrSignatureOrTopic: "
|
|
278
|
-
getEvent(
|
|
312
|
+
getEvent(nameOrSignatureOrTopic: "RedeemPyToToken"): EventFragment;
|
|
313
|
+
getEvent(nameOrSignatureOrTopic: "RedeemScyToToken"): EventFragment;
|
|
314
|
+
getEvent(
|
|
315
|
+
nameOrSignatureOrTopic: "RemoveLiquidityDualIbTokenAndPt"
|
|
316
|
+
): EventFragment;
|
|
317
|
+
getEvent(
|
|
318
|
+
nameOrSignatureOrTopic: "RemoveLiquidityDualScyAndPt"
|
|
319
|
+
): EventFragment;
|
|
279
320
|
getEvent(nameOrSignatureOrTopic: "SwapPtAndScy"): EventFragment;
|
|
321
|
+
getEvent(nameOrSignatureOrTopic: "SwapPtAndToken"): EventFragment;
|
|
280
322
|
}
|
|
281
323
|
|
|
282
|
-
export type
|
|
324
|
+
export type AddLiquidityDualIbTokenAndPtEvent = TypedEvent<
|
|
283
325
|
[string, string, string, BigNumber, BigNumber, BigNumber],
|
|
284
326
|
{
|
|
285
327
|
caller: string;
|
|
286
328
|
market: string;
|
|
287
329
|
receiver: string;
|
|
288
|
-
|
|
330
|
+
ibTokenUsed: BigNumber;
|
|
289
331
|
ptUsed: BigNumber;
|
|
290
332
|
lpOut: BigNumber;
|
|
291
333
|
}
|
|
292
334
|
>;
|
|
293
335
|
|
|
294
|
-
export type
|
|
336
|
+
export type AddLiquidityDualIbTokenAndPtEventFilter =
|
|
337
|
+
TypedEventFilter<AddLiquidityDualIbTokenAndPtEvent>;
|
|
295
338
|
|
|
296
|
-
export type
|
|
297
|
-
[string, string, string,
|
|
339
|
+
export type AddLiquidityDualScyAndPtEvent = TypedEvent<
|
|
340
|
+
[string, string, string, BigNumber, BigNumber, BigNumber],
|
|
298
341
|
{
|
|
299
342
|
caller: string;
|
|
343
|
+
market: string;
|
|
300
344
|
receiver: string;
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
netPyOut: BigNumber;
|
|
345
|
+
scyUsed: BigNumber;
|
|
346
|
+
ptUsed: BigNumber;
|
|
347
|
+
lpOut: BigNumber;
|
|
305
348
|
}
|
|
306
349
|
>;
|
|
307
350
|
|
|
308
|
-
export type
|
|
309
|
-
TypedEventFilter<
|
|
351
|
+
export type AddLiquidityDualScyAndPtEventFilter =
|
|
352
|
+
TypedEventFilter<AddLiquidityDualScyAndPtEvent>;
|
|
310
353
|
|
|
311
354
|
export type MintPyFromScyEvent = TypedEvent<
|
|
312
355
|
[string, string, string, BigNumber, BigNumber],
|
|
@@ -321,35 +364,34 @@ export type MintPyFromScyEvent = TypedEvent<
|
|
|
321
364
|
|
|
322
365
|
export type MintPyFromScyEventFilter = TypedEventFilter<MintPyFromScyEvent>;
|
|
323
366
|
|
|
324
|
-
export type
|
|
367
|
+
export type MintPyFromTokenEvent = TypedEvent<
|
|
325
368
|
[string, string, string, string, BigNumber, BigNumber],
|
|
326
369
|
{
|
|
327
370
|
caller: string;
|
|
328
371
|
receiver: string;
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
372
|
+
YT: string;
|
|
373
|
+
tokenIn: string;
|
|
374
|
+
netTokenIn: BigNumber;
|
|
375
|
+
netPyOut: BigNumber;
|
|
333
376
|
}
|
|
334
377
|
>;
|
|
335
378
|
|
|
336
|
-
export type
|
|
337
|
-
TypedEventFilter<MintScyFromRawTokenEvent>;
|
|
379
|
+
export type MintPyFromTokenEventFilter = TypedEventFilter<MintPyFromTokenEvent>;
|
|
338
380
|
|
|
339
|
-
export type
|
|
340
|
-
[string, string, string,
|
|
381
|
+
export type MintScyFromTokenEvent = TypedEvent<
|
|
382
|
+
[string, string, string, string, BigNumber, BigNumber],
|
|
341
383
|
{
|
|
342
384
|
caller: string;
|
|
343
385
|
receiver: string;
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
386
|
+
SCY: string;
|
|
387
|
+
tokenIn: string;
|
|
388
|
+
netTokenIn: BigNumber;
|
|
389
|
+
netScyOut: BigNumber;
|
|
348
390
|
}
|
|
349
391
|
>;
|
|
350
392
|
|
|
351
|
-
export type
|
|
352
|
-
TypedEventFilter<
|
|
393
|
+
export type MintScyFromTokenEventFilter =
|
|
394
|
+
TypedEventFilter<MintScyFromTokenEvent>;
|
|
353
395
|
|
|
354
396
|
export type RedeemPyToScyEvent = TypedEvent<
|
|
355
397
|
[string, string, string, BigNumber, BigNumber],
|
|
@@ -364,22 +406,36 @@ export type RedeemPyToScyEvent = TypedEvent<
|
|
|
364
406
|
|
|
365
407
|
export type RedeemPyToScyEventFilter = TypedEventFilter<RedeemPyToScyEvent>;
|
|
366
408
|
|
|
367
|
-
export type
|
|
409
|
+
export type RedeemPyToTokenEvent = TypedEvent<
|
|
410
|
+
[string, string, string, BigNumber, string, BigNumber],
|
|
411
|
+
{
|
|
412
|
+
caller: string;
|
|
413
|
+
receiver: string;
|
|
414
|
+
YT: string;
|
|
415
|
+
netPyIn: BigNumber;
|
|
416
|
+
tokenOut: string;
|
|
417
|
+
netTokenOut: BigNumber;
|
|
418
|
+
}
|
|
419
|
+
>;
|
|
420
|
+
|
|
421
|
+
export type RedeemPyToTokenEventFilter = TypedEventFilter<RedeemPyToTokenEvent>;
|
|
422
|
+
|
|
423
|
+
export type RedeemScyToTokenEvent = TypedEvent<
|
|
368
424
|
[string, string, string, BigNumber, string, BigNumber],
|
|
369
425
|
{
|
|
370
426
|
caller: string;
|
|
371
427
|
receiver: string;
|
|
372
428
|
SCY: string;
|
|
373
429
|
netScyIn: BigNumber;
|
|
374
|
-
|
|
375
|
-
|
|
430
|
+
tokenOut: string;
|
|
431
|
+
netTokenOut: BigNumber;
|
|
376
432
|
}
|
|
377
433
|
>;
|
|
378
434
|
|
|
379
|
-
export type
|
|
380
|
-
TypedEventFilter<
|
|
435
|
+
export type RedeemScyToTokenEventFilter =
|
|
436
|
+
TypedEventFilter<RedeemScyToTokenEvent>;
|
|
381
437
|
|
|
382
|
-
export type
|
|
438
|
+
export type RemoveLiquidityDualIbTokenAndPtEvent = TypedEvent<
|
|
383
439
|
[string, string, string, BigNumber, BigNumber, BigNumber],
|
|
384
440
|
{
|
|
385
441
|
caller: string;
|
|
@@ -387,26 +443,27 @@ export type RemoveLiquidityEvent = TypedEvent<
|
|
|
387
443
|
receiver: string;
|
|
388
444
|
lpIn: BigNumber;
|
|
389
445
|
amountPTOut: BigNumber;
|
|
390
|
-
|
|
446
|
+
amountIbTokenOut: BigNumber;
|
|
391
447
|
}
|
|
392
448
|
>;
|
|
393
449
|
|
|
394
|
-
export type
|
|
450
|
+
export type RemoveLiquidityDualIbTokenAndPtEventFilter =
|
|
451
|
+
TypedEventFilter<RemoveLiquidityDualIbTokenAndPtEvent>;
|
|
395
452
|
|
|
396
|
-
export type
|
|
397
|
-
[string, string, string,
|
|
453
|
+
export type RemoveLiquidityDualScyAndPtEvent = TypedEvent<
|
|
454
|
+
[string, string, string, BigNumber, BigNumber, BigNumber],
|
|
398
455
|
{
|
|
399
456
|
caller: string;
|
|
400
457
|
market: string;
|
|
401
|
-
rawToken: string;
|
|
402
458
|
receiver: string;
|
|
403
|
-
|
|
404
|
-
|
|
459
|
+
lpIn: BigNumber;
|
|
460
|
+
amountPTOut: BigNumber;
|
|
461
|
+
amountSCYOut: BigNumber;
|
|
405
462
|
}
|
|
406
463
|
>;
|
|
407
464
|
|
|
408
|
-
export type
|
|
409
|
-
TypedEventFilter<
|
|
465
|
+
export type RemoveLiquidityDualScyAndPtEventFilter =
|
|
466
|
+
TypedEventFilter<RemoveLiquidityDualScyAndPtEvent>;
|
|
410
467
|
|
|
411
468
|
export type SwapPtAndScyEvent = TypedEvent<
|
|
412
469
|
[string, string, string, BigNumber, BigNumber],
|
|
@@ -421,6 +478,20 @@ export type SwapPtAndScyEvent = TypedEvent<
|
|
|
421
478
|
|
|
422
479
|
export type SwapPtAndScyEventFilter = TypedEventFilter<SwapPtAndScyEvent>;
|
|
423
480
|
|
|
481
|
+
export type SwapPtAndTokenEvent = TypedEvent<
|
|
482
|
+
[string, string, string, string, BigNumber, BigNumber],
|
|
483
|
+
{
|
|
484
|
+
caller: string;
|
|
485
|
+
market: string;
|
|
486
|
+
token: string;
|
|
487
|
+
receiver: string;
|
|
488
|
+
amountPtToAccount: BigNumber;
|
|
489
|
+
amountTokenToAccount: BigNumber;
|
|
490
|
+
}
|
|
491
|
+
>;
|
|
492
|
+
|
|
493
|
+
export type SwapPtAndTokenEventFilter = TypedEventFilter<SwapPtAndTokenEvent>;
|
|
494
|
+
|
|
424
495
|
export interface IPActionCore extends BaseContract {
|
|
425
496
|
contractName: "IPActionCore";
|
|
426
497
|
connect(signerOrProvider: Signer | Provider | string): this;
|
|
@@ -449,7 +520,16 @@ export interface IPActionCore extends BaseContract {
|
|
|
449
520
|
removeListener: OnEvent<this>;
|
|
450
521
|
|
|
451
522
|
functions: {
|
|
452
|
-
|
|
523
|
+
addLiquidityDualIbTokenAndPt(
|
|
524
|
+
receiver: string,
|
|
525
|
+
market: string,
|
|
526
|
+
ibTokenDesired: BigNumberish,
|
|
527
|
+
ptDesired: BigNumberish,
|
|
528
|
+
minLpOut: BigNumberish,
|
|
529
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
530
|
+
): Promise<ContractTransaction>;
|
|
531
|
+
|
|
532
|
+
addLiquidityDualScyAndPt(
|
|
453
533
|
receiver: string,
|
|
454
534
|
market: string,
|
|
455
535
|
scyDesired: BigNumberish,
|
|
@@ -467,48 +547,45 @@ export interface IPActionCore extends BaseContract {
|
|
|
467
547
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
468
548
|
): Promise<ContractTransaction>;
|
|
469
549
|
|
|
470
|
-
|
|
550
|
+
addLiquiditySingleScy(
|
|
471
551
|
receiver: string,
|
|
472
552
|
market: string,
|
|
473
|
-
|
|
553
|
+
netScyIn: BigNumberish,
|
|
474
554
|
minLpOut: BigNumberish,
|
|
475
|
-
path: string[],
|
|
476
555
|
guessPtReceivedFromScy: ApproxParamsStruct,
|
|
477
556
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
478
557
|
): Promise<ContractTransaction>;
|
|
479
558
|
|
|
480
|
-
|
|
559
|
+
addLiquiditySingleToken(
|
|
481
560
|
receiver: string,
|
|
482
561
|
market: string,
|
|
483
|
-
netScyIn: BigNumberish,
|
|
484
562
|
minLpOut: BigNumberish,
|
|
485
563
|
guessPtReceivedFromScy: ApproxParamsStruct,
|
|
564
|
+
input: TokenInputStruct,
|
|
486
565
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
487
566
|
): Promise<ContractTransaction>;
|
|
488
567
|
|
|
489
|
-
|
|
568
|
+
mintPyFromScy(
|
|
490
569
|
receiver: string,
|
|
491
570
|
YT: string,
|
|
492
|
-
|
|
571
|
+
netScyIn: BigNumberish,
|
|
493
572
|
minPyOut: BigNumberish,
|
|
494
|
-
path: string[],
|
|
495
573
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
496
574
|
): Promise<ContractTransaction>;
|
|
497
575
|
|
|
498
|
-
|
|
576
|
+
mintPyFromToken(
|
|
499
577
|
receiver: string,
|
|
500
578
|
YT: string,
|
|
501
|
-
netScyIn: BigNumberish,
|
|
502
579
|
minPyOut: BigNumberish,
|
|
580
|
+
input: TokenInputStruct,
|
|
503
581
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
504
582
|
): Promise<ContractTransaction>;
|
|
505
583
|
|
|
506
|
-
|
|
584
|
+
mintScyFromToken(
|
|
507
585
|
receiver: string,
|
|
508
586
|
SCY: string,
|
|
509
|
-
netRawTokenIn: BigNumberish,
|
|
510
587
|
minScyOut: BigNumberish,
|
|
511
|
-
|
|
588
|
+
input: TokenInputStruct,
|
|
512
589
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
513
590
|
): Promise<ContractTransaction>;
|
|
514
591
|
|
|
@@ -520,33 +597,40 @@ export interface IPActionCore extends BaseContract {
|
|
|
520
597
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
521
598
|
): Promise<ContractTransaction>;
|
|
522
599
|
|
|
523
|
-
|
|
600
|
+
redeemPyToScy(
|
|
524
601
|
receiver: string,
|
|
525
602
|
YT: string,
|
|
526
603
|
netPyIn: BigNumberish,
|
|
527
|
-
|
|
528
|
-
path: string[],
|
|
604
|
+
minScyOut: BigNumberish,
|
|
529
605
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
530
606
|
): Promise<ContractTransaction>;
|
|
531
607
|
|
|
532
|
-
|
|
608
|
+
redeemPyToToken(
|
|
533
609
|
receiver: string,
|
|
534
610
|
YT: string,
|
|
535
611
|
netPyIn: BigNumberish,
|
|
536
|
-
|
|
612
|
+
output: TokenOutputStruct,
|
|
537
613
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
538
614
|
): Promise<ContractTransaction>;
|
|
539
615
|
|
|
540
|
-
|
|
616
|
+
redeemScyToToken(
|
|
541
617
|
receiver: string,
|
|
542
618
|
SCY: string,
|
|
543
619
|
netScyIn: BigNumberish,
|
|
544
|
-
|
|
545
|
-
|
|
620
|
+
output: TokenOutputStruct,
|
|
621
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
622
|
+
): Promise<ContractTransaction>;
|
|
623
|
+
|
|
624
|
+
removeLiquidityDualIbTokenAndPt(
|
|
625
|
+
receiver: string,
|
|
626
|
+
market: string,
|
|
627
|
+
lpToRemove: BigNumberish,
|
|
628
|
+
ibTokenMin: BigNumberish,
|
|
629
|
+
ptOutMin: BigNumberish,
|
|
546
630
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
547
631
|
): Promise<ContractTransaction>;
|
|
548
632
|
|
|
549
|
-
|
|
633
|
+
removeLiquidityDualScyAndPt(
|
|
550
634
|
receiver: string,
|
|
551
635
|
market: string,
|
|
552
636
|
lpToRemove: BigNumberish,
|
|
@@ -564,56 +648,53 @@ export interface IPActionCore extends BaseContract {
|
|
|
564
648
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
565
649
|
): Promise<ContractTransaction>;
|
|
566
650
|
|
|
567
|
-
|
|
651
|
+
removeLiquiditySingleScy(
|
|
568
652
|
receiver: string,
|
|
569
653
|
market: string,
|
|
570
654
|
lpToRemove: BigNumberish,
|
|
571
|
-
|
|
572
|
-
path: string[],
|
|
655
|
+
minScyOut: BigNumberish,
|
|
573
656
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
574
657
|
): Promise<ContractTransaction>;
|
|
575
658
|
|
|
576
|
-
|
|
659
|
+
removeLiquiditySingleToken(
|
|
577
660
|
receiver: string,
|
|
578
661
|
market: string,
|
|
579
662
|
lpToRemove: BigNumberish,
|
|
580
|
-
|
|
663
|
+
output: TokenOutputStruct,
|
|
581
664
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
582
665
|
): Promise<ContractTransaction>;
|
|
583
666
|
|
|
584
|
-
|
|
667
|
+
swapExactPtForScy(
|
|
585
668
|
receiver: string,
|
|
586
669
|
market: string,
|
|
587
670
|
exactPtIn: BigNumberish,
|
|
588
|
-
|
|
589
|
-
path: string[],
|
|
671
|
+
minScyOut: BigNumberish,
|
|
590
672
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
591
673
|
): Promise<ContractTransaction>;
|
|
592
674
|
|
|
593
|
-
|
|
675
|
+
swapExactPtForToken(
|
|
594
676
|
receiver: string,
|
|
595
677
|
market: string,
|
|
596
678
|
exactPtIn: BigNumberish,
|
|
597
|
-
|
|
679
|
+
output: TokenOutputStruct,
|
|
598
680
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
599
681
|
): Promise<ContractTransaction>;
|
|
600
682
|
|
|
601
|
-
|
|
683
|
+
swapExactScyForPt(
|
|
602
684
|
receiver: string,
|
|
603
685
|
market: string,
|
|
604
|
-
|
|
686
|
+
exactScyIn: BigNumberish,
|
|
605
687
|
minPtOut: BigNumberish,
|
|
606
|
-
path: string[],
|
|
607
688
|
guessPtOut: ApproxParamsStruct,
|
|
608
689
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
609
690
|
): Promise<ContractTransaction>;
|
|
610
691
|
|
|
611
|
-
|
|
692
|
+
swapExactTokenForPt(
|
|
612
693
|
receiver: string,
|
|
613
694
|
market: string,
|
|
614
|
-
exactScyIn: BigNumberish,
|
|
615
695
|
minPtOut: BigNumberish,
|
|
616
696
|
guessPtOut: ApproxParamsStruct,
|
|
697
|
+
input: TokenInputStruct,
|
|
617
698
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
618
699
|
): Promise<ContractTransaction>;
|
|
619
700
|
|
|
@@ -635,7 +716,16 @@ export interface IPActionCore extends BaseContract {
|
|
|
635
716
|
): Promise<ContractTransaction>;
|
|
636
717
|
};
|
|
637
718
|
|
|
638
|
-
|
|
719
|
+
addLiquidityDualIbTokenAndPt(
|
|
720
|
+
receiver: string,
|
|
721
|
+
market: string,
|
|
722
|
+
ibTokenDesired: BigNumberish,
|
|
723
|
+
ptDesired: BigNumberish,
|
|
724
|
+
minLpOut: BigNumberish,
|
|
725
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
726
|
+
): Promise<ContractTransaction>;
|
|
727
|
+
|
|
728
|
+
addLiquidityDualScyAndPt(
|
|
639
729
|
receiver: string,
|
|
640
730
|
market: string,
|
|
641
731
|
scyDesired: BigNumberish,
|
|
@@ -653,48 +743,45 @@ export interface IPActionCore extends BaseContract {
|
|
|
653
743
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
654
744
|
): Promise<ContractTransaction>;
|
|
655
745
|
|
|
656
|
-
|
|
746
|
+
addLiquiditySingleScy(
|
|
657
747
|
receiver: string,
|
|
658
748
|
market: string,
|
|
659
|
-
|
|
749
|
+
netScyIn: BigNumberish,
|
|
660
750
|
minLpOut: BigNumberish,
|
|
661
|
-
path: string[],
|
|
662
751
|
guessPtReceivedFromScy: ApproxParamsStruct,
|
|
663
752
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
664
753
|
): Promise<ContractTransaction>;
|
|
665
754
|
|
|
666
|
-
|
|
755
|
+
addLiquiditySingleToken(
|
|
667
756
|
receiver: string,
|
|
668
757
|
market: string,
|
|
669
|
-
netScyIn: BigNumberish,
|
|
670
758
|
minLpOut: BigNumberish,
|
|
671
759
|
guessPtReceivedFromScy: ApproxParamsStruct,
|
|
760
|
+
input: TokenInputStruct,
|
|
672
761
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
673
762
|
): Promise<ContractTransaction>;
|
|
674
763
|
|
|
675
|
-
|
|
764
|
+
mintPyFromScy(
|
|
676
765
|
receiver: string,
|
|
677
766
|
YT: string,
|
|
678
|
-
|
|
767
|
+
netScyIn: BigNumberish,
|
|
679
768
|
minPyOut: BigNumberish,
|
|
680
|
-
path: string[],
|
|
681
769
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
682
770
|
): Promise<ContractTransaction>;
|
|
683
771
|
|
|
684
|
-
|
|
772
|
+
mintPyFromToken(
|
|
685
773
|
receiver: string,
|
|
686
774
|
YT: string,
|
|
687
|
-
netScyIn: BigNumberish,
|
|
688
775
|
minPyOut: BigNumberish,
|
|
776
|
+
input: TokenInputStruct,
|
|
689
777
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
690
778
|
): Promise<ContractTransaction>;
|
|
691
779
|
|
|
692
|
-
|
|
780
|
+
mintScyFromToken(
|
|
693
781
|
receiver: string,
|
|
694
782
|
SCY: string,
|
|
695
|
-
netRawTokenIn: BigNumberish,
|
|
696
783
|
minScyOut: BigNumberish,
|
|
697
|
-
|
|
784
|
+
input: TokenInputStruct,
|
|
698
785
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
699
786
|
): Promise<ContractTransaction>;
|
|
700
787
|
|
|
@@ -706,33 +793,40 @@ export interface IPActionCore extends BaseContract {
|
|
|
706
793
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
707
794
|
): Promise<ContractTransaction>;
|
|
708
795
|
|
|
709
|
-
|
|
796
|
+
redeemPyToScy(
|
|
710
797
|
receiver: string,
|
|
711
798
|
YT: string,
|
|
712
799
|
netPyIn: BigNumberish,
|
|
713
|
-
|
|
714
|
-
path: string[],
|
|
800
|
+
minScyOut: BigNumberish,
|
|
715
801
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
716
802
|
): Promise<ContractTransaction>;
|
|
717
803
|
|
|
718
|
-
|
|
804
|
+
redeemPyToToken(
|
|
719
805
|
receiver: string,
|
|
720
806
|
YT: string,
|
|
721
807
|
netPyIn: BigNumberish,
|
|
722
|
-
|
|
808
|
+
output: TokenOutputStruct,
|
|
723
809
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
724
810
|
): Promise<ContractTransaction>;
|
|
725
811
|
|
|
726
|
-
|
|
812
|
+
redeemScyToToken(
|
|
727
813
|
receiver: string,
|
|
728
814
|
SCY: string,
|
|
729
815
|
netScyIn: BigNumberish,
|
|
730
|
-
|
|
731
|
-
path: string[],
|
|
816
|
+
output: TokenOutputStruct,
|
|
732
817
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
733
818
|
): Promise<ContractTransaction>;
|
|
734
819
|
|
|
735
|
-
|
|
820
|
+
removeLiquidityDualIbTokenAndPt(
|
|
821
|
+
receiver: string,
|
|
822
|
+
market: string,
|
|
823
|
+
lpToRemove: BigNumberish,
|
|
824
|
+
ibTokenMin: BigNumberish,
|
|
825
|
+
ptOutMin: BigNumberish,
|
|
826
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
827
|
+
): Promise<ContractTransaction>;
|
|
828
|
+
|
|
829
|
+
removeLiquidityDualScyAndPt(
|
|
736
830
|
receiver: string,
|
|
737
831
|
market: string,
|
|
738
832
|
lpToRemove: BigNumberish,
|
|
@@ -750,56 +844,53 @@ export interface IPActionCore extends BaseContract {
|
|
|
750
844
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
751
845
|
): Promise<ContractTransaction>;
|
|
752
846
|
|
|
753
|
-
|
|
847
|
+
removeLiquiditySingleScy(
|
|
754
848
|
receiver: string,
|
|
755
849
|
market: string,
|
|
756
850
|
lpToRemove: BigNumberish,
|
|
757
|
-
|
|
758
|
-
path: string[],
|
|
851
|
+
minScyOut: BigNumberish,
|
|
759
852
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
760
853
|
): Promise<ContractTransaction>;
|
|
761
854
|
|
|
762
|
-
|
|
855
|
+
removeLiquiditySingleToken(
|
|
763
856
|
receiver: string,
|
|
764
857
|
market: string,
|
|
765
858
|
lpToRemove: BigNumberish,
|
|
766
|
-
|
|
859
|
+
output: TokenOutputStruct,
|
|
767
860
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
768
861
|
): Promise<ContractTransaction>;
|
|
769
862
|
|
|
770
|
-
|
|
863
|
+
swapExactPtForScy(
|
|
771
864
|
receiver: string,
|
|
772
865
|
market: string,
|
|
773
866
|
exactPtIn: BigNumberish,
|
|
774
|
-
|
|
775
|
-
path: string[],
|
|
867
|
+
minScyOut: BigNumberish,
|
|
776
868
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
777
869
|
): Promise<ContractTransaction>;
|
|
778
870
|
|
|
779
|
-
|
|
871
|
+
swapExactPtForToken(
|
|
780
872
|
receiver: string,
|
|
781
873
|
market: string,
|
|
782
874
|
exactPtIn: BigNumberish,
|
|
783
|
-
|
|
875
|
+
output: TokenOutputStruct,
|
|
784
876
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
785
877
|
): Promise<ContractTransaction>;
|
|
786
878
|
|
|
787
|
-
|
|
879
|
+
swapExactScyForPt(
|
|
788
880
|
receiver: string,
|
|
789
881
|
market: string,
|
|
790
|
-
|
|
882
|
+
exactScyIn: BigNumberish,
|
|
791
883
|
minPtOut: BigNumberish,
|
|
792
|
-
path: string[],
|
|
793
884
|
guessPtOut: ApproxParamsStruct,
|
|
794
885
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
795
886
|
): Promise<ContractTransaction>;
|
|
796
887
|
|
|
797
|
-
|
|
888
|
+
swapExactTokenForPt(
|
|
798
889
|
receiver: string,
|
|
799
890
|
market: string,
|
|
800
|
-
exactScyIn: BigNumberish,
|
|
801
891
|
minPtOut: BigNumberish,
|
|
802
892
|
guessPtOut: ApproxParamsStruct,
|
|
893
|
+
input: TokenInputStruct,
|
|
803
894
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
804
895
|
): Promise<ContractTransaction>;
|
|
805
896
|
|
|
@@ -821,7 +912,22 @@ export interface IPActionCore extends BaseContract {
|
|
|
821
912
|
): Promise<ContractTransaction>;
|
|
822
913
|
|
|
823
914
|
callStatic: {
|
|
824
|
-
|
|
915
|
+
addLiquidityDualIbTokenAndPt(
|
|
916
|
+
receiver: string,
|
|
917
|
+
market: string,
|
|
918
|
+
ibTokenDesired: BigNumberish,
|
|
919
|
+
ptDesired: BigNumberish,
|
|
920
|
+
minLpOut: BigNumberish,
|
|
921
|
+
overrides?: CallOverrides
|
|
922
|
+
): Promise<
|
|
923
|
+
[BigNumber, BigNumber, BigNumber] & {
|
|
924
|
+
netLpOut: BigNumber;
|
|
925
|
+
ibTokenUsed: BigNumber;
|
|
926
|
+
ptUsed: BigNumber;
|
|
927
|
+
}
|
|
928
|
+
>;
|
|
929
|
+
|
|
930
|
+
addLiquidityDualScyAndPt(
|
|
825
931
|
receiver: string,
|
|
826
932
|
market: string,
|
|
827
933
|
scyDesired: BigNumberish,
|
|
@@ -845,48 +951,45 @@ export interface IPActionCore extends BaseContract {
|
|
|
845
951
|
overrides?: CallOverrides
|
|
846
952
|
): Promise<BigNumber>;
|
|
847
953
|
|
|
848
|
-
|
|
954
|
+
addLiquiditySingleScy(
|
|
849
955
|
receiver: string,
|
|
850
956
|
market: string,
|
|
851
|
-
|
|
957
|
+
netScyIn: BigNumberish,
|
|
852
958
|
minLpOut: BigNumberish,
|
|
853
|
-
path: string[],
|
|
854
959
|
guessPtReceivedFromScy: ApproxParamsStruct,
|
|
855
960
|
overrides?: CallOverrides
|
|
856
961
|
): Promise<BigNumber>;
|
|
857
962
|
|
|
858
|
-
|
|
963
|
+
addLiquiditySingleToken(
|
|
859
964
|
receiver: string,
|
|
860
965
|
market: string,
|
|
861
|
-
netScyIn: BigNumberish,
|
|
862
966
|
minLpOut: BigNumberish,
|
|
863
967
|
guessPtReceivedFromScy: ApproxParamsStruct,
|
|
968
|
+
input: TokenInputStruct,
|
|
864
969
|
overrides?: CallOverrides
|
|
865
970
|
): Promise<BigNumber>;
|
|
866
971
|
|
|
867
|
-
|
|
972
|
+
mintPyFromScy(
|
|
868
973
|
receiver: string,
|
|
869
974
|
YT: string,
|
|
870
|
-
|
|
975
|
+
netScyIn: BigNumberish,
|
|
871
976
|
minPyOut: BigNumberish,
|
|
872
|
-
path: string[],
|
|
873
977
|
overrides?: CallOverrides
|
|
874
978
|
): Promise<BigNumber>;
|
|
875
979
|
|
|
876
|
-
|
|
980
|
+
mintPyFromToken(
|
|
877
981
|
receiver: string,
|
|
878
982
|
YT: string,
|
|
879
|
-
netScyIn: BigNumberish,
|
|
880
983
|
minPyOut: BigNumberish,
|
|
984
|
+
input: TokenInputStruct,
|
|
881
985
|
overrides?: CallOverrides
|
|
882
986
|
): Promise<BigNumber>;
|
|
883
987
|
|
|
884
|
-
|
|
988
|
+
mintScyFromToken(
|
|
885
989
|
receiver: string,
|
|
886
990
|
SCY: string,
|
|
887
|
-
netRawTokenIn: BigNumberish,
|
|
888
991
|
minScyOut: BigNumberish,
|
|
889
|
-
|
|
992
|
+
input: TokenInputStruct,
|
|
890
993
|
overrides?: CallOverrides
|
|
891
994
|
): Promise<BigNumber>;
|
|
892
995
|
|
|
@@ -905,33 +1008,42 @@ export interface IPActionCore extends BaseContract {
|
|
|
905
1008
|
}
|
|
906
1009
|
>;
|
|
907
1010
|
|
|
908
|
-
|
|
1011
|
+
redeemPyToScy(
|
|
909
1012
|
receiver: string,
|
|
910
1013
|
YT: string,
|
|
911
1014
|
netPyIn: BigNumberish,
|
|
912
|
-
|
|
913
|
-
path: string[],
|
|
1015
|
+
minScyOut: BigNumberish,
|
|
914
1016
|
overrides?: CallOverrides
|
|
915
1017
|
): Promise<BigNumber>;
|
|
916
1018
|
|
|
917
|
-
|
|
1019
|
+
redeemPyToToken(
|
|
918
1020
|
receiver: string,
|
|
919
1021
|
YT: string,
|
|
920
1022
|
netPyIn: BigNumberish,
|
|
921
|
-
|
|
1023
|
+
output: TokenOutputStruct,
|
|
922
1024
|
overrides?: CallOverrides
|
|
923
1025
|
): Promise<BigNumber>;
|
|
924
1026
|
|
|
925
|
-
|
|
1027
|
+
redeemScyToToken(
|
|
926
1028
|
receiver: string,
|
|
927
1029
|
SCY: string,
|
|
928
1030
|
netScyIn: BigNumberish,
|
|
929
|
-
|
|
930
|
-
path: string[],
|
|
1031
|
+
output: TokenOutputStruct,
|
|
931
1032
|
overrides?: CallOverrides
|
|
932
1033
|
): Promise<BigNumber>;
|
|
933
1034
|
|
|
934
|
-
|
|
1035
|
+
removeLiquidityDualIbTokenAndPt(
|
|
1036
|
+
receiver: string,
|
|
1037
|
+
market: string,
|
|
1038
|
+
lpToRemove: BigNumberish,
|
|
1039
|
+
ibTokenMin: BigNumberish,
|
|
1040
|
+
ptOutMin: BigNumberish,
|
|
1041
|
+
overrides?: CallOverrides
|
|
1042
|
+
): Promise<
|
|
1043
|
+
[BigNumber, BigNumber] & { netIbTokenOut: BigNumber; netPtOut: BigNumber }
|
|
1044
|
+
>;
|
|
1045
|
+
|
|
1046
|
+
removeLiquidityDualScyAndPt(
|
|
935
1047
|
receiver: string,
|
|
936
1048
|
market: string,
|
|
937
1049
|
lpToRemove: BigNumberish,
|
|
@@ -951,56 +1063,53 @@ export interface IPActionCore extends BaseContract {
|
|
|
951
1063
|
overrides?: CallOverrides
|
|
952
1064
|
): Promise<BigNumber>;
|
|
953
1065
|
|
|
954
|
-
|
|
1066
|
+
removeLiquiditySingleScy(
|
|
955
1067
|
receiver: string,
|
|
956
1068
|
market: string,
|
|
957
1069
|
lpToRemove: BigNumberish,
|
|
958
|
-
|
|
959
|
-
path: string[],
|
|
1070
|
+
minScyOut: BigNumberish,
|
|
960
1071
|
overrides?: CallOverrides
|
|
961
1072
|
): Promise<BigNumber>;
|
|
962
1073
|
|
|
963
|
-
|
|
1074
|
+
removeLiquiditySingleToken(
|
|
964
1075
|
receiver: string,
|
|
965
1076
|
market: string,
|
|
966
1077
|
lpToRemove: BigNumberish,
|
|
967
|
-
|
|
1078
|
+
output: TokenOutputStruct,
|
|
968
1079
|
overrides?: CallOverrides
|
|
969
1080
|
): Promise<BigNumber>;
|
|
970
1081
|
|
|
971
|
-
|
|
1082
|
+
swapExactPtForScy(
|
|
972
1083
|
receiver: string,
|
|
973
1084
|
market: string,
|
|
974
1085
|
exactPtIn: BigNumberish,
|
|
975
|
-
|
|
976
|
-
path: string[],
|
|
1086
|
+
minScyOut: BigNumberish,
|
|
977
1087
|
overrides?: CallOverrides
|
|
978
1088
|
): Promise<BigNumber>;
|
|
979
1089
|
|
|
980
|
-
|
|
1090
|
+
swapExactPtForToken(
|
|
981
1091
|
receiver: string,
|
|
982
1092
|
market: string,
|
|
983
1093
|
exactPtIn: BigNumberish,
|
|
984
|
-
|
|
1094
|
+
output: TokenOutputStruct,
|
|
985
1095
|
overrides?: CallOverrides
|
|
986
1096
|
): Promise<BigNumber>;
|
|
987
1097
|
|
|
988
|
-
|
|
1098
|
+
swapExactScyForPt(
|
|
989
1099
|
receiver: string,
|
|
990
1100
|
market: string,
|
|
991
|
-
|
|
1101
|
+
exactScyIn: BigNumberish,
|
|
992
1102
|
minPtOut: BigNumberish,
|
|
993
|
-
path: string[],
|
|
994
1103
|
guessPtOut: ApproxParamsStruct,
|
|
995
1104
|
overrides?: CallOverrides
|
|
996
1105
|
): Promise<BigNumber>;
|
|
997
1106
|
|
|
998
|
-
|
|
1107
|
+
swapExactTokenForPt(
|
|
999
1108
|
receiver: string,
|
|
1000
1109
|
market: string,
|
|
1001
|
-
exactScyIn: BigNumberish,
|
|
1002
1110
|
minPtOut: BigNumberish,
|
|
1003
1111
|
guessPtOut: ApproxParamsStruct,
|
|
1112
|
+
input: TokenInputStruct,
|
|
1004
1113
|
overrides?: CallOverrides
|
|
1005
1114
|
): Promise<BigNumber>;
|
|
1006
1115
|
|
|
@@ -1023,39 +1132,39 @@ export interface IPActionCore extends BaseContract {
|
|
|
1023
1132
|
};
|
|
1024
1133
|
|
|
1025
1134
|
filters: {
|
|
1026
|
-
"
|
|
1135
|
+
"AddLiquidityDualIbTokenAndPt(address,address,address,uint256,uint256,uint256)"(
|
|
1027
1136
|
caller?: string | null,
|
|
1028
1137
|
market?: string | null,
|
|
1029
1138
|
receiver?: string | null,
|
|
1030
|
-
|
|
1139
|
+
ibTokenUsed?: null,
|
|
1031
1140
|
ptUsed?: null,
|
|
1032
1141
|
lpOut?: null
|
|
1033
|
-
):
|
|
1034
|
-
|
|
1142
|
+
): AddLiquidityDualIbTokenAndPtEventFilter;
|
|
1143
|
+
AddLiquidityDualIbTokenAndPt(
|
|
1035
1144
|
caller?: string | null,
|
|
1036
1145
|
market?: string | null,
|
|
1037
1146
|
receiver?: string | null,
|
|
1038
|
-
|
|
1147
|
+
ibTokenUsed?: null,
|
|
1039
1148
|
ptUsed?: null,
|
|
1040
1149
|
lpOut?: null
|
|
1041
|
-
):
|
|
1150
|
+
): AddLiquidityDualIbTokenAndPtEventFilter;
|
|
1042
1151
|
|
|
1043
|
-
"
|
|
1152
|
+
"AddLiquidityDualScyAndPt(address,address,address,uint256,uint256,uint256)"(
|
|
1044
1153
|
caller?: string | null,
|
|
1154
|
+
market?: string | null,
|
|
1045
1155
|
receiver?: string | null,
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
MintPyFromRawToken(
|
|
1156
|
+
scyUsed?: null,
|
|
1157
|
+
ptUsed?: null,
|
|
1158
|
+
lpOut?: null
|
|
1159
|
+
): AddLiquidityDualScyAndPtEventFilter;
|
|
1160
|
+
AddLiquidityDualScyAndPt(
|
|
1052
1161
|
caller?: string | null,
|
|
1162
|
+
market?: string | null,
|
|
1053
1163
|
receiver?: string | null,
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
): MintPyFromRawTokenEventFilter;
|
|
1164
|
+
scyUsed?: null,
|
|
1165
|
+
ptUsed?: null,
|
|
1166
|
+
lpOut?: null
|
|
1167
|
+
): AddLiquidityDualScyAndPtEventFilter;
|
|
1059
1168
|
|
|
1060
1169
|
"MintPyFromScy(address,address,address,uint256,uint256)"(
|
|
1061
1170
|
caller?: string | null,
|
|
@@ -1072,105 +1181,122 @@ export interface IPActionCore extends BaseContract {
|
|
|
1072
1181
|
netPyOut?: null
|
|
1073
1182
|
): MintPyFromScyEventFilter;
|
|
1074
1183
|
|
|
1075
|
-
"
|
|
1184
|
+
"MintPyFromToken(address,address,address,address,uint256,uint256)"(
|
|
1185
|
+
caller?: string | null,
|
|
1186
|
+
receiver?: string | null,
|
|
1187
|
+
YT?: string | null,
|
|
1188
|
+
tokenIn?: null,
|
|
1189
|
+
netTokenIn?: null,
|
|
1190
|
+
netPyOut?: null
|
|
1191
|
+
): MintPyFromTokenEventFilter;
|
|
1192
|
+
MintPyFromToken(
|
|
1193
|
+
caller?: string | null,
|
|
1194
|
+
receiver?: string | null,
|
|
1195
|
+
YT?: string | null,
|
|
1196
|
+
tokenIn?: null,
|
|
1197
|
+
netTokenIn?: null,
|
|
1198
|
+
netPyOut?: null
|
|
1199
|
+
): MintPyFromTokenEventFilter;
|
|
1200
|
+
|
|
1201
|
+
"MintScyFromToken(address,address,address,address,uint256,uint256)"(
|
|
1076
1202
|
caller?: string | null,
|
|
1077
1203
|
receiver?: string | null,
|
|
1078
1204
|
SCY?: string | null,
|
|
1079
|
-
|
|
1080
|
-
|
|
1205
|
+
tokenIn?: null,
|
|
1206
|
+
netTokenIn?: null,
|
|
1081
1207
|
netScyOut?: null
|
|
1082
|
-
):
|
|
1083
|
-
|
|
1208
|
+
): MintScyFromTokenEventFilter;
|
|
1209
|
+
MintScyFromToken(
|
|
1084
1210
|
caller?: string | null,
|
|
1085
1211
|
receiver?: string | null,
|
|
1086
1212
|
SCY?: string | null,
|
|
1087
|
-
|
|
1088
|
-
|
|
1213
|
+
tokenIn?: null,
|
|
1214
|
+
netTokenIn?: null,
|
|
1089
1215
|
netScyOut?: null
|
|
1090
|
-
):
|
|
1216
|
+
): MintScyFromTokenEventFilter;
|
|
1091
1217
|
|
|
1092
|
-
"
|
|
1218
|
+
"RedeemPyToScy(address,address,address,uint256,uint256)"(
|
|
1093
1219
|
caller?: string | null,
|
|
1094
1220
|
receiver?: string | null,
|
|
1095
1221
|
YT?: string | null,
|
|
1096
1222
|
netPyIn?: null,
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
RedeemPyToRawToken(
|
|
1223
|
+
netScyOut?: null
|
|
1224
|
+
): RedeemPyToScyEventFilter;
|
|
1225
|
+
RedeemPyToScy(
|
|
1101
1226
|
caller?: string | null,
|
|
1102
1227
|
receiver?: string | null,
|
|
1103
1228
|
YT?: string | null,
|
|
1104
1229
|
netPyIn?: null,
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
): RedeemPyToRawTokenEventFilter;
|
|
1230
|
+
netScyOut?: null
|
|
1231
|
+
): RedeemPyToScyEventFilter;
|
|
1108
1232
|
|
|
1109
|
-
"
|
|
1233
|
+
"RedeemPyToToken(address,address,address,uint256,address,uint256)"(
|
|
1110
1234
|
caller?: string | null,
|
|
1111
1235
|
receiver?: string | null,
|
|
1112
1236
|
YT?: string | null,
|
|
1113
1237
|
netPyIn?: null,
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1238
|
+
tokenOut?: null,
|
|
1239
|
+
netTokenOut?: null
|
|
1240
|
+
): RedeemPyToTokenEventFilter;
|
|
1241
|
+
RedeemPyToToken(
|
|
1117
1242
|
caller?: string | null,
|
|
1118
1243
|
receiver?: string | null,
|
|
1119
1244
|
YT?: string | null,
|
|
1120
1245
|
netPyIn?: null,
|
|
1121
|
-
|
|
1122
|
-
|
|
1246
|
+
tokenOut?: null,
|
|
1247
|
+
netTokenOut?: null
|
|
1248
|
+
): RedeemPyToTokenEventFilter;
|
|
1123
1249
|
|
|
1124
|
-
"
|
|
1250
|
+
"RedeemScyToToken(address,address,address,uint256,address,uint256)"(
|
|
1125
1251
|
caller?: string | null,
|
|
1126
1252
|
receiver?: string | null,
|
|
1127
1253
|
SCY?: string | null,
|
|
1128
1254
|
netScyIn?: null,
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
):
|
|
1132
|
-
|
|
1255
|
+
tokenOut?: null,
|
|
1256
|
+
netTokenOut?: null
|
|
1257
|
+
): RedeemScyToTokenEventFilter;
|
|
1258
|
+
RedeemScyToToken(
|
|
1133
1259
|
caller?: string | null,
|
|
1134
1260
|
receiver?: string | null,
|
|
1135
1261
|
SCY?: string | null,
|
|
1136
1262
|
netScyIn?: null,
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
):
|
|
1263
|
+
tokenOut?: null,
|
|
1264
|
+
netTokenOut?: null
|
|
1265
|
+
): RedeemScyToTokenEventFilter;
|
|
1140
1266
|
|
|
1141
|
-
"
|
|
1267
|
+
"RemoveLiquidityDualIbTokenAndPt(address,address,address,uint256,uint256,uint256)"(
|
|
1142
1268
|
caller?: string | null,
|
|
1143
1269
|
market?: string | null,
|
|
1144
1270
|
receiver?: null,
|
|
1145
1271
|
lpIn?: null,
|
|
1146
1272
|
amountPTOut?: null,
|
|
1147
|
-
|
|
1148
|
-
):
|
|
1149
|
-
|
|
1273
|
+
amountIbTokenOut?: null
|
|
1274
|
+
): RemoveLiquidityDualIbTokenAndPtEventFilter;
|
|
1275
|
+
RemoveLiquidityDualIbTokenAndPt(
|
|
1150
1276
|
caller?: string | null,
|
|
1151
1277
|
market?: string | null,
|
|
1152
1278
|
receiver?: null,
|
|
1153
1279
|
lpIn?: null,
|
|
1154
1280
|
amountPTOut?: null,
|
|
1155
|
-
|
|
1156
|
-
):
|
|
1281
|
+
amountIbTokenOut?: null
|
|
1282
|
+
): RemoveLiquidityDualIbTokenAndPtEventFilter;
|
|
1157
1283
|
|
|
1158
|
-
"
|
|
1284
|
+
"RemoveLiquidityDualScyAndPt(address,address,address,uint256,uint256,uint256)"(
|
|
1159
1285
|
caller?: string | null,
|
|
1160
1286
|
market?: string | null,
|
|
1161
|
-
rawToken?: string | null,
|
|
1162
1287
|
receiver?: null,
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1288
|
+
lpIn?: null,
|
|
1289
|
+
amountPTOut?: null,
|
|
1290
|
+
amountSCYOut?: null
|
|
1291
|
+
): RemoveLiquidityDualScyAndPtEventFilter;
|
|
1292
|
+
RemoveLiquidityDualScyAndPt(
|
|
1167
1293
|
caller?: string | null,
|
|
1168
1294
|
market?: string | null,
|
|
1169
|
-
rawToken?: string | null,
|
|
1170
1295
|
receiver?: null,
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1296
|
+
lpIn?: null,
|
|
1297
|
+
amountPTOut?: null,
|
|
1298
|
+
amountSCYOut?: null
|
|
1299
|
+
): RemoveLiquidityDualScyAndPtEventFilter;
|
|
1174
1300
|
|
|
1175
1301
|
"SwapPtAndScy(address,address,address,int256,int256)"(
|
|
1176
1302
|
caller?: string | null,
|
|
@@ -1186,10 +1312,36 @@ export interface IPActionCore extends BaseContract {
|
|
|
1186
1312
|
amountPtToAccount?: null,
|
|
1187
1313
|
amountScyToAccount?: null
|
|
1188
1314
|
): SwapPtAndScyEventFilter;
|
|
1315
|
+
|
|
1316
|
+
"SwapPtAndToken(address,address,address,address,int256,int256)"(
|
|
1317
|
+
caller?: string | null,
|
|
1318
|
+
market?: string | null,
|
|
1319
|
+
token?: string | null,
|
|
1320
|
+
receiver?: null,
|
|
1321
|
+
amountPtToAccount?: null,
|
|
1322
|
+
amountTokenToAccount?: null
|
|
1323
|
+
): SwapPtAndTokenEventFilter;
|
|
1324
|
+
SwapPtAndToken(
|
|
1325
|
+
caller?: string | null,
|
|
1326
|
+
market?: string | null,
|
|
1327
|
+
token?: string | null,
|
|
1328
|
+
receiver?: null,
|
|
1329
|
+
amountPtToAccount?: null,
|
|
1330
|
+
amountTokenToAccount?: null
|
|
1331
|
+
): SwapPtAndTokenEventFilter;
|
|
1189
1332
|
};
|
|
1190
1333
|
|
|
1191
1334
|
estimateGas: {
|
|
1192
|
-
|
|
1335
|
+
addLiquidityDualIbTokenAndPt(
|
|
1336
|
+
receiver: string,
|
|
1337
|
+
market: string,
|
|
1338
|
+
ibTokenDesired: BigNumberish,
|
|
1339
|
+
ptDesired: BigNumberish,
|
|
1340
|
+
minLpOut: BigNumberish,
|
|
1341
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1342
|
+
): Promise<BigNumber>;
|
|
1343
|
+
|
|
1344
|
+
addLiquidityDualScyAndPt(
|
|
1193
1345
|
receiver: string,
|
|
1194
1346
|
market: string,
|
|
1195
1347
|
scyDesired: BigNumberish,
|
|
@@ -1207,48 +1359,45 @@ export interface IPActionCore extends BaseContract {
|
|
|
1207
1359
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1208
1360
|
): Promise<BigNumber>;
|
|
1209
1361
|
|
|
1210
|
-
|
|
1362
|
+
addLiquiditySingleScy(
|
|
1211
1363
|
receiver: string,
|
|
1212
1364
|
market: string,
|
|
1213
|
-
|
|
1365
|
+
netScyIn: BigNumberish,
|
|
1214
1366
|
minLpOut: BigNumberish,
|
|
1215
|
-
path: string[],
|
|
1216
1367
|
guessPtReceivedFromScy: ApproxParamsStruct,
|
|
1217
1368
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1218
1369
|
): Promise<BigNumber>;
|
|
1219
1370
|
|
|
1220
|
-
|
|
1371
|
+
addLiquiditySingleToken(
|
|
1221
1372
|
receiver: string,
|
|
1222
1373
|
market: string,
|
|
1223
|
-
netScyIn: BigNumberish,
|
|
1224
1374
|
minLpOut: BigNumberish,
|
|
1225
1375
|
guessPtReceivedFromScy: ApproxParamsStruct,
|
|
1376
|
+
input: TokenInputStruct,
|
|
1226
1377
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1227
1378
|
): Promise<BigNumber>;
|
|
1228
1379
|
|
|
1229
|
-
|
|
1380
|
+
mintPyFromScy(
|
|
1230
1381
|
receiver: string,
|
|
1231
1382
|
YT: string,
|
|
1232
|
-
|
|
1383
|
+
netScyIn: BigNumberish,
|
|
1233
1384
|
minPyOut: BigNumberish,
|
|
1234
|
-
path: string[],
|
|
1235
1385
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1236
1386
|
): Promise<BigNumber>;
|
|
1237
1387
|
|
|
1238
|
-
|
|
1388
|
+
mintPyFromToken(
|
|
1239
1389
|
receiver: string,
|
|
1240
1390
|
YT: string,
|
|
1241
|
-
netScyIn: BigNumberish,
|
|
1242
1391
|
minPyOut: BigNumberish,
|
|
1392
|
+
input: TokenInputStruct,
|
|
1243
1393
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1244
1394
|
): Promise<BigNumber>;
|
|
1245
1395
|
|
|
1246
|
-
|
|
1396
|
+
mintScyFromToken(
|
|
1247
1397
|
receiver: string,
|
|
1248
1398
|
SCY: string,
|
|
1249
|
-
netRawTokenIn: BigNumberish,
|
|
1250
1399
|
minScyOut: BigNumberish,
|
|
1251
|
-
|
|
1400
|
+
input: TokenInputStruct,
|
|
1252
1401
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1253
1402
|
): Promise<BigNumber>;
|
|
1254
1403
|
|
|
@@ -1260,33 +1409,40 @@ export interface IPActionCore extends BaseContract {
|
|
|
1260
1409
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1261
1410
|
): Promise<BigNumber>;
|
|
1262
1411
|
|
|
1263
|
-
|
|
1412
|
+
redeemPyToScy(
|
|
1264
1413
|
receiver: string,
|
|
1265
1414
|
YT: string,
|
|
1266
1415
|
netPyIn: BigNumberish,
|
|
1267
|
-
|
|
1268
|
-
path: string[],
|
|
1416
|
+
minScyOut: BigNumberish,
|
|
1269
1417
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1270
1418
|
): Promise<BigNumber>;
|
|
1271
1419
|
|
|
1272
|
-
|
|
1420
|
+
redeemPyToToken(
|
|
1273
1421
|
receiver: string,
|
|
1274
1422
|
YT: string,
|
|
1275
1423
|
netPyIn: BigNumberish,
|
|
1276
|
-
|
|
1424
|
+
output: TokenOutputStruct,
|
|
1277
1425
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1278
1426
|
): Promise<BigNumber>;
|
|
1279
1427
|
|
|
1280
|
-
|
|
1428
|
+
redeemScyToToken(
|
|
1281
1429
|
receiver: string,
|
|
1282
1430
|
SCY: string,
|
|
1283
1431
|
netScyIn: BigNumberish,
|
|
1284
|
-
|
|
1285
|
-
path: string[],
|
|
1432
|
+
output: TokenOutputStruct,
|
|
1286
1433
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1287
1434
|
): Promise<BigNumber>;
|
|
1288
1435
|
|
|
1289
|
-
|
|
1436
|
+
removeLiquidityDualIbTokenAndPt(
|
|
1437
|
+
receiver: string,
|
|
1438
|
+
market: string,
|
|
1439
|
+
lpToRemove: BigNumberish,
|
|
1440
|
+
ibTokenMin: BigNumberish,
|
|
1441
|
+
ptOutMin: BigNumberish,
|
|
1442
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1443
|
+
): Promise<BigNumber>;
|
|
1444
|
+
|
|
1445
|
+
removeLiquidityDualScyAndPt(
|
|
1290
1446
|
receiver: string,
|
|
1291
1447
|
market: string,
|
|
1292
1448
|
lpToRemove: BigNumberish,
|
|
@@ -1304,56 +1460,53 @@ export interface IPActionCore extends BaseContract {
|
|
|
1304
1460
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1305
1461
|
): Promise<BigNumber>;
|
|
1306
1462
|
|
|
1307
|
-
|
|
1463
|
+
removeLiquiditySingleScy(
|
|
1308
1464
|
receiver: string,
|
|
1309
1465
|
market: string,
|
|
1310
1466
|
lpToRemove: BigNumberish,
|
|
1311
|
-
|
|
1312
|
-
path: string[],
|
|
1467
|
+
minScyOut: BigNumberish,
|
|
1313
1468
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1314
1469
|
): Promise<BigNumber>;
|
|
1315
1470
|
|
|
1316
|
-
|
|
1471
|
+
removeLiquiditySingleToken(
|
|
1317
1472
|
receiver: string,
|
|
1318
1473
|
market: string,
|
|
1319
1474
|
lpToRemove: BigNumberish,
|
|
1320
|
-
|
|
1475
|
+
output: TokenOutputStruct,
|
|
1321
1476
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1322
1477
|
): Promise<BigNumber>;
|
|
1323
1478
|
|
|
1324
|
-
|
|
1479
|
+
swapExactPtForScy(
|
|
1325
1480
|
receiver: string,
|
|
1326
1481
|
market: string,
|
|
1327
1482
|
exactPtIn: BigNumberish,
|
|
1328
|
-
|
|
1329
|
-
path: string[],
|
|
1483
|
+
minScyOut: BigNumberish,
|
|
1330
1484
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1331
1485
|
): Promise<BigNumber>;
|
|
1332
1486
|
|
|
1333
|
-
|
|
1487
|
+
swapExactPtForToken(
|
|
1334
1488
|
receiver: string,
|
|
1335
1489
|
market: string,
|
|
1336
1490
|
exactPtIn: BigNumberish,
|
|
1337
|
-
|
|
1491
|
+
output: TokenOutputStruct,
|
|
1338
1492
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1339
1493
|
): Promise<BigNumber>;
|
|
1340
1494
|
|
|
1341
|
-
|
|
1495
|
+
swapExactScyForPt(
|
|
1342
1496
|
receiver: string,
|
|
1343
1497
|
market: string,
|
|
1344
|
-
|
|
1498
|
+
exactScyIn: BigNumberish,
|
|
1345
1499
|
minPtOut: BigNumberish,
|
|
1346
|
-
path: string[],
|
|
1347
1500
|
guessPtOut: ApproxParamsStruct,
|
|
1348
1501
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1349
1502
|
): Promise<BigNumber>;
|
|
1350
1503
|
|
|
1351
|
-
|
|
1504
|
+
swapExactTokenForPt(
|
|
1352
1505
|
receiver: string,
|
|
1353
1506
|
market: string,
|
|
1354
|
-
exactScyIn: BigNumberish,
|
|
1355
1507
|
minPtOut: BigNumberish,
|
|
1356
1508
|
guessPtOut: ApproxParamsStruct,
|
|
1509
|
+
input: TokenInputStruct,
|
|
1357
1510
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1358
1511
|
): Promise<BigNumber>;
|
|
1359
1512
|
|
|
@@ -1376,7 +1529,16 @@ export interface IPActionCore extends BaseContract {
|
|
|
1376
1529
|
};
|
|
1377
1530
|
|
|
1378
1531
|
populateTransaction: {
|
|
1379
|
-
|
|
1532
|
+
addLiquidityDualIbTokenAndPt(
|
|
1533
|
+
receiver: string,
|
|
1534
|
+
market: string,
|
|
1535
|
+
ibTokenDesired: BigNumberish,
|
|
1536
|
+
ptDesired: BigNumberish,
|
|
1537
|
+
minLpOut: BigNumberish,
|
|
1538
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1539
|
+
): Promise<PopulatedTransaction>;
|
|
1540
|
+
|
|
1541
|
+
addLiquidityDualScyAndPt(
|
|
1380
1542
|
receiver: string,
|
|
1381
1543
|
market: string,
|
|
1382
1544
|
scyDesired: BigNumberish,
|
|
@@ -1394,48 +1556,45 @@ export interface IPActionCore extends BaseContract {
|
|
|
1394
1556
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1395
1557
|
): Promise<PopulatedTransaction>;
|
|
1396
1558
|
|
|
1397
|
-
|
|
1559
|
+
addLiquiditySingleScy(
|
|
1398
1560
|
receiver: string,
|
|
1399
1561
|
market: string,
|
|
1400
|
-
|
|
1562
|
+
netScyIn: BigNumberish,
|
|
1401
1563
|
minLpOut: BigNumberish,
|
|
1402
|
-
path: string[],
|
|
1403
1564
|
guessPtReceivedFromScy: ApproxParamsStruct,
|
|
1404
1565
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1405
1566
|
): Promise<PopulatedTransaction>;
|
|
1406
1567
|
|
|
1407
|
-
|
|
1568
|
+
addLiquiditySingleToken(
|
|
1408
1569
|
receiver: string,
|
|
1409
1570
|
market: string,
|
|
1410
|
-
netScyIn: BigNumberish,
|
|
1411
1571
|
minLpOut: BigNumberish,
|
|
1412
1572
|
guessPtReceivedFromScy: ApproxParamsStruct,
|
|
1573
|
+
input: TokenInputStruct,
|
|
1413
1574
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1414
1575
|
): Promise<PopulatedTransaction>;
|
|
1415
1576
|
|
|
1416
|
-
|
|
1577
|
+
mintPyFromScy(
|
|
1417
1578
|
receiver: string,
|
|
1418
1579
|
YT: string,
|
|
1419
|
-
|
|
1580
|
+
netScyIn: BigNumberish,
|
|
1420
1581
|
minPyOut: BigNumberish,
|
|
1421
|
-
path: string[],
|
|
1422
1582
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1423
1583
|
): Promise<PopulatedTransaction>;
|
|
1424
1584
|
|
|
1425
|
-
|
|
1585
|
+
mintPyFromToken(
|
|
1426
1586
|
receiver: string,
|
|
1427
1587
|
YT: string,
|
|
1428
|
-
netScyIn: BigNumberish,
|
|
1429
1588
|
minPyOut: BigNumberish,
|
|
1589
|
+
input: TokenInputStruct,
|
|
1430
1590
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1431
1591
|
): Promise<PopulatedTransaction>;
|
|
1432
1592
|
|
|
1433
|
-
|
|
1593
|
+
mintScyFromToken(
|
|
1434
1594
|
receiver: string,
|
|
1435
1595
|
SCY: string,
|
|
1436
|
-
netRawTokenIn: BigNumberish,
|
|
1437
1596
|
minScyOut: BigNumberish,
|
|
1438
|
-
|
|
1597
|
+
input: TokenInputStruct,
|
|
1439
1598
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1440
1599
|
): Promise<PopulatedTransaction>;
|
|
1441
1600
|
|
|
@@ -1447,33 +1606,40 @@ export interface IPActionCore extends BaseContract {
|
|
|
1447
1606
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1448
1607
|
): Promise<PopulatedTransaction>;
|
|
1449
1608
|
|
|
1450
|
-
|
|
1609
|
+
redeemPyToScy(
|
|
1451
1610
|
receiver: string,
|
|
1452
1611
|
YT: string,
|
|
1453
1612
|
netPyIn: BigNumberish,
|
|
1454
|
-
|
|
1455
|
-
path: string[],
|
|
1613
|
+
minScyOut: BigNumberish,
|
|
1456
1614
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1457
1615
|
): Promise<PopulatedTransaction>;
|
|
1458
1616
|
|
|
1459
|
-
|
|
1617
|
+
redeemPyToToken(
|
|
1460
1618
|
receiver: string,
|
|
1461
1619
|
YT: string,
|
|
1462
1620
|
netPyIn: BigNumberish,
|
|
1463
|
-
|
|
1621
|
+
output: TokenOutputStruct,
|
|
1464
1622
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1465
1623
|
): Promise<PopulatedTransaction>;
|
|
1466
1624
|
|
|
1467
|
-
|
|
1625
|
+
redeemScyToToken(
|
|
1468
1626
|
receiver: string,
|
|
1469
1627
|
SCY: string,
|
|
1470
1628
|
netScyIn: BigNumberish,
|
|
1471
|
-
|
|
1472
|
-
|
|
1629
|
+
output: TokenOutputStruct,
|
|
1630
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1631
|
+
): Promise<PopulatedTransaction>;
|
|
1632
|
+
|
|
1633
|
+
removeLiquidityDualIbTokenAndPt(
|
|
1634
|
+
receiver: string,
|
|
1635
|
+
market: string,
|
|
1636
|
+
lpToRemove: BigNumberish,
|
|
1637
|
+
ibTokenMin: BigNumberish,
|
|
1638
|
+
ptOutMin: BigNumberish,
|
|
1473
1639
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1474
1640
|
): Promise<PopulatedTransaction>;
|
|
1475
1641
|
|
|
1476
|
-
|
|
1642
|
+
removeLiquidityDualScyAndPt(
|
|
1477
1643
|
receiver: string,
|
|
1478
1644
|
market: string,
|
|
1479
1645
|
lpToRemove: BigNumberish,
|
|
@@ -1491,56 +1657,53 @@ export interface IPActionCore extends BaseContract {
|
|
|
1491
1657
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1492
1658
|
): Promise<PopulatedTransaction>;
|
|
1493
1659
|
|
|
1494
|
-
|
|
1660
|
+
removeLiquiditySingleScy(
|
|
1495
1661
|
receiver: string,
|
|
1496
1662
|
market: string,
|
|
1497
1663
|
lpToRemove: BigNumberish,
|
|
1498
|
-
|
|
1499
|
-
path: string[],
|
|
1664
|
+
minScyOut: BigNumberish,
|
|
1500
1665
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1501
1666
|
): Promise<PopulatedTransaction>;
|
|
1502
1667
|
|
|
1503
|
-
|
|
1668
|
+
removeLiquiditySingleToken(
|
|
1504
1669
|
receiver: string,
|
|
1505
1670
|
market: string,
|
|
1506
1671
|
lpToRemove: BigNumberish,
|
|
1507
|
-
|
|
1672
|
+
output: TokenOutputStruct,
|
|
1508
1673
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1509
1674
|
): Promise<PopulatedTransaction>;
|
|
1510
1675
|
|
|
1511
|
-
|
|
1676
|
+
swapExactPtForScy(
|
|
1512
1677
|
receiver: string,
|
|
1513
1678
|
market: string,
|
|
1514
1679
|
exactPtIn: BigNumberish,
|
|
1515
|
-
|
|
1516
|
-
path: string[],
|
|
1680
|
+
minScyOut: BigNumberish,
|
|
1517
1681
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1518
1682
|
): Promise<PopulatedTransaction>;
|
|
1519
1683
|
|
|
1520
|
-
|
|
1684
|
+
swapExactPtForToken(
|
|
1521
1685
|
receiver: string,
|
|
1522
1686
|
market: string,
|
|
1523
1687
|
exactPtIn: BigNumberish,
|
|
1524
|
-
|
|
1688
|
+
output: TokenOutputStruct,
|
|
1525
1689
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1526
1690
|
): Promise<PopulatedTransaction>;
|
|
1527
1691
|
|
|
1528
|
-
|
|
1692
|
+
swapExactScyForPt(
|
|
1529
1693
|
receiver: string,
|
|
1530
1694
|
market: string,
|
|
1531
|
-
|
|
1695
|
+
exactScyIn: BigNumberish,
|
|
1532
1696
|
minPtOut: BigNumberish,
|
|
1533
|
-
path: string[],
|
|
1534
1697
|
guessPtOut: ApproxParamsStruct,
|
|
1535
1698
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1536
1699
|
): Promise<PopulatedTransaction>;
|
|
1537
1700
|
|
|
1538
|
-
|
|
1701
|
+
swapExactTokenForPt(
|
|
1539
1702
|
receiver: string,
|
|
1540
1703
|
market: string,
|
|
1541
|
-
exactScyIn: BigNumberish,
|
|
1542
1704
|
minPtOut: BigNumberish,
|
|
1543
1705
|
guessPtOut: ApproxParamsStruct,
|
|
1706
|
+
input: TokenInputStruct,
|
|
1544
1707
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1545
1708
|
): Promise<PopulatedTransaction>;
|
|
1546
1709
|
|