@pendle/core-v2 0.8.1-beta → 0.9.0-gamma-2
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 +4 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiSAvaxSCY.sol/PendleQiSAvaxSCY.json +833 -0
- 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 +4 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleSAvaxSCY.sol/PendleSAvaxSCY.json +723 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Euler/PendleEulerSCY.sol/PendleEulerSCY.dbg.json +4 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Euler/PendleEulerSCY.sol/PendleEulerSCY.json +723 -0
- 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 +20 -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 +4 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol/PendleSJoeSCY.json +784 -0
- 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/CelerAbstracts/CelerSenderUpg.sol/CelerSenderUpg.json +2 -2
- 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 +47 -28
- 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 +66 -4
- 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 +26 -2
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.json +24 -0
- 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/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -77
- 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 +21 -96
- 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 +272 -136
- 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 +4 -0
- package/build/artifacts/contracts/interfaces/IEulerEToken.sol/IEulerEToken.json +162 -0
- package/build/artifacts/contracts/interfaces/IEulerMarkets.sol/IEulerMarkets.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IEulerMarkets.sol/IEulerMarkets.json +87 -0
- package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.json +268 -132
- 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 +339 -169
- 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/IPInterestManagerYT.sol/IPInterestManagerYT.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 +23 -23
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.json +24 -0
- 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/IPYieldToken.sol/IPYieldToken.json +27 -27
- 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 +4 -0
- package/build/artifacts/contracts/interfaces/ISAvax.sol/ISAvax.json +199 -0
- package/build/artifacts/contracts/interfaces/ISJoe.sol/ISJoe.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/ISJoe.sol/ISJoe.json +168 -0
- package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.json +92 -0
- 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 +4 -0
- package/build/artifacts/contracts/interfaces/IWAvax.sol/IWAvax.json +252 -0
- 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/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- 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 +4 -0
- package/build/artifacts/contracts/libraries/{SCY/SCYIndex.sol/SCYIndexLib.json → helpers/PYIndex.sol/PYIndexLib.json} +4 -4
- 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/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 +39 -39
- package/build/artifacts/contracts/periphery/PermissionsV2Upg.sol/PermissionsV2Upg.dbg.json +1 -1
- package/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiSAvaxSCY.sol +242 -0
- package/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol +1 -1
- package/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleSAvaxSCY.sol +146 -0
- package/contracts/SuperComposableYield/SCY-implementations/Euler/PendleEulerSCY.sol +170 -0
- package/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol +33 -6
- package/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol +182 -0
- package/contracts/core/LiquidityMining/CelerAbstracts/CelerSenderUpg.sol +19 -10
- package/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol +3 -1
- package/contracts/core/LiquidityMining/PendleGauge.sol +3 -2
- package/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol +26 -8
- package/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol +0 -4
- package/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol +30 -13
- package/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol +2 -4
- package/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol +5 -1
- package/contracts/core/Market/PendleMarket.sol +4 -5
- package/contracts/core/Market/PendleMarketFactory.sol +1 -1
- package/contracts/core/PendleRouter.sol +10 -10
- package/contracts/core/YieldContracts/InterestManagerYT.sol +0 -2
- package/contracts/core/YieldContracts/PendlePrincipalToken.sol +3 -3
- package/contracts/core/YieldContracts/PendleYieldContractFactory.sol +2 -2
- package/contracts/core/YieldContracts/PendleYieldToken.sol +24 -25
- package/contracts/core/actions/ActionCallback.sol +7 -7
- package/contracts/core/actions/ActionCore.sol +54 -81
- package/contracts/core/actions/ActionYT.sol +17 -37
- package/contracts/core/actions/base/ActionSCYAndPTBase.sol +21 -37
- package/contracts/core/actions/base/ActionSCYAndPYBase.sol +39 -51
- package/contracts/core/actions/base/ActionSCYAndYTBase.sol +14 -31
- package/contracts/interfaces/IEulerEToken.sol +60 -0
- package/contracts/interfaces/IEulerMarkets.sol +46 -0
- package/contracts/interfaces/IPActionCore.sol +43 -50
- package/contracts/interfaces/IPActionYT.sol +11 -12
- package/contracts/interfaces/IPInterestManagerYT.sol +1 -1
- package/contracts/interfaces/IPMarket.sol +1 -0
- package/contracts/interfaces/IPRouterStatic.sol +2 -7
- package/contracts/interfaces/IPVeToken.sol +2 -0
- package/contracts/interfaces/IPYieldToken.sol +2 -2
- package/contracts/interfaces/ISAvax.sol +61 -0
- package/contracts/interfaces/ISJoe.sol +60 -0
- package/contracts/interfaces/IStETH.sol +14 -0
- package/contracts/interfaces/IWAvax.sol +34 -0
- package/contracts/libraries/helpers/PYIndex.sol +69 -0
- package/contracts/libraries/helpers/TokenHelper.sol +8 -3
- package/contracts/libraries/kyberswap/KyberSwapHelper.sol +61 -0
- package/contracts/libraries/math/MarketApproxLib.sol +5 -5
- package/contracts/libraries/math/MarketMathCore.sol +10 -10
- package/contracts/offchain-helpers/RouterStatic.sol +21 -39
- package/deployments/43113-benqi.json +2 -2
- package/deployments/43113-core.json +7 -7
- package/deployments/43113-markets/benqi-market-599408.json +7 -0
- package/deployments/43113-markets/benqi-market-93bbf0.json +7 -0
- package/deployments/80001-benqi.json +2 -2
- package/deployments/80001-core.json +6 -6
- package/deployments/80001-markets/benqi-market-007811.json +7 -0
- package/deployments/80001-markets/benqi-market-3fe528.json +7 -0
- package/package.json +1 -1
- package/typechain-types/ActionCore.ts +330 -356
- 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/CelerSenderUpg.ts +16 -16
- package/typechain-types/IERC20Upgradeable.ts +300 -0
- package/typechain-types/IEulerEToken.ts +320 -0
- package/typechain-types/IEulerMarkets.ts +204 -0
- package/typechain-types/IPActionCore.ts +320 -349
- package/typechain-types/IPActionYT.ts +110 -100
- package/typechain-types/IPAllAction.ts +400 -447
- package/typechain-types/IPInterestManagerYT.ts +3 -3
- package/typechain-types/IPRouterStatic.ts +60 -118
- package/typechain-types/IPVeToken.ts +34 -0
- package/typechain-types/IPYieldToken.ts +47 -47
- package/typechain-types/ISAvax.ts +430 -0
- package/typechain-types/ISJoe.ts +340 -0
- package/typechain-types/IStETH.ts +201 -0
- package/typechain-types/IWAvax.ts +380 -0
- package/typechain-types/KyberSwapHelper.ts +87 -0
- package/typechain-types/PendleEulerSCY.ts +965 -0
- package/typechain-types/PendlePrincipalToken.ts +0 -104
- package/typechain-types/PendleQiSAvaxSCY.ts +1098 -0
- package/typechain-types/PendleSAvaxSCY.ts +962 -0
- package/typechain-types/PendleSJoeSCY.ts +1053 -0
- package/typechain-types/PendleVotingControllerUpg.ts +89 -55
- package/typechain-types/PendleWstEthSCY.ts +13 -0
- package/typechain-types/PendleYieldToken.ts +44 -148
- package/typechain-types/RouterStatic.ts +133 -299
- package/typechain-types/VotingEscrowPendleMainchain.ts +118 -16
- package/typechain-types/VotingEscrowPendleSidechain.ts +34 -0
- package/typechain-types/VotingEscrowTokenBase.ts +34 -0
- package/typechain-types/factories/ActionCallback__factory.ts +1 -1
- package/typechain-types/factories/ActionCore__factory.ts +275 -139
- 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/CelerSenderUpg__factory.ts +2 -2
- package/typechain-types/factories/IERC20Upgradeable__factory.ts +209 -0
- package/typechain-types/factories/IEulerEToken__factory.ts +174 -0
- package/typechain-types/factories/IEulerMarkets__factory.ts +99 -0
- package/typechain-types/factories/IPActionCore__factory.ts +268 -132
- package/typechain-types/factories/IPActionYT__factory.ts +71 -37
- package/typechain-types/factories/IPAllAction__factory.ts +339 -169
- package/typechain-types/factories/IPInterestManagerYT__factory.ts +1 -1
- package/typechain-types/factories/IPRouterStatic__factory.ts +23 -23
- package/typechain-types/factories/IPVeToken__factory.ts +24 -0
- package/typechain-types/factories/IPYieldToken__factory.ts +27 -27
- package/typechain-types/factories/ISAvax__factory.ts +208 -0
- package/typechain-types/factories/ISJoe__factory.ts +177 -0
- package/typechain-types/factories/IStETH__factory.ts +101 -0
- package/typechain-types/factories/IWAvax__factory.ts +261 -0
- package/typechain-types/factories/KyberSwapHelper__factory.ts +39 -0
- 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 +796 -0
- 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/PendlePrincipalToken__factory.ts +1 -76
- package/typechain-types/factories/PendleQiSAvaxSCY__factory.ts +917 -0
- 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 +796 -0
- package/typechain-types/factories/PendleSJoeSCY__factory.ts +845 -0
- package/typechain-types/factories/PendleStargateSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +45 -26
- package/typechain-types/factories/PendleWstEthSCY__factory.ts +29 -2
- package/typechain-types/factories/PendleYearnVaultScy__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldToken__factory.ts +19 -94
- package/typechain-types/factories/RouterStatic__factory.ts +38 -38
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +65 -3
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +25 -1
- package/typechain-types/factories/VotingEscrowTokenBase__factory.ts +24 -0
- package/typechain-types/hardhat.d.ts +107 -17
- package/typechain-types/index.ts +24 -4
- package/build/artifacts/contracts/core/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +0 -4
- package/build/artifacts/contracts/core/PendleERC20Permit.sol/PendleERC20Permit.json +0 -329
- 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/SCY/SCYIndex.sol/SCYIndexLib.dbg.json +0 -4
- 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/core/PendleERC20Permit.sol +0 -84
- package/contracts/interfaces/IJoePair.sol +0 -98
- package/contracts/interfaces/IJoeRouter01.sol +0 -162
- package/contracts/interfaces/IJoeRouter02.sol +0 -52
- package/contracts/libraries/SCY/SCYIndex.sol +0 -72
- package/contracts/libraries/traderjoe/JoeLibrary.sol +0 -122
- package/contracts/libraries/traderjoe/PendleJoeSwapHelperUpg.sol +0 -80
- package/deployments/43113-markets/benqi-market-4Ccb97.json +0 -7
- package/deployments/43113-markets/benqi-market-534471.json +0 -7
- package/deployments/80001-markets/benqi-market-109acB.json +0 -7
- package/deployments/80001-markets/benqi-market-4e470E.json +0 -7
|
@@ -71,16 +71,10 @@ const _abi = [
|
|
|
71
71
|
name: "YT",
|
|
72
72
|
type: "address",
|
|
73
73
|
},
|
|
74
|
-
{
|
|
75
|
-
indexed: false,
|
|
76
|
-
internalType: "address",
|
|
77
|
-
name: "rawTokenIn",
|
|
78
|
-
type: "address",
|
|
79
|
-
},
|
|
80
74
|
{
|
|
81
75
|
indexed: false,
|
|
82
76
|
internalType: "uint256",
|
|
83
|
-
name: "
|
|
77
|
+
name: "netScyIn",
|
|
84
78
|
type: "uint256",
|
|
85
79
|
},
|
|
86
80
|
{
|
|
@@ -90,7 +84,7 @@ const _abi = [
|
|
|
90
84
|
type: "uint256",
|
|
91
85
|
},
|
|
92
86
|
],
|
|
93
|
-
name: "
|
|
87
|
+
name: "MintPyFromScy",
|
|
94
88
|
type: "event",
|
|
95
89
|
},
|
|
96
90
|
{
|
|
@@ -114,10 +108,16 @@ const _abi = [
|
|
|
114
108
|
name: "YT",
|
|
115
109
|
type: "address",
|
|
116
110
|
},
|
|
111
|
+
{
|
|
112
|
+
indexed: false,
|
|
113
|
+
internalType: "address",
|
|
114
|
+
name: "tokenIn",
|
|
115
|
+
type: "address",
|
|
116
|
+
},
|
|
117
117
|
{
|
|
118
118
|
indexed: false,
|
|
119
119
|
internalType: "uint256",
|
|
120
|
-
name: "
|
|
120
|
+
name: "netTokenIn",
|
|
121
121
|
type: "uint256",
|
|
122
122
|
},
|
|
123
123
|
{
|
|
@@ -127,7 +127,7 @@ const _abi = [
|
|
|
127
127
|
type: "uint256",
|
|
128
128
|
},
|
|
129
129
|
],
|
|
130
|
-
name: "
|
|
130
|
+
name: "MintPyFromToken",
|
|
131
131
|
type: "event",
|
|
132
132
|
},
|
|
133
133
|
{
|
|
@@ -154,13 +154,13 @@ const _abi = [
|
|
|
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
|
{
|
|
@@ -170,7 +170,7 @@ const _abi = [
|
|
|
170
170
|
type: "uint256",
|
|
171
171
|
},
|
|
172
172
|
],
|
|
173
|
-
name: "
|
|
173
|
+
name: "MintScyFromToken",
|
|
174
174
|
type: "event",
|
|
175
175
|
},
|
|
176
176
|
{
|
|
@@ -200,20 +200,14 @@ const _abi = [
|
|
|
200
200
|
name: "netPyIn",
|
|
201
201
|
type: "uint256",
|
|
202
202
|
},
|
|
203
|
-
{
|
|
204
|
-
indexed: false,
|
|
205
|
-
internalType: "address",
|
|
206
|
-
name: "rawTokenOut",
|
|
207
|
-
type: "address",
|
|
208
|
-
},
|
|
209
203
|
{
|
|
210
204
|
indexed: false,
|
|
211
205
|
internalType: "uint256",
|
|
212
|
-
name: "
|
|
206
|
+
name: "netScyOut",
|
|
213
207
|
type: "uint256",
|
|
214
208
|
},
|
|
215
209
|
],
|
|
216
|
-
name: "
|
|
210
|
+
name: "RedeemPyToScy",
|
|
217
211
|
type: "event",
|
|
218
212
|
},
|
|
219
213
|
{
|
|
@@ -243,14 +237,20 @@ const _abi = [
|
|
|
243
237
|
name: "netPyIn",
|
|
244
238
|
type: "uint256",
|
|
245
239
|
},
|
|
240
|
+
{
|
|
241
|
+
indexed: false,
|
|
242
|
+
internalType: "address",
|
|
243
|
+
name: "tokenOut",
|
|
244
|
+
type: "address",
|
|
245
|
+
},
|
|
246
246
|
{
|
|
247
247
|
indexed: false,
|
|
248
248
|
internalType: "uint256",
|
|
249
|
-
name: "
|
|
249
|
+
name: "netTokenOut",
|
|
250
250
|
type: "uint256",
|
|
251
251
|
},
|
|
252
252
|
],
|
|
253
|
-
name: "
|
|
253
|
+
name: "RedeemPyToToken",
|
|
254
254
|
type: "event",
|
|
255
255
|
},
|
|
256
256
|
{
|
|
@@ -283,17 +283,17 @@ const _abi = [
|
|
|
283
283
|
{
|
|
284
284
|
indexed: false,
|
|
285
285
|
internalType: "address",
|
|
286
|
-
name: "
|
|
286
|
+
name: "tokenOut",
|
|
287
287
|
type: "address",
|
|
288
288
|
},
|
|
289
289
|
{
|
|
290
290
|
indexed: false,
|
|
291
291
|
internalType: "uint256",
|
|
292
|
-
name: "
|
|
292
|
+
name: "netTokenOut",
|
|
293
293
|
type: "uint256",
|
|
294
294
|
},
|
|
295
295
|
],
|
|
296
|
-
name: "
|
|
296
|
+
name: "RedeemScyToToken",
|
|
297
297
|
type: "event",
|
|
298
298
|
},
|
|
299
299
|
{
|
|
@@ -357,12 +357,6 @@ const _abi = [
|
|
|
357
357
|
{
|
|
358
358
|
indexed: true,
|
|
359
359
|
internalType: "address",
|
|
360
|
-
name: "rawToken",
|
|
361
|
-
type: "address",
|
|
362
|
-
},
|
|
363
|
-
{
|
|
364
|
-
indexed: false,
|
|
365
|
-
internalType: "address",
|
|
366
360
|
name: "receiver",
|
|
367
361
|
type: "address",
|
|
368
362
|
},
|
|
@@ -375,11 +369,11 @@ const _abi = [
|
|
|
375
369
|
{
|
|
376
370
|
indexed: false,
|
|
377
371
|
internalType: "int256",
|
|
378
|
-
name: "
|
|
372
|
+
name: "amountScyToAccount",
|
|
379
373
|
type: "int256",
|
|
380
374
|
},
|
|
381
375
|
],
|
|
382
|
-
name: "
|
|
376
|
+
name: "SwapPtAndScy",
|
|
383
377
|
type: "event",
|
|
384
378
|
},
|
|
385
379
|
{
|
|
@@ -400,6 +394,12 @@ const _abi = [
|
|
|
400
394
|
{
|
|
401
395
|
indexed: true,
|
|
402
396
|
internalType: "address",
|
|
397
|
+
name: "token",
|
|
398
|
+
type: "address",
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
indexed: false,
|
|
402
|
+
internalType: "address",
|
|
403
403
|
name: "receiver",
|
|
404
404
|
type: "address",
|
|
405
405
|
},
|
|
@@ -412,11 +412,11 @@ const _abi = [
|
|
|
412
412
|
{
|
|
413
413
|
indexed: false,
|
|
414
414
|
internalType: "int256",
|
|
415
|
-
name: "
|
|
415
|
+
name: "amountTokenToAccount",
|
|
416
416
|
type: "int256",
|
|
417
417
|
},
|
|
418
418
|
],
|
|
419
|
-
name: "
|
|
419
|
+
name: "SwapPtAndToken",
|
|
420
420
|
type: "event",
|
|
421
421
|
},
|
|
422
422
|
{
|
|
@@ -548,7 +548,7 @@ const _abi = [
|
|
|
548
548
|
},
|
|
549
549
|
{
|
|
550
550
|
internalType: "uint256",
|
|
551
|
-
name: "
|
|
551
|
+
name: "netScyIn",
|
|
552
552
|
type: "uint256",
|
|
553
553
|
},
|
|
554
554
|
{
|
|
@@ -556,11 +556,6 @@ const _abi = [
|
|
|
556
556
|
name: "minLpOut",
|
|
557
557
|
type: "uint256",
|
|
558
558
|
},
|
|
559
|
-
{
|
|
560
|
-
internalType: "address[]",
|
|
561
|
-
name: "path",
|
|
562
|
-
type: "address[]",
|
|
563
|
-
},
|
|
564
559
|
{
|
|
565
560
|
components: [
|
|
566
561
|
{
|
|
@@ -594,7 +589,7 @@ const _abi = [
|
|
|
594
589
|
type: "tuple",
|
|
595
590
|
},
|
|
596
591
|
],
|
|
597
|
-
name: "
|
|
592
|
+
name: "addLiquiditySingleScy",
|
|
598
593
|
outputs: [
|
|
599
594
|
{
|
|
600
595
|
internalType: "uint256",
|
|
@@ -617,11 +612,6 @@ const _abi = [
|
|
|
617
612
|
name: "market",
|
|
618
613
|
type: "address",
|
|
619
614
|
},
|
|
620
|
-
{
|
|
621
|
-
internalType: "uint256",
|
|
622
|
-
name: "netScyIn",
|
|
623
|
-
type: "uint256",
|
|
624
|
-
},
|
|
625
615
|
{
|
|
626
616
|
internalType: "uint256",
|
|
627
617
|
name: "minLpOut",
|
|
@@ -659,8 +649,35 @@ const _abi = [
|
|
|
659
649
|
name: "guessPtReceivedFromScy",
|
|
660
650
|
type: "tuple",
|
|
661
651
|
},
|
|
652
|
+
{
|
|
653
|
+
components: [
|
|
654
|
+
{
|
|
655
|
+
internalType: "address",
|
|
656
|
+
name: "tokenIn",
|
|
657
|
+
type: "address",
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
internalType: "uint256",
|
|
661
|
+
name: "netTokenIn",
|
|
662
|
+
type: "uint256",
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
internalType: "address",
|
|
666
|
+
name: "tokenMintScy",
|
|
667
|
+
type: "address",
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
internalType: "bytes",
|
|
671
|
+
name: "kybercall",
|
|
672
|
+
type: "bytes",
|
|
673
|
+
},
|
|
674
|
+
],
|
|
675
|
+
internalType: "struct TokenInput",
|
|
676
|
+
name: "input",
|
|
677
|
+
type: "tuple",
|
|
678
|
+
},
|
|
662
679
|
],
|
|
663
|
-
name: "
|
|
680
|
+
name: "addLiquiditySingleToken",
|
|
664
681
|
outputs: [
|
|
665
682
|
{
|
|
666
683
|
internalType: "uint256",
|
|
@@ -685,7 +702,7 @@ const _abi = [
|
|
|
685
702
|
},
|
|
686
703
|
{
|
|
687
704
|
internalType: "uint256",
|
|
688
|
-
name: "
|
|
705
|
+
name: "netScyIn",
|
|
689
706
|
type: "uint256",
|
|
690
707
|
},
|
|
691
708
|
{
|
|
@@ -693,13 +710,8 @@ const _abi = [
|
|
|
693
710
|
name: "minPyOut",
|
|
694
711
|
type: "uint256",
|
|
695
712
|
},
|
|
696
|
-
{
|
|
697
|
-
internalType: "address[]",
|
|
698
|
-
name: "path",
|
|
699
|
-
type: "address[]",
|
|
700
|
-
},
|
|
701
713
|
],
|
|
702
|
-
name: "
|
|
714
|
+
name: "mintPyFromScy",
|
|
703
715
|
outputs: [
|
|
704
716
|
{
|
|
705
717
|
internalType: "uint256",
|
|
@@ -724,16 +736,38 @@ const _abi = [
|
|
|
724
736
|
},
|
|
725
737
|
{
|
|
726
738
|
internalType: "uint256",
|
|
727
|
-
name: "
|
|
739
|
+
name: "minPyOut",
|
|
728
740
|
type: "uint256",
|
|
729
741
|
},
|
|
730
742
|
{
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
743
|
+
components: [
|
|
744
|
+
{
|
|
745
|
+
internalType: "address",
|
|
746
|
+
name: "tokenIn",
|
|
747
|
+
type: "address",
|
|
748
|
+
},
|
|
749
|
+
{
|
|
750
|
+
internalType: "uint256",
|
|
751
|
+
name: "netTokenIn",
|
|
752
|
+
type: "uint256",
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
internalType: "address",
|
|
756
|
+
name: "tokenMintScy",
|
|
757
|
+
type: "address",
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
internalType: "bytes",
|
|
761
|
+
name: "kybercall",
|
|
762
|
+
type: "bytes",
|
|
763
|
+
},
|
|
764
|
+
],
|
|
765
|
+
internalType: "struct TokenInput",
|
|
766
|
+
name: "input",
|
|
767
|
+
type: "tuple",
|
|
734
768
|
},
|
|
735
769
|
],
|
|
736
|
-
name: "
|
|
770
|
+
name: "mintPyFromToken",
|
|
737
771
|
outputs: [
|
|
738
772
|
{
|
|
739
773
|
internalType: "uint256",
|
|
@@ -756,23 +790,40 @@ const _abi = [
|
|
|
756
790
|
name: "SCY",
|
|
757
791
|
type: "address",
|
|
758
792
|
},
|
|
759
|
-
{
|
|
760
|
-
internalType: "uint256",
|
|
761
|
-
name: "netRawTokenIn",
|
|
762
|
-
type: "uint256",
|
|
763
|
-
},
|
|
764
793
|
{
|
|
765
794
|
internalType: "uint256",
|
|
766
795
|
name: "minScyOut",
|
|
767
796
|
type: "uint256",
|
|
768
797
|
},
|
|
769
798
|
{
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
799
|
+
components: [
|
|
800
|
+
{
|
|
801
|
+
internalType: "address",
|
|
802
|
+
name: "tokenIn",
|
|
803
|
+
type: "address",
|
|
804
|
+
},
|
|
805
|
+
{
|
|
806
|
+
internalType: "uint256",
|
|
807
|
+
name: "netTokenIn",
|
|
808
|
+
type: "uint256",
|
|
809
|
+
},
|
|
810
|
+
{
|
|
811
|
+
internalType: "address",
|
|
812
|
+
name: "tokenMintScy",
|
|
813
|
+
type: "address",
|
|
814
|
+
},
|
|
815
|
+
{
|
|
816
|
+
internalType: "bytes",
|
|
817
|
+
name: "kybercall",
|
|
818
|
+
type: "bytes",
|
|
819
|
+
},
|
|
820
|
+
],
|
|
821
|
+
internalType: "struct TokenInput",
|
|
822
|
+
name: "input",
|
|
823
|
+
type: "tuple",
|
|
773
824
|
},
|
|
774
825
|
],
|
|
775
|
-
name: "
|
|
826
|
+
name: "mintScyFromToken",
|
|
776
827
|
outputs: [
|
|
777
828
|
{
|
|
778
829
|
internalType: "uint256",
|
|
@@ -851,20 +902,15 @@ const _abi = [
|
|
|
851
902
|
},
|
|
852
903
|
{
|
|
853
904
|
internalType: "uint256",
|
|
854
|
-
name: "
|
|
905
|
+
name: "minScyOut",
|
|
855
906
|
type: "uint256",
|
|
856
907
|
},
|
|
857
|
-
{
|
|
858
|
-
internalType: "address[]",
|
|
859
|
-
name: "path",
|
|
860
|
-
type: "address[]",
|
|
861
|
-
},
|
|
862
908
|
],
|
|
863
|
-
name: "
|
|
909
|
+
name: "redeemPyToScy",
|
|
864
910
|
outputs: [
|
|
865
911
|
{
|
|
866
912
|
internalType: "uint256",
|
|
867
|
-
name: "
|
|
913
|
+
name: "netScyOut",
|
|
868
914
|
type: "uint256",
|
|
869
915
|
},
|
|
870
916
|
],
|
|
@@ -889,16 +935,38 @@ const _abi = [
|
|
|
889
935
|
type: "uint256",
|
|
890
936
|
},
|
|
891
937
|
{
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
938
|
+
components: [
|
|
939
|
+
{
|
|
940
|
+
internalType: "address",
|
|
941
|
+
name: "tokenOut",
|
|
942
|
+
type: "address",
|
|
943
|
+
},
|
|
944
|
+
{
|
|
945
|
+
internalType: "uint256",
|
|
946
|
+
name: "minTokenOut",
|
|
947
|
+
type: "uint256",
|
|
948
|
+
},
|
|
949
|
+
{
|
|
950
|
+
internalType: "address",
|
|
951
|
+
name: "tokenRedeemScy",
|
|
952
|
+
type: "address",
|
|
953
|
+
},
|
|
954
|
+
{
|
|
955
|
+
internalType: "bytes",
|
|
956
|
+
name: "kybercall",
|
|
957
|
+
type: "bytes",
|
|
958
|
+
},
|
|
959
|
+
],
|
|
960
|
+
internalType: "struct TokenOutput",
|
|
961
|
+
name: "output",
|
|
962
|
+
type: "tuple",
|
|
895
963
|
},
|
|
896
964
|
],
|
|
897
|
-
name: "
|
|
965
|
+
name: "redeemPyToToken",
|
|
898
966
|
outputs: [
|
|
899
967
|
{
|
|
900
968
|
internalType: "uint256",
|
|
901
|
-
name: "
|
|
969
|
+
name: "netTokenOut",
|
|
902
970
|
type: "uint256",
|
|
903
971
|
},
|
|
904
972
|
],
|
|
@@ -923,21 +991,38 @@ const _abi = [
|
|
|
923
991
|
type: "uint256",
|
|
924
992
|
},
|
|
925
993
|
{
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
994
|
+
components: [
|
|
995
|
+
{
|
|
996
|
+
internalType: "address",
|
|
997
|
+
name: "tokenOut",
|
|
998
|
+
type: "address",
|
|
999
|
+
},
|
|
1000
|
+
{
|
|
1001
|
+
internalType: "uint256",
|
|
1002
|
+
name: "minTokenOut",
|
|
1003
|
+
type: "uint256",
|
|
1004
|
+
},
|
|
1005
|
+
{
|
|
1006
|
+
internalType: "address",
|
|
1007
|
+
name: "tokenRedeemScy",
|
|
1008
|
+
type: "address",
|
|
1009
|
+
},
|
|
1010
|
+
{
|
|
1011
|
+
internalType: "bytes",
|
|
1012
|
+
name: "kybercall",
|
|
1013
|
+
type: "bytes",
|
|
1014
|
+
},
|
|
1015
|
+
],
|
|
1016
|
+
internalType: "struct TokenOutput",
|
|
1017
|
+
name: "output",
|
|
1018
|
+
type: "tuple",
|
|
934
1019
|
},
|
|
935
1020
|
],
|
|
936
|
-
name: "
|
|
1021
|
+
name: "redeemScyToToken",
|
|
937
1022
|
outputs: [
|
|
938
1023
|
{
|
|
939
1024
|
internalType: "uint256",
|
|
940
|
-
name: "
|
|
1025
|
+
name: "netTokenOut",
|
|
941
1026
|
type: "uint256",
|
|
942
1027
|
},
|
|
943
1028
|
],
|
|
@@ -1073,20 +1158,15 @@ const _abi = [
|
|
|
1073
1158
|
},
|
|
1074
1159
|
{
|
|
1075
1160
|
internalType: "uint256",
|
|
1076
|
-
name: "
|
|
1161
|
+
name: "minScyOut",
|
|
1077
1162
|
type: "uint256",
|
|
1078
1163
|
},
|
|
1079
|
-
{
|
|
1080
|
-
internalType: "address[]",
|
|
1081
|
-
name: "path",
|
|
1082
|
-
type: "address[]",
|
|
1083
|
-
},
|
|
1084
1164
|
],
|
|
1085
|
-
name: "
|
|
1165
|
+
name: "removeLiquiditySingleScy",
|
|
1086
1166
|
outputs: [
|
|
1087
1167
|
{
|
|
1088
1168
|
internalType: "uint256",
|
|
1089
|
-
name: "
|
|
1169
|
+
name: "netScyOut",
|
|
1090
1170
|
type: "uint256",
|
|
1091
1171
|
},
|
|
1092
1172
|
],
|
|
@@ -1111,16 +1191,38 @@ const _abi = [
|
|
|
1111
1191
|
type: "uint256",
|
|
1112
1192
|
},
|
|
1113
1193
|
{
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1194
|
+
components: [
|
|
1195
|
+
{
|
|
1196
|
+
internalType: "address",
|
|
1197
|
+
name: "tokenOut",
|
|
1198
|
+
type: "address",
|
|
1199
|
+
},
|
|
1200
|
+
{
|
|
1201
|
+
internalType: "uint256",
|
|
1202
|
+
name: "minTokenOut",
|
|
1203
|
+
type: "uint256",
|
|
1204
|
+
},
|
|
1205
|
+
{
|
|
1206
|
+
internalType: "address",
|
|
1207
|
+
name: "tokenRedeemScy",
|
|
1208
|
+
type: "address",
|
|
1209
|
+
},
|
|
1210
|
+
{
|
|
1211
|
+
internalType: "bytes",
|
|
1212
|
+
name: "kybercall",
|
|
1213
|
+
type: "bytes",
|
|
1214
|
+
},
|
|
1215
|
+
],
|
|
1216
|
+
internalType: "struct TokenOutput",
|
|
1217
|
+
name: "output",
|
|
1218
|
+
type: "tuple",
|
|
1117
1219
|
},
|
|
1118
1220
|
],
|
|
1119
|
-
name: "
|
|
1221
|
+
name: "removeLiquiditySingleToken",
|
|
1120
1222
|
outputs: [
|
|
1121
1223
|
{
|
|
1122
1224
|
internalType: "uint256",
|
|
1123
|
-
name: "
|
|
1225
|
+
name: "netTokenOut",
|
|
1124
1226
|
type: "uint256",
|
|
1125
1227
|
},
|
|
1126
1228
|
],
|
|
@@ -1146,20 +1248,15 @@ const _abi = [
|
|
|
1146
1248
|
},
|
|
1147
1249
|
{
|
|
1148
1250
|
internalType: "uint256",
|
|
1149
|
-
name: "
|
|
1251
|
+
name: "minScyOut",
|
|
1150
1252
|
type: "uint256",
|
|
1151
1253
|
},
|
|
1152
|
-
{
|
|
1153
|
-
internalType: "address[]",
|
|
1154
|
-
name: "path",
|
|
1155
|
-
type: "address[]",
|
|
1156
|
-
},
|
|
1157
1254
|
],
|
|
1158
|
-
name: "
|
|
1255
|
+
name: "swapExactPtForScy",
|
|
1159
1256
|
outputs: [
|
|
1160
1257
|
{
|
|
1161
1258
|
internalType: "uint256",
|
|
1162
|
-
name: "
|
|
1259
|
+
name: "netScyOut",
|
|
1163
1260
|
type: "uint256",
|
|
1164
1261
|
},
|
|
1165
1262
|
],
|
|
@@ -1184,16 +1281,38 @@ const _abi = [
|
|
|
1184
1281
|
type: "uint256",
|
|
1185
1282
|
},
|
|
1186
1283
|
{
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1284
|
+
components: [
|
|
1285
|
+
{
|
|
1286
|
+
internalType: "address",
|
|
1287
|
+
name: "tokenOut",
|
|
1288
|
+
type: "address",
|
|
1289
|
+
},
|
|
1290
|
+
{
|
|
1291
|
+
internalType: "uint256",
|
|
1292
|
+
name: "minTokenOut",
|
|
1293
|
+
type: "uint256",
|
|
1294
|
+
},
|
|
1295
|
+
{
|
|
1296
|
+
internalType: "address",
|
|
1297
|
+
name: "tokenRedeemScy",
|
|
1298
|
+
type: "address",
|
|
1299
|
+
},
|
|
1300
|
+
{
|
|
1301
|
+
internalType: "bytes",
|
|
1302
|
+
name: "kybercall",
|
|
1303
|
+
type: "bytes",
|
|
1304
|
+
},
|
|
1305
|
+
],
|
|
1306
|
+
internalType: "struct TokenOutput",
|
|
1307
|
+
name: "output",
|
|
1308
|
+
type: "tuple",
|
|
1190
1309
|
},
|
|
1191
1310
|
],
|
|
1192
|
-
name: "
|
|
1311
|
+
name: "swapExactPtForToken",
|
|
1193
1312
|
outputs: [
|
|
1194
1313
|
{
|
|
1195
1314
|
internalType: "uint256",
|
|
1196
|
-
name: "
|
|
1315
|
+
name: "netTokenOut",
|
|
1197
1316
|
type: "uint256",
|
|
1198
1317
|
},
|
|
1199
1318
|
],
|
|
@@ -1214,7 +1333,7 @@ const _abi = [
|
|
|
1214
1333
|
},
|
|
1215
1334
|
{
|
|
1216
1335
|
internalType: "uint256",
|
|
1217
|
-
name: "
|
|
1336
|
+
name: "exactScyIn",
|
|
1218
1337
|
type: "uint256",
|
|
1219
1338
|
},
|
|
1220
1339
|
{
|
|
@@ -1222,11 +1341,6 @@ const _abi = [
|
|
|
1222
1341
|
name: "minPtOut",
|
|
1223
1342
|
type: "uint256",
|
|
1224
1343
|
},
|
|
1225
|
-
{
|
|
1226
|
-
internalType: "address[]",
|
|
1227
|
-
name: "path",
|
|
1228
|
-
type: "address[]",
|
|
1229
|
-
},
|
|
1230
1344
|
{
|
|
1231
1345
|
components: [
|
|
1232
1346
|
{
|
|
@@ -1260,7 +1374,7 @@ const _abi = [
|
|
|
1260
1374
|
type: "tuple",
|
|
1261
1375
|
},
|
|
1262
1376
|
],
|
|
1263
|
-
name: "
|
|
1377
|
+
name: "swapExactScyForPt",
|
|
1264
1378
|
outputs: [
|
|
1265
1379
|
{
|
|
1266
1380
|
internalType: "uint256",
|
|
@@ -1283,11 +1397,6 @@ const _abi = [
|
|
|
1283
1397
|
name: "market",
|
|
1284
1398
|
type: "address",
|
|
1285
1399
|
},
|
|
1286
|
-
{
|
|
1287
|
-
internalType: "uint256",
|
|
1288
|
-
name: "exactScyIn",
|
|
1289
|
-
type: "uint256",
|
|
1290
|
-
},
|
|
1291
1400
|
{
|
|
1292
1401
|
internalType: "uint256",
|
|
1293
1402
|
name: "minPtOut",
|
|
@@ -1325,8 +1434,35 @@ const _abi = [
|
|
|
1325
1434
|
name: "guessPtOut",
|
|
1326
1435
|
type: "tuple",
|
|
1327
1436
|
},
|
|
1437
|
+
{
|
|
1438
|
+
components: [
|
|
1439
|
+
{
|
|
1440
|
+
internalType: "address",
|
|
1441
|
+
name: "tokenIn",
|
|
1442
|
+
type: "address",
|
|
1443
|
+
},
|
|
1444
|
+
{
|
|
1445
|
+
internalType: "uint256",
|
|
1446
|
+
name: "netTokenIn",
|
|
1447
|
+
type: "uint256",
|
|
1448
|
+
},
|
|
1449
|
+
{
|
|
1450
|
+
internalType: "address",
|
|
1451
|
+
name: "tokenMintScy",
|
|
1452
|
+
type: "address",
|
|
1453
|
+
},
|
|
1454
|
+
{
|
|
1455
|
+
internalType: "bytes",
|
|
1456
|
+
name: "kybercall",
|
|
1457
|
+
type: "bytes",
|
|
1458
|
+
},
|
|
1459
|
+
],
|
|
1460
|
+
internalType: "struct TokenInput",
|
|
1461
|
+
name: "input",
|
|
1462
|
+
type: "tuple",
|
|
1463
|
+
},
|
|
1328
1464
|
],
|
|
1329
|
-
name: "
|
|
1465
|
+
name: "swapExactTokenForPt",
|
|
1330
1466
|
outputs: [
|
|
1331
1467
|
{
|
|
1332
1468
|
internalType: "uint256",
|