@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
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
Signer,
|
|
11
11
|
utils,
|
|
12
12
|
} from "ethers";
|
|
13
|
-
import { FunctionFragment, Result } from "@ethersproject/abi";
|
|
13
|
+
import { FunctionFragment, Result, EventFragment } from "@ethersproject/abi";
|
|
14
14
|
import { Listener, Provider } from "@ethersproject/providers";
|
|
15
15
|
import type {
|
|
16
16
|
TypedEventFilter,
|
|
@@ -32,9 +32,84 @@ export interface ActionSCYAndYTBaseInterface extends utils.Interface {
|
|
|
32
32
|
|
|
33
33
|
decodeFunctionResult(functionFragment: "joeFactory", data: BytesLike): Result;
|
|
34
34
|
|
|
35
|
-
events: {
|
|
35
|
+
events: {
|
|
36
|
+
"MintPyFromRawToken(address,address,uint256,address,uint256)": EventFragment;
|
|
37
|
+
"MintScyFromRawToken(address,address,uint256,address,uint256)": EventFragment;
|
|
38
|
+
"RedeemPyToRawToken(address,address,uint256,address,uint256)": EventFragment;
|
|
39
|
+
"RedeemScyToRawToken(address,address,uint256,address,uint256)": EventFragment;
|
|
40
|
+
"SwapYTAndSCY(address,int256,int256)": EventFragment;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
getEvent(nameOrSignatureOrTopic: "MintPyFromRawToken"): EventFragment;
|
|
44
|
+
getEvent(nameOrSignatureOrTopic: "MintScyFromRawToken"): EventFragment;
|
|
45
|
+
getEvent(nameOrSignatureOrTopic: "RedeemPyToRawToken"): EventFragment;
|
|
46
|
+
getEvent(nameOrSignatureOrTopic: "RedeemScyToRawToken"): EventFragment;
|
|
47
|
+
getEvent(nameOrSignatureOrTopic: "SwapYTAndSCY"): EventFragment;
|
|
36
48
|
}
|
|
37
49
|
|
|
50
|
+
export type MintPyFromRawTokenEvent = TypedEvent<
|
|
51
|
+
[string, string, BigNumber, string, BigNumber],
|
|
52
|
+
{
|
|
53
|
+
user: string;
|
|
54
|
+
rawTokenIn: string;
|
|
55
|
+
netRawTokenIn: BigNumber;
|
|
56
|
+
YT: string;
|
|
57
|
+
netPyOut: BigNumber;
|
|
58
|
+
}
|
|
59
|
+
>;
|
|
60
|
+
|
|
61
|
+
export type MintPyFromRawTokenEventFilter =
|
|
62
|
+
TypedEventFilter<MintPyFromRawTokenEvent>;
|
|
63
|
+
|
|
64
|
+
export type MintScyFromRawTokenEvent = TypedEvent<
|
|
65
|
+
[string, string, BigNumber, string, BigNumber],
|
|
66
|
+
{
|
|
67
|
+
user: string;
|
|
68
|
+
rawTokenIn: string;
|
|
69
|
+
netRawTokenIn: BigNumber;
|
|
70
|
+
SCY: string;
|
|
71
|
+
netScyOut: BigNumber;
|
|
72
|
+
}
|
|
73
|
+
>;
|
|
74
|
+
|
|
75
|
+
export type MintScyFromRawTokenEventFilter =
|
|
76
|
+
TypedEventFilter<MintScyFromRawTokenEvent>;
|
|
77
|
+
|
|
78
|
+
export type RedeemPyToRawTokenEvent = TypedEvent<
|
|
79
|
+
[string, string, BigNumber, string, BigNumber],
|
|
80
|
+
{
|
|
81
|
+
user: string;
|
|
82
|
+
YT: string;
|
|
83
|
+
netPyIn: BigNumber;
|
|
84
|
+
rawTokenOut: string;
|
|
85
|
+
netRawTokenOut: BigNumber;
|
|
86
|
+
}
|
|
87
|
+
>;
|
|
88
|
+
|
|
89
|
+
export type RedeemPyToRawTokenEventFilter =
|
|
90
|
+
TypedEventFilter<RedeemPyToRawTokenEvent>;
|
|
91
|
+
|
|
92
|
+
export type RedeemScyToRawTokenEvent = TypedEvent<
|
|
93
|
+
[string, string, BigNumber, string, BigNumber],
|
|
94
|
+
{
|
|
95
|
+
user: string;
|
|
96
|
+
SCY: string;
|
|
97
|
+
netScyIn: BigNumber;
|
|
98
|
+
rawTokenOut: string;
|
|
99
|
+
netRawTokenOut: BigNumber;
|
|
100
|
+
}
|
|
101
|
+
>;
|
|
102
|
+
|
|
103
|
+
export type RedeemScyToRawTokenEventFilter =
|
|
104
|
+
TypedEventFilter<RedeemScyToRawTokenEvent>;
|
|
105
|
+
|
|
106
|
+
export type SwapYTAndSCYEvent = TypedEvent<
|
|
107
|
+
[string, BigNumber, BigNumber],
|
|
108
|
+
{ user: string; ytToAccount: BigNumber; scyToAccount: BigNumber }
|
|
109
|
+
>;
|
|
110
|
+
|
|
111
|
+
export type SwapYTAndSCYEventFilter = TypedEventFilter<SwapYTAndSCYEvent>;
|
|
112
|
+
|
|
38
113
|
export interface ActionSCYAndYTBase extends BaseContract {
|
|
39
114
|
contractName: "ActionSCYAndYTBase";
|
|
40
115
|
connect(signerOrProvider: Signer | Provider | string): this;
|
|
@@ -72,7 +147,78 @@ export interface ActionSCYAndYTBase extends BaseContract {
|
|
|
72
147
|
joeFactory(overrides?: CallOverrides): Promise<string>;
|
|
73
148
|
};
|
|
74
149
|
|
|
75
|
-
filters: {
|
|
150
|
+
filters: {
|
|
151
|
+
"MintPyFromRawToken(address,address,uint256,address,uint256)"(
|
|
152
|
+
user?: string | null,
|
|
153
|
+
rawTokenIn?: string | null,
|
|
154
|
+
netRawTokenIn?: null,
|
|
155
|
+
YT?: string | null,
|
|
156
|
+
netPyOut?: null
|
|
157
|
+
): MintPyFromRawTokenEventFilter;
|
|
158
|
+
MintPyFromRawToken(
|
|
159
|
+
user?: string | null,
|
|
160
|
+
rawTokenIn?: string | null,
|
|
161
|
+
netRawTokenIn?: null,
|
|
162
|
+
YT?: string | null,
|
|
163
|
+
netPyOut?: null
|
|
164
|
+
): MintPyFromRawTokenEventFilter;
|
|
165
|
+
|
|
166
|
+
"MintScyFromRawToken(address,address,uint256,address,uint256)"(
|
|
167
|
+
user?: string | null,
|
|
168
|
+
rawTokenIn?: string | null,
|
|
169
|
+
netRawTokenIn?: null,
|
|
170
|
+
SCY?: string | null,
|
|
171
|
+
netScyOut?: null
|
|
172
|
+
): MintScyFromRawTokenEventFilter;
|
|
173
|
+
MintScyFromRawToken(
|
|
174
|
+
user?: string | null,
|
|
175
|
+
rawTokenIn?: string | null,
|
|
176
|
+
netRawTokenIn?: null,
|
|
177
|
+
SCY?: string | null,
|
|
178
|
+
netScyOut?: null
|
|
179
|
+
): MintScyFromRawTokenEventFilter;
|
|
180
|
+
|
|
181
|
+
"RedeemPyToRawToken(address,address,uint256,address,uint256)"(
|
|
182
|
+
user?: string | null,
|
|
183
|
+
YT?: string | null,
|
|
184
|
+
netPyIn?: null,
|
|
185
|
+
rawTokenOut?: string | null,
|
|
186
|
+
netRawTokenOut?: null
|
|
187
|
+
): RedeemPyToRawTokenEventFilter;
|
|
188
|
+
RedeemPyToRawToken(
|
|
189
|
+
user?: string | null,
|
|
190
|
+
YT?: string | null,
|
|
191
|
+
netPyIn?: null,
|
|
192
|
+
rawTokenOut?: string | null,
|
|
193
|
+
netRawTokenOut?: null
|
|
194
|
+
): RedeemPyToRawTokenEventFilter;
|
|
195
|
+
|
|
196
|
+
"RedeemScyToRawToken(address,address,uint256,address,uint256)"(
|
|
197
|
+
user?: string | null,
|
|
198
|
+
SCY?: string | null,
|
|
199
|
+
netScyIn?: null,
|
|
200
|
+
rawTokenOut?: string | null,
|
|
201
|
+
netRawTokenOut?: null
|
|
202
|
+
): RedeemScyToRawTokenEventFilter;
|
|
203
|
+
RedeemScyToRawToken(
|
|
204
|
+
user?: string | null,
|
|
205
|
+
SCY?: string | null,
|
|
206
|
+
netScyIn?: null,
|
|
207
|
+
rawTokenOut?: string | null,
|
|
208
|
+
netRawTokenOut?: null
|
|
209
|
+
): RedeemScyToRawTokenEventFilter;
|
|
210
|
+
|
|
211
|
+
"SwapYTAndSCY(address,int256,int256)"(
|
|
212
|
+
user?: string | null,
|
|
213
|
+
ytToAccount?: null,
|
|
214
|
+
scyToAccount?: null
|
|
215
|
+
): SwapYTAndSCYEventFilter;
|
|
216
|
+
SwapYTAndSCY(
|
|
217
|
+
user?: string | null,
|
|
218
|
+
ytToAccount?: null,
|
|
219
|
+
scyToAccount?: null
|
|
220
|
+
): SwapYTAndSCYEventFilter;
|
|
221
|
+
};
|
|
76
222
|
|
|
77
223
|
estimateGas: {
|
|
78
224
|
joeFactory(overrides?: CallOverrides): Promise<BigNumber>;
|
|
@@ -119,38 +119,81 @@ export interface ActionYTInterface extends utils.Interface {
|
|
|
119
119
|
): Result;
|
|
120
120
|
|
|
121
121
|
events: {
|
|
122
|
-
"
|
|
123
|
-
"
|
|
122
|
+
"MintPyFromRawToken(address,address,uint256,address,uint256)": EventFragment;
|
|
123
|
+
"MintScyFromRawToken(address,address,uint256,address,uint256)": EventFragment;
|
|
124
|
+
"RedeemPyToRawToken(address,address,uint256,address,uint256)": EventFragment;
|
|
125
|
+
"RedeemScyToRawToken(address,address,uint256,address,uint256)": EventFragment;
|
|
126
|
+
"SwapYTAndSCY(address,int256,int256)": EventFragment;
|
|
124
127
|
};
|
|
125
128
|
|
|
126
|
-
getEvent(nameOrSignatureOrTopic: "
|
|
129
|
+
getEvent(nameOrSignatureOrTopic: "MintPyFromRawToken"): EventFragment;
|
|
130
|
+
getEvent(nameOrSignatureOrTopic: "MintScyFromRawToken"): EventFragment;
|
|
131
|
+
getEvent(nameOrSignatureOrTopic: "RedeemPyToRawToken"): EventFragment;
|
|
132
|
+
getEvent(nameOrSignatureOrTopic: "RedeemScyToRawToken"): EventFragment;
|
|
127
133
|
getEvent(nameOrSignatureOrTopic: "SwapYTAndSCY"): EventFragment;
|
|
128
134
|
}
|
|
129
135
|
|
|
130
|
-
export type
|
|
131
|
-
[string, string,
|
|
136
|
+
export type MintPyFromRawTokenEvent = TypedEvent<
|
|
137
|
+
[string, string, BigNumber, string, BigNumber],
|
|
132
138
|
{
|
|
133
139
|
user: string;
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
140
|
+
rawTokenIn: string;
|
|
141
|
+
netRawTokenIn: BigNumber;
|
|
142
|
+
YT: string;
|
|
143
|
+
netPyOut: BigNumber;
|
|
138
144
|
}
|
|
139
145
|
>;
|
|
140
146
|
|
|
141
|
-
export type
|
|
142
|
-
TypedEventFilter<
|
|
147
|
+
export type MintPyFromRawTokenEventFilter =
|
|
148
|
+
TypedEventFilter<MintPyFromRawTokenEvent>;
|
|
143
149
|
|
|
144
|
-
export type
|
|
145
|
-
[string, string, BigNumber, BigNumber],
|
|
150
|
+
export type MintScyFromRawTokenEvent = TypedEvent<
|
|
151
|
+
[string, string, BigNumber, string, BigNumber],
|
|
152
|
+
{
|
|
153
|
+
user: string;
|
|
154
|
+
rawTokenIn: string;
|
|
155
|
+
netRawTokenIn: BigNumber;
|
|
156
|
+
SCY: string;
|
|
157
|
+
netScyOut: BigNumber;
|
|
158
|
+
}
|
|
159
|
+
>;
|
|
160
|
+
|
|
161
|
+
export type MintScyFromRawTokenEventFilter =
|
|
162
|
+
TypedEventFilter<MintScyFromRawTokenEvent>;
|
|
163
|
+
|
|
164
|
+
export type RedeemPyToRawTokenEvent = TypedEvent<
|
|
165
|
+
[string, string, BigNumber, string, BigNumber],
|
|
146
166
|
{
|
|
147
167
|
user: string;
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
168
|
+
YT: string;
|
|
169
|
+
netPyIn: BigNumber;
|
|
170
|
+
rawTokenOut: string;
|
|
171
|
+
netRawTokenOut: BigNumber;
|
|
151
172
|
}
|
|
152
173
|
>;
|
|
153
174
|
|
|
175
|
+
export type RedeemPyToRawTokenEventFilter =
|
|
176
|
+
TypedEventFilter<RedeemPyToRawTokenEvent>;
|
|
177
|
+
|
|
178
|
+
export type RedeemScyToRawTokenEvent = TypedEvent<
|
|
179
|
+
[string, string, BigNumber, string, BigNumber],
|
|
180
|
+
{
|
|
181
|
+
user: string;
|
|
182
|
+
SCY: string;
|
|
183
|
+
netScyIn: BigNumber;
|
|
184
|
+
rawTokenOut: string;
|
|
185
|
+
netRawTokenOut: BigNumber;
|
|
186
|
+
}
|
|
187
|
+
>;
|
|
188
|
+
|
|
189
|
+
export type RedeemScyToRawTokenEventFilter =
|
|
190
|
+
TypedEventFilter<RedeemScyToRawTokenEvent>;
|
|
191
|
+
|
|
192
|
+
export type SwapYTAndSCYEvent = TypedEvent<
|
|
193
|
+
[string, BigNumber, BigNumber],
|
|
194
|
+
{ user: string; ytToAccount: BigNumber; scyToAccount: BigNumber }
|
|
195
|
+
>;
|
|
196
|
+
|
|
154
197
|
export type SwapYTAndSCYEventFilter = TypedEventFilter<SwapYTAndSCYEvent>;
|
|
155
198
|
|
|
156
199
|
export interface ActionYT extends BaseContract {
|
|
@@ -350,30 +393,73 @@ export interface ActionYT extends BaseContract {
|
|
|
350
393
|
};
|
|
351
394
|
|
|
352
395
|
filters: {
|
|
353
|
-
"
|
|
396
|
+
"MintPyFromRawToken(address,address,uint256,address,uint256)"(
|
|
354
397
|
user?: string | null,
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
):
|
|
360
|
-
|
|
398
|
+
rawTokenIn?: string | null,
|
|
399
|
+
netRawTokenIn?: null,
|
|
400
|
+
YT?: string | null,
|
|
401
|
+
netPyOut?: null
|
|
402
|
+
): MintPyFromRawTokenEventFilter;
|
|
403
|
+
MintPyFromRawToken(
|
|
361
404
|
user?: string | null,
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
):
|
|
405
|
+
rawTokenIn?: string | null,
|
|
406
|
+
netRawTokenIn?: null,
|
|
407
|
+
YT?: string | null,
|
|
408
|
+
netPyOut?: null
|
|
409
|
+
): MintPyFromRawTokenEventFilter;
|
|
410
|
+
|
|
411
|
+
"MintScyFromRawToken(address,address,uint256,address,uint256)"(
|
|
412
|
+
user?: string | null,
|
|
413
|
+
rawTokenIn?: string | null,
|
|
414
|
+
netRawTokenIn?: null,
|
|
415
|
+
SCY?: string | null,
|
|
416
|
+
netScyOut?: null
|
|
417
|
+
): MintScyFromRawTokenEventFilter;
|
|
418
|
+
MintScyFromRawToken(
|
|
419
|
+
user?: string | null,
|
|
420
|
+
rawTokenIn?: string | null,
|
|
421
|
+
netRawTokenIn?: null,
|
|
422
|
+
SCY?: string | null,
|
|
423
|
+
netScyOut?: null
|
|
424
|
+
): MintScyFromRawTokenEventFilter;
|
|
425
|
+
|
|
426
|
+
"RedeemPyToRawToken(address,address,uint256,address,uint256)"(
|
|
427
|
+
user?: string | null,
|
|
428
|
+
YT?: string | null,
|
|
429
|
+
netPyIn?: null,
|
|
430
|
+
rawTokenOut?: string | null,
|
|
431
|
+
netRawTokenOut?: null
|
|
432
|
+
): RedeemPyToRawTokenEventFilter;
|
|
433
|
+
RedeemPyToRawToken(
|
|
434
|
+
user?: string | null,
|
|
435
|
+
YT?: string | null,
|
|
436
|
+
netPyIn?: null,
|
|
437
|
+
rawTokenOut?: string | null,
|
|
438
|
+
netRawTokenOut?: null
|
|
439
|
+
): RedeemPyToRawTokenEventFilter;
|
|
440
|
+
|
|
441
|
+
"RedeemScyToRawToken(address,address,uint256,address,uint256)"(
|
|
442
|
+
user?: string | null,
|
|
443
|
+
SCY?: string | null,
|
|
444
|
+
netScyIn?: null,
|
|
445
|
+
rawTokenOut?: string | null,
|
|
446
|
+
netRawTokenOut?: null
|
|
447
|
+
): RedeemScyToRawTokenEventFilter;
|
|
448
|
+
RedeemScyToRawToken(
|
|
449
|
+
user?: string | null,
|
|
450
|
+
SCY?: string | null,
|
|
451
|
+
netScyIn?: null,
|
|
452
|
+
rawTokenOut?: string | null,
|
|
453
|
+
netRawTokenOut?: null
|
|
454
|
+
): RedeemScyToRawTokenEventFilter;
|
|
367
455
|
|
|
368
|
-
"SwapYTAndSCY(address,
|
|
456
|
+
"SwapYTAndSCY(address,int256,int256)"(
|
|
369
457
|
user?: string | null,
|
|
370
|
-
market?: string | null,
|
|
371
458
|
ytToAccount?: null,
|
|
372
459
|
scyToAccount?: null
|
|
373
460
|
): SwapYTAndSCYEventFilter;
|
|
374
461
|
SwapYTAndSCY(
|
|
375
462
|
user?: string | null,
|
|
376
|
-
market?: string | null,
|
|
377
463
|
ytToAccount?: null,
|
|
378
464
|
scyToAccount?: null
|
|
379
465
|
): SwapYTAndSCYEventFilter;
|
|
@@ -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,
|
|
@@ -175,143 +175,9 @@ export interface IPActionCoreInterface extends utils.Interface {
|
|
|
175
175
|
data: BytesLike
|
|
176
176
|
): Result;
|
|
177
177
|
|
|
178
|
-
events: {
|
|
179
|
-
"AddLiquidity(address,address,address,uint256,uint256,uint256)": EventFragment;
|
|
180
|
-
"MintPyFromRawToken(address,address,address,address,uint256,uint256)": EventFragment;
|
|
181
|
-
"MintScyFromRawToken(address,address,address,address,uint256,uint256)": EventFragment;
|
|
182
|
-
"RedeemPyToRawToken(address,address,address,uint256,address,uint256)": EventFragment;
|
|
183
|
-
"RedeemScyToRawToken(address,address,address,uint256,address,uint256)": EventFragment;
|
|
184
|
-
"RemoveLiquidity(address,address,address,uint256,uint256,uint256)": EventFragment;
|
|
185
|
-
"SwapPtAndRawToken(address,address,address,address,int256,int256)": EventFragment;
|
|
186
|
-
"SwapPtAndScy(address,address,address,int256,int256)": EventFragment;
|
|
187
|
-
};
|
|
188
|
-
|
|
189
|
-
getEvent(nameOrSignatureOrTopic: "AddLiquidity"): EventFragment;
|
|
190
|
-
getEvent(nameOrSignatureOrTopic: "MintPyFromRawToken"): EventFragment;
|
|
191
|
-
getEvent(nameOrSignatureOrTopic: "MintScyFromRawToken"): EventFragment;
|
|
192
|
-
getEvent(nameOrSignatureOrTopic: "RedeemPyToRawToken"): EventFragment;
|
|
193
|
-
getEvent(nameOrSignatureOrTopic: "RedeemScyToRawToken"): EventFragment;
|
|
194
|
-
getEvent(nameOrSignatureOrTopic: "RemoveLiquidity"): EventFragment;
|
|
195
|
-
getEvent(nameOrSignatureOrTopic: "SwapPtAndRawToken"): EventFragment;
|
|
196
|
-
getEvent(nameOrSignatureOrTopic: "SwapPtAndScy"): EventFragment;
|
|
178
|
+
events: {};
|
|
197
179
|
}
|
|
198
180
|
|
|
199
|
-
export type AddLiquidityEvent = TypedEvent<
|
|
200
|
-
[string, string, string, BigNumber, BigNumber, BigNumber],
|
|
201
|
-
{
|
|
202
|
-
caller: string;
|
|
203
|
-
market: string;
|
|
204
|
-
receiver: string;
|
|
205
|
-
scyUsed: BigNumber;
|
|
206
|
-
ptUsed: BigNumber;
|
|
207
|
-
lpOut: BigNumber;
|
|
208
|
-
}
|
|
209
|
-
>;
|
|
210
|
-
|
|
211
|
-
export type AddLiquidityEventFilter = TypedEventFilter<AddLiquidityEvent>;
|
|
212
|
-
|
|
213
|
-
export type MintPyFromRawTokenEvent = TypedEvent<
|
|
214
|
-
[string, string, string, string, BigNumber, BigNumber],
|
|
215
|
-
{
|
|
216
|
-
caller: string;
|
|
217
|
-
receiver: string;
|
|
218
|
-
YT: string;
|
|
219
|
-
rawTokenIn: string;
|
|
220
|
-
netRawTokenIn: BigNumber;
|
|
221
|
-
netPyOut: BigNumber;
|
|
222
|
-
}
|
|
223
|
-
>;
|
|
224
|
-
|
|
225
|
-
export type MintPyFromRawTokenEventFilter =
|
|
226
|
-
TypedEventFilter<MintPyFromRawTokenEvent>;
|
|
227
|
-
|
|
228
|
-
export type MintScyFromRawTokenEvent = TypedEvent<
|
|
229
|
-
[string, string, string, string, BigNumber, BigNumber],
|
|
230
|
-
{
|
|
231
|
-
caller: string;
|
|
232
|
-
receiver: string;
|
|
233
|
-
SCY: string;
|
|
234
|
-
rawTokenIn: string;
|
|
235
|
-
netRawTokenIn: BigNumber;
|
|
236
|
-
netScyOut: BigNumber;
|
|
237
|
-
}
|
|
238
|
-
>;
|
|
239
|
-
|
|
240
|
-
export type MintScyFromRawTokenEventFilter =
|
|
241
|
-
TypedEventFilter<MintScyFromRawTokenEvent>;
|
|
242
|
-
|
|
243
|
-
export type RedeemPyToRawTokenEvent = TypedEvent<
|
|
244
|
-
[string, string, string, BigNumber, string, BigNumber],
|
|
245
|
-
{
|
|
246
|
-
caller: string;
|
|
247
|
-
receiver: string;
|
|
248
|
-
YT: string;
|
|
249
|
-
netPyIn: BigNumber;
|
|
250
|
-
rawTokenOut: string;
|
|
251
|
-
netRawTokenOut: BigNumber;
|
|
252
|
-
}
|
|
253
|
-
>;
|
|
254
|
-
|
|
255
|
-
export type RedeemPyToRawTokenEventFilter =
|
|
256
|
-
TypedEventFilter<RedeemPyToRawTokenEvent>;
|
|
257
|
-
|
|
258
|
-
export type RedeemScyToRawTokenEvent = TypedEvent<
|
|
259
|
-
[string, string, string, BigNumber, string, BigNumber],
|
|
260
|
-
{
|
|
261
|
-
caller: string;
|
|
262
|
-
receiver: string;
|
|
263
|
-
SCY: string;
|
|
264
|
-
netScyIn: BigNumber;
|
|
265
|
-
rawTokenOut: string;
|
|
266
|
-
netRawTokenOut: BigNumber;
|
|
267
|
-
}
|
|
268
|
-
>;
|
|
269
|
-
|
|
270
|
-
export type RedeemScyToRawTokenEventFilter =
|
|
271
|
-
TypedEventFilter<RedeemScyToRawTokenEvent>;
|
|
272
|
-
|
|
273
|
-
export type RemoveLiquidityEvent = TypedEvent<
|
|
274
|
-
[string, string, string, BigNumber, BigNumber, BigNumber],
|
|
275
|
-
{
|
|
276
|
-
caller: string;
|
|
277
|
-
market: string;
|
|
278
|
-
receiver: string;
|
|
279
|
-
lpIn: BigNumber;
|
|
280
|
-
amountPTOut: BigNumber;
|
|
281
|
-
amountSCYOut: BigNumber;
|
|
282
|
-
}
|
|
283
|
-
>;
|
|
284
|
-
|
|
285
|
-
export type RemoveLiquidityEventFilter = TypedEventFilter<RemoveLiquidityEvent>;
|
|
286
|
-
|
|
287
|
-
export type SwapPtAndRawTokenEvent = TypedEvent<
|
|
288
|
-
[string, string, string, string, BigNumber, BigNumber],
|
|
289
|
-
{
|
|
290
|
-
caller: string;
|
|
291
|
-
market: string;
|
|
292
|
-
rawToken: string;
|
|
293
|
-
receiver: string;
|
|
294
|
-
amountPtToAccount: BigNumber;
|
|
295
|
-
amountRawTokenToAccount: BigNumber;
|
|
296
|
-
}
|
|
297
|
-
>;
|
|
298
|
-
|
|
299
|
-
export type SwapPtAndRawTokenEventFilter =
|
|
300
|
-
TypedEventFilter<SwapPtAndRawTokenEvent>;
|
|
301
|
-
|
|
302
|
-
export type SwapPtAndScyEvent = TypedEvent<
|
|
303
|
-
[string, string, string, BigNumber, BigNumber],
|
|
304
|
-
{
|
|
305
|
-
caller: string;
|
|
306
|
-
market: string;
|
|
307
|
-
receiver: string;
|
|
308
|
-
amountPtToAccount: BigNumber;
|
|
309
|
-
amountScyToAccount: BigNumber;
|
|
310
|
-
}
|
|
311
|
-
>;
|
|
312
|
-
|
|
313
|
-
export type SwapPtAndScyEventFilter = TypedEventFilter<SwapPtAndScyEvent>;
|
|
314
|
-
|
|
315
181
|
export interface IPActionCore extends BaseContract {
|
|
316
182
|
contractName: "IPActionCore";
|
|
317
183
|
connect(signerOrProvider: Signer | Provider | string): this;
|
|
@@ -703,141 +569,7 @@ export interface IPActionCore extends BaseContract {
|
|
|
703
569
|
): Promise<BigNumber>;
|
|
704
570
|
};
|
|
705
571
|
|
|
706
|
-
filters: {
|
|
707
|
-
"AddLiquidity(address,address,address,uint256,uint256,uint256)"(
|
|
708
|
-
caller?: string | null,
|
|
709
|
-
market?: string | null,
|
|
710
|
-
receiver?: string | null,
|
|
711
|
-
scyUsed?: null,
|
|
712
|
-
ptUsed?: null,
|
|
713
|
-
lpOut?: null
|
|
714
|
-
): AddLiquidityEventFilter;
|
|
715
|
-
AddLiquidity(
|
|
716
|
-
caller?: string | null,
|
|
717
|
-
market?: string | null,
|
|
718
|
-
receiver?: string | null,
|
|
719
|
-
scyUsed?: null,
|
|
720
|
-
ptUsed?: null,
|
|
721
|
-
lpOut?: null
|
|
722
|
-
): AddLiquidityEventFilter;
|
|
723
|
-
|
|
724
|
-
"MintPyFromRawToken(address,address,address,address,uint256,uint256)"(
|
|
725
|
-
caller?: string | null,
|
|
726
|
-
receiver?: string | null,
|
|
727
|
-
YT?: string | null,
|
|
728
|
-
rawTokenIn?: null,
|
|
729
|
-
netRawTokenIn?: null,
|
|
730
|
-
netPyOut?: null
|
|
731
|
-
): MintPyFromRawTokenEventFilter;
|
|
732
|
-
MintPyFromRawToken(
|
|
733
|
-
caller?: string | null,
|
|
734
|
-
receiver?: string | null,
|
|
735
|
-
YT?: string | null,
|
|
736
|
-
rawTokenIn?: null,
|
|
737
|
-
netRawTokenIn?: null,
|
|
738
|
-
netPyOut?: null
|
|
739
|
-
): MintPyFromRawTokenEventFilter;
|
|
740
|
-
|
|
741
|
-
"MintScyFromRawToken(address,address,address,address,uint256,uint256)"(
|
|
742
|
-
caller?: string | null,
|
|
743
|
-
receiver?: string | null,
|
|
744
|
-
SCY?: string | null,
|
|
745
|
-
rawTokenIn?: null,
|
|
746
|
-
netRawTokenIn?: null,
|
|
747
|
-
netScyOut?: null
|
|
748
|
-
): MintScyFromRawTokenEventFilter;
|
|
749
|
-
MintScyFromRawToken(
|
|
750
|
-
caller?: string | null,
|
|
751
|
-
receiver?: string | null,
|
|
752
|
-
SCY?: string | null,
|
|
753
|
-
rawTokenIn?: null,
|
|
754
|
-
netRawTokenIn?: null,
|
|
755
|
-
netScyOut?: null
|
|
756
|
-
): MintScyFromRawTokenEventFilter;
|
|
757
|
-
|
|
758
|
-
"RedeemPyToRawToken(address,address,address,uint256,address,uint256)"(
|
|
759
|
-
caller?: string | null,
|
|
760
|
-
receiver?: string | null,
|
|
761
|
-
YT?: string | null,
|
|
762
|
-
netPyIn?: null,
|
|
763
|
-
rawTokenOut?: null,
|
|
764
|
-
netRawTokenOut?: null
|
|
765
|
-
): RedeemPyToRawTokenEventFilter;
|
|
766
|
-
RedeemPyToRawToken(
|
|
767
|
-
caller?: string | null,
|
|
768
|
-
receiver?: string | null,
|
|
769
|
-
YT?: string | null,
|
|
770
|
-
netPyIn?: null,
|
|
771
|
-
rawTokenOut?: null,
|
|
772
|
-
netRawTokenOut?: null
|
|
773
|
-
): RedeemPyToRawTokenEventFilter;
|
|
774
|
-
|
|
775
|
-
"RedeemScyToRawToken(address,address,address,uint256,address,uint256)"(
|
|
776
|
-
caller?: string | null,
|
|
777
|
-
receiver?: string | null,
|
|
778
|
-
SCY?: string | null,
|
|
779
|
-
netScyIn?: null,
|
|
780
|
-
rawTokenOut?: null,
|
|
781
|
-
netRawTokenOut?: null
|
|
782
|
-
): RedeemScyToRawTokenEventFilter;
|
|
783
|
-
RedeemScyToRawToken(
|
|
784
|
-
caller?: string | null,
|
|
785
|
-
receiver?: string | null,
|
|
786
|
-
SCY?: string | null,
|
|
787
|
-
netScyIn?: null,
|
|
788
|
-
rawTokenOut?: null,
|
|
789
|
-
netRawTokenOut?: null
|
|
790
|
-
): RedeemScyToRawTokenEventFilter;
|
|
791
|
-
|
|
792
|
-
"RemoveLiquidity(address,address,address,uint256,uint256,uint256)"(
|
|
793
|
-
caller?: string | null,
|
|
794
|
-
market?: string | null,
|
|
795
|
-
receiver?: null,
|
|
796
|
-
lpIn?: null,
|
|
797
|
-
amountPTOut?: null,
|
|
798
|
-
amountSCYOut?: null
|
|
799
|
-
): RemoveLiquidityEventFilter;
|
|
800
|
-
RemoveLiquidity(
|
|
801
|
-
caller?: string | null,
|
|
802
|
-
market?: string | null,
|
|
803
|
-
receiver?: null,
|
|
804
|
-
lpIn?: null,
|
|
805
|
-
amountPTOut?: null,
|
|
806
|
-
amountSCYOut?: null
|
|
807
|
-
): RemoveLiquidityEventFilter;
|
|
808
|
-
|
|
809
|
-
"SwapPtAndRawToken(address,address,address,address,int256,int256)"(
|
|
810
|
-
caller?: string | null,
|
|
811
|
-
market?: string | null,
|
|
812
|
-
rawToken?: string | null,
|
|
813
|
-
receiver?: null,
|
|
814
|
-
amountPtToAccount?: null,
|
|
815
|
-
amountRawTokenToAccount?: null
|
|
816
|
-
): SwapPtAndRawTokenEventFilter;
|
|
817
|
-
SwapPtAndRawToken(
|
|
818
|
-
caller?: string | null,
|
|
819
|
-
market?: string | null,
|
|
820
|
-
rawToken?: string | null,
|
|
821
|
-
receiver?: null,
|
|
822
|
-
amountPtToAccount?: null,
|
|
823
|
-
amountRawTokenToAccount?: null
|
|
824
|
-
): SwapPtAndRawTokenEventFilter;
|
|
825
|
-
|
|
826
|
-
"SwapPtAndScy(address,address,address,int256,int256)"(
|
|
827
|
-
caller?: string | null,
|
|
828
|
-
market?: string | null,
|
|
829
|
-
receiver?: string | null,
|
|
830
|
-
amountPtToAccount?: null,
|
|
831
|
-
amountScyToAccount?: null
|
|
832
|
-
): SwapPtAndScyEventFilter;
|
|
833
|
-
SwapPtAndScy(
|
|
834
|
-
caller?: string | null,
|
|
835
|
-
market?: string | null,
|
|
836
|
-
receiver?: string | null,
|
|
837
|
-
amountPtToAccount?: null,
|
|
838
|
-
amountScyToAccount?: null
|
|
839
|
-
): SwapPtAndScyEventFilter;
|
|
840
|
-
};
|
|
572
|
+
filters: {};
|
|
841
573
|
|
|
842
574
|
estimateGas: {
|
|
843
575
|
addLiquidity(
|