@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
|
@@ -22,15 +22,18 @@ import type {
|
|
|
22
22
|
export interface ActionSCYAndPTBaseInterface extends utils.Interface {
|
|
23
23
|
contractName: "ActionSCYAndPTBase";
|
|
24
24
|
functions: {
|
|
25
|
-
"
|
|
25
|
+
"kyberSwapRouter()": FunctionFragment;
|
|
26
26
|
};
|
|
27
27
|
|
|
28
28
|
encodeFunctionData(
|
|
29
|
-
functionFragment: "
|
|
29
|
+
functionFragment: "kyberSwapRouter",
|
|
30
30
|
values?: undefined
|
|
31
31
|
): string;
|
|
32
32
|
|
|
33
|
-
decodeFunctionResult(
|
|
33
|
+
decodeFunctionResult(
|
|
34
|
+
functionFragment: "kyberSwapRouter",
|
|
35
|
+
data: BytesLike
|
|
36
|
+
): Result;
|
|
34
37
|
|
|
35
38
|
events: {};
|
|
36
39
|
}
|
|
@@ -63,22 +66,22 @@ export interface ActionSCYAndPTBase extends BaseContract {
|
|
|
63
66
|
removeListener: OnEvent<this>;
|
|
64
67
|
|
|
65
68
|
functions: {
|
|
66
|
-
|
|
69
|
+
kyberSwapRouter(overrides?: CallOverrides): Promise<[string]>;
|
|
67
70
|
};
|
|
68
71
|
|
|
69
|
-
|
|
72
|
+
kyberSwapRouter(overrides?: CallOverrides): Promise<string>;
|
|
70
73
|
|
|
71
74
|
callStatic: {
|
|
72
|
-
|
|
75
|
+
kyberSwapRouter(overrides?: CallOverrides): Promise<string>;
|
|
73
76
|
};
|
|
74
77
|
|
|
75
78
|
filters: {};
|
|
76
79
|
|
|
77
80
|
estimateGas: {
|
|
78
|
-
|
|
81
|
+
kyberSwapRouter(overrides?: CallOverrides): Promise<BigNumber>;
|
|
79
82
|
};
|
|
80
83
|
|
|
81
84
|
populateTransaction: {
|
|
82
|
-
|
|
85
|
+
kyberSwapRouter(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
83
86
|
};
|
|
84
87
|
}
|
|
@@ -22,15 +22,18 @@ import type {
|
|
|
22
22
|
export interface ActionSCYAndPYBaseInterface extends utils.Interface {
|
|
23
23
|
contractName: "ActionSCYAndPYBase";
|
|
24
24
|
functions: {
|
|
25
|
-
"
|
|
25
|
+
"kyberSwapRouter()": FunctionFragment;
|
|
26
26
|
};
|
|
27
27
|
|
|
28
28
|
encodeFunctionData(
|
|
29
|
-
functionFragment: "
|
|
29
|
+
functionFragment: "kyberSwapRouter",
|
|
30
30
|
values?: undefined
|
|
31
31
|
): string;
|
|
32
32
|
|
|
33
|
-
decodeFunctionResult(
|
|
33
|
+
decodeFunctionResult(
|
|
34
|
+
functionFragment: "kyberSwapRouter",
|
|
35
|
+
data: BytesLike
|
|
36
|
+
): Result;
|
|
34
37
|
|
|
35
38
|
events: {};
|
|
36
39
|
}
|
|
@@ -63,22 +66,22 @@ export interface ActionSCYAndPYBase extends BaseContract {
|
|
|
63
66
|
removeListener: OnEvent<this>;
|
|
64
67
|
|
|
65
68
|
functions: {
|
|
66
|
-
|
|
69
|
+
kyberSwapRouter(overrides?: CallOverrides): Promise<[string]>;
|
|
67
70
|
};
|
|
68
71
|
|
|
69
|
-
|
|
72
|
+
kyberSwapRouter(overrides?: CallOverrides): Promise<string>;
|
|
70
73
|
|
|
71
74
|
callStatic: {
|
|
72
|
-
|
|
75
|
+
kyberSwapRouter(overrides?: CallOverrides): Promise<string>;
|
|
73
76
|
};
|
|
74
77
|
|
|
75
78
|
filters: {};
|
|
76
79
|
|
|
77
80
|
estimateGas: {
|
|
78
|
-
|
|
81
|
+
kyberSwapRouter(overrides?: CallOverrides): Promise<BigNumber>;
|
|
79
82
|
};
|
|
80
83
|
|
|
81
84
|
populateTransaction: {
|
|
82
|
-
|
|
85
|
+
kyberSwapRouter(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
83
86
|
};
|
|
84
87
|
}
|
|
@@ -22,15 +22,18 @@ import type {
|
|
|
22
22
|
export interface ActionSCYAndYTBaseInterface extends utils.Interface {
|
|
23
23
|
contractName: "ActionSCYAndYTBase";
|
|
24
24
|
functions: {
|
|
25
|
-
"
|
|
25
|
+
"kyberSwapRouter()": FunctionFragment;
|
|
26
26
|
};
|
|
27
27
|
|
|
28
28
|
encodeFunctionData(
|
|
29
|
-
functionFragment: "
|
|
29
|
+
functionFragment: "kyberSwapRouter",
|
|
30
30
|
values?: undefined
|
|
31
31
|
): string;
|
|
32
32
|
|
|
33
|
-
decodeFunctionResult(
|
|
33
|
+
decodeFunctionResult(
|
|
34
|
+
functionFragment: "kyberSwapRouter",
|
|
35
|
+
data: BytesLike
|
|
36
|
+
): Result;
|
|
34
37
|
|
|
35
38
|
events: {};
|
|
36
39
|
}
|
|
@@ -63,22 +66,22 @@ export interface ActionSCYAndYTBase extends BaseContract {
|
|
|
63
66
|
removeListener: OnEvent<this>;
|
|
64
67
|
|
|
65
68
|
functions: {
|
|
66
|
-
|
|
69
|
+
kyberSwapRouter(overrides?: CallOverrides): Promise<[string]>;
|
|
67
70
|
};
|
|
68
71
|
|
|
69
|
-
|
|
72
|
+
kyberSwapRouter(overrides?: CallOverrides): Promise<string>;
|
|
70
73
|
|
|
71
74
|
callStatic: {
|
|
72
|
-
|
|
75
|
+
kyberSwapRouter(overrides?: CallOverrides): Promise<string>;
|
|
73
76
|
};
|
|
74
77
|
|
|
75
78
|
filters: {};
|
|
76
79
|
|
|
77
80
|
estimateGas: {
|
|
78
|
-
|
|
81
|
+
kyberSwapRouter(overrides?: CallOverrides): Promise<BigNumber>;
|
|
79
82
|
};
|
|
80
83
|
|
|
81
84
|
populateTransaction: {
|
|
82
|
-
|
|
85
|
+
kyberSwapRouter(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
83
86
|
};
|
|
84
87
|
}
|
|
@@ -44,45 +44,66 @@ 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 ActionYTInterface extends utils.Interface {
|
|
48
76
|
contractName: "ActionYT";
|
|
49
77
|
functions: {
|
|
50
|
-
"
|
|
51
|
-
"swapExactRawTokenForYt(address,address,uint256,uint256,address[],(uint256,uint256,uint256,uint256,uint256))": FunctionFragment;
|
|
78
|
+
"kyberSwapRouter()": FunctionFragment;
|
|
52
79
|
"swapExactScyForYt(address,address,uint256,uint256,(uint256,uint256,uint256,uint256,uint256))": FunctionFragment;
|
|
53
|
-
"
|
|
80
|
+
"swapExactTokenForYt(address,address,uint256,(uint256,uint256,uint256,uint256,uint256),(address,uint256,address,bytes))": FunctionFragment;
|
|
54
81
|
"swapExactYtForScy(address,address,uint256,uint256)": FunctionFragment;
|
|
82
|
+
"swapExactYtForToken(address,address,uint256,(address,uint256,address,bytes))": FunctionFragment;
|
|
55
83
|
"swapScyForExactYt(address,address,uint256,uint256)": FunctionFragment;
|
|
56
84
|
"swapYtForExactScy(address,address,uint256,uint256,(uint256,uint256,uint256,uint256,uint256))": FunctionFragment;
|
|
57
85
|
};
|
|
58
86
|
|
|
59
87
|
encodeFunctionData(
|
|
60
|
-
functionFragment: "
|
|
88
|
+
functionFragment: "kyberSwapRouter",
|
|
61
89
|
values?: undefined
|
|
62
90
|
): string;
|
|
63
|
-
encodeFunctionData(
|
|
64
|
-
functionFragment: "swapExactRawTokenForYt",
|
|
65
|
-
values: [
|
|
66
|
-
string,
|
|
67
|
-
string,
|
|
68
|
-
BigNumberish,
|
|
69
|
-
BigNumberish,
|
|
70
|
-
string[],
|
|
71
|
-
ApproxParamsStruct
|
|
72
|
-
]
|
|
73
|
-
): string;
|
|
74
91
|
encodeFunctionData(
|
|
75
92
|
functionFragment: "swapExactScyForYt",
|
|
76
93
|
values: [string, string, BigNumberish, BigNumberish, ApproxParamsStruct]
|
|
77
94
|
): string;
|
|
78
95
|
encodeFunctionData(
|
|
79
|
-
functionFragment: "
|
|
80
|
-
values: [string, string, BigNumberish,
|
|
96
|
+
functionFragment: "swapExactTokenForYt",
|
|
97
|
+
values: [string, string, BigNumberish, ApproxParamsStruct, TokenInputStruct]
|
|
81
98
|
): string;
|
|
82
99
|
encodeFunctionData(
|
|
83
100
|
functionFragment: "swapExactYtForScy",
|
|
84
101
|
values: [string, string, BigNumberish, BigNumberish]
|
|
85
102
|
): string;
|
|
103
|
+
encodeFunctionData(
|
|
104
|
+
functionFragment: "swapExactYtForToken",
|
|
105
|
+
values: [string, string, BigNumberish, TokenOutputStruct]
|
|
106
|
+
): string;
|
|
86
107
|
encodeFunctionData(
|
|
87
108
|
functionFragment: "swapScyForExactYt",
|
|
88
109
|
values: [string, string, BigNumberish, BigNumberish]
|
|
@@ -92,9 +113,8 @@ export interface ActionYTInterface extends utils.Interface {
|
|
|
92
113
|
values: [string, string, BigNumberish, BigNumberish, ApproxParamsStruct]
|
|
93
114
|
): string;
|
|
94
115
|
|
|
95
|
-
decodeFunctionResult(functionFragment: "joeFactory", data: BytesLike): Result;
|
|
96
116
|
decodeFunctionResult(
|
|
97
|
-
functionFragment: "
|
|
117
|
+
functionFragment: "kyberSwapRouter",
|
|
98
118
|
data: BytesLike
|
|
99
119
|
): Result;
|
|
100
120
|
decodeFunctionResult(
|
|
@@ -102,13 +122,17 @@ export interface ActionYTInterface extends utils.Interface {
|
|
|
102
122
|
data: BytesLike
|
|
103
123
|
): Result;
|
|
104
124
|
decodeFunctionResult(
|
|
105
|
-
functionFragment: "
|
|
125
|
+
functionFragment: "swapExactTokenForYt",
|
|
106
126
|
data: BytesLike
|
|
107
127
|
): Result;
|
|
108
128
|
decodeFunctionResult(
|
|
109
129
|
functionFragment: "swapExactYtForScy",
|
|
110
130
|
data: BytesLike
|
|
111
131
|
): Result;
|
|
132
|
+
decodeFunctionResult(
|
|
133
|
+
functionFragment: "swapExactYtForToken",
|
|
134
|
+
data: BytesLike
|
|
135
|
+
): Result;
|
|
112
136
|
decodeFunctionResult(
|
|
113
137
|
functionFragment: "swapScyForExactYt",
|
|
114
138
|
data: BytesLike
|
|
@@ -119,39 +143,38 @@ export interface ActionYTInterface extends utils.Interface {
|
|
|
119
143
|
): Result;
|
|
120
144
|
|
|
121
145
|
events: {
|
|
122
|
-
"SwapYTAndRawToken(address,address,address,int256,int256)": EventFragment;
|
|
123
146
|
"SwapYTAndSCY(address,address,int256,int256)": EventFragment;
|
|
147
|
+
"SwapYTAndToken(address,address,address,int256,int256)": EventFragment;
|
|
124
148
|
};
|
|
125
149
|
|
|
126
|
-
getEvent(nameOrSignatureOrTopic: "SwapYTAndRawToken"): EventFragment;
|
|
127
150
|
getEvent(nameOrSignatureOrTopic: "SwapYTAndSCY"): EventFragment;
|
|
151
|
+
getEvent(nameOrSignatureOrTopic: "SwapYTAndToken"): EventFragment;
|
|
128
152
|
}
|
|
129
153
|
|
|
130
|
-
export type
|
|
131
|
-
[string, string,
|
|
154
|
+
export type SwapYTAndSCYEvent = TypedEvent<
|
|
155
|
+
[string, string, BigNumber, BigNumber],
|
|
132
156
|
{
|
|
133
157
|
user: string;
|
|
134
158
|
market: string;
|
|
135
|
-
rawToken: string;
|
|
136
159
|
ytToAccount: BigNumber;
|
|
137
|
-
|
|
160
|
+
scyToAccount: BigNumber;
|
|
138
161
|
}
|
|
139
162
|
>;
|
|
140
163
|
|
|
141
|
-
export type
|
|
142
|
-
TypedEventFilter<SwapYTAndRawTokenEvent>;
|
|
164
|
+
export type SwapYTAndSCYEventFilter = TypedEventFilter<SwapYTAndSCYEvent>;
|
|
143
165
|
|
|
144
|
-
export type
|
|
145
|
-
[string, string, BigNumber, BigNumber],
|
|
166
|
+
export type SwapYTAndTokenEvent = TypedEvent<
|
|
167
|
+
[string, string, string, BigNumber, BigNumber],
|
|
146
168
|
{
|
|
147
169
|
user: string;
|
|
148
170
|
market: string;
|
|
171
|
+
token: string;
|
|
149
172
|
ytToAccount: BigNumber;
|
|
150
|
-
|
|
173
|
+
tokenToAccount: BigNumber;
|
|
151
174
|
}
|
|
152
175
|
>;
|
|
153
176
|
|
|
154
|
-
export type
|
|
177
|
+
export type SwapYTAndTokenEventFilter = TypedEventFilter<SwapYTAndTokenEvent>;
|
|
155
178
|
|
|
156
179
|
export interface ActionYT extends BaseContract {
|
|
157
180
|
contractName: "ActionYT";
|
|
@@ -181,41 +204,39 @@ export interface ActionYT extends BaseContract {
|
|
|
181
204
|
removeListener: OnEvent<this>;
|
|
182
205
|
|
|
183
206
|
functions: {
|
|
184
|
-
|
|
207
|
+
kyberSwapRouter(overrides?: CallOverrides): Promise<[string]>;
|
|
185
208
|
|
|
186
|
-
|
|
209
|
+
swapExactScyForYt(
|
|
187
210
|
receiver: string,
|
|
188
211
|
market: string,
|
|
189
|
-
|
|
212
|
+
exactScyIn: BigNumberish,
|
|
190
213
|
minYtOut: BigNumberish,
|
|
191
|
-
path: string[],
|
|
192
214
|
guessYtOut: ApproxParamsStruct,
|
|
193
215
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
194
216
|
): Promise<ContractTransaction>;
|
|
195
217
|
|
|
196
|
-
|
|
218
|
+
swapExactTokenForYt(
|
|
197
219
|
receiver: string,
|
|
198
220
|
market: string,
|
|
199
|
-
exactScyIn: BigNumberish,
|
|
200
221
|
minYtOut: BigNumberish,
|
|
201
222
|
guessYtOut: ApproxParamsStruct,
|
|
223
|
+
input: TokenInputStruct,
|
|
202
224
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
203
225
|
): Promise<ContractTransaction>;
|
|
204
226
|
|
|
205
|
-
|
|
227
|
+
swapExactYtForScy(
|
|
206
228
|
receiver: string,
|
|
207
229
|
market: string,
|
|
208
230
|
exactYtIn: BigNumberish,
|
|
209
|
-
|
|
210
|
-
path: string[],
|
|
231
|
+
minScyOut: BigNumberish,
|
|
211
232
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
212
233
|
): Promise<ContractTransaction>;
|
|
213
234
|
|
|
214
|
-
|
|
235
|
+
swapExactYtForToken(
|
|
215
236
|
receiver: string,
|
|
216
237
|
market: string,
|
|
217
|
-
|
|
218
|
-
|
|
238
|
+
netYtIn: BigNumberish,
|
|
239
|
+
output: TokenOutputStruct,
|
|
219
240
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
220
241
|
): Promise<ContractTransaction>;
|
|
221
242
|
|
|
@@ -237,41 +258,39 @@ export interface ActionYT extends BaseContract {
|
|
|
237
258
|
): Promise<ContractTransaction>;
|
|
238
259
|
};
|
|
239
260
|
|
|
240
|
-
|
|
261
|
+
kyberSwapRouter(overrides?: CallOverrides): Promise<string>;
|
|
241
262
|
|
|
242
|
-
|
|
263
|
+
swapExactScyForYt(
|
|
243
264
|
receiver: string,
|
|
244
265
|
market: string,
|
|
245
|
-
|
|
266
|
+
exactScyIn: BigNumberish,
|
|
246
267
|
minYtOut: BigNumberish,
|
|
247
|
-
path: string[],
|
|
248
268
|
guessYtOut: ApproxParamsStruct,
|
|
249
269
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
250
270
|
): Promise<ContractTransaction>;
|
|
251
271
|
|
|
252
|
-
|
|
272
|
+
swapExactTokenForYt(
|
|
253
273
|
receiver: string,
|
|
254
274
|
market: string,
|
|
255
|
-
exactScyIn: BigNumberish,
|
|
256
275
|
minYtOut: BigNumberish,
|
|
257
276
|
guessYtOut: ApproxParamsStruct,
|
|
277
|
+
input: TokenInputStruct,
|
|
258
278
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
259
279
|
): Promise<ContractTransaction>;
|
|
260
280
|
|
|
261
|
-
|
|
281
|
+
swapExactYtForScy(
|
|
262
282
|
receiver: string,
|
|
263
283
|
market: string,
|
|
264
284
|
exactYtIn: BigNumberish,
|
|
265
|
-
|
|
266
|
-
path: string[],
|
|
285
|
+
minScyOut: BigNumberish,
|
|
267
286
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
268
287
|
): Promise<ContractTransaction>;
|
|
269
288
|
|
|
270
|
-
|
|
289
|
+
swapExactYtForToken(
|
|
271
290
|
receiver: string,
|
|
272
291
|
market: string,
|
|
273
|
-
|
|
274
|
-
|
|
292
|
+
netYtIn: BigNumberish,
|
|
293
|
+
output: TokenOutputStruct,
|
|
275
294
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
276
295
|
): Promise<ContractTransaction>;
|
|
277
296
|
|
|
@@ -293,41 +312,39 @@ export interface ActionYT extends BaseContract {
|
|
|
293
312
|
): Promise<ContractTransaction>;
|
|
294
313
|
|
|
295
314
|
callStatic: {
|
|
296
|
-
|
|
315
|
+
kyberSwapRouter(overrides?: CallOverrides): Promise<string>;
|
|
297
316
|
|
|
298
|
-
|
|
317
|
+
swapExactScyForYt(
|
|
299
318
|
receiver: string,
|
|
300
319
|
market: string,
|
|
301
|
-
|
|
320
|
+
exactScyIn: BigNumberish,
|
|
302
321
|
minYtOut: BigNumberish,
|
|
303
|
-
path: string[],
|
|
304
322
|
guessYtOut: ApproxParamsStruct,
|
|
305
323
|
overrides?: CallOverrides
|
|
306
324
|
): Promise<BigNumber>;
|
|
307
325
|
|
|
308
|
-
|
|
326
|
+
swapExactTokenForYt(
|
|
309
327
|
receiver: string,
|
|
310
328
|
market: string,
|
|
311
|
-
exactScyIn: BigNumberish,
|
|
312
329
|
minYtOut: BigNumberish,
|
|
313
330
|
guessYtOut: ApproxParamsStruct,
|
|
331
|
+
input: TokenInputStruct,
|
|
314
332
|
overrides?: CallOverrides
|
|
315
333
|
): Promise<BigNumber>;
|
|
316
334
|
|
|
317
|
-
|
|
335
|
+
swapExactYtForScy(
|
|
318
336
|
receiver: string,
|
|
319
337
|
market: string,
|
|
320
338
|
exactYtIn: BigNumberish,
|
|
321
|
-
|
|
322
|
-
path: string[],
|
|
339
|
+
minScyOut: BigNumberish,
|
|
323
340
|
overrides?: CallOverrides
|
|
324
341
|
): Promise<BigNumber>;
|
|
325
342
|
|
|
326
|
-
|
|
343
|
+
swapExactYtForToken(
|
|
327
344
|
receiver: string,
|
|
328
345
|
market: string,
|
|
329
|
-
|
|
330
|
-
|
|
346
|
+
netYtIn: BigNumberish,
|
|
347
|
+
output: TokenOutputStruct,
|
|
331
348
|
overrides?: CallOverrides
|
|
332
349
|
): Promise<BigNumber>;
|
|
333
350
|
|
|
@@ -350,71 +367,69 @@ export interface ActionYT extends BaseContract {
|
|
|
350
367
|
};
|
|
351
368
|
|
|
352
369
|
filters: {
|
|
353
|
-
"
|
|
370
|
+
"SwapYTAndSCY(address,address,int256,int256)"(
|
|
354
371
|
user?: string | null,
|
|
355
372
|
market?: string | null,
|
|
356
|
-
rawToken?: string | null,
|
|
357
373
|
ytToAccount?: null,
|
|
358
|
-
|
|
359
|
-
):
|
|
360
|
-
|
|
374
|
+
scyToAccount?: null
|
|
375
|
+
): SwapYTAndSCYEventFilter;
|
|
376
|
+
SwapYTAndSCY(
|
|
361
377
|
user?: string | null,
|
|
362
378
|
market?: string | null,
|
|
363
|
-
rawToken?: string | null,
|
|
364
379
|
ytToAccount?: null,
|
|
365
|
-
|
|
366
|
-
):
|
|
380
|
+
scyToAccount?: null
|
|
381
|
+
): SwapYTAndSCYEventFilter;
|
|
367
382
|
|
|
368
|
-
"
|
|
383
|
+
"SwapYTAndToken(address,address,address,int256,int256)"(
|
|
369
384
|
user?: string | null,
|
|
370
385
|
market?: string | null,
|
|
386
|
+
token?: string | null,
|
|
371
387
|
ytToAccount?: null,
|
|
372
|
-
|
|
373
|
-
):
|
|
374
|
-
|
|
388
|
+
tokenToAccount?: null
|
|
389
|
+
): SwapYTAndTokenEventFilter;
|
|
390
|
+
SwapYTAndToken(
|
|
375
391
|
user?: string | null,
|
|
376
392
|
market?: string | null,
|
|
393
|
+
token?: string | null,
|
|
377
394
|
ytToAccount?: null,
|
|
378
|
-
|
|
379
|
-
):
|
|
395
|
+
tokenToAccount?: null
|
|
396
|
+
): SwapYTAndTokenEventFilter;
|
|
380
397
|
};
|
|
381
398
|
|
|
382
399
|
estimateGas: {
|
|
383
|
-
|
|
400
|
+
kyberSwapRouter(overrides?: CallOverrides): Promise<BigNumber>;
|
|
384
401
|
|
|
385
|
-
|
|
402
|
+
swapExactScyForYt(
|
|
386
403
|
receiver: string,
|
|
387
404
|
market: string,
|
|
388
|
-
|
|
405
|
+
exactScyIn: BigNumberish,
|
|
389
406
|
minYtOut: BigNumberish,
|
|
390
|
-
path: string[],
|
|
391
407
|
guessYtOut: ApproxParamsStruct,
|
|
392
408
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
393
409
|
): Promise<BigNumber>;
|
|
394
410
|
|
|
395
|
-
|
|
411
|
+
swapExactTokenForYt(
|
|
396
412
|
receiver: string,
|
|
397
413
|
market: string,
|
|
398
|
-
exactScyIn: BigNumberish,
|
|
399
414
|
minYtOut: BigNumberish,
|
|
400
415
|
guessYtOut: ApproxParamsStruct,
|
|
416
|
+
input: TokenInputStruct,
|
|
401
417
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
402
418
|
): Promise<BigNumber>;
|
|
403
419
|
|
|
404
|
-
|
|
420
|
+
swapExactYtForScy(
|
|
405
421
|
receiver: string,
|
|
406
422
|
market: string,
|
|
407
423
|
exactYtIn: BigNumberish,
|
|
408
|
-
|
|
409
|
-
path: string[],
|
|
424
|
+
minScyOut: BigNumberish,
|
|
410
425
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
411
426
|
): Promise<BigNumber>;
|
|
412
427
|
|
|
413
|
-
|
|
428
|
+
swapExactYtForToken(
|
|
414
429
|
receiver: string,
|
|
415
430
|
market: string,
|
|
416
|
-
|
|
417
|
-
|
|
431
|
+
netYtIn: BigNumberish,
|
|
432
|
+
output: TokenOutputStruct,
|
|
418
433
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
419
434
|
): Promise<BigNumber>;
|
|
420
435
|
|
|
@@ -437,41 +452,39 @@ export interface ActionYT extends BaseContract {
|
|
|
437
452
|
};
|
|
438
453
|
|
|
439
454
|
populateTransaction: {
|
|
440
|
-
|
|
455
|
+
kyberSwapRouter(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
441
456
|
|
|
442
|
-
|
|
457
|
+
swapExactScyForYt(
|
|
443
458
|
receiver: string,
|
|
444
459
|
market: string,
|
|
445
|
-
|
|
460
|
+
exactScyIn: BigNumberish,
|
|
446
461
|
minYtOut: BigNumberish,
|
|
447
|
-
path: string[],
|
|
448
462
|
guessYtOut: ApproxParamsStruct,
|
|
449
463
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
450
464
|
): Promise<PopulatedTransaction>;
|
|
451
465
|
|
|
452
|
-
|
|
466
|
+
swapExactTokenForYt(
|
|
453
467
|
receiver: string,
|
|
454
468
|
market: string,
|
|
455
|
-
exactScyIn: BigNumberish,
|
|
456
469
|
minYtOut: BigNumberish,
|
|
457
470
|
guessYtOut: ApproxParamsStruct,
|
|
471
|
+
input: TokenInputStruct,
|
|
458
472
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
459
473
|
): Promise<PopulatedTransaction>;
|
|
460
474
|
|
|
461
|
-
|
|
475
|
+
swapExactYtForScy(
|
|
462
476
|
receiver: string,
|
|
463
477
|
market: string,
|
|
464
478
|
exactYtIn: BigNumberish,
|
|
465
|
-
|
|
466
|
-
path: string[],
|
|
479
|
+
minScyOut: BigNumberish,
|
|
467
480
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
468
481
|
): Promise<PopulatedTransaction>;
|
|
469
482
|
|
|
470
|
-
|
|
483
|
+
swapExactYtForToken(
|
|
471
484
|
receiver: string,
|
|
472
485
|
market: string,
|
|
473
|
-
|
|
474
|
-
|
|
486
|
+
netYtIn: BigNumberish,
|
|
487
|
+
output: TokenOutputStruct,
|
|
475
488
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
476
489
|
): Promise<PopulatedTransaction>;
|
|
477
490
|
|