@pendle/core-v2 0.8.0-beta-11 → 0.8.0-beta-12
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/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 +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 +83 -2
- 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 +706 -32
- 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 +837 -15
- 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 +905 -15
- 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/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 +81 -0
- 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/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 +156 -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/package.json +1 -1
- package/typechain-types/ActionCore.ts +669 -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 +760 -3
- package/typechain-types/IPActionYT.ts +63 -3
- package/typechain-types/IPAllAction.ts +818 -3
- package/typechain-types/IPMarket.ts +38 -38
- package/typechain-types/IPYieldToken.ts +74 -0
- package/typechain-types/PendleMarket.ts +38 -142
- package/typechain-types/PendleYieldToken.ts +74 -0
- package/typechain-types/RouterStatic.ts +244 -0
- package/typechain-types/factories/ActionCallback__factory.ts +1 -1
- package/typechain-types/factories/ActionCore__factory.ts +705 -31
- 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 +837 -15
- package/typechain-types/factories/IPActionYT__factory.ts +68 -0
- package/typechain-types/factories/IPAllAction__factory.ts +905 -15
- package/typechain-types/factories/IPMarket__factory.ts +28 -28
- package/typechain-types/factories/IPYieldToken__factory.ts +81 -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 +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 +1 -1
- package/typechain-types/factories/PendleRouter__factory.ts +1 -1
- 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 +82 -1
- package/typechain-types/factories/RouterStatic__factory.ts +155 -1
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargatePool.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargatePool.json +0 -837
- package/build/artifacts/contracts/interfaces/IStargateLPStaking.sol/IStargateLPStaking.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IStargateLPStaking.sol/IStargateLPStaking.json +0 -47
- package/build/artifacts/contracts/interfaces/IStargatePool.sol/IStargatePool.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IStargatePool.sol/IStargatePool.json +0 -56
- package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.json +0 -63
|
@@ -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,
|
|
@@ -172,6 +172,9 @@ export interface IPYieldTokenInterface extends utils.Interface {
|
|
|
172
172
|
|
|
173
173
|
events: {
|
|
174
174
|
"Approval(address,address,uint256)": EventFragment;
|
|
175
|
+
"Burn(address,address,uint256,uint256)": EventFragment;
|
|
176
|
+
"Mint(address,address,address,uint256,uint256)": EventFragment;
|
|
177
|
+
"NewInterestIndex(uint256)": EventFragment;
|
|
175
178
|
"RedeemInterest(address,uint256)": EventFragment;
|
|
176
179
|
"RedeemRewards(address,uint256[])": EventFragment;
|
|
177
180
|
"Transfer(address,address,uint256)": EventFragment;
|
|
@@ -179,6 +182,9 @@ export interface IPYieldTokenInterface extends utils.Interface {
|
|
|
179
182
|
};
|
|
180
183
|
|
|
181
184
|
getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment;
|
|
185
|
+
getEvent(nameOrSignatureOrTopic: "Burn"): EventFragment;
|
|
186
|
+
getEvent(nameOrSignatureOrTopic: "Mint"): EventFragment;
|
|
187
|
+
getEvent(nameOrSignatureOrTopic: "NewInterestIndex"): EventFragment;
|
|
182
188
|
getEvent(nameOrSignatureOrTopic: "RedeemInterest"): EventFragment;
|
|
183
189
|
getEvent(nameOrSignatureOrTopic: "RedeemRewards"): EventFragment;
|
|
184
190
|
getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment;
|
|
@@ -192,6 +198,39 @@ export type ApprovalEvent = TypedEvent<
|
|
|
192
198
|
|
|
193
199
|
export type ApprovalEventFilter = TypedEventFilter<ApprovalEvent>;
|
|
194
200
|
|
|
201
|
+
export type BurnEvent = TypedEvent<
|
|
202
|
+
[string, string, BigNumber, BigNumber],
|
|
203
|
+
{
|
|
204
|
+
caller: string;
|
|
205
|
+
receiver: string;
|
|
206
|
+
amountPYToRedeem: BigNumber;
|
|
207
|
+
amountScyOut: BigNumber;
|
|
208
|
+
}
|
|
209
|
+
>;
|
|
210
|
+
|
|
211
|
+
export type BurnEventFilter = TypedEventFilter<BurnEvent>;
|
|
212
|
+
|
|
213
|
+
export type MintEvent = TypedEvent<
|
|
214
|
+
[string, string, string, BigNumber, BigNumber],
|
|
215
|
+
{
|
|
216
|
+
caller: string;
|
|
217
|
+
receiverPT: string;
|
|
218
|
+
receiverYT: string;
|
|
219
|
+
amountScyToMint: BigNumber;
|
|
220
|
+
amountPYOut: BigNumber;
|
|
221
|
+
}
|
|
222
|
+
>;
|
|
223
|
+
|
|
224
|
+
export type MintEventFilter = TypedEventFilter<MintEvent>;
|
|
225
|
+
|
|
226
|
+
export type NewInterestIndexEvent = TypedEvent<
|
|
227
|
+
[BigNumber],
|
|
228
|
+
{ newIndex: BigNumber }
|
|
229
|
+
>;
|
|
230
|
+
|
|
231
|
+
export type NewInterestIndexEventFilter =
|
|
232
|
+
TypedEventFilter<NewInterestIndexEvent>;
|
|
233
|
+
|
|
195
234
|
export type RedeemInterestEvent = TypedEvent<
|
|
196
235
|
[string, BigNumber],
|
|
197
236
|
{ user: string; interestOut: BigNumber }
|
|
@@ -557,6 +596,41 @@ export interface IPYieldToken extends BaseContract {
|
|
|
557
596
|
value?: null
|
|
558
597
|
): ApprovalEventFilter;
|
|
559
598
|
|
|
599
|
+
"Burn(address,address,uint256,uint256)"(
|
|
600
|
+
caller?: string | null,
|
|
601
|
+
receiver?: string | null,
|
|
602
|
+
amountPYToRedeem?: null,
|
|
603
|
+
amountScyOut?: null
|
|
604
|
+
): BurnEventFilter;
|
|
605
|
+
Burn(
|
|
606
|
+
caller?: string | null,
|
|
607
|
+
receiver?: string | null,
|
|
608
|
+
amountPYToRedeem?: null,
|
|
609
|
+
amountScyOut?: null
|
|
610
|
+
): BurnEventFilter;
|
|
611
|
+
|
|
612
|
+
"Mint(address,address,address,uint256,uint256)"(
|
|
613
|
+
caller?: string | null,
|
|
614
|
+
receiverPT?: string | null,
|
|
615
|
+
receiverYT?: string | null,
|
|
616
|
+
amountScyToMint?: null,
|
|
617
|
+
amountPYOut?: null
|
|
618
|
+
): MintEventFilter;
|
|
619
|
+
Mint(
|
|
620
|
+
caller?: string | null,
|
|
621
|
+
receiverPT?: string | null,
|
|
622
|
+
receiverYT?: string | null,
|
|
623
|
+
amountScyToMint?: null,
|
|
624
|
+
amountPYOut?: null
|
|
625
|
+
): MintEventFilter;
|
|
626
|
+
|
|
627
|
+
"NewInterestIndex(uint256)"(
|
|
628
|
+
newIndex?: BigNumberish | null
|
|
629
|
+
): NewInterestIndexEventFilter;
|
|
630
|
+
NewInterestIndex(
|
|
631
|
+
newIndex?: BigNumberish | null
|
|
632
|
+
): NewInterestIndexEventFilter;
|
|
633
|
+
|
|
560
634
|
"RedeemInterest(address,uint256)"(
|
|
561
635
|
user?: string | null,
|
|
562
636
|
interestOut?: null
|
|
@@ -68,7 +68,6 @@ export type MarketStateStructOutput = [
|
|
|
68
68
|
export interface PendleMarketInterface extends utils.Interface {
|
|
69
69
|
contractName: "PendleMarket";
|
|
70
70
|
functions: {
|
|
71
|
-
"DOMAIN_SEPARATOR()": FunctionFragment;
|
|
72
71
|
"_storage()": FunctionFragment;
|
|
73
72
|
"activeBalance(address)": FunctionFragment;
|
|
74
73
|
"allowance(address,address)": FunctionFragment;
|
|
@@ -84,8 +83,6 @@ export interface PendleMarketInterface extends utils.Interface {
|
|
|
84
83
|
"lastRewardBlock()": FunctionFragment;
|
|
85
84
|
"mint(address)": FunctionFragment;
|
|
86
85
|
"name()": FunctionFragment;
|
|
87
|
-
"nonces(address)": FunctionFragment;
|
|
88
|
-
"permit(address,address,uint256,uint256,uint8,bytes32,bytes32)": FunctionFragment;
|
|
89
86
|
"readState(bool)": FunctionFragment;
|
|
90
87
|
"readTokens()": FunctionFragment;
|
|
91
88
|
"redeemRewards(address)": FunctionFragment;
|
|
@@ -102,10 +99,6 @@ export interface PendleMarketInterface extends utils.Interface {
|
|
|
102
99
|
"userReward(address,address)": FunctionFragment;
|
|
103
100
|
};
|
|
104
101
|
|
|
105
|
-
encodeFunctionData(
|
|
106
|
-
functionFragment: "DOMAIN_SEPARATOR",
|
|
107
|
-
values?: undefined
|
|
108
|
-
): string;
|
|
109
102
|
encodeFunctionData(functionFragment: "_storage", values?: undefined): string;
|
|
110
103
|
encodeFunctionData(
|
|
111
104
|
functionFragment: "activeBalance",
|
|
@@ -142,19 +135,6 @@ export interface PendleMarketInterface extends utils.Interface {
|
|
|
142
135
|
): string;
|
|
143
136
|
encodeFunctionData(functionFragment: "mint", values: [string]): string;
|
|
144
137
|
encodeFunctionData(functionFragment: "name", values?: undefined): string;
|
|
145
|
-
encodeFunctionData(functionFragment: "nonces", values: [string]): string;
|
|
146
|
-
encodeFunctionData(
|
|
147
|
-
functionFragment: "permit",
|
|
148
|
-
values: [
|
|
149
|
-
string,
|
|
150
|
-
string,
|
|
151
|
-
BigNumberish,
|
|
152
|
-
BigNumberish,
|
|
153
|
-
BigNumberish,
|
|
154
|
-
BytesLike,
|
|
155
|
-
BytesLike
|
|
156
|
-
]
|
|
157
|
-
): string;
|
|
158
138
|
encodeFunctionData(functionFragment: "readState", values: [boolean]): string;
|
|
159
139
|
encodeFunctionData(
|
|
160
140
|
functionFragment: "readTokens",
|
|
@@ -200,10 +180,6 @@ export interface PendleMarketInterface extends utils.Interface {
|
|
|
200
180
|
values: [string, string]
|
|
201
181
|
): string;
|
|
202
182
|
|
|
203
|
-
decodeFunctionResult(
|
|
204
|
-
functionFragment: "DOMAIN_SEPARATOR",
|
|
205
|
-
data: BytesLike
|
|
206
|
-
): Result;
|
|
207
183
|
decodeFunctionResult(functionFragment: "_storage", data: BytesLike): Result;
|
|
208
184
|
decodeFunctionResult(
|
|
209
185
|
functionFragment: "activeBalance",
|
|
@@ -231,8 +207,6 @@ export interface PendleMarketInterface extends utils.Interface {
|
|
|
231
207
|
): Result;
|
|
232
208
|
decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result;
|
|
233
209
|
decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;
|
|
234
|
-
decodeFunctionResult(functionFragment: "nonces", data: BytesLike): Result;
|
|
235
|
-
decodeFunctionResult(functionFragment: "permit", data: BytesLike): Result;
|
|
236
210
|
decodeFunctionResult(functionFragment: "readState", data: BytesLike): Result;
|
|
237
211
|
decodeFunctionResult(functionFragment: "readTokens", data: BytesLike): Result;
|
|
238
212
|
decodeFunctionResult(
|
|
@@ -270,34 +244,22 @@ export interface PendleMarketInterface extends utils.Interface {
|
|
|
270
244
|
decodeFunctionResult(functionFragment: "userReward", data: BytesLike): Result;
|
|
271
245
|
|
|
272
246
|
events: {
|
|
273
|
-
"AddLiquidity(address,uint256,uint256,uint256)": EventFragment;
|
|
274
247
|
"Approval(address,address,uint256)": EventFragment;
|
|
275
|
-
"
|
|
248
|
+
"Burn(address,address,uint256,uint256,uint256)": EventFragment;
|
|
249
|
+
"Mint(address,uint256,uint256,uint256)": EventFragment;
|
|
276
250
|
"Swap(address,int256,int256,uint256)": EventFragment;
|
|
277
251
|
"Transfer(address,address,uint256)": EventFragment;
|
|
278
252
|
"UpdateImpliedRate(uint256,uint256)": EventFragment;
|
|
279
253
|
};
|
|
280
254
|
|
|
281
|
-
getEvent(nameOrSignatureOrTopic: "AddLiquidity"): EventFragment;
|
|
282
255
|
getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment;
|
|
283
|
-
getEvent(nameOrSignatureOrTopic: "
|
|
256
|
+
getEvent(nameOrSignatureOrTopic: "Burn"): EventFragment;
|
|
257
|
+
getEvent(nameOrSignatureOrTopic: "Mint"): EventFragment;
|
|
284
258
|
getEvent(nameOrSignatureOrTopic: "Swap"): EventFragment;
|
|
285
259
|
getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment;
|
|
286
260
|
getEvent(nameOrSignatureOrTopic: "UpdateImpliedRate"): EventFragment;
|
|
287
261
|
}
|
|
288
262
|
|
|
289
|
-
export type AddLiquidityEvent = TypedEvent<
|
|
290
|
-
[string, BigNumber, BigNumber, BigNumber],
|
|
291
|
-
{
|
|
292
|
-
receiver: string;
|
|
293
|
-
lpToAccount: BigNumber;
|
|
294
|
-
scyUsed: BigNumber;
|
|
295
|
-
ptUsed: BigNumber;
|
|
296
|
-
}
|
|
297
|
-
>;
|
|
298
|
-
|
|
299
|
-
export type AddLiquidityEventFilter = TypedEventFilter<AddLiquidityEvent>;
|
|
300
|
-
|
|
301
263
|
export type ApprovalEvent = TypedEvent<
|
|
302
264
|
[string, string, BigNumber],
|
|
303
265
|
{ owner: string; spender: string; value: BigNumber }
|
|
@@ -305,18 +267,30 @@ export type ApprovalEvent = TypedEvent<
|
|
|
305
267
|
|
|
306
268
|
export type ApprovalEventFilter = TypedEventFilter<ApprovalEvent>;
|
|
307
269
|
|
|
308
|
-
export type
|
|
270
|
+
export type BurnEvent = TypedEvent<
|
|
309
271
|
[string, string, BigNumber, BigNumber, BigNumber],
|
|
310
272
|
{
|
|
311
273
|
receiverScy: string;
|
|
312
274
|
receiverPt: string;
|
|
313
|
-
|
|
275
|
+
lpBurned: BigNumber;
|
|
314
276
|
scyToAccount: BigNumber;
|
|
315
277
|
ptToAccount: BigNumber;
|
|
316
278
|
}
|
|
317
279
|
>;
|
|
318
280
|
|
|
319
|
-
export type
|
|
281
|
+
export type BurnEventFilter = TypedEventFilter<BurnEvent>;
|
|
282
|
+
|
|
283
|
+
export type MintEvent = TypedEvent<
|
|
284
|
+
[string, BigNumber, BigNumber, BigNumber],
|
|
285
|
+
{
|
|
286
|
+
receiver: string;
|
|
287
|
+
lpMinted: BigNumber;
|
|
288
|
+
scyUsed: BigNumber;
|
|
289
|
+
ptUsed: BigNumber;
|
|
290
|
+
}
|
|
291
|
+
>;
|
|
292
|
+
|
|
293
|
+
export type MintEventFilter = TypedEventFilter<MintEvent>;
|
|
320
294
|
|
|
321
295
|
export type SwapEvent = TypedEvent<
|
|
322
296
|
[string, BigNumber, BigNumber, BigNumber],
|
|
@@ -373,8 +347,6 @@ export interface PendleMarket extends BaseContract {
|
|
|
373
347
|
removeListener: OnEvent<this>;
|
|
374
348
|
|
|
375
349
|
functions: {
|
|
376
|
-
DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise<[string]>;
|
|
377
|
-
|
|
378
350
|
_storage(
|
|
379
351
|
overrides?: CallOverrides
|
|
380
352
|
): Promise<
|
|
@@ -433,19 +405,6 @@ export interface PendleMarket extends BaseContract {
|
|
|
433
405
|
|
|
434
406
|
name(overrides?: CallOverrides): Promise<[string]>;
|
|
435
407
|
|
|
436
|
-
nonces(owner: string, overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
437
|
-
|
|
438
|
-
permit(
|
|
439
|
-
owner: string,
|
|
440
|
-
spender: string,
|
|
441
|
-
value: BigNumberish,
|
|
442
|
-
deadline: BigNumberish,
|
|
443
|
-
v: BigNumberish,
|
|
444
|
-
r: BytesLike,
|
|
445
|
-
s: BytesLike,
|
|
446
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
447
|
-
): Promise<ContractTransaction>;
|
|
448
|
-
|
|
449
408
|
readState(
|
|
450
409
|
updateRateOracle: boolean,
|
|
451
410
|
overrides?: CallOverrides
|
|
@@ -517,8 +476,6 @@ export interface PendleMarket extends BaseContract {
|
|
|
517
476
|
>;
|
|
518
477
|
};
|
|
519
478
|
|
|
520
|
-
DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise<string>;
|
|
521
|
-
|
|
522
479
|
_storage(
|
|
523
480
|
overrides?: CallOverrides
|
|
524
481
|
): Promise<
|
|
@@ -574,19 +531,6 @@ export interface PendleMarket extends BaseContract {
|
|
|
574
531
|
|
|
575
532
|
name(overrides?: CallOverrides): Promise<string>;
|
|
576
533
|
|
|
577
|
-
nonces(owner: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
578
|
-
|
|
579
|
-
permit(
|
|
580
|
-
owner: string,
|
|
581
|
-
spender: string,
|
|
582
|
-
value: BigNumberish,
|
|
583
|
-
deadline: BigNumberish,
|
|
584
|
-
v: BigNumberish,
|
|
585
|
-
r: BytesLike,
|
|
586
|
-
s: BytesLike,
|
|
587
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
588
|
-
): Promise<ContractTransaction>;
|
|
589
|
-
|
|
590
534
|
readState(
|
|
591
535
|
updateRateOracle: boolean,
|
|
592
536
|
overrides?: CallOverrides
|
|
@@ -656,8 +600,6 @@ export interface PendleMarket extends BaseContract {
|
|
|
656
600
|
): Promise<[BigNumber, BigNumber] & { index: BigNumber; accrued: BigNumber }>;
|
|
657
601
|
|
|
658
602
|
callStatic: {
|
|
659
|
-
DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise<string>;
|
|
660
|
-
|
|
661
603
|
_storage(
|
|
662
604
|
overrides?: CallOverrides
|
|
663
605
|
): Promise<
|
|
@@ -715,19 +657,6 @@ export interface PendleMarket extends BaseContract {
|
|
|
715
657
|
|
|
716
658
|
name(overrides?: CallOverrides): Promise<string>;
|
|
717
659
|
|
|
718
|
-
nonces(owner: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
719
|
-
|
|
720
|
-
permit(
|
|
721
|
-
owner: string,
|
|
722
|
-
spender: string,
|
|
723
|
-
value: BigNumberish,
|
|
724
|
-
deadline: BigNumberish,
|
|
725
|
-
v: BigNumberish,
|
|
726
|
-
r: BytesLike,
|
|
727
|
-
s: BytesLike,
|
|
728
|
-
overrides?: CallOverrides
|
|
729
|
-
): Promise<void>;
|
|
730
|
-
|
|
731
660
|
readState(
|
|
732
661
|
updateRateOracle: boolean,
|
|
733
662
|
overrides?: CallOverrides
|
|
@@ -808,19 +737,6 @@ export interface PendleMarket extends BaseContract {
|
|
|
808
737
|
};
|
|
809
738
|
|
|
810
739
|
filters: {
|
|
811
|
-
"AddLiquidity(address,uint256,uint256,uint256)"(
|
|
812
|
-
receiver?: string | null,
|
|
813
|
-
lpToAccount?: null,
|
|
814
|
-
scyUsed?: null,
|
|
815
|
-
ptUsed?: null
|
|
816
|
-
): AddLiquidityEventFilter;
|
|
817
|
-
AddLiquidity(
|
|
818
|
-
receiver?: string | null,
|
|
819
|
-
lpToAccount?: null,
|
|
820
|
-
scyUsed?: null,
|
|
821
|
-
ptUsed?: null
|
|
822
|
-
): AddLiquidityEventFilter;
|
|
823
|
-
|
|
824
740
|
"Approval(address,address,uint256)"(
|
|
825
741
|
owner?: string | null,
|
|
826
742
|
spender?: string | null,
|
|
@@ -832,20 +748,33 @@ export interface PendleMarket extends BaseContract {
|
|
|
832
748
|
value?: null
|
|
833
749
|
): ApprovalEventFilter;
|
|
834
750
|
|
|
835
|
-
"
|
|
751
|
+
"Burn(address,address,uint256,uint256,uint256)"(
|
|
836
752
|
receiverScy?: string | null,
|
|
837
753
|
receiverPt?: string | null,
|
|
838
|
-
|
|
754
|
+
lpBurned?: null,
|
|
839
755
|
scyToAccount?: null,
|
|
840
756
|
ptToAccount?: null
|
|
841
|
-
):
|
|
842
|
-
|
|
757
|
+
): BurnEventFilter;
|
|
758
|
+
Burn(
|
|
843
759
|
receiverScy?: string | null,
|
|
844
760
|
receiverPt?: string | null,
|
|
845
|
-
|
|
761
|
+
lpBurned?: null,
|
|
846
762
|
scyToAccount?: null,
|
|
847
763
|
ptToAccount?: null
|
|
848
|
-
):
|
|
764
|
+
): BurnEventFilter;
|
|
765
|
+
|
|
766
|
+
"Mint(address,uint256,uint256,uint256)"(
|
|
767
|
+
receiver?: string | null,
|
|
768
|
+
lpMinted?: null,
|
|
769
|
+
scyUsed?: null,
|
|
770
|
+
ptUsed?: null
|
|
771
|
+
): MintEventFilter;
|
|
772
|
+
Mint(
|
|
773
|
+
receiver?: string | null,
|
|
774
|
+
lpMinted?: null,
|
|
775
|
+
scyUsed?: null,
|
|
776
|
+
ptUsed?: null
|
|
777
|
+
): MintEventFilter;
|
|
849
778
|
|
|
850
779
|
"Swap(address,int256,int256,uint256)"(
|
|
851
780
|
receiver?: string | null,
|
|
@@ -882,8 +811,6 @@ export interface PendleMarket extends BaseContract {
|
|
|
882
811
|
};
|
|
883
812
|
|
|
884
813
|
estimateGas: {
|
|
885
|
-
DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise<BigNumber>;
|
|
886
|
-
|
|
887
814
|
_storage(overrides?: CallOverrides): Promise<BigNumber>;
|
|
888
815
|
|
|
889
816
|
activeBalance(arg0: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
@@ -929,19 +856,6 @@ export interface PendleMarket extends BaseContract {
|
|
|
929
856
|
|
|
930
857
|
name(overrides?: CallOverrides): Promise<BigNumber>;
|
|
931
858
|
|
|
932
|
-
nonces(owner: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
933
|
-
|
|
934
|
-
permit(
|
|
935
|
-
owner: string,
|
|
936
|
-
spender: string,
|
|
937
|
-
value: BigNumberish,
|
|
938
|
-
deadline: BigNumberish,
|
|
939
|
-
v: BigNumberish,
|
|
940
|
-
r: BytesLike,
|
|
941
|
-
s: BytesLike,
|
|
942
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
943
|
-
): Promise<BigNumber>;
|
|
944
|
-
|
|
945
859
|
readState(
|
|
946
860
|
updateRateOracle: boolean,
|
|
947
861
|
overrides?: CallOverrides
|
|
@@ -1003,8 +917,6 @@ export interface PendleMarket extends BaseContract {
|
|
|
1003
917
|
};
|
|
1004
918
|
|
|
1005
919
|
populateTransaction: {
|
|
1006
|
-
DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
1007
|
-
|
|
1008
920
|
_storage(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
1009
921
|
|
|
1010
922
|
activeBalance(
|
|
@@ -1056,22 +968,6 @@ export interface PendleMarket extends BaseContract {
|
|
|
1056
968
|
|
|
1057
969
|
name(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
1058
970
|
|
|
1059
|
-
nonces(
|
|
1060
|
-
owner: string,
|
|
1061
|
-
overrides?: CallOverrides
|
|
1062
|
-
): Promise<PopulatedTransaction>;
|
|
1063
|
-
|
|
1064
|
-
permit(
|
|
1065
|
-
owner: string,
|
|
1066
|
-
spender: string,
|
|
1067
|
-
value: BigNumberish,
|
|
1068
|
-
deadline: BigNumberish,
|
|
1069
|
-
v: BigNumberish,
|
|
1070
|
-
r: BytesLike,
|
|
1071
|
-
s: BytesLike,
|
|
1072
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1073
|
-
): Promise<PopulatedTransaction>;
|
|
1074
|
-
|
|
1075
971
|
readState(
|
|
1076
972
|
updateRateOracle: boolean,
|
|
1077
973
|
overrides?: CallOverrides
|
|
@@ -228,6 +228,9 @@ export interface PendleYieldTokenInterface extends utils.Interface {
|
|
|
228
228
|
|
|
229
229
|
events: {
|
|
230
230
|
"Approval(address,address,uint256)": EventFragment;
|
|
231
|
+
"Burn(address,address,uint256,uint256)": EventFragment;
|
|
232
|
+
"Mint(address,address,address,uint256,uint256)": EventFragment;
|
|
233
|
+
"NewInterestIndex(uint256)": EventFragment;
|
|
231
234
|
"RedeemInterest(address,uint256)": EventFragment;
|
|
232
235
|
"RedeemRewards(address,uint256[])": EventFragment;
|
|
233
236
|
"Transfer(address,address,uint256)": EventFragment;
|
|
@@ -235,6 +238,9 @@ export interface PendleYieldTokenInterface extends utils.Interface {
|
|
|
235
238
|
};
|
|
236
239
|
|
|
237
240
|
getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment;
|
|
241
|
+
getEvent(nameOrSignatureOrTopic: "Burn"): EventFragment;
|
|
242
|
+
getEvent(nameOrSignatureOrTopic: "Mint"): EventFragment;
|
|
243
|
+
getEvent(nameOrSignatureOrTopic: "NewInterestIndex"): EventFragment;
|
|
238
244
|
getEvent(nameOrSignatureOrTopic: "RedeemInterest"): EventFragment;
|
|
239
245
|
getEvent(nameOrSignatureOrTopic: "RedeemRewards"): EventFragment;
|
|
240
246
|
getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment;
|
|
@@ -248,6 +254,39 @@ export type ApprovalEvent = TypedEvent<
|
|
|
248
254
|
|
|
249
255
|
export type ApprovalEventFilter = TypedEventFilter<ApprovalEvent>;
|
|
250
256
|
|
|
257
|
+
export type BurnEvent = TypedEvent<
|
|
258
|
+
[string, string, BigNumber, BigNumber],
|
|
259
|
+
{
|
|
260
|
+
caller: string;
|
|
261
|
+
receiver: string;
|
|
262
|
+
amountPYToRedeem: BigNumber;
|
|
263
|
+
amountScyOut: BigNumber;
|
|
264
|
+
}
|
|
265
|
+
>;
|
|
266
|
+
|
|
267
|
+
export type BurnEventFilter = TypedEventFilter<BurnEvent>;
|
|
268
|
+
|
|
269
|
+
export type MintEvent = TypedEvent<
|
|
270
|
+
[string, string, string, BigNumber, BigNumber],
|
|
271
|
+
{
|
|
272
|
+
caller: string;
|
|
273
|
+
receiverPT: string;
|
|
274
|
+
receiverYT: string;
|
|
275
|
+
amountScyToMint: BigNumber;
|
|
276
|
+
amountPYOut: BigNumber;
|
|
277
|
+
}
|
|
278
|
+
>;
|
|
279
|
+
|
|
280
|
+
export type MintEventFilter = TypedEventFilter<MintEvent>;
|
|
281
|
+
|
|
282
|
+
export type NewInterestIndexEvent = TypedEvent<
|
|
283
|
+
[BigNumber],
|
|
284
|
+
{ newIndex: BigNumber }
|
|
285
|
+
>;
|
|
286
|
+
|
|
287
|
+
export type NewInterestIndexEventFilter =
|
|
288
|
+
TypedEventFilter<NewInterestIndexEvent>;
|
|
289
|
+
|
|
251
290
|
export type RedeemInterestEvent = TypedEvent<
|
|
252
291
|
[string, BigNumber],
|
|
253
292
|
{ user: string; interestOut: BigNumber }
|
|
@@ -730,6 +769,41 @@ export interface PendleYieldToken extends BaseContract {
|
|
|
730
769
|
value?: null
|
|
731
770
|
): ApprovalEventFilter;
|
|
732
771
|
|
|
772
|
+
"Burn(address,address,uint256,uint256)"(
|
|
773
|
+
caller?: string | null,
|
|
774
|
+
receiver?: string | null,
|
|
775
|
+
amountPYToRedeem?: null,
|
|
776
|
+
amountScyOut?: null
|
|
777
|
+
): BurnEventFilter;
|
|
778
|
+
Burn(
|
|
779
|
+
caller?: string | null,
|
|
780
|
+
receiver?: string | null,
|
|
781
|
+
amountPYToRedeem?: null,
|
|
782
|
+
amountScyOut?: null
|
|
783
|
+
): BurnEventFilter;
|
|
784
|
+
|
|
785
|
+
"Mint(address,address,address,uint256,uint256)"(
|
|
786
|
+
caller?: string | null,
|
|
787
|
+
receiverPT?: string | null,
|
|
788
|
+
receiverYT?: string | null,
|
|
789
|
+
amountScyToMint?: null,
|
|
790
|
+
amountPYOut?: null
|
|
791
|
+
): MintEventFilter;
|
|
792
|
+
Mint(
|
|
793
|
+
caller?: string | null,
|
|
794
|
+
receiverPT?: string | null,
|
|
795
|
+
receiverYT?: string | null,
|
|
796
|
+
amountScyToMint?: null,
|
|
797
|
+
amountPYOut?: null
|
|
798
|
+
): MintEventFilter;
|
|
799
|
+
|
|
800
|
+
"NewInterestIndex(uint256)"(
|
|
801
|
+
newIndex?: BigNumberish | null
|
|
802
|
+
): NewInterestIndexEventFilter;
|
|
803
|
+
NewInterestIndex(
|
|
804
|
+
newIndex?: BigNumberish | null
|
|
805
|
+
): NewInterestIndexEventFilter;
|
|
806
|
+
|
|
733
807
|
"RedeemInterest(address,uint256)"(
|
|
734
808
|
user?: string | null,
|
|
735
809
|
interestOut?: null
|