@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,127 +44,151 @@ 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 ActionCoreInterface extends utils.Interface {
|
|
48
76
|
contractName: "ActionCore";
|
|
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
|
-
"
|
|
55
|
-
"
|
|
82
|
+
"addLiquiditySingleToken(address,address,uint256,(uint256,uint256,uint256,uint256,uint256),(address,uint256,address,bytes))": FunctionFragment;
|
|
83
|
+
"kyberSwapRouter()": FunctionFragment;
|
|
56
84
|
"mintPyFromScy(address,address,uint256,uint256)": FunctionFragment;
|
|
57
|
-
"
|
|
85
|
+
"mintPyFromToken(address,address,uint256,(address,uint256,address,bytes))": FunctionFragment;
|
|
86
|
+
"mintScyFromToken(address,address,uint256,(address,uint256,address,bytes))": FunctionFragment;
|
|
58
87
|
"redeemDueInterestAndRewards(address,address[],address[],address[])": FunctionFragment;
|
|
59
|
-
"redeemPyToRawToken(address,address,uint256,uint256,address[])": FunctionFragment;
|
|
60
88
|
"redeemPyToScy(address,address,uint256,uint256)": FunctionFragment;
|
|
61
|
-
"
|
|
62
|
-
"
|
|
89
|
+
"redeemPyToToken(address,address,uint256,(address,uint256,address,bytes))": FunctionFragment;
|
|
90
|
+
"redeemScyToToken(address,address,uint256,(address,uint256,address,bytes))": FunctionFragment;
|
|
91
|
+
"removeLiquidityDualIbTokenAndPt(address,address,uint256,uint256,uint256)": FunctionFragment;
|
|
92
|
+
"removeLiquidityDualScyAndPt(address,address,uint256,uint256,uint256)": FunctionFragment;
|
|
63
93
|
"removeLiquiditySinglePt(address,address,uint256,uint256,(uint256,uint256,uint256,uint256,uint256))": FunctionFragment;
|
|
64
|
-
"removeLiquiditySingleRawToken(address,address,uint256,uint256,address[])": FunctionFragment;
|
|
65
94
|
"removeLiquiditySingleScy(address,address,uint256,uint256)": FunctionFragment;
|
|
66
|
-
"
|
|
95
|
+
"removeLiquiditySingleToken(address,address,uint256,(address,uint256,address,bytes))": FunctionFragment;
|
|
67
96
|
"swapExactPtForScy(address,address,uint256,uint256)": FunctionFragment;
|
|
68
|
-
"
|
|
97
|
+
"swapExactPtForToken(address,address,uint256,(address,uint256,address,bytes))": FunctionFragment;
|
|
69
98
|
"swapExactScyForPt(address,address,uint256,uint256,(uint256,uint256,uint256,uint256,uint256))": FunctionFragment;
|
|
99
|
+
"swapExactTokenForPt(address,address,uint256,(uint256,uint256,uint256,uint256,uint256),(address,uint256,address,bytes))": FunctionFragment;
|
|
70
100
|
"swapPtForExactScy(address,address,uint256,uint256,(uint256,uint256,uint256,uint256,uint256))": FunctionFragment;
|
|
71
101
|
"swapScyForExactPt(address,address,uint256,uint256)": FunctionFragment;
|
|
72
102
|
};
|
|
73
103
|
|
|
74
104
|
encodeFunctionData(
|
|
75
|
-
functionFragment: "
|
|
105
|
+
functionFragment: "addLiquidityDualIbTokenAndPt",
|
|
76
106
|
values: [string, string, BigNumberish, BigNumberish, BigNumberish]
|
|
77
107
|
): string;
|
|
78
108
|
encodeFunctionData(
|
|
79
|
-
functionFragment: "
|
|
80
|
-
values: [string, string, BigNumberish, BigNumberish,
|
|
109
|
+
functionFragment: "addLiquidityDualScyAndPt",
|
|
110
|
+
values: [string, string, BigNumberish, BigNumberish, BigNumberish]
|
|
81
111
|
): string;
|
|
82
112
|
encodeFunctionData(
|
|
83
|
-
functionFragment: "
|
|
84
|
-
values: [
|
|
85
|
-
string,
|
|
86
|
-
string,
|
|
87
|
-
BigNumberish,
|
|
88
|
-
BigNumberish,
|
|
89
|
-
string[],
|
|
90
|
-
ApproxParamsStruct
|
|
91
|
-
]
|
|
113
|
+
functionFragment: "addLiquiditySinglePt",
|
|
114
|
+
values: [string, string, BigNumberish, BigNumberish, ApproxParamsStruct]
|
|
92
115
|
): string;
|
|
93
116
|
encodeFunctionData(
|
|
94
117
|
functionFragment: "addLiquiditySingleScy",
|
|
95
118
|
values: [string, string, BigNumberish, BigNumberish, ApproxParamsStruct]
|
|
96
119
|
): string;
|
|
97
120
|
encodeFunctionData(
|
|
98
|
-
functionFragment: "
|
|
99
|
-
values
|
|
121
|
+
functionFragment: "addLiquiditySingleToken",
|
|
122
|
+
values: [string, string, BigNumberish, ApproxParamsStruct, TokenInputStruct]
|
|
100
123
|
): string;
|
|
101
124
|
encodeFunctionData(
|
|
102
|
-
functionFragment: "
|
|
103
|
-
values
|
|
125
|
+
functionFragment: "kyberSwapRouter",
|
|
126
|
+
values?: undefined
|
|
104
127
|
): string;
|
|
105
128
|
encodeFunctionData(
|
|
106
129
|
functionFragment: "mintPyFromScy",
|
|
107
130
|
values: [string, string, BigNumberish, BigNumberish]
|
|
108
131
|
): string;
|
|
109
132
|
encodeFunctionData(
|
|
110
|
-
functionFragment: "
|
|
111
|
-
values: [string, string, BigNumberish,
|
|
133
|
+
functionFragment: "mintPyFromToken",
|
|
134
|
+
values: [string, string, BigNumberish, TokenInputStruct]
|
|
112
135
|
): string;
|
|
113
136
|
encodeFunctionData(
|
|
114
|
-
functionFragment: "
|
|
115
|
-
values: [string, string
|
|
137
|
+
functionFragment: "mintScyFromToken",
|
|
138
|
+
values: [string, string, BigNumberish, TokenInputStruct]
|
|
116
139
|
): string;
|
|
117
140
|
encodeFunctionData(
|
|
118
|
-
functionFragment: "
|
|
119
|
-
values: [string, string,
|
|
141
|
+
functionFragment: "redeemDueInterestAndRewards",
|
|
142
|
+
values: [string, string[], string[], string[]]
|
|
120
143
|
): string;
|
|
121
144
|
encodeFunctionData(
|
|
122
145
|
functionFragment: "redeemPyToScy",
|
|
123
146
|
values: [string, string, BigNumberish, BigNumberish]
|
|
124
147
|
): string;
|
|
125
148
|
encodeFunctionData(
|
|
126
|
-
functionFragment: "
|
|
127
|
-
values: [string, string, BigNumberish,
|
|
149
|
+
functionFragment: "redeemPyToToken",
|
|
150
|
+
values: [string, string, BigNumberish, TokenOutputStruct]
|
|
128
151
|
): string;
|
|
129
152
|
encodeFunctionData(
|
|
130
|
-
functionFragment: "
|
|
153
|
+
functionFragment: "redeemScyToToken",
|
|
154
|
+
values: [string, string, BigNumberish, TokenOutputStruct]
|
|
155
|
+
): string;
|
|
156
|
+
encodeFunctionData(
|
|
157
|
+
functionFragment: "removeLiquidityDualIbTokenAndPt",
|
|
131
158
|
values: [string, string, BigNumberish, BigNumberish, BigNumberish]
|
|
132
159
|
): string;
|
|
133
160
|
encodeFunctionData(
|
|
134
|
-
functionFragment: "
|
|
135
|
-
values: [string, string, BigNumberish, BigNumberish,
|
|
161
|
+
functionFragment: "removeLiquidityDualScyAndPt",
|
|
162
|
+
values: [string, string, BigNumberish, BigNumberish, BigNumberish]
|
|
136
163
|
): string;
|
|
137
164
|
encodeFunctionData(
|
|
138
|
-
functionFragment: "
|
|
139
|
-
values: [string, string, BigNumberish, BigNumberish,
|
|
165
|
+
functionFragment: "removeLiquiditySinglePt",
|
|
166
|
+
values: [string, string, BigNumberish, BigNumberish, ApproxParamsStruct]
|
|
140
167
|
): string;
|
|
141
168
|
encodeFunctionData(
|
|
142
169
|
functionFragment: "removeLiquiditySingleScy",
|
|
143
170
|
values: [string, string, BigNumberish, BigNumberish]
|
|
144
171
|
): string;
|
|
145
172
|
encodeFunctionData(
|
|
146
|
-
functionFragment: "
|
|
147
|
-
values: [string, string, BigNumberish,
|
|
173
|
+
functionFragment: "removeLiquiditySingleToken",
|
|
174
|
+
values: [string, string, BigNumberish, TokenOutputStruct]
|
|
148
175
|
): string;
|
|
149
176
|
encodeFunctionData(
|
|
150
177
|
functionFragment: "swapExactPtForScy",
|
|
151
178
|
values: [string, string, BigNumberish, BigNumberish]
|
|
152
179
|
): string;
|
|
153
180
|
encodeFunctionData(
|
|
154
|
-
functionFragment: "
|
|
155
|
-
values: [
|
|
156
|
-
string,
|
|
157
|
-
string,
|
|
158
|
-
BigNumberish,
|
|
159
|
-
BigNumberish,
|
|
160
|
-
string[],
|
|
161
|
-
ApproxParamsStruct
|
|
162
|
-
]
|
|
181
|
+
functionFragment: "swapExactPtForToken",
|
|
182
|
+
values: [string, string, BigNumberish, TokenOutputStruct]
|
|
163
183
|
): string;
|
|
164
184
|
encodeFunctionData(
|
|
165
185
|
functionFragment: "swapExactScyForPt",
|
|
166
186
|
values: [string, string, BigNumberish, BigNumberish, ApproxParamsStruct]
|
|
167
187
|
): string;
|
|
188
|
+
encodeFunctionData(
|
|
189
|
+
functionFragment: "swapExactTokenForPt",
|
|
190
|
+
values: [string, string, BigNumberish, ApproxParamsStruct, TokenInputStruct]
|
|
191
|
+
): string;
|
|
168
192
|
encodeFunctionData(
|
|
169
193
|
functionFragment: "swapPtForExactScy",
|
|
170
194
|
values: [string, string, BigNumberish, BigNumberish, ApproxParamsStruct]
|
|
@@ -175,24 +199,27 @@ export interface ActionCoreInterface extends utils.Interface {
|
|
|
175
199
|
): string;
|
|
176
200
|
|
|
177
201
|
decodeFunctionResult(
|
|
178
|
-
functionFragment: "
|
|
202
|
+
functionFragment: "addLiquidityDualIbTokenAndPt",
|
|
179
203
|
data: BytesLike
|
|
180
204
|
): Result;
|
|
181
205
|
decodeFunctionResult(
|
|
182
|
-
functionFragment: "
|
|
206
|
+
functionFragment: "addLiquidityDualScyAndPt",
|
|
183
207
|
data: BytesLike
|
|
184
208
|
): Result;
|
|
185
209
|
decodeFunctionResult(
|
|
186
|
-
functionFragment: "
|
|
210
|
+
functionFragment: "addLiquiditySinglePt",
|
|
187
211
|
data: BytesLike
|
|
188
212
|
): Result;
|
|
189
213
|
decodeFunctionResult(
|
|
190
214
|
functionFragment: "addLiquiditySingleScy",
|
|
191
215
|
data: BytesLike
|
|
192
216
|
): Result;
|
|
193
|
-
decodeFunctionResult(functionFragment: "joeFactory", data: BytesLike): Result;
|
|
194
217
|
decodeFunctionResult(
|
|
195
|
-
functionFragment: "
|
|
218
|
+
functionFragment: "addLiquiditySingleToken",
|
|
219
|
+
data: BytesLike
|
|
220
|
+
): Result;
|
|
221
|
+
decodeFunctionResult(
|
|
222
|
+
functionFragment: "kyberSwapRouter",
|
|
196
223
|
data: BytesLike
|
|
197
224
|
): Result;
|
|
198
225
|
decodeFunctionResult(
|
|
@@ -200,15 +227,15 @@ export interface ActionCoreInterface extends utils.Interface {
|
|
|
200
227
|
data: BytesLike
|
|
201
228
|
): Result;
|
|
202
229
|
decodeFunctionResult(
|
|
203
|
-
functionFragment: "
|
|
230
|
+
functionFragment: "mintPyFromToken",
|
|
204
231
|
data: BytesLike
|
|
205
232
|
): Result;
|
|
206
233
|
decodeFunctionResult(
|
|
207
|
-
functionFragment: "
|
|
234
|
+
functionFragment: "mintScyFromToken",
|
|
208
235
|
data: BytesLike
|
|
209
236
|
): Result;
|
|
210
237
|
decodeFunctionResult(
|
|
211
|
-
functionFragment: "
|
|
238
|
+
functionFragment: "redeemDueInterestAndRewards",
|
|
212
239
|
data: BytesLike
|
|
213
240
|
): Result;
|
|
214
241
|
decodeFunctionResult(
|
|
@@ -216,19 +243,23 @@ export interface ActionCoreInterface extends utils.Interface {
|
|
|
216
243
|
data: BytesLike
|
|
217
244
|
): Result;
|
|
218
245
|
decodeFunctionResult(
|
|
219
|
-
functionFragment: "
|
|
246
|
+
functionFragment: "redeemPyToToken",
|
|
220
247
|
data: BytesLike
|
|
221
248
|
): Result;
|
|
222
249
|
decodeFunctionResult(
|
|
223
|
-
functionFragment: "
|
|
250
|
+
functionFragment: "redeemScyToToken",
|
|
224
251
|
data: BytesLike
|
|
225
252
|
): Result;
|
|
226
253
|
decodeFunctionResult(
|
|
227
|
-
functionFragment: "
|
|
254
|
+
functionFragment: "removeLiquidityDualIbTokenAndPt",
|
|
255
|
+
data: BytesLike
|
|
256
|
+
): Result;
|
|
257
|
+
decodeFunctionResult(
|
|
258
|
+
functionFragment: "removeLiquidityDualScyAndPt",
|
|
228
259
|
data: BytesLike
|
|
229
260
|
): Result;
|
|
230
261
|
decodeFunctionResult(
|
|
231
|
-
functionFragment: "
|
|
262
|
+
functionFragment: "removeLiquiditySinglePt",
|
|
232
263
|
data: BytesLike
|
|
233
264
|
): Result;
|
|
234
265
|
decodeFunctionResult(
|
|
@@ -236,7 +267,7 @@ export interface ActionCoreInterface extends utils.Interface {
|
|
|
236
267
|
data: BytesLike
|
|
237
268
|
): Result;
|
|
238
269
|
decodeFunctionResult(
|
|
239
|
-
functionFragment: "
|
|
270
|
+
functionFragment: "removeLiquiditySingleToken",
|
|
240
271
|
data: BytesLike
|
|
241
272
|
): Result;
|
|
242
273
|
decodeFunctionResult(
|
|
@@ -244,13 +275,17 @@ export interface ActionCoreInterface extends utils.Interface {
|
|
|
244
275
|
data: BytesLike
|
|
245
276
|
): Result;
|
|
246
277
|
decodeFunctionResult(
|
|
247
|
-
functionFragment: "
|
|
278
|
+
functionFragment: "swapExactPtForToken",
|
|
248
279
|
data: BytesLike
|
|
249
280
|
): Result;
|
|
250
281
|
decodeFunctionResult(
|
|
251
282
|
functionFragment: "swapExactScyForPt",
|
|
252
283
|
data: BytesLike
|
|
253
284
|
): Result;
|
|
285
|
+
decodeFunctionResult(
|
|
286
|
+
functionFragment: "swapExactTokenForPt",
|
|
287
|
+
data: BytesLike
|
|
288
|
+
): Result;
|
|
254
289
|
decodeFunctionResult(
|
|
255
290
|
functionFragment: "swapPtForExactScy",
|
|
256
291
|
data: BytesLike
|
|
@@ -261,58 +296,69 @@ export interface ActionCoreInterface extends utils.Interface {
|
|
|
261
296
|
): Result;
|
|
262
297
|
|
|
263
298
|
events: {
|
|
264
|
-
"
|
|
265
|
-
"
|
|
299
|
+
"AddLiquidityDualIbTokenAndPt(address,address,address,uint256,uint256,uint256)": EventFragment;
|
|
300
|
+
"AddLiquidityDualScyAndPt(address,address,address,uint256,uint256,uint256)": EventFragment;
|
|
266
301
|
"MintPyFromScy(address,address,address,uint256,uint256)": EventFragment;
|
|
267
|
-
"
|
|
268
|
-
"
|
|
302
|
+
"MintPyFromToken(address,address,address,address,uint256,uint256)": EventFragment;
|
|
303
|
+
"MintScyFromToken(address,address,address,address,uint256,uint256)": EventFragment;
|
|
269
304
|
"RedeemPyToScy(address,address,address,uint256,uint256)": EventFragment;
|
|
270
|
-
"
|
|
271
|
-
"
|
|
272
|
-
"
|
|
305
|
+
"RedeemPyToToken(address,address,address,uint256,address,uint256)": EventFragment;
|
|
306
|
+
"RedeemScyToToken(address,address,address,uint256,address,uint256)": EventFragment;
|
|
307
|
+
"RemoveLiquidityDualIbTokenAndPt(address,address,address,uint256,uint256,uint256)": EventFragment;
|
|
308
|
+
"RemoveLiquidityDualScyAndPt(address,address,address,uint256,uint256,uint256)": EventFragment;
|
|
273
309
|
"SwapPtAndScy(address,address,address,int256,int256)": EventFragment;
|
|
310
|
+
"SwapPtAndToken(address,address,address,address,int256,int256)": EventFragment;
|
|
274
311
|
};
|
|
275
312
|
|
|
276
|
-
getEvent(
|
|
277
|
-
|
|
313
|
+
getEvent(
|
|
314
|
+
nameOrSignatureOrTopic: "AddLiquidityDualIbTokenAndPt"
|
|
315
|
+
): EventFragment;
|
|
316
|
+
getEvent(nameOrSignatureOrTopic: "AddLiquidityDualScyAndPt"): EventFragment;
|
|
278
317
|
getEvent(nameOrSignatureOrTopic: "MintPyFromScy"): EventFragment;
|
|
279
|
-
getEvent(nameOrSignatureOrTopic: "
|
|
280
|
-
getEvent(nameOrSignatureOrTopic: "
|
|
318
|
+
getEvent(nameOrSignatureOrTopic: "MintPyFromToken"): EventFragment;
|
|
319
|
+
getEvent(nameOrSignatureOrTopic: "MintScyFromToken"): EventFragment;
|
|
281
320
|
getEvent(nameOrSignatureOrTopic: "RedeemPyToScy"): EventFragment;
|
|
282
|
-
getEvent(nameOrSignatureOrTopic: "
|
|
283
|
-
getEvent(nameOrSignatureOrTopic: "
|
|
284
|
-
getEvent(
|
|
321
|
+
getEvent(nameOrSignatureOrTopic: "RedeemPyToToken"): EventFragment;
|
|
322
|
+
getEvent(nameOrSignatureOrTopic: "RedeemScyToToken"): EventFragment;
|
|
323
|
+
getEvent(
|
|
324
|
+
nameOrSignatureOrTopic: "RemoveLiquidityDualIbTokenAndPt"
|
|
325
|
+
): EventFragment;
|
|
326
|
+
getEvent(
|
|
327
|
+
nameOrSignatureOrTopic: "RemoveLiquidityDualScyAndPt"
|
|
328
|
+
): EventFragment;
|
|
285
329
|
getEvent(nameOrSignatureOrTopic: "SwapPtAndScy"): EventFragment;
|
|
330
|
+
getEvent(nameOrSignatureOrTopic: "SwapPtAndToken"): EventFragment;
|
|
286
331
|
}
|
|
287
332
|
|
|
288
|
-
export type
|
|
333
|
+
export type AddLiquidityDualIbTokenAndPtEvent = TypedEvent<
|
|
289
334
|
[string, string, string, BigNumber, BigNumber, BigNumber],
|
|
290
335
|
{
|
|
291
336
|
caller: string;
|
|
292
337
|
market: string;
|
|
293
338
|
receiver: string;
|
|
294
|
-
|
|
339
|
+
ibTokenUsed: BigNumber;
|
|
295
340
|
ptUsed: BigNumber;
|
|
296
341
|
lpOut: BigNumber;
|
|
297
342
|
}
|
|
298
343
|
>;
|
|
299
344
|
|
|
300
|
-
export type
|
|
345
|
+
export type AddLiquidityDualIbTokenAndPtEventFilter =
|
|
346
|
+
TypedEventFilter<AddLiquidityDualIbTokenAndPtEvent>;
|
|
301
347
|
|
|
302
|
-
export type
|
|
303
|
-
[string, string, string,
|
|
348
|
+
export type AddLiquidityDualScyAndPtEvent = TypedEvent<
|
|
349
|
+
[string, string, string, BigNumber, BigNumber, BigNumber],
|
|
304
350
|
{
|
|
305
351
|
caller: string;
|
|
352
|
+
market: string;
|
|
306
353
|
receiver: string;
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
netPyOut: BigNumber;
|
|
354
|
+
scyUsed: BigNumber;
|
|
355
|
+
ptUsed: BigNumber;
|
|
356
|
+
lpOut: BigNumber;
|
|
311
357
|
}
|
|
312
358
|
>;
|
|
313
359
|
|
|
314
|
-
export type
|
|
315
|
-
TypedEventFilter<
|
|
360
|
+
export type AddLiquidityDualScyAndPtEventFilter =
|
|
361
|
+
TypedEventFilter<AddLiquidityDualScyAndPtEvent>;
|
|
316
362
|
|
|
317
363
|
export type MintPyFromScyEvent = TypedEvent<
|
|
318
364
|
[string, string, string, BigNumber, BigNumber],
|
|
@@ -327,35 +373,34 @@ export type MintPyFromScyEvent = TypedEvent<
|
|
|
327
373
|
|
|
328
374
|
export type MintPyFromScyEventFilter = TypedEventFilter<MintPyFromScyEvent>;
|
|
329
375
|
|
|
330
|
-
export type
|
|
376
|
+
export type MintPyFromTokenEvent = TypedEvent<
|
|
331
377
|
[string, string, string, string, BigNumber, BigNumber],
|
|
332
378
|
{
|
|
333
379
|
caller: string;
|
|
334
380
|
receiver: string;
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
381
|
+
YT: string;
|
|
382
|
+
tokenIn: string;
|
|
383
|
+
netTokenIn: BigNumber;
|
|
384
|
+
netPyOut: BigNumber;
|
|
339
385
|
}
|
|
340
386
|
>;
|
|
341
387
|
|
|
342
|
-
export type
|
|
343
|
-
TypedEventFilter<MintScyFromRawTokenEvent>;
|
|
388
|
+
export type MintPyFromTokenEventFilter = TypedEventFilter<MintPyFromTokenEvent>;
|
|
344
389
|
|
|
345
|
-
export type
|
|
346
|
-
[string, string, string,
|
|
390
|
+
export type MintScyFromTokenEvent = TypedEvent<
|
|
391
|
+
[string, string, string, string, BigNumber, BigNumber],
|
|
347
392
|
{
|
|
348
393
|
caller: string;
|
|
349
394
|
receiver: string;
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
395
|
+
SCY: string;
|
|
396
|
+
tokenIn: string;
|
|
397
|
+
netTokenIn: BigNumber;
|
|
398
|
+
netScyOut: BigNumber;
|
|
354
399
|
}
|
|
355
400
|
>;
|
|
356
401
|
|
|
357
|
-
export type
|
|
358
|
-
TypedEventFilter<
|
|
402
|
+
export type MintScyFromTokenEventFilter =
|
|
403
|
+
TypedEventFilter<MintScyFromTokenEvent>;
|
|
359
404
|
|
|
360
405
|
export type RedeemPyToScyEvent = TypedEvent<
|
|
361
406
|
[string, string, string, BigNumber, BigNumber],
|
|
@@ -370,22 +415,36 @@ export type RedeemPyToScyEvent = TypedEvent<
|
|
|
370
415
|
|
|
371
416
|
export type RedeemPyToScyEventFilter = TypedEventFilter<RedeemPyToScyEvent>;
|
|
372
417
|
|
|
373
|
-
export type
|
|
418
|
+
export type RedeemPyToTokenEvent = TypedEvent<
|
|
419
|
+
[string, string, string, BigNumber, string, BigNumber],
|
|
420
|
+
{
|
|
421
|
+
caller: string;
|
|
422
|
+
receiver: string;
|
|
423
|
+
YT: string;
|
|
424
|
+
netPyIn: BigNumber;
|
|
425
|
+
tokenOut: string;
|
|
426
|
+
netTokenOut: BigNumber;
|
|
427
|
+
}
|
|
428
|
+
>;
|
|
429
|
+
|
|
430
|
+
export type RedeemPyToTokenEventFilter = TypedEventFilter<RedeemPyToTokenEvent>;
|
|
431
|
+
|
|
432
|
+
export type RedeemScyToTokenEvent = TypedEvent<
|
|
374
433
|
[string, string, string, BigNumber, string, BigNumber],
|
|
375
434
|
{
|
|
376
435
|
caller: string;
|
|
377
436
|
receiver: string;
|
|
378
437
|
SCY: string;
|
|
379
438
|
netScyIn: BigNumber;
|
|
380
|
-
|
|
381
|
-
|
|
439
|
+
tokenOut: string;
|
|
440
|
+
netTokenOut: BigNumber;
|
|
382
441
|
}
|
|
383
442
|
>;
|
|
384
443
|
|
|
385
|
-
export type
|
|
386
|
-
TypedEventFilter<
|
|
444
|
+
export type RedeemScyToTokenEventFilter =
|
|
445
|
+
TypedEventFilter<RedeemScyToTokenEvent>;
|
|
387
446
|
|
|
388
|
-
export type
|
|
447
|
+
export type RemoveLiquidityDualIbTokenAndPtEvent = TypedEvent<
|
|
389
448
|
[string, string, string, BigNumber, BigNumber, BigNumber],
|
|
390
449
|
{
|
|
391
450
|
caller: string;
|
|
@@ -393,26 +452,27 @@ export type RemoveLiquidityEvent = TypedEvent<
|
|
|
393
452
|
receiver: string;
|
|
394
453
|
lpIn: BigNumber;
|
|
395
454
|
amountPTOut: BigNumber;
|
|
396
|
-
|
|
455
|
+
amountIbTokenOut: BigNumber;
|
|
397
456
|
}
|
|
398
457
|
>;
|
|
399
458
|
|
|
400
|
-
export type
|
|
459
|
+
export type RemoveLiquidityDualIbTokenAndPtEventFilter =
|
|
460
|
+
TypedEventFilter<RemoveLiquidityDualIbTokenAndPtEvent>;
|
|
401
461
|
|
|
402
|
-
export type
|
|
403
|
-
[string, string, string,
|
|
462
|
+
export type RemoveLiquidityDualScyAndPtEvent = TypedEvent<
|
|
463
|
+
[string, string, string, BigNumber, BigNumber, BigNumber],
|
|
404
464
|
{
|
|
405
465
|
caller: string;
|
|
406
466
|
market: string;
|
|
407
|
-
rawToken: string;
|
|
408
467
|
receiver: string;
|
|
409
|
-
|
|
410
|
-
|
|
468
|
+
lpIn: BigNumber;
|
|
469
|
+
amountPTOut: BigNumber;
|
|
470
|
+
amountSCYOut: BigNumber;
|
|
411
471
|
}
|
|
412
472
|
>;
|
|
413
473
|
|
|
414
|
-
export type
|
|
415
|
-
TypedEventFilter<
|
|
474
|
+
export type RemoveLiquidityDualScyAndPtEventFilter =
|
|
475
|
+
TypedEventFilter<RemoveLiquidityDualScyAndPtEvent>;
|
|
416
476
|
|
|
417
477
|
export type SwapPtAndScyEvent = TypedEvent<
|
|
418
478
|
[string, string, string, BigNumber, BigNumber],
|
|
@@ -427,6 +487,20 @@ export type SwapPtAndScyEvent = TypedEvent<
|
|
|
427
487
|
|
|
428
488
|
export type SwapPtAndScyEventFilter = TypedEventFilter<SwapPtAndScyEvent>;
|
|
429
489
|
|
|
490
|
+
export type SwapPtAndTokenEvent = TypedEvent<
|
|
491
|
+
[string, string, string, string, BigNumber, BigNumber],
|
|
492
|
+
{
|
|
493
|
+
caller: string;
|
|
494
|
+
market: string;
|
|
495
|
+
token: string;
|
|
496
|
+
receiver: string;
|
|
497
|
+
amountPtToAccount: BigNumber;
|
|
498
|
+
amountTokenToAccount: BigNumber;
|
|
499
|
+
}
|
|
500
|
+
>;
|
|
501
|
+
|
|
502
|
+
export type SwapPtAndTokenEventFilter = TypedEventFilter<SwapPtAndTokenEvent>;
|
|
503
|
+
|
|
430
504
|
export interface ActionCore extends BaseContract {
|
|
431
505
|
contractName: "ActionCore";
|
|
432
506
|
connect(signerOrProvider: Signer | Provider | string): this;
|
|
@@ -455,7 +529,16 @@ export interface ActionCore extends BaseContract {
|
|
|
455
529
|
removeListener: OnEvent<this>;
|
|
456
530
|
|
|
457
531
|
functions: {
|
|
458
|
-
|
|
532
|
+
addLiquidityDualIbTokenAndPt(
|
|
533
|
+
receiver: string,
|
|
534
|
+
market: string,
|
|
535
|
+
ibTokenDesired: BigNumberish,
|
|
536
|
+
ptDesired: BigNumberish,
|
|
537
|
+
minLpOut: BigNumberish,
|
|
538
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
539
|
+
): Promise<ContractTransaction>;
|
|
540
|
+
|
|
541
|
+
addLiquidityDualScyAndPt(
|
|
459
542
|
receiver: string,
|
|
460
543
|
market: string,
|
|
461
544
|
scyDesired: BigNumberish,
|
|
@@ -473,50 +556,47 @@ export interface ActionCore extends BaseContract {
|
|
|
473
556
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
474
557
|
): Promise<ContractTransaction>;
|
|
475
558
|
|
|
476
|
-
|
|
559
|
+
addLiquiditySingleScy(
|
|
477
560
|
receiver: string,
|
|
478
561
|
market: string,
|
|
479
|
-
|
|
562
|
+
netScyIn: BigNumberish,
|
|
480
563
|
minLpOut: BigNumberish,
|
|
481
|
-
path: string[],
|
|
482
564
|
guessPtReceivedFromScy: ApproxParamsStruct,
|
|
483
565
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
484
566
|
): Promise<ContractTransaction>;
|
|
485
567
|
|
|
486
|
-
|
|
568
|
+
addLiquiditySingleToken(
|
|
487
569
|
receiver: string,
|
|
488
570
|
market: string,
|
|
489
|
-
netScyIn: BigNumberish,
|
|
490
571
|
minLpOut: BigNumberish,
|
|
491
572
|
guessPtReceivedFromScy: ApproxParamsStruct,
|
|
573
|
+
input: TokenInputStruct,
|
|
492
574
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
493
575
|
): Promise<ContractTransaction>;
|
|
494
576
|
|
|
495
|
-
|
|
577
|
+
kyberSwapRouter(overrides?: CallOverrides): Promise<[string]>;
|
|
496
578
|
|
|
497
|
-
|
|
579
|
+
mintPyFromScy(
|
|
498
580
|
receiver: string,
|
|
499
581
|
YT: string,
|
|
500
|
-
|
|
582
|
+
netScyIn: BigNumberish,
|
|
501
583
|
minPyOut: BigNumberish,
|
|
502
|
-
path: string[],
|
|
503
584
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
504
585
|
): Promise<ContractTransaction>;
|
|
505
586
|
|
|
506
|
-
|
|
587
|
+
mintPyFromToken(
|
|
507
588
|
receiver: string,
|
|
508
589
|
YT: string,
|
|
509
|
-
netScyIn: BigNumberish,
|
|
510
590
|
minPyOut: BigNumberish,
|
|
591
|
+
input: TokenInputStruct,
|
|
511
592
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
512
593
|
): Promise<ContractTransaction>;
|
|
513
594
|
|
|
514
|
-
|
|
595
|
+
mintScyFromToken(
|
|
515
596
|
receiver: string,
|
|
516
597
|
SCY: string,
|
|
517
|
-
netRawTokenIn: BigNumberish,
|
|
518
598
|
minScyOut: BigNumberish,
|
|
519
|
-
|
|
599
|
+
input: TokenInputStruct,
|
|
520
600
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
521
601
|
): Promise<ContractTransaction>;
|
|
522
602
|
|
|
@@ -528,33 +608,40 @@ export interface ActionCore extends BaseContract {
|
|
|
528
608
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
529
609
|
): Promise<ContractTransaction>;
|
|
530
610
|
|
|
531
|
-
|
|
611
|
+
redeemPyToScy(
|
|
532
612
|
receiver: string,
|
|
533
613
|
YT: string,
|
|
534
614
|
netPyIn: BigNumberish,
|
|
535
|
-
|
|
536
|
-
path: string[],
|
|
615
|
+
minScyOut: BigNumberish,
|
|
537
616
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
538
617
|
): Promise<ContractTransaction>;
|
|
539
618
|
|
|
540
|
-
|
|
619
|
+
redeemPyToToken(
|
|
541
620
|
receiver: string,
|
|
542
621
|
YT: string,
|
|
543
622
|
netPyIn: BigNumberish,
|
|
544
|
-
|
|
623
|
+
output: TokenOutputStruct,
|
|
545
624
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
546
625
|
): Promise<ContractTransaction>;
|
|
547
626
|
|
|
548
|
-
|
|
627
|
+
redeemScyToToken(
|
|
549
628
|
receiver: string,
|
|
550
629
|
SCY: string,
|
|
551
630
|
netScyIn: BigNumberish,
|
|
552
|
-
|
|
553
|
-
path: string[],
|
|
631
|
+
output: TokenOutputStruct,
|
|
554
632
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
555
633
|
): Promise<ContractTransaction>;
|
|
556
634
|
|
|
557
|
-
|
|
635
|
+
removeLiquidityDualIbTokenAndPt(
|
|
636
|
+
receiver: string,
|
|
637
|
+
market: string,
|
|
638
|
+
lpToRemove: BigNumberish,
|
|
639
|
+
ibTokenMin: BigNumberish,
|
|
640
|
+
ptOutMin: BigNumberish,
|
|
641
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
642
|
+
): Promise<ContractTransaction>;
|
|
643
|
+
|
|
644
|
+
removeLiquidityDualScyAndPt(
|
|
558
645
|
receiver: string,
|
|
559
646
|
market: string,
|
|
560
647
|
lpToRemove: BigNumberish,
|
|
@@ -572,56 +659,53 @@ export interface ActionCore extends BaseContract {
|
|
|
572
659
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
573
660
|
): Promise<ContractTransaction>;
|
|
574
661
|
|
|
575
|
-
|
|
662
|
+
removeLiquiditySingleScy(
|
|
576
663
|
receiver: string,
|
|
577
664
|
market: string,
|
|
578
665
|
lpToRemove: BigNumberish,
|
|
579
|
-
|
|
580
|
-
path: string[],
|
|
666
|
+
minScyOut: BigNumberish,
|
|
581
667
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
582
668
|
): Promise<ContractTransaction>;
|
|
583
669
|
|
|
584
|
-
|
|
670
|
+
removeLiquiditySingleToken(
|
|
585
671
|
receiver: string,
|
|
586
672
|
market: string,
|
|
587
673
|
lpToRemove: BigNumberish,
|
|
588
|
-
|
|
674
|
+
output: TokenOutputStruct,
|
|
589
675
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
590
676
|
): Promise<ContractTransaction>;
|
|
591
677
|
|
|
592
|
-
|
|
678
|
+
swapExactPtForScy(
|
|
593
679
|
receiver: string,
|
|
594
680
|
market: string,
|
|
595
681
|
exactPtIn: BigNumberish,
|
|
596
|
-
|
|
597
|
-
path: string[],
|
|
682
|
+
minScyOut: BigNumberish,
|
|
598
683
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
599
684
|
): Promise<ContractTransaction>;
|
|
600
685
|
|
|
601
|
-
|
|
686
|
+
swapExactPtForToken(
|
|
602
687
|
receiver: string,
|
|
603
688
|
market: string,
|
|
604
689
|
exactPtIn: BigNumberish,
|
|
605
|
-
|
|
690
|
+
output: TokenOutputStruct,
|
|
606
691
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
607
692
|
): Promise<ContractTransaction>;
|
|
608
693
|
|
|
609
|
-
|
|
694
|
+
swapExactScyForPt(
|
|
610
695
|
receiver: string,
|
|
611
696
|
market: string,
|
|
612
|
-
|
|
697
|
+
exactScyIn: BigNumberish,
|
|
613
698
|
minPtOut: BigNumberish,
|
|
614
|
-
path: string[],
|
|
615
699
|
guessPtOut: ApproxParamsStruct,
|
|
616
700
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
617
701
|
): Promise<ContractTransaction>;
|
|
618
702
|
|
|
619
|
-
|
|
703
|
+
swapExactTokenForPt(
|
|
620
704
|
receiver: string,
|
|
621
705
|
market: string,
|
|
622
|
-
exactScyIn: BigNumberish,
|
|
623
706
|
minPtOut: BigNumberish,
|
|
624
707
|
guessPtOut: ApproxParamsStruct,
|
|
708
|
+
input: TokenInputStruct,
|
|
625
709
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
626
710
|
): Promise<ContractTransaction>;
|
|
627
711
|
|
|
@@ -643,7 +727,16 @@ export interface ActionCore extends BaseContract {
|
|
|
643
727
|
): Promise<ContractTransaction>;
|
|
644
728
|
};
|
|
645
729
|
|
|
646
|
-
|
|
730
|
+
addLiquidityDualIbTokenAndPt(
|
|
731
|
+
receiver: string,
|
|
732
|
+
market: string,
|
|
733
|
+
ibTokenDesired: BigNumberish,
|
|
734
|
+
ptDesired: BigNumberish,
|
|
735
|
+
minLpOut: BigNumberish,
|
|
736
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
737
|
+
): Promise<ContractTransaction>;
|
|
738
|
+
|
|
739
|
+
addLiquidityDualScyAndPt(
|
|
647
740
|
receiver: string,
|
|
648
741
|
market: string,
|
|
649
742
|
scyDesired: BigNumberish,
|
|
@@ -661,50 +754,47 @@ export interface ActionCore extends BaseContract {
|
|
|
661
754
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
662
755
|
): Promise<ContractTransaction>;
|
|
663
756
|
|
|
664
|
-
|
|
757
|
+
addLiquiditySingleScy(
|
|
665
758
|
receiver: string,
|
|
666
759
|
market: string,
|
|
667
|
-
|
|
760
|
+
netScyIn: BigNumberish,
|
|
668
761
|
minLpOut: BigNumberish,
|
|
669
|
-
path: string[],
|
|
670
762
|
guessPtReceivedFromScy: ApproxParamsStruct,
|
|
671
763
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
672
764
|
): Promise<ContractTransaction>;
|
|
673
765
|
|
|
674
|
-
|
|
766
|
+
addLiquiditySingleToken(
|
|
675
767
|
receiver: string,
|
|
676
768
|
market: string,
|
|
677
|
-
netScyIn: BigNumberish,
|
|
678
769
|
minLpOut: BigNumberish,
|
|
679
770
|
guessPtReceivedFromScy: ApproxParamsStruct,
|
|
771
|
+
input: TokenInputStruct,
|
|
680
772
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
681
773
|
): Promise<ContractTransaction>;
|
|
682
774
|
|
|
683
|
-
|
|
775
|
+
kyberSwapRouter(overrides?: CallOverrides): Promise<string>;
|
|
684
776
|
|
|
685
|
-
|
|
777
|
+
mintPyFromScy(
|
|
686
778
|
receiver: string,
|
|
687
779
|
YT: string,
|
|
688
|
-
|
|
780
|
+
netScyIn: BigNumberish,
|
|
689
781
|
minPyOut: BigNumberish,
|
|
690
|
-
path: string[],
|
|
691
782
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
692
783
|
): Promise<ContractTransaction>;
|
|
693
784
|
|
|
694
|
-
|
|
785
|
+
mintPyFromToken(
|
|
695
786
|
receiver: string,
|
|
696
787
|
YT: string,
|
|
697
|
-
netScyIn: BigNumberish,
|
|
698
788
|
minPyOut: BigNumberish,
|
|
789
|
+
input: TokenInputStruct,
|
|
699
790
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
700
791
|
): Promise<ContractTransaction>;
|
|
701
792
|
|
|
702
|
-
|
|
793
|
+
mintScyFromToken(
|
|
703
794
|
receiver: string,
|
|
704
795
|
SCY: string,
|
|
705
|
-
netRawTokenIn: BigNumberish,
|
|
706
796
|
minScyOut: BigNumberish,
|
|
707
|
-
|
|
797
|
+
input: TokenInputStruct,
|
|
708
798
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
709
799
|
): Promise<ContractTransaction>;
|
|
710
800
|
|
|
@@ -716,33 +806,40 @@ export interface ActionCore extends BaseContract {
|
|
|
716
806
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
717
807
|
): Promise<ContractTransaction>;
|
|
718
808
|
|
|
719
|
-
|
|
809
|
+
redeemPyToScy(
|
|
720
810
|
receiver: string,
|
|
721
811
|
YT: string,
|
|
722
812
|
netPyIn: BigNumberish,
|
|
723
|
-
|
|
724
|
-
path: string[],
|
|
813
|
+
minScyOut: BigNumberish,
|
|
725
814
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
726
815
|
): Promise<ContractTransaction>;
|
|
727
816
|
|
|
728
|
-
|
|
817
|
+
redeemPyToToken(
|
|
729
818
|
receiver: string,
|
|
730
819
|
YT: string,
|
|
731
820
|
netPyIn: BigNumberish,
|
|
732
|
-
|
|
821
|
+
output: TokenOutputStruct,
|
|
733
822
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
734
823
|
): Promise<ContractTransaction>;
|
|
735
824
|
|
|
736
|
-
|
|
825
|
+
redeemScyToToken(
|
|
737
826
|
receiver: string,
|
|
738
827
|
SCY: string,
|
|
739
828
|
netScyIn: BigNumberish,
|
|
740
|
-
|
|
741
|
-
|
|
829
|
+
output: TokenOutputStruct,
|
|
830
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
831
|
+
): Promise<ContractTransaction>;
|
|
832
|
+
|
|
833
|
+
removeLiquidityDualIbTokenAndPt(
|
|
834
|
+
receiver: string,
|
|
835
|
+
market: string,
|
|
836
|
+
lpToRemove: BigNumberish,
|
|
837
|
+
ibTokenMin: BigNumberish,
|
|
838
|
+
ptOutMin: BigNumberish,
|
|
742
839
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
743
840
|
): Promise<ContractTransaction>;
|
|
744
841
|
|
|
745
|
-
|
|
842
|
+
removeLiquidityDualScyAndPt(
|
|
746
843
|
receiver: string,
|
|
747
844
|
market: string,
|
|
748
845
|
lpToRemove: BigNumberish,
|
|
@@ -760,56 +857,53 @@ export interface ActionCore extends BaseContract {
|
|
|
760
857
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
761
858
|
): Promise<ContractTransaction>;
|
|
762
859
|
|
|
763
|
-
|
|
860
|
+
removeLiquiditySingleScy(
|
|
764
861
|
receiver: string,
|
|
765
862
|
market: string,
|
|
766
863
|
lpToRemove: BigNumberish,
|
|
767
|
-
|
|
768
|
-
path: string[],
|
|
864
|
+
minScyOut: BigNumberish,
|
|
769
865
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
770
866
|
): Promise<ContractTransaction>;
|
|
771
867
|
|
|
772
|
-
|
|
868
|
+
removeLiquiditySingleToken(
|
|
773
869
|
receiver: string,
|
|
774
870
|
market: string,
|
|
775
871
|
lpToRemove: BigNumberish,
|
|
776
|
-
|
|
872
|
+
output: TokenOutputStruct,
|
|
777
873
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
778
874
|
): Promise<ContractTransaction>;
|
|
779
875
|
|
|
780
|
-
|
|
876
|
+
swapExactPtForScy(
|
|
781
877
|
receiver: string,
|
|
782
878
|
market: string,
|
|
783
879
|
exactPtIn: BigNumberish,
|
|
784
|
-
|
|
785
|
-
path: string[],
|
|
880
|
+
minScyOut: BigNumberish,
|
|
786
881
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
787
882
|
): Promise<ContractTransaction>;
|
|
788
883
|
|
|
789
|
-
|
|
884
|
+
swapExactPtForToken(
|
|
790
885
|
receiver: string,
|
|
791
886
|
market: string,
|
|
792
887
|
exactPtIn: BigNumberish,
|
|
793
|
-
|
|
888
|
+
output: TokenOutputStruct,
|
|
794
889
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
795
890
|
): Promise<ContractTransaction>;
|
|
796
891
|
|
|
797
|
-
|
|
892
|
+
swapExactScyForPt(
|
|
798
893
|
receiver: string,
|
|
799
894
|
market: string,
|
|
800
|
-
|
|
895
|
+
exactScyIn: BigNumberish,
|
|
801
896
|
minPtOut: BigNumberish,
|
|
802
|
-
path: string[],
|
|
803
897
|
guessPtOut: ApproxParamsStruct,
|
|
804
898
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
805
899
|
): Promise<ContractTransaction>;
|
|
806
900
|
|
|
807
|
-
|
|
901
|
+
swapExactTokenForPt(
|
|
808
902
|
receiver: string,
|
|
809
903
|
market: string,
|
|
810
|
-
exactScyIn: BigNumberish,
|
|
811
904
|
minPtOut: BigNumberish,
|
|
812
905
|
guessPtOut: ApproxParamsStruct,
|
|
906
|
+
input: TokenInputStruct,
|
|
813
907
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
814
908
|
): Promise<ContractTransaction>;
|
|
815
909
|
|
|
@@ -831,7 +925,22 @@ export interface ActionCore extends BaseContract {
|
|
|
831
925
|
): Promise<ContractTransaction>;
|
|
832
926
|
|
|
833
927
|
callStatic: {
|
|
834
|
-
|
|
928
|
+
addLiquidityDualIbTokenAndPt(
|
|
929
|
+
receiver: string,
|
|
930
|
+
market: string,
|
|
931
|
+
ibTokenDesired: BigNumberish,
|
|
932
|
+
ptDesired: BigNumberish,
|
|
933
|
+
minLpOut: BigNumberish,
|
|
934
|
+
overrides?: CallOverrides
|
|
935
|
+
): Promise<
|
|
936
|
+
[BigNumber, BigNumber, BigNumber] & {
|
|
937
|
+
netLpOut: BigNumber;
|
|
938
|
+
ibTokenUsed: BigNumber;
|
|
939
|
+
ptUsed: BigNumber;
|
|
940
|
+
}
|
|
941
|
+
>;
|
|
942
|
+
|
|
943
|
+
addLiquidityDualScyAndPt(
|
|
835
944
|
receiver: string,
|
|
836
945
|
market: string,
|
|
837
946
|
scyDesired: BigNumberish,
|
|
@@ -855,50 +964,47 @@ export interface ActionCore extends BaseContract {
|
|
|
855
964
|
overrides?: CallOverrides
|
|
856
965
|
): Promise<BigNumber>;
|
|
857
966
|
|
|
858
|
-
|
|
967
|
+
addLiquiditySingleScy(
|
|
859
968
|
receiver: string,
|
|
860
969
|
market: string,
|
|
861
|
-
|
|
970
|
+
netScyIn: BigNumberish,
|
|
862
971
|
minLpOut: BigNumberish,
|
|
863
|
-
path: string[],
|
|
864
972
|
guessPtReceivedFromScy: ApproxParamsStruct,
|
|
865
973
|
overrides?: CallOverrides
|
|
866
974
|
): Promise<BigNumber>;
|
|
867
975
|
|
|
868
|
-
|
|
976
|
+
addLiquiditySingleToken(
|
|
869
977
|
receiver: string,
|
|
870
978
|
market: string,
|
|
871
|
-
netScyIn: BigNumberish,
|
|
872
979
|
minLpOut: BigNumberish,
|
|
873
980
|
guessPtReceivedFromScy: ApproxParamsStruct,
|
|
981
|
+
input: TokenInputStruct,
|
|
874
982
|
overrides?: CallOverrides
|
|
875
983
|
): Promise<BigNumber>;
|
|
876
984
|
|
|
877
|
-
|
|
985
|
+
kyberSwapRouter(overrides?: CallOverrides): Promise<string>;
|
|
878
986
|
|
|
879
|
-
|
|
987
|
+
mintPyFromScy(
|
|
880
988
|
receiver: string,
|
|
881
989
|
YT: string,
|
|
882
|
-
|
|
990
|
+
netScyIn: BigNumberish,
|
|
883
991
|
minPyOut: BigNumberish,
|
|
884
|
-
path: string[],
|
|
885
992
|
overrides?: CallOverrides
|
|
886
993
|
): Promise<BigNumber>;
|
|
887
994
|
|
|
888
|
-
|
|
995
|
+
mintPyFromToken(
|
|
889
996
|
receiver: string,
|
|
890
997
|
YT: string,
|
|
891
|
-
netScyIn: BigNumberish,
|
|
892
998
|
minPyOut: BigNumberish,
|
|
999
|
+
input: TokenInputStruct,
|
|
893
1000
|
overrides?: CallOverrides
|
|
894
1001
|
): Promise<BigNumber>;
|
|
895
1002
|
|
|
896
|
-
|
|
1003
|
+
mintScyFromToken(
|
|
897
1004
|
receiver: string,
|
|
898
1005
|
SCY: string,
|
|
899
|
-
netRawTokenIn: BigNumberish,
|
|
900
1006
|
minScyOut: BigNumberish,
|
|
901
|
-
|
|
1007
|
+
input: TokenInputStruct,
|
|
902
1008
|
overrides?: CallOverrides
|
|
903
1009
|
): Promise<BigNumber>;
|
|
904
1010
|
|
|
@@ -917,33 +1023,42 @@ export interface ActionCore extends BaseContract {
|
|
|
917
1023
|
}
|
|
918
1024
|
>;
|
|
919
1025
|
|
|
920
|
-
|
|
1026
|
+
redeemPyToScy(
|
|
921
1027
|
receiver: string,
|
|
922
1028
|
YT: string,
|
|
923
1029
|
netPyIn: BigNumberish,
|
|
924
|
-
|
|
925
|
-
path: string[],
|
|
1030
|
+
minScyOut: BigNumberish,
|
|
926
1031
|
overrides?: CallOverrides
|
|
927
1032
|
): Promise<BigNumber>;
|
|
928
1033
|
|
|
929
|
-
|
|
1034
|
+
redeemPyToToken(
|
|
930
1035
|
receiver: string,
|
|
931
1036
|
YT: string,
|
|
932
1037
|
netPyIn: BigNumberish,
|
|
933
|
-
|
|
1038
|
+
output: TokenOutputStruct,
|
|
934
1039
|
overrides?: CallOverrides
|
|
935
1040
|
): Promise<BigNumber>;
|
|
936
1041
|
|
|
937
|
-
|
|
1042
|
+
redeemScyToToken(
|
|
938
1043
|
receiver: string,
|
|
939
1044
|
SCY: string,
|
|
940
1045
|
netScyIn: BigNumberish,
|
|
941
|
-
|
|
942
|
-
path: string[],
|
|
1046
|
+
output: TokenOutputStruct,
|
|
943
1047
|
overrides?: CallOverrides
|
|
944
1048
|
): Promise<BigNumber>;
|
|
945
1049
|
|
|
946
|
-
|
|
1050
|
+
removeLiquidityDualIbTokenAndPt(
|
|
1051
|
+
receiver: string,
|
|
1052
|
+
market: string,
|
|
1053
|
+
lpToRemove: BigNumberish,
|
|
1054
|
+
ibTokenMin: BigNumberish,
|
|
1055
|
+
ptOutMin: BigNumberish,
|
|
1056
|
+
overrides?: CallOverrides
|
|
1057
|
+
): Promise<
|
|
1058
|
+
[BigNumber, BigNumber] & { netIbTokenOut: BigNumber; netPtOut: BigNumber }
|
|
1059
|
+
>;
|
|
1060
|
+
|
|
1061
|
+
removeLiquidityDualScyAndPt(
|
|
947
1062
|
receiver: string,
|
|
948
1063
|
market: string,
|
|
949
1064
|
lpToRemove: BigNumberish,
|
|
@@ -963,56 +1078,53 @@ export interface ActionCore extends BaseContract {
|
|
|
963
1078
|
overrides?: CallOverrides
|
|
964
1079
|
): Promise<BigNumber>;
|
|
965
1080
|
|
|
966
|
-
|
|
1081
|
+
removeLiquiditySingleScy(
|
|
967
1082
|
receiver: string,
|
|
968
1083
|
market: string,
|
|
969
1084
|
lpToRemove: BigNumberish,
|
|
970
|
-
|
|
971
|
-
path: string[],
|
|
1085
|
+
minScyOut: BigNumberish,
|
|
972
1086
|
overrides?: CallOverrides
|
|
973
1087
|
): Promise<BigNumber>;
|
|
974
1088
|
|
|
975
|
-
|
|
1089
|
+
removeLiquiditySingleToken(
|
|
976
1090
|
receiver: string,
|
|
977
1091
|
market: string,
|
|
978
1092
|
lpToRemove: BigNumberish,
|
|
979
|
-
|
|
1093
|
+
output: TokenOutputStruct,
|
|
980
1094
|
overrides?: CallOverrides
|
|
981
1095
|
): Promise<BigNumber>;
|
|
982
1096
|
|
|
983
|
-
|
|
1097
|
+
swapExactPtForScy(
|
|
984
1098
|
receiver: string,
|
|
985
1099
|
market: string,
|
|
986
1100
|
exactPtIn: BigNumberish,
|
|
987
|
-
|
|
988
|
-
path: string[],
|
|
1101
|
+
minScyOut: BigNumberish,
|
|
989
1102
|
overrides?: CallOverrides
|
|
990
1103
|
): Promise<BigNumber>;
|
|
991
1104
|
|
|
992
|
-
|
|
1105
|
+
swapExactPtForToken(
|
|
993
1106
|
receiver: string,
|
|
994
1107
|
market: string,
|
|
995
1108
|
exactPtIn: BigNumberish,
|
|
996
|
-
|
|
1109
|
+
output: TokenOutputStruct,
|
|
997
1110
|
overrides?: CallOverrides
|
|
998
1111
|
): Promise<BigNumber>;
|
|
999
1112
|
|
|
1000
|
-
|
|
1113
|
+
swapExactScyForPt(
|
|
1001
1114
|
receiver: string,
|
|
1002
1115
|
market: string,
|
|
1003
|
-
|
|
1116
|
+
exactScyIn: BigNumberish,
|
|
1004
1117
|
minPtOut: BigNumberish,
|
|
1005
|
-
path: string[],
|
|
1006
1118
|
guessPtOut: ApproxParamsStruct,
|
|
1007
1119
|
overrides?: CallOverrides
|
|
1008
1120
|
): Promise<BigNumber>;
|
|
1009
1121
|
|
|
1010
|
-
|
|
1122
|
+
swapExactTokenForPt(
|
|
1011
1123
|
receiver: string,
|
|
1012
1124
|
market: string,
|
|
1013
|
-
exactScyIn: BigNumberish,
|
|
1014
1125
|
minPtOut: BigNumberish,
|
|
1015
1126
|
guessPtOut: ApproxParamsStruct,
|
|
1127
|
+
input: TokenInputStruct,
|
|
1016
1128
|
overrides?: CallOverrides
|
|
1017
1129
|
): Promise<BigNumber>;
|
|
1018
1130
|
|
|
@@ -1035,39 +1147,39 @@ export interface ActionCore extends BaseContract {
|
|
|
1035
1147
|
};
|
|
1036
1148
|
|
|
1037
1149
|
filters: {
|
|
1038
|
-
"
|
|
1150
|
+
"AddLiquidityDualIbTokenAndPt(address,address,address,uint256,uint256,uint256)"(
|
|
1039
1151
|
caller?: string | null,
|
|
1040
1152
|
market?: string | null,
|
|
1041
1153
|
receiver?: string | null,
|
|
1042
|
-
|
|
1154
|
+
ibTokenUsed?: null,
|
|
1043
1155
|
ptUsed?: null,
|
|
1044
1156
|
lpOut?: null
|
|
1045
|
-
):
|
|
1046
|
-
|
|
1157
|
+
): AddLiquidityDualIbTokenAndPtEventFilter;
|
|
1158
|
+
AddLiquidityDualIbTokenAndPt(
|
|
1047
1159
|
caller?: string | null,
|
|
1048
1160
|
market?: string | null,
|
|
1049
1161
|
receiver?: string | null,
|
|
1050
|
-
|
|
1162
|
+
ibTokenUsed?: null,
|
|
1051
1163
|
ptUsed?: null,
|
|
1052
1164
|
lpOut?: null
|
|
1053
|
-
):
|
|
1165
|
+
): AddLiquidityDualIbTokenAndPtEventFilter;
|
|
1054
1166
|
|
|
1055
|
-
"
|
|
1167
|
+
"AddLiquidityDualScyAndPt(address,address,address,uint256,uint256,uint256)"(
|
|
1056
1168
|
caller?: string | null,
|
|
1169
|
+
market?: string | null,
|
|
1057
1170
|
receiver?: string | null,
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
MintPyFromRawToken(
|
|
1171
|
+
scyUsed?: null,
|
|
1172
|
+
ptUsed?: null,
|
|
1173
|
+
lpOut?: null
|
|
1174
|
+
): AddLiquidityDualScyAndPtEventFilter;
|
|
1175
|
+
AddLiquidityDualScyAndPt(
|
|
1064
1176
|
caller?: string | null,
|
|
1177
|
+
market?: string | null,
|
|
1065
1178
|
receiver?: string | null,
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
): MintPyFromRawTokenEventFilter;
|
|
1179
|
+
scyUsed?: null,
|
|
1180
|
+
ptUsed?: null,
|
|
1181
|
+
lpOut?: null
|
|
1182
|
+
): AddLiquidityDualScyAndPtEventFilter;
|
|
1071
1183
|
|
|
1072
1184
|
"MintPyFromScy(address,address,address,uint256,uint256)"(
|
|
1073
1185
|
caller?: string | null,
|
|
@@ -1084,105 +1196,122 @@ export interface ActionCore extends BaseContract {
|
|
|
1084
1196
|
netPyOut?: null
|
|
1085
1197
|
): MintPyFromScyEventFilter;
|
|
1086
1198
|
|
|
1087
|
-
"
|
|
1199
|
+
"MintPyFromToken(address,address,address,address,uint256,uint256)"(
|
|
1200
|
+
caller?: string | null,
|
|
1201
|
+
receiver?: string | null,
|
|
1202
|
+
YT?: string | null,
|
|
1203
|
+
tokenIn?: null,
|
|
1204
|
+
netTokenIn?: null,
|
|
1205
|
+
netPyOut?: null
|
|
1206
|
+
): MintPyFromTokenEventFilter;
|
|
1207
|
+
MintPyFromToken(
|
|
1208
|
+
caller?: string | null,
|
|
1209
|
+
receiver?: string | null,
|
|
1210
|
+
YT?: string | null,
|
|
1211
|
+
tokenIn?: null,
|
|
1212
|
+
netTokenIn?: null,
|
|
1213
|
+
netPyOut?: null
|
|
1214
|
+
): MintPyFromTokenEventFilter;
|
|
1215
|
+
|
|
1216
|
+
"MintScyFromToken(address,address,address,address,uint256,uint256)"(
|
|
1088
1217
|
caller?: string | null,
|
|
1089
1218
|
receiver?: string | null,
|
|
1090
1219
|
SCY?: string | null,
|
|
1091
|
-
|
|
1092
|
-
|
|
1220
|
+
tokenIn?: null,
|
|
1221
|
+
netTokenIn?: null,
|
|
1093
1222
|
netScyOut?: null
|
|
1094
|
-
):
|
|
1095
|
-
|
|
1223
|
+
): MintScyFromTokenEventFilter;
|
|
1224
|
+
MintScyFromToken(
|
|
1096
1225
|
caller?: string | null,
|
|
1097
1226
|
receiver?: string | null,
|
|
1098
1227
|
SCY?: string | null,
|
|
1099
|
-
|
|
1100
|
-
|
|
1228
|
+
tokenIn?: null,
|
|
1229
|
+
netTokenIn?: null,
|
|
1101
1230
|
netScyOut?: null
|
|
1102
|
-
):
|
|
1231
|
+
): MintScyFromTokenEventFilter;
|
|
1103
1232
|
|
|
1104
|
-
"
|
|
1233
|
+
"RedeemPyToScy(address,address,address,uint256,uint256)"(
|
|
1105
1234
|
caller?: string | null,
|
|
1106
1235
|
receiver?: string | null,
|
|
1107
1236
|
YT?: string | null,
|
|
1108
1237
|
netPyIn?: null,
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
RedeemPyToRawToken(
|
|
1238
|
+
netScyOut?: null
|
|
1239
|
+
): RedeemPyToScyEventFilter;
|
|
1240
|
+
RedeemPyToScy(
|
|
1113
1241
|
caller?: string | null,
|
|
1114
1242
|
receiver?: string | null,
|
|
1115
1243
|
YT?: string | null,
|
|
1116
1244
|
netPyIn?: null,
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
): RedeemPyToRawTokenEventFilter;
|
|
1245
|
+
netScyOut?: null
|
|
1246
|
+
): RedeemPyToScyEventFilter;
|
|
1120
1247
|
|
|
1121
|
-
"
|
|
1248
|
+
"RedeemPyToToken(address,address,address,uint256,address,uint256)"(
|
|
1122
1249
|
caller?: string | null,
|
|
1123
1250
|
receiver?: string | null,
|
|
1124
1251
|
YT?: string | null,
|
|
1125
1252
|
netPyIn?: null,
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1253
|
+
tokenOut?: null,
|
|
1254
|
+
netTokenOut?: null
|
|
1255
|
+
): RedeemPyToTokenEventFilter;
|
|
1256
|
+
RedeemPyToToken(
|
|
1129
1257
|
caller?: string | null,
|
|
1130
1258
|
receiver?: string | null,
|
|
1131
1259
|
YT?: string | null,
|
|
1132
1260
|
netPyIn?: null,
|
|
1133
|
-
|
|
1134
|
-
|
|
1261
|
+
tokenOut?: null,
|
|
1262
|
+
netTokenOut?: null
|
|
1263
|
+
): RedeemPyToTokenEventFilter;
|
|
1135
1264
|
|
|
1136
|
-
"
|
|
1265
|
+
"RedeemScyToToken(address,address,address,uint256,address,uint256)"(
|
|
1137
1266
|
caller?: string | null,
|
|
1138
1267
|
receiver?: string | null,
|
|
1139
1268
|
SCY?: string | null,
|
|
1140
1269
|
netScyIn?: null,
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
):
|
|
1144
|
-
|
|
1270
|
+
tokenOut?: null,
|
|
1271
|
+
netTokenOut?: null
|
|
1272
|
+
): RedeemScyToTokenEventFilter;
|
|
1273
|
+
RedeemScyToToken(
|
|
1145
1274
|
caller?: string | null,
|
|
1146
1275
|
receiver?: string | null,
|
|
1147
1276
|
SCY?: string | null,
|
|
1148
1277
|
netScyIn?: null,
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
):
|
|
1278
|
+
tokenOut?: null,
|
|
1279
|
+
netTokenOut?: null
|
|
1280
|
+
): RedeemScyToTokenEventFilter;
|
|
1152
1281
|
|
|
1153
|
-
"
|
|
1282
|
+
"RemoveLiquidityDualIbTokenAndPt(address,address,address,uint256,uint256,uint256)"(
|
|
1154
1283
|
caller?: string | null,
|
|
1155
1284
|
market?: string | null,
|
|
1156
1285
|
receiver?: null,
|
|
1157
1286
|
lpIn?: null,
|
|
1158
1287
|
amountPTOut?: null,
|
|
1159
|
-
|
|
1160
|
-
):
|
|
1161
|
-
|
|
1288
|
+
amountIbTokenOut?: null
|
|
1289
|
+
): RemoveLiquidityDualIbTokenAndPtEventFilter;
|
|
1290
|
+
RemoveLiquidityDualIbTokenAndPt(
|
|
1162
1291
|
caller?: string | null,
|
|
1163
1292
|
market?: string | null,
|
|
1164
1293
|
receiver?: null,
|
|
1165
1294
|
lpIn?: null,
|
|
1166
1295
|
amountPTOut?: null,
|
|
1167
|
-
|
|
1168
|
-
):
|
|
1296
|
+
amountIbTokenOut?: null
|
|
1297
|
+
): RemoveLiquidityDualIbTokenAndPtEventFilter;
|
|
1169
1298
|
|
|
1170
|
-
"
|
|
1299
|
+
"RemoveLiquidityDualScyAndPt(address,address,address,uint256,uint256,uint256)"(
|
|
1171
1300
|
caller?: string | null,
|
|
1172
1301
|
market?: string | null,
|
|
1173
|
-
rawToken?: string | null,
|
|
1174
1302
|
receiver?: null,
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1303
|
+
lpIn?: null,
|
|
1304
|
+
amountPTOut?: null,
|
|
1305
|
+
amountSCYOut?: null
|
|
1306
|
+
): RemoveLiquidityDualScyAndPtEventFilter;
|
|
1307
|
+
RemoveLiquidityDualScyAndPt(
|
|
1179
1308
|
caller?: string | null,
|
|
1180
1309
|
market?: string | null,
|
|
1181
|
-
rawToken?: string | null,
|
|
1182
1310
|
receiver?: null,
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1311
|
+
lpIn?: null,
|
|
1312
|
+
amountPTOut?: null,
|
|
1313
|
+
amountSCYOut?: null
|
|
1314
|
+
): RemoveLiquidityDualScyAndPtEventFilter;
|
|
1186
1315
|
|
|
1187
1316
|
"SwapPtAndScy(address,address,address,int256,int256)"(
|
|
1188
1317
|
caller?: string | null,
|
|
@@ -1198,10 +1327,36 @@ export interface ActionCore extends BaseContract {
|
|
|
1198
1327
|
amountPtToAccount?: null,
|
|
1199
1328
|
amountScyToAccount?: null
|
|
1200
1329
|
): SwapPtAndScyEventFilter;
|
|
1330
|
+
|
|
1331
|
+
"SwapPtAndToken(address,address,address,address,int256,int256)"(
|
|
1332
|
+
caller?: string | null,
|
|
1333
|
+
market?: string | null,
|
|
1334
|
+
token?: string | null,
|
|
1335
|
+
receiver?: null,
|
|
1336
|
+
amountPtToAccount?: null,
|
|
1337
|
+
amountTokenToAccount?: null
|
|
1338
|
+
): SwapPtAndTokenEventFilter;
|
|
1339
|
+
SwapPtAndToken(
|
|
1340
|
+
caller?: string | null,
|
|
1341
|
+
market?: string | null,
|
|
1342
|
+
token?: string | null,
|
|
1343
|
+
receiver?: null,
|
|
1344
|
+
amountPtToAccount?: null,
|
|
1345
|
+
amountTokenToAccount?: null
|
|
1346
|
+
): SwapPtAndTokenEventFilter;
|
|
1201
1347
|
};
|
|
1202
1348
|
|
|
1203
1349
|
estimateGas: {
|
|
1204
|
-
|
|
1350
|
+
addLiquidityDualIbTokenAndPt(
|
|
1351
|
+
receiver: string,
|
|
1352
|
+
market: string,
|
|
1353
|
+
ibTokenDesired: BigNumberish,
|
|
1354
|
+
ptDesired: BigNumberish,
|
|
1355
|
+
minLpOut: BigNumberish,
|
|
1356
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1357
|
+
): Promise<BigNumber>;
|
|
1358
|
+
|
|
1359
|
+
addLiquidityDualScyAndPt(
|
|
1205
1360
|
receiver: string,
|
|
1206
1361
|
market: string,
|
|
1207
1362
|
scyDesired: BigNumberish,
|
|
@@ -1219,50 +1374,47 @@ export interface ActionCore extends BaseContract {
|
|
|
1219
1374
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1220
1375
|
): Promise<BigNumber>;
|
|
1221
1376
|
|
|
1222
|
-
|
|
1377
|
+
addLiquiditySingleScy(
|
|
1223
1378
|
receiver: string,
|
|
1224
1379
|
market: string,
|
|
1225
|
-
|
|
1380
|
+
netScyIn: BigNumberish,
|
|
1226
1381
|
minLpOut: BigNumberish,
|
|
1227
|
-
path: string[],
|
|
1228
1382
|
guessPtReceivedFromScy: ApproxParamsStruct,
|
|
1229
1383
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1230
1384
|
): Promise<BigNumber>;
|
|
1231
1385
|
|
|
1232
|
-
|
|
1386
|
+
addLiquiditySingleToken(
|
|
1233
1387
|
receiver: string,
|
|
1234
1388
|
market: string,
|
|
1235
|
-
netScyIn: BigNumberish,
|
|
1236
1389
|
minLpOut: BigNumberish,
|
|
1237
1390
|
guessPtReceivedFromScy: ApproxParamsStruct,
|
|
1391
|
+
input: TokenInputStruct,
|
|
1238
1392
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1239
1393
|
): Promise<BigNumber>;
|
|
1240
1394
|
|
|
1241
|
-
|
|
1395
|
+
kyberSwapRouter(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1242
1396
|
|
|
1243
|
-
|
|
1397
|
+
mintPyFromScy(
|
|
1244
1398
|
receiver: string,
|
|
1245
1399
|
YT: string,
|
|
1246
|
-
|
|
1400
|
+
netScyIn: BigNumberish,
|
|
1247
1401
|
minPyOut: BigNumberish,
|
|
1248
|
-
path: string[],
|
|
1249
1402
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1250
1403
|
): Promise<BigNumber>;
|
|
1251
1404
|
|
|
1252
|
-
|
|
1405
|
+
mintPyFromToken(
|
|
1253
1406
|
receiver: string,
|
|
1254
1407
|
YT: string,
|
|
1255
|
-
netScyIn: BigNumberish,
|
|
1256
1408
|
minPyOut: BigNumberish,
|
|
1409
|
+
input: TokenInputStruct,
|
|
1257
1410
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1258
1411
|
): Promise<BigNumber>;
|
|
1259
1412
|
|
|
1260
|
-
|
|
1413
|
+
mintScyFromToken(
|
|
1261
1414
|
receiver: string,
|
|
1262
1415
|
SCY: string,
|
|
1263
|
-
netRawTokenIn: BigNumberish,
|
|
1264
1416
|
minScyOut: BigNumberish,
|
|
1265
|
-
|
|
1417
|
+
input: TokenInputStruct,
|
|
1266
1418
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1267
1419
|
): Promise<BigNumber>;
|
|
1268
1420
|
|
|
@@ -1274,33 +1426,40 @@ export interface ActionCore extends BaseContract {
|
|
|
1274
1426
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1275
1427
|
): Promise<BigNumber>;
|
|
1276
1428
|
|
|
1277
|
-
|
|
1429
|
+
redeemPyToScy(
|
|
1278
1430
|
receiver: string,
|
|
1279
1431
|
YT: string,
|
|
1280
1432
|
netPyIn: BigNumberish,
|
|
1281
|
-
|
|
1282
|
-
path: string[],
|
|
1433
|
+
minScyOut: BigNumberish,
|
|
1283
1434
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1284
1435
|
): Promise<BigNumber>;
|
|
1285
1436
|
|
|
1286
|
-
|
|
1437
|
+
redeemPyToToken(
|
|
1287
1438
|
receiver: string,
|
|
1288
1439
|
YT: string,
|
|
1289
1440
|
netPyIn: BigNumberish,
|
|
1290
|
-
|
|
1441
|
+
output: TokenOutputStruct,
|
|
1291
1442
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1292
1443
|
): Promise<BigNumber>;
|
|
1293
1444
|
|
|
1294
|
-
|
|
1445
|
+
redeemScyToToken(
|
|
1295
1446
|
receiver: string,
|
|
1296
1447
|
SCY: string,
|
|
1297
1448
|
netScyIn: BigNumberish,
|
|
1298
|
-
|
|
1299
|
-
path: string[],
|
|
1449
|
+
output: TokenOutputStruct,
|
|
1300
1450
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1301
1451
|
): Promise<BigNumber>;
|
|
1302
1452
|
|
|
1303
|
-
|
|
1453
|
+
removeLiquidityDualIbTokenAndPt(
|
|
1454
|
+
receiver: string,
|
|
1455
|
+
market: string,
|
|
1456
|
+
lpToRemove: BigNumberish,
|
|
1457
|
+
ibTokenMin: BigNumberish,
|
|
1458
|
+
ptOutMin: BigNumberish,
|
|
1459
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1460
|
+
): Promise<BigNumber>;
|
|
1461
|
+
|
|
1462
|
+
removeLiquidityDualScyAndPt(
|
|
1304
1463
|
receiver: string,
|
|
1305
1464
|
market: string,
|
|
1306
1465
|
lpToRemove: BigNumberish,
|
|
@@ -1318,56 +1477,53 @@ export interface ActionCore extends BaseContract {
|
|
|
1318
1477
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1319
1478
|
): Promise<BigNumber>;
|
|
1320
1479
|
|
|
1321
|
-
|
|
1480
|
+
removeLiquiditySingleScy(
|
|
1322
1481
|
receiver: string,
|
|
1323
1482
|
market: string,
|
|
1324
1483
|
lpToRemove: BigNumberish,
|
|
1325
|
-
|
|
1326
|
-
path: string[],
|
|
1484
|
+
minScyOut: BigNumberish,
|
|
1327
1485
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1328
1486
|
): Promise<BigNumber>;
|
|
1329
1487
|
|
|
1330
|
-
|
|
1488
|
+
removeLiquiditySingleToken(
|
|
1331
1489
|
receiver: string,
|
|
1332
1490
|
market: string,
|
|
1333
1491
|
lpToRemove: BigNumberish,
|
|
1334
|
-
|
|
1492
|
+
output: TokenOutputStruct,
|
|
1335
1493
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1336
1494
|
): Promise<BigNumber>;
|
|
1337
1495
|
|
|
1338
|
-
|
|
1496
|
+
swapExactPtForScy(
|
|
1339
1497
|
receiver: string,
|
|
1340
1498
|
market: string,
|
|
1341
1499
|
exactPtIn: BigNumberish,
|
|
1342
|
-
|
|
1343
|
-
path: string[],
|
|
1500
|
+
minScyOut: BigNumberish,
|
|
1344
1501
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1345
1502
|
): Promise<BigNumber>;
|
|
1346
1503
|
|
|
1347
|
-
|
|
1504
|
+
swapExactPtForToken(
|
|
1348
1505
|
receiver: string,
|
|
1349
1506
|
market: string,
|
|
1350
1507
|
exactPtIn: BigNumberish,
|
|
1351
|
-
|
|
1508
|
+
output: TokenOutputStruct,
|
|
1352
1509
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1353
1510
|
): Promise<BigNumber>;
|
|
1354
1511
|
|
|
1355
|
-
|
|
1512
|
+
swapExactScyForPt(
|
|
1356
1513
|
receiver: string,
|
|
1357
1514
|
market: string,
|
|
1358
|
-
|
|
1515
|
+
exactScyIn: BigNumberish,
|
|
1359
1516
|
minPtOut: BigNumberish,
|
|
1360
|
-
path: string[],
|
|
1361
1517
|
guessPtOut: ApproxParamsStruct,
|
|
1362
1518
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1363
1519
|
): Promise<BigNumber>;
|
|
1364
1520
|
|
|
1365
|
-
|
|
1521
|
+
swapExactTokenForPt(
|
|
1366
1522
|
receiver: string,
|
|
1367
1523
|
market: string,
|
|
1368
|
-
exactScyIn: BigNumberish,
|
|
1369
1524
|
minPtOut: BigNumberish,
|
|
1370
1525
|
guessPtOut: ApproxParamsStruct,
|
|
1526
|
+
input: TokenInputStruct,
|
|
1371
1527
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1372
1528
|
): Promise<BigNumber>;
|
|
1373
1529
|
|
|
@@ -1390,7 +1546,16 @@ export interface ActionCore extends BaseContract {
|
|
|
1390
1546
|
};
|
|
1391
1547
|
|
|
1392
1548
|
populateTransaction: {
|
|
1393
|
-
|
|
1549
|
+
addLiquidityDualIbTokenAndPt(
|
|
1550
|
+
receiver: string,
|
|
1551
|
+
market: string,
|
|
1552
|
+
ibTokenDesired: BigNumberish,
|
|
1553
|
+
ptDesired: BigNumberish,
|
|
1554
|
+
minLpOut: BigNumberish,
|
|
1555
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1556
|
+
): Promise<PopulatedTransaction>;
|
|
1557
|
+
|
|
1558
|
+
addLiquidityDualScyAndPt(
|
|
1394
1559
|
receiver: string,
|
|
1395
1560
|
market: string,
|
|
1396
1561
|
scyDesired: BigNumberish,
|
|
@@ -1408,50 +1573,47 @@ export interface ActionCore extends BaseContract {
|
|
|
1408
1573
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1409
1574
|
): Promise<PopulatedTransaction>;
|
|
1410
1575
|
|
|
1411
|
-
|
|
1576
|
+
addLiquiditySingleScy(
|
|
1412
1577
|
receiver: string,
|
|
1413
1578
|
market: string,
|
|
1414
|
-
|
|
1579
|
+
netScyIn: BigNumberish,
|
|
1415
1580
|
minLpOut: BigNumberish,
|
|
1416
|
-
path: string[],
|
|
1417
1581
|
guessPtReceivedFromScy: ApproxParamsStruct,
|
|
1418
1582
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1419
1583
|
): Promise<PopulatedTransaction>;
|
|
1420
1584
|
|
|
1421
|
-
|
|
1585
|
+
addLiquiditySingleToken(
|
|
1422
1586
|
receiver: string,
|
|
1423
1587
|
market: string,
|
|
1424
|
-
netScyIn: BigNumberish,
|
|
1425
1588
|
minLpOut: BigNumberish,
|
|
1426
1589
|
guessPtReceivedFromScy: ApproxParamsStruct,
|
|
1590
|
+
input: TokenInputStruct,
|
|
1427
1591
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1428
1592
|
): Promise<PopulatedTransaction>;
|
|
1429
1593
|
|
|
1430
|
-
|
|
1594
|
+
kyberSwapRouter(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
1431
1595
|
|
|
1432
|
-
|
|
1596
|
+
mintPyFromScy(
|
|
1433
1597
|
receiver: string,
|
|
1434
1598
|
YT: string,
|
|
1435
|
-
|
|
1599
|
+
netScyIn: BigNumberish,
|
|
1436
1600
|
minPyOut: BigNumberish,
|
|
1437
|
-
path: string[],
|
|
1438
1601
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1439
1602
|
): Promise<PopulatedTransaction>;
|
|
1440
1603
|
|
|
1441
|
-
|
|
1604
|
+
mintPyFromToken(
|
|
1442
1605
|
receiver: string,
|
|
1443
1606
|
YT: string,
|
|
1444
|
-
netScyIn: BigNumberish,
|
|
1445
1607
|
minPyOut: BigNumberish,
|
|
1608
|
+
input: TokenInputStruct,
|
|
1446
1609
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1447
1610
|
): Promise<PopulatedTransaction>;
|
|
1448
1611
|
|
|
1449
|
-
|
|
1612
|
+
mintScyFromToken(
|
|
1450
1613
|
receiver: string,
|
|
1451
1614
|
SCY: string,
|
|
1452
|
-
netRawTokenIn: BigNumberish,
|
|
1453
1615
|
minScyOut: BigNumberish,
|
|
1454
|
-
|
|
1616
|
+
input: TokenInputStruct,
|
|
1455
1617
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1456
1618
|
): Promise<PopulatedTransaction>;
|
|
1457
1619
|
|
|
@@ -1463,33 +1625,40 @@ export interface ActionCore extends BaseContract {
|
|
|
1463
1625
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1464
1626
|
): Promise<PopulatedTransaction>;
|
|
1465
1627
|
|
|
1466
|
-
|
|
1628
|
+
redeemPyToScy(
|
|
1467
1629
|
receiver: string,
|
|
1468
1630
|
YT: string,
|
|
1469
1631
|
netPyIn: BigNumberish,
|
|
1470
|
-
|
|
1471
|
-
path: string[],
|
|
1632
|
+
minScyOut: BigNumberish,
|
|
1472
1633
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1473
1634
|
): Promise<PopulatedTransaction>;
|
|
1474
1635
|
|
|
1475
|
-
|
|
1636
|
+
redeemPyToToken(
|
|
1476
1637
|
receiver: string,
|
|
1477
1638
|
YT: string,
|
|
1478
1639
|
netPyIn: BigNumberish,
|
|
1479
|
-
|
|
1640
|
+
output: TokenOutputStruct,
|
|
1480
1641
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1481
1642
|
): Promise<PopulatedTransaction>;
|
|
1482
1643
|
|
|
1483
|
-
|
|
1644
|
+
redeemScyToToken(
|
|
1484
1645
|
receiver: string,
|
|
1485
1646
|
SCY: string,
|
|
1486
1647
|
netScyIn: BigNumberish,
|
|
1487
|
-
|
|
1488
|
-
path: string[],
|
|
1648
|
+
output: TokenOutputStruct,
|
|
1489
1649
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1490
1650
|
): Promise<PopulatedTransaction>;
|
|
1491
1651
|
|
|
1492
|
-
|
|
1652
|
+
removeLiquidityDualIbTokenAndPt(
|
|
1653
|
+
receiver: string,
|
|
1654
|
+
market: string,
|
|
1655
|
+
lpToRemove: BigNumberish,
|
|
1656
|
+
ibTokenMin: BigNumberish,
|
|
1657
|
+
ptOutMin: BigNumberish,
|
|
1658
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1659
|
+
): Promise<PopulatedTransaction>;
|
|
1660
|
+
|
|
1661
|
+
removeLiquidityDualScyAndPt(
|
|
1493
1662
|
receiver: string,
|
|
1494
1663
|
market: string,
|
|
1495
1664
|
lpToRemove: BigNumberish,
|
|
@@ -1507,56 +1676,53 @@ export interface ActionCore extends BaseContract {
|
|
|
1507
1676
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1508
1677
|
): Promise<PopulatedTransaction>;
|
|
1509
1678
|
|
|
1510
|
-
|
|
1679
|
+
removeLiquiditySingleScy(
|
|
1511
1680
|
receiver: string,
|
|
1512
1681
|
market: string,
|
|
1513
1682
|
lpToRemove: BigNumberish,
|
|
1514
|
-
|
|
1515
|
-
path: string[],
|
|
1683
|
+
minScyOut: BigNumberish,
|
|
1516
1684
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1517
1685
|
): Promise<PopulatedTransaction>;
|
|
1518
1686
|
|
|
1519
|
-
|
|
1687
|
+
removeLiquiditySingleToken(
|
|
1520
1688
|
receiver: string,
|
|
1521
1689
|
market: string,
|
|
1522
1690
|
lpToRemove: BigNumberish,
|
|
1523
|
-
|
|
1691
|
+
output: TokenOutputStruct,
|
|
1524
1692
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1525
1693
|
): Promise<PopulatedTransaction>;
|
|
1526
1694
|
|
|
1527
|
-
|
|
1695
|
+
swapExactPtForScy(
|
|
1528
1696
|
receiver: string,
|
|
1529
1697
|
market: string,
|
|
1530
1698
|
exactPtIn: BigNumberish,
|
|
1531
|
-
|
|
1532
|
-
path: string[],
|
|
1699
|
+
minScyOut: BigNumberish,
|
|
1533
1700
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1534
1701
|
): Promise<PopulatedTransaction>;
|
|
1535
1702
|
|
|
1536
|
-
|
|
1703
|
+
swapExactPtForToken(
|
|
1537
1704
|
receiver: string,
|
|
1538
1705
|
market: string,
|
|
1539
1706
|
exactPtIn: BigNumberish,
|
|
1540
|
-
|
|
1707
|
+
output: TokenOutputStruct,
|
|
1541
1708
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1542
1709
|
): Promise<PopulatedTransaction>;
|
|
1543
1710
|
|
|
1544
|
-
|
|
1711
|
+
swapExactScyForPt(
|
|
1545
1712
|
receiver: string,
|
|
1546
1713
|
market: string,
|
|
1547
|
-
|
|
1714
|
+
exactScyIn: BigNumberish,
|
|
1548
1715
|
minPtOut: BigNumberish,
|
|
1549
|
-
path: string[],
|
|
1550
1716
|
guessPtOut: ApproxParamsStruct,
|
|
1551
1717
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1552
1718
|
): Promise<PopulatedTransaction>;
|
|
1553
1719
|
|
|
1554
|
-
|
|
1720
|
+
swapExactTokenForPt(
|
|
1555
1721
|
receiver: string,
|
|
1556
1722
|
market: string,
|
|
1557
|
-
exactScyIn: BigNumberish,
|
|
1558
1723
|
minPtOut: BigNumberish,
|
|
1559
1724
|
guessPtOut: ApproxParamsStruct,
|
|
1725
|
+
input: TokenInputStruct,
|
|
1560
1726
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1561
1727
|
): Promise<PopulatedTransaction>;
|
|
1562
1728
|
|