@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
|
{
|
|
@@ -434,12 +434,6 @@ const _abi = [
|
|
|
434
434
|
name: "market",
|
|
435
435
|
type: "address",
|
|
436
436
|
},
|
|
437
|
-
{
|
|
438
|
-
indexed: true,
|
|
439
|
-
internalType: "address",
|
|
440
|
-
name: "rawToken",
|
|
441
|
-
type: "address",
|
|
442
|
-
},
|
|
443
437
|
{
|
|
444
438
|
indexed: false,
|
|
445
439
|
internalType: "int256",
|
|
@@ -449,11 +443,11 @@ const _abi = [
|
|
|
449
443
|
{
|
|
450
444
|
indexed: false,
|
|
451
445
|
internalType: "int256",
|
|
452
|
-
name: "
|
|
446
|
+
name: "scyToAccount",
|
|
453
447
|
type: "int256",
|
|
454
448
|
},
|
|
455
449
|
],
|
|
456
|
-
name: "
|
|
450
|
+
name: "SwapYTAndSCY",
|
|
457
451
|
type: "event",
|
|
458
452
|
},
|
|
459
453
|
{
|
|
@@ -471,6 +465,12 @@ const _abi = [
|
|
|
471
465
|
name: "market",
|
|
472
466
|
type: "address",
|
|
473
467
|
},
|
|
468
|
+
{
|
|
469
|
+
indexed: true,
|
|
470
|
+
internalType: "address",
|
|
471
|
+
name: "token",
|
|
472
|
+
type: "address",
|
|
473
|
+
},
|
|
474
474
|
{
|
|
475
475
|
indexed: false,
|
|
476
476
|
internalType: "int256",
|
|
@@ -480,11 +480,11 @@ const _abi = [
|
|
|
480
480
|
{
|
|
481
481
|
indexed: false,
|
|
482
482
|
internalType: "int256",
|
|
483
|
-
name: "
|
|
483
|
+
name: "tokenToAccount",
|
|
484
484
|
type: "int256",
|
|
485
485
|
},
|
|
486
486
|
],
|
|
487
|
-
name: "
|
|
487
|
+
name: "SwapYTAndToken",
|
|
488
488
|
type: "event",
|
|
489
489
|
},
|
|
490
490
|
{
|
|
@@ -616,7 +616,7 @@ const _abi = [
|
|
|
616
616
|
},
|
|
617
617
|
{
|
|
618
618
|
internalType: "uint256",
|
|
619
|
-
name: "
|
|
619
|
+
name: "netScyIn",
|
|
620
620
|
type: "uint256",
|
|
621
621
|
},
|
|
622
622
|
{
|
|
@@ -624,11 +624,6 @@ const _abi = [
|
|
|
624
624
|
name: "minLpOut",
|
|
625
625
|
type: "uint256",
|
|
626
626
|
},
|
|
627
|
-
{
|
|
628
|
-
internalType: "address[]",
|
|
629
|
-
name: "path",
|
|
630
|
-
type: "address[]",
|
|
631
|
-
},
|
|
632
627
|
{
|
|
633
628
|
components: [
|
|
634
629
|
{
|
|
@@ -662,7 +657,7 @@ const _abi = [
|
|
|
662
657
|
type: "tuple",
|
|
663
658
|
},
|
|
664
659
|
],
|
|
665
|
-
name: "
|
|
660
|
+
name: "addLiquiditySingleScy",
|
|
666
661
|
outputs: [
|
|
667
662
|
{
|
|
668
663
|
internalType: "uint256",
|
|
@@ -685,11 +680,6 @@ const _abi = [
|
|
|
685
680
|
name: "market",
|
|
686
681
|
type: "address",
|
|
687
682
|
},
|
|
688
|
-
{
|
|
689
|
-
internalType: "uint256",
|
|
690
|
-
name: "netScyIn",
|
|
691
|
-
type: "uint256",
|
|
692
|
-
},
|
|
693
683
|
{
|
|
694
684
|
internalType: "uint256",
|
|
695
685
|
name: "minLpOut",
|
|
@@ -727,8 +717,35 @@ const _abi = [
|
|
|
727
717
|
name: "guessPtReceivedFromScy",
|
|
728
718
|
type: "tuple",
|
|
729
719
|
},
|
|
720
|
+
{
|
|
721
|
+
components: [
|
|
722
|
+
{
|
|
723
|
+
internalType: "address",
|
|
724
|
+
name: "tokenIn",
|
|
725
|
+
type: "address",
|
|
726
|
+
},
|
|
727
|
+
{
|
|
728
|
+
internalType: "uint256",
|
|
729
|
+
name: "netTokenIn",
|
|
730
|
+
type: "uint256",
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
internalType: "address",
|
|
734
|
+
name: "tokenMintScy",
|
|
735
|
+
type: "address",
|
|
736
|
+
},
|
|
737
|
+
{
|
|
738
|
+
internalType: "bytes",
|
|
739
|
+
name: "kybercall",
|
|
740
|
+
type: "bytes",
|
|
741
|
+
},
|
|
742
|
+
],
|
|
743
|
+
internalType: "struct TokenInput",
|
|
744
|
+
name: "input",
|
|
745
|
+
type: "tuple",
|
|
746
|
+
},
|
|
730
747
|
],
|
|
731
|
-
name: "
|
|
748
|
+
name: "addLiquiditySingleToken",
|
|
732
749
|
outputs: [
|
|
733
750
|
{
|
|
734
751
|
internalType: "uint256",
|
|
@@ -753,7 +770,7 @@ const _abi = [
|
|
|
753
770
|
},
|
|
754
771
|
{
|
|
755
772
|
internalType: "uint256",
|
|
756
|
-
name: "
|
|
773
|
+
name: "netScyIn",
|
|
757
774
|
type: "uint256",
|
|
758
775
|
},
|
|
759
776
|
{
|
|
@@ -761,13 +778,8 @@ const _abi = [
|
|
|
761
778
|
name: "minPyOut",
|
|
762
779
|
type: "uint256",
|
|
763
780
|
},
|
|
764
|
-
{
|
|
765
|
-
internalType: "address[]",
|
|
766
|
-
name: "path",
|
|
767
|
-
type: "address[]",
|
|
768
|
-
},
|
|
769
781
|
],
|
|
770
|
-
name: "
|
|
782
|
+
name: "mintPyFromScy",
|
|
771
783
|
outputs: [
|
|
772
784
|
{
|
|
773
785
|
internalType: "uint256",
|
|
@@ -792,16 +804,38 @@ const _abi = [
|
|
|
792
804
|
},
|
|
793
805
|
{
|
|
794
806
|
internalType: "uint256",
|
|
795
|
-
name: "
|
|
807
|
+
name: "minPyOut",
|
|
796
808
|
type: "uint256",
|
|
797
809
|
},
|
|
798
810
|
{
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
811
|
+
components: [
|
|
812
|
+
{
|
|
813
|
+
internalType: "address",
|
|
814
|
+
name: "tokenIn",
|
|
815
|
+
type: "address",
|
|
816
|
+
},
|
|
817
|
+
{
|
|
818
|
+
internalType: "uint256",
|
|
819
|
+
name: "netTokenIn",
|
|
820
|
+
type: "uint256",
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
internalType: "address",
|
|
824
|
+
name: "tokenMintScy",
|
|
825
|
+
type: "address",
|
|
826
|
+
},
|
|
827
|
+
{
|
|
828
|
+
internalType: "bytes",
|
|
829
|
+
name: "kybercall",
|
|
830
|
+
type: "bytes",
|
|
831
|
+
},
|
|
832
|
+
],
|
|
833
|
+
internalType: "struct TokenInput",
|
|
834
|
+
name: "input",
|
|
835
|
+
type: "tuple",
|
|
802
836
|
},
|
|
803
837
|
],
|
|
804
|
-
name: "
|
|
838
|
+
name: "mintPyFromToken",
|
|
805
839
|
outputs: [
|
|
806
840
|
{
|
|
807
841
|
internalType: "uint256",
|
|
@@ -824,23 +858,40 @@ const _abi = [
|
|
|
824
858
|
name: "SCY",
|
|
825
859
|
type: "address",
|
|
826
860
|
},
|
|
827
|
-
{
|
|
828
|
-
internalType: "uint256",
|
|
829
|
-
name: "netRawTokenIn",
|
|
830
|
-
type: "uint256",
|
|
831
|
-
},
|
|
832
861
|
{
|
|
833
862
|
internalType: "uint256",
|
|
834
863
|
name: "minScyOut",
|
|
835
864
|
type: "uint256",
|
|
836
865
|
},
|
|
837
866
|
{
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
867
|
+
components: [
|
|
868
|
+
{
|
|
869
|
+
internalType: "address",
|
|
870
|
+
name: "tokenIn",
|
|
871
|
+
type: "address",
|
|
872
|
+
},
|
|
873
|
+
{
|
|
874
|
+
internalType: "uint256",
|
|
875
|
+
name: "netTokenIn",
|
|
876
|
+
type: "uint256",
|
|
877
|
+
},
|
|
878
|
+
{
|
|
879
|
+
internalType: "address",
|
|
880
|
+
name: "tokenMintScy",
|
|
881
|
+
type: "address",
|
|
882
|
+
},
|
|
883
|
+
{
|
|
884
|
+
internalType: "bytes",
|
|
885
|
+
name: "kybercall",
|
|
886
|
+
type: "bytes",
|
|
887
|
+
},
|
|
888
|
+
],
|
|
889
|
+
internalType: "struct TokenInput",
|
|
890
|
+
name: "input",
|
|
891
|
+
type: "tuple",
|
|
841
892
|
},
|
|
842
893
|
],
|
|
843
|
-
name: "
|
|
894
|
+
name: "mintScyFromToken",
|
|
844
895
|
outputs: [
|
|
845
896
|
{
|
|
846
897
|
internalType: "uint256",
|
|
@@ -919,20 +970,15 @@ const _abi = [
|
|
|
919
970
|
},
|
|
920
971
|
{
|
|
921
972
|
internalType: "uint256",
|
|
922
|
-
name: "
|
|
973
|
+
name: "minScyOut",
|
|
923
974
|
type: "uint256",
|
|
924
975
|
},
|
|
925
|
-
{
|
|
926
|
-
internalType: "address[]",
|
|
927
|
-
name: "path",
|
|
928
|
-
type: "address[]",
|
|
929
|
-
},
|
|
930
976
|
],
|
|
931
|
-
name: "
|
|
977
|
+
name: "redeemPyToScy",
|
|
932
978
|
outputs: [
|
|
933
979
|
{
|
|
934
980
|
internalType: "uint256",
|
|
935
|
-
name: "
|
|
981
|
+
name: "netScyOut",
|
|
936
982
|
type: "uint256",
|
|
937
983
|
},
|
|
938
984
|
],
|
|
@@ -957,16 +1003,38 @@ const _abi = [
|
|
|
957
1003
|
type: "uint256",
|
|
958
1004
|
},
|
|
959
1005
|
{
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
1006
|
+
components: [
|
|
1007
|
+
{
|
|
1008
|
+
internalType: "address",
|
|
1009
|
+
name: "tokenOut",
|
|
1010
|
+
type: "address",
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
internalType: "uint256",
|
|
1014
|
+
name: "minTokenOut",
|
|
1015
|
+
type: "uint256",
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
internalType: "address",
|
|
1019
|
+
name: "tokenRedeemScy",
|
|
1020
|
+
type: "address",
|
|
1021
|
+
},
|
|
1022
|
+
{
|
|
1023
|
+
internalType: "bytes",
|
|
1024
|
+
name: "kybercall",
|
|
1025
|
+
type: "bytes",
|
|
1026
|
+
},
|
|
1027
|
+
],
|
|
1028
|
+
internalType: "struct TokenOutput",
|
|
1029
|
+
name: "output",
|
|
1030
|
+
type: "tuple",
|
|
963
1031
|
},
|
|
964
1032
|
],
|
|
965
|
-
name: "
|
|
1033
|
+
name: "redeemPyToToken",
|
|
966
1034
|
outputs: [
|
|
967
1035
|
{
|
|
968
1036
|
internalType: "uint256",
|
|
969
|
-
name: "
|
|
1037
|
+
name: "netTokenOut",
|
|
970
1038
|
type: "uint256",
|
|
971
1039
|
},
|
|
972
1040
|
],
|
|
@@ -991,21 +1059,38 @@ const _abi = [
|
|
|
991
1059
|
type: "uint256",
|
|
992
1060
|
},
|
|
993
1061
|
{
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1062
|
+
components: [
|
|
1063
|
+
{
|
|
1064
|
+
internalType: "address",
|
|
1065
|
+
name: "tokenOut",
|
|
1066
|
+
type: "address",
|
|
1067
|
+
},
|
|
1068
|
+
{
|
|
1069
|
+
internalType: "uint256",
|
|
1070
|
+
name: "minTokenOut",
|
|
1071
|
+
type: "uint256",
|
|
1072
|
+
},
|
|
1073
|
+
{
|
|
1074
|
+
internalType: "address",
|
|
1075
|
+
name: "tokenRedeemScy",
|
|
1076
|
+
type: "address",
|
|
1077
|
+
},
|
|
1078
|
+
{
|
|
1079
|
+
internalType: "bytes",
|
|
1080
|
+
name: "kybercall",
|
|
1081
|
+
type: "bytes",
|
|
1082
|
+
},
|
|
1083
|
+
],
|
|
1084
|
+
internalType: "struct TokenOutput",
|
|
1085
|
+
name: "output",
|
|
1086
|
+
type: "tuple",
|
|
1002
1087
|
},
|
|
1003
1088
|
],
|
|
1004
|
-
name: "
|
|
1089
|
+
name: "redeemScyToToken",
|
|
1005
1090
|
outputs: [
|
|
1006
1091
|
{
|
|
1007
1092
|
internalType: "uint256",
|
|
1008
|
-
name: "
|
|
1093
|
+
name: "netTokenOut",
|
|
1009
1094
|
type: "uint256",
|
|
1010
1095
|
},
|
|
1011
1096
|
],
|
|
@@ -1141,20 +1226,15 @@ const _abi = [
|
|
|
1141
1226
|
},
|
|
1142
1227
|
{
|
|
1143
1228
|
internalType: "uint256",
|
|
1144
|
-
name: "
|
|
1229
|
+
name: "minScyOut",
|
|
1145
1230
|
type: "uint256",
|
|
1146
1231
|
},
|
|
1147
|
-
{
|
|
1148
|
-
internalType: "address[]",
|
|
1149
|
-
name: "path",
|
|
1150
|
-
type: "address[]",
|
|
1151
|
-
},
|
|
1152
1232
|
],
|
|
1153
|
-
name: "
|
|
1233
|
+
name: "removeLiquiditySingleScy",
|
|
1154
1234
|
outputs: [
|
|
1155
1235
|
{
|
|
1156
1236
|
internalType: "uint256",
|
|
1157
|
-
name: "
|
|
1237
|
+
name: "netScyOut",
|
|
1158
1238
|
type: "uint256",
|
|
1159
1239
|
},
|
|
1160
1240
|
],
|
|
@@ -1179,16 +1259,38 @@ const _abi = [
|
|
|
1179
1259
|
type: "uint256",
|
|
1180
1260
|
},
|
|
1181
1261
|
{
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1262
|
+
components: [
|
|
1263
|
+
{
|
|
1264
|
+
internalType: "address",
|
|
1265
|
+
name: "tokenOut",
|
|
1266
|
+
type: "address",
|
|
1267
|
+
},
|
|
1268
|
+
{
|
|
1269
|
+
internalType: "uint256",
|
|
1270
|
+
name: "minTokenOut",
|
|
1271
|
+
type: "uint256",
|
|
1272
|
+
},
|
|
1273
|
+
{
|
|
1274
|
+
internalType: "address",
|
|
1275
|
+
name: "tokenRedeemScy",
|
|
1276
|
+
type: "address",
|
|
1277
|
+
},
|
|
1278
|
+
{
|
|
1279
|
+
internalType: "bytes",
|
|
1280
|
+
name: "kybercall",
|
|
1281
|
+
type: "bytes",
|
|
1282
|
+
},
|
|
1283
|
+
],
|
|
1284
|
+
internalType: "struct TokenOutput",
|
|
1285
|
+
name: "output",
|
|
1286
|
+
type: "tuple",
|
|
1185
1287
|
},
|
|
1186
1288
|
],
|
|
1187
|
-
name: "
|
|
1289
|
+
name: "removeLiquiditySingleToken",
|
|
1188
1290
|
outputs: [
|
|
1189
1291
|
{
|
|
1190
1292
|
internalType: "uint256",
|
|
1191
|
-
name: "
|
|
1293
|
+
name: "netTokenOut",
|
|
1192
1294
|
type: "uint256",
|
|
1193
1295
|
},
|
|
1194
1296
|
],
|
|
@@ -1214,20 +1316,15 @@ const _abi = [
|
|
|
1214
1316
|
},
|
|
1215
1317
|
{
|
|
1216
1318
|
internalType: "uint256",
|
|
1217
|
-
name: "
|
|
1319
|
+
name: "minScyOut",
|
|
1218
1320
|
type: "uint256",
|
|
1219
1321
|
},
|
|
1220
|
-
{
|
|
1221
|
-
internalType: "address[]",
|
|
1222
|
-
name: "path",
|
|
1223
|
-
type: "address[]",
|
|
1224
|
-
},
|
|
1225
1322
|
],
|
|
1226
|
-
name: "
|
|
1323
|
+
name: "swapExactPtForScy",
|
|
1227
1324
|
outputs: [
|
|
1228
1325
|
{
|
|
1229
1326
|
internalType: "uint256",
|
|
1230
|
-
name: "
|
|
1327
|
+
name: "netScyOut",
|
|
1231
1328
|
type: "uint256",
|
|
1232
1329
|
},
|
|
1233
1330
|
],
|
|
@@ -1252,16 +1349,38 @@ const _abi = [
|
|
|
1252
1349
|
type: "uint256",
|
|
1253
1350
|
},
|
|
1254
1351
|
{
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1352
|
+
components: [
|
|
1353
|
+
{
|
|
1354
|
+
internalType: "address",
|
|
1355
|
+
name: "tokenOut",
|
|
1356
|
+
type: "address",
|
|
1357
|
+
},
|
|
1358
|
+
{
|
|
1359
|
+
internalType: "uint256",
|
|
1360
|
+
name: "minTokenOut",
|
|
1361
|
+
type: "uint256",
|
|
1362
|
+
},
|
|
1363
|
+
{
|
|
1364
|
+
internalType: "address",
|
|
1365
|
+
name: "tokenRedeemScy",
|
|
1366
|
+
type: "address",
|
|
1367
|
+
},
|
|
1368
|
+
{
|
|
1369
|
+
internalType: "bytes",
|
|
1370
|
+
name: "kybercall",
|
|
1371
|
+
type: "bytes",
|
|
1372
|
+
},
|
|
1373
|
+
],
|
|
1374
|
+
internalType: "struct TokenOutput",
|
|
1375
|
+
name: "output",
|
|
1376
|
+
type: "tuple",
|
|
1258
1377
|
},
|
|
1259
1378
|
],
|
|
1260
|
-
name: "
|
|
1379
|
+
name: "swapExactPtForToken",
|
|
1261
1380
|
outputs: [
|
|
1262
1381
|
{
|
|
1263
1382
|
internalType: "uint256",
|
|
1264
|
-
name: "
|
|
1383
|
+
name: "netTokenOut",
|
|
1265
1384
|
type: "uint256",
|
|
1266
1385
|
},
|
|
1267
1386
|
],
|
|
@@ -1282,7 +1401,7 @@ const _abi = [
|
|
|
1282
1401
|
},
|
|
1283
1402
|
{
|
|
1284
1403
|
internalType: "uint256",
|
|
1285
|
-
name: "
|
|
1404
|
+
name: "exactScyIn",
|
|
1286
1405
|
type: "uint256",
|
|
1287
1406
|
},
|
|
1288
1407
|
{
|
|
@@ -1290,11 +1409,6 @@ const _abi = [
|
|
|
1290
1409
|
name: "minPtOut",
|
|
1291
1410
|
type: "uint256",
|
|
1292
1411
|
},
|
|
1293
|
-
{
|
|
1294
|
-
internalType: "address[]",
|
|
1295
|
-
name: "path",
|
|
1296
|
-
type: "address[]",
|
|
1297
|
-
},
|
|
1298
1412
|
{
|
|
1299
1413
|
components: [
|
|
1300
1414
|
{
|
|
@@ -1328,7 +1442,7 @@ const _abi = [
|
|
|
1328
1442
|
type: "tuple",
|
|
1329
1443
|
},
|
|
1330
1444
|
],
|
|
1331
|
-
name: "
|
|
1445
|
+
name: "swapExactScyForPt",
|
|
1332
1446
|
outputs: [
|
|
1333
1447
|
{
|
|
1334
1448
|
internalType: "uint256",
|
|
@@ -1353,7 +1467,7 @@ const _abi = [
|
|
|
1353
1467
|
},
|
|
1354
1468
|
{
|
|
1355
1469
|
internalType: "uint256",
|
|
1356
|
-
name: "
|
|
1470
|
+
name: "exactScyIn",
|
|
1357
1471
|
type: "uint256",
|
|
1358
1472
|
},
|
|
1359
1473
|
{
|
|
@@ -1361,11 +1475,6 @@ const _abi = [
|
|
|
1361
1475
|
name: "minYtOut",
|
|
1362
1476
|
type: "uint256",
|
|
1363
1477
|
},
|
|
1364
|
-
{
|
|
1365
|
-
internalType: "address[]",
|
|
1366
|
-
name: "path",
|
|
1367
|
-
type: "address[]",
|
|
1368
|
-
},
|
|
1369
1478
|
{
|
|
1370
1479
|
components: [
|
|
1371
1480
|
{
|
|
@@ -1399,7 +1508,7 @@ const _abi = [
|
|
|
1399
1508
|
type: "tuple",
|
|
1400
1509
|
},
|
|
1401
1510
|
],
|
|
1402
|
-
name: "
|
|
1511
|
+
name: "swapExactScyForYt",
|
|
1403
1512
|
outputs: [
|
|
1404
1513
|
{
|
|
1405
1514
|
internalType: "uint256",
|
|
@@ -1422,11 +1531,6 @@ const _abi = [
|
|
|
1422
1531
|
name: "market",
|
|
1423
1532
|
type: "address",
|
|
1424
1533
|
},
|
|
1425
|
-
{
|
|
1426
|
-
internalType: "uint256",
|
|
1427
|
-
name: "exactScyIn",
|
|
1428
|
-
type: "uint256",
|
|
1429
|
-
},
|
|
1430
1534
|
{
|
|
1431
1535
|
internalType: "uint256",
|
|
1432
1536
|
name: "minPtOut",
|
|
@@ -1464,8 +1568,35 @@ const _abi = [
|
|
|
1464
1568
|
name: "guessPtOut",
|
|
1465
1569
|
type: "tuple",
|
|
1466
1570
|
},
|
|
1571
|
+
{
|
|
1572
|
+
components: [
|
|
1573
|
+
{
|
|
1574
|
+
internalType: "address",
|
|
1575
|
+
name: "tokenIn",
|
|
1576
|
+
type: "address",
|
|
1577
|
+
},
|
|
1578
|
+
{
|
|
1579
|
+
internalType: "uint256",
|
|
1580
|
+
name: "netTokenIn",
|
|
1581
|
+
type: "uint256",
|
|
1582
|
+
},
|
|
1583
|
+
{
|
|
1584
|
+
internalType: "address",
|
|
1585
|
+
name: "tokenMintScy",
|
|
1586
|
+
type: "address",
|
|
1587
|
+
},
|
|
1588
|
+
{
|
|
1589
|
+
internalType: "bytes",
|
|
1590
|
+
name: "kybercall",
|
|
1591
|
+
type: "bytes",
|
|
1592
|
+
},
|
|
1593
|
+
],
|
|
1594
|
+
internalType: "struct TokenInput",
|
|
1595
|
+
name: "input",
|
|
1596
|
+
type: "tuple",
|
|
1597
|
+
},
|
|
1467
1598
|
],
|
|
1468
|
-
name: "
|
|
1599
|
+
name: "swapExactTokenForPt",
|
|
1469
1600
|
outputs: [
|
|
1470
1601
|
{
|
|
1471
1602
|
internalType: "uint256",
|
|
@@ -1488,11 +1619,6 @@ const _abi = [
|
|
|
1488
1619
|
name: "market",
|
|
1489
1620
|
type: "address",
|
|
1490
1621
|
},
|
|
1491
|
-
{
|
|
1492
|
-
internalType: "uint256",
|
|
1493
|
-
name: "exactScyIn",
|
|
1494
|
-
type: "uint256",
|
|
1495
|
-
},
|
|
1496
1622
|
{
|
|
1497
1623
|
internalType: "uint256",
|
|
1498
1624
|
name: "minYtOut",
|
|
@@ -1530,8 +1656,35 @@ const _abi = [
|
|
|
1530
1656
|
name: "guessYtOut",
|
|
1531
1657
|
type: "tuple",
|
|
1532
1658
|
},
|
|
1659
|
+
{
|
|
1660
|
+
components: [
|
|
1661
|
+
{
|
|
1662
|
+
internalType: "address",
|
|
1663
|
+
name: "tokenIn",
|
|
1664
|
+
type: "address",
|
|
1665
|
+
},
|
|
1666
|
+
{
|
|
1667
|
+
internalType: "uint256",
|
|
1668
|
+
name: "netTokenIn",
|
|
1669
|
+
type: "uint256",
|
|
1670
|
+
},
|
|
1671
|
+
{
|
|
1672
|
+
internalType: "address",
|
|
1673
|
+
name: "tokenMintScy",
|
|
1674
|
+
type: "address",
|
|
1675
|
+
},
|
|
1676
|
+
{
|
|
1677
|
+
internalType: "bytes",
|
|
1678
|
+
name: "kybercall",
|
|
1679
|
+
type: "bytes",
|
|
1680
|
+
},
|
|
1681
|
+
],
|
|
1682
|
+
internalType: "struct TokenInput",
|
|
1683
|
+
name: "input",
|
|
1684
|
+
type: "tuple",
|
|
1685
|
+
},
|
|
1533
1686
|
],
|
|
1534
|
-
name: "
|
|
1687
|
+
name: "swapExactTokenForYt",
|
|
1535
1688
|
outputs: [
|
|
1536
1689
|
{
|
|
1537
1690
|
internalType: "uint256",
|
|
@@ -1561,20 +1714,15 @@ const _abi = [
|
|
|
1561
1714
|
},
|
|
1562
1715
|
{
|
|
1563
1716
|
internalType: "uint256",
|
|
1564
|
-
name: "
|
|
1717
|
+
name: "minScyOut",
|
|
1565
1718
|
type: "uint256",
|
|
1566
1719
|
},
|
|
1567
|
-
{
|
|
1568
|
-
internalType: "address[]",
|
|
1569
|
-
name: "path",
|
|
1570
|
-
type: "address[]",
|
|
1571
|
-
},
|
|
1572
1720
|
],
|
|
1573
|
-
name: "
|
|
1721
|
+
name: "swapExactYtForScy",
|
|
1574
1722
|
outputs: [
|
|
1575
1723
|
{
|
|
1576
1724
|
internalType: "uint256",
|
|
1577
|
-
name: "
|
|
1725
|
+
name: "netScyOut",
|
|
1578
1726
|
type: "uint256",
|
|
1579
1727
|
},
|
|
1580
1728
|
],
|
|
@@ -1595,20 +1743,42 @@ const _abi = [
|
|
|
1595
1743
|
},
|
|
1596
1744
|
{
|
|
1597
1745
|
internalType: "uint256",
|
|
1598
|
-
name: "
|
|
1746
|
+
name: "netYtIn",
|
|
1599
1747
|
type: "uint256",
|
|
1600
1748
|
},
|
|
1601
1749
|
{
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1750
|
+
components: [
|
|
1751
|
+
{
|
|
1752
|
+
internalType: "address",
|
|
1753
|
+
name: "tokenOut",
|
|
1754
|
+
type: "address",
|
|
1755
|
+
},
|
|
1756
|
+
{
|
|
1757
|
+
internalType: "uint256",
|
|
1758
|
+
name: "minTokenOut",
|
|
1759
|
+
type: "uint256",
|
|
1760
|
+
},
|
|
1761
|
+
{
|
|
1762
|
+
internalType: "address",
|
|
1763
|
+
name: "tokenRedeemScy",
|
|
1764
|
+
type: "address",
|
|
1765
|
+
},
|
|
1766
|
+
{
|
|
1767
|
+
internalType: "bytes",
|
|
1768
|
+
name: "kybercall",
|
|
1769
|
+
type: "bytes",
|
|
1770
|
+
},
|
|
1771
|
+
],
|
|
1772
|
+
internalType: "struct TokenOutput",
|
|
1773
|
+
name: "output",
|
|
1774
|
+
type: "tuple",
|
|
1605
1775
|
},
|
|
1606
1776
|
],
|
|
1607
|
-
name: "
|
|
1777
|
+
name: "swapExactYtForToken",
|
|
1608
1778
|
outputs: [
|
|
1609
1779
|
{
|
|
1610
1780
|
internalType: "uint256",
|
|
1611
|
-
name: "
|
|
1781
|
+
name: "netTokenOut",
|
|
1612
1782
|
type: "uint256",
|
|
1613
1783
|
},
|
|
1614
1784
|
],
|