@pendle/core-v2 0.8.0-beta-9 → 0.8.0-beta-11
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/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 +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargatePool.dbg.json +4 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargatePool.json +837 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultScy.sol/PendleYearnVaultSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultScy.sol/PendleYearnVaultSCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerReceiverUpg.sol/CelerReceiverUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerSenderUpg.sol/CelerSenderUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchain.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchain.sol/PendleGaugeControllerMainchainUpg.json +2 -2
- 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 -2
- package/build/artifacts/contracts/core/LiquidityMining/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +105 -30
- 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 +2 -83
- 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 +16 -206
- package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.json +117 -12
- 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 +148 -0
- 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 +148 -0
- 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 +173 -0
- 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 +0 -338
- package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.json +0 -68
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +0 -406
- 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 +5 -0
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IPVotingEscrow.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.json +0 -81
- 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/IStargateLPStaking.sol/IStargateLPStaking.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IStargateLPStaking.sol/IStargateLPStaking.json +47 -0
- package/build/artifacts/contracts/interfaces/IStargatePool.sol/IStargatePool.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IStargatePool.sol/IStargatePool.json +56 -0
- package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.json +63 -0
- package/build/artifacts/contracts/interfaces/ISuperComposableYield.sol/ISuperComposableYield.dbg.json +1 -1
- 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/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 +7 -2
- 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/core/PendleRouter.sol +8 -0
- package/contracts/core/YieldContracts/PendleYieldToken.sol +13 -5
- package/contracts/core/actions/ActionCore.sol +80 -0
- package/contracts/core/actions/base/ActionSCYAndPYBase.sol +36 -0
- package/contracts/interfaces/IPActionCore.sol +78 -0
- package/contracts/interfaces/IPRouterStatic.sol +2 -1
- package/contracts/offchain-helpers/RouterStatic.sol +56 -4
- package/deployments/43113-benqi.json +2 -2
- package/deployments/43113-core.json +1 -1
- package/deployments/43113-markets/benqi-market-5C60ba.json +7 -0
- package/deployments/43113-markets/benqi-market-611eA3.json +7 -0
- package/deployments/80001-benqi.json +2 -2
- package/deployments/80001-core.json +1 -1
- package/deployments/80001-markets/benqi-market-5E1104.json +7 -0
- package/deployments/80001-markets/benqi-market-c68429.json +7 -0
- package/package.json +1 -1
- package/typechain-types/ActionCore.ts +38 -180
- package/typechain-types/ActionSCYAndPTBase.ts +129 -3
- package/typechain-types/ActionSCYAndPYBase.ts +129 -3
- package/typechain-types/ActionSCYAndYTBase.ts +149 -3
- package/typechain-types/ActionYT.ts +117 -31
- package/typechain-types/IPActionCore.ts +3 -271
- package/typechain-types/IPActionYT.ts +3 -63
- package/typechain-types/IPAllAction.ts +3 -329
- package/typechain-types/IPMarket.ts +38 -38
- package/typechain-types/IPRouterStatic.ts +6 -3
- package/typechain-types/IPYieldToken.ts +0 -74
- package/typechain-types/IStargateLPStaking.ts +143 -0
- package/typechain-types/IStargatePool.ts +129 -0
- package/typechain-types/IStargateRouter.ts +159 -0
- package/typechain-types/PendleMarket.ts +142 -38
- package/typechain-types/PendleStargatePool.ts +1089 -0
- package/typechain-types/PendleYieldToken.ts +0 -74
- package/typechain-types/RouterStatic.ts +6 -3
- package/typechain-types/factories/ActionCallback__factory.ts +1 -1
- package/typechain-types/factories/ActionCore__factory.ts +15 -205
- package/typechain-types/factories/ActionSCYAndPTBase__factory.ts +148 -0
- package/typechain-types/factories/ActionSCYAndPYBase__factory.ts +148 -0
- package/typechain-types/factories/ActionSCYAndYTBase__factory.ts +173 -0
- package/typechain-types/factories/ActionYT__factory.ts +116 -11
- package/typechain-types/factories/ERC20__factory.ts +1 -1
- package/typechain-types/factories/IPActionCore__factory.ts +0 -338
- package/typechain-types/factories/IPActionYT__factory.ts +0 -68
- package/typechain-types/factories/IPAllAction__factory.ts +0 -406
- package/typechain-types/factories/IPMarket__factory.ts +28 -28
- package/typechain-types/factories/IPRouterStatic__factory.ts +5 -0
- package/typechain-types/factories/IPYieldToken__factory.ts +0 -81
- package/typechain-types/factories/IStargateLPStaking__factory.ts +62 -0
- package/typechain-types/factories/IStargatePool__factory.ts +68 -0
- package/typechain-types/factories/IStargateRouter__factory.ts +78 -0
- package/typechain-types/factories/PendleAaveV3SCY__factory.ts +1 -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 +1 -1
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
- 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 +104 -29
- 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 +1 -1
- package/typechain-types/factories/PendleRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleStargatePool__factory.ts +929 -0
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleWstEthSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleYearnVaultScy__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldToken__factory.ts +1 -82
- package/typechain-types/factories/RouterStatic__factory.ts +6 -1
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +36 -0
- package/typechain-types/index.ts +8 -0
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
Signer,
|
|
14
14
|
utils,
|
|
15
15
|
} from "ethers";
|
|
16
|
-
import { FunctionFragment, Result
|
|
16
|
+
import { FunctionFragment, Result } from "@ethersproject/abi";
|
|
17
17
|
import { Listener, Provider } from "@ethersproject/providers";
|
|
18
18
|
import type {
|
|
19
19
|
TypedEventFilter,
|
|
@@ -112,41 +112,9 @@ export interface IPActionYTInterface extends utils.Interface {
|
|
|
112
112
|
data: BytesLike
|
|
113
113
|
): Result;
|
|
114
114
|
|
|
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;
|
|
115
|
+
events: {};
|
|
122
116
|
}
|
|
123
117
|
|
|
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
|
-
|
|
150
118
|
export interface IPActionYT extends BaseContract {
|
|
151
119
|
contractName: "IPActionYT";
|
|
152
120
|
connect(signerOrProvider: Signer | Provider | string): this;
|
|
@@ -337,35 +305,7 @@ export interface IPActionYT extends BaseContract {
|
|
|
337
305
|
): Promise<BigNumber>;
|
|
338
306
|
};
|
|
339
307
|
|
|
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
|
-
};
|
|
308
|
+
filters: {};
|
|
369
309
|
|
|
370
310
|
estimateGas: {
|
|
371
311
|
swapExactRawTokenForYt(
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
Signer,
|
|
14
14
|
utils,
|
|
15
15
|
} from "ethers";
|
|
16
|
-
import { FunctionFragment, Result
|
|
16
|
+
import { FunctionFragment, Result } from "@ethersproject/abi";
|
|
17
17
|
import { Listener, Provider } from "@ethersproject/providers";
|
|
18
18
|
import type {
|
|
19
19
|
TypedEventFilter,
|
|
@@ -236,173 +236,9 @@ export interface IPAllActionInterface extends utils.Interface {
|
|
|
236
236
|
data: BytesLike
|
|
237
237
|
): Result;
|
|
238
238
|
|
|
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;
|
|
239
|
+
events: {};
|
|
262
240
|
}
|
|
263
241
|
|
|
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
|
-
|
|
406
242
|
export interface IPAllAction extends BaseContract {
|
|
407
243
|
contractName: "IPAllAction";
|
|
408
244
|
connect(signerOrProvider: Signer | Provider | string): this;
|
|
@@ -953,169 +789,7 @@ export interface IPAllAction extends BaseContract {
|
|
|
953
789
|
): Promise<BigNumber>;
|
|
954
790
|
};
|
|
955
791
|
|
|
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
|
-
};
|
|
792
|
+
filters: {};
|
|
1119
793
|
|
|
1120
794
|
estimateGas: {
|
|
1121
795
|
addLiquidity(
|
|
@@ -178,22 +178,34 @@ export interface IPMarketInterface extends utils.Interface {
|
|
|
178
178
|
): Result;
|
|
179
179
|
|
|
180
180
|
events: {
|
|
181
|
+
"AddLiquidity(address,uint256,uint256,uint256)": EventFragment;
|
|
181
182
|
"Approval(address,address,uint256)": EventFragment;
|
|
182
|
-
"
|
|
183
|
-
"Mint(address,uint256,uint256,uint256)": EventFragment;
|
|
183
|
+
"RemoveLiquidity(address,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;
|
|
189
190
|
getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment;
|
|
190
|
-
getEvent(nameOrSignatureOrTopic: "
|
|
191
|
-
getEvent(nameOrSignatureOrTopic: "Mint"): EventFragment;
|
|
191
|
+
getEvent(nameOrSignatureOrTopic: "RemoveLiquidity"): 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
|
+
|
|
197
209
|
export type ApprovalEvent = TypedEvent<
|
|
198
210
|
[string, string, BigNumber],
|
|
199
211
|
{ owner: string; spender: string; value: BigNumber }
|
|
@@ -201,30 +213,18 @@ export type ApprovalEvent = TypedEvent<
|
|
|
201
213
|
|
|
202
214
|
export type ApprovalEventFilter = TypedEventFilter<ApprovalEvent>;
|
|
203
215
|
|
|
204
|
-
export type
|
|
216
|
+
export type RemoveLiquidityEvent = TypedEvent<
|
|
205
217
|
[string, string, BigNumber, BigNumber, BigNumber],
|
|
206
218
|
{
|
|
207
219
|
receiverScy: string;
|
|
208
220
|
receiverPt: string;
|
|
209
|
-
|
|
221
|
+
lpRemoved: BigNumber;
|
|
210
222
|
scyToAccount: BigNumber;
|
|
211
223
|
ptToAccount: BigNumber;
|
|
212
224
|
}
|
|
213
225
|
>;
|
|
214
226
|
|
|
215
|
-
export type
|
|
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>;
|
|
227
|
+
export type RemoveLiquidityEventFilter = TypedEventFilter<RemoveLiquidityEvent>;
|
|
228
228
|
|
|
229
229
|
export type SwapEvent = TypedEvent<
|
|
230
230
|
[string, BigNumber, BigNumber, BigNumber],
|
|
@@ -537,6 +537,19 @@ 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
|
+
|
|
540
553
|
"Approval(address,address,uint256)"(
|
|
541
554
|
owner?: string | null,
|
|
542
555
|
spender?: string | null,
|
|
@@ -548,33 +561,20 @@ export interface IPMarket extends BaseContract {
|
|
|
548
561
|
value?: null
|
|
549
562
|
): ApprovalEventFilter;
|
|
550
563
|
|
|
551
|
-
"
|
|
564
|
+
"RemoveLiquidity(address,address,uint256,uint256,uint256)"(
|
|
552
565
|
receiverScy?: string | null,
|
|
553
566
|
receiverPt?: string | null,
|
|
554
|
-
|
|
567
|
+
lpRemoved?: null,
|
|
555
568
|
scyToAccount?: null,
|
|
556
569
|
ptToAccount?: null
|
|
557
|
-
):
|
|
558
|
-
|
|
570
|
+
): RemoveLiquidityEventFilter;
|
|
571
|
+
RemoveLiquidity(
|
|
559
572
|
receiverScy?: string | null,
|
|
560
573
|
receiverPt?: string | null,
|
|
561
|
-
|
|
574
|
+
lpRemoved?: null,
|
|
562
575
|
scyToAccount?: null,
|
|
563
576
|
ptToAccount?: null
|
|
564
|
-
):
|
|
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;
|
|
577
|
+
): RemoveLiquidityEventFilter;
|
|
578
578
|
|
|
579
579
|
"Swap(address,int256,int256,uint256)"(
|
|
580
580
|
receiver?: string | null,
|
|
@@ -330,11 +330,12 @@ export interface IPRouterStatic extends BaseContract {
|
|
|
330
330
|
market: string,
|
|
331
331
|
overrides?: CallOverrides
|
|
332
332
|
): Promise<
|
|
333
|
-
[string, string, MarketStateStructOutput, BigNumber] & {
|
|
333
|
+
[string, string, MarketStateStructOutput, BigNumber, BigNumber] & {
|
|
334
334
|
pt: string;
|
|
335
335
|
scy: string;
|
|
336
336
|
state: MarketStateStructOutput;
|
|
337
337
|
impliedYield: BigNumber;
|
|
338
|
+
exchangeRate: BigNumber;
|
|
338
339
|
}
|
|
339
340
|
>;
|
|
340
341
|
|
|
@@ -475,11 +476,12 @@ export interface IPRouterStatic extends BaseContract {
|
|
|
475
476
|
market: string,
|
|
476
477
|
overrides?: CallOverrides
|
|
477
478
|
): Promise<
|
|
478
|
-
[string, string, MarketStateStructOutput, BigNumber] & {
|
|
479
|
+
[string, string, MarketStateStructOutput, BigNumber, BigNumber] & {
|
|
479
480
|
pt: string;
|
|
480
481
|
scy: string;
|
|
481
482
|
state: MarketStateStructOutput;
|
|
482
483
|
impliedYield: BigNumber;
|
|
484
|
+
exchangeRate: BigNumber;
|
|
483
485
|
}
|
|
484
486
|
>;
|
|
485
487
|
|
|
@@ -601,11 +603,12 @@ export interface IPRouterStatic extends BaseContract {
|
|
|
601
603
|
market: string,
|
|
602
604
|
overrides?: CallOverrides
|
|
603
605
|
): Promise<
|
|
604
|
-
[string, string, MarketStateStructOutput, BigNumber] & {
|
|
606
|
+
[string, string, MarketStateStructOutput, BigNumber, BigNumber] & {
|
|
605
607
|
pt: string;
|
|
606
608
|
scy: string;
|
|
607
609
|
state: MarketStateStructOutput;
|
|
608
610
|
impliedYield: BigNumber;
|
|
611
|
+
exchangeRate: BigNumber;
|
|
609
612
|
}
|
|
610
613
|
>;
|
|
611
614
|
|