@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
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
{
|
|
28
28
|
"indexed": false,
|
|
29
29
|
"internalType": "uint256",
|
|
30
|
-
"name": "
|
|
30
|
+
"name": "ibTokenUsed",
|
|
31
31
|
"type": "uint256"
|
|
32
32
|
},
|
|
33
33
|
{
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"type": "uint256"
|
|
44
44
|
}
|
|
45
45
|
],
|
|
46
|
-
"name": "
|
|
46
|
+
"name": "AddLiquidityDualIbTokenAndPt",
|
|
47
47
|
"type": "event"
|
|
48
48
|
},
|
|
49
49
|
{
|
|
@@ -58,35 +58,35 @@
|
|
|
58
58
|
{
|
|
59
59
|
"indexed": true,
|
|
60
60
|
"internalType": "address",
|
|
61
|
-
"name": "
|
|
61
|
+
"name": "market",
|
|
62
62
|
"type": "address"
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
65
|
"indexed": true,
|
|
66
66
|
"internalType": "address",
|
|
67
|
-
"name": "
|
|
67
|
+
"name": "receiver",
|
|
68
68
|
"type": "address"
|
|
69
69
|
},
|
|
70
70
|
{
|
|
71
71
|
"indexed": false,
|
|
72
|
-
"internalType": "
|
|
73
|
-
"name": "
|
|
74
|
-
"type": "
|
|
72
|
+
"internalType": "uint256",
|
|
73
|
+
"name": "scyUsed",
|
|
74
|
+
"type": "uint256"
|
|
75
75
|
},
|
|
76
76
|
{
|
|
77
77
|
"indexed": false,
|
|
78
78
|
"internalType": "uint256",
|
|
79
|
-
"name": "
|
|
79
|
+
"name": "ptUsed",
|
|
80
80
|
"type": "uint256"
|
|
81
81
|
},
|
|
82
82
|
{
|
|
83
83
|
"indexed": false,
|
|
84
84
|
"internalType": "uint256",
|
|
85
|
-
"name": "
|
|
85
|
+
"name": "lpOut",
|
|
86
86
|
"type": "uint256"
|
|
87
87
|
}
|
|
88
88
|
],
|
|
89
|
-
"name": "
|
|
89
|
+
"name": "AddLiquidityDualScyAndPt",
|
|
90
90
|
"type": "event"
|
|
91
91
|
},
|
|
92
92
|
{
|
|
@@ -144,29 +144,29 @@
|
|
|
144
144
|
{
|
|
145
145
|
"indexed": true,
|
|
146
146
|
"internalType": "address",
|
|
147
|
-
"name": "
|
|
147
|
+
"name": "YT",
|
|
148
148
|
"type": "address"
|
|
149
149
|
},
|
|
150
150
|
{
|
|
151
151
|
"indexed": false,
|
|
152
152
|
"internalType": "address",
|
|
153
|
-
"name": "
|
|
153
|
+
"name": "tokenIn",
|
|
154
154
|
"type": "address"
|
|
155
155
|
},
|
|
156
156
|
{
|
|
157
157
|
"indexed": false,
|
|
158
158
|
"internalType": "uint256",
|
|
159
|
-
"name": "
|
|
159
|
+
"name": "netTokenIn",
|
|
160
160
|
"type": "uint256"
|
|
161
161
|
},
|
|
162
162
|
{
|
|
163
163
|
"indexed": false,
|
|
164
164
|
"internalType": "uint256",
|
|
165
|
-
"name": "
|
|
165
|
+
"name": "netPyOut",
|
|
166
166
|
"type": "uint256"
|
|
167
167
|
}
|
|
168
168
|
],
|
|
169
|
-
"name": "
|
|
169
|
+
"name": "MintPyFromToken",
|
|
170
170
|
"type": "event"
|
|
171
171
|
},
|
|
172
172
|
{
|
|
@@ -187,29 +187,66 @@
|
|
|
187
187
|
{
|
|
188
188
|
"indexed": true,
|
|
189
189
|
"internalType": "address",
|
|
190
|
-
"name": "
|
|
190
|
+
"name": "SCY",
|
|
191
|
+
"type": "address"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"indexed": false,
|
|
195
|
+
"internalType": "address",
|
|
196
|
+
"name": "tokenIn",
|
|
191
197
|
"type": "address"
|
|
192
198
|
},
|
|
193
199
|
{
|
|
194
200
|
"indexed": false,
|
|
195
201
|
"internalType": "uint256",
|
|
196
|
-
"name": "
|
|
202
|
+
"name": "netTokenIn",
|
|
197
203
|
"type": "uint256"
|
|
198
204
|
},
|
|
199
205
|
{
|
|
200
206
|
"indexed": false,
|
|
207
|
+
"internalType": "uint256",
|
|
208
|
+
"name": "netScyOut",
|
|
209
|
+
"type": "uint256"
|
|
210
|
+
}
|
|
211
|
+
],
|
|
212
|
+
"name": "MintScyFromToken",
|
|
213
|
+
"type": "event"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"anonymous": false,
|
|
217
|
+
"inputs": [
|
|
218
|
+
{
|
|
219
|
+
"indexed": true,
|
|
220
|
+
"internalType": "address",
|
|
221
|
+
"name": "caller",
|
|
222
|
+
"type": "address"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"indexed": true,
|
|
201
226
|
"internalType": "address",
|
|
202
|
-
"name": "
|
|
227
|
+
"name": "receiver",
|
|
228
|
+
"type": "address"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"indexed": true,
|
|
232
|
+
"internalType": "address",
|
|
233
|
+
"name": "YT",
|
|
203
234
|
"type": "address"
|
|
204
235
|
},
|
|
205
236
|
{
|
|
206
237
|
"indexed": false,
|
|
207
238
|
"internalType": "uint256",
|
|
208
|
-
"name": "
|
|
239
|
+
"name": "netPyIn",
|
|
240
|
+
"type": "uint256"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"indexed": false,
|
|
244
|
+
"internalType": "uint256",
|
|
245
|
+
"name": "netScyOut",
|
|
209
246
|
"type": "uint256"
|
|
210
247
|
}
|
|
211
248
|
],
|
|
212
|
-
"name": "
|
|
249
|
+
"name": "RedeemPyToScy",
|
|
213
250
|
"type": "event"
|
|
214
251
|
},
|
|
215
252
|
{
|
|
@@ -239,14 +276,20 @@
|
|
|
239
276
|
"name": "netPyIn",
|
|
240
277
|
"type": "uint256"
|
|
241
278
|
},
|
|
279
|
+
{
|
|
280
|
+
"indexed": false,
|
|
281
|
+
"internalType": "address",
|
|
282
|
+
"name": "tokenOut",
|
|
283
|
+
"type": "address"
|
|
284
|
+
},
|
|
242
285
|
{
|
|
243
286
|
"indexed": false,
|
|
244
287
|
"internalType": "uint256",
|
|
245
|
-
"name": "
|
|
288
|
+
"name": "netTokenOut",
|
|
246
289
|
"type": "uint256"
|
|
247
290
|
}
|
|
248
291
|
],
|
|
249
|
-
"name": "
|
|
292
|
+
"name": "RedeemPyToToken",
|
|
250
293
|
"type": "event"
|
|
251
294
|
},
|
|
252
295
|
{
|
|
@@ -279,17 +322,17 @@
|
|
|
279
322
|
{
|
|
280
323
|
"indexed": false,
|
|
281
324
|
"internalType": "address",
|
|
282
|
-
"name": "
|
|
325
|
+
"name": "tokenOut",
|
|
283
326
|
"type": "address"
|
|
284
327
|
},
|
|
285
328
|
{
|
|
286
329
|
"indexed": false,
|
|
287
330
|
"internalType": "uint256",
|
|
288
|
-
"name": "
|
|
331
|
+
"name": "netTokenOut",
|
|
289
332
|
"type": "uint256"
|
|
290
333
|
}
|
|
291
334
|
],
|
|
292
|
-
"name": "
|
|
335
|
+
"name": "RedeemScyToToken",
|
|
293
336
|
"type": "event"
|
|
294
337
|
},
|
|
295
338
|
{
|
|
@@ -328,11 +371,11 @@
|
|
|
328
371
|
{
|
|
329
372
|
"indexed": false,
|
|
330
373
|
"internalType": "uint256",
|
|
331
|
-
"name": "
|
|
374
|
+
"name": "amountIbTokenOut",
|
|
332
375
|
"type": "uint256"
|
|
333
376
|
}
|
|
334
377
|
],
|
|
335
|
-
"name": "
|
|
378
|
+
"name": "RemoveLiquidityDualIbTokenAndPt",
|
|
336
379
|
"type": "event"
|
|
337
380
|
},
|
|
338
381
|
{
|
|
@@ -351,13 +394,50 @@
|
|
|
351
394
|
"type": "address"
|
|
352
395
|
},
|
|
353
396
|
{
|
|
354
|
-
"indexed":
|
|
397
|
+
"indexed": false,
|
|
355
398
|
"internalType": "address",
|
|
356
|
-
"name": "
|
|
399
|
+
"name": "receiver",
|
|
357
400
|
"type": "address"
|
|
358
401
|
},
|
|
359
402
|
{
|
|
360
403
|
"indexed": false,
|
|
404
|
+
"internalType": "uint256",
|
|
405
|
+
"name": "lpIn",
|
|
406
|
+
"type": "uint256"
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"indexed": false,
|
|
410
|
+
"internalType": "uint256",
|
|
411
|
+
"name": "amountPTOut",
|
|
412
|
+
"type": "uint256"
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"indexed": false,
|
|
416
|
+
"internalType": "uint256",
|
|
417
|
+
"name": "amountSCYOut",
|
|
418
|
+
"type": "uint256"
|
|
419
|
+
}
|
|
420
|
+
],
|
|
421
|
+
"name": "RemoveLiquidityDualScyAndPt",
|
|
422
|
+
"type": "event"
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"anonymous": false,
|
|
426
|
+
"inputs": [
|
|
427
|
+
{
|
|
428
|
+
"indexed": true,
|
|
429
|
+
"internalType": "address",
|
|
430
|
+
"name": "caller",
|
|
431
|
+
"type": "address"
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"indexed": true,
|
|
435
|
+
"internalType": "address",
|
|
436
|
+
"name": "market",
|
|
437
|
+
"type": "address"
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"indexed": true,
|
|
361
441
|
"internalType": "address",
|
|
362
442
|
"name": "receiver",
|
|
363
443
|
"type": "address"
|
|
@@ -371,11 +451,11 @@
|
|
|
371
451
|
{
|
|
372
452
|
"indexed": false,
|
|
373
453
|
"internalType": "int256",
|
|
374
|
-
"name": "
|
|
454
|
+
"name": "amountScyToAccount",
|
|
375
455
|
"type": "int256"
|
|
376
456
|
}
|
|
377
457
|
],
|
|
378
|
-
"name": "
|
|
458
|
+
"name": "SwapPtAndScy",
|
|
379
459
|
"type": "event"
|
|
380
460
|
},
|
|
381
461
|
{
|
|
@@ -396,6 +476,12 @@
|
|
|
396
476
|
{
|
|
397
477
|
"indexed": true,
|
|
398
478
|
"internalType": "address",
|
|
479
|
+
"name": "token",
|
|
480
|
+
"type": "address"
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
"indexed": false,
|
|
484
|
+
"internalType": "address",
|
|
399
485
|
"name": "receiver",
|
|
400
486
|
"type": "address"
|
|
401
487
|
},
|
|
@@ -408,11 +494,11 @@
|
|
|
408
494
|
{
|
|
409
495
|
"indexed": false,
|
|
410
496
|
"internalType": "int256",
|
|
411
|
-
"name": "
|
|
497
|
+
"name": "amountTokenToAccount",
|
|
412
498
|
"type": "int256"
|
|
413
499
|
}
|
|
414
500
|
],
|
|
415
|
-
"name": "
|
|
501
|
+
"name": "SwapPtAndToken",
|
|
416
502
|
"type": "event"
|
|
417
503
|
},
|
|
418
504
|
{
|
|
@@ -430,12 +516,6 @@
|
|
|
430
516
|
"name": "market",
|
|
431
517
|
"type": "address"
|
|
432
518
|
},
|
|
433
|
-
{
|
|
434
|
-
"indexed": true,
|
|
435
|
-
"internalType": "address",
|
|
436
|
-
"name": "rawToken",
|
|
437
|
-
"type": "address"
|
|
438
|
-
},
|
|
439
519
|
{
|
|
440
520
|
"indexed": false,
|
|
441
521
|
"internalType": "int256",
|
|
@@ -445,11 +525,11 @@
|
|
|
445
525
|
{
|
|
446
526
|
"indexed": false,
|
|
447
527
|
"internalType": "int256",
|
|
448
|
-
"name": "
|
|
528
|
+
"name": "scyToAccount",
|
|
449
529
|
"type": "int256"
|
|
450
530
|
}
|
|
451
531
|
],
|
|
452
|
-
"name": "
|
|
532
|
+
"name": "SwapYTAndSCY",
|
|
453
533
|
"type": "event"
|
|
454
534
|
},
|
|
455
535
|
{
|
|
@@ -467,6 +547,12 @@
|
|
|
467
547
|
"name": "market",
|
|
468
548
|
"type": "address"
|
|
469
549
|
},
|
|
550
|
+
{
|
|
551
|
+
"indexed": true,
|
|
552
|
+
"internalType": "address",
|
|
553
|
+
"name": "token",
|
|
554
|
+
"type": "address"
|
|
555
|
+
},
|
|
470
556
|
{
|
|
471
557
|
"indexed": false,
|
|
472
558
|
"internalType": "int256",
|
|
@@ -476,13 +562,62 @@
|
|
|
476
562
|
{
|
|
477
563
|
"indexed": false,
|
|
478
564
|
"internalType": "int256",
|
|
479
|
-
"name": "
|
|
565
|
+
"name": "tokenToAccount",
|
|
480
566
|
"type": "int256"
|
|
481
567
|
}
|
|
482
568
|
],
|
|
483
|
-
"name": "
|
|
569
|
+
"name": "SwapYTAndToken",
|
|
484
570
|
"type": "event"
|
|
485
571
|
},
|
|
572
|
+
{
|
|
573
|
+
"inputs": [
|
|
574
|
+
{
|
|
575
|
+
"internalType": "address",
|
|
576
|
+
"name": "receiver",
|
|
577
|
+
"type": "address"
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
"internalType": "address",
|
|
581
|
+
"name": "market",
|
|
582
|
+
"type": "address"
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
"internalType": "uint256",
|
|
586
|
+
"name": "ibTokenDesired",
|
|
587
|
+
"type": "uint256"
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
"internalType": "uint256",
|
|
591
|
+
"name": "ptDesired",
|
|
592
|
+
"type": "uint256"
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
"internalType": "uint256",
|
|
596
|
+
"name": "minLpOut",
|
|
597
|
+
"type": "uint256"
|
|
598
|
+
}
|
|
599
|
+
],
|
|
600
|
+
"name": "addLiquidityDualIbTokenAndPt",
|
|
601
|
+
"outputs": [
|
|
602
|
+
{
|
|
603
|
+
"internalType": "uint256",
|
|
604
|
+
"name": "netLpOut",
|
|
605
|
+
"type": "uint256"
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
"internalType": "uint256",
|
|
609
|
+
"name": "ibTokenUsed",
|
|
610
|
+
"type": "uint256"
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
"internalType": "uint256",
|
|
614
|
+
"name": "ptUsed",
|
|
615
|
+
"type": "uint256"
|
|
616
|
+
}
|
|
617
|
+
],
|
|
618
|
+
"stateMutability": "nonpayable",
|
|
619
|
+
"type": "function"
|
|
620
|
+
},
|
|
486
621
|
{
|
|
487
622
|
"inputs": [
|
|
488
623
|
{
|
|
@@ -511,7 +646,7 @@
|
|
|
511
646
|
"type": "uint256"
|
|
512
647
|
}
|
|
513
648
|
],
|
|
514
|
-
"name": "
|
|
649
|
+
"name": "addLiquidityDualScyAndPt",
|
|
515
650
|
"outputs": [
|
|
516
651
|
{
|
|
517
652
|
"internalType": "uint256",
|
|
@@ -612,7 +747,7 @@
|
|
|
612
747
|
},
|
|
613
748
|
{
|
|
614
749
|
"internalType": "uint256",
|
|
615
|
-
"name": "
|
|
750
|
+
"name": "netScyIn",
|
|
616
751
|
"type": "uint256"
|
|
617
752
|
},
|
|
618
753
|
{
|
|
@@ -620,11 +755,6 @@
|
|
|
620
755
|
"name": "minLpOut",
|
|
621
756
|
"type": "uint256"
|
|
622
757
|
},
|
|
623
|
-
{
|
|
624
|
-
"internalType": "address[]",
|
|
625
|
-
"name": "path",
|
|
626
|
-
"type": "address[]"
|
|
627
|
-
},
|
|
628
758
|
{
|
|
629
759
|
"components": [
|
|
630
760
|
{
|
|
@@ -658,7 +788,7 @@
|
|
|
658
788
|
"type": "tuple"
|
|
659
789
|
}
|
|
660
790
|
],
|
|
661
|
-
"name": "
|
|
791
|
+
"name": "addLiquiditySingleScy",
|
|
662
792
|
"outputs": [
|
|
663
793
|
{
|
|
664
794
|
"internalType": "uint256",
|
|
@@ -681,11 +811,6 @@
|
|
|
681
811
|
"name": "market",
|
|
682
812
|
"type": "address"
|
|
683
813
|
},
|
|
684
|
-
{
|
|
685
|
-
"internalType": "uint256",
|
|
686
|
-
"name": "netScyIn",
|
|
687
|
-
"type": "uint256"
|
|
688
|
-
},
|
|
689
814
|
{
|
|
690
815
|
"internalType": "uint256",
|
|
691
816
|
"name": "minLpOut",
|
|
@@ -722,9 +847,36 @@
|
|
|
722
847
|
"internalType": "struct ApproxParams",
|
|
723
848
|
"name": "guessPtReceivedFromScy",
|
|
724
849
|
"type": "tuple"
|
|
850
|
+
},
|
|
851
|
+
{
|
|
852
|
+
"components": [
|
|
853
|
+
{
|
|
854
|
+
"internalType": "address",
|
|
855
|
+
"name": "tokenIn",
|
|
856
|
+
"type": "address"
|
|
857
|
+
},
|
|
858
|
+
{
|
|
859
|
+
"internalType": "uint256",
|
|
860
|
+
"name": "netTokenIn",
|
|
861
|
+
"type": "uint256"
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
"internalType": "address",
|
|
865
|
+
"name": "tokenMintScy",
|
|
866
|
+
"type": "address"
|
|
867
|
+
},
|
|
868
|
+
{
|
|
869
|
+
"internalType": "bytes",
|
|
870
|
+
"name": "kybercall",
|
|
871
|
+
"type": "bytes"
|
|
872
|
+
}
|
|
873
|
+
],
|
|
874
|
+
"internalType": "struct TokenInput",
|
|
875
|
+
"name": "input",
|
|
876
|
+
"type": "tuple"
|
|
725
877
|
}
|
|
726
878
|
],
|
|
727
|
-
"name": "
|
|
879
|
+
"name": "addLiquiditySingleToken",
|
|
728
880
|
"outputs": [
|
|
729
881
|
{
|
|
730
882
|
"internalType": "uint256",
|
|
@@ -749,21 +901,16 @@
|
|
|
749
901
|
},
|
|
750
902
|
{
|
|
751
903
|
"internalType": "uint256",
|
|
752
|
-
"name": "
|
|
904
|
+
"name": "netScyIn",
|
|
753
905
|
"type": "uint256"
|
|
754
906
|
},
|
|
755
907
|
{
|
|
756
908
|
"internalType": "uint256",
|
|
757
909
|
"name": "minPyOut",
|
|
758
910
|
"type": "uint256"
|
|
759
|
-
},
|
|
760
|
-
{
|
|
761
|
-
"internalType": "address[]",
|
|
762
|
-
"name": "path",
|
|
763
|
-
"type": "address[]"
|
|
764
911
|
}
|
|
765
912
|
],
|
|
766
|
-
"name": "
|
|
913
|
+
"name": "mintPyFromScy",
|
|
767
914
|
"outputs": [
|
|
768
915
|
{
|
|
769
916
|
"internalType": "uint256",
|
|
@@ -788,16 +935,38 @@
|
|
|
788
935
|
},
|
|
789
936
|
{
|
|
790
937
|
"internalType": "uint256",
|
|
791
|
-
"name": "
|
|
938
|
+
"name": "minPyOut",
|
|
792
939
|
"type": "uint256"
|
|
793
940
|
},
|
|
794
941
|
{
|
|
795
|
-
"
|
|
796
|
-
|
|
797
|
-
|
|
942
|
+
"components": [
|
|
943
|
+
{
|
|
944
|
+
"internalType": "address",
|
|
945
|
+
"name": "tokenIn",
|
|
946
|
+
"type": "address"
|
|
947
|
+
},
|
|
948
|
+
{
|
|
949
|
+
"internalType": "uint256",
|
|
950
|
+
"name": "netTokenIn",
|
|
951
|
+
"type": "uint256"
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
"internalType": "address",
|
|
955
|
+
"name": "tokenMintScy",
|
|
956
|
+
"type": "address"
|
|
957
|
+
},
|
|
958
|
+
{
|
|
959
|
+
"internalType": "bytes",
|
|
960
|
+
"name": "kybercall",
|
|
961
|
+
"type": "bytes"
|
|
962
|
+
}
|
|
963
|
+
],
|
|
964
|
+
"internalType": "struct TokenInput",
|
|
965
|
+
"name": "input",
|
|
966
|
+
"type": "tuple"
|
|
798
967
|
}
|
|
799
968
|
],
|
|
800
|
-
"name": "
|
|
969
|
+
"name": "mintPyFromToken",
|
|
801
970
|
"outputs": [
|
|
802
971
|
{
|
|
803
972
|
"internalType": "uint256",
|
|
@@ -820,23 +989,40 @@
|
|
|
820
989
|
"name": "SCY",
|
|
821
990
|
"type": "address"
|
|
822
991
|
},
|
|
823
|
-
{
|
|
824
|
-
"internalType": "uint256",
|
|
825
|
-
"name": "netRawTokenIn",
|
|
826
|
-
"type": "uint256"
|
|
827
|
-
},
|
|
828
992
|
{
|
|
829
993
|
"internalType": "uint256",
|
|
830
994
|
"name": "minScyOut",
|
|
831
995
|
"type": "uint256"
|
|
832
996
|
},
|
|
833
997
|
{
|
|
834
|
-
"
|
|
835
|
-
|
|
836
|
-
|
|
998
|
+
"components": [
|
|
999
|
+
{
|
|
1000
|
+
"internalType": "address",
|
|
1001
|
+
"name": "tokenIn",
|
|
1002
|
+
"type": "address"
|
|
1003
|
+
},
|
|
1004
|
+
{
|
|
1005
|
+
"internalType": "uint256",
|
|
1006
|
+
"name": "netTokenIn",
|
|
1007
|
+
"type": "uint256"
|
|
1008
|
+
},
|
|
1009
|
+
{
|
|
1010
|
+
"internalType": "address",
|
|
1011
|
+
"name": "tokenMintScy",
|
|
1012
|
+
"type": "address"
|
|
1013
|
+
},
|
|
1014
|
+
{
|
|
1015
|
+
"internalType": "bytes",
|
|
1016
|
+
"name": "kybercall",
|
|
1017
|
+
"type": "bytes"
|
|
1018
|
+
}
|
|
1019
|
+
],
|
|
1020
|
+
"internalType": "struct TokenInput",
|
|
1021
|
+
"name": "input",
|
|
1022
|
+
"type": "tuple"
|
|
837
1023
|
}
|
|
838
1024
|
],
|
|
839
|
-
"name": "
|
|
1025
|
+
"name": "mintScyFromToken",
|
|
840
1026
|
"outputs": [
|
|
841
1027
|
{
|
|
842
1028
|
"internalType": "uint256",
|
|
@@ -915,20 +1101,15 @@
|
|
|
915
1101
|
},
|
|
916
1102
|
{
|
|
917
1103
|
"internalType": "uint256",
|
|
918
|
-
"name": "
|
|
1104
|
+
"name": "minScyOut",
|
|
919
1105
|
"type": "uint256"
|
|
920
|
-
},
|
|
921
|
-
{
|
|
922
|
-
"internalType": "address[]",
|
|
923
|
-
"name": "path",
|
|
924
|
-
"type": "address[]"
|
|
925
1106
|
}
|
|
926
1107
|
],
|
|
927
|
-
"name": "
|
|
1108
|
+
"name": "redeemPyToScy",
|
|
928
1109
|
"outputs": [
|
|
929
1110
|
{
|
|
930
1111
|
"internalType": "uint256",
|
|
931
|
-
"name": "
|
|
1112
|
+
"name": "netScyOut",
|
|
932
1113
|
"type": "uint256"
|
|
933
1114
|
}
|
|
934
1115
|
],
|
|
@@ -953,16 +1134,38 @@
|
|
|
953
1134
|
"type": "uint256"
|
|
954
1135
|
},
|
|
955
1136
|
{
|
|
956
|
-
"
|
|
957
|
-
|
|
958
|
-
|
|
1137
|
+
"components": [
|
|
1138
|
+
{
|
|
1139
|
+
"internalType": "address",
|
|
1140
|
+
"name": "tokenOut",
|
|
1141
|
+
"type": "address"
|
|
1142
|
+
},
|
|
1143
|
+
{
|
|
1144
|
+
"internalType": "uint256",
|
|
1145
|
+
"name": "minTokenOut",
|
|
1146
|
+
"type": "uint256"
|
|
1147
|
+
},
|
|
1148
|
+
{
|
|
1149
|
+
"internalType": "address",
|
|
1150
|
+
"name": "tokenRedeemScy",
|
|
1151
|
+
"type": "address"
|
|
1152
|
+
},
|
|
1153
|
+
{
|
|
1154
|
+
"internalType": "bytes",
|
|
1155
|
+
"name": "kybercall",
|
|
1156
|
+
"type": "bytes"
|
|
1157
|
+
}
|
|
1158
|
+
],
|
|
1159
|
+
"internalType": "struct TokenOutput",
|
|
1160
|
+
"name": "output",
|
|
1161
|
+
"type": "tuple"
|
|
959
1162
|
}
|
|
960
1163
|
],
|
|
961
|
-
"name": "
|
|
1164
|
+
"name": "redeemPyToToken",
|
|
962
1165
|
"outputs": [
|
|
963
1166
|
{
|
|
964
1167
|
"internalType": "uint256",
|
|
965
|
-
"name": "
|
|
1168
|
+
"name": "netTokenOut",
|
|
966
1169
|
"type": "uint256"
|
|
967
1170
|
}
|
|
968
1171
|
],
|
|
@@ -986,22 +1189,83 @@
|
|
|
986
1189
|
"name": "netScyIn",
|
|
987
1190
|
"type": "uint256"
|
|
988
1191
|
},
|
|
1192
|
+
{
|
|
1193
|
+
"components": [
|
|
1194
|
+
{
|
|
1195
|
+
"internalType": "address",
|
|
1196
|
+
"name": "tokenOut",
|
|
1197
|
+
"type": "address"
|
|
1198
|
+
},
|
|
1199
|
+
{
|
|
1200
|
+
"internalType": "uint256",
|
|
1201
|
+
"name": "minTokenOut",
|
|
1202
|
+
"type": "uint256"
|
|
1203
|
+
},
|
|
1204
|
+
{
|
|
1205
|
+
"internalType": "address",
|
|
1206
|
+
"name": "tokenRedeemScy",
|
|
1207
|
+
"type": "address"
|
|
1208
|
+
},
|
|
1209
|
+
{
|
|
1210
|
+
"internalType": "bytes",
|
|
1211
|
+
"name": "kybercall",
|
|
1212
|
+
"type": "bytes"
|
|
1213
|
+
}
|
|
1214
|
+
],
|
|
1215
|
+
"internalType": "struct TokenOutput",
|
|
1216
|
+
"name": "output",
|
|
1217
|
+
"type": "tuple"
|
|
1218
|
+
}
|
|
1219
|
+
],
|
|
1220
|
+
"name": "redeemScyToToken",
|
|
1221
|
+
"outputs": [
|
|
1222
|
+
{
|
|
1223
|
+
"internalType": "uint256",
|
|
1224
|
+
"name": "netTokenOut",
|
|
1225
|
+
"type": "uint256"
|
|
1226
|
+
}
|
|
1227
|
+
],
|
|
1228
|
+
"stateMutability": "nonpayable",
|
|
1229
|
+
"type": "function"
|
|
1230
|
+
},
|
|
1231
|
+
{
|
|
1232
|
+
"inputs": [
|
|
1233
|
+
{
|
|
1234
|
+
"internalType": "address",
|
|
1235
|
+
"name": "receiver",
|
|
1236
|
+
"type": "address"
|
|
1237
|
+
},
|
|
1238
|
+
{
|
|
1239
|
+
"internalType": "address",
|
|
1240
|
+
"name": "market",
|
|
1241
|
+
"type": "address"
|
|
1242
|
+
},
|
|
989
1243
|
{
|
|
990
1244
|
"internalType": "uint256",
|
|
991
|
-
"name": "
|
|
1245
|
+
"name": "lpToRemove",
|
|
992
1246
|
"type": "uint256"
|
|
993
1247
|
},
|
|
994
1248
|
{
|
|
995
|
-
"internalType": "
|
|
996
|
-
"name": "
|
|
997
|
-
"type": "
|
|
1249
|
+
"internalType": "uint256",
|
|
1250
|
+
"name": "ibTokenMin",
|
|
1251
|
+
"type": "uint256"
|
|
1252
|
+
},
|
|
1253
|
+
{
|
|
1254
|
+
"internalType": "uint256",
|
|
1255
|
+
"name": "ptOutMin",
|
|
1256
|
+
"type": "uint256"
|
|
998
1257
|
}
|
|
999
1258
|
],
|
|
1000
|
-
"name": "
|
|
1259
|
+
"name": "removeLiquidityDualIbTokenAndPt",
|
|
1001
1260
|
"outputs": [
|
|
1002
1261
|
{
|
|
1003
1262
|
"internalType": "uint256",
|
|
1004
|
-
"name": "
|
|
1263
|
+
"name": "netIbTokenOut",
|
|
1264
|
+
"type": "uint256"
|
|
1265
|
+
},
|
|
1266
|
+
{
|
|
1267
|
+
"internalType": "uint256",
|
|
1268
|
+
"name": "netPtOut",
|
|
1005
1269
|
"type": "uint256"
|
|
1006
1270
|
}
|
|
1007
1271
|
],
|
|
@@ -1036,7 +1300,7 @@
|
|
|
1036
1300
|
"type": "uint256"
|
|
1037
1301
|
}
|
|
1038
1302
|
],
|
|
1039
|
-
"name": "
|
|
1303
|
+
"name": "removeLiquidityDualScyAndPt",
|
|
1040
1304
|
"outputs": [
|
|
1041
1305
|
{
|
|
1042
1306
|
"internalType": "uint256",
|
|
@@ -1137,20 +1401,15 @@
|
|
|
1137
1401
|
},
|
|
1138
1402
|
{
|
|
1139
1403
|
"internalType": "uint256",
|
|
1140
|
-
"name": "
|
|
1404
|
+
"name": "minScyOut",
|
|
1141
1405
|
"type": "uint256"
|
|
1142
|
-
},
|
|
1143
|
-
{
|
|
1144
|
-
"internalType": "address[]",
|
|
1145
|
-
"name": "path",
|
|
1146
|
-
"type": "address[]"
|
|
1147
1406
|
}
|
|
1148
1407
|
],
|
|
1149
|
-
"name": "
|
|
1408
|
+
"name": "removeLiquiditySingleScy",
|
|
1150
1409
|
"outputs": [
|
|
1151
1410
|
{
|
|
1152
1411
|
"internalType": "uint256",
|
|
1153
|
-
"name": "
|
|
1412
|
+
"name": "netScyOut",
|
|
1154
1413
|
"type": "uint256"
|
|
1155
1414
|
}
|
|
1156
1415
|
],
|
|
@@ -1175,16 +1434,38 @@
|
|
|
1175
1434
|
"type": "uint256"
|
|
1176
1435
|
},
|
|
1177
1436
|
{
|
|
1178
|
-
"
|
|
1179
|
-
|
|
1180
|
-
|
|
1437
|
+
"components": [
|
|
1438
|
+
{
|
|
1439
|
+
"internalType": "address",
|
|
1440
|
+
"name": "tokenOut",
|
|
1441
|
+
"type": "address"
|
|
1442
|
+
},
|
|
1443
|
+
{
|
|
1444
|
+
"internalType": "uint256",
|
|
1445
|
+
"name": "minTokenOut",
|
|
1446
|
+
"type": "uint256"
|
|
1447
|
+
},
|
|
1448
|
+
{
|
|
1449
|
+
"internalType": "address",
|
|
1450
|
+
"name": "tokenRedeemScy",
|
|
1451
|
+
"type": "address"
|
|
1452
|
+
},
|
|
1453
|
+
{
|
|
1454
|
+
"internalType": "bytes",
|
|
1455
|
+
"name": "kybercall",
|
|
1456
|
+
"type": "bytes"
|
|
1457
|
+
}
|
|
1458
|
+
],
|
|
1459
|
+
"internalType": "struct TokenOutput",
|
|
1460
|
+
"name": "output",
|
|
1461
|
+
"type": "tuple"
|
|
1181
1462
|
}
|
|
1182
1463
|
],
|
|
1183
|
-
"name": "
|
|
1464
|
+
"name": "removeLiquiditySingleToken",
|
|
1184
1465
|
"outputs": [
|
|
1185
1466
|
{
|
|
1186
1467
|
"internalType": "uint256",
|
|
1187
|
-
"name": "
|
|
1468
|
+
"name": "netTokenOut",
|
|
1188
1469
|
"type": "uint256"
|
|
1189
1470
|
}
|
|
1190
1471
|
],
|
|
@@ -1210,20 +1491,15 @@
|
|
|
1210
1491
|
},
|
|
1211
1492
|
{
|
|
1212
1493
|
"internalType": "uint256",
|
|
1213
|
-
"name": "
|
|
1494
|
+
"name": "minScyOut",
|
|
1214
1495
|
"type": "uint256"
|
|
1215
|
-
},
|
|
1216
|
-
{
|
|
1217
|
-
"internalType": "address[]",
|
|
1218
|
-
"name": "path",
|
|
1219
|
-
"type": "address[]"
|
|
1220
1496
|
}
|
|
1221
1497
|
],
|
|
1222
|
-
"name": "
|
|
1498
|
+
"name": "swapExactPtForScy",
|
|
1223
1499
|
"outputs": [
|
|
1224
1500
|
{
|
|
1225
1501
|
"internalType": "uint256",
|
|
1226
|
-
"name": "
|
|
1502
|
+
"name": "netScyOut",
|
|
1227
1503
|
"type": "uint256"
|
|
1228
1504
|
}
|
|
1229
1505
|
],
|
|
@@ -1248,16 +1524,38 @@
|
|
|
1248
1524
|
"type": "uint256"
|
|
1249
1525
|
},
|
|
1250
1526
|
{
|
|
1251
|
-
"
|
|
1252
|
-
|
|
1253
|
-
|
|
1527
|
+
"components": [
|
|
1528
|
+
{
|
|
1529
|
+
"internalType": "address",
|
|
1530
|
+
"name": "tokenOut",
|
|
1531
|
+
"type": "address"
|
|
1532
|
+
},
|
|
1533
|
+
{
|
|
1534
|
+
"internalType": "uint256",
|
|
1535
|
+
"name": "minTokenOut",
|
|
1536
|
+
"type": "uint256"
|
|
1537
|
+
},
|
|
1538
|
+
{
|
|
1539
|
+
"internalType": "address",
|
|
1540
|
+
"name": "tokenRedeemScy",
|
|
1541
|
+
"type": "address"
|
|
1542
|
+
},
|
|
1543
|
+
{
|
|
1544
|
+
"internalType": "bytes",
|
|
1545
|
+
"name": "kybercall",
|
|
1546
|
+
"type": "bytes"
|
|
1547
|
+
}
|
|
1548
|
+
],
|
|
1549
|
+
"internalType": "struct TokenOutput",
|
|
1550
|
+
"name": "output",
|
|
1551
|
+
"type": "tuple"
|
|
1254
1552
|
}
|
|
1255
1553
|
],
|
|
1256
|
-
"name": "
|
|
1554
|
+
"name": "swapExactPtForToken",
|
|
1257
1555
|
"outputs": [
|
|
1258
1556
|
{
|
|
1259
1557
|
"internalType": "uint256",
|
|
1260
|
-
"name": "
|
|
1558
|
+
"name": "netTokenOut",
|
|
1261
1559
|
"type": "uint256"
|
|
1262
1560
|
}
|
|
1263
1561
|
],
|
|
@@ -1278,7 +1576,7 @@
|
|
|
1278
1576
|
},
|
|
1279
1577
|
{
|
|
1280
1578
|
"internalType": "uint256",
|
|
1281
|
-
"name": "
|
|
1579
|
+
"name": "exactScyIn",
|
|
1282
1580
|
"type": "uint256"
|
|
1283
1581
|
},
|
|
1284
1582
|
{
|
|
@@ -1286,11 +1584,6 @@
|
|
|
1286
1584
|
"name": "minPtOut",
|
|
1287
1585
|
"type": "uint256"
|
|
1288
1586
|
},
|
|
1289
|
-
{
|
|
1290
|
-
"internalType": "address[]",
|
|
1291
|
-
"name": "path",
|
|
1292
|
-
"type": "address[]"
|
|
1293
|
-
},
|
|
1294
1587
|
{
|
|
1295
1588
|
"components": [
|
|
1296
1589
|
{
|
|
@@ -1324,7 +1617,7 @@
|
|
|
1324
1617
|
"type": "tuple"
|
|
1325
1618
|
}
|
|
1326
1619
|
],
|
|
1327
|
-
"name": "
|
|
1620
|
+
"name": "swapExactScyForPt",
|
|
1328
1621
|
"outputs": [
|
|
1329
1622
|
{
|
|
1330
1623
|
"internalType": "uint256",
|
|
@@ -1349,7 +1642,7 @@
|
|
|
1349
1642
|
},
|
|
1350
1643
|
{
|
|
1351
1644
|
"internalType": "uint256",
|
|
1352
|
-
"name": "
|
|
1645
|
+
"name": "exactScyIn",
|
|
1353
1646
|
"type": "uint256"
|
|
1354
1647
|
},
|
|
1355
1648
|
{
|
|
@@ -1357,11 +1650,6 @@
|
|
|
1357
1650
|
"name": "minYtOut",
|
|
1358
1651
|
"type": "uint256"
|
|
1359
1652
|
},
|
|
1360
|
-
{
|
|
1361
|
-
"internalType": "address[]",
|
|
1362
|
-
"name": "path",
|
|
1363
|
-
"type": "address[]"
|
|
1364
|
-
},
|
|
1365
1653
|
{
|
|
1366
1654
|
"components": [
|
|
1367
1655
|
{
|
|
@@ -1395,7 +1683,7 @@
|
|
|
1395
1683
|
"type": "tuple"
|
|
1396
1684
|
}
|
|
1397
1685
|
],
|
|
1398
|
-
"name": "
|
|
1686
|
+
"name": "swapExactScyForYt",
|
|
1399
1687
|
"outputs": [
|
|
1400
1688
|
{
|
|
1401
1689
|
"internalType": "uint256",
|
|
@@ -1418,11 +1706,6 @@
|
|
|
1418
1706
|
"name": "market",
|
|
1419
1707
|
"type": "address"
|
|
1420
1708
|
},
|
|
1421
|
-
{
|
|
1422
|
-
"internalType": "uint256",
|
|
1423
|
-
"name": "exactScyIn",
|
|
1424
|
-
"type": "uint256"
|
|
1425
|
-
},
|
|
1426
1709
|
{
|
|
1427
1710
|
"internalType": "uint256",
|
|
1428
1711
|
"name": "minPtOut",
|
|
@@ -1459,9 +1742,36 @@
|
|
|
1459
1742
|
"internalType": "struct ApproxParams",
|
|
1460
1743
|
"name": "guessPtOut",
|
|
1461
1744
|
"type": "tuple"
|
|
1745
|
+
},
|
|
1746
|
+
{
|
|
1747
|
+
"components": [
|
|
1748
|
+
{
|
|
1749
|
+
"internalType": "address",
|
|
1750
|
+
"name": "tokenIn",
|
|
1751
|
+
"type": "address"
|
|
1752
|
+
},
|
|
1753
|
+
{
|
|
1754
|
+
"internalType": "uint256",
|
|
1755
|
+
"name": "netTokenIn",
|
|
1756
|
+
"type": "uint256"
|
|
1757
|
+
},
|
|
1758
|
+
{
|
|
1759
|
+
"internalType": "address",
|
|
1760
|
+
"name": "tokenMintScy",
|
|
1761
|
+
"type": "address"
|
|
1762
|
+
},
|
|
1763
|
+
{
|
|
1764
|
+
"internalType": "bytes",
|
|
1765
|
+
"name": "kybercall",
|
|
1766
|
+
"type": "bytes"
|
|
1767
|
+
}
|
|
1768
|
+
],
|
|
1769
|
+
"internalType": "struct TokenInput",
|
|
1770
|
+
"name": "input",
|
|
1771
|
+
"type": "tuple"
|
|
1462
1772
|
}
|
|
1463
1773
|
],
|
|
1464
|
-
"name": "
|
|
1774
|
+
"name": "swapExactTokenForPt",
|
|
1465
1775
|
"outputs": [
|
|
1466
1776
|
{
|
|
1467
1777
|
"internalType": "uint256",
|
|
@@ -1484,11 +1794,6 @@
|
|
|
1484
1794
|
"name": "market",
|
|
1485
1795
|
"type": "address"
|
|
1486
1796
|
},
|
|
1487
|
-
{
|
|
1488
|
-
"internalType": "uint256",
|
|
1489
|
-
"name": "exactScyIn",
|
|
1490
|
-
"type": "uint256"
|
|
1491
|
-
},
|
|
1492
1797
|
{
|
|
1493
1798
|
"internalType": "uint256",
|
|
1494
1799
|
"name": "minYtOut",
|
|
@@ -1525,9 +1830,36 @@
|
|
|
1525
1830
|
"internalType": "struct ApproxParams",
|
|
1526
1831
|
"name": "guessYtOut",
|
|
1527
1832
|
"type": "tuple"
|
|
1833
|
+
},
|
|
1834
|
+
{
|
|
1835
|
+
"components": [
|
|
1836
|
+
{
|
|
1837
|
+
"internalType": "address",
|
|
1838
|
+
"name": "tokenIn",
|
|
1839
|
+
"type": "address"
|
|
1840
|
+
},
|
|
1841
|
+
{
|
|
1842
|
+
"internalType": "uint256",
|
|
1843
|
+
"name": "netTokenIn",
|
|
1844
|
+
"type": "uint256"
|
|
1845
|
+
},
|
|
1846
|
+
{
|
|
1847
|
+
"internalType": "address",
|
|
1848
|
+
"name": "tokenMintScy",
|
|
1849
|
+
"type": "address"
|
|
1850
|
+
},
|
|
1851
|
+
{
|
|
1852
|
+
"internalType": "bytes",
|
|
1853
|
+
"name": "kybercall",
|
|
1854
|
+
"type": "bytes"
|
|
1855
|
+
}
|
|
1856
|
+
],
|
|
1857
|
+
"internalType": "struct TokenInput",
|
|
1858
|
+
"name": "input",
|
|
1859
|
+
"type": "tuple"
|
|
1528
1860
|
}
|
|
1529
1861
|
],
|
|
1530
|
-
"name": "
|
|
1862
|
+
"name": "swapExactTokenForYt",
|
|
1531
1863
|
"outputs": [
|
|
1532
1864
|
{
|
|
1533
1865
|
"internalType": "uint256",
|
|
@@ -1557,20 +1889,15 @@
|
|
|
1557
1889
|
},
|
|
1558
1890
|
{
|
|
1559
1891
|
"internalType": "uint256",
|
|
1560
|
-
"name": "
|
|
1892
|
+
"name": "minScyOut",
|
|
1561
1893
|
"type": "uint256"
|
|
1562
|
-
},
|
|
1563
|
-
{
|
|
1564
|
-
"internalType": "address[]",
|
|
1565
|
-
"name": "path",
|
|
1566
|
-
"type": "address[]"
|
|
1567
1894
|
}
|
|
1568
1895
|
],
|
|
1569
|
-
"name": "
|
|
1896
|
+
"name": "swapExactYtForScy",
|
|
1570
1897
|
"outputs": [
|
|
1571
1898
|
{
|
|
1572
1899
|
"internalType": "uint256",
|
|
1573
|
-
"name": "
|
|
1900
|
+
"name": "netScyOut",
|
|
1574
1901
|
"type": "uint256"
|
|
1575
1902
|
}
|
|
1576
1903
|
],
|
|
@@ -1591,20 +1918,42 @@
|
|
|
1591
1918
|
},
|
|
1592
1919
|
{
|
|
1593
1920
|
"internalType": "uint256",
|
|
1594
|
-
"name": "
|
|
1921
|
+
"name": "netYtIn",
|
|
1595
1922
|
"type": "uint256"
|
|
1596
1923
|
},
|
|
1597
1924
|
{
|
|
1598
|
-
"
|
|
1599
|
-
|
|
1600
|
-
|
|
1925
|
+
"components": [
|
|
1926
|
+
{
|
|
1927
|
+
"internalType": "address",
|
|
1928
|
+
"name": "tokenOut",
|
|
1929
|
+
"type": "address"
|
|
1930
|
+
},
|
|
1931
|
+
{
|
|
1932
|
+
"internalType": "uint256",
|
|
1933
|
+
"name": "minTokenOut",
|
|
1934
|
+
"type": "uint256"
|
|
1935
|
+
},
|
|
1936
|
+
{
|
|
1937
|
+
"internalType": "address",
|
|
1938
|
+
"name": "tokenRedeemScy",
|
|
1939
|
+
"type": "address"
|
|
1940
|
+
},
|
|
1941
|
+
{
|
|
1942
|
+
"internalType": "bytes",
|
|
1943
|
+
"name": "kybercall",
|
|
1944
|
+
"type": "bytes"
|
|
1945
|
+
}
|
|
1946
|
+
],
|
|
1947
|
+
"internalType": "struct TokenOutput",
|
|
1948
|
+
"name": "output",
|
|
1949
|
+
"type": "tuple"
|
|
1601
1950
|
}
|
|
1602
1951
|
],
|
|
1603
|
-
"name": "
|
|
1952
|
+
"name": "swapExactYtForToken",
|
|
1604
1953
|
"outputs": [
|
|
1605
1954
|
{
|
|
1606
1955
|
"internalType": "uint256",
|
|
1607
|
-
"name": "
|
|
1956
|
+
"name": "netTokenOut",
|
|
1608
1957
|
"type": "uint256"
|
|
1609
1958
|
}
|
|
1610
1959
|
],
|