@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
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
Signer,
|
|
14
14
|
utils,
|
|
15
15
|
} from "ethers";
|
|
16
|
-
import { FunctionFragment, Result } from "@ethersproject/abi";
|
|
16
|
+
import { FunctionFragment, Result, EventFragment } from "@ethersproject/abi";
|
|
17
17
|
import { Listener, Provider } from "@ethersproject/providers";
|
|
18
18
|
import type {
|
|
19
19
|
TypedEventFilter,
|
|
@@ -112,9 +112,41 @@ export interface IPActionYTInterface extends utils.Interface {
|
|
|
112
112
|
data: BytesLike
|
|
113
113
|
): Result;
|
|
114
114
|
|
|
115
|
-
events: {
|
|
115
|
+
events: {
|
|
116
|
+
"SwapYTAndRawToken(address,address,address,int256,int256)": EventFragment;
|
|
117
|
+
"SwapYTAndSCY(address,address,int256,int256)": EventFragment;
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
getEvent(nameOrSignatureOrTopic: "SwapYTAndRawToken"): EventFragment;
|
|
121
|
+
getEvent(nameOrSignatureOrTopic: "SwapYTAndSCY"): EventFragment;
|
|
116
122
|
}
|
|
117
123
|
|
|
124
|
+
export type SwapYTAndRawTokenEvent = TypedEvent<
|
|
125
|
+
[string, string, string, BigNumber, BigNumber],
|
|
126
|
+
{
|
|
127
|
+
user: string;
|
|
128
|
+
market: string;
|
|
129
|
+
rawToken: string;
|
|
130
|
+
ytToAccount: BigNumber;
|
|
131
|
+
rawTokenToAccount: BigNumber;
|
|
132
|
+
}
|
|
133
|
+
>;
|
|
134
|
+
|
|
135
|
+
export type SwapYTAndRawTokenEventFilter =
|
|
136
|
+
TypedEventFilter<SwapYTAndRawTokenEvent>;
|
|
137
|
+
|
|
138
|
+
export type SwapYTAndSCYEvent = TypedEvent<
|
|
139
|
+
[string, string, BigNumber, BigNumber],
|
|
140
|
+
{
|
|
141
|
+
user: string;
|
|
142
|
+
market: string;
|
|
143
|
+
ytToAccount: BigNumber;
|
|
144
|
+
scyToAccount: BigNumber;
|
|
145
|
+
}
|
|
146
|
+
>;
|
|
147
|
+
|
|
148
|
+
export type SwapYTAndSCYEventFilter = TypedEventFilter<SwapYTAndSCYEvent>;
|
|
149
|
+
|
|
118
150
|
export interface IPActionYT extends BaseContract {
|
|
119
151
|
contractName: "IPActionYT";
|
|
120
152
|
connect(signerOrProvider: Signer | Provider | string): this;
|
|
@@ -305,7 +337,35 @@ export interface IPActionYT extends BaseContract {
|
|
|
305
337
|
): Promise<BigNumber>;
|
|
306
338
|
};
|
|
307
339
|
|
|
308
|
-
filters: {
|
|
340
|
+
filters: {
|
|
341
|
+
"SwapYTAndRawToken(address,address,address,int256,int256)"(
|
|
342
|
+
user?: string | null,
|
|
343
|
+
market?: string | null,
|
|
344
|
+
rawToken?: string | null,
|
|
345
|
+
ytToAccount?: null,
|
|
346
|
+
rawTokenToAccount?: null
|
|
347
|
+
): SwapYTAndRawTokenEventFilter;
|
|
348
|
+
SwapYTAndRawToken(
|
|
349
|
+
user?: string | null,
|
|
350
|
+
market?: string | null,
|
|
351
|
+
rawToken?: string | null,
|
|
352
|
+
ytToAccount?: null,
|
|
353
|
+
rawTokenToAccount?: null
|
|
354
|
+
): SwapYTAndRawTokenEventFilter;
|
|
355
|
+
|
|
356
|
+
"SwapYTAndSCY(address,address,int256,int256)"(
|
|
357
|
+
user?: string | null,
|
|
358
|
+
market?: string | null,
|
|
359
|
+
ytToAccount?: null,
|
|
360
|
+
scyToAccount?: null
|
|
361
|
+
): SwapYTAndSCYEventFilter;
|
|
362
|
+
SwapYTAndSCY(
|
|
363
|
+
user?: string | null,
|
|
364
|
+
market?: string | null,
|
|
365
|
+
ytToAccount?: null,
|
|
366
|
+
scyToAccount?: null
|
|
367
|
+
): SwapYTAndSCYEventFilter;
|
|
368
|
+
};
|
|
309
369
|
|
|
310
370
|
estimateGas: {
|
|
311
371
|
swapExactRawTokenForYt(
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
Signer,
|
|
14
14
|
utils,
|
|
15
15
|
} from "ethers";
|
|
16
|
-
import { FunctionFragment, Result } from "@ethersproject/abi";
|
|
16
|
+
import { FunctionFragment, Result, EventFragment } from "@ethersproject/abi";
|
|
17
17
|
import { Listener, Provider } from "@ethersproject/providers";
|
|
18
18
|
import type {
|
|
19
19
|
TypedEventFilter,
|
|
@@ -236,9 +236,173 @@ export interface IPAllActionInterface extends utils.Interface {
|
|
|
236
236
|
data: BytesLike
|
|
237
237
|
): Result;
|
|
238
238
|
|
|
239
|
-
events: {
|
|
239
|
+
events: {
|
|
240
|
+
"AddLiquidity(address,address,address,uint256,uint256,uint256)": EventFragment;
|
|
241
|
+
"MintPyFromRawToken(address,address,address,address,uint256,uint256)": EventFragment;
|
|
242
|
+
"MintScyFromRawToken(address,address,address,address,uint256,uint256)": EventFragment;
|
|
243
|
+
"RedeemPyToRawToken(address,address,address,uint256,address,uint256)": EventFragment;
|
|
244
|
+
"RedeemScyToRawToken(address,address,address,uint256,address,uint256)": EventFragment;
|
|
245
|
+
"RemoveLiquidity(address,address,address,uint256,uint256,uint256)": EventFragment;
|
|
246
|
+
"SwapPtAndRawToken(address,address,address,address,int256,int256)": EventFragment;
|
|
247
|
+
"SwapPtAndScy(address,address,address,int256,int256)": EventFragment;
|
|
248
|
+
"SwapYTAndRawToken(address,address,address,int256,int256)": EventFragment;
|
|
249
|
+
"SwapYTAndSCY(address,address,int256,int256)": EventFragment;
|
|
250
|
+
};
|
|
251
|
+
|
|
252
|
+
getEvent(nameOrSignatureOrTopic: "AddLiquidity"): EventFragment;
|
|
253
|
+
getEvent(nameOrSignatureOrTopic: "MintPyFromRawToken"): EventFragment;
|
|
254
|
+
getEvent(nameOrSignatureOrTopic: "MintScyFromRawToken"): EventFragment;
|
|
255
|
+
getEvent(nameOrSignatureOrTopic: "RedeemPyToRawToken"): EventFragment;
|
|
256
|
+
getEvent(nameOrSignatureOrTopic: "RedeemScyToRawToken"): EventFragment;
|
|
257
|
+
getEvent(nameOrSignatureOrTopic: "RemoveLiquidity"): EventFragment;
|
|
258
|
+
getEvent(nameOrSignatureOrTopic: "SwapPtAndRawToken"): EventFragment;
|
|
259
|
+
getEvent(nameOrSignatureOrTopic: "SwapPtAndScy"): EventFragment;
|
|
260
|
+
getEvent(nameOrSignatureOrTopic: "SwapYTAndRawToken"): EventFragment;
|
|
261
|
+
getEvent(nameOrSignatureOrTopic: "SwapYTAndSCY"): EventFragment;
|
|
240
262
|
}
|
|
241
263
|
|
|
264
|
+
export type AddLiquidityEvent = TypedEvent<
|
|
265
|
+
[string, string, string, BigNumber, BigNumber, BigNumber],
|
|
266
|
+
{
|
|
267
|
+
caller: string;
|
|
268
|
+
market: string;
|
|
269
|
+
receiver: string;
|
|
270
|
+
scyUsed: BigNumber;
|
|
271
|
+
ptUsed: BigNumber;
|
|
272
|
+
lpOut: BigNumber;
|
|
273
|
+
}
|
|
274
|
+
>;
|
|
275
|
+
|
|
276
|
+
export type AddLiquidityEventFilter = TypedEventFilter<AddLiquidityEvent>;
|
|
277
|
+
|
|
278
|
+
export type MintPyFromRawTokenEvent = TypedEvent<
|
|
279
|
+
[string, string, string, string, BigNumber, BigNumber],
|
|
280
|
+
{
|
|
281
|
+
caller: string;
|
|
282
|
+
receiver: string;
|
|
283
|
+
YT: string;
|
|
284
|
+
rawTokenIn: string;
|
|
285
|
+
netRawTokenIn: BigNumber;
|
|
286
|
+
netPyOut: BigNumber;
|
|
287
|
+
}
|
|
288
|
+
>;
|
|
289
|
+
|
|
290
|
+
export type MintPyFromRawTokenEventFilter =
|
|
291
|
+
TypedEventFilter<MintPyFromRawTokenEvent>;
|
|
292
|
+
|
|
293
|
+
export type MintScyFromRawTokenEvent = TypedEvent<
|
|
294
|
+
[string, string, string, string, BigNumber, BigNumber],
|
|
295
|
+
{
|
|
296
|
+
caller: string;
|
|
297
|
+
receiver: string;
|
|
298
|
+
SCY: string;
|
|
299
|
+
rawTokenIn: string;
|
|
300
|
+
netRawTokenIn: BigNumber;
|
|
301
|
+
netScyOut: BigNumber;
|
|
302
|
+
}
|
|
303
|
+
>;
|
|
304
|
+
|
|
305
|
+
export type MintScyFromRawTokenEventFilter =
|
|
306
|
+
TypedEventFilter<MintScyFromRawTokenEvent>;
|
|
307
|
+
|
|
308
|
+
export type RedeemPyToRawTokenEvent = TypedEvent<
|
|
309
|
+
[string, string, string, BigNumber, string, BigNumber],
|
|
310
|
+
{
|
|
311
|
+
caller: string;
|
|
312
|
+
receiver: string;
|
|
313
|
+
YT: string;
|
|
314
|
+
netPyIn: BigNumber;
|
|
315
|
+
rawTokenOut: string;
|
|
316
|
+
netRawTokenOut: BigNumber;
|
|
317
|
+
}
|
|
318
|
+
>;
|
|
319
|
+
|
|
320
|
+
export type RedeemPyToRawTokenEventFilter =
|
|
321
|
+
TypedEventFilter<RedeemPyToRawTokenEvent>;
|
|
322
|
+
|
|
323
|
+
export type RedeemScyToRawTokenEvent = TypedEvent<
|
|
324
|
+
[string, string, string, BigNumber, string, BigNumber],
|
|
325
|
+
{
|
|
326
|
+
caller: string;
|
|
327
|
+
receiver: string;
|
|
328
|
+
SCY: string;
|
|
329
|
+
netScyIn: BigNumber;
|
|
330
|
+
rawTokenOut: string;
|
|
331
|
+
netRawTokenOut: BigNumber;
|
|
332
|
+
}
|
|
333
|
+
>;
|
|
334
|
+
|
|
335
|
+
export type RedeemScyToRawTokenEventFilter =
|
|
336
|
+
TypedEventFilter<RedeemScyToRawTokenEvent>;
|
|
337
|
+
|
|
338
|
+
export type RemoveLiquidityEvent = TypedEvent<
|
|
339
|
+
[string, string, string, BigNumber, BigNumber, BigNumber],
|
|
340
|
+
{
|
|
341
|
+
caller: string;
|
|
342
|
+
market: string;
|
|
343
|
+
receiver: string;
|
|
344
|
+
lpIn: BigNumber;
|
|
345
|
+
amountPTOut: BigNumber;
|
|
346
|
+
amountSCYOut: BigNumber;
|
|
347
|
+
}
|
|
348
|
+
>;
|
|
349
|
+
|
|
350
|
+
export type RemoveLiquidityEventFilter = TypedEventFilter<RemoveLiquidityEvent>;
|
|
351
|
+
|
|
352
|
+
export type SwapPtAndRawTokenEvent = TypedEvent<
|
|
353
|
+
[string, string, string, string, BigNumber, BigNumber],
|
|
354
|
+
{
|
|
355
|
+
caller: string;
|
|
356
|
+
market: string;
|
|
357
|
+
rawToken: string;
|
|
358
|
+
receiver: string;
|
|
359
|
+
amountPtToAccount: BigNumber;
|
|
360
|
+
amountRawTokenToAccount: BigNumber;
|
|
361
|
+
}
|
|
362
|
+
>;
|
|
363
|
+
|
|
364
|
+
export type SwapPtAndRawTokenEventFilter =
|
|
365
|
+
TypedEventFilter<SwapPtAndRawTokenEvent>;
|
|
366
|
+
|
|
367
|
+
export type SwapPtAndScyEvent = TypedEvent<
|
|
368
|
+
[string, string, string, BigNumber, BigNumber],
|
|
369
|
+
{
|
|
370
|
+
caller: string;
|
|
371
|
+
market: string;
|
|
372
|
+
receiver: string;
|
|
373
|
+
amountPtToAccount: BigNumber;
|
|
374
|
+
amountScyToAccount: BigNumber;
|
|
375
|
+
}
|
|
376
|
+
>;
|
|
377
|
+
|
|
378
|
+
export type SwapPtAndScyEventFilter = TypedEventFilter<SwapPtAndScyEvent>;
|
|
379
|
+
|
|
380
|
+
export type SwapYTAndRawTokenEvent = TypedEvent<
|
|
381
|
+
[string, string, string, BigNumber, BigNumber],
|
|
382
|
+
{
|
|
383
|
+
user: string;
|
|
384
|
+
market: string;
|
|
385
|
+
rawToken: string;
|
|
386
|
+
ytToAccount: BigNumber;
|
|
387
|
+
rawTokenToAccount: BigNumber;
|
|
388
|
+
}
|
|
389
|
+
>;
|
|
390
|
+
|
|
391
|
+
export type SwapYTAndRawTokenEventFilter =
|
|
392
|
+
TypedEventFilter<SwapYTAndRawTokenEvent>;
|
|
393
|
+
|
|
394
|
+
export type SwapYTAndSCYEvent = TypedEvent<
|
|
395
|
+
[string, string, BigNumber, BigNumber],
|
|
396
|
+
{
|
|
397
|
+
user: string;
|
|
398
|
+
market: string;
|
|
399
|
+
ytToAccount: BigNumber;
|
|
400
|
+
scyToAccount: BigNumber;
|
|
401
|
+
}
|
|
402
|
+
>;
|
|
403
|
+
|
|
404
|
+
export type SwapYTAndSCYEventFilter = TypedEventFilter<SwapYTAndSCYEvent>;
|
|
405
|
+
|
|
242
406
|
export interface IPAllAction extends BaseContract {
|
|
243
407
|
contractName: "IPAllAction";
|
|
244
408
|
connect(signerOrProvider: Signer | Provider | string): this;
|
|
@@ -789,7 +953,169 @@ export interface IPAllAction extends BaseContract {
|
|
|
789
953
|
): Promise<BigNumber>;
|
|
790
954
|
};
|
|
791
955
|
|
|
792
|
-
filters: {
|
|
956
|
+
filters: {
|
|
957
|
+
"AddLiquidity(address,address,address,uint256,uint256,uint256)"(
|
|
958
|
+
caller?: string | null,
|
|
959
|
+
market?: string | null,
|
|
960
|
+
receiver?: string | null,
|
|
961
|
+
scyUsed?: null,
|
|
962
|
+
ptUsed?: null,
|
|
963
|
+
lpOut?: null
|
|
964
|
+
): AddLiquidityEventFilter;
|
|
965
|
+
AddLiquidity(
|
|
966
|
+
caller?: string | null,
|
|
967
|
+
market?: string | null,
|
|
968
|
+
receiver?: string | null,
|
|
969
|
+
scyUsed?: null,
|
|
970
|
+
ptUsed?: null,
|
|
971
|
+
lpOut?: null
|
|
972
|
+
): AddLiquidityEventFilter;
|
|
973
|
+
|
|
974
|
+
"MintPyFromRawToken(address,address,address,address,uint256,uint256)"(
|
|
975
|
+
caller?: string | null,
|
|
976
|
+
receiver?: string | null,
|
|
977
|
+
YT?: string | null,
|
|
978
|
+
rawTokenIn?: null,
|
|
979
|
+
netRawTokenIn?: null,
|
|
980
|
+
netPyOut?: null
|
|
981
|
+
): MintPyFromRawTokenEventFilter;
|
|
982
|
+
MintPyFromRawToken(
|
|
983
|
+
caller?: string | null,
|
|
984
|
+
receiver?: string | null,
|
|
985
|
+
YT?: string | null,
|
|
986
|
+
rawTokenIn?: null,
|
|
987
|
+
netRawTokenIn?: null,
|
|
988
|
+
netPyOut?: null
|
|
989
|
+
): MintPyFromRawTokenEventFilter;
|
|
990
|
+
|
|
991
|
+
"MintScyFromRawToken(address,address,address,address,uint256,uint256)"(
|
|
992
|
+
caller?: string | null,
|
|
993
|
+
receiver?: string | null,
|
|
994
|
+
SCY?: string | null,
|
|
995
|
+
rawTokenIn?: null,
|
|
996
|
+
netRawTokenIn?: null,
|
|
997
|
+
netScyOut?: null
|
|
998
|
+
): MintScyFromRawTokenEventFilter;
|
|
999
|
+
MintScyFromRawToken(
|
|
1000
|
+
caller?: string | null,
|
|
1001
|
+
receiver?: string | null,
|
|
1002
|
+
SCY?: string | null,
|
|
1003
|
+
rawTokenIn?: null,
|
|
1004
|
+
netRawTokenIn?: null,
|
|
1005
|
+
netScyOut?: null
|
|
1006
|
+
): MintScyFromRawTokenEventFilter;
|
|
1007
|
+
|
|
1008
|
+
"RedeemPyToRawToken(address,address,address,uint256,address,uint256)"(
|
|
1009
|
+
caller?: string | null,
|
|
1010
|
+
receiver?: string | null,
|
|
1011
|
+
YT?: string | null,
|
|
1012
|
+
netPyIn?: null,
|
|
1013
|
+
rawTokenOut?: null,
|
|
1014
|
+
netRawTokenOut?: null
|
|
1015
|
+
): RedeemPyToRawTokenEventFilter;
|
|
1016
|
+
RedeemPyToRawToken(
|
|
1017
|
+
caller?: string | null,
|
|
1018
|
+
receiver?: string | null,
|
|
1019
|
+
YT?: string | null,
|
|
1020
|
+
netPyIn?: null,
|
|
1021
|
+
rawTokenOut?: null,
|
|
1022
|
+
netRawTokenOut?: null
|
|
1023
|
+
): RedeemPyToRawTokenEventFilter;
|
|
1024
|
+
|
|
1025
|
+
"RedeemScyToRawToken(address,address,address,uint256,address,uint256)"(
|
|
1026
|
+
caller?: string | null,
|
|
1027
|
+
receiver?: string | null,
|
|
1028
|
+
SCY?: string | null,
|
|
1029
|
+
netScyIn?: null,
|
|
1030
|
+
rawTokenOut?: null,
|
|
1031
|
+
netRawTokenOut?: null
|
|
1032
|
+
): RedeemScyToRawTokenEventFilter;
|
|
1033
|
+
RedeemScyToRawToken(
|
|
1034
|
+
caller?: string | null,
|
|
1035
|
+
receiver?: string | null,
|
|
1036
|
+
SCY?: string | null,
|
|
1037
|
+
netScyIn?: null,
|
|
1038
|
+
rawTokenOut?: null,
|
|
1039
|
+
netRawTokenOut?: null
|
|
1040
|
+
): RedeemScyToRawTokenEventFilter;
|
|
1041
|
+
|
|
1042
|
+
"RemoveLiquidity(address,address,address,uint256,uint256,uint256)"(
|
|
1043
|
+
caller?: string | null,
|
|
1044
|
+
market?: string | null,
|
|
1045
|
+
receiver?: null,
|
|
1046
|
+
lpIn?: null,
|
|
1047
|
+
amountPTOut?: null,
|
|
1048
|
+
amountSCYOut?: null
|
|
1049
|
+
): RemoveLiquidityEventFilter;
|
|
1050
|
+
RemoveLiquidity(
|
|
1051
|
+
caller?: string | null,
|
|
1052
|
+
market?: string | null,
|
|
1053
|
+
receiver?: null,
|
|
1054
|
+
lpIn?: null,
|
|
1055
|
+
amountPTOut?: null,
|
|
1056
|
+
amountSCYOut?: null
|
|
1057
|
+
): RemoveLiquidityEventFilter;
|
|
1058
|
+
|
|
1059
|
+
"SwapPtAndRawToken(address,address,address,address,int256,int256)"(
|
|
1060
|
+
caller?: string | null,
|
|
1061
|
+
market?: string | null,
|
|
1062
|
+
rawToken?: string | null,
|
|
1063
|
+
receiver?: null,
|
|
1064
|
+
amountPtToAccount?: null,
|
|
1065
|
+
amountRawTokenToAccount?: null
|
|
1066
|
+
): SwapPtAndRawTokenEventFilter;
|
|
1067
|
+
SwapPtAndRawToken(
|
|
1068
|
+
caller?: string | null,
|
|
1069
|
+
market?: string | null,
|
|
1070
|
+
rawToken?: string | null,
|
|
1071
|
+
receiver?: null,
|
|
1072
|
+
amountPtToAccount?: null,
|
|
1073
|
+
amountRawTokenToAccount?: null
|
|
1074
|
+
): SwapPtAndRawTokenEventFilter;
|
|
1075
|
+
|
|
1076
|
+
"SwapPtAndScy(address,address,address,int256,int256)"(
|
|
1077
|
+
caller?: string | null,
|
|
1078
|
+
market?: string | null,
|
|
1079
|
+
receiver?: string | null,
|
|
1080
|
+
amountPtToAccount?: null,
|
|
1081
|
+
amountScyToAccount?: null
|
|
1082
|
+
): SwapPtAndScyEventFilter;
|
|
1083
|
+
SwapPtAndScy(
|
|
1084
|
+
caller?: string | null,
|
|
1085
|
+
market?: string | null,
|
|
1086
|
+
receiver?: string | null,
|
|
1087
|
+
amountPtToAccount?: null,
|
|
1088
|
+
amountScyToAccount?: null
|
|
1089
|
+
): SwapPtAndScyEventFilter;
|
|
1090
|
+
|
|
1091
|
+
"SwapYTAndRawToken(address,address,address,int256,int256)"(
|
|
1092
|
+
user?: string | null,
|
|
1093
|
+
market?: string | null,
|
|
1094
|
+
rawToken?: string | null,
|
|
1095
|
+
ytToAccount?: null,
|
|
1096
|
+
rawTokenToAccount?: null
|
|
1097
|
+
): SwapYTAndRawTokenEventFilter;
|
|
1098
|
+
SwapYTAndRawToken(
|
|
1099
|
+
user?: string | null,
|
|
1100
|
+
market?: string | null,
|
|
1101
|
+
rawToken?: string | null,
|
|
1102
|
+
ytToAccount?: null,
|
|
1103
|
+
rawTokenToAccount?: null
|
|
1104
|
+
): SwapYTAndRawTokenEventFilter;
|
|
1105
|
+
|
|
1106
|
+
"SwapYTAndSCY(address,address,int256,int256)"(
|
|
1107
|
+
user?: string | null,
|
|
1108
|
+
market?: string | null,
|
|
1109
|
+
ytToAccount?: null,
|
|
1110
|
+
scyToAccount?: null
|
|
1111
|
+
): SwapYTAndSCYEventFilter;
|
|
1112
|
+
SwapYTAndSCY(
|
|
1113
|
+
user?: string | null,
|
|
1114
|
+
market?: string | null,
|
|
1115
|
+
ytToAccount?: null,
|
|
1116
|
+
scyToAccount?: null
|
|
1117
|
+
): SwapYTAndSCYEventFilter;
|
|
1118
|
+
};
|
|
793
1119
|
|
|
794
1120
|
estimateGas: {
|
|
795
1121
|
addLiquidity(
|
|
@@ -178,34 +178,22 @@ export interface IPMarketInterface extends utils.Interface {
|
|
|
178
178
|
): Result;
|
|
179
179
|
|
|
180
180
|
events: {
|
|
181
|
-
"AddLiquidity(address,uint256,uint256,uint256)": EventFragment;
|
|
182
181
|
"Approval(address,address,uint256)": EventFragment;
|
|
183
|
-
"
|
|
182
|
+
"Burn(address,address,uint256,uint256,uint256)": EventFragment;
|
|
183
|
+
"Mint(address,uint256,uint256,uint256)": EventFragment;
|
|
184
184
|
"Swap(address,int256,int256,uint256)": EventFragment;
|
|
185
185
|
"Transfer(address,address,uint256)": EventFragment;
|
|
186
186
|
"UpdateImpliedRate(uint256,uint256)": EventFragment;
|
|
187
187
|
};
|
|
188
188
|
|
|
189
|
-
getEvent(nameOrSignatureOrTopic: "AddLiquidity"): EventFragment;
|
|
190
189
|
getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment;
|
|
191
|
-
getEvent(nameOrSignatureOrTopic: "
|
|
190
|
+
getEvent(nameOrSignatureOrTopic: "Burn"): EventFragment;
|
|
191
|
+
getEvent(nameOrSignatureOrTopic: "Mint"): EventFragment;
|
|
192
192
|
getEvent(nameOrSignatureOrTopic: "Swap"): EventFragment;
|
|
193
193
|
getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment;
|
|
194
194
|
getEvent(nameOrSignatureOrTopic: "UpdateImpliedRate"): EventFragment;
|
|
195
195
|
}
|
|
196
196
|
|
|
197
|
-
export type AddLiquidityEvent = TypedEvent<
|
|
198
|
-
[string, BigNumber, BigNumber, BigNumber],
|
|
199
|
-
{
|
|
200
|
-
receiver: string;
|
|
201
|
-
lpToAccount: BigNumber;
|
|
202
|
-
scyUsed: BigNumber;
|
|
203
|
-
ptUsed: BigNumber;
|
|
204
|
-
}
|
|
205
|
-
>;
|
|
206
|
-
|
|
207
|
-
export type AddLiquidityEventFilter = TypedEventFilter<AddLiquidityEvent>;
|
|
208
|
-
|
|
209
197
|
export type ApprovalEvent = TypedEvent<
|
|
210
198
|
[string, string, BigNumber],
|
|
211
199
|
{ owner: string; spender: string; value: BigNumber }
|
|
@@ -213,18 +201,30 @@ export type ApprovalEvent = TypedEvent<
|
|
|
213
201
|
|
|
214
202
|
export type ApprovalEventFilter = TypedEventFilter<ApprovalEvent>;
|
|
215
203
|
|
|
216
|
-
export type
|
|
204
|
+
export type BurnEvent = TypedEvent<
|
|
217
205
|
[string, string, BigNumber, BigNumber, BigNumber],
|
|
218
206
|
{
|
|
219
207
|
receiverScy: string;
|
|
220
208
|
receiverPt: string;
|
|
221
|
-
|
|
209
|
+
lpBurned: BigNumber;
|
|
222
210
|
scyToAccount: BigNumber;
|
|
223
211
|
ptToAccount: BigNumber;
|
|
224
212
|
}
|
|
225
213
|
>;
|
|
226
214
|
|
|
227
|
-
export type
|
|
215
|
+
export type BurnEventFilter = TypedEventFilter<BurnEvent>;
|
|
216
|
+
|
|
217
|
+
export type MintEvent = TypedEvent<
|
|
218
|
+
[string, BigNumber, BigNumber, BigNumber],
|
|
219
|
+
{
|
|
220
|
+
receiver: string;
|
|
221
|
+
lpMinted: BigNumber;
|
|
222
|
+
scyUsed: BigNumber;
|
|
223
|
+
ptUsed: BigNumber;
|
|
224
|
+
}
|
|
225
|
+
>;
|
|
226
|
+
|
|
227
|
+
export type MintEventFilter = TypedEventFilter<MintEvent>;
|
|
228
228
|
|
|
229
229
|
export type SwapEvent = TypedEvent<
|
|
230
230
|
[string, BigNumber, BigNumber, BigNumber],
|
|
@@ -537,19 +537,6 @@ export interface IPMarket extends BaseContract {
|
|
|
537
537
|
};
|
|
538
538
|
|
|
539
539
|
filters: {
|
|
540
|
-
"AddLiquidity(address,uint256,uint256,uint256)"(
|
|
541
|
-
receiver?: string | null,
|
|
542
|
-
lpToAccount?: null,
|
|
543
|
-
scyUsed?: null,
|
|
544
|
-
ptUsed?: null
|
|
545
|
-
): AddLiquidityEventFilter;
|
|
546
|
-
AddLiquidity(
|
|
547
|
-
receiver?: string | null,
|
|
548
|
-
lpToAccount?: null,
|
|
549
|
-
scyUsed?: null,
|
|
550
|
-
ptUsed?: null
|
|
551
|
-
): AddLiquidityEventFilter;
|
|
552
|
-
|
|
553
540
|
"Approval(address,address,uint256)"(
|
|
554
541
|
owner?: string | null,
|
|
555
542
|
spender?: string | null,
|
|
@@ -561,20 +548,33 @@ export interface IPMarket extends BaseContract {
|
|
|
561
548
|
value?: null
|
|
562
549
|
): ApprovalEventFilter;
|
|
563
550
|
|
|
564
|
-
"
|
|
551
|
+
"Burn(address,address,uint256,uint256,uint256)"(
|
|
565
552
|
receiverScy?: string | null,
|
|
566
553
|
receiverPt?: string | null,
|
|
567
|
-
|
|
554
|
+
lpBurned?: null,
|
|
568
555
|
scyToAccount?: null,
|
|
569
556
|
ptToAccount?: null
|
|
570
|
-
):
|
|
571
|
-
|
|
557
|
+
): BurnEventFilter;
|
|
558
|
+
Burn(
|
|
572
559
|
receiverScy?: string | null,
|
|
573
560
|
receiverPt?: string | null,
|
|
574
|
-
|
|
561
|
+
lpBurned?: null,
|
|
575
562
|
scyToAccount?: null,
|
|
576
563
|
ptToAccount?: null
|
|
577
|
-
):
|
|
564
|
+
): BurnEventFilter;
|
|
565
|
+
|
|
566
|
+
"Mint(address,uint256,uint256,uint256)"(
|
|
567
|
+
receiver?: string | null,
|
|
568
|
+
lpMinted?: null,
|
|
569
|
+
scyUsed?: null,
|
|
570
|
+
ptUsed?: null
|
|
571
|
+
): MintEventFilter;
|
|
572
|
+
Mint(
|
|
573
|
+
receiver?: string | null,
|
|
574
|
+
lpMinted?: null,
|
|
575
|
+
scyUsed?: null,
|
|
576
|
+
ptUsed?: null
|
|
577
|
+
): MintEventFilter;
|
|
578
578
|
|
|
579
579
|
"Swap(address,int256,int256,uint256)"(
|
|
580
580
|
receiver?: string | null,
|