@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
|
@@ -31,7 +31,7 @@ const _abi = [
|
|
|
31
31
|
{
|
|
32
32
|
indexed: false,
|
|
33
33
|
internalType: "uint256",
|
|
34
|
-
name: "
|
|
34
|
+
name: "ibTokenUsed",
|
|
35
35
|
type: "uint256",
|
|
36
36
|
},
|
|
37
37
|
{
|
|
@@ -47,7 +47,7 @@ const _abi = [
|
|
|
47
47
|
type: "uint256",
|
|
48
48
|
},
|
|
49
49
|
],
|
|
50
|
-
name: "
|
|
50
|
+
name: "AddLiquidityDualIbTokenAndPt",
|
|
51
51
|
type: "event",
|
|
52
52
|
},
|
|
53
53
|
{
|
|
@@ -62,35 +62,35 @@ const _abi = [
|
|
|
62
62
|
{
|
|
63
63
|
indexed: true,
|
|
64
64
|
internalType: "address",
|
|
65
|
-
name: "
|
|
65
|
+
name: "market",
|
|
66
66
|
type: "address",
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
69
|
indexed: true,
|
|
70
70
|
internalType: "address",
|
|
71
|
-
name: "
|
|
71
|
+
name: "receiver",
|
|
72
72
|
type: "address",
|
|
73
73
|
},
|
|
74
74
|
{
|
|
75
75
|
indexed: false,
|
|
76
|
-
internalType: "
|
|
77
|
-
name: "
|
|
78
|
-
type: "
|
|
76
|
+
internalType: "uint256",
|
|
77
|
+
name: "scyUsed",
|
|
78
|
+
type: "uint256",
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
81
|
indexed: false,
|
|
82
82
|
internalType: "uint256",
|
|
83
|
-
name: "
|
|
83
|
+
name: "ptUsed",
|
|
84
84
|
type: "uint256",
|
|
85
85
|
},
|
|
86
86
|
{
|
|
87
87
|
indexed: false,
|
|
88
88
|
internalType: "uint256",
|
|
89
|
-
name: "
|
|
89
|
+
name: "lpOut",
|
|
90
90
|
type: "uint256",
|
|
91
91
|
},
|
|
92
92
|
],
|
|
93
|
-
name: "
|
|
93
|
+
name: "AddLiquidityDualScyAndPt",
|
|
94
94
|
type: "event",
|
|
95
95
|
},
|
|
96
96
|
{
|
|
@@ -148,29 +148,29 @@ const _abi = [
|
|
|
148
148
|
{
|
|
149
149
|
indexed: true,
|
|
150
150
|
internalType: "address",
|
|
151
|
-
name: "
|
|
151
|
+
name: "YT",
|
|
152
152
|
type: "address",
|
|
153
153
|
},
|
|
154
154
|
{
|
|
155
155
|
indexed: false,
|
|
156
156
|
internalType: "address",
|
|
157
|
-
name: "
|
|
157
|
+
name: "tokenIn",
|
|
158
158
|
type: "address",
|
|
159
159
|
},
|
|
160
160
|
{
|
|
161
161
|
indexed: false,
|
|
162
162
|
internalType: "uint256",
|
|
163
|
-
name: "
|
|
163
|
+
name: "netTokenIn",
|
|
164
164
|
type: "uint256",
|
|
165
165
|
},
|
|
166
166
|
{
|
|
167
167
|
indexed: false,
|
|
168
168
|
internalType: "uint256",
|
|
169
|
-
name: "
|
|
169
|
+
name: "netPyOut",
|
|
170
170
|
type: "uint256",
|
|
171
171
|
},
|
|
172
172
|
],
|
|
173
|
-
name: "
|
|
173
|
+
name: "MintPyFromToken",
|
|
174
174
|
type: "event",
|
|
175
175
|
},
|
|
176
176
|
{
|
|
@@ -191,29 +191,66 @@ const _abi = [
|
|
|
191
191
|
{
|
|
192
192
|
indexed: true,
|
|
193
193
|
internalType: "address",
|
|
194
|
-
name: "
|
|
194
|
+
name: "SCY",
|
|
195
|
+
type: "address",
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
indexed: false,
|
|
199
|
+
internalType: "address",
|
|
200
|
+
name: "tokenIn",
|
|
195
201
|
type: "address",
|
|
196
202
|
},
|
|
197
203
|
{
|
|
198
204
|
indexed: false,
|
|
199
205
|
internalType: "uint256",
|
|
200
|
-
name: "
|
|
206
|
+
name: "netTokenIn",
|
|
201
207
|
type: "uint256",
|
|
202
208
|
},
|
|
203
209
|
{
|
|
204
210
|
indexed: false,
|
|
211
|
+
internalType: "uint256",
|
|
212
|
+
name: "netScyOut",
|
|
213
|
+
type: "uint256",
|
|
214
|
+
},
|
|
215
|
+
],
|
|
216
|
+
name: "MintScyFromToken",
|
|
217
|
+
type: "event",
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
anonymous: false,
|
|
221
|
+
inputs: [
|
|
222
|
+
{
|
|
223
|
+
indexed: true,
|
|
205
224
|
internalType: "address",
|
|
206
|
-
name: "
|
|
225
|
+
name: "caller",
|
|
226
|
+
type: "address",
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
indexed: true,
|
|
230
|
+
internalType: "address",
|
|
231
|
+
name: "receiver",
|
|
207
232
|
type: "address",
|
|
208
233
|
},
|
|
234
|
+
{
|
|
235
|
+
indexed: true,
|
|
236
|
+
internalType: "address",
|
|
237
|
+
name: "YT",
|
|
238
|
+
type: "address",
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
indexed: false,
|
|
242
|
+
internalType: "uint256",
|
|
243
|
+
name: "netPyIn",
|
|
244
|
+
type: "uint256",
|
|
245
|
+
},
|
|
209
246
|
{
|
|
210
247
|
indexed: false,
|
|
211
248
|
internalType: "uint256",
|
|
212
|
-
name: "
|
|
249
|
+
name: "netScyOut",
|
|
213
250
|
type: "uint256",
|
|
214
251
|
},
|
|
215
252
|
],
|
|
216
|
-
name: "
|
|
253
|
+
name: "RedeemPyToScy",
|
|
217
254
|
type: "event",
|
|
218
255
|
},
|
|
219
256
|
{
|
|
@@ -243,14 +280,20 @@ const _abi = [
|
|
|
243
280
|
name: "netPyIn",
|
|
244
281
|
type: "uint256",
|
|
245
282
|
},
|
|
283
|
+
{
|
|
284
|
+
indexed: false,
|
|
285
|
+
internalType: "address",
|
|
286
|
+
name: "tokenOut",
|
|
287
|
+
type: "address",
|
|
288
|
+
},
|
|
246
289
|
{
|
|
247
290
|
indexed: false,
|
|
248
291
|
internalType: "uint256",
|
|
249
|
-
name: "
|
|
292
|
+
name: "netTokenOut",
|
|
250
293
|
type: "uint256",
|
|
251
294
|
},
|
|
252
295
|
],
|
|
253
|
-
name: "
|
|
296
|
+
name: "RedeemPyToToken",
|
|
254
297
|
type: "event",
|
|
255
298
|
},
|
|
256
299
|
{
|
|
@@ -283,17 +326,17 @@ const _abi = [
|
|
|
283
326
|
{
|
|
284
327
|
indexed: false,
|
|
285
328
|
internalType: "address",
|
|
286
|
-
name: "
|
|
329
|
+
name: "tokenOut",
|
|
287
330
|
type: "address",
|
|
288
331
|
},
|
|
289
332
|
{
|
|
290
333
|
indexed: false,
|
|
291
334
|
internalType: "uint256",
|
|
292
|
-
name: "
|
|
335
|
+
name: "netTokenOut",
|
|
293
336
|
type: "uint256",
|
|
294
337
|
},
|
|
295
338
|
],
|
|
296
|
-
name: "
|
|
339
|
+
name: "RedeemScyToToken",
|
|
297
340
|
type: "event",
|
|
298
341
|
},
|
|
299
342
|
{
|
|
@@ -332,11 +375,11 @@ const _abi = [
|
|
|
332
375
|
{
|
|
333
376
|
indexed: false,
|
|
334
377
|
internalType: "uint256",
|
|
335
|
-
name: "
|
|
378
|
+
name: "amountIbTokenOut",
|
|
336
379
|
type: "uint256",
|
|
337
380
|
},
|
|
338
381
|
],
|
|
339
|
-
name: "
|
|
382
|
+
name: "RemoveLiquidityDualIbTokenAndPt",
|
|
340
383
|
type: "event",
|
|
341
384
|
},
|
|
342
385
|
{
|
|
@@ -355,13 +398,50 @@ const _abi = [
|
|
|
355
398
|
type: "address",
|
|
356
399
|
},
|
|
357
400
|
{
|
|
358
|
-
indexed:
|
|
401
|
+
indexed: false,
|
|
359
402
|
internalType: "address",
|
|
360
|
-
name: "
|
|
403
|
+
name: "receiver",
|
|
361
404
|
type: "address",
|
|
362
405
|
},
|
|
363
406
|
{
|
|
364
407
|
indexed: false,
|
|
408
|
+
internalType: "uint256",
|
|
409
|
+
name: "lpIn",
|
|
410
|
+
type: "uint256",
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
indexed: false,
|
|
414
|
+
internalType: "uint256",
|
|
415
|
+
name: "amountPTOut",
|
|
416
|
+
type: "uint256",
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
indexed: false,
|
|
420
|
+
internalType: "uint256",
|
|
421
|
+
name: "amountSCYOut",
|
|
422
|
+
type: "uint256",
|
|
423
|
+
},
|
|
424
|
+
],
|
|
425
|
+
name: "RemoveLiquidityDualScyAndPt",
|
|
426
|
+
type: "event",
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
anonymous: false,
|
|
430
|
+
inputs: [
|
|
431
|
+
{
|
|
432
|
+
indexed: true,
|
|
433
|
+
internalType: "address",
|
|
434
|
+
name: "caller",
|
|
435
|
+
type: "address",
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
indexed: true,
|
|
439
|
+
internalType: "address",
|
|
440
|
+
name: "market",
|
|
441
|
+
type: "address",
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
indexed: true,
|
|
365
445
|
internalType: "address",
|
|
366
446
|
name: "receiver",
|
|
367
447
|
type: "address",
|
|
@@ -375,11 +455,11 @@ const _abi = [
|
|
|
375
455
|
{
|
|
376
456
|
indexed: false,
|
|
377
457
|
internalType: "int256",
|
|
378
|
-
name: "
|
|
458
|
+
name: "amountScyToAccount",
|
|
379
459
|
type: "int256",
|
|
380
460
|
},
|
|
381
461
|
],
|
|
382
|
-
name: "
|
|
462
|
+
name: "SwapPtAndScy",
|
|
383
463
|
type: "event",
|
|
384
464
|
},
|
|
385
465
|
{
|
|
@@ -400,6 +480,12 @@ const _abi = [
|
|
|
400
480
|
{
|
|
401
481
|
indexed: true,
|
|
402
482
|
internalType: "address",
|
|
483
|
+
name: "token",
|
|
484
|
+
type: "address",
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
indexed: false,
|
|
488
|
+
internalType: "address",
|
|
403
489
|
name: "receiver",
|
|
404
490
|
type: "address",
|
|
405
491
|
},
|
|
@@ -412,13 +498,62 @@ const _abi = [
|
|
|
412
498
|
{
|
|
413
499
|
indexed: false,
|
|
414
500
|
internalType: "int256",
|
|
415
|
-
name: "
|
|
501
|
+
name: "amountTokenToAccount",
|
|
416
502
|
type: "int256",
|
|
417
503
|
},
|
|
418
504
|
],
|
|
419
|
-
name: "
|
|
505
|
+
name: "SwapPtAndToken",
|
|
420
506
|
type: "event",
|
|
421
507
|
},
|
|
508
|
+
{
|
|
509
|
+
inputs: [
|
|
510
|
+
{
|
|
511
|
+
internalType: "address",
|
|
512
|
+
name: "receiver",
|
|
513
|
+
type: "address",
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
internalType: "address",
|
|
517
|
+
name: "market",
|
|
518
|
+
type: "address",
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
internalType: "uint256",
|
|
522
|
+
name: "ibTokenDesired",
|
|
523
|
+
type: "uint256",
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
internalType: "uint256",
|
|
527
|
+
name: "ptDesired",
|
|
528
|
+
type: "uint256",
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
internalType: "uint256",
|
|
532
|
+
name: "minLpOut",
|
|
533
|
+
type: "uint256",
|
|
534
|
+
},
|
|
535
|
+
],
|
|
536
|
+
name: "addLiquidityDualIbTokenAndPt",
|
|
537
|
+
outputs: [
|
|
538
|
+
{
|
|
539
|
+
internalType: "uint256",
|
|
540
|
+
name: "netLpOut",
|
|
541
|
+
type: "uint256",
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
internalType: "uint256",
|
|
545
|
+
name: "ibTokenUsed",
|
|
546
|
+
type: "uint256",
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
internalType: "uint256",
|
|
550
|
+
name: "ptUsed",
|
|
551
|
+
type: "uint256",
|
|
552
|
+
},
|
|
553
|
+
],
|
|
554
|
+
stateMutability: "nonpayable",
|
|
555
|
+
type: "function",
|
|
556
|
+
},
|
|
422
557
|
{
|
|
423
558
|
inputs: [
|
|
424
559
|
{
|
|
@@ -447,7 +582,7 @@ const _abi = [
|
|
|
447
582
|
type: "uint256",
|
|
448
583
|
},
|
|
449
584
|
],
|
|
450
|
-
name: "
|
|
585
|
+
name: "addLiquidityDualScyAndPt",
|
|
451
586
|
outputs: [
|
|
452
587
|
{
|
|
453
588
|
internalType: "uint256",
|
|
@@ -548,7 +683,7 @@ const _abi = [
|
|
|
548
683
|
},
|
|
549
684
|
{
|
|
550
685
|
internalType: "uint256",
|
|
551
|
-
name: "
|
|
686
|
+
name: "netScyIn",
|
|
552
687
|
type: "uint256",
|
|
553
688
|
},
|
|
554
689
|
{
|
|
@@ -556,11 +691,6 @@ const _abi = [
|
|
|
556
691
|
name: "minLpOut",
|
|
557
692
|
type: "uint256",
|
|
558
693
|
},
|
|
559
|
-
{
|
|
560
|
-
internalType: "address[]",
|
|
561
|
-
name: "path",
|
|
562
|
-
type: "address[]",
|
|
563
|
-
},
|
|
564
694
|
{
|
|
565
695
|
components: [
|
|
566
696
|
{
|
|
@@ -594,7 +724,7 @@ const _abi = [
|
|
|
594
724
|
type: "tuple",
|
|
595
725
|
},
|
|
596
726
|
],
|
|
597
|
-
name: "
|
|
727
|
+
name: "addLiquiditySingleScy",
|
|
598
728
|
outputs: [
|
|
599
729
|
{
|
|
600
730
|
internalType: "uint256",
|
|
@@ -617,11 +747,6 @@ const _abi = [
|
|
|
617
747
|
name: "market",
|
|
618
748
|
type: "address",
|
|
619
749
|
},
|
|
620
|
-
{
|
|
621
|
-
internalType: "uint256",
|
|
622
|
-
name: "netScyIn",
|
|
623
|
-
type: "uint256",
|
|
624
|
-
},
|
|
625
750
|
{
|
|
626
751
|
internalType: "uint256",
|
|
627
752
|
name: "minLpOut",
|
|
@@ -659,8 +784,35 @@ const _abi = [
|
|
|
659
784
|
name: "guessPtReceivedFromScy",
|
|
660
785
|
type: "tuple",
|
|
661
786
|
},
|
|
787
|
+
{
|
|
788
|
+
components: [
|
|
789
|
+
{
|
|
790
|
+
internalType: "address",
|
|
791
|
+
name: "tokenIn",
|
|
792
|
+
type: "address",
|
|
793
|
+
},
|
|
794
|
+
{
|
|
795
|
+
internalType: "uint256",
|
|
796
|
+
name: "netTokenIn",
|
|
797
|
+
type: "uint256",
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
internalType: "address",
|
|
801
|
+
name: "tokenMintScy",
|
|
802
|
+
type: "address",
|
|
803
|
+
},
|
|
804
|
+
{
|
|
805
|
+
internalType: "bytes",
|
|
806
|
+
name: "kybercall",
|
|
807
|
+
type: "bytes",
|
|
808
|
+
},
|
|
809
|
+
],
|
|
810
|
+
internalType: "struct TokenInput",
|
|
811
|
+
name: "input",
|
|
812
|
+
type: "tuple",
|
|
813
|
+
},
|
|
662
814
|
],
|
|
663
|
-
name: "
|
|
815
|
+
name: "addLiquiditySingleToken",
|
|
664
816
|
outputs: [
|
|
665
817
|
{
|
|
666
818
|
internalType: "uint256",
|
|
@@ -685,7 +837,7 @@ const _abi = [
|
|
|
685
837
|
},
|
|
686
838
|
{
|
|
687
839
|
internalType: "uint256",
|
|
688
|
-
name: "
|
|
840
|
+
name: "netScyIn",
|
|
689
841
|
type: "uint256",
|
|
690
842
|
},
|
|
691
843
|
{
|
|
@@ -693,13 +845,8 @@ const _abi = [
|
|
|
693
845
|
name: "minPyOut",
|
|
694
846
|
type: "uint256",
|
|
695
847
|
},
|
|
696
|
-
{
|
|
697
|
-
internalType: "address[]",
|
|
698
|
-
name: "path",
|
|
699
|
-
type: "address[]",
|
|
700
|
-
},
|
|
701
848
|
],
|
|
702
|
-
name: "
|
|
849
|
+
name: "mintPyFromScy",
|
|
703
850
|
outputs: [
|
|
704
851
|
{
|
|
705
852
|
internalType: "uint256",
|
|
@@ -724,16 +871,38 @@ const _abi = [
|
|
|
724
871
|
},
|
|
725
872
|
{
|
|
726
873
|
internalType: "uint256",
|
|
727
|
-
name: "
|
|
874
|
+
name: "minPyOut",
|
|
728
875
|
type: "uint256",
|
|
729
876
|
},
|
|
730
877
|
{
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
878
|
+
components: [
|
|
879
|
+
{
|
|
880
|
+
internalType: "address",
|
|
881
|
+
name: "tokenIn",
|
|
882
|
+
type: "address",
|
|
883
|
+
},
|
|
884
|
+
{
|
|
885
|
+
internalType: "uint256",
|
|
886
|
+
name: "netTokenIn",
|
|
887
|
+
type: "uint256",
|
|
888
|
+
},
|
|
889
|
+
{
|
|
890
|
+
internalType: "address",
|
|
891
|
+
name: "tokenMintScy",
|
|
892
|
+
type: "address",
|
|
893
|
+
},
|
|
894
|
+
{
|
|
895
|
+
internalType: "bytes",
|
|
896
|
+
name: "kybercall",
|
|
897
|
+
type: "bytes",
|
|
898
|
+
},
|
|
899
|
+
],
|
|
900
|
+
internalType: "struct TokenInput",
|
|
901
|
+
name: "input",
|
|
902
|
+
type: "tuple",
|
|
734
903
|
},
|
|
735
904
|
],
|
|
736
|
-
name: "
|
|
905
|
+
name: "mintPyFromToken",
|
|
737
906
|
outputs: [
|
|
738
907
|
{
|
|
739
908
|
internalType: "uint256",
|
|
@@ -756,23 +925,40 @@ const _abi = [
|
|
|
756
925
|
name: "SCY",
|
|
757
926
|
type: "address",
|
|
758
927
|
},
|
|
759
|
-
{
|
|
760
|
-
internalType: "uint256",
|
|
761
|
-
name: "netRawTokenIn",
|
|
762
|
-
type: "uint256",
|
|
763
|
-
},
|
|
764
928
|
{
|
|
765
929
|
internalType: "uint256",
|
|
766
930
|
name: "minScyOut",
|
|
767
931
|
type: "uint256",
|
|
768
932
|
},
|
|
769
933
|
{
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
934
|
+
components: [
|
|
935
|
+
{
|
|
936
|
+
internalType: "address",
|
|
937
|
+
name: "tokenIn",
|
|
938
|
+
type: "address",
|
|
939
|
+
},
|
|
940
|
+
{
|
|
941
|
+
internalType: "uint256",
|
|
942
|
+
name: "netTokenIn",
|
|
943
|
+
type: "uint256",
|
|
944
|
+
},
|
|
945
|
+
{
|
|
946
|
+
internalType: "address",
|
|
947
|
+
name: "tokenMintScy",
|
|
948
|
+
type: "address",
|
|
949
|
+
},
|
|
950
|
+
{
|
|
951
|
+
internalType: "bytes",
|
|
952
|
+
name: "kybercall",
|
|
953
|
+
type: "bytes",
|
|
954
|
+
},
|
|
955
|
+
],
|
|
956
|
+
internalType: "struct TokenInput",
|
|
957
|
+
name: "input",
|
|
958
|
+
type: "tuple",
|
|
773
959
|
},
|
|
774
960
|
],
|
|
775
|
-
name: "
|
|
961
|
+
name: "mintScyFromToken",
|
|
776
962
|
outputs: [
|
|
777
963
|
{
|
|
778
964
|
internalType: "uint256",
|
|
@@ -851,20 +1037,15 @@ const _abi = [
|
|
|
851
1037
|
},
|
|
852
1038
|
{
|
|
853
1039
|
internalType: "uint256",
|
|
854
|
-
name: "
|
|
1040
|
+
name: "minScyOut",
|
|
855
1041
|
type: "uint256",
|
|
856
1042
|
},
|
|
857
|
-
{
|
|
858
|
-
internalType: "address[]",
|
|
859
|
-
name: "path",
|
|
860
|
-
type: "address[]",
|
|
861
|
-
},
|
|
862
1043
|
],
|
|
863
|
-
name: "
|
|
1044
|
+
name: "redeemPyToScy",
|
|
864
1045
|
outputs: [
|
|
865
1046
|
{
|
|
866
1047
|
internalType: "uint256",
|
|
867
|
-
name: "
|
|
1048
|
+
name: "netScyOut",
|
|
868
1049
|
type: "uint256",
|
|
869
1050
|
},
|
|
870
1051
|
],
|
|
@@ -889,16 +1070,38 @@ const _abi = [
|
|
|
889
1070
|
type: "uint256",
|
|
890
1071
|
},
|
|
891
1072
|
{
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
1073
|
+
components: [
|
|
1074
|
+
{
|
|
1075
|
+
internalType: "address",
|
|
1076
|
+
name: "tokenOut",
|
|
1077
|
+
type: "address",
|
|
1078
|
+
},
|
|
1079
|
+
{
|
|
1080
|
+
internalType: "uint256",
|
|
1081
|
+
name: "minTokenOut",
|
|
1082
|
+
type: "uint256",
|
|
1083
|
+
},
|
|
1084
|
+
{
|
|
1085
|
+
internalType: "address",
|
|
1086
|
+
name: "tokenRedeemScy",
|
|
1087
|
+
type: "address",
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
internalType: "bytes",
|
|
1091
|
+
name: "kybercall",
|
|
1092
|
+
type: "bytes",
|
|
1093
|
+
},
|
|
1094
|
+
],
|
|
1095
|
+
internalType: "struct TokenOutput",
|
|
1096
|
+
name: "output",
|
|
1097
|
+
type: "tuple",
|
|
895
1098
|
},
|
|
896
1099
|
],
|
|
897
|
-
name: "
|
|
1100
|
+
name: "redeemPyToToken",
|
|
898
1101
|
outputs: [
|
|
899
1102
|
{
|
|
900
1103
|
internalType: "uint256",
|
|
901
|
-
name: "
|
|
1104
|
+
name: "netTokenOut",
|
|
902
1105
|
type: "uint256",
|
|
903
1106
|
},
|
|
904
1107
|
],
|
|
@@ -922,22 +1125,83 @@ const _abi = [
|
|
|
922
1125
|
name: "netScyIn",
|
|
923
1126
|
type: "uint256",
|
|
924
1127
|
},
|
|
1128
|
+
{
|
|
1129
|
+
components: [
|
|
1130
|
+
{
|
|
1131
|
+
internalType: "address",
|
|
1132
|
+
name: "tokenOut",
|
|
1133
|
+
type: "address",
|
|
1134
|
+
},
|
|
1135
|
+
{
|
|
1136
|
+
internalType: "uint256",
|
|
1137
|
+
name: "minTokenOut",
|
|
1138
|
+
type: "uint256",
|
|
1139
|
+
},
|
|
1140
|
+
{
|
|
1141
|
+
internalType: "address",
|
|
1142
|
+
name: "tokenRedeemScy",
|
|
1143
|
+
type: "address",
|
|
1144
|
+
},
|
|
1145
|
+
{
|
|
1146
|
+
internalType: "bytes",
|
|
1147
|
+
name: "kybercall",
|
|
1148
|
+
type: "bytes",
|
|
1149
|
+
},
|
|
1150
|
+
],
|
|
1151
|
+
internalType: "struct TokenOutput",
|
|
1152
|
+
name: "output",
|
|
1153
|
+
type: "tuple",
|
|
1154
|
+
},
|
|
1155
|
+
],
|
|
1156
|
+
name: "redeemScyToToken",
|
|
1157
|
+
outputs: [
|
|
925
1158
|
{
|
|
926
1159
|
internalType: "uint256",
|
|
927
|
-
name: "
|
|
1160
|
+
name: "netTokenOut",
|
|
928
1161
|
type: "uint256",
|
|
929
1162
|
},
|
|
1163
|
+
],
|
|
1164
|
+
stateMutability: "nonpayable",
|
|
1165
|
+
type: "function",
|
|
1166
|
+
},
|
|
1167
|
+
{
|
|
1168
|
+
inputs: [
|
|
1169
|
+
{
|
|
1170
|
+
internalType: "address",
|
|
1171
|
+
name: "receiver",
|
|
1172
|
+
type: "address",
|
|
1173
|
+
},
|
|
930
1174
|
{
|
|
931
|
-
internalType: "address
|
|
932
|
-
name: "
|
|
933
|
-
type: "address
|
|
1175
|
+
internalType: "address",
|
|
1176
|
+
name: "market",
|
|
1177
|
+
type: "address",
|
|
1178
|
+
},
|
|
1179
|
+
{
|
|
1180
|
+
internalType: "uint256",
|
|
1181
|
+
name: "lpToRemove",
|
|
1182
|
+
type: "uint256",
|
|
1183
|
+
},
|
|
1184
|
+
{
|
|
1185
|
+
internalType: "uint256",
|
|
1186
|
+
name: "ibTokenMin",
|
|
1187
|
+
type: "uint256",
|
|
1188
|
+
},
|
|
1189
|
+
{
|
|
1190
|
+
internalType: "uint256",
|
|
1191
|
+
name: "ptOutMin",
|
|
1192
|
+
type: "uint256",
|
|
934
1193
|
},
|
|
935
1194
|
],
|
|
936
|
-
name: "
|
|
1195
|
+
name: "removeLiquidityDualIbTokenAndPt",
|
|
937
1196
|
outputs: [
|
|
938
1197
|
{
|
|
939
1198
|
internalType: "uint256",
|
|
940
|
-
name: "
|
|
1199
|
+
name: "netIbTokenOut",
|
|
1200
|
+
type: "uint256",
|
|
1201
|
+
},
|
|
1202
|
+
{
|
|
1203
|
+
internalType: "uint256",
|
|
1204
|
+
name: "netPtOut",
|
|
941
1205
|
type: "uint256",
|
|
942
1206
|
},
|
|
943
1207
|
],
|
|
@@ -972,7 +1236,7 @@ const _abi = [
|
|
|
972
1236
|
type: "uint256",
|
|
973
1237
|
},
|
|
974
1238
|
],
|
|
975
|
-
name: "
|
|
1239
|
+
name: "removeLiquidityDualScyAndPt",
|
|
976
1240
|
outputs: [
|
|
977
1241
|
{
|
|
978
1242
|
internalType: "uint256",
|
|
@@ -1073,20 +1337,15 @@ const _abi = [
|
|
|
1073
1337
|
},
|
|
1074
1338
|
{
|
|
1075
1339
|
internalType: "uint256",
|
|
1076
|
-
name: "
|
|
1340
|
+
name: "minScyOut",
|
|
1077
1341
|
type: "uint256",
|
|
1078
1342
|
},
|
|
1079
|
-
{
|
|
1080
|
-
internalType: "address[]",
|
|
1081
|
-
name: "path",
|
|
1082
|
-
type: "address[]",
|
|
1083
|
-
},
|
|
1084
1343
|
],
|
|
1085
|
-
name: "
|
|
1344
|
+
name: "removeLiquiditySingleScy",
|
|
1086
1345
|
outputs: [
|
|
1087
1346
|
{
|
|
1088
1347
|
internalType: "uint256",
|
|
1089
|
-
name: "
|
|
1348
|
+
name: "netScyOut",
|
|
1090
1349
|
type: "uint256",
|
|
1091
1350
|
},
|
|
1092
1351
|
],
|
|
@@ -1111,16 +1370,38 @@ const _abi = [
|
|
|
1111
1370
|
type: "uint256",
|
|
1112
1371
|
},
|
|
1113
1372
|
{
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1373
|
+
components: [
|
|
1374
|
+
{
|
|
1375
|
+
internalType: "address",
|
|
1376
|
+
name: "tokenOut",
|
|
1377
|
+
type: "address",
|
|
1378
|
+
},
|
|
1379
|
+
{
|
|
1380
|
+
internalType: "uint256",
|
|
1381
|
+
name: "minTokenOut",
|
|
1382
|
+
type: "uint256",
|
|
1383
|
+
},
|
|
1384
|
+
{
|
|
1385
|
+
internalType: "address",
|
|
1386
|
+
name: "tokenRedeemScy",
|
|
1387
|
+
type: "address",
|
|
1388
|
+
},
|
|
1389
|
+
{
|
|
1390
|
+
internalType: "bytes",
|
|
1391
|
+
name: "kybercall",
|
|
1392
|
+
type: "bytes",
|
|
1393
|
+
},
|
|
1394
|
+
],
|
|
1395
|
+
internalType: "struct TokenOutput",
|
|
1396
|
+
name: "output",
|
|
1397
|
+
type: "tuple",
|
|
1117
1398
|
},
|
|
1118
1399
|
],
|
|
1119
|
-
name: "
|
|
1400
|
+
name: "removeLiquiditySingleToken",
|
|
1120
1401
|
outputs: [
|
|
1121
1402
|
{
|
|
1122
1403
|
internalType: "uint256",
|
|
1123
|
-
name: "
|
|
1404
|
+
name: "netTokenOut",
|
|
1124
1405
|
type: "uint256",
|
|
1125
1406
|
},
|
|
1126
1407
|
],
|
|
@@ -1146,20 +1427,15 @@ const _abi = [
|
|
|
1146
1427
|
},
|
|
1147
1428
|
{
|
|
1148
1429
|
internalType: "uint256",
|
|
1149
|
-
name: "
|
|
1430
|
+
name: "minScyOut",
|
|
1150
1431
|
type: "uint256",
|
|
1151
1432
|
},
|
|
1152
|
-
{
|
|
1153
|
-
internalType: "address[]",
|
|
1154
|
-
name: "path",
|
|
1155
|
-
type: "address[]",
|
|
1156
|
-
},
|
|
1157
1433
|
],
|
|
1158
|
-
name: "
|
|
1434
|
+
name: "swapExactPtForScy",
|
|
1159
1435
|
outputs: [
|
|
1160
1436
|
{
|
|
1161
1437
|
internalType: "uint256",
|
|
1162
|
-
name: "
|
|
1438
|
+
name: "netScyOut",
|
|
1163
1439
|
type: "uint256",
|
|
1164
1440
|
},
|
|
1165
1441
|
],
|
|
@@ -1184,16 +1460,38 @@ const _abi = [
|
|
|
1184
1460
|
type: "uint256",
|
|
1185
1461
|
},
|
|
1186
1462
|
{
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1463
|
+
components: [
|
|
1464
|
+
{
|
|
1465
|
+
internalType: "address",
|
|
1466
|
+
name: "tokenOut",
|
|
1467
|
+
type: "address",
|
|
1468
|
+
},
|
|
1469
|
+
{
|
|
1470
|
+
internalType: "uint256",
|
|
1471
|
+
name: "minTokenOut",
|
|
1472
|
+
type: "uint256",
|
|
1473
|
+
},
|
|
1474
|
+
{
|
|
1475
|
+
internalType: "address",
|
|
1476
|
+
name: "tokenRedeemScy",
|
|
1477
|
+
type: "address",
|
|
1478
|
+
},
|
|
1479
|
+
{
|
|
1480
|
+
internalType: "bytes",
|
|
1481
|
+
name: "kybercall",
|
|
1482
|
+
type: "bytes",
|
|
1483
|
+
},
|
|
1484
|
+
],
|
|
1485
|
+
internalType: "struct TokenOutput",
|
|
1486
|
+
name: "output",
|
|
1487
|
+
type: "tuple",
|
|
1190
1488
|
},
|
|
1191
1489
|
],
|
|
1192
|
-
name: "
|
|
1490
|
+
name: "swapExactPtForToken",
|
|
1193
1491
|
outputs: [
|
|
1194
1492
|
{
|
|
1195
1493
|
internalType: "uint256",
|
|
1196
|
-
name: "
|
|
1494
|
+
name: "netTokenOut",
|
|
1197
1495
|
type: "uint256",
|
|
1198
1496
|
},
|
|
1199
1497
|
],
|
|
@@ -1214,7 +1512,7 @@ const _abi = [
|
|
|
1214
1512
|
},
|
|
1215
1513
|
{
|
|
1216
1514
|
internalType: "uint256",
|
|
1217
|
-
name: "
|
|
1515
|
+
name: "exactScyIn",
|
|
1218
1516
|
type: "uint256",
|
|
1219
1517
|
},
|
|
1220
1518
|
{
|
|
@@ -1222,11 +1520,6 @@ const _abi = [
|
|
|
1222
1520
|
name: "minPtOut",
|
|
1223
1521
|
type: "uint256",
|
|
1224
1522
|
},
|
|
1225
|
-
{
|
|
1226
|
-
internalType: "address[]",
|
|
1227
|
-
name: "path",
|
|
1228
|
-
type: "address[]",
|
|
1229
|
-
},
|
|
1230
1523
|
{
|
|
1231
1524
|
components: [
|
|
1232
1525
|
{
|
|
@@ -1260,7 +1553,7 @@ const _abi = [
|
|
|
1260
1553
|
type: "tuple",
|
|
1261
1554
|
},
|
|
1262
1555
|
],
|
|
1263
|
-
name: "
|
|
1556
|
+
name: "swapExactScyForPt",
|
|
1264
1557
|
outputs: [
|
|
1265
1558
|
{
|
|
1266
1559
|
internalType: "uint256",
|
|
@@ -1283,11 +1576,6 @@ const _abi = [
|
|
|
1283
1576
|
name: "market",
|
|
1284
1577
|
type: "address",
|
|
1285
1578
|
},
|
|
1286
|
-
{
|
|
1287
|
-
internalType: "uint256",
|
|
1288
|
-
name: "exactScyIn",
|
|
1289
|
-
type: "uint256",
|
|
1290
|
-
},
|
|
1291
1579
|
{
|
|
1292
1580
|
internalType: "uint256",
|
|
1293
1581
|
name: "minPtOut",
|
|
@@ -1325,8 +1613,35 @@ const _abi = [
|
|
|
1325
1613
|
name: "guessPtOut",
|
|
1326
1614
|
type: "tuple",
|
|
1327
1615
|
},
|
|
1616
|
+
{
|
|
1617
|
+
components: [
|
|
1618
|
+
{
|
|
1619
|
+
internalType: "address",
|
|
1620
|
+
name: "tokenIn",
|
|
1621
|
+
type: "address",
|
|
1622
|
+
},
|
|
1623
|
+
{
|
|
1624
|
+
internalType: "uint256",
|
|
1625
|
+
name: "netTokenIn",
|
|
1626
|
+
type: "uint256",
|
|
1627
|
+
},
|
|
1628
|
+
{
|
|
1629
|
+
internalType: "address",
|
|
1630
|
+
name: "tokenMintScy",
|
|
1631
|
+
type: "address",
|
|
1632
|
+
},
|
|
1633
|
+
{
|
|
1634
|
+
internalType: "bytes",
|
|
1635
|
+
name: "kybercall",
|
|
1636
|
+
type: "bytes",
|
|
1637
|
+
},
|
|
1638
|
+
],
|
|
1639
|
+
internalType: "struct TokenInput",
|
|
1640
|
+
name: "input",
|
|
1641
|
+
type: "tuple",
|
|
1642
|
+
},
|
|
1328
1643
|
],
|
|
1329
|
-
name: "
|
|
1644
|
+
name: "swapExactTokenForPt",
|
|
1330
1645
|
outputs: [
|
|
1331
1646
|
{
|
|
1332
1647
|
internalType: "uint256",
|