@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,32 +44,62 @@ 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 IPAllActionInterface extends utils.Interface {
|
|
48
76
|
contractName: "IPAllAction";
|
|
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
|
-
"
|
|
68
|
-
"swapExactRawTokenForYt(address,address,uint256,uint256,address[],(uint256,uint256,uint256,uint256,uint256))": FunctionFragment;
|
|
96
|
+
"swapExactPtForToken(address,address,uint256,(address,uint256,address,bytes))": FunctionFragment;
|
|
69
97
|
"swapExactScyForPt(address,address,uint256,uint256,(uint256,uint256,uint256,uint256,uint256))": FunctionFragment;
|
|
70
98
|
"swapExactScyForYt(address,address,uint256,uint256,(uint256,uint256,uint256,uint256,uint256))": FunctionFragment;
|
|
71
|
-
"
|
|
99
|
+
"swapExactTokenForPt(address,address,uint256,(uint256,uint256,uint256,uint256,uint256),(address,uint256,address,bytes))": FunctionFragment;
|
|
100
|
+
"swapExactTokenForYt(address,address,uint256,(uint256,uint256,uint256,uint256,uint256),(address,uint256,address,bytes))": FunctionFragment;
|
|
72
101
|
"swapExactYtForScy(address,address,uint256,uint256)": FunctionFragment;
|
|
102
|
+
"swapExactYtForToken(address,address,uint256,(address,uint256,address,bytes))": FunctionFragment;
|
|
73
103
|
"swapPtForExactScy(address,address,uint256,uint256,(uint256,uint256,uint256,uint256,uint256))": FunctionFragment;
|
|
74
104
|
"swapScyForExactPt(address,address,uint256,uint256)": FunctionFragment;
|
|
75
105
|
"swapScyForExactYt(address,address,uint256,uint256)": FunctionFragment;
|
|
@@ -77,101 +107,80 @@ export interface IPAllActionInterface extends utils.Interface {
|
|
|
77
107
|
};
|
|
78
108
|
|
|
79
109
|
encodeFunctionData(
|
|
80
|
-
functionFragment: "
|
|
110
|
+
functionFragment: "addLiquidityDualIbTokenAndPt",
|
|
81
111
|
values: [string, string, BigNumberish, BigNumberish, BigNumberish]
|
|
82
112
|
): string;
|
|
83
113
|
encodeFunctionData(
|
|
84
|
-
functionFragment: "
|
|
85
|
-
values: [string, string, BigNumberish, BigNumberish,
|
|
114
|
+
functionFragment: "addLiquidityDualScyAndPt",
|
|
115
|
+
values: [string, string, BigNumberish, BigNumberish, BigNumberish]
|
|
86
116
|
): string;
|
|
87
117
|
encodeFunctionData(
|
|
88
|
-
functionFragment: "
|
|
89
|
-
values: [
|
|
90
|
-
string,
|
|
91
|
-
string,
|
|
92
|
-
BigNumberish,
|
|
93
|
-
BigNumberish,
|
|
94
|
-
string[],
|
|
95
|
-
ApproxParamsStruct
|
|
96
|
-
]
|
|
118
|
+
functionFragment: "addLiquiditySinglePt",
|
|
119
|
+
values: [string, string, BigNumberish, BigNumberish, ApproxParamsStruct]
|
|
97
120
|
): string;
|
|
98
121
|
encodeFunctionData(
|
|
99
122
|
functionFragment: "addLiquiditySingleScy",
|
|
100
123
|
values: [string, string, BigNumberish, BigNumberish, ApproxParamsStruct]
|
|
101
124
|
): string;
|
|
102
125
|
encodeFunctionData(
|
|
103
|
-
functionFragment: "
|
|
104
|
-
values: [string, string, BigNumberish,
|
|
126
|
+
functionFragment: "addLiquiditySingleToken",
|
|
127
|
+
values: [string, string, BigNumberish, ApproxParamsStruct, TokenInputStruct]
|
|
105
128
|
): string;
|
|
106
129
|
encodeFunctionData(
|
|
107
130
|
functionFragment: "mintPyFromScy",
|
|
108
131
|
values: [string, string, BigNumberish, BigNumberish]
|
|
109
132
|
): string;
|
|
110
133
|
encodeFunctionData(
|
|
111
|
-
functionFragment: "
|
|
112
|
-
values: [string, string, BigNumberish,
|
|
134
|
+
functionFragment: "mintPyFromToken",
|
|
135
|
+
values: [string, string, BigNumberish, TokenInputStruct]
|
|
113
136
|
): string;
|
|
114
137
|
encodeFunctionData(
|
|
115
|
-
functionFragment: "
|
|
116
|
-
values: [string, string
|
|
138
|
+
functionFragment: "mintScyFromToken",
|
|
139
|
+
values: [string, string, BigNumberish, TokenInputStruct]
|
|
117
140
|
): string;
|
|
118
141
|
encodeFunctionData(
|
|
119
|
-
functionFragment: "
|
|
120
|
-
values: [string, string,
|
|
142
|
+
functionFragment: "redeemDueInterestAndRewards",
|
|
143
|
+
values: [string, string[], string[], string[]]
|
|
121
144
|
): string;
|
|
122
145
|
encodeFunctionData(
|
|
123
146
|
functionFragment: "redeemPyToScy",
|
|
124
147
|
values: [string, string, BigNumberish, BigNumberish]
|
|
125
148
|
): string;
|
|
126
149
|
encodeFunctionData(
|
|
127
|
-
functionFragment: "
|
|
128
|
-
values: [string, string, BigNumberish,
|
|
150
|
+
functionFragment: "redeemPyToToken",
|
|
151
|
+
values: [string, string, BigNumberish, TokenOutputStruct]
|
|
129
152
|
): string;
|
|
130
153
|
encodeFunctionData(
|
|
131
|
-
functionFragment: "
|
|
154
|
+
functionFragment: "redeemScyToToken",
|
|
155
|
+
values: [string, string, BigNumberish, TokenOutputStruct]
|
|
156
|
+
): string;
|
|
157
|
+
encodeFunctionData(
|
|
158
|
+
functionFragment: "removeLiquidityDualIbTokenAndPt",
|
|
132
159
|
values: [string, string, BigNumberish, BigNumberish, BigNumberish]
|
|
133
160
|
): string;
|
|
134
161
|
encodeFunctionData(
|
|
135
|
-
functionFragment: "
|
|
136
|
-
values: [string, string, BigNumberish, BigNumberish,
|
|
162
|
+
functionFragment: "removeLiquidityDualScyAndPt",
|
|
163
|
+
values: [string, string, BigNumberish, BigNumberish, BigNumberish]
|
|
137
164
|
): string;
|
|
138
165
|
encodeFunctionData(
|
|
139
|
-
functionFragment: "
|
|
140
|
-
values: [string, string, BigNumberish, BigNumberish,
|
|
166
|
+
functionFragment: "removeLiquiditySinglePt",
|
|
167
|
+
values: [string, string, BigNumberish, BigNumberish, ApproxParamsStruct]
|
|
141
168
|
): string;
|
|
142
169
|
encodeFunctionData(
|
|
143
170
|
functionFragment: "removeLiquiditySingleScy",
|
|
144
171
|
values: [string, string, BigNumberish, BigNumberish]
|
|
145
172
|
): string;
|
|
146
173
|
encodeFunctionData(
|
|
147
|
-
functionFragment: "
|
|
148
|
-
values: [string, string, BigNumberish,
|
|
174
|
+
functionFragment: "removeLiquiditySingleToken",
|
|
175
|
+
values: [string, string, BigNumberish, TokenOutputStruct]
|
|
149
176
|
): string;
|
|
150
177
|
encodeFunctionData(
|
|
151
178
|
functionFragment: "swapExactPtForScy",
|
|
152
179
|
values: [string, string, BigNumberish, BigNumberish]
|
|
153
180
|
): string;
|
|
154
181
|
encodeFunctionData(
|
|
155
|
-
functionFragment: "
|
|
156
|
-
values: [
|
|
157
|
-
string,
|
|
158
|
-
string,
|
|
159
|
-
BigNumberish,
|
|
160
|
-
BigNumberish,
|
|
161
|
-
string[],
|
|
162
|
-
ApproxParamsStruct
|
|
163
|
-
]
|
|
164
|
-
): string;
|
|
165
|
-
encodeFunctionData(
|
|
166
|
-
functionFragment: "swapExactRawTokenForYt",
|
|
167
|
-
values: [
|
|
168
|
-
string,
|
|
169
|
-
string,
|
|
170
|
-
BigNumberish,
|
|
171
|
-
BigNumberish,
|
|
172
|
-
string[],
|
|
173
|
-
ApproxParamsStruct
|
|
174
|
-
]
|
|
182
|
+
functionFragment: "swapExactPtForToken",
|
|
183
|
+
values: [string, string, BigNumberish, TokenOutputStruct]
|
|
175
184
|
): string;
|
|
176
185
|
encodeFunctionData(
|
|
177
186
|
functionFragment: "swapExactScyForPt",
|
|
@@ -182,13 +191,21 @@ export interface IPAllActionInterface extends utils.Interface {
|
|
|
182
191
|
values: [string, string, BigNumberish, BigNumberish, ApproxParamsStruct]
|
|
183
192
|
): string;
|
|
184
193
|
encodeFunctionData(
|
|
185
|
-
functionFragment: "
|
|
186
|
-
values: [string, string, BigNumberish,
|
|
194
|
+
functionFragment: "swapExactTokenForPt",
|
|
195
|
+
values: [string, string, BigNumberish, ApproxParamsStruct, TokenInputStruct]
|
|
196
|
+
): string;
|
|
197
|
+
encodeFunctionData(
|
|
198
|
+
functionFragment: "swapExactTokenForYt",
|
|
199
|
+
values: [string, string, BigNumberish, ApproxParamsStruct, TokenInputStruct]
|
|
187
200
|
): string;
|
|
188
201
|
encodeFunctionData(
|
|
189
202
|
functionFragment: "swapExactYtForScy",
|
|
190
203
|
values: [string, string, BigNumberish, BigNumberish]
|
|
191
204
|
): string;
|
|
205
|
+
encodeFunctionData(
|
|
206
|
+
functionFragment: "swapExactYtForToken",
|
|
207
|
+
values: [string, string, BigNumberish, TokenOutputStruct]
|
|
208
|
+
): string;
|
|
192
209
|
encodeFunctionData(
|
|
193
210
|
functionFragment: "swapPtForExactScy",
|
|
194
211
|
values: [string, string, BigNumberish, BigNumberish, ApproxParamsStruct]
|
|
@@ -207,15 +224,15 @@ export interface IPAllActionInterface extends utils.Interface {
|
|
|
207
224
|
): string;
|
|
208
225
|
|
|
209
226
|
decodeFunctionResult(
|
|
210
|
-
functionFragment: "
|
|
227
|
+
functionFragment: "addLiquidityDualIbTokenAndPt",
|
|
211
228
|
data: BytesLike
|
|
212
229
|
): Result;
|
|
213
230
|
decodeFunctionResult(
|
|
214
|
-
functionFragment: "
|
|
231
|
+
functionFragment: "addLiquidityDualScyAndPt",
|
|
215
232
|
data: BytesLike
|
|
216
233
|
): Result;
|
|
217
234
|
decodeFunctionResult(
|
|
218
|
-
functionFragment: "
|
|
235
|
+
functionFragment: "addLiquiditySinglePt",
|
|
219
236
|
data: BytesLike
|
|
220
237
|
): Result;
|
|
221
238
|
decodeFunctionResult(
|
|
@@ -223,7 +240,7 @@ export interface IPAllActionInterface extends utils.Interface {
|
|
|
223
240
|
data: BytesLike
|
|
224
241
|
): Result;
|
|
225
242
|
decodeFunctionResult(
|
|
226
|
-
functionFragment: "
|
|
243
|
+
functionFragment: "addLiquiditySingleToken",
|
|
227
244
|
data: BytesLike
|
|
228
245
|
): Result;
|
|
229
246
|
decodeFunctionResult(
|
|
@@ -231,15 +248,15 @@ export interface IPAllActionInterface extends utils.Interface {
|
|
|
231
248
|
data: BytesLike
|
|
232
249
|
): Result;
|
|
233
250
|
decodeFunctionResult(
|
|
234
|
-
functionFragment: "
|
|
251
|
+
functionFragment: "mintPyFromToken",
|
|
235
252
|
data: BytesLike
|
|
236
253
|
): Result;
|
|
237
254
|
decodeFunctionResult(
|
|
238
|
-
functionFragment: "
|
|
255
|
+
functionFragment: "mintScyFromToken",
|
|
239
256
|
data: BytesLike
|
|
240
257
|
): Result;
|
|
241
258
|
decodeFunctionResult(
|
|
242
|
-
functionFragment: "
|
|
259
|
+
functionFragment: "redeemDueInterestAndRewards",
|
|
243
260
|
data: BytesLike
|
|
244
261
|
): Result;
|
|
245
262
|
decodeFunctionResult(
|
|
@@ -247,39 +264,39 @@ export interface IPAllActionInterface extends utils.Interface {
|
|
|
247
264
|
data: BytesLike
|
|
248
265
|
): Result;
|
|
249
266
|
decodeFunctionResult(
|
|
250
|
-
functionFragment: "
|
|
267
|
+
functionFragment: "redeemPyToToken",
|
|
251
268
|
data: BytesLike
|
|
252
269
|
): Result;
|
|
253
270
|
decodeFunctionResult(
|
|
254
|
-
functionFragment: "
|
|
271
|
+
functionFragment: "redeemScyToToken",
|
|
255
272
|
data: BytesLike
|
|
256
273
|
): Result;
|
|
257
274
|
decodeFunctionResult(
|
|
258
|
-
functionFragment: "
|
|
275
|
+
functionFragment: "removeLiquidityDualIbTokenAndPt",
|
|
259
276
|
data: BytesLike
|
|
260
277
|
): Result;
|
|
261
278
|
decodeFunctionResult(
|
|
262
|
-
functionFragment: "
|
|
279
|
+
functionFragment: "removeLiquidityDualScyAndPt",
|
|
263
280
|
data: BytesLike
|
|
264
281
|
): Result;
|
|
265
282
|
decodeFunctionResult(
|
|
266
|
-
functionFragment: "
|
|
283
|
+
functionFragment: "removeLiquiditySinglePt",
|
|
267
284
|
data: BytesLike
|
|
268
285
|
): Result;
|
|
269
286
|
decodeFunctionResult(
|
|
270
|
-
functionFragment: "
|
|
287
|
+
functionFragment: "removeLiquiditySingleScy",
|
|
271
288
|
data: BytesLike
|
|
272
289
|
): Result;
|
|
273
290
|
decodeFunctionResult(
|
|
274
|
-
functionFragment: "
|
|
291
|
+
functionFragment: "removeLiquiditySingleToken",
|
|
275
292
|
data: BytesLike
|
|
276
293
|
): Result;
|
|
277
294
|
decodeFunctionResult(
|
|
278
|
-
functionFragment: "
|
|
295
|
+
functionFragment: "swapExactPtForScy",
|
|
279
296
|
data: BytesLike
|
|
280
297
|
): Result;
|
|
281
298
|
decodeFunctionResult(
|
|
282
|
-
functionFragment: "
|
|
299
|
+
functionFragment: "swapExactPtForToken",
|
|
283
300
|
data: BytesLike
|
|
284
301
|
): Result;
|
|
285
302
|
decodeFunctionResult(
|
|
@@ -291,13 +308,21 @@ export interface IPAllActionInterface extends utils.Interface {
|
|
|
291
308
|
data: BytesLike
|
|
292
309
|
): Result;
|
|
293
310
|
decodeFunctionResult(
|
|
294
|
-
functionFragment: "
|
|
311
|
+
functionFragment: "swapExactTokenForPt",
|
|
312
|
+
data: BytesLike
|
|
313
|
+
): Result;
|
|
314
|
+
decodeFunctionResult(
|
|
315
|
+
functionFragment: "swapExactTokenForYt",
|
|
295
316
|
data: BytesLike
|
|
296
317
|
): Result;
|
|
297
318
|
decodeFunctionResult(
|
|
298
319
|
functionFragment: "swapExactYtForScy",
|
|
299
320
|
data: BytesLike
|
|
300
321
|
): Result;
|
|
322
|
+
decodeFunctionResult(
|
|
323
|
+
functionFragment: "swapExactYtForToken",
|
|
324
|
+
data: BytesLike
|
|
325
|
+
): Result;
|
|
301
326
|
decodeFunctionResult(
|
|
302
327
|
functionFragment: "swapPtForExactScy",
|
|
303
328
|
data: BytesLike
|
|
@@ -316,62 +341,73 @@ export interface IPAllActionInterface extends utils.Interface {
|
|
|
316
341
|
): Result;
|
|
317
342
|
|
|
318
343
|
events: {
|
|
319
|
-
"
|
|
320
|
-
"
|
|
344
|
+
"AddLiquidityDualIbTokenAndPt(address,address,address,uint256,uint256,uint256)": EventFragment;
|
|
345
|
+
"AddLiquidityDualScyAndPt(address,address,address,uint256,uint256,uint256)": EventFragment;
|
|
321
346
|
"MintPyFromScy(address,address,address,uint256,uint256)": EventFragment;
|
|
322
|
-
"
|
|
323
|
-
"
|
|
347
|
+
"MintPyFromToken(address,address,address,address,uint256,uint256)": EventFragment;
|
|
348
|
+
"MintScyFromToken(address,address,address,address,uint256,uint256)": EventFragment;
|
|
324
349
|
"RedeemPyToScy(address,address,address,uint256,uint256)": EventFragment;
|
|
325
|
-
"
|
|
326
|
-
"
|
|
327
|
-
"
|
|
350
|
+
"RedeemPyToToken(address,address,address,uint256,address,uint256)": EventFragment;
|
|
351
|
+
"RedeemScyToToken(address,address,address,uint256,address,uint256)": EventFragment;
|
|
352
|
+
"RemoveLiquidityDualIbTokenAndPt(address,address,address,uint256,uint256,uint256)": EventFragment;
|
|
353
|
+
"RemoveLiquidityDualScyAndPt(address,address,address,uint256,uint256,uint256)": EventFragment;
|
|
328
354
|
"SwapPtAndScy(address,address,address,int256,int256)": EventFragment;
|
|
329
|
-
"
|
|
355
|
+
"SwapPtAndToken(address,address,address,address,int256,int256)": EventFragment;
|
|
330
356
|
"SwapYTAndSCY(address,address,int256,int256)": EventFragment;
|
|
357
|
+
"SwapYTAndToken(address,address,address,int256,int256)": EventFragment;
|
|
331
358
|
};
|
|
332
359
|
|
|
333
|
-
getEvent(
|
|
334
|
-
|
|
360
|
+
getEvent(
|
|
361
|
+
nameOrSignatureOrTopic: "AddLiquidityDualIbTokenAndPt"
|
|
362
|
+
): EventFragment;
|
|
363
|
+
getEvent(nameOrSignatureOrTopic: "AddLiquidityDualScyAndPt"): EventFragment;
|
|
335
364
|
getEvent(nameOrSignatureOrTopic: "MintPyFromScy"): EventFragment;
|
|
336
|
-
getEvent(nameOrSignatureOrTopic: "
|
|
337
|
-
getEvent(nameOrSignatureOrTopic: "
|
|
365
|
+
getEvent(nameOrSignatureOrTopic: "MintPyFromToken"): EventFragment;
|
|
366
|
+
getEvent(nameOrSignatureOrTopic: "MintScyFromToken"): EventFragment;
|
|
338
367
|
getEvent(nameOrSignatureOrTopic: "RedeemPyToScy"): EventFragment;
|
|
339
|
-
getEvent(nameOrSignatureOrTopic: "
|
|
340
|
-
getEvent(nameOrSignatureOrTopic: "
|
|
341
|
-
getEvent(
|
|
368
|
+
getEvent(nameOrSignatureOrTopic: "RedeemPyToToken"): EventFragment;
|
|
369
|
+
getEvent(nameOrSignatureOrTopic: "RedeemScyToToken"): EventFragment;
|
|
370
|
+
getEvent(
|
|
371
|
+
nameOrSignatureOrTopic: "RemoveLiquidityDualIbTokenAndPt"
|
|
372
|
+
): EventFragment;
|
|
373
|
+
getEvent(
|
|
374
|
+
nameOrSignatureOrTopic: "RemoveLiquidityDualScyAndPt"
|
|
375
|
+
): EventFragment;
|
|
342
376
|
getEvent(nameOrSignatureOrTopic: "SwapPtAndScy"): EventFragment;
|
|
343
|
-
getEvent(nameOrSignatureOrTopic: "
|
|
377
|
+
getEvent(nameOrSignatureOrTopic: "SwapPtAndToken"): EventFragment;
|
|
344
378
|
getEvent(nameOrSignatureOrTopic: "SwapYTAndSCY"): EventFragment;
|
|
379
|
+
getEvent(nameOrSignatureOrTopic: "SwapYTAndToken"): EventFragment;
|
|
345
380
|
}
|
|
346
381
|
|
|
347
|
-
export type
|
|
382
|
+
export type AddLiquidityDualIbTokenAndPtEvent = TypedEvent<
|
|
348
383
|
[string, string, string, BigNumber, BigNumber, BigNumber],
|
|
349
384
|
{
|
|
350
385
|
caller: string;
|
|
351
386
|
market: string;
|
|
352
387
|
receiver: string;
|
|
353
|
-
|
|
388
|
+
ibTokenUsed: BigNumber;
|
|
354
389
|
ptUsed: BigNumber;
|
|
355
390
|
lpOut: BigNumber;
|
|
356
391
|
}
|
|
357
392
|
>;
|
|
358
393
|
|
|
359
|
-
export type
|
|
394
|
+
export type AddLiquidityDualIbTokenAndPtEventFilter =
|
|
395
|
+
TypedEventFilter<AddLiquidityDualIbTokenAndPtEvent>;
|
|
360
396
|
|
|
361
|
-
export type
|
|
362
|
-
[string, string, string,
|
|
397
|
+
export type AddLiquidityDualScyAndPtEvent = TypedEvent<
|
|
398
|
+
[string, string, string, BigNumber, BigNumber, BigNumber],
|
|
363
399
|
{
|
|
364
400
|
caller: string;
|
|
401
|
+
market: string;
|
|
365
402
|
receiver: string;
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
netPyOut: BigNumber;
|
|
403
|
+
scyUsed: BigNumber;
|
|
404
|
+
ptUsed: BigNumber;
|
|
405
|
+
lpOut: BigNumber;
|
|
370
406
|
}
|
|
371
407
|
>;
|
|
372
408
|
|
|
373
|
-
export type
|
|
374
|
-
TypedEventFilter<
|
|
409
|
+
export type AddLiquidityDualScyAndPtEventFilter =
|
|
410
|
+
TypedEventFilter<AddLiquidityDualScyAndPtEvent>;
|
|
375
411
|
|
|
376
412
|
export type MintPyFromScyEvent = TypedEvent<
|
|
377
413
|
[string, string, string, BigNumber, BigNumber],
|
|
@@ -386,35 +422,34 @@ export type MintPyFromScyEvent = TypedEvent<
|
|
|
386
422
|
|
|
387
423
|
export type MintPyFromScyEventFilter = TypedEventFilter<MintPyFromScyEvent>;
|
|
388
424
|
|
|
389
|
-
export type
|
|
425
|
+
export type MintPyFromTokenEvent = TypedEvent<
|
|
390
426
|
[string, string, string, string, BigNumber, BigNumber],
|
|
391
427
|
{
|
|
392
428
|
caller: string;
|
|
393
429
|
receiver: string;
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
430
|
+
YT: string;
|
|
431
|
+
tokenIn: string;
|
|
432
|
+
netTokenIn: BigNumber;
|
|
433
|
+
netPyOut: BigNumber;
|
|
398
434
|
}
|
|
399
435
|
>;
|
|
400
436
|
|
|
401
|
-
export type
|
|
402
|
-
TypedEventFilter<MintScyFromRawTokenEvent>;
|
|
437
|
+
export type MintPyFromTokenEventFilter = TypedEventFilter<MintPyFromTokenEvent>;
|
|
403
438
|
|
|
404
|
-
export type
|
|
405
|
-
[string, string, string,
|
|
439
|
+
export type MintScyFromTokenEvent = TypedEvent<
|
|
440
|
+
[string, string, string, string, BigNumber, BigNumber],
|
|
406
441
|
{
|
|
407
442
|
caller: string;
|
|
408
443
|
receiver: string;
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
444
|
+
SCY: string;
|
|
445
|
+
tokenIn: string;
|
|
446
|
+
netTokenIn: BigNumber;
|
|
447
|
+
netScyOut: BigNumber;
|
|
413
448
|
}
|
|
414
449
|
>;
|
|
415
450
|
|
|
416
|
-
export type
|
|
417
|
-
TypedEventFilter<
|
|
451
|
+
export type MintScyFromTokenEventFilter =
|
|
452
|
+
TypedEventFilter<MintScyFromTokenEvent>;
|
|
418
453
|
|
|
419
454
|
export type RedeemPyToScyEvent = TypedEvent<
|
|
420
455
|
[string, string, string, BigNumber, BigNumber],
|
|
@@ -429,22 +464,36 @@ export type RedeemPyToScyEvent = TypedEvent<
|
|
|
429
464
|
|
|
430
465
|
export type RedeemPyToScyEventFilter = TypedEventFilter<RedeemPyToScyEvent>;
|
|
431
466
|
|
|
432
|
-
export type
|
|
467
|
+
export type RedeemPyToTokenEvent = TypedEvent<
|
|
468
|
+
[string, string, string, BigNumber, string, BigNumber],
|
|
469
|
+
{
|
|
470
|
+
caller: string;
|
|
471
|
+
receiver: string;
|
|
472
|
+
YT: string;
|
|
473
|
+
netPyIn: BigNumber;
|
|
474
|
+
tokenOut: string;
|
|
475
|
+
netTokenOut: BigNumber;
|
|
476
|
+
}
|
|
477
|
+
>;
|
|
478
|
+
|
|
479
|
+
export type RedeemPyToTokenEventFilter = TypedEventFilter<RedeemPyToTokenEvent>;
|
|
480
|
+
|
|
481
|
+
export type RedeemScyToTokenEvent = TypedEvent<
|
|
433
482
|
[string, string, string, BigNumber, string, BigNumber],
|
|
434
483
|
{
|
|
435
484
|
caller: string;
|
|
436
485
|
receiver: string;
|
|
437
486
|
SCY: string;
|
|
438
487
|
netScyIn: BigNumber;
|
|
439
|
-
|
|
440
|
-
|
|
488
|
+
tokenOut: string;
|
|
489
|
+
netTokenOut: BigNumber;
|
|
441
490
|
}
|
|
442
491
|
>;
|
|
443
492
|
|
|
444
|
-
export type
|
|
445
|
-
TypedEventFilter<
|
|
493
|
+
export type RedeemScyToTokenEventFilter =
|
|
494
|
+
TypedEventFilter<RedeemScyToTokenEvent>;
|
|
446
495
|
|
|
447
|
-
export type
|
|
496
|
+
export type RemoveLiquidityDualIbTokenAndPtEvent = TypedEvent<
|
|
448
497
|
[string, string, string, BigNumber, BigNumber, BigNumber],
|
|
449
498
|
{
|
|
450
499
|
caller: string;
|
|
@@ -452,26 +501,27 @@ export type RemoveLiquidityEvent = TypedEvent<
|
|
|
452
501
|
receiver: string;
|
|
453
502
|
lpIn: BigNumber;
|
|
454
503
|
amountPTOut: BigNumber;
|
|
455
|
-
|
|
504
|
+
amountIbTokenOut: BigNumber;
|
|
456
505
|
}
|
|
457
506
|
>;
|
|
458
507
|
|
|
459
|
-
export type
|
|
508
|
+
export type RemoveLiquidityDualIbTokenAndPtEventFilter =
|
|
509
|
+
TypedEventFilter<RemoveLiquidityDualIbTokenAndPtEvent>;
|
|
460
510
|
|
|
461
|
-
export type
|
|
462
|
-
[string, string, string,
|
|
511
|
+
export type RemoveLiquidityDualScyAndPtEvent = TypedEvent<
|
|
512
|
+
[string, string, string, BigNumber, BigNumber, BigNumber],
|
|
463
513
|
{
|
|
464
514
|
caller: string;
|
|
465
515
|
market: string;
|
|
466
|
-
rawToken: string;
|
|
467
516
|
receiver: string;
|
|
468
|
-
|
|
469
|
-
|
|
517
|
+
lpIn: BigNumber;
|
|
518
|
+
amountPTOut: BigNumber;
|
|
519
|
+
amountSCYOut: BigNumber;
|
|
470
520
|
}
|
|
471
521
|
>;
|
|
472
522
|
|
|
473
|
-
export type
|
|
474
|
-
TypedEventFilter<
|
|
523
|
+
export type RemoveLiquidityDualScyAndPtEventFilter =
|
|
524
|
+
TypedEventFilter<RemoveLiquidityDualScyAndPtEvent>;
|
|
475
525
|
|
|
476
526
|
export type SwapPtAndScyEvent = TypedEvent<
|
|
477
527
|
[string, string, string, BigNumber, BigNumber],
|
|
@@ -486,19 +536,19 @@ export type SwapPtAndScyEvent = TypedEvent<
|
|
|
486
536
|
|
|
487
537
|
export type SwapPtAndScyEventFilter = TypedEventFilter<SwapPtAndScyEvent>;
|
|
488
538
|
|
|
489
|
-
export type
|
|
490
|
-
[string, string, string, BigNumber, BigNumber],
|
|
539
|
+
export type SwapPtAndTokenEvent = TypedEvent<
|
|
540
|
+
[string, string, string, string, BigNumber, BigNumber],
|
|
491
541
|
{
|
|
492
|
-
|
|
542
|
+
caller: string;
|
|
493
543
|
market: string;
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
544
|
+
token: string;
|
|
545
|
+
receiver: string;
|
|
546
|
+
amountPtToAccount: BigNumber;
|
|
547
|
+
amountTokenToAccount: BigNumber;
|
|
497
548
|
}
|
|
498
549
|
>;
|
|
499
550
|
|
|
500
|
-
export type
|
|
501
|
-
TypedEventFilter<SwapYTAndRawTokenEvent>;
|
|
551
|
+
export type SwapPtAndTokenEventFilter = TypedEventFilter<SwapPtAndTokenEvent>;
|
|
502
552
|
|
|
503
553
|
export type SwapYTAndSCYEvent = TypedEvent<
|
|
504
554
|
[string, string, BigNumber, BigNumber],
|
|
@@ -512,6 +562,19 @@ export type SwapYTAndSCYEvent = TypedEvent<
|
|
|
512
562
|
|
|
513
563
|
export type SwapYTAndSCYEventFilter = TypedEventFilter<SwapYTAndSCYEvent>;
|
|
514
564
|
|
|
565
|
+
export type SwapYTAndTokenEvent = TypedEvent<
|
|
566
|
+
[string, string, string, BigNumber, BigNumber],
|
|
567
|
+
{
|
|
568
|
+
user: string;
|
|
569
|
+
market: string;
|
|
570
|
+
token: string;
|
|
571
|
+
ytToAccount: BigNumber;
|
|
572
|
+
tokenToAccount: BigNumber;
|
|
573
|
+
}
|
|
574
|
+
>;
|
|
575
|
+
|
|
576
|
+
export type SwapYTAndTokenEventFilter = TypedEventFilter<SwapYTAndTokenEvent>;
|
|
577
|
+
|
|
515
578
|
export interface IPAllAction extends BaseContract {
|
|
516
579
|
contractName: "IPAllAction";
|
|
517
580
|
connect(signerOrProvider: Signer | Provider | string): this;
|
|
@@ -540,7 +603,16 @@ export interface IPAllAction extends BaseContract {
|
|
|
540
603
|
removeListener: OnEvent<this>;
|
|
541
604
|
|
|
542
605
|
functions: {
|
|
543
|
-
|
|
606
|
+
addLiquidityDualIbTokenAndPt(
|
|
607
|
+
receiver: string,
|
|
608
|
+
market: string,
|
|
609
|
+
ibTokenDesired: BigNumberish,
|
|
610
|
+
ptDesired: BigNumberish,
|
|
611
|
+
minLpOut: BigNumberish,
|
|
612
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
613
|
+
): Promise<ContractTransaction>;
|
|
614
|
+
|
|
615
|
+
addLiquidityDualScyAndPt(
|
|
544
616
|
receiver: string,
|
|
545
617
|
market: string,
|
|
546
618
|
scyDesired: BigNumberish,
|
|
@@ -558,48 +630,45 @@ export interface IPAllAction extends BaseContract {
|
|
|
558
630
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
559
631
|
): Promise<ContractTransaction>;
|
|
560
632
|
|
|
561
|
-
|
|
633
|
+
addLiquiditySingleScy(
|
|
562
634
|
receiver: string,
|
|
563
635
|
market: string,
|
|
564
|
-
|
|
636
|
+
netScyIn: BigNumberish,
|
|
565
637
|
minLpOut: BigNumberish,
|
|
566
|
-
path: string[],
|
|
567
638
|
guessPtReceivedFromScy: ApproxParamsStruct,
|
|
568
639
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
569
640
|
): Promise<ContractTransaction>;
|
|
570
641
|
|
|
571
|
-
|
|
642
|
+
addLiquiditySingleToken(
|
|
572
643
|
receiver: string,
|
|
573
644
|
market: string,
|
|
574
|
-
netScyIn: BigNumberish,
|
|
575
645
|
minLpOut: BigNumberish,
|
|
576
646
|
guessPtReceivedFromScy: ApproxParamsStruct,
|
|
647
|
+
input: TokenInputStruct,
|
|
577
648
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
578
649
|
): Promise<ContractTransaction>;
|
|
579
650
|
|
|
580
|
-
|
|
651
|
+
mintPyFromScy(
|
|
581
652
|
receiver: string,
|
|
582
653
|
YT: string,
|
|
583
|
-
|
|
654
|
+
netScyIn: BigNumberish,
|
|
584
655
|
minPyOut: BigNumberish,
|
|
585
|
-
path: string[],
|
|
586
656
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
587
657
|
): Promise<ContractTransaction>;
|
|
588
658
|
|
|
589
|
-
|
|
659
|
+
mintPyFromToken(
|
|
590
660
|
receiver: string,
|
|
591
661
|
YT: string,
|
|
592
|
-
netScyIn: BigNumberish,
|
|
593
662
|
minPyOut: BigNumberish,
|
|
663
|
+
input: TokenInputStruct,
|
|
594
664
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
595
665
|
): Promise<ContractTransaction>;
|
|
596
666
|
|
|
597
|
-
|
|
667
|
+
mintScyFromToken(
|
|
598
668
|
receiver: string,
|
|
599
669
|
SCY: string,
|
|
600
|
-
netRawTokenIn: BigNumberish,
|
|
601
670
|
minScyOut: BigNumberish,
|
|
602
|
-
|
|
671
|
+
input: TokenInputStruct,
|
|
603
672
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
604
673
|
): Promise<ContractTransaction>;
|
|
605
674
|
|
|
@@ -611,33 +680,40 @@ export interface IPAllAction extends BaseContract {
|
|
|
611
680
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
612
681
|
): Promise<ContractTransaction>;
|
|
613
682
|
|
|
614
|
-
|
|
683
|
+
redeemPyToScy(
|
|
615
684
|
receiver: string,
|
|
616
685
|
YT: string,
|
|
617
686
|
netPyIn: BigNumberish,
|
|
618
|
-
|
|
619
|
-
path: string[],
|
|
687
|
+
minScyOut: BigNumberish,
|
|
620
688
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
621
689
|
): Promise<ContractTransaction>;
|
|
622
690
|
|
|
623
|
-
|
|
691
|
+
redeemPyToToken(
|
|
624
692
|
receiver: string,
|
|
625
693
|
YT: string,
|
|
626
694
|
netPyIn: BigNumberish,
|
|
627
|
-
|
|
695
|
+
output: TokenOutputStruct,
|
|
628
696
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
629
697
|
): Promise<ContractTransaction>;
|
|
630
698
|
|
|
631
|
-
|
|
699
|
+
redeemScyToToken(
|
|
632
700
|
receiver: string,
|
|
633
701
|
SCY: string,
|
|
634
702
|
netScyIn: BigNumberish,
|
|
635
|
-
|
|
636
|
-
|
|
703
|
+
output: TokenOutputStruct,
|
|
704
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
705
|
+
): Promise<ContractTransaction>;
|
|
706
|
+
|
|
707
|
+
removeLiquidityDualIbTokenAndPt(
|
|
708
|
+
receiver: string,
|
|
709
|
+
market: string,
|
|
710
|
+
lpToRemove: BigNumberish,
|
|
711
|
+
ibTokenMin: BigNumberish,
|
|
712
|
+
ptOutMin: BigNumberish,
|
|
637
713
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
638
714
|
): Promise<ContractTransaction>;
|
|
639
715
|
|
|
640
|
-
|
|
716
|
+
removeLiquidityDualScyAndPt(
|
|
641
717
|
receiver: string,
|
|
642
718
|
market: string,
|
|
643
719
|
lpToRemove: BigNumberish,
|
|
@@ -655,92 +731,87 @@ export interface IPAllAction extends BaseContract {
|
|
|
655
731
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
656
732
|
): Promise<ContractTransaction>;
|
|
657
733
|
|
|
658
|
-
|
|
734
|
+
removeLiquiditySingleScy(
|
|
659
735
|
receiver: string,
|
|
660
736
|
market: string,
|
|
661
737
|
lpToRemove: BigNumberish,
|
|
662
|
-
|
|
663
|
-
path: string[],
|
|
738
|
+
minScyOut: BigNumberish,
|
|
664
739
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
665
740
|
): Promise<ContractTransaction>;
|
|
666
741
|
|
|
667
|
-
|
|
742
|
+
removeLiquiditySingleToken(
|
|
668
743
|
receiver: string,
|
|
669
744
|
market: string,
|
|
670
745
|
lpToRemove: BigNumberish,
|
|
671
|
-
|
|
746
|
+
output: TokenOutputStruct,
|
|
672
747
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
673
748
|
): Promise<ContractTransaction>;
|
|
674
749
|
|
|
675
|
-
|
|
750
|
+
swapExactPtForScy(
|
|
676
751
|
receiver: string,
|
|
677
752
|
market: string,
|
|
678
753
|
exactPtIn: BigNumberish,
|
|
679
|
-
|
|
680
|
-
path: string[],
|
|
754
|
+
minScyOut: BigNumberish,
|
|
681
755
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
682
756
|
): Promise<ContractTransaction>;
|
|
683
757
|
|
|
684
|
-
|
|
758
|
+
swapExactPtForToken(
|
|
685
759
|
receiver: string,
|
|
686
760
|
market: string,
|
|
687
761
|
exactPtIn: BigNumberish,
|
|
688
|
-
|
|
762
|
+
output: TokenOutputStruct,
|
|
689
763
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
690
764
|
): Promise<ContractTransaction>;
|
|
691
765
|
|
|
692
|
-
|
|
766
|
+
swapExactScyForPt(
|
|
693
767
|
receiver: string,
|
|
694
768
|
market: string,
|
|
695
|
-
|
|
769
|
+
exactScyIn: BigNumberish,
|
|
696
770
|
minPtOut: BigNumberish,
|
|
697
|
-
path: string[],
|
|
698
771
|
guessPtOut: ApproxParamsStruct,
|
|
699
772
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
700
773
|
): Promise<ContractTransaction>;
|
|
701
774
|
|
|
702
|
-
|
|
775
|
+
swapExactScyForYt(
|
|
703
776
|
receiver: string,
|
|
704
777
|
market: string,
|
|
705
|
-
|
|
778
|
+
exactScyIn: BigNumberish,
|
|
706
779
|
minYtOut: BigNumberish,
|
|
707
|
-
path: string[],
|
|
708
780
|
guessYtOut: ApproxParamsStruct,
|
|
709
781
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
710
782
|
): Promise<ContractTransaction>;
|
|
711
783
|
|
|
712
|
-
|
|
784
|
+
swapExactTokenForPt(
|
|
713
785
|
receiver: string,
|
|
714
786
|
market: string,
|
|
715
|
-
exactScyIn: BigNumberish,
|
|
716
787
|
minPtOut: BigNumberish,
|
|
717
788
|
guessPtOut: ApproxParamsStruct,
|
|
789
|
+
input: TokenInputStruct,
|
|
718
790
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
719
791
|
): Promise<ContractTransaction>;
|
|
720
792
|
|
|
721
|
-
|
|
793
|
+
swapExactTokenForYt(
|
|
722
794
|
receiver: string,
|
|
723
795
|
market: string,
|
|
724
|
-
exactScyIn: BigNumberish,
|
|
725
796
|
minYtOut: BigNumberish,
|
|
726
797
|
guessYtOut: ApproxParamsStruct,
|
|
798
|
+
input: TokenInputStruct,
|
|
727
799
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
728
800
|
): Promise<ContractTransaction>;
|
|
729
801
|
|
|
730
|
-
|
|
802
|
+
swapExactYtForScy(
|
|
731
803
|
receiver: string,
|
|
732
804
|
market: string,
|
|
733
805
|
exactYtIn: BigNumberish,
|
|
734
|
-
|
|
735
|
-
path: string[],
|
|
806
|
+
minScyOut: BigNumberish,
|
|
736
807
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
737
808
|
): Promise<ContractTransaction>;
|
|
738
809
|
|
|
739
|
-
|
|
810
|
+
swapExactYtForToken(
|
|
740
811
|
receiver: string,
|
|
741
812
|
market: string,
|
|
742
|
-
|
|
743
|
-
|
|
813
|
+
netYtIn: BigNumberish,
|
|
814
|
+
output: TokenOutputStruct,
|
|
744
815
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
745
816
|
): Promise<ContractTransaction>;
|
|
746
817
|
|
|
@@ -779,7 +850,16 @@ export interface IPAllAction extends BaseContract {
|
|
|
779
850
|
): Promise<ContractTransaction>;
|
|
780
851
|
};
|
|
781
852
|
|
|
782
|
-
|
|
853
|
+
addLiquidityDualIbTokenAndPt(
|
|
854
|
+
receiver: string,
|
|
855
|
+
market: string,
|
|
856
|
+
ibTokenDesired: BigNumberish,
|
|
857
|
+
ptDesired: BigNumberish,
|
|
858
|
+
minLpOut: BigNumberish,
|
|
859
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
860
|
+
): Promise<ContractTransaction>;
|
|
861
|
+
|
|
862
|
+
addLiquidityDualScyAndPt(
|
|
783
863
|
receiver: string,
|
|
784
864
|
market: string,
|
|
785
865
|
scyDesired: BigNumberish,
|
|
@@ -797,48 +877,45 @@ export interface IPAllAction extends BaseContract {
|
|
|
797
877
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
798
878
|
): Promise<ContractTransaction>;
|
|
799
879
|
|
|
800
|
-
|
|
880
|
+
addLiquiditySingleScy(
|
|
801
881
|
receiver: string,
|
|
802
882
|
market: string,
|
|
803
|
-
|
|
883
|
+
netScyIn: BigNumberish,
|
|
804
884
|
minLpOut: BigNumberish,
|
|
805
|
-
path: string[],
|
|
806
885
|
guessPtReceivedFromScy: ApproxParamsStruct,
|
|
807
886
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
808
887
|
): Promise<ContractTransaction>;
|
|
809
888
|
|
|
810
|
-
|
|
889
|
+
addLiquiditySingleToken(
|
|
811
890
|
receiver: string,
|
|
812
891
|
market: string,
|
|
813
|
-
netScyIn: BigNumberish,
|
|
814
892
|
minLpOut: BigNumberish,
|
|
815
893
|
guessPtReceivedFromScy: ApproxParamsStruct,
|
|
894
|
+
input: TokenInputStruct,
|
|
816
895
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
817
896
|
): Promise<ContractTransaction>;
|
|
818
897
|
|
|
819
|
-
|
|
898
|
+
mintPyFromScy(
|
|
820
899
|
receiver: string,
|
|
821
900
|
YT: string,
|
|
822
|
-
|
|
901
|
+
netScyIn: BigNumberish,
|
|
823
902
|
minPyOut: BigNumberish,
|
|
824
|
-
path: string[],
|
|
825
903
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
826
904
|
): Promise<ContractTransaction>;
|
|
827
905
|
|
|
828
|
-
|
|
906
|
+
mintPyFromToken(
|
|
829
907
|
receiver: string,
|
|
830
908
|
YT: string,
|
|
831
|
-
netScyIn: BigNumberish,
|
|
832
909
|
minPyOut: BigNumberish,
|
|
910
|
+
input: TokenInputStruct,
|
|
833
911
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
834
912
|
): Promise<ContractTransaction>;
|
|
835
913
|
|
|
836
|
-
|
|
914
|
+
mintScyFromToken(
|
|
837
915
|
receiver: string,
|
|
838
916
|
SCY: string,
|
|
839
|
-
netRawTokenIn: BigNumberish,
|
|
840
917
|
minScyOut: BigNumberish,
|
|
841
|
-
|
|
918
|
+
input: TokenInputStruct,
|
|
842
919
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
843
920
|
): Promise<ContractTransaction>;
|
|
844
921
|
|
|
@@ -850,33 +927,40 @@ export interface IPAllAction extends BaseContract {
|
|
|
850
927
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
851
928
|
): Promise<ContractTransaction>;
|
|
852
929
|
|
|
853
|
-
|
|
930
|
+
redeemPyToScy(
|
|
854
931
|
receiver: string,
|
|
855
932
|
YT: string,
|
|
856
933
|
netPyIn: BigNumberish,
|
|
857
|
-
|
|
858
|
-
path: string[],
|
|
934
|
+
minScyOut: BigNumberish,
|
|
859
935
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
860
936
|
): Promise<ContractTransaction>;
|
|
861
937
|
|
|
862
|
-
|
|
938
|
+
redeemPyToToken(
|
|
863
939
|
receiver: string,
|
|
864
940
|
YT: string,
|
|
865
941
|
netPyIn: BigNumberish,
|
|
866
|
-
|
|
942
|
+
output: TokenOutputStruct,
|
|
867
943
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
868
944
|
): Promise<ContractTransaction>;
|
|
869
945
|
|
|
870
|
-
|
|
946
|
+
redeemScyToToken(
|
|
871
947
|
receiver: string,
|
|
872
948
|
SCY: string,
|
|
873
949
|
netScyIn: BigNumberish,
|
|
874
|
-
|
|
875
|
-
path: string[],
|
|
950
|
+
output: TokenOutputStruct,
|
|
876
951
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
877
952
|
): Promise<ContractTransaction>;
|
|
878
953
|
|
|
879
|
-
|
|
954
|
+
removeLiquidityDualIbTokenAndPt(
|
|
955
|
+
receiver: string,
|
|
956
|
+
market: string,
|
|
957
|
+
lpToRemove: BigNumberish,
|
|
958
|
+
ibTokenMin: BigNumberish,
|
|
959
|
+
ptOutMin: BigNumberish,
|
|
960
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
961
|
+
): Promise<ContractTransaction>;
|
|
962
|
+
|
|
963
|
+
removeLiquidityDualScyAndPt(
|
|
880
964
|
receiver: string,
|
|
881
965
|
market: string,
|
|
882
966
|
lpToRemove: BigNumberish,
|
|
@@ -894,92 +978,87 @@ export interface IPAllAction extends BaseContract {
|
|
|
894
978
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
895
979
|
): Promise<ContractTransaction>;
|
|
896
980
|
|
|
897
|
-
|
|
981
|
+
removeLiquiditySingleScy(
|
|
898
982
|
receiver: string,
|
|
899
983
|
market: string,
|
|
900
984
|
lpToRemove: BigNumberish,
|
|
901
|
-
|
|
902
|
-
path: string[],
|
|
985
|
+
minScyOut: BigNumberish,
|
|
903
986
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
904
987
|
): Promise<ContractTransaction>;
|
|
905
988
|
|
|
906
|
-
|
|
989
|
+
removeLiquiditySingleToken(
|
|
907
990
|
receiver: string,
|
|
908
991
|
market: string,
|
|
909
992
|
lpToRemove: BigNumberish,
|
|
910
|
-
|
|
993
|
+
output: TokenOutputStruct,
|
|
911
994
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
912
995
|
): Promise<ContractTransaction>;
|
|
913
996
|
|
|
914
|
-
|
|
997
|
+
swapExactPtForScy(
|
|
915
998
|
receiver: string,
|
|
916
999
|
market: string,
|
|
917
1000
|
exactPtIn: BigNumberish,
|
|
918
|
-
|
|
919
|
-
path: string[],
|
|
1001
|
+
minScyOut: BigNumberish,
|
|
920
1002
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
921
1003
|
): Promise<ContractTransaction>;
|
|
922
1004
|
|
|
923
|
-
|
|
1005
|
+
swapExactPtForToken(
|
|
924
1006
|
receiver: string,
|
|
925
1007
|
market: string,
|
|
926
1008
|
exactPtIn: BigNumberish,
|
|
927
|
-
|
|
1009
|
+
output: TokenOutputStruct,
|
|
928
1010
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
929
1011
|
): Promise<ContractTransaction>;
|
|
930
1012
|
|
|
931
|
-
|
|
1013
|
+
swapExactScyForPt(
|
|
932
1014
|
receiver: string,
|
|
933
1015
|
market: string,
|
|
934
|
-
|
|
1016
|
+
exactScyIn: BigNumberish,
|
|
935
1017
|
minPtOut: BigNumberish,
|
|
936
|
-
path: string[],
|
|
937
1018
|
guessPtOut: ApproxParamsStruct,
|
|
938
1019
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
939
1020
|
): Promise<ContractTransaction>;
|
|
940
1021
|
|
|
941
|
-
|
|
1022
|
+
swapExactScyForYt(
|
|
942
1023
|
receiver: string,
|
|
943
1024
|
market: string,
|
|
944
|
-
|
|
1025
|
+
exactScyIn: BigNumberish,
|
|
945
1026
|
minYtOut: BigNumberish,
|
|
946
|
-
path: string[],
|
|
947
1027
|
guessYtOut: ApproxParamsStruct,
|
|
948
1028
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
949
1029
|
): Promise<ContractTransaction>;
|
|
950
1030
|
|
|
951
|
-
|
|
1031
|
+
swapExactTokenForPt(
|
|
952
1032
|
receiver: string,
|
|
953
1033
|
market: string,
|
|
954
|
-
exactScyIn: BigNumberish,
|
|
955
1034
|
minPtOut: BigNumberish,
|
|
956
1035
|
guessPtOut: ApproxParamsStruct,
|
|
1036
|
+
input: TokenInputStruct,
|
|
957
1037
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
958
1038
|
): Promise<ContractTransaction>;
|
|
959
1039
|
|
|
960
|
-
|
|
1040
|
+
swapExactTokenForYt(
|
|
961
1041
|
receiver: string,
|
|
962
1042
|
market: string,
|
|
963
|
-
exactScyIn: BigNumberish,
|
|
964
1043
|
minYtOut: BigNumberish,
|
|
965
1044
|
guessYtOut: ApproxParamsStruct,
|
|
1045
|
+
input: TokenInputStruct,
|
|
966
1046
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
967
1047
|
): Promise<ContractTransaction>;
|
|
968
1048
|
|
|
969
|
-
|
|
1049
|
+
swapExactYtForScy(
|
|
970
1050
|
receiver: string,
|
|
971
1051
|
market: string,
|
|
972
1052
|
exactYtIn: BigNumberish,
|
|
973
|
-
|
|
974
|
-
path: string[],
|
|
1053
|
+
minScyOut: BigNumberish,
|
|
975
1054
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
976
1055
|
): Promise<ContractTransaction>;
|
|
977
1056
|
|
|
978
|
-
|
|
1057
|
+
swapExactYtForToken(
|
|
979
1058
|
receiver: string,
|
|
980
1059
|
market: string,
|
|
981
|
-
|
|
982
|
-
|
|
1060
|
+
netYtIn: BigNumberish,
|
|
1061
|
+
output: TokenOutputStruct,
|
|
983
1062
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
984
1063
|
): Promise<ContractTransaction>;
|
|
985
1064
|
|
|
@@ -1018,7 +1097,22 @@ export interface IPAllAction extends BaseContract {
|
|
|
1018
1097
|
): Promise<ContractTransaction>;
|
|
1019
1098
|
|
|
1020
1099
|
callStatic: {
|
|
1021
|
-
|
|
1100
|
+
addLiquidityDualIbTokenAndPt(
|
|
1101
|
+
receiver: string,
|
|
1102
|
+
market: string,
|
|
1103
|
+
ibTokenDesired: BigNumberish,
|
|
1104
|
+
ptDesired: BigNumberish,
|
|
1105
|
+
minLpOut: BigNumberish,
|
|
1106
|
+
overrides?: CallOverrides
|
|
1107
|
+
): Promise<
|
|
1108
|
+
[BigNumber, BigNumber, BigNumber] & {
|
|
1109
|
+
netLpOut: BigNumber;
|
|
1110
|
+
ibTokenUsed: BigNumber;
|
|
1111
|
+
ptUsed: BigNumber;
|
|
1112
|
+
}
|
|
1113
|
+
>;
|
|
1114
|
+
|
|
1115
|
+
addLiquidityDualScyAndPt(
|
|
1022
1116
|
receiver: string,
|
|
1023
1117
|
market: string,
|
|
1024
1118
|
scyDesired: BigNumberish,
|
|
@@ -1042,48 +1136,45 @@ export interface IPAllAction extends BaseContract {
|
|
|
1042
1136
|
overrides?: CallOverrides
|
|
1043
1137
|
): Promise<BigNumber>;
|
|
1044
1138
|
|
|
1045
|
-
|
|
1139
|
+
addLiquiditySingleScy(
|
|
1046
1140
|
receiver: string,
|
|
1047
1141
|
market: string,
|
|
1048
|
-
|
|
1142
|
+
netScyIn: BigNumberish,
|
|
1049
1143
|
minLpOut: BigNumberish,
|
|
1050
|
-
path: string[],
|
|
1051
1144
|
guessPtReceivedFromScy: ApproxParamsStruct,
|
|
1052
1145
|
overrides?: CallOverrides
|
|
1053
1146
|
): Promise<BigNumber>;
|
|
1054
1147
|
|
|
1055
|
-
|
|
1148
|
+
addLiquiditySingleToken(
|
|
1056
1149
|
receiver: string,
|
|
1057
1150
|
market: string,
|
|
1058
|
-
netScyIn: BigNumberish,
|
|
1059
1151
|
minLpOut: BigNumberish,
|
|
1060
1152
|
guessPtReceivedFromScy: ApproxParamsStruct,
|
|
1153
|
+
input: TokenInputStruct,
|
|
1061
1154
|
overrides?: CallOverrides
|
|
1062
1155
|
): Promise<BigNumber>;
|
|
1063
1156
|
|
|
1064
|
-
|
|
1157
|
+
mintPyFromScy(
|
|
1065
1158
|
receiver: string,
|
|
1066
1159
|
YT: string,
|
|
1067
|
-
|
|
1160
|
+
netScyIn: BigNumberish,
|
|
1068
1161
|
minPyOut: BigNumberish,
|
|
1069
|
-
path: string[],
|
|
1070
1162
|
overrides?: CallOverrides
|
|
1071
1163
|
): Promise<BigNumber>;
|
|
1072
1164
|
|
|
1073
|
-
|
|
1165
|
+
mintPyFromToken(
|
|
1074
1166
|
receiver: string,
|
|
1075
1167
|
YT: string,
|
|
1076
|
-
netScyIn: BigNumberish,
|
|
1077
1168
|
minPyOut: BigNumberish,
|
|
1169
|
+
input: TokenInputStruct,
|
|
1078
1170
|
overrides?: CallOverrides
|
|
1079
1171
|
): Promise<BigNumber>;
|
|
1080
1172
|
|
|
1081
|
-
|
|
1173
|
+
mintScyFromToken(
|
|
1082
1174
|
receiver: string,
|
|
1083
1175
|
SCY: string,
|
|
1084
|
-
netRawTokenIn: BigNumberish,
|
|
1085
1176
|
minScyOut: BigNumberish,
|
|
1086
|
-
|
|
1177
|
+
input: TokenInputStruct,
|
|
1087
1178
|
overrides?: CallOverrides
|
|
1088
1179
|
): Promise<BigNumber>;
|
|
1089
1180
|
|
|
@@ -1102,33 +1193,42 @@ export interface IPAllAction extends BaseContract {
|
|
|
1102
1193
|
}
|
|
1103
1194
|
>;
|
|
1104
1195
|
|
|
1105
|
-
|
|
1196
|
+
redeemPyToScy(
|
|
1106
1197
|
receiver: string,
|
|
1107
1198
|
YT: string,
|
|
1108
1199
|
netPyIn: BigNumberish,
|
|
1109
|
-
|
|
1110
|
-
path: string[],
|
|
1200
|
+
minScyOut: BigNumberish,
|
|
1111
1201
|
overrides?: CallOverrides
|
|
1112
1202
|
): Promise<BigNumber>;
|
|
1113
1203
|
|
|
1114
|
-
|
|
1204
|
+
redeemPyToToken(
|
|
1115
1205
|
receiver: string,
|
|
1116
1206
|
YT: string,
|
|
1117
1207
|
netPyIn: BigNumberish,
|
|
1118
|
-
|
|
1208
|
+
output: TokenOutputStruct,
|
|
1119
1209
|
overrides?: CallOverrides
|
|
1120
1210
|
): Promise<BigNumber>;
|
|
1121
1211
|
|
|
1122
|
-
|
|
1212
|
+
redeemScyToToken(
|
|
1123
1213
|
receiver: string,
|
|
1124
1214
|
SCY: string,
|
|
1125
1215
|
netScyIn: BigNumberish,
|
|
1126
|
-
|
|
1127
|
-
path: string[],
|
|
1216
|
+
output: TokenOutputStruct,
|
|
1128
1217
|
overrides?: CallOverrides
|
|
1129
1218
|
): Promise<BigNumber>;
|
|
1130
1219
|
|
|
1131
|
-
|
|
1220
|
+
removeLiquidityDualIbTokenAndPt(
|
|
1221
|
+
receiver: string,
|
|
1222
|
+
market: string,
|
|
1223
|
+
lpToRemove: BigNumberish,
|
|
1224
|
+
ibTokenMin: BigNumberish,
|
|
1225
|
+
ptOutMin: BigNumberish,
|
|
1226
|
+
overrides?: CallOverrides
|
|
1227
|
+
): Promise<
|
|
1228
|
+
[BigNumber, BigNumber] & { netIbTokenOut: BigNumber; netPtOut: BigNumber }
|
|
1229
|
+
>;
|
|
1230
|
+
|
|
1231
|
+
removeLiquidityDualScyAndPt(
|
|
1132
1232
|
receiver: string,
|
|
1133
1233
|
market: string,
|
|
1134
1234
|
lpToRemove: BigNumberish,
|
|
@@ -1148,92 +1248,87 @@ export interface IPAllAction extends BaseContract {
|
|
|
1148
1248
|
overrides?: CallOverrides
|
|
1149
1249
|
): Promise<BigNumber>;
|
|
1150
1250
|
|
|
1151
|
-
|
|
1251
|
+
removeLiquiditySingleScy(
|
|
1152
1252
|
receiver: string,
|
|
1153
1253
|
market: string,
|
|
1154
1254
|
lpToRemove: BigNumberish,
|
|
1155
|
-
|
|
1156
|
-
path: string[],
|
|
1255
|
+
minScyOut: BigNumberish,
|
|
1157
1256
|
overrides?: CallOverrides
|
|
1158
1257
|
): Promise<BigNumber>;
|
|
1159
1258
|
|
|
1160
|
-
|
|
1259
|
+
removeLiquiditySingleToken(
|
|
1161
1260
|
receiver: string,
|
|
1162
1261
|
market: string,
|
|
1163
1262
|
lpToRemove: BigNumberish,
|
|
1164
|
-
|
|
1263
|
+
output: TokenOutputStruct,
|
|
1165
1264
|
overrides?: CallOverrides
|
|
1166
1265
|
): Promise<BigNumber>;
|
|
1167
1266
|
|
|
1168
|
-
|
|
1267
|
+
swapExactPtForScy(
|
|
1169
1268
|
receiver: string,
|
|
1170
1269
|
market: string,
|
|
1171
1270
|
exactPtIn: BigNumberish,
|
|
1172
|
-
|
|
1173
|
-
path: string[],
|
|
1271
|
+
minScyOut: BigNumberish,
|
|
1174
1272
|
overrides?: CallOverrides
|
|
1175
1273
|
): Promise<BigNumber>;
|
|
1176
1274
|
|
|
1177
|
-
|
|
1275
|
+
swapExactPtForToken(
|
|
1178
1276
|
receiver: string,
|
|
1179
1277
|
market: string,
|
|
1180
1278
|
exactPtIn: BigNumberish,
|
|
1181
|
-
|
|
1279
|
+
output: TokenOutputStruct,
|
|
1182
1280
|
overrides?: CallOverrides
|
|
1183
1281
|
): Promise<BigNumber>;
|
|
1184
1282
|
|
|
1185
|
-
|
|
1283
|
+
swapExactScyForPt(
|
|
1186
1284
|
receiver: string,
|
|
1187
1285
|
market: string,
|
|
1188
|
-
|
|
1286
|
+
exactScyIn: BigNumberish,
|
|
1189
1287
|
minPtOut: BigNumberish,
|
|
1190
|
-
path: string[],
|
|
1191
1288
|
guessPtOut: ApproxParamsStruct,
|
|
1192
1289
|
overrides?: CallOverrides
|
|
1193
1290
|
): Promise<BigNumber>;
|
|
1194
1291
|
|
|
1195
|
-
|
|
1292
|
+
swapExactScyForYt(
|
|
1196
1293
|
receiver: string,
|
|
1197
1294
|
market: string,
|
|
1198
|
-
|
|
1295
|
+
exactScyIn: BigNumberish,
|
|
1199
1296
|
minYtOut: BigNumberish,
|
|
1200
|
-
path: string[],
|
|
1201
1297
|
guessYtOut: ApproxParamsStruct,
|
|
1202
1298
|
overrides?: CallOverrides
|
|
1203
1299
|
): Promise<BigNumber>;
|
|
1204
1300
|
|
|
1205
|
-
|
|
1301
|
+
swapExactTokenForPt(
|
|
1206
1302
|
receiver: string,
|
|
1207
1303
|
market: string,
|
|
1208
|
-
exactScyIn: BigNumberish,
|
|
1209
1304
|
minPtOut: BigNumberish,
|
|
1210
1305
|
guessPtOut: ApproxParamsStruct,
|
|
1306
|
+
input: TokenInputStruct,
|
|
1211
1307
|
overrides?: CallOverrides
|
|
1212
1308
|
): Promise<BigNumber>;
|
|
1213
1309
|
|
|
1214
|
-
|
|
1310
|
+
swapExactTokenForYt(
|
|
1215
1311
|
receiver: string,
|
|
1216
1312
|
market: string,
|
|
1217
|
-
exactScyIn: BigNumberish,
|
|
1218
1313
|
minYtOut: BigNumberish,
|
|
1219
1314
|
guessYtOut: ApproxParamsStruct,
|
|
1315
|
+
input: TokenInputStruct,
|
|
1220
1316
|
overrides?: CallOverrides
|
|
1221
1317
|
): Promise<BigNumber>;
|
|
1222
1318
|
|
|
1223
|
-
|
|
1319
|
+
swapExactYtForScy(
|
|
1224
1320
|
receiver: string,
|
|
1225
1321
|
market: string,
|
|
1226
1322
|
exactYtIn: BigNumberish,
|
|
1227
|
-
|
|
1228
|
-
path: string[],
|
|
1323
|
+
minScyOut: BigNumberish,
|
|
1229
1324
|
overrides?: CallOverrides
|
|
1230
1325
|
): Promise<BigNumber>;
|
|
1231
1326
|
|
|
1232
|
-
|
|
1327
|
+
swapExactYtForToken(
|
|
1233
1328
|
receiver: string,
|
|
1234
1329
|
market: string,
|
|
1235
|
-
|
|
1236
|
-
|
|
1330
|
+
netYtIn: BigNumberish,
|
|
1331
|
+
output: TokenOutputStruct,
|
|
1237
1332
|
overrides?: CallOverrides
|
|
1238
1333
|
): Promise<BigNumber>;
|
|
1239
1334
|
|
|
@@ -1273,39 +1368,39 @@ export interface IPAllAction extends BaseContract {
|
|
|
1273
1368
|
};
|
|
1274
1369
|
|
|
1275
1370
|
filters: {
|
|
1276
|
-
"
|
|
1371
|
+
"AddLiquidityDualIbTokenAndPt(address,address,address,uint256,uint256,uint256)"(
|
|
1277
1372
|
caller?: string | null,
|
|
1278
1373
|
market?: string | null,
|
|
1279
1374
|
receiver?: string | null,
|
|
1280
|
-
|
|
1375
|
+
ibTokenUsed?: null,
|
|
1281
1376
|
ptUsed?: null,
|
|
1282
1377
|
lpOut?: null
|
|
1283
|
-
):
|
|
1284
|
-
|
|
1378
|
+
): AddLiquidityDualIbTokenAndPtEventFilter;
|
|
1379
|
+
AddLiquidityDualIbTokenAndPt(
|
|
1285
1380
|
caller?: string | null,
|
|
1286
1381
|
market?: string | null,
|
|
1287
1382
|
receiver?: string | null,
|
|
1288
|
-
|
|
1383
|
+
ibTokenUsed?: null,
|
|
1289
1384
|
ptUsed?: null,
|
|
1290
1385
|
lpOut?: null
|
|
1291
|
-
):
|
|
1386
|
+
): AddLiquidityDualIbTokenAndPtEventFilter;
|
|
1292
1387
|
|
|
1293
|
-
"
|
|
1388
|
+
"AddLiquidityDualScyAndPt(address,address,address,uint256,uint256,uint256)"(
|
|
1294
1389
|
caller?: string | null,
|
|
1390
|
+
market?: string | null,
|
|
1295
1391
|
receiver?: string | null,
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
MintPyFromRawToken(
|
|
1392
|
+
scyUsed?: null,
|
|
1393
|
+
ptUsed?: null,
|
|
1394
|
+
lpOut?: null
|
|
1395
|
+
): AddLiquidityDualScyAndPtEventFilter;
|
|
1396
|
+
AddLiquidityDualScyAndPt(
|
|
1302
1397
|
caller?: string | null,
|
|
1398
|
+
market?: string | null,
|
|
1303
1399
|
receiver?: string | null,
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
): MintPyFromRawTokenEventFilter;
|
|
1400
|
+
scyUsed?: null,
|
|
1401
|
+
ptUsed?: null,
|
|
1402
|
+
lpOut?: null
|
|
1403
|
+
): AddLiquidityDualScyAndPtEventFilter;
|
|
1309
1404
|
|
|
1310
1405
|
"MintPyFromScy(address,address,address,uint256,uint256)"(
|
|
1311
1406
|
caller?: string | null,
|
|
@@ -1322,105 +1417,122 @@ export interface IPAllAction extends BaseContract {
|
|
|
1322
1417
|
netPyOut?: null
|
|
1323
1418
|
): MintPyFromScyEventFilter;
|
|
1324
1419
|
|
|
1325
|
-
"
|
|
1420
|
+
"MintPyFromToken(address,address,address,address,uint256,uint256)"(
|
|
1421
|
+
caller?: string | null,
|
|
1422
|
+
receiver?: string | null,
|
|
1423
|
+
YT?: string | null,
|
|
1424
|
+
tokenIn?: null,
|
|
1425
|
+
netTokenIn?: null,
|
|
1426
|
+
netPyOut?: null
|
|
1427
|
+
): MintPyFromTokenEventFilter;
|
|
1428
|
+
MintPyFromToken(
|
|
1429
|
+
caller?: string | null,
|
|
1430
|
+
receiver?: string | null,
|
|
1431
|
+
YT?: string | null,
|
|
1432
|
+
tokenIn?: null,
|
|
1433
|
+
netTokenIn?: null,
|
|
1434
|
+
netPyOut?: null
|
|
1435
|
+
): MintPyFromTokenEventFilter;
|
|
1436
|
+
|
|
1437
|
+
"MintScyFromToken(address,address,address,address,uint256,uint256)"(
|
|
1326
1438
|
caller?: string | null,
|
|
1327
1439
|
receiver?: string | null,
|
|
1328
1440
|
SCY?: string | null,
|
|
1329
|
-
|
|
1330
|
-
|
|
1441
|
+
tokenIn?: null,
|
|
1442
|
+
netTokenIn?: null,
|
|
1331
1443
|
netScyOut?: null
|
|
1332
|
-
):
|
|
1333
|
-
|
|
1444
|
+
): MintScyFromTokenEventFilter;
|
|
1445
|
+
MintScyFromToken(
|
|
1334
1446
|
caller?: string | null,
|
|
1335
1447
|
receiver?: string | null,
|
|
1336
1448
|
SCY?: string | null,
|
|
1337
|
-
|
|
1338
|
-
|
|
1449
|
+
tokenIn?: null,
|
|
1450
|
+
netTokenIn?: null,
|
|
1339
1451
|
netScyOut?: null
|
|
1340
|
-
):
|
|
1452
|
+
): MintScyFromTokenEventFilter;
|
|
1341
1453
|
|
|
1342
|
-
"
|
|
1454
|
+
"RedeemPyToScy(address,address,address,uint256,uint256)"(
|
|
1343
1455
|
caller?: string | null,
|
|
1344
1456
|
receiver?: string | null,
|
|
1345
1457
|
YT?: string | null,
|
|
1346
1458
|
netPyIn?: null,
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
RedeemPyToRawToken(
|
|
1459
|
+
netScyOut?: null
|
|
1460
|
+
): RedeemPyToScyEventFilter;
|
|
1461
|
+
RedeemPyToScy(
|
|
1351
1462
|
caller?: string | null,
|
|
1352
1463
|
receiver?: string | null,
|
|
1353
1464
|
YT?: string | null,
|
|
1354
1465
|
netPyIn?: null,
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
): RedeemPyToRawTokenEventFilter;
|
|
1466
|
+
netScyOut?: null
|
|
1467
|
+
): RedeemPyToScyEventFilter;
|
|
1358
1468
|
|
|
1359
|
-
"
|
|
1469
|
+
"RedeemPyToToken(address,address,address,uint256,address,uint256)"(
|
|
1360
1470
|
caller?: string | null,
|
|
1361
1471
|
receiver?: string | null,
|
|
1362
1472
|
YT?: string | null,
|
|
1363
1473
|
netPyIn?: null,
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1474
|
+
tokenOut?: null,
|
|
1475
|
+
netTokenOut?: null
|
|
1476
|
+
): RedeemPyToTokenEventFilter;
|
|
1477
|
+
RedeemPyToToken(
|
|
1367
1478
|
caller?: string | null,
|
|
1368
1479
|
receiver?: string | null,
|
|
1369
1480
|
YT?: string | null,
|
|
1370
1481
|
netPyIn?: null,
|
|
1371
|
-
|
|
1372
|
-
|
|
1482
|
+
tokenOut?: null,
|
|
1483
|
+
netTokenOut?: null
|
|
1484
|
+
): RedeemPyToTokenEventFilter;
|
|
1373
1485
|
|
|
1374
|
-
"
|
|
1486
|
+
"RedeemScyToToken(address,address,address,uint256,address,uint256)"(
|
|
1375
1487
|
caller?: string | null,
|
|
1376
1488
|
receiver?: string | null,
|
|
1377
1489
|
SCY?: string | null,
|
|
1378
1490
|
netScyIn?: null,
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
):
|
|
1382
|
-
|
|
1491
|
+
tokenOut?: null,
|
|
1492
|
+
netTokenOut?: null
|
|
1493
|
+
): RedeemScyToTokenEventFilter;
|
|
1494
|
+
RedeemScyToToken(
|
|
1383
1495
|
caller?: string | null,
|
|
1384
1496
|
receiver?: string | null,
|
|
1385
1497
|
SCY?: string | null,
|
|
1386
1498
|
netScyIn?: null,
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
):
|
|
1499
|
+
tokenOut?: null,
|
|
1500
|
+
netTokenOut?: null
|
|
1501
|
+
): RedeemScyToTokenEventFilter;
|
|
1390
1502
|
|
|
1391
|
-
"
|
|
1503
|
+
"RemoveLiquidityDualIbTokenAndPt(address,address,address,uint256,uint256,uint256)"(
|
|
1392
1504
|
caller?: string | null,
|
|
1393
1505
|
market?: string | null,
|
|
1394
1506
|
receiver?: null,
|
|
1395
1507
|
lpIn?: null,
|
|
1396
1508
|
amountPTOut?: null,
|
|
1397
|
-
|
|
1398
|
-
):
|
|
1399
|
-
|
|
1509
|
+
amountIbTokenOut?: null
|
|
1510
|
+
): RemoveLiquidityDualIbTokenAndPtEventFilter;
|
|
1511
|
+
RemoveLiquidityDualIbTokenAndPt(
|
|
1400
1512
|
caller?: string | null,
|
|
1401
1513
|
market?: string | null,
|
|
1402
1514
|
receiver?: null,
|
|
1403
1515
|
lpIn?: null,
|
|
1404
1516
|
amountPTOut?: null,
|
|
1405
|
-
|
|
1406
|
-
):
|
|
1517
|
+
amountIbTokenOut?: null
|
|
1518
|
+
): RemoveLiquidityDualIbTokenAndPtEventFilter;
|
|
1407
1519
|
|
|
1408
|
-
"
|
|
1520
|
+
"RemoveLiquidityDualScyAndPt(address,address,address,uint256,uint256,uint256)"(
|
|
1409
1521
|
caller?: string | null,
|
|
1410
1522
|
market?: string | null,
|
|
1411
|
-
rawToken?: string | null,
|
|
1412
1523
|
receiver?: null,
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1524
|
+
lpIn?: null,
|
|
1525
|
+
amountPTOut?: null,
|
|
1526
|
+
amountSCYOut?: null
|
|
1527
|
+
): RemoveLiquidityDualScyAndPtEventFilter;
|
|
1528
|
+
RemoveLiquidityDualScyAndPt(
|
|
1417
1529
|
caller?: string | null,
|
|
1418
1530
|
market?: string | null,
|
|
1419
|
-
rawToken?: string | null,
|
|
1420
1531
|
receiver?: null,
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1532
|
+
lpIn?: null,
|
|
1533
|
+
amountPTOut?: null,
|
|
1534
|
+
amountSCYOut?: null
|
|
1535
|
+
): RemoveLiquidityDualScyAndPtEventFilter;
|
|
1424
1536
|
|
|
1425
1537
|
"SwapPtAndScy(address,address,address,int256,int256)"(
|
|
1426
1538
|
caller?: string | null,
|
|
@@ -1437,20 +1549,22 @@ export interface IPAllAction extends BaseContract {
|
|
|
1437
1549
|
amountScyToAccount?: null
|
|
1438
1550
|
): SwapPtAndScyEventFilter;
|
|
1439
1551
|
|
|
1440
|
-
"
|
|
1441
|
-
|
|
1552
|
+
"SwapPtAndToken(address,address,address,address,int256,int256)"(
|
|
1553
|
+
caller?: string | null,
|
|
1442
1554
|
market?: string | null,
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1555
|
+
token?: string | null,
|
|
1556
|
+
receiver?: null,
|
|
1557
|
+
amountPtToAccount?: null,
|
|
1558
|
+
amountTokenToAccount?: null
|
|
1559
|
+
): SwapPtAndTokenEventFilter;
|
|
1560
|
+
SwapPtAndToken(
|
|
1561
|
+
caller?: string | null,
|
|
1449
1562
|
market?: string | null,
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1563
|
+
token?: string | null,
|
|
1564
|
+
receiver?: null,
|
|
1565
|
+
amountPtToAccount?: null,
|
|
1566
|
+
amountTokenToAccount?: null
|
|
1567
|
+
): SwapPtAndTokenEventFilter;
|
|
1454
1568
|
|
|
1455
1569
|
"SwapYTAndSCY(address,address,int256,int256)"(
|
|
1456
1570
|
user?: string | null,
|
|
@@ -1464,10 +1578,34 @@ export interface IPAllAction extends BaseContract {
|
|
|
1464
1578
|
ytToAccount?: null,
|
|
1465
1579
|
scyToAccount?: null
|
|
1466
1580
|
): SwapYTAndSCYEventFilter;
|
|
1581
|
+
|
|
1582
|
+
"SwapYTAndToken(address,address,address,int256,int256)"(
|
|
1583
|
+
user?: string | null,
|
|
1584
|
+
market?: string | null,
|
|
1585
|
+
token?: string | null,
|
|
1586
|
+
ytToAccount?: null,
|
|
1587
|
+
tokenToAccount?: null
|
|
1588
|
+
): SwapYTAndTokenEventFilter;
|
|
1589
|
+
SwapYTAndToken(
|
|
1590
|
+
user?: string | null,
|
|
1591
|
+
market?: string | null,
|
|
1592
|
+
token?: string | null,
|
|
1593
|
+
ytToAccount?: null,
|
|
1594
|
+
tokenToAccount?: null
|
|
1595
|
+
): SwapYTAndTokenEventFilter;
|
|
1467
1596
|
};
|
|
1468
1597
|
|
|
1469
1598
|
estimateGas: {
|
|
1470
|
-
|
|
1599
|
+
addLiquidityDualIbTokenAndPt(
|
|
1600
|
+
receiver: string,
|
|
1601
|
+
market: string,
|
|
1602
|
+
ibTokenDesired: BigNumberish,
|
|
1603
|
+
ptDesired: BigNumberish,
|
|
1604
|
+
minLpOut: BigNumberish,
|
|
1605
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1606
|
+
): Promise<BigNumber>;
|
|
1607
|
+
|
|
1608
|
+
addLiquidityDualScyAndPt(
|
|
1471
1609
|
receiver: string,
|
|
1472
1610
|
market: string,
|
|
1473
1611
|
scyDesired: BigNumberish,
|
|
@@ -1485,48 +1623,45 @@ export interface IPAllAction extends BaseContract {
|
|
|
1485
1623
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1486
1624
|
): Promise<BigNumber>;
|
|
1487
1625
|
|
|
1488
|
-
|
|
1626
|
+
addLiquiditySingleScy(
|
|
1489
1627
|
receiver: string,
|
|
1490
1628
|
market: string,
|
|
1491
|
-
|
|
1629
|
+
netScyIn: BigNumberish,
|
|
1492
1630
|
minLpOut: BigNumberish,
|
|
1493
|
-
path: string[],
|
|
1494
1631
|
guessPtReceivedFromScy: ApproxParamsStruct,
|
|
1495
1632
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1496
1633
|
): Promise<BigNumber>;
|
|
1497
1634
|
|
|
1498
|
-
|
|
1635
|
+
addLiquiditySingleToken(
|
|
1499
1636
|
receiver: string,
|
|
1500
1637
|
market: string,
|
|
1501
|
-
netScyIn: BigNumberish,
|
|
1502
1638
|
minLpOut: BigNumberish,
|
|
1503
1639
|
guessPtReceivedFromScy: ApproxParamsStruct,
|
|
1640
|
+
input: TokenInputStruct,
|
|
1504
1641
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1505
1642
|
): Promise<BigNumber>;
|
|
1506
1643
|
|
|
1507
|
-
|
|
1644
|
+
mintPyFromScy(
|
|
1508
1645
|
receiver: string,
|
|
1509
1646
|
YT: string,
|
|
1510
|
-
|
|
1647
|
+
netScyIn: BigNumberish,
|
|
1511
1648
|
minPyOut: BigNumberish,
|
|
1512
|
-
path: string[],
|
|
1513
1649
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1514
1650
|
): Promise<BigNumber>;
|
|
1515
1651
|
|
|
1516
|
-
|
|
1652
|
+
mintPyFromToken(
|
|
1517
1653
|
receiver: string,
|
|
1518
1654
|
YT: string,
|
|
1519
|
-
netScyIn: BigNumberish,
|
|
1520
1655
|
minPyOut: BigNumberish,
|
|
1656
|
+
input: TokenInputStruct,
|
|
1521
1657
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1522
1658
|
): Promise<BigNumber>;
|
|
1523
1659
|
|
|
1524
|
-
|
|
1660
|
+
mintScyFromToken(
|
|
1525
1661
|
receiver: string,
|
|
1526
1662
|
SCY: string,
|
|
1527
|
-
netRawTokenIn: BigNumberish,
|
|
1528
1663
|
minScyOut: BigNumberish,
|
|
1529
|
-
|
|
1664
|
+
input: TokenInputStruct,
|
|
1530
1665
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1531
1666
|
): Promise<BigNumber>;
|
|
1532
1667
|
|
|
@@ -1538,33 +1673,40 @@ export interface IPAllAction extends BaseContract {
|
|
|
1538
1673
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1539
1674
|
): Promise<BigNumber>;
|
|
1540
1675
|
|
|
1541
|
-
|
|
1676
|
+
redeemPyToScy(
|
|
1542
1677
|
receiver: string,
|
|
1543
1678
|
YT: string,
|
|
1544
1679
|
netPyIn: BigNumberish,
|
|
1545
|
-
|
|
1546
|
-
path: string[],
|
|
1680
|
+
minScyOut: BigNumberish,
|
|
1547
1681
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1548
1682
|
): Promise<BigNumber>;
|
|
1549
1683
|
|
|
1550
|
-
|
|
1684
|
+
redeemPyToToken(
|
|
1551
1685
|
receiver: string,
|
|
1552
1686
|
YT: string,
|
|
1553
1687
|
netPyIn: BigNumberish,
|
|
1554
|
-
|
|
1688
|
+
output: TokenOutputStruct,
|
|
1555
1689
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1556
1690
|
): Promise<BigNumber>;
|
|
1557
1691
|
|
|
1558
|
-
|
|
1692
|
+
redeemScyToToken(
|
|
1559
1693
|
receiver: string,
|
|
1560
1694
|
SCY: string,
|
|
1561
1695
|
netScyIn: BigNumberish,
|
|
1562
|
-
|
|
1563
|
-
path: string[],
|
|
1696
|
+
output: TokenOutputStruct,
|
|
1564
1697
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1565
1698
|
): Promise<BigNumber>;
|
|
1566
1699
|
|
|
1567
|
-
|
|
1700
|
+
removeLiquidityDualIbTokenAndPt(
|
|
1701
|
+
receiver: string,
|
|
1702
|
+
market: string,
|
|
1703
|
+
lpToRemove: BigNumberish,
|
|
1704
|
+
ibTokenMin: BigNumberish,
|
|
1705
|
+
ptOutMin: BigNumberish,
|
|
1706
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1707
|
+
): Promise<BigNumber>;
|
|
1708
|
+
|
|
1709
|
+
removeLiquidityDualScyAndPt(
|
|
1568
1710
|
receiver: string,
|
|
1569
1711
|
market: string,
|
|
1570
1712
|
lpToRemove: BigNumberish,
|
|
@@ -1582,92 +1724,87 @@ export interface IPAllAction extends BaseContract {
|
|
|
1582
1724
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1583
1725
|
): Promise<BigNumber>;
|
|
1584
1726
|
|
|
1585
|
-
|
|
1727
|
+
removeLiquiditySingleScy(
|
|
1586
1728
|
receiver: string,
|
|
1587
1729
|
market: string,
|
|
1588
1730
|
lpToRemove: BigNumberish,
|
|
1589
|
-
|
|
1590
|
-
path: string[],
|
|
1731
|
+
minScyOut: BigNumberish,
|
|
1591
1732
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1592
1733
|
): Promise<BigNumber>;
|
|
1593
1734
|
|
|
1594
|
-
|
|
1735
|
+
removeLiquiditySingleToken(
|
|
1595
1736
|
receiver: string,
|
|
1596
1737
|
market: string,
|
|
1597
1738
|
lpToRemove: BigNumberish,
|
|
1598
|
-
|
|
1739
|
+
output: TokenOutputStruct,
|
|
1599
1740
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1600
1741
|
): Promise<BigNumber>;
|
|
1601
1742
|
|
|
1602
|
-
|
|
1743
|
+
swapExactPtForScy(
|
|
1603
1744
|
receiver: string,
|
|
1604
1745
|
market: string,
|
|
1605
1746
|
exactPtIn: BigNumberish,
|
|
1606
|
-
|
|
1607
|
-
path: string[],
|
|
1747
|
+
minScyOut: BigNumberish,
|
|
1608
1748
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1609
1749
|
): Promise<BigNumber>;
|
|
1610
1750
|
|
|
1611
|
-
|
|
1751
|
+
swapExactPtForToken(
|
|
1612
1752
|
receiver: string,
|
|
1613
1753
|
market: string,
|
|
1614
1754
|
exactPtIn: BigNumberish,
|
|
1615
|
-
|
|
1755
|
+
output: TokenOutputStruct,
|
|
1616
1756
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1617
1757
|
): Promise<BigNumber>;
|
|
1618
1758
|
|
|
1619
|
-
|
|
1759
|
+
swapExactScyForPt(
|
|
1620
1760
|
receiver: string,
|
|
1621
1761
|
market: string,
|
|
1622
|
-
|
|
1762
|
+
exactScyIn: BigNumberish,
|
|
1623
1763
|
minPtOut: BigNumberish,
|
|
1624
|
-
path: string[],
|
|
1625
1764
|
guessPtOut: ApproxParamsStruct,
|
|
1626
1765
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1627
1766
|
): Promise<BigNumber>;
|
|
1628
1767
|
|
|
1629
|
-
|
|
1768
|
+
swapExactScyForYt(
|
|
1630
1769
|
receiver: string,
|
|
1631
1770
|
market: string,
|
|
1632
|
-
|
|
1771
|
+
exactScyIn: BigNumberish,
|
|
1633
1772
|
minYtOut: BigNumberish,
|
|
1634
|
-
path: string[],
|
|
1635
1773
|
guessYtOut: ApproxParamsStruct,
|
|
1636
1774
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1637
1775
|
): Promise<BigNumber>;
|
|
1638
1776
|
|
|
1639
|
-
|
|
1777
|
+
swapExactTokenForPt(
|
|
1640
1778
|
receiver: string,
|
|
1641
1779
|
market: string,
|
|
1642
|
-
exactScyIn: BigNumberish,
|
|
1643
1780
|
minPtOut: BigNumberish,
|
|
1644
1781
|
guessPtOut: ApproxParamsStruct,
|
|
1782
|
+
input: TokenInputStruct,
|
|
1645
1783
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1646
1784
|
): Promise<BigNumber>;
|
|
1647
1785
|
|
|
1648
|
-
|
|
1786
|
+
swapExactTokenForYt(
|
|
1649
1787
|
receiver: string,
|
|
1650
1788
|
market: string,
|
|
1651
|
-
exactScyIn: BigNumberish,
|
|
1652
1789
|
minYtOut: BigNumberish,
|
|
1653
1790
|
guessYtOut: ApproxParamsStruct,
|
|
1791
|
+
input: TokenInputStruct,
|
|
1654
1792
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1655
1793
|
): Promise<BigNumber>;
|
|
1656
1794
|
|
|
1657
|
-
|
|
1795
|
+
swapExactYtForScy(
|
|
1658
1796
|
receiver: string,
|
|
1659
1797
|
market: string,
|
|
1660
1798
|
exactYtIn: BigNumberish,
|
|
1661
|
-
|
|
1662
|
-
path: string[],
|
|
1799
|
+
minScyOut: BigNumberish,
|
|
1663
1800
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1664
1801
|
): Promise<BigNumber>;
|
|
1665
1802
|
|
|
1666
|
-
|
|
1803
|
+
swapExactYtForToken(
|
|
1667
1804
|
receiver: string,
|
|
1668
1805
|
market: string,
|
|
1669
|
-
|
|
1670
|
-
|
|
1806
|
+
netYtIn: BigNumberish,
|
|
1807
|
+
output: TokenOutputStruct,
|
|
1671
1808
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1672
1809
|
): Promise<BigNumber>;
|
|
1673
1810
|
|
|
@@ -1707,7 +1844,16 @@ export interface IPAllAction extends BaseContract {
|
|
|
1707
1844
|
};
|
|
1708
1845
|
|
|
1709
1846
|
populateTransaction: {
|
|
1710
|
-
|
|
1847
|
+
addLiquidityDualIbTokenAndPt(
|
|
1848
|
+
receiver: string,
|
|
1849
|
+
market: string,
|
|
1850
|
+
ibTokenDesired: BigNumberish,
|
|
1851
|
+
ptDesired: BigNumberish,
|
|
1852
|
+
minLpOut: BigNumberish,
|
|
1853
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1854
|
+
): Promise<PopulatedTransaction>;
|
|
1855
|
+
|
|
1856
|
+
addLiquidityDualScyAndPt(
|
|
1711
1857
|
receiver: string,
|
|
1712
1858
|
market: string,
|
|
1713
1859
|
scyDesired: BigNumberish,
|
|
@@ -1725,48 +1871,45 @@ export interface IPAllAction extends BaseContract {
|
|
|
1725
1871
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1726
1872
|
): Promise<PopulatedTransaction>;
|
|
1727
1873
|
|
|
1728
|
-
|
|
1874
|
+
addLiquiditySingleScy(
|
|
1729
1875
|
receiver: string,
|
|
1730
1876
|
market: string,
|
|
1731
|
-
|
|
1877
|
+
netScyIn: BigNumberish,
|
|
1732
1878
|
minLpOut: BigNumberish,
|
|
1733
|
-
path: string[],
|
|
1734
1879
|
guessPtReceivedFromScy: ApproxParamsStruct,
|
|
1735
1880
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1736
1881
|
): Promise<PopulatedTransaction>;
|
|
1737
1882
|
|
|
1738
|
-
|
|
1883
|
+
addLiquiditySingleToken(
|
|
1739
1884
|
receiver: string,
|
|
1740
1885
|
market: string,
|
|
1741
|
-
netScyIn: BigNumberish,
|
|
1742
1886
|
minLpOut: BigNumberish,
|
|
1743
1887
|
guessPtReceivedFromScy: ApproxParamsStruct,
|
|
1888
|
+
input: TokenInputStruct,
|
|
1744
1889
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1745
1890
|
): Promise<PopulatedTransaction>;
|
|
1746
1891
|
|
|
1747
|
-
|
|
1892
|
+
mintPyFromScy(
|
|
1748
1893
|
receiver: string,
|
|
1749
1894
|
YT: string,
|
|
1750
|
-
|
|
1895
|
+
netScyIn: BigNumberish,
|
|
1751
1896
|
minPyOut: BigNumberish,
|
|
1752
|
-
path: string[],
|
|
1753
1897
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1754
1898
|
): Promise<PopulatedTransaction>;
|
|
1755
1899
|
|
|
1756
|
-
|
|
1900
|
+
mintPyFromToken(
|
|
1757
1901
|
receiver: string,
|
|
1758
1902
|
YT: string,
|
|
1759
|
-
netScyIn: BigNumberish,
|
|
1760
1903
|
minPyOut: BigNumberish,
|
|
1904
|
+
input: TokenInputStruct,
|
|
1761
1905
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1762
1906
|
): Promise<PopulatedTransaction>;
|
|
1763
1907
|
|
|
1764
|
-
|
|
1908
|
+
mintScyFromToken(
|
|
1765
1909
|
receiver: string,
|
|
1766
1910
|
SCY: string,
|
|
1767
|
-
netRawTokenIn: BigNumberish,
|
|
1768
1911
|
minScyOut: BigNumberish,
|
|
1769
|
-
|
|
1912
|
+
input: TokenInputStruct,
|
|
1770
1913
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1771
1914
|
): Promise<PopulatedTransaction>;
|
|
1772
1915
|
|
|
@@ -1778,33 +1921,40 @@ export interface IPAllAction extends BaseContract {
|
|
|
1778
1921
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1779
1922
|
): Promise<PopulatedTransaction>;
|
|
1780
1923
|
|
|
1781
|
-
|
|
1924
|
+
redeemPyToScy(
|
|
1782
1925
|
receiver: string,
|
|
1783
1926
|
YT: string,
|
|
1784
1927
|
netPyIn: BigNumberish,
|
|
1785
|
-
|
|
1786
|
-
path: string[],
|
|
1928
|
+
minScyOut: BigNumberish,
|
|
1787
1929
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1788
1930
|
): Promise<PopulatedTransaction>;
|
|
1789
1931
|
|
|
1790
|
-
|
|
1932
|
+
redeemPyToToken(
|
|
1791
1933
|
receiver: string,
|
|
1792
1934
|
YT: string,
|
|
1793
1935
|
netPyIn: BigNumberish,
|
|
1794
|
-
|
|
1936
|
+
output: TokenOutputStruct,
|
|
1795
1937
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1796
1938
|
): Promise<PopulatedTransaction>;
|
|
1797
1939
|
|
|
1798
|
-
|
|
1940
|
+
redeemScyToToken(
|
|
1799
1941
|
receiver: string,
|
|
1800
1942
|
SCY: string,
|
|
1801
1943
|
netScyIn: BigNumberish,
|
|
1802
|
-
|
|
1803
|
-
|
|
1944
|
+
output: TokenOutputStruct,
|
|
1945
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1946
|
+
): Promise<PopulatedTransaction>;
|
|
1947
|
+
|
|
1948
|
+
removeLiquidityDualIbTokenAndPt(
|
|
1949
|
+
receiver: string,
|
|
1950
|
+
market: string,
|
|
1951
|
+
lpToRemove: BigNumberish,
|
|
1952
|
+
ibTokenMin: BigNumberish,
|
|
1953
|
+
ptOutMin: BigNumberish,
|
|
1804
1954
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1805
1955
|
): Promise<PopulatedTransaction>;
|
|
1806
1956
|
|
|
1807
|
-
|
|
1957
|
+
removeLiquidityDualScyAndPt(
|
|
1808
1958
|
receiver: string,
|
|
1809
1959
|
market: string,
|
|
1810
1960
|
lpToRemove: BigNumberish,
|
|
@@ -1822,92 +1972,87 @@ export interface IPAllAction extends BaseContract {
|
|
|
1822
1972
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1823
1973
|
): Promise<PopulatedTransaction>;
|
|
1824
1974
|
|
|
1825
|
-
|
|
1975
|
+
removeLiquiditySingleScy(
|
|
1826
1976
|
receiver: string,
|
|
1827
1977
|
market: string,
|
|
1828
1978
|
lpToRemove: BigNumberish,
|
|
1829
|
-
|
|
1830
|
-
path: string[],
|
|
1979
|
+
minScyOut: BigNumberish,
|
|
1831
1980
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1832
1981
|
): Promise<PopulatedTransaction>;
|
|
1833
1982
|
|
|
1834
|
-
|
|
1983
|
+
removeLiquiditySingleToken(
|
|
1835
1984
|
receiver: string,
|
|
1836
1985
|
market: string,
|
|
1837
1986
|
lpToRemove: BigNumberish,
|
|
1838
|
-
|
|
1987
|
+
output: TokenOutputStruct,
|
|
1839
1988
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1840
1989
|
): Promise<PopulatedTransaction>;
|
|
1841
1990
|
|
|
1842
|
-
|
|
1991
|
+
swapExactPtForScy(
|
|
1843
1992
|
receiver: string,
|
|
1844
1993
|
market: string,
|
|
1845
1994
|
exactPtIn: BigNumberish,
|
|
1846
|
-
|
|
1847
|
-
path: string[],
|
|
1995
|
+
minScyOut: BigNumberish,
|
|
1848
1996
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1849
1997
|
): Promise<PopulatedTransaction>;
|
|
1850
1998
|
|
|
1851
|
-
|
|
1999
|
+
swapExactPtForToken(
|
|
1852
2000
|
receiver: string,
|
|
1853
2001
|
market: string,
|
|
1854
2002
|
exactPtIn: BigNumberish,
|
|
1855
|
-
|
|
2003
|
+
output: TokenOutputStruct,
|
|
1856
2004
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1857
2005
|
): Promise<PopulatedTransaction>;
|
|
1858
2006
|
|
|
1859
|
-
|
|
2007
|
+
swapExactScyForPt(
|
|
1860
2008
|
receiver: string,
|
|
1861
2009
|
market: string,
|
|
1862
|
-
|
|
2010
|
+
exactScyIn: BigNumberish,
|
|
1863
2011
|
minPtOut: BigNumberish,
|
|
1864
|
-
path: string[],
|
|
1865
2012
|
guessPtOut: ApproxParamsStruct,
|
|
1866
2013
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1867
2014
|
): Promise<PopulatedTransaction>;
|
|
1868
2015
|
|
|
1869
|
-
|
|
2016
|
+
swapExactScyForYt(
|
|
1870
2017
|
receiver: string,
|
|
1871
2018
|
market: string,
|
|
1872
|
-
|
|
2019
|
+
exactScyIn: BigNumberish,
|
|
1873
2020
|
minYtOut: BigNumberish,
|
|
1874
|
-
path: string[],
|
|
1875
2021
|
guessYtOut: ApproxParamsStruct,
|
|
1876
2022
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1877
2023
|
): Promise<PopulatedTransaction>;
|
|
1878
2024
|
|
|
1879
|
-
|
|
2025
|
+
swapExactTokenForPt(
|
|
1880
2026
|
receiver: string,
|
|
1881
2027
|
market: string,
|
|
1882
|
-
exactScyIn: BigNumberish,
|
|
1883
2028
|
minPtOut: BigNumberish,
|
|
1884
2029
|
guessPtOut: ApproxParamsStruct,
|
|
2030
|
+
input: TokenInputStruct,
|
|
1885
2031
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1886
2032
|
): Promise<PopulatedTransaction>;
|
|
1887
2033
|
|
|
1888
|
-
|
|
2034
|
+
swapExactTokenForYt(
|
|
1889
2035
|
receiver: string,
|
|
1890
2036
|
market: string,
|
|
1891
|
-
exactScyIn: BigNumberish,
|
|
1892
2037
|
minYtOut: BigNumberish,
|
|
1893
2038
|
guessYtOut: ApproxParamsStruct,
|
|
2039
|
+
input: TokenInputStruct,
|
|
1894
2040
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1895
2041
|
): Promise<PopulatedTransaction>;
|
|
1896
2042
|
|
|
1897
|
-
|
|
2043
|
+
swapExactYtForScy(
|
|
1898
2044
|
receiver: string,
|
|
1899
2045
|
market: string,
|
|
1900
2046
|
exactYtIn: BigNumberish,
|
|
1901
|
-
|
|
1902
|
-
path: string[],
|
|
2047
|
+
minScyOut: BigNumberish,
|
|
1903
2048
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1904
2049
|
): Promise<PopulatedTransaction>;
|
|
1905
2050
|
|
|
1906
|
-
|
|
2051
|
+
swapExactYtForToken(
|
|
1907
2052
|
receiver: string,
|
|
1908
2053
|
market: string,
|
|
1909
|
-
|
|
1910
|
-
|
|
2054
|
+
netYtIn: BigNumberish,
|
|
2055
|
+
output: TokenOutputStruct,
|
|
1911
2056
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1912
2057
|
): Promise<PopulatedTransaction>;
|
|
1913
2058
|
|