@pendle/core-v2 0.8.0-beta → 0.8.0-beta-3
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 +50 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/WadRayMath.sol/WadRayMath.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/WadRayMath.sol/WadRayMath.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
- 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 +50 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.json +50 -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 +50 -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 +50 -2
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.json +48 -0
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.json +48 -0
- package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerReceiverUpg.sol/CelerReceiverUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerSenderUpg.sol/CelerSenderUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.json +0 -13
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchain.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchain.sol/PendleGaugeControllerMainchainUpg.json +2 -15
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechain.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechain.sol/PendleGaugeControllerSidechainUpg.json +2 -15
- 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 +60 -58
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.json +39 -24
- 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 +4 -29
- 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 +3 -22
- 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 +1 -20
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +30 -105
- 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/PendleERC20.sol/PendleERC20.json +2 -2
- package/build/artifacts/contracts/core/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleERC20Permit.sol/PendleERC20Permit.json +2 -2
- 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 -2
- 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 +137 -18
- 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 +206 -16
- package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.json +12 -117
- 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 +0 -148
- 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 +0 -148
- 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 +0 -173
- 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/IJoePair.sol/IJoePair.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IJoeRouter01.sol/IJoeRouter01.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IJoeRouter02.sol/IJoeRouter02.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.json +338 -0
- package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.json +68 -0
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +406 -0
- package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +28 -28
- 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 +31 -2
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.json +0 -19
- 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/IPVotingEscrow.sol/IPVotingEscrow.json +1 -7
- 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 +97 -16
- 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/IREDACTEDStaking.sol/IREDACTEDStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ISuperComposableYield.sol/ISuperComposableYield.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ISuperComposableYield.sol/ISuperComposableYield.json +48 -0
- package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWXBTRFLY.sol/IWXBTRFLY.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/interfaces/IYearnVault.sol/IYearnVault.json +74 -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/SCYIndex.sol/SCYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/SCY/SCYIndex.sol/SCYIndexLib.json +2 -2
- package/build/artifacts/contracts/libraries/SCY/SCYUtils.sol/SCYUtils.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/SCY/SCYUtils.sol/SCYUtils.json +2 -2
- package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
- package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
- package/build/artifacts/contracts/libraries/helpers/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/ArrayLib.sol/ArrayLib.json +2 -2
- package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.json +2 -2
- package/build/artifacts/contracts/libraries/helpers/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/MiniHelpers.sol/MiniHelpers.json +2 -2
- package/build/artifacts/contracts/libraries/helpers/SSTORE2Deployer.sol/SSTORE2Deployer.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/SSTORE2Deployer.sol/SSTORE2Deployer.json +2 -2
- package/build/artifacts/contracts/libraries/helpers/TokenHelper.sol/TokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.json +2 -2
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.json +2 -2
- package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.json +2 -2
- package/build/artifacts/contracts/libraries/math/Math.sol/Math.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/Math.sol/Math.json +2 -2
- package/build/artifacts/contracts/libraries/math/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/WeekMath.sol/WeekMath.json +2 -2
- package/build/artifacts/contracts/libraries/solmate/SSTORE2.sol/SSTORE2.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/solmate/SSTORE2.sol/SSTORE2.json +2 -2
- package/build/artifacts/contracts/libraries/traderjoe/JoeLibrary.sol/JoeLibrary.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/traderjoe/JoeLibrary.sol/JoeLibrary.json +2 -2
- package/build/artifacts/contracts/libraries/traderjoe/PendleJoeSwapHelperUpg.sol/PendleJoeSwapHelperUpg.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 +249 -4
- package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.dbg.json +1 -1
- package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.json +2 -2
- package/build/artifacts/contracts/periphery/PermissionsV2Upg.sol/PermissionsV2Upg.dbg.json +1 -1
- package/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultScy.sol +8 -4
- package/contracts/SuperComposableYield/base-implementations/SCYBase.sol +1 -1
- package/contracts/core/Market/PendleMarket.sol +2 -2
- package/contracts/core/YieldContracts/PendleYieldToken.sol +26 -0
- package/contracts/core/actions/ActionCallback.sol +1 -3
- package/contracts/core/actions/base/ActionSCYAndPTBase.sol +2 -2
- package/contracts/core/actions/base/ActionSCYAndYTBase.sol +4 -1
- package/contracts/interfaces/IPRouterStatic.sol +7 -2
- package/contracts/interfaces/IYearnVault.sol +5 -1
- package/contracts/libraries/SCY/SCYIndex.sol +8 -1
- package/contracts/libraries/SCY/SCYUtils.sol +16 -0
- package/contracts/libraries/math/MarketMathCore.sol +21 -25
- package/contracts/libraries/math/Math.sol +0 -5
- package/contracts/offchain-helpers/RouterStatic.sol +137 -5
- package/deployments/43113-core.json +10 -10
- package/deployments/43113-markets/benqi-market-0x9f080Af83E84099ED92b1b9b4B4BbE4400f2A3CB.json +7 -0
- package/deployments/80001-core.json +9 -9
- package/deployments/80001-markets/benqi-market-0x78699fa58C484e9867B8047A12E959ccB8BaD90E.json +7 -0
- package/package.json +1 -1
- package/typechain-types/ActionCore.ts +180 -38
- package/typechain-types/ActionSCYAndPTBase.ts +3 -129
- package/typechain-types/ActionSCYAndPYBase.ts +3 -129
- package/typechain-types/ActionSCYAndYTBase.ts +3 -149
- package/typechain-types/ActionYT.ts +31 -117
- package/typechain-types/IPActionCore.ts +271 -3
- package/typechain-types/IPActionYT.ts +63 -3
- package/typechain-types/IPAllAction.ts +329 -3
- package/typechain-types/IPMarket.ts +38 -38
- package/typechain-types/IPRouterStatic.ts +61 -16
- package/typechain-types/IPVeToken.ts +0 -31
- package/typechain-types/IPVotingEscrow.ts +3 -7
- package/typechain-types/IPYieldToken.ts +107 -30
- package/typechain-types/ISuperComposableYield.ts +78 -0
- package/typechain-types/IYearnVault.ts +100 -9
- package/typechain-types/PendleAaveV3SCY.ts +78 -0
- package/typechain-types/PendleERC4626SCY.ts +78 -0
- package/typechain-types/PendleGaugeControllerBaseUpg.ts +0 -13
- package/typechain-types/PendleGaugeControllerMainchainUpg.ts +0 -13
- package/typechain-types/PendleGaugeControllerSidechainUpg.ts +0 -13
- package/typechain-types/PendleMarket.ts +38 -142
- package/typechain-types/PendleQiTokenSCY.ts +78 -0
- package/typechain-types/PendleVotingControllerUpg.ts +139 -132
- package/typechain-types/PendleWstEthSCY.ts +78 -0
- package/typechain-types/PendleYearnVaultSCY.ts +78 -0
- package/typechain-types/PendleYieldToken.ts +186 -39
- package/typechain-types/RouterStatic.ts +402 -16
- package/typechain-types/SCYBase.ts +78 -0
- package/typechain-types/SCYBaseWithRewards.ts +78 -0
- package/typechain-types/VotingControllerStorageUpg.ts +93 -64
- package/typechain-types/VotingEscrowPendleMainchain.ts +11 -46
- package/typechain-types/VotingEscrowPendleSidechain.ts +8 -39
- package/typechain-types/VotingEscrowTokenBase.ts +8 -39
- package/typechain-types/factories/ActionCallback__factory.ts +1 -1
- package/typechain-types/factories/ActionCore__factory.ts +205 -15
- package/typechain-types/factories/ActionSCYAndPTBase__factory.ts +0 -148
- package/typechain-types/factories/ActionSCYAndPYBase__factory.ts +0 -148
- package/typechain-types/factories/ActionSCYAndYTBase__factory.ts +0 -173
- package/typechain-types/factories/ActionYT__factory.ts +11 -116
- package/typechain-types/factories/ERC20__factory.ts +1 -1
- package/typechain-types/factories/IPActionCore__factory.ts +338 -0
- package/typechain-types/factories/IPActionYT__factory.ts +68 -0
- package/typechain-types/factories/IPAllAction__factory.ts +406 -0
- package/typechain-types/factories/IPMarket__factory.ts +28 -28
- package/typechain-types/factories/IPRouterStatic__factory.ts +31 -2
- package/typechain-types/factories/IPVeToken__factory.ts +0 -19
- package/typechain-types/factories/IPVotingEscrow__factory.ts +1 -7
- package/typechain-types/factories/IPYieldToken__factory.ts +97 -16
- package/typechain-types/factories/ISuperComposableYield__factory.ts +48 -0
- package/typechain-types/factories/IYearnVault__factory.ts +74 -1
- package/typechain-types/factories/PendleAaveV3SCY__factory.ts +49 -1
- package/typechain-types/factories/PendleERC20Permit__factory.ts +1 -1
- package/typechain-types/factories/PendleERC20__factory.ts +1 -1
- package/typechain-types/factories/PendleERC4626SCY__factory.ts +49 -1
- package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +0 -13
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -14
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -14
- package/typechain-types/factories/PendleGovernanceManager__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleMarket__factory.ts +29 -104
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenSCY__factory.ts +49 -1
- package/typechain-types/factories/PendleRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +59 -57
- package/typechain-types/factories/PendleWstEthSCY__factory.ts +49 -1
- package/typechain-types/factories/PendleYearnVaultSCY__factory.ts +49 -1
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldToken__factory.ts +136 -17
- package/typechain-types/factories/RouterStatic__factory.ts +248 -3
- package/typechain-types/factories/SCYBaseWithRewards__factory.ts +48 -0
- package/typechain-types/factories/SCYBase__factory.ts +48 -0
- package/typechain-types/factories/VotingControllerStorageUpg__factory.ts +39 -24
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +3 -28
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +2 -21
- package/typechain-types/factories/VotingEscrowTokenBase__factory.ts +1 -20
- package/deployments/43113-markets/benqi-market-0xF3150c14F776c50C9D397054d38979c7B77FC41D.json +0 -7
- package/deployments/80001-markets/benqi-market-0x150b6eb90Bf636eC0c4328d13d1e1d4adDBAF904.json +0 -7
- package/typechain-types/CelerReceiver.ts +0 -267
- package/typechain-types/CelerSender.ts +0 -164
- package/typechain-types/IPMarketAddRemoveCallback.ts +0 -169
- package/typechain-types/IPVotingEscrowController.ts +0 -154
- package/typechain-types/PendleBtrflyScy.ts +0 -822
- package/typechain-types/PendleGaugeController.ts +0 -282
- package/typechain-types/PendleGaugeControllerMainchain.ts +0 -346
- package/typechain-types/PendleGaugeControllerSidechain.ts +0 -460
- package/typechain-types/PendleJoeLpSCY.ts +0 -835
- package/typechain-types/PendleVotingController.ts +0 -865
- package/typechain-types/VotingControllerStorage.ts +0 -410
- package/typechain-types/VotingEscrowController.ts +0 -154
- package/typechain-types/VotingEscrowToken.ts +0 -335
- package/typechain-types/factories/CelerReceiver__factory.ts +0 -140
- package/typechain-types/factories/CelerSender__factory.ts +0 -67
- package/typechain-types/factories/IPMarketAddRemoveCallback__factory.ts +0 -86
- package/typechain-types/factories/IPVotingEscrowController__factory.ts +0 -80
- package/typechain-types/factories/PendleBtrflyScy__factory.ts +0 -728
- package/typechain-types/factories/PendleGaugeControllerMainchain__factory.ts +0 -269
- package/typechain-types/factories/PendleGaugeControllerSidechain__factory.ts +0 -328
- package/typechain-types/factories/PendleGaugeController__factory.ts +0 -149
- package/typechain-types/factories/PendleJoeLpSCY__factory.ts +0 -732
- package/typechain-types/factories/PendleVotingController__factory.ts +0 -584
- package/typechain-types/factories/VotingControllerStorage__factory.ts +0 -298
- package/typechain-types/factories/VotingEscrowController__factory.ts +0 -80
- package/typechain-types/factories/VotingEscrowToken__factory.ts +0 -225
|
@@ -7,6 +7,412 @@ import { Provider } from "@ethersproject/providers";
|
|
|
7
7
|
import type { IPAllAction, IPAllActionInterface } from "../IPAllAction";
|
|
8
8
|
|
|
9
9
|
const _abi = [
|
|
10
|
+
{
|
|
11
|
+
anonymous: false,
|
|
12
|
+
inputs: [
|
|
13
|
+
{
|
|
14
|
+
indexed: true,
|
|
15
|
+
internalType: "address",
|
|
16
|
+
name: "caller",
|
|
17
|
+
type: "address",
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
indexed: true,
|
|
21
|
+
internalType: "address",
|
|
22
|
+
name: "market",
|
|
23
|
+
type: "address",
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
indexed: true,
|
|
27
|
+
internalType: "address",
|
|
28
|
+
name: "receiver",
|
|
29
|
+
type: "address",
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
indexed: false,
|
|
33
|
+
internalType: "uint256",
|
|
34
|
+
name: "scyUsed",
|
|
35
|
+
type: "uint256",
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
indexed: false,
|
|
39
|
+
internalType: "uint256",
|
|
40
|
+
name: "ptUsed",
|
|
41
|
+
type: "uint256",
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
indexed: false,
|
|
45
|
+
internalType: "uint256",
|
|
46
|
+
name: "lpOut",
|
|
47
|
+
type: "uint256",
|
|
48
|
+
},
|
|
49
|
+
],
|
|
50
|
+
name: "AddLiquidity",
|
|
51
|
+
type: "event",
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
anonymous: false,
|
|
55
|
+
inputs: [
|
|
56
|
+
{
|
|
57
|
+
indexed: true,
|
|
58
|
+
internalType: "address",
|
|
59
|
+
name: "caller",
|
|
60
|
+
type: "address",
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
indexed: true,
|
|
64
|
+
internalType: "address",
|
|
65
|
+
name: "receiver",
|
|
66
|
+
type: "address",
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
indexed: true,
|
|
70
|
+
internalType: "address",
|
|
71
|
+
name: "YT",
|
|
72
|
+
type: "address",
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
indexed: false,
|
|
76
|
+
internalType: "address",
|
|
77
|
+
name: "rawTokenIn",
|
|
78
|
+
type: "address",
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
indexed: false,
|
|
82
|
+
internalType: "uint256",
|
|
83
|
+
name: "netRawTokenIn",
|
|
84
|
+
type: "uint256",
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
indexed: false,
|
|
88
|
+
internalType: "uint256",
|
|
89
|
+
name: "netPyOut",
|
|
90
|
+
type: "uint256",
|
|
91
|
+
},
|
|
92
|
+
],
|
|
93
|
+
name: "MintPyFromRawToken",
|
|
94
|
+
type: "event",
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
anonymous: false,
|
|
98
|
+
inputs: [
|
|
99
|
+
{
|
|
100
|
+
indexed: true,
|
|
101
|
+
internalType: "address",
|
|
102
|
+
name: "caller",
|
|
103
|
+
type: "address",
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
indexed: true,
|
|
107
|
+
internalType: "address",
|
|
108
|
+
name: "receiver",
|
|
109
|
+
type: "address",
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
indexed: true,
|
|
113
|
+
internalType: "address",
|
|
114
|
+
name: "SCY",
|
|
115
|
+
type: "address",
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
indexed: false,
|
|
119
|
+
internalType: "address",
|
|
120
|
+
name: "rawTokenIn",
|
|
121
|
+
type: "address",
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
indexed: false,
|
|
125
|
+
internalType: "uint256",
|
|
126
|
+
name: "netRawTokenIn",
|
|
127
|
+
type: "uint256",
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
indexed: false,
|
|
131
|
+
internalType: "uint256",
|
|
132
|
+
name: "netScyOut",
|
|
133
|
+
type: "uint256",
|
|
134
|
+
},
|
|
135
|
+
],
|
|
136
|
+
name: "MintScyFromRawToken",
|
|
137
|
+
type: "event",
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
anonymous: false,
|
|
141
|
+
inputs: [
|
|
142
|
+
{
|
|
143
|
+
indexed: true,
|
|
144
|
+
internalType: "address",
|
|
145
|
+
name: "caller",
|
|
146
|
+
type: "address",
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
indexed: true,
|
|
150
|
+
internalType: "address",
|
|
151
|
+
name: "receiver",
|
|
152
|
+
type: "address",
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
indexed: true,
|
|
156
|
+
internalType: "address",
|
|
157
|
+
name: "YT",
|
|
158
|
+
type: "address",
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
indexed: false,
|
|
162
|
+
internalType: "uint256",
|
|
163
|
+
name: "netPyIn",
|
|
164
|
+
type: "uint256",
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
indexed: false,
|
|
168
|
+
internalType: "address",
|
|
169
|
+
name: "rawTokenOut",
|
|
170
|
+
type: "address",
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
indexed: false,
|
|
174
|
+
internalType: "uint256",
|
|
175
|
+
name: "netRawTokenOut",
|
|
176
|
+
type: "uint256",
|
|
177
|
+
},
|
|
178
|
+
],
|
|
179
|
+
name: "RedeemPyToRawToken",
|
|
180
|
+
type: "event",
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
anonymous: false,
|
|
184
|
+
inputs: [
|
|
185
|
+
{
|
|
186
|
+
indexed: true,
|
|
187
|
+
internalType: "address",
|
|
188
|
+
name: "caller",
|
|
189
|
+
type: "address",
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
indexed: true,
|
|
193
|
+
internalType: "address",
|
|
194
|
+
name: "receiver",
|
|
195
|
+
type: "address",
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
indexed: true,
|
|
199
|
+
internalType: "address",
|
|
200
|
+
name: "SCY",
|
|
201
|
+
type: "address",
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
indexed: false,
|
|
205
|
+
internalType: "uint256",
|
|
206
|
+
name: "netScyIn",
|
|
207
|
+
type: "uint256",
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
indexed: false,
|
|
211
|
+
internalType: "address",
|
|
212
|
+
name: "rawTokenOut",
|
|
213
|
+
type: "address",
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
indexed: false,
|
|
217
|
+
internalType: "uint256",
|
|
218
|
+
name: "netRawTokenOut",
|
|
219
|
+
type: "uint256",
|
|
220
|
+
},
|
|
221
|
+
],
|
|
222
|
+
name: "RedeemScyToRawToken",
|
|
223
|
+
type: "event",
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
anonymous: false,
|
|
227
|
+
inputs: [
|
|
228
|
+
{
|
|
229
|
+
indexed: true,
|
|
230
|
+
internalType: "address",
|
|
231
|
+
name: "caller",
|
|
232
|
+
type: "address",
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
indexed: true,
|
|
236
|
+
internalType: "address",
|
|
237
|
+
name: "market",
|
|
238
|
+
type: "address",
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
indexed: false,
|
|
242
|
+
internalType: "address",
|
|
243
|
+
name: "receiver",
|
|
244
|
+
type: "address",
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
indexed: false,
|
|
248
|
+
internalType: "uint256",
|
|
249
|
+
name: "lpIn",
|
|
250
|
+
type: "uint256",
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
indexed: false,
|
|
254
|
+
internalType: "uint256",
|
|
255
|
+
name: "amountPTOut",
|
|
256
|
+
type: "uint256",
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
indexed: false,
|
|
260
|
+
internalType: "uint256",
|
|
261
|
+
name: "amountSCYOut",
|
|
262
|
+
type: "uint256",
|
|
263
|
+
},
|
|
264
|
+
],
|
|
265
|
+
name: "RemoveLiquidity",
|
|
266
|
+
type: "event",
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
anonymous: false,
|
|
270
|
+
inputs: [
|
|
271
|
+
{
|
|
272
|
+
indexed: true,
|
|
273
|
+
internalType: "address",
|
|
274
|
+
name: "caller",
|
|
275
|
+
type: "address",
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
indexed: true,
|
|
279
|
+
internalType: "address",
|
|
280
|
+
name: "market",
|
|
281
|
+
type: "address",
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
indexed: true,
|
|
285
|
+
internalType: "address",
|
|
286
|
+
name: "rawToken",
|
|
287
|
+
type: "address",
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
indexed: false,
|
|
291
|
+
internalType: "address",
|
|
292
|
+
name: "receiver",
|
|
293
|
+
type: "address",
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
indexed: false,
|
|
297
|
+
internalType: "int256",
|
|
298
|
+
name: "amountPtToAccount",
|
|
299
|
+
type: "int256",
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
indexed: false,
|
|
303
|
+
internalType: "int256",
|
|
304
|
+
name: "amountRawTokenToAccount",
|
|
305
|
+
type: "int256",
|
|
306
|
+
},
|
|
307
|
+
],
|
|
308
|
+
name: "SwapPtAndRawToken",
|
|
309
|
+
type: "event",
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
anonymous: false,
|
|
313
|
+
inputs: [
|
|
314
|
+
{
|
|
315
|
+
indexed: true,
|
|
316
|
+
internalType: "address",
|
|
317
|
+
name: "caller",
|
|
318
|
+
type: "address",
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
indexed: true,
|
|
322
|
+
internalType: "address",
|
|
323
|
+
name: "market",
|
|
324
|
+
type: "address",
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
indexed: true,
|
|
328
|
+
internalType: "address",
|
|
329
|
+
name: "receiver",
|
|
330
|
+
type: "address",
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
indexed: false,
|
|
334
|
+
internalType: "int256",
|
|
335
|
+
name: "amountPtToAccount",
|
|
336
|
+
type: "int256",
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
indexed: false,
|
|
340
|
+
internalType: "int256",
|
|
341
|
+
name: "amountScyToAccount",
|
|
342
|
+
type: "int256",
|
|
343
|
+
},
|
|
344
|
+
],
|
|
345
|
+
name: "SwapPtAndScy",
|
|
346
|
+
type: "event",
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
anonymous: false,
|
|
350
|
+
inputs: [
|
|
351
|
+
{
|
|
352
|
+
indexed: true,
|
|
353
|
+
internalType: "address",
|
|
354
|
+
name: "user",
|
|
355
|
+
type: "address",
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
indexed: true,
|
|
359
|
+
internalType: "address",
|
|
360
|
+
name: "market",
|
|
361
|
+
type: "address",
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
indexed: true,
|
|
365
|
+
internalType: "address",
|
|
366
|
+
name: "rawToken",
|
|
367
|
+
type: "address",
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
indexed: false,
|
|
371
|
+
internalType: "int256",
|
|
372
|
+
name: "ytToAccount",
|
|
373
|
+
type: "int256",
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
indexed: false,
|
|
377
|
+
internalType: "int256",
|
|
378
|
+
name: "rawTokenToAccount",
|
|
379
|
+
type: "int256",
|
|
380
|
+
},
|
|
381
|
+
],
|
|
382
|
+
name: "SwapYTAndRawToken",
|
|
383
|
+
type: "event",
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
anonymous: false,
|
|
387
|
+
inputs: [
|
|
388
|
+
{
|
|
389
|
+
indexed: true,
|
|
390
|
+
internalType: "address",
|
|
391
|
+
name: "user",
|
|
392
|
+
type: "address",
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
indexed: true,
|
|
396
|
+
internalType: "address",
|
|
397
|
+
name: "market",
|
|
398
|
+
type: "address",
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
indexed: false,
|
|
402
|
+
internalType: "int256",
|
|
403
|
+
name: "ytToAccount",
|
|
404
|
+
type: "int256",
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
indexed: false,
|
|
408
|
+
internalType: "int256",
|
|
409
|
+
name: "scyToAccount",
|
|
410
|
+
type: "int256",
|
|
411
|
+
},
|
|
412
|
+
],
|
|
413
|
+
name: "SwapYTAndSCY",
|
|
414
|
+
type: "event",
|
|
415
|
+
},
|
|
10
416
|
{
|
|
11
417
|
inputs: [
|
|
12
418
|
{
|
|
@@ -13,29 +13,23 @@ const _abi = [
|
|
|
13
13
|
{
|
|
14
14
|
indexed: true,
|
|
15
15
|
internalType: "address",
|
|
16
|
-
name: "
|
|
16
|
+
name: "owner",
|
|
17
17
|
type: "address",
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
|
-
indexed:
|
|
21
|
-
internalType: "
|
|
22
|
-
name: "
|
|
23
|
-
type: "
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
indexed: false,
|
|
27
|
-
internalType: "uint256",
|
|
28
|
-
name: "scyUsed",
|
|
29
|
-
type: "uint256",
|
|
20
|
+
indexed: true,
|
|
21
|
+
internalType: "address",
|
|
22
|
+
name: "spender",
|
|
23
|
+
type: "address",
|
|
30
24
|
},
|
|
31
25
|
{
|
|
32
26
|
indexed: false,
|
|
33
27
|
internalType: "uint256",
|
|
34
|
-
name: "
|
|
28
|
+
name: "value",
|
|
35
29
|
type: "uint256",
|
|
36
30
|
},
|
|
37
31
|
],
|
|
38
|
-
name: "
|
|
32
|
+
name: "Approval",
|
|
39
33
|
type: "event",
|
|
40
34
|
},
|
|
41
35
|
{
|
|
@@ -44,23 +38,35 @@ const _abi = [
|
|
|
44
38
|
{
|
|
45
39
|
indexed: true,
|
|
46
40
|
internalType: "address",
|
|
47
|
-
name: "
|
|
41
|
+
name: "receiverScy",
|
|
48
42
|
type: "address",
|
|
49
43
|
},
|
|
50
44
|
{
|
|
51
45
|
indexed: true,
|
|
52
46
|
internalType: "address",
|
|
53
|
-
name: "
|
|
47
|
+
name: "receiverPt",
|
|
54
48
|
type: "address",
|
|
55
49
|
},
|
|
56
50
|
{
|
|
57
51
|
indexed: false,
|
|
58
52
|
internalType: "uint256",
|
|
59
|
-
name: "
|
|
53
|
+
name: "lpBurned",
|
|
54
|
+
type: "uint256",
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
indexed: false,
|
|
58
|
+
internalType: "uint256",
|
|
59
|
+
name: "scyToAccount",
|
|
60
|
+
type: "uint256",
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
indexed: false,
|
|
64
|
+
internalType: "uint256",
|
|
65
|
+
name: "ptToAccount",
|
|
60
66
|
type: "uint256",
|
|
61
67
|
},
|
|
62
68
|
],
|
|
63
|
-
name: "
|
|
69
|
+
name: "Burn",
|
|
64
70
|
type: "event",
|
|
65
71
|
},
|
|
66
72
|
{
|
|
@@ -69,35 +75,29 @@ const _abi = [
|
|
|
69
75
|
{
|
|
70
76
|
indexed: true,
|
|
71
77
|
internalType: "address",
|
|
72
|
-
name: "
|
|
73
|
-
type: "address",
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
indexed: true,
|
|
77
|
-
internalType: "address",
|
|
78
|
-
name: "receiverPt",
|
|
78
|
+
name: "receiver",
|
|
79
79
|
type: "address",
|
|
80
80
|
},
|
|
81
81
|
{
|
|
82
82
|
indexed: false,
|
|
83
83
|
internalType: "uint256",
|
|
84
|
-
name: "
|
|
84
|
+
name: "lpMinted",
|
|
85
85
|
type: "uint256",
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
88
|
indexed: false,
|
|
89
89
|
internalType: "uint256",
|
|
90
|
-
name: "
|
|
90
|
+
name: "scyUsed",
|
|
91
91
|
type: "uint256",
|
|
92
92
|
},
|
|
93
93
|
{
|
|
94
94
|
indexed: false,
|
|
95
95
|
internalType: "uint256",
|
|
96
|
-
name: "
|
|
96
|
+
name: "ptUsed",
|
|
97
97
|
type: "uint256",
|
|
98
98
|
},
|
|
99
99
|
],
|
|
100
|
-
name: "
|
|
100
|
+
name: "Mint",
|
|
101
101
|
type: "event",
|
|
102
102
|
},
|
|
103
103
|
{
|
|
@@ -779,7 +779,7 @@ const _abi = [
|
|
|
779
779
|
type: "uint256",
|
|
780
780
|
},
|
|
781
781
|
],
|
|
782
|
-
name: "
|
|
782
|
+
name: "swapExactPtForScyStatic",
|
|
783
783
|
outputs: [
|
|
784
784
|
{
|
|
785
785
|
internalType: "uint256",
|
|
@@ -795,6 +795,35 @@ const _abi = [
|
|
|
795
795
|
stateMutability: "view",
|
|
796
796
|
type: "function",
|
|
797
797
|
},
|
|
798
|
+
{
|
|
799
|
+
inputs: [
|
|
800
|
+
{
|
|
801
|
+
internalType: "address",
|
|
802
|
+
name: "market",
|
|
803
|
+
type: "address",
|
|
804
|
+
},
|
|
805
|
+
{
|
|
806
|
+
internalType: "uint256",
|
|
807
|
+
name: "exactScyIn",
|
|
808
|
+
type: "uint256",
|
|
809
|
+
},
|
|
810
|
+
],
|
|
811
|
+
name: "swapExactScyForPtStatic",
|
|
812
|
+
outputs: [
|
|
813
|
+
{
|
|
814
|
+
internalType: "uint256",
|
|
815
|
+
name: "netPtOut",
|
|
816
|
+
type: "uint256",
|
|
817
|
+
},
|
|
818
|
+
{
|
|
819
|
+
internalType: "uint256",
|
|
820
|
+
name: "netScyFee",
|
|
821
|
+
type: "uint256",
|
|
822
|
+
},
|
|
823
|
+
],
|
|
824
|
+
stateMutability: "view",
|
|
825
|
+
type: "function",
|
|
826
|
+
},
|
|
798
827
|
{
|
|
799
828
|
inputs: [
|
|
800
829
|
{
|
|
@@ -808,7 +837,7 @@ const _abi = [
|
|
|
808
837
|
type: "uint256",
|
|
809
838
|
},
|
|
810
839
|
],
|
|
811
|
-
name: "
|
|
840
|
+
name: "swapScyForExactPtStatic",
|
|
812
841
|
outputs: [
|
|
813
842
|
{
|
|
814
843
|
internalType: "uint256",
|
|
@@ -26,25 +26,6 @@ const _abi = [
|
|
|
26
26
|
stateMutability: "view",
|
|
27
27
|
type: "function",
|
|
28
28
|
},
|
|
29
|
-
{
|
|
30
|
-
inputs: [
|
|
31
|
-
{
|
|
32
|
-
internalType: "address",
|
|
33
|
-
name: "user",
|
|
34
|
-
type: "address",
|
|
35
|
-
},
|
|
36
|
-
],
|
|
37
|
-
name: "isPositionExpired",
|
|
38
|
-
outputs: [
|
|
39
|
-
{
|
|
40
|
-
internalType: "bool",
|
|
41
|
-
name: "",
|
|
42
|
-
type: "bool",
|
|
43
|
-
},
|
|
44
|
-
],
|
|
45
|
-
stateMutability: "view",
|
|
46
|
-
type: "function",
|
|
47
|
-
},
|
|
48
29
|
{
|
|
49
30
|
inputs: [
|
|
50
31
|
{
|