@pendle/core-v2 6.7.0 → 6.8.0
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/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerUpg.sol/PendleGaugeControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerUpg.sol/PendleGaugeControllerUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/sPendle/StakedPendle.sol/StakedPendle.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/sPendle/StakedPendle.sol/StakedPendle.json +2 -2
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
- package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactoryV7Upg.sol/PendleMarketFactoryV7Upg.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactoryV7Upg.sol/PendleMarketFactoryV7Upg.json +2 -2
- package/build/artifacts/contracts/core/Market/PendleMarketV7.sol/PendleMarketV7.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketV7.sol/PendleMarketV7.json +5 -5
- package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.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/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.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 -2
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.json +2 -2
- package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.json +2 -2
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.json +2 -2
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.json +2 -2
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableData.json +2 -2
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +2 -2
- package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.json +2 -2
- package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.json +2 -2
- package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.json +2 -2
- package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.json +2 -2
- package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.json +2 -2
- package/build/artifacts/contracts/cross-chain/FixedPricePTAMMV2.sol/FixedPricePTAMMV2.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/FixedPricePTAMMV2.sol/FixedPricePTAMMV2.json +2 -2
- package/build/artifacts/contracts/cross-chain/OFTPTSwapper.sol/OFTPTSwapper.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/OFTPTSwapper.sol/OFTPTSwapper.json +99 -0
- package/build/artifacts/contracts/cross-chain/deposit-box/DepositBox.sol/DepositBox.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/deposit-box/DepositBox.sol/DepositBox.json +2 -2
- package/build/artifacts/contracts/cross-chain/deposit-box/DepositBoxFactory.sol/DepositBoxFactory.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/deposit-box/DepositBoxFactory.sol/DepositBoxFactory.json +2 -2
- package/build/artifacts/contracts/cross-chain/factory/PendleBridgePTFactory.sol/PendleBridgePTFactory.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/factory/PendleBridgePTFactory.sol/PendleBridgePTFactory.json +2 -2
- package/build/artifacts/contracts/cross-chain/funder/BridgeFunder.sol/BridgeFunder.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/funder/BridgeFunder.sol/BridgeFunder.json +2 -2
- package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol/OFTAdapterAltImpl.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol/OFTAdapterAltImpl.json +2 -2
- package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.json +2 -2
- package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFT.sol/PendleOFT.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFT.sol/PendleOFT.json +2 -2
- package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFTAlt.sol/PendleOFTAlt.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFTAlt.sol/PendleOFTAlt.json +2 -2
- package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.json +2 -2
- package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol/PendleBridgedPrincipalTokenAlt.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol/PendleBridgedPrincipalTokenAlt.json +2 -2
- package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.json +2 -2
- package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.dbg.json +1 -1
- package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
- package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.json +2 -2
- package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILPWrapper.sol/ILPWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IMoneyMarket.sol/IMoneyMarket.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IMoneyMarket.sol/IMoneyMarket.json +578 -0
- package/build/artifacts/contracts/interfaces/IMoneyMarket.sol/IMoneyMarketEvents.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IMoneyMarket.sol/IMoneyMarketEvents.json +160 -0
- package/build/artifacts/contracts/interfaces/IMoneyMarketView.sol/IMoneyMarketView.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IMoneyMarketView.sol/IMoneyMarketView.json +238 -0
- package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBridgeDataVerifier.sol/IPBridgeDataVerifier.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPBridgeDataVerifier.sol/IPBridgeDataVerifier.json +81 -0
- package/build/artifacts/contracts/interfaces/IPBridgeFunder.sol/IPBridgeFunder.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBridgePTFactory.sol/IPBridgePTFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPDepositBoxFactory.sol/IPDepositBoxFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLPWrapperFactory.sol/IPLPWrapperFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLoopPositionBox.sol/IPLoopPositionBox.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPLoopPositionBox.sol/IPLoopPositionBox.json +170 -0
- package/build/artifacts/contracts/interfaces/IPLoopPositionBoxFactory.sol/IPLoopPositionBoxFactory.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPLoopPositionBoxFactory.sol/IPLoopPositionBoxFactory.json +377 -0
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- 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/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPOFTPTSwapper.sol/IPOFTPTSwapper.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/{IPSwapHelper.sol/IPSwapHelper.json → IPOFTPTSwapper.sol/IPOFTPTSwapper.json} +2 -2
- package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPTLooper.sol/IPPTLooper.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPPTLooper.sol/IPPTLooper.json +2476 -0
- package/build/artifacts/contracts/interfaces/IPPTLooper.sol/IPPTLooperEIP712Types.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPPTLooper.sol/IPPTLooperEIP712Types.json +10 -0
- package/build/artifacts/contracts/interfaces/IPPTLooperView.sol/IPPTLooperView.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPPTLooperView.sol/IPPTLooperView.json +209 -0
- package/build/artifacts/contracts/interfaces/IPPTOFTAdapterFactory.sol/IPPTOFTAdapterFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPostPtLoopStateChecker.sol/IPPostPtLoopStateChecker.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPPostPtLoopStateChecker.sol/IPPostPtLoopStateChecker.json +29 -0
- package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPStakedPendle.sol/IPStakedPendle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPStaticQuoter.sol/IPStaticQuoter.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPStaticQuoter.sol/IPStaticQuoter.json +55 -0
- package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.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/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.json +2 -2
- package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +2 -2
- package/build/artifacts/contracts/limit/helpers/MintSyHelper.sol/MintSyHelper.dbg.json +1 -1
- package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
- package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/ILegacyMarket.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleAPIFeeDepositor.sol/PendleAPIFeeDepositor.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleAPIFeeDepositor.sol/PendleAPIFeeDepositor.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleProxyAdmin.sol/PendleProxyAdmin.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleProxyAdmin.sol/PendleProxyAdmin.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.json +2 -2
- package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.json +2 -2
- package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/StatelessWrapper/PendleLinearDiscountOracleWrapper.sol/PendleLinearDiscountOracleWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/StatelessWrapper/PendleLinearDiscountOracleWrapper.sol/PendleLinearDiscountOracleWrapper.json +2 -2
- package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.json +2 -2
- package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.json +2 -2
- package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.json +2 -2
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/LPExpiry.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.json +2 -2
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.json +2 -2
- package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.json +2 -2
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.json +2 -2
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.json +2 -2
- package/build/artifacts/contracts/pt-looping/BridgeDataVerifier.sol/BridgeDataVerifier.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/BridgeDataVerifier.sol/BridgeDataVerifier.json +405 -0
- package/build/artifacts/contracts/pt-looping/PTLooperBase.sol/PTLooperBase.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/PTLooperBase.sol/PTLooperBase.json +2626 -0
- package/build/artifacts/contracts/pt-looping/PTLooperEIP712TypesEncodeDataLib.sol/PTLooperEIP712TypesEncodeDataLib.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/PTLooperEIP712TypesEncodeDataLib.sol/PTLooperEIP712TypesEncodeDataLib.json +10 -0
- package/build/artifacts/contracts/pt-looping/PendlePTLooper.sol/PendlePTLooper.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/PendlePTLooper.sol/PendlePTLooper.json +2660 -0
- package/build/artifacts/contracts/pt-looping/PendlePTLooperView.sol/PendlePTLooperView.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/PendlePTLooperView.sol/PendlePTLooperView.json +334 -0
- package/build/artifacts/contracts/pt-looping/PostPtLoopStateChecker.sol/PostPtLoopStateChecker.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/PostPtLoopStateChecker.sol/PostPtLoopStateChecker.json +79 -0
- package/build/artifacts/contracts/pt-looping/StaticStableQuoter.sol/StaticStableQuoter.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/StaticStableQuoter.sol/StaticStableQuoter.json +233 -0
- package/build/artifacts/contracts/pt-looping/loop-position-box/LoopPositionBox.sol/LoopPositionBox.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/loop-position-box/LoopPositionBox.sol/LoopPositionBox.json +198 -0
- package/build/artifacts/contracts/pt-looping/loop-position-box/LoopPositionBoxFactory.sol/LoopPositionBoxFactory.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/loop-position-box/LoopPositionBoxFactory.sol/LoopPositionBoxFactory.json +555 -0
- package/build/artifacts/contracts/pt-looping/money-market/BaseMoneyMarket.sol/BaseMoneyMarket.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/BaseMoneyMarket.sol/BaseMoneyMarket.json +604 -0
- package/build/artifacts/contracts/pt-looping/money-market/BaseMoneyMarketView.sol/BaseMoneyMarketView.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/BaseMoneyMarketView.sol/BaseMoneyMarketView.json +264 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/AaveMMPayloadLib.sol/AaveMMPayloadLib.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/AaveMMPayloadLib.sol/AaveMMPayloadLib.json +10 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/AaveMoneyMarket.sol/AaveMoneyMarket.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/AaveMoneyMarket.sol/AaveMoneyMarket.json +659 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/AaveMoneyMarketView.sol/AaveMoneyMarketView.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/AaveMoneyMarketView.sol/AaveMoneyMarketView.json +355 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/AaveDataTypes.sol/AaveDataTypes.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/AaveDataTypes.sol/AaveDataTypes.json +10 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IAToken.sol/IAToken.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IAToken.sol/IAToken.json +246 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IAaveOracle.sol/IAaveOracle.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IAaveOracle.sol/IAaveOracle.json +120 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IAaveRewardsController.sol/IAaveRewardsController.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IAaveRewardsController.sol/IAaveRewardsController.json +724 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IPool.sol/IPool.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IPool.sol/IPool.json +1600 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IPoolAddressesProvider.sol/IPoolAddressesProvider.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IPoolAddressesProvider.sol/IPoolAddressesProvider.json +507 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IPoolDataProviderV3.sol/IPoolDataProviderV3.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IPoolDataProviderV3.sol/IPoolDataProviderV3.json +577 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IPriceOracleGetter.sol/IPriceOracleGetter.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IPriceOracleGetter.sol/IPriceOracleGetter.json +56 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/MorphoBlueMoneyMarket.sol/MorphoBlueMoneyMarket.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/MorphoBlueMoneyMarket.sol/MorphoBlueMoneyMarket.json +633 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/MorphoBlueMoneyMarketView.sol/MorphoBlueMoneyMarketView.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/MorphoBlueMoneyMarketView.sol/MorphoBlueMoneyMarketView.json +298 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/IMorpho.sol/IIrm.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/IMorpho.sol/IIrm.json +234 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/IMorpho.sol/IMorpho.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/IMorpho.sol/IMorpho.json +1033 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/IMorphoOracle.sol/IMorphoOracle.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/IMorphoOracle.sol/IMorphoOracle.json +24 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/MathLib.sol/MathLib.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/MathLib.sol/MathLib.json +10 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/SharesMathLib.sol/SharesMathLib.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/SharesMathLib.sol/SharesMathLib.json +10 -0
- package/build/artifacts/contracts/pt-looping/vendor/bungee/IBungeeInbox.sol/IBungeeSORInbox.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/vendor/bungee/IBungeeInbox.sol/IBungeeSORInbox.json +143 -0
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
- package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.json +2 -2
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -2
- package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -2
- package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
- package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
- package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
- package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
- package/build/artifacts/contracts/router/RouterStorage.sol/RouterStorage.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
- package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +2 -2
- package/contracts/cross-chain/{PendleSwapHelper.sol → OFTPTSwapper.sol} +4 -3
- package/contracts/interfaces/IMoneyMarket.sol +60 -0
- package/contracts/interfaces/IMoneyMarketView.sol +42 -0
- package/contracts/interfaces/IPBridgeDataVerifier.sol +23 -0
- package/contracts/interfaces/IPLoopPositionBox.sol +38 -0
- package/contracts/interfaces/IPLoopPositionBoxFactory.sol +37 -0
- package/contracts/interfaces/{IPSwapHelper.sol → IPOFTPTSwapper.sol} +1 -1
- package/contracts/interfaces/IPPTLooper.sol +301 -0
- package/contracts/interfaces/IPPTLooperView.sol +35 -0
- package/contracts/interfaces/IPPostPtLoopStateChecker.sol +8 -0
- package/contracts/interfaces/IPStaticQuoter.sol +13 -0
- package/contracts/pt-looping/BridgeDataVerifier.sol +158 -0
- package/contracts/pt-looping/PTLooperBase.sol +236 -0
- package/contracts/pt-looping/PTLooperEIP712TypesEncodeDataLib.sol +210 -0
- package/contracts/pt-looping/PendlePTLooper.sol +318 -0
- package/contracts/pt-looping/PendlePTLooperView.sol +42 -0
- package/contracts/pt-looping/PostPtLoopStateChecker.sol +79 -0
- package/contracts/pt-looping/StaticStableQuoter.sol +46 -0
- package/contracts/pt-looping/loop-position-box/LoopPositionBox.sol +85 -0
- package/contracts/pt-looping/loop-position-box/LoopPositionBoxFactory.sol +123 -0
- package/contracts/pt-looping/money-market/BaseMoneyMarket.sol +129 -0
- package/contracts/pt-looping/money-market/BaseMoneyMarketView.sol +123 -0
- package/contracts/pt-looping/money-market/implementations/aave/AaveMMPayloadLib.sol +16 -0
- package/contracts/pt-looping/money-market/implementations/aave/AaveMoneyMarket.sol +123 -0
- package/contracts/pt-looping/money-market/implementations/aave/AaveMoneyMarketView.sol +200 -0
- package/contracts/pt-looping/money-market/implementations/aave/dependencies/AaveDataTypes.sol +259 -0
- package/contracts/pt-looping/money-market/implementations/aave/dependencies/IAToken.sol +8 -0
- package/contracts/pt-looping/money-market/implementations/aave/dependencies/IAaveOracle.sol +33 -0
- package/contracts/pt-looping/money-market/implementations/aave/dependencies/IAaveRewardsController.sol +68 -0
- package/contracts/pt-looping/money-market/implementations/aave/dependencies/IPool.sol +664 -0
- package/contracts/pt-looping/money-market/implementations/aave/dependencies/IPoolAddressesProvider.sol +227 -0
- package/contracts/pt-looping/money-market/implementations/aave/dependencies/IPoolDataProviderV3.sol +228 -0
- package/contracts/pt-looping/money-market/implementations/aave/dependencies/IPriceOracleGetter.sol +32 -0
- package/contracts/pt-looping/money-market/implementations/morpho/MorphoBlueMoneyMarket.sol +123 -0
- package/contracts/pt-looping/money-market/implementations/morpho/MorphoBlueMoneyMarketView.sol +66 -0
- package/contracts/pt-looping/money-market/implementations/morpho/dependencies/IMorpho.sol +300 -0
- package/contracts/pt-looping/money-market/implementations/morpho/dependencies/IMorphoOracle.sol +14 -0
- package/contracts/pt-looping/money-market/implementations/morpho/dependencies/MathLib.sol +35 -0
- package/contracts/pt-looping/money-market/implementations/morpho/dependencies/SharesMathLib.sol +42 -0
- package/contracts/pt-looping/vendor/bungee/IBungeeInbox.sol +36 -0
- package/contracts/router/swap-aggregator/OKXScaleHelper.sol +4 -1
- package/deployments/1-core.json +4 -1
- package/deployments/130-core.json +2 -1
- package/deployments/143-core.json +2 -1
- package/deployments/42161-core.json +2 -1
- package/deployments/4217-core.json +5 -1
- package/deployments/43114-core.json +2 -1
- package/deployments/56-core.json +2 -1
- package/deployments/57073-core.json +2 -1
- package/deployments/747474-core.json +2 -1
- package/deployments/8453-core.json +2 -1
- package/deployments/9745-core.json +2 -1
- package/deployments/999-core.json +2 -1
- package/package.json +2 -1
- package/typechain-types/AaveMoneyMarket.ts +147 -290
- package/typechain-types/AaveMoneyMarketView.ts +0 -13
- package/typechain-types/BaseMoneyMarket.ts +147 -271
- package/typechain-types/BridgeDataVerifier.ts +564 -0
- package/typechain-types/IBungeeSORInbox.ts +192 -0
- package/typechain-types/IMoneyMarket.ts +124 -282
- package/typechain-types/IMoneyMarketEvents.ts +31 -56
- package/typechain-types/IPBridgeDataVerifier.ts +148 -0
- package/typechain-types/IPLoopPositionBox.ts +0 -13
- package/typechain-types/IPLoopPositionBoxFactory.ts +5 -39
- package/typechain-types/IPOFTPTSwapper.ts +161 -0
- package/typechain-types/IPPTLooper.ts +658 -695
- package/typechain-types/IPPTLooperView.ts +56 -251
- package/typechain-types/IPPostPtLoopStateChecker.ts +106 -0
- package/typechain-types/IPStaticQuoter.ts +132 -0
- package/typechain-types/IPool.ts +8 -8
- package/typechain-types/IPoolDataProviderV3.ts +76 -8
- package/typechain-types/LoopPositionBox.ts +25 -38
- package/typechain-types/LoopPositionBoxFactory.ts +17 -51
- package/typechain-types/MorphoBlueMoneyMarket.ts +141 -286
- package/typechain-types/MorphoBlueMoneyMarketView.ts +0 -21
- package/typechain-types/OFTPTSwapper.ts +161 -0
- package/typechain-types/PTLooperBase.ts +671 -708
- package/typechain-types/PendlePTLooper.ts +671 -708
- package/typechain-types/PendlePTLooperView.ts +71 -266
- package/typechain-types/PostPtLoopStateChecker.ts +151 -0
- package/typechain-types/StaticStableQuoter.ts +395 -0
- package/typechain-types/factories/AaveMoneyMarketView__factory.ts +1 -23
- package/typechain-types/factories/AaveMoneyMarket__factory.ts +265 -267
- package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
- package/typechain-types/factories/ActionCallbackV3__factory.ts +1 -1
- package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
- package/typechain-types/factories/ActionSimple__factory.ts +1 -1
- package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionStorageV4__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
- package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
- package/typechain-types/factories/AddressCast__factory.ts +1 -1
- package/typechain-types/factories/AddressProvider__factory.ts +1 -1
- package/typechain-types/factories/BalanceReader__factory.ts +1 -1
- package/typechain-types/factories/BaseMoneyMarket__factory.ts +264 -244
- package/typechain-types/factories/BaseSplitCodeFactoryContract__factory.ts +1 -1
- package/typechain-types/factories/BoringOwnableUpgradeableData__factory.ts +1 -1
- package/typechain-types/factories/BoringPYUsdChainlinkAssetOracle__factory.ts +1 -1
- package/typechain-types/factories/BoringPYUsdChainlinkSYOracle__factory.ts +1 -1
- package/typechain-types/factories/BridgeDataVerifier__factory.ts +463 -0
- package/typechain-types/factories/BridgeFunder__factory.ts +1 -1
- package/typechain-types/factories/DVNOptions__factory.ts +1 -1
- package/typechain-types/factories/DepositBoxFactory__factory.ts +1 -1
- package/typechain-types/factories/DepositBox__factory.ts +1 -1
- package/typechain-types/factories/ERC1967Proxy__factory.ts +1 -1
- package/typechain-types/factories/ERC20Upgradeable__factory.ts +1 -1
- package/typechain-types/factories/ERC20__factory.ts +1 -1
- package/typechain-types/factories/EmptyUUPS__factory.ts +1 -1
- package/typechain-types/factories/Errors__factory.ts +1 -1
- package/typechain-types/factories/ExchangeRateMsgCodec__factory.ts +1 -1
- package/typechain-types/factories/ExecutorOptions__factory.ts +1 -1
- package/typechain-types/factories/ExpiredLpPtRedeemer__factory.ts +1 -1
- package/typechain-types/factories/FixedPricePTAMMV2__factory.ts +1 -1
- package/typechain-types/factories/IBungeeSORInbox__factory.ts +158 -0
- package/typechain-types/factories/IMoneyMarketEvents__factory.ts +11 -61
- package/typechain-types/factories/IMoneyMarket__factory.ts +250 -256
- package/typechain-types/factories/IPBridgeDataVerifier__factory.ts +100 -0
- package/typechain-types/factories/IPLoopPositionBoxFactory__factory.ts +8 -32
- package/typechain-types/factories/IPLoopPositionBox__factory.ts +0 -13
- package/typechain-types/factories/IPOFTPTSwapper__factory.ts +114 -0
- package/typechain-types/factories/IPPTLooperView__factory.ts +94 -201
- package/typechain-types/factories/IPPTLooper__factory.ts +1030 -1043
- package/typechain-types/factories/IPPostPtLoopStateChecker__factory.ts +48 -0
- package/typechain-types/factories/IPStaticQuoter__factory.ts +70 -0
- package/typechain-types/factories/IPoolDataProviderV3__factory.ts +39 -1
- package/typechain-types/factories/IPool__factory.ts +2 -2
- package/typechain-types/factories/LegacyNFTHelper__factory.ts +1 -1
- package/typechain-types/factories/LimitBackendHelperV2__factory.ts +1 -1
- package/typechain-types/factories/LoopPositionBoxFactory__factory.ts +26 -50
- package/typechain-types/factories/LoopPositionBox__factory.ts +11 -35
- package/typechain-types/factories/MarketSweed__factory.ts +1 -1
- package/typechain-types/factories/MorphoBlueMoneyMarketView__factory.ts +1 -14
- package/typechain-types/factories/MorphoBlueMoneyMarket__factory.ts +257 -250
- package/typechain-types/factories/Multicall2__factory.ts +1 -1
- package/typechain-types/factories/NonceManager__factory.ts +1 -1
- package/typechain-types/factories/OFTAdapterAltImpl__factory.ts +1 -1
- package/typechain-types/factories/OFTAdapterImpl__factory.ts +1 -1
- package/typechain-types/factories/OFTAdapter__factory.ts +0 -11
- package/typechain-types/factories/OFTPTSwapper__factory.ts +149 -0
- package/typechain-types/factories/OptionsBuilder__factory.ts +1 -1
- package/typechain-types/factories/OracleLib__factory.ts +1 -1
- package/typechain-types/factories/PTLooperBase__factory.ts +1122 -1135
- package/typechain-types/factories/PendleAPIFeeDepositor__factory.ts +1 -1
- package/typechain-types/factories/PendleBoringOneracle__factory.ts +1 -1
- package/typechain-types/factories/PendleBoringSolvBTCOneracle__factory.ts +1 -1
- package/typechain-types/factories/PendleBridgePTFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleBridgedPrincipalTokenAlt__factory.ts +1 -1
- package/typechain-types/factories/PendleBridgedPrincipalToken__factory.ts +1 -1
- package/typechain-types/factories/PendleChainlinkOracleFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleChainlinkOracleWithQuote__factory.ts +1 -1
- package/typechain-types/factories/PendleChainlinkOracle__factory.ts +1 -1
- package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +1 -1
- package/typechain-types/factories/PendleCommonSYFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleCrossChainSwapHub__factory.ts +1 -1
- package/typechain-types/factories/PendleERC20__factory.ts +1 -1
- package/typechain-types/factories/PendleExchangeRateOracleApp__factory.ts +1 -1
- package/typechain-types/factories/PendleExchangeRateOracleV2__factory.ts +1 -1
- package/typechain-types/factories/PendleExchangeRateOracle__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeDistributorV2__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeSetter__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGovernanceProxy__factory.ts +1 -1
- package/typechain-types/factories/PendleLPWrapperFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleLPWrapper__factory.ts +1 -1
- package/typechain-types/factories/PendleLimitRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleLinearDiscountOracleWrapper__factory.ts +1 -1
- package/typechain-types/factories/PendleLpLinearDiscountOracleFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleLpLinearDiscountOracle__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketFactoryV7Upg__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketV7__factory.ts +1 -1
- package/typechain-types/factories/PendleMerkleDepositor__factory.ts +1 -1
- package/typechain-types/factories/PendleMerkleDistributor__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMultiTokenMerkleDistributor__factory.ts +1 -1
- package/typechain-types/factories/PendleMulticallOwnerV1__factory.ts +1 -1
- package/typechain-types/factories/PendleMulticallV1__factory.ts +1 -1
- package/typechain-types/factories/PendleMulticallV2__factory.ts +1 -1
- package/typechain-types/factories/PendleOFTAlt__factory.ts +1 -1
- package/typechain-types/factories/PendleOFT__factory.ts +1 -1
- package/typechain-types/factories/PendleOffchainStorage__factory.ts +1 -1
- package/typechain-types/factories/PendlePTLooperView__factory.ts +100 -207
- package/typechain-types/factories/PendlePTLooper__factory.ts +1132 -1136
- package/typechain-types/factories/PendlePTOFTAdapterFactory__factory.ts +1 -1
- package/typechain-types/factories/PendlePYLpOracle__factory.ts +1 -1
- package/typechain-types/factories/PendlePoolDeployHelperV2__factory.ts +1 -1
- package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
- package/typechain-types/factories/PendleProxyAdmin__factory.ts +1 -1
- package/typechain-types/factories/PendleRedStoneRateOracleAdapter__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
- package/typechain-types/factories/PendleSparkLinearDiscountOracleFactoryWrapper__factory.ts +1 -1
- package/typechain-types/factories/PendleSparkLinearDiscountOracleFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleSparkLinearDiscountOracle__factory.ts +1 -1
- package/typechain-types/factories/PendleSwapHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleSwap__factory.ts +1 -1
- package/typechain-types/factories/PendleWstETHPriceFeed__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldContractFactoryUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
- package/typechain-types/factories/PostPtLoopStateChecker__factory.ts +141 -0
- package/typechain-types/factories/ProxyAdmin__factory.ts +1 -1
- package/typechain-types/factories/Reflector__factory.ts +1 -1
- package/typechain-types/factories/SDKErrorsDirectory__factory.ts +1 -1
- package/typechain-types/factories/SimulateHelper__factory.ts +1 -1
- package/typechain-types/factories/StakedPendle__factory.ts +1 -1
- package/typechain-types/factories/StaticStableQuoter__factory.ts +286 -0
- package/typechain-types/factories/SupplyCapReader__factory.ts +1 -1
- package/typechain-types/factories/TransparentUpgradeableProxy__factory.ts +1 -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 +360 -0
- package/typechain-types/index.ts +80 -0
- package/build/artifacts/contracts/cross-chain/PendleSwapHelper.sol/PendleSwapHelper.dbg.json +0 -4
- package/build/artifacts/contracts/cross-chain/PendleSwapHelper.sol/PendleSwapHelper.json +0 -99
- package/build/artifacts/contracts/interfaces/IPSwapHelper.sol/IPSwapHelper.dbg.json +0 -4
|
@@ -23,27 +23,71 @@ import type {
|
|
|
23
23
|
OnEvent,
|
|
24
24
|
} from "./common";
|
|
25
25
|
|
|
26
|
-
export declare namespace
|
|
26
|
+
export declare namespace IPPTLooperEIP712Types {
|
|
27
27
|
export type BoxPermitStruct = {
|
|
28
28
|
owner: string;
|
|
29
29
|
boxId: BytesLike;
|
|
30
30
|
expiry: BigNumberish;
|
|
31
|
-
ownerSigHash: BytesLike;
|
|
32
31
|
nonce: BigNumberish;
|
|
33
32
|
};
|
|
34
33
|
|
|
35
|
-
export type BoxPermitStructOutput = [
|
|
36
|
-
string
|
|
34
|
+
export type BoxPermitStructOutput = [string, string, BigNumber, BigNumber] & {
|
|
35
|
+
owner: string;
|
|
36
|
+
boxId: string;
|
|
37
|
+
expiry: BigNumber;
|
|
38
|
+
nonce: BigNumber;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
export type ClaimMMRewardsMessageStruct = {
|
|
42
|
+
permit: IPPTLooperEIP712Types.BoxPermitStruct;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
export type ClaimMMRewardsMessageStructOutput = [
|
|
46
|
+
IPPTLooperEIP712Types.BoxPermitStructOutput
|
|
47
|
+
] & { permit: IPPTLooperEIP712Types.BoxPermitStructOutput };
|
|
48
|
+
|
|
49
|
+
export type RequestHeaderStruct = {
|
|
50
|
+
boxId: BytesLike;
|
|
51
|
+
expiry: BigNumberish;
|
|
52
|
+
sessionNonce: BigNumberish;
|
|
53
|
+
permitNonceCap: BigNumberish;
|
|
54
|
+
swapBridgeSlippage: BigNumberish;
|
|
55
|
+
offchainMetadata: BytesLike;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
export type RequestHeaderStructOutput = [
|
|
37
59
|
string,
|
|
38
60
|
BigNumber,
|
|
39
|
-
|
|
40
|
-
|
|
61
|
+
number,
|
|
62
|
+
number,
|
|
63
|
+
BigNumber,
|
|
64
|
+
string
|
|
41
65
|
] & {
|
|
42
|
-
owner: string;
|
|
43
66
|
boxId: string;
|
|
44
67
|
expiry: BigNumber;
|
|
45
|
-
|
|
46
|
-
|
|
68
|
+
sessionNonce: number;
|
|
69
|
+
permitNonceCap: number;
|
|
70
|
+
swapBridgeSlippage: BigNumber;
|
|
71
|
+
offchainMetadata: string;
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
export type ClaimMMRewardsRequestStruct = {
|
|
75
|
+
header: IPPTLooperEIP712Types.RequestHeaderStruct;
|
|
76
|
+
extRewardController: string;
|
|
77
|
+
data: BytesLike;
|
|
78
|
+
rewardTokens: string[];
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
export type ClaimMMRewardsRequestStructOutput = [
|
|
82
|
+
IPPTLooperEIP712Types.RequestHeaderStructOutput,
|
|
83
|
+
string,
|
|
84
|
+
string,
|
|
85
|
+
string[]
|
|
86
|
+
] & {
|
|
87
|
+
header: IPPTLooperEIP712Types.RequestHeaderStructOutput;
|
|
88
|
+
extRewardController: string;
|
|
89
|
+
data: string;
|
|
90
|
+
rewardTokens: string[];
|
|
47
91
|
};
|
|
48
92
|
|
|
49
93
|
export type BoxApprovedCallStruct = {
|
|
@@ -58,264 +102,190 @@ export declare namespace IPPTLooper {
|
|
|
58
102
|
callData: string;
|
|
59
103
|
};
|
|
60
104
|
|
|
61
|
-
export type
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
maxBridgeAmount: BigNumberish;
|
|
66
|
-
bridgeNativeFee: BigNumberish;
|
|
67
|
-
minDebtRepaid: BigNumberish;
|
|
68
|
-
amountPtWithdrawn: BigNumberish;
|
|
69
|
-
minPtWithdrawn: BigNumberish;
|
|
70
|
-
postWithdrawMaxLTV: BigNumberish;
|
|
105
|
+
export type BridgeDataStruct = {
|
|
106
|
+
call: IPPTLooperEIP712Types.BoxApprovedCallStruct;
|
|
107
|
+
maxAmount: BigNumberish;
|
|
108
|
+
nativeFee: BigNumberish;
|
|
71
109
|
};
|
|
72
110
|
|
|
73
|
-
export type
|
|
74
|
-
|
|
75
|
-
IPPTLooper.BoxApprovedCallStructOutput,
|
|
76
|
-
IPPTLooper.BoxApprovedCallStructOutput,
|
|
77
|
-
BigNumber,
|
|
78
|
-
BigNumber,
|
|
79
|
-
BigNumber,
|
|
80
|
-
BigNumber,
|
|
111
|
+
export type BridgeDataStructOutput = [
|
|
112
|
+
IPPTLooperEIP712Types.BoxApprovedCallStructOutput,
|
|
81
113
|
BigNumber,
|
|
82
114
|
BigNumber
|
|
83
115
|
] & {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
maxBridgeAmount: BigNumber;
|
|
88
|
-
bridgeNativeFee: BigNumber;
|
|
89
|
-
minDebtRepaid: BigNumber;
|
|
90
|
-
amountPtWithdrawn: BigNumber;
|
|
91
|
-
minPtWithdrawn: BigNumber;
|
|
92
|
-
postWithdrawMaxLTV: BigNumber;
|
|
116
|
+
call: IPPTLooperEIP712Types.BoxApprovedCallStructOutput;
|
|
117
|
+
maxAmount: BigNumber;
|
|
118
|
+
nativeFee: BigNumber;
|
|
93
119
|
};
|
|
94
120
|
|
|
95
|
-
export type
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
121
|
+
export type DecreasePositionMessageStruct = {
|
|
122
|
+
permit: IPPTLooperEIP712Types.BoxPermitStruct;
|
|
123
|
+
swap: IPPTLooperEIP712Types.BoxApprovedCallStruct;
|
|
124
|
+
bridge: IPPTLooperEIP712Types.BridgeDataStruct;
|
|
125
|
+
amountPtWithdrawn: BigNumberish;
|
|
126
|
+
postStateCheckData: BytesLike;
|
|
100
127
|
};
|
|
101
128
|
|
|
102
|
-
export type
|
|
103
|
-
|
|
129
|
+
export type DecreasePositionMessageStructOutput = [
|
|
130
|
+
IPPTLooperEIP712Types.BoxPermitStructOutput,
|
|
131
|
+
IPPTLooperEIP712Types.BoxApprovedCallStructOutput,
|
|
132
|
+
IPPTLooperEIP712Types.BridgeDataStructOutput,
|
|
104
133
|
BigNumber,
|
|
105
|
-
|
|
106
|
-
number
|
|
134
|
+
string
|
|
107
135
|
] & {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
136
|
+
permit: IPPTLooperEIP712Types.BoxPermitStructOutput;
|
|
137
|
+
swap: IPPTLooperEIP712Types.BoxApprovedCallStructOutput;
|
|
138
|
+
bridge: IPPTLooperEIP712Types.BridgeDataStructOutput;
|
|
139
|
+
amountPtWithdrawn: BigNumber;
|
|
140
|
+
postStateCheckData: string;
|
|
112
141
|
};
|
|
113
142
|
|
|
114
143
|
export type DecreasePositionRequestStruct = {
|
|
115
|
-
header:
|
|
116
|
-
|
|
117
|
-
minPtToTokenSwapRate: BigNumberish;
|
|
144
|
+
header: IPPTLooperEIP712Types.RequestHeaderStruct;
|
|
145
|
+
minPtToDebtSwapRate: BigNumberish;
|
|
118
146
|
postWithdrawMaxLTV: BigNumberish;
|
|
119
147
|
};
|
|
120
148
|
|
|
121
149
|
export type DecreasePositionRequestStructOutput = [
|
|
122
|
-
|
|
123
|
-
BigNumber,
|
|
150
|
+
IPPTLooperEIP712Types.RequestHeaderStructOutput,
|
|
124
151
|
BigNumber,
|
|
125
152
|
BigNumber
|
|
126
153
|
] & {
|
|
127
|
-
header:
|
|
128
|
-
|
|
129
|
-
minPtToTokenSwapRate: BigNumber;
|
|
154
|
+
header: IPPTLooperEIP712Types.RequestHeaderStructOutput;
|
|
155
|
+
minPtToDebtSwapRate: BigNumber;
|
|
130
156
|
postWithdrawMaxLTV: BigNumber;
|
|
131
157
|
};
|
|
132
158
|
|
|
159
|
+
export type IncreasePositionRequestStruct = {
|
|
160
|
+
header: IPPTLooperEIP712Types.RequestHeaderStruct;
|
|
161
|
+
initTokenIn: string;
|
|
162
|
+
initMinToPtSwapRate: BigNumberish;
|
|
163
|
+
minDebtToPtSwapRate: BigNumberish;
|
|
164
|
+
postBorrowMaxLTV: BigNumberish;
|
|
165
|
+
isZeroPriceImpact: boolean;
|
|
166
|
+
maxFeeRate: BigNumberish;
|
|
167
|
+
};
|
|
168
|
+
|
|
169
|
+
export type IncreasePositionRequestStructOutput = [
|
|
170
|
+
IPPTLooperEIP712Types.RequestHeaderStructOutput,
|
|
171
|
+
string,
|
|
172
|
+
BigNumber,
|
|
173
|
+
BigNumber,
|
|
174
|
+
BigNumber,
|
|
175
|
+
boolean,
|
|
176
|
+
BigNumber
|
|
177
|
+
] & {
|
|
178
|
+
header: IPPTLooperEIP712Types.RequestHeaderStructOutput;
|
|
179
|
+
initTokenIn: string;
|
|
180
|
+
initMinToPtSwapRate: BigNumber;
|
|
181
|
+
minDebtToPtSwapRate: BigNumber;
|
|
182
|
+
postBorrowMaxLTV: BigNumber;
|
|
183
|
+
isZeroPriceImpact: boolean;
|
|
184
|
+
maxFeeRate: BigNumber;
|
|
185
|
+
};
|
|
186
|
+
|
|
133
187
|
export type SwapBridgeWithdrawAllRequestStruct = {
|
|
134
|
-
header:
|
|
188
|
+
header: IPPTLooperEIP712Types.RequestHeaderStruct;
|
|
135
189
|
receiveOnSpoke: boolean;
|
|
136
190
|
hubTokenOut: string;
|
|
137
191
|
dstTokenOut: string;
|
|
138
|
-
|
|
192
|
+
minTokenWithdrawn: BigNumberish;
|
|
139
193
|
};
|
|
140
194
|
|
|
141
195
|
export type SwapBridgeWithdrawAllRequestStructOutput = [
|
|
142
|
-
|
|
196
|
+
IPPTLooperEIP712Types.RequestHeaderStructOutput,
|
|
143
197
|
boolean,
|
|
144
198
|
string,
|
|
145
199
|
string,
|
|
146
200
|
BigNumber
|
|
147
201
|
] & {
|
|
148
|
-
header:
|
|
202
|
+
header: IPPTLooperEIP712Types.RequestHeaderStructOutput;
|
|
149
203
|
receiveOnSpoke: boolean;
|
|
150
204
|
hubTokenOut: string;
|
|
151
205
|
dstTokenOut: string;
|
|
152
|
-
|
|
153
|
-
};
|
|
154
|
-
|
|
155
|
-
export type BatchDecPosThenWithdrawRequestStruct = {
|
|
156
|
-
decreasePositionReq: IPPTLooper.DecreasePositionRequestStruct;
|
|
157
|
-
swapBridgeWithdrawAllReq: IPPTLooper.SwapBridgeWithdrawAllRequestStruct;
|
|
158
|
-
};
|
|
159
|
-
|
|
160
|
-
export type BatchDecPosThenWithdrawRequestStructOutput = [
|
|
161
|
-
IPPTLooper.DecreasePositionRequestStructOutput,
|
|
162
|
-
IPPTLooper.SwapBridgeWithdrawAllRequestStructOutput
|
|
163
|
-
] & {
|
|
164
|
-
decreasePositionReq: IPPTLooper.DecreasePositionRequestStructOutput;
|
|
165
|
-
swapBridgeWithdrawAllReq: IPPTLooper.SwapBridgeWithdrawAllRequestStructOutput;
|
|
206
|
+
minTokenWithdrawn: BigNumber;
|
|
166
207
|
};
|
|
167
208
|
|
|
168
209
|
export type IncreasePositionMessageStruct = {
|
|
169
|
-
permit:
|
|
170
|
-
swap:
|
|
171
|
-
|
|
172
|
-
bridge:
|
|
173
|
-
maxBridgeAmount: BigNumberish;
|
|
174
|
-
bridgeNativeFee: BigNumberish;
|
|
175
|
-
minPtLent: BigNumberish;
|
|
210
|
+
permit: IPPTLooperEIP712Types.BoxPermitStruct;
|
|
211
|
+
swap: IPPTLooperEIP712Types.BoxApprovedCallStruct;
|
|
212
|
+
fee: BigNumberish;
|
|
213
|
+
bridge: IPPTLooperEIP712Types.BridgeDataStruct;
|
|
176
214
|
amountDebtBorrowed: BigNumberish;
|
|
177
|
-
|
|
178
|
-
postBorrowMaxLTV: BigNumberish;
|
|
215
|
+
postStateCheckData: BytesLike;
|
|
179
216
|
};
|
|
180
217
|
|
|
181
218
|
export type IncreasePositionMessageStructOutput = [
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
BigNumber,
|
|
185
|
-
IPPTLooper.BoxApprovedCallStructOutput,
|
|
219
|
+
IPPTLooperEIP712Types.BoxPermitStructOutput,
|
|
220
|
+
IPPTLooperEIP712Types.BoxApprovedCallStructOutput,
|
|
186
221
|
BigNumber,
|
|
222
|
+
IPPTLooperEIP712Types.BridgeDataStructOutput,
|
|
187
223
|
BigNumber,
|
|
188
|
-
|
|
189
|
-
BigNumber,
|
|
190
|
-
BigNumber,
|
|
191
|
-
BigNumber
|
|
224
|
+
string
|
|
192
225
|
] & {
|
|
193
|
-
permit:
|
|
194
|
-
swap:
|
|
195
|
-
|
|
196
|
-
bridge:
|
|
197
|
-
maxBridgeAmount: BigNumber;
|
|
198
|
-
bridgeNativeFee: BigNumber;
|
|
199
|
-
minPtLent: BigNumber;
|
|
226
|
+
permit: IPPTLooperEIP712Types.BoxPermitStructOutput;
|
|
227
|
+
swap: IPPTLooperEIP712Types.BoxApprovedCallStructOutput;
|
|
228
|
+
fee: BigNumber;
|
|
229
|
+
bridge: IPPTLooperEIP712Types.BridgeDataStructOutput;
|
|
200
230
|
amountDebtBorrowed: BigNumber;
|
|
201
|
-
|
|
202
|
-
postBorrowMaxLTV: BigNumber;
|
|
203
|
-
};
|
|
204
|
-
|
|
205
|
-
export type IncreasePositionRequestStruct = {
|
|
206
|
-
header: IPPTLooper.RequestHeaderStruct;
|
|
207
|
-
targetMinPt: BigNumberish;
|
|
208
|
-
minTokenToPtSwapRate: BigNumberish;
|
|
209
|
-
postBorrowMaxLTV: BigNumberish;
|
|
210
|
-
isZeroPriceImpact: boolean;
|
|
211
|
-
};
|
|
212
|
-
|
|
213
|
-
export type IncreasePositionRequestStructOutput = [
|
|
214
|
-
IPPTLooper.RequestHeaderStructOutput,
|
|
215
|
-
BigNumber,
|
|
216
|
-
BigNumber,
|
|
217
|
-
BigNumber,
|
|
218
|
-
boolean
|
|
219
|
-
] & {
|
|
220
|
-
header: IPPTLooper.RequestHeaderStructOutput;
|
|
221
|
-
targetMinPt: BigNumber;
|
|
222
|
-
minTokenToPtSwapRate: BigNumber;
|
|
223
|
-
postBorrowMaxLTV: BigNumber;
|
|
224
|
-
isZeroPriceImpact: boolean;
|
|
231
|
+
postStateCheckData: string;
|
|
225
232
|
};
|
|
226
233
|
|
|
227
234
|
export type SwapBridgeWithdrawAllMessageStruct = {
|
|
228
|
-
permit:
|
|
229
|
-
swap:
|
|
230
|
-
bridge:
|
|
231
|
-
|
|
232
|
-
bridgeNativeFee: BigNumberish;
|
|
235
|
+
permit: IPPTLooperEIP712Types.BoxPermitStruct;
|
|
236
|
+
swap: IPPTLooperEIP712Types.BoxApprovedCallStruct;
|
|
237
|
+
bridge: IPPTLooperEIP712Types.BridgeDataStruct;
|
|
238
|
+
postStateCheckData: BytesLike;
|
|
233
239
|
};
|
|
234
240
|
|
|
235
241
|
export type SwapBridgeWithdrawAllMessageStructOutput = [
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
BigNumber
|
|
242
|
+
IPPTLooperEIP712Types.BoxPermitStructOutput,
|
|
243
|
+
IPPTLooperEIP712Types.BoxApprovedCallStructOutput,
|
|
244
|
+
IPPTLooperEIP712Types.BridgeDataStructOutput,
|
|
245
|
+
string
|
|
241
246
|
] & {
|
|
242
|
-
permit:
|
|
243
|
-
swap:
|
|
244
|
-
bridge:
|
|
245
|
-
|
|
246
|
-
bridgeNativeFee: BigNumber;
|
|
247
|
-
};
|
|
248
|
-
|
|
249
|
-
export type UserRequestStateSetMessageStruct = {
|
|
250
|
-
permit: IPPTLooper.BoxPermitStruct;
|
|
251
|
-
isInitiate: boolean;
|
|
247
|
+
permit: IPPTLooperEIP712Types.BoxPermitStructOutput;
|
|
248
|
+
swap: IPPTLooperEIP712Types.BoxApprovedCallStructOutput;
|
|
249
|
+
bridge: IPPTLooperEIP712Types.BridgeDataStructOutput;
|
|
250
|
+
postStateCheckData: string;
|
|
252
251
|
};
|
|
252
|
+
}
|
|
253
253
|
|
|
254
|
-
|
|
255
|
-
IPPTLooper.BoxPermitStructOutput,
|
|
256
|
-
boolean
|
|
257
|
-
] & { permit: IPPTLooper.BoxPermitStructOutput; isInitiate: boolean };
|
|
258
|
-
|
|
254
|
+
export declare namespace IPPTLooper {
|
|
259
255
|
export type UserRequestInfoStruct = {
|
|
260
|
-
|
|
256
|
+
requestHash: BytesLike;
|
|
261
257
|
sessionNonce: BigNumberish;
|
|
262
258
|
};
|
|
263
259
|
|
|
264
260
|
export type UserRequestInfoStructOutput = [string, number] & {
|
|
265
|
-
|
|
261
|
+
requestHash: string;
|
|
266
262
|
sessionNonce: number;
|
|
267
263
|
};
|
|
268
264
|
}
|
|
269
265
|
|
|
270
|
-
export declare namespace IMulticall {
|
|
271
|
-
export type Call3Struct = { allowFailure: boolean; callData: BytesLike };
|
|
272
|
-
|
|
273
|
-
export type Call3StructOutput = [boolean, string] & {
|
|
274
|
-
allowFailure: boolean;
|
|
275
|
-
callData: string;
|
|
276
|
-
};
|
|
277
|
-
|
|
278
|
-
export type ResultStruct = { success: boolean; returnData: BytesLike };
|
|
279
|
-
|
|
280
|
-
export type ResultStructOutput = [boolean, string] & {
|
|
281
|
-
success: boolean;
|
|
282
|
-
returnData: string;
|
|
283
|
-
};
|
|
284
|
-
}
|
|
285
|
-
|
|
286
266
|
export interface PendlePTLooperInterface extends utils.Interface {
|
|
287
267
|
contractName: "PendlePTLooper";
|
|
288
268
|
functions: {
|
|
289
269
|
"POSITION_BOX_FACTORY()": FunctionFragment;
|
|
270
|
+
"POST_LOOP_STATE_CHECKER()": FunctionFragment;
|
|
290
271
|
"TREASURY()": FunctionFragment;
|
|
291
|
-
"
|
|
272
|
+
"claimMMRewards(((address,bytes32,uint256,uint256)),bytes,((bytes32,uint256,uint32,uint32,uint256,bytes),address,bytes,address[]),bytes)": FunctionFragment;
|
|
292
273
|
"claimOwnership()": FunctionFragment;
|
|
293
|
-
"decreaseLoopPosition(((address,bytes32,uint256,
|
|
294
|
-
"depositToBox(bytes32,address,uint256,(address,address,bytes),uint256)": FunctionFragment;
|
|
274
|
+
"decreaseLoopPosition(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),uint256,bytes),bytes,((bytes32,uint256,uint32,uint32,uint256,bytes),uint256,uint256),bytes)": FunctionFragment;
|
|
295
275
|
"eip712Domain()": FunctionFragment;
|
|
296
276
|
"executor()": FunctionFragment;
|
|
297
|
-
"
|
|
298
|
-
"
|
|
299
|
-
"
|
|
300
|
-
"hashTyped_BatchDecPosThenWithdrawReq((((bytes32,uint256,uint32,uint32),uint256,uint256,uint256),((bytes32,uint256,uint32,uint32),bool,address,address,uint256)))": FunctionFragment;
|
|
301
|
-
"hashTyped_DecreasePositionMsg(((address,bytes32,uint256,bytes32,uint256),(address,address,bytes),(address,address,bytes),uint256,uint256,uint256,uint256,uint256,uint256))": FunctionFragment;
|
|
302
|
-
"hashTyped_DecreasePositionReq(((bytes32,uint256,uint32,uint32),uint256,uint256,uint256))": FunctionFragment;
|
|
303
|
-
"hashTyped_IncreasePositionMsg(((address,bytes32,uint256,bytes32,uint256),(address,address,bytes),uint256,(address,address,bytes),uint256,uint256,uint256,uint256,uint256,uint256))": FunctionFragment;
|
|
304
|
-
"hashTyped_IncreasePositionReq(((bytes32,uint256,uint32,uint32),uint256,uint256,uint256,bool))": FunctionFragment;
|
|
305
|
-
"hashTyped_SwapBridgeWithdrawAllMsg(((address,bytes32,uint256,bytes32,uint256),(address,address,bytes),(address,address,bytes),uint256,uint256))": FunctionFragment;
|
|
306
|
-
"hashTyped_SwapBridgeWithdrawAllReq(((bytes32,uint256,uint32,uint32),bool,address,address,uint256))": FunctionFragment;
|
|
307
|
-
"hashTyped_UserRequestStateSetMsg(((address,bytes32,uint256,bytes32,uint256),bool))": FunctionFragment;
|
|
308
|
-
"increaseLoopPosition(((address,bytes32,uint256,bytes32,uint256),(address,address,bytes),uint256,(address,address,bytes),uint256,uint256,uint256,uint256,uint256,uint256),bytes,((bytes32,uint256,uint32,uint32),uint256,uint256,uint256,bool),bytes)": FunctionFragment;
|
|
277
|
+
"hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool,uint256))": FunctionFragment;
|
|
278
|
+
"hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),uint256,uint256))": FunctionFragment;
|
|
279
|
+
"increaseLoopPosition(((address,bytes32,uint256,uint256),(address,address,bytes),uint256,((address,address,bytes),uint256,uint256),uint256,bytes),bytes,((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool,uint256),bytes)": FunctionFragment;
|
|
309
280
|
"initialize(address)": FunctionFragment;
|
|
310
|
-
"multicall((bool,bytes)[])": FunctionFragment;
|
|
311
281
|
"owner()": FunctionFragment;
|
|
312
282
|
"pendingOwner()": FunctionFragment;
|
|
313
283
|
"proposer()": FunctionFragment;
|
|
314
|
-
"proposerNonce(bytes32)": FunctionFragment;
|
|
284
|
+
"proposerNonce(address,bytes32)": FunctionFragment;
|
|
315
285
|
"setExecutor(address)": FunctionFragment;
|
|
316
286
|
"setProposer(address)": FunctionFragment;
|
|
317
|
-
"
|
|
318
|
-
"
|
|
287
|
+
"swapBridgeWithdrawAll(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),bytes),bytes,((bytes32,uint256,uint32,uint32,uint256,bytes),bool,address,address,uint256),bytes)": FunctionFragment;
|
|
288
|
+
"terminateSession(address,bytes32,bytes32)": FunctionFragment;
|
|
319
289
|
"transferOwnership(address,bool,bool)": FunctionFragment;
|
|
320
290
|
"userRequest(address,bytes32)": FunctionFragment;
|
|
321
291
|
};
|
|
@@ -324,32 +294,31 @@ export interface PendlePTLooperInterface extends utils.Interface {
|
|
|
324
294
|
functionFragment: "POSITION_BOX_FACTORY",
|
|
325
295
|
values?: undefined
|
|
326
296
|
): string;
|
|
327
|
-
encodeFunctionData(functionFragment: "TREASURY", values?: undefined): string;
|
|
328
297
|
encodeFunctionData(
|
|
329
|
-
functionFragment: "
|
|
330
|
-
values: [string, BytesLike]
|
|
331
|
-
): string;
|
|
332
|
-
encodeFunctionData(
|
|
333
|
-
functionFragment: "claimOwnership",
|
|
298
|
+
functionFragment: "POST_LOOP_STATE_CHECKER",
|
|
334
299
|
values?: undefined
|
|
335
300
|
): string;
|
|
301
|
+
encodeFunctionData(functionFragment: "TREASURY", values?: undefined): string;
|
|
336
302
|
encodeFunctionData(
|
|
337
|
-
functionFragment: "
|
|
303
|
+
functionFragment: "claimMMRewards",
|
|
338
304
|
values: [
|
|
339
|
-
|
|
305
|
+
IPPTLooperEIP712Types.ClaimMMRewardsMessageStruct,
|
|
340
306
|
BytesLike,
|
|
341
|
-
|
|
307
|
+
IPPTLooperEIP712Types.ClaimMMRewardsRequestStruct,
|
|
342
308
|
BytesLike
|
|
343
309
|
]
|
|
344
310
|
): string;
|
|
345
311
|
encodeFunctionData(
|
|
346
|
-
functionFragment: "
|
|
312
|
+
functionFragment: "claimOwnership",
|
|
313
|
+
values?: undefined
|
|
314
|
+
): string;
|
|
315
|
+
encodeFunctionData(
|
|
316
|
+
functionFragment: "decreaseLoopPosition",
|
|
347
317
|
values: [
|
|
318
|
+
IPPTLooperEIP712Types.DecreasePositionMessageStruct,
|
|
348
319
|
BytesLike,
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
IPPTLooper.BoxApprovedCallStruct,
|
|
352
|
-
BigNumberish
|
|
320
|
+
IPPTLooperEIP712Types.DecreasePositionRequestStruct,
|
|
321
|
+
BytesLike
|
|
353
322
|
]
|
|
354
323
|
): string;
|
|
355
324
|
encodeFunctionData(
|
|
@@ -358,63 +327,23 @@ export interface PendlePTLooperInterface extends utils.Interface {
|
|
|
358
327
|
): string;
|
|
359
328
|
encodeFunctionData(functionFragment: "executor", values?: undefined): string;
|
|
360
329
|
encodeFunctionData(
|
|
361
|
-
functionFragment: "
|
|
362
|
-
values: [
|
|
363
|
-
): string;
|
|
364
|
-
encodeFunctionData(
|
|
365
|
-
functionFragment: "hashBoxPermit",
|
|
366
|
-
values: [IPPTLooper.BoxPermitStruct]
|
|
330
|
+
functionFragment: "hashRaw",
|
|
331
|
+
values: [IPPTLooperEIP712Types.IncreasePositionRequestStruct]
|
|
367
332
|
): string;
|
|
368
333
|
encodeFunctionData(
|
|
369
|
-
functionFragment: "
|
|
370
|
-
values: [
|
|
371
|
-
): string;
|
|
372
|
-
encodeFunctionData(
|
|
373
|
-
functionFragment: "hashTyped_BatchDecPosThenWithdrawReq",
|
|
374
|
-
values: [IPPTLooper.BatchDecPosThenWithdrawRequestStruct]
|
|
375
|
-
): string;
|
|
376
|
-
encodeFunctionData(
|
|
377
|
-
functionFragment: "hashTyped_DecreasePositionMsg",
|
|
378
|
-
values: [IPPTLooper.DecreasePositionMessageStruct]
|
|
379
|
-
): string;
|
|
380
|
-
encodeFunctionData(
|
|
381
|
-
functionFragment: "hashTyped_DecreasePositionReq",
|
|
382
|
-
values: [IPPTLooper.DecreasePositionRequestStruct]
|
|
383
|
-
): string;
|
|
384
|
-
encodeFunctionData(
|
|
385
|
-
functionFragment: "hashTyped_IncreasePositionMsg",
|
|
386
|
-
values: [IPPTLooper.IncreasePositionMessageStruct]
|
|
387
|
-
): string;
|
|
388
|
-
encodeFunctionData(
|
|
389
|
-
functionFragment: "hashTyped_IncreasePositionReq",
|
|
390
|
-
values: [IPPTLooper.IncreasePositionRequestStruct]
|
|
391
|
-
): string;
|
|
392
|
-
encodeFunctionData(
|
|
393
|
-
functionFragment: "hashTyped_SwapBridgeWithdrawAllMsg",
|
|
394
|
-
values: [IPPTLooper.SwapBridgeWithdrawAllMessageStruct]
|
|
395
|
-
): string;
|
|
396
|
-
encodeFunctionData(
|
|
397
|
-
functionFragment: "hashTyped_SwapBridgeWithdrawAllReq",
|
|
398
|
-
values: [IPPTLooper.SwapBridgeWithdrawAllRequestStruct]
|
|
399
|
-
): string;
|
|
400
|
-
encodeFunctionData(
|
|
401
|
-
functionFragment: "hashTyped_UserRequestStateSetMsg",
|
|
402
|
-
values: [IPPTLooper.UserRequestStateSetMessageStruct]
|
|
334
|
+
functionFragment: "hashTyped",
|
|
335
|
+
values: [IPPTLooperEIP712Types.DecreasePositionRequestStruct]
|
|
403
336
|
): string;
|
|
404
337
|
encodeFunctionData(
|
|
405
338
|
functionFragment: "increaseLoopPosition",
|
|
406
339
|
values: [
|
|
407
|
-
|
|
340
|
+
IPPTLooperEIP712Types.IncreasePositionMessageStruct,
|
|
408
341
|
BytesLike,
|
|
409
|
-
|
|
342
|
+
IPPTLooperEIP712Types.IncreasePositionRequestStruct,
|
|
410
343
|
BytesLike
|
|
411
344
|
]
|
|
412
345
|
): string;
|
|
413
346
|
encodeFunctionData(functionFragment: "initialize", values: [string]): string;
|
|
414
|
-
encodeFunctionData(
|
|
415
|
-
functionFragment: "multicall",
|
|
416
|
-
values: [IMulticall.Call3Struct[]]
|
|
417
|
-
): string;
|
|
418
347
|
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
|
|
419
348
|
encodeFunctionData(
|
|
420
349
|
functionFragment: "pendingOwner",
|
|
@@ -423,23 +352,23 @@ export interface PendlePTLooperInterface extends utils.Interface {
|
|
|
423
352
|
encodeFunctionData(functionFragment: "proposer", values?: undefined): string;
|
|
424
353
|
encodeFunctionData(
|
|
425
354
|
functionFragment: "proposerNonce",
|
|
426
|
-
values: [BytesLike]
|
|
355
|
+
values: [string, BytesLike]
|
|
427
356
|
): string;
|
|
428
357
|
encodeFunctionData(functionFragment: "setExecutor", values: [string]): string;
|
|
429
358
|
encodeFunctionData(functionFragment: "setProposer", values: [string]): string;
|
|
430
|
-
encodeFunctionData(
|
|
431
|
-
functionFragment: "setUserRequestState",
|
|
432
|
-
values: [IPPTLooper.UserRequestStateSetMessageStruct, BytesLike]
|
|
433
|
-
): string;
|
|
434
359
|
encodeFunctionData(
|
|
435
360
|
functionFragment: "swapBridgeWithdrawAll",
|
|
436
361
|
values: [
|
|
437
|
-
|
|
362
|
+
IPPTLooperEIP712Types.SwapBridgeWithdrawAllMessageStruct,
|
|
438
363
|
BytesLike,
|
|
439
|
-
|
|
364
|
+
IPPTLooperEIP712Types.SwapBridgeWithdrawAllRequestStruct,
|
|
440
365
|
BytesLike
|
|
441
366
|
]
|
|
442
367
|
): string;
|
|
368
|
+
encodeFunctionData(
|
|
369
|
+
functionFragment: "terminateSession",
|
|
370
|
+
values: [string, BytesLike, BytesLike]
|
|
371
|
+
): string;
|
|
443
372
|
encodeFunctionData(
|
|
444
373
|
functionFragment: "transferOwnership",
|
|
445
374
|
values: [string, boolean, boolean]
|
|
@@ -453,21 +382,21 @@ export interface PendlePTLooperInterface extends utils.Interface {
|
|
|
453
382
|
functionFragment: "POSITION_BOX_FACTORY",
|
|
454
383
|
data: BytesLike
|
|
455
384
|
): Result;
|
|
456
|
-
decodeFunctionResult(functionFragment: "TREASURY", data: BytesLike): Result;
|
|
457
385
|
decodeFunctionResult(
|
|
458
|
-
functionFragment: "
|
|
386
|
+
functionFragment: "POST_LOOP_STATE_CHECKER",
|
|
459
387
|
data: BytesLike
|
|
460
388
|
): Result;
|
|
389
|
+
decodeFunctionResult(functionFragment: "TREASURY", data: BytesLike): Result;
|
|
461
390
|
decodeFunctionResult(
|
|
462
|
-
functionFragment: "
|
|
391
|
+
functionFragment: "claimMMRewards",
|
|
463
392
|
data: BytesLike
|
|
464
393
|
): Result;
|
|
465
394
|
decodeFunctionResult(
|
|
466
|
-
functionFragment: "
|
|
395
|
+
functionFragment: "claimOwnership",
|
|
467
396
|
data: BytesLike
|
|
468
397
|
): Result;
|
|
469
398
|
decodeFunctionResult(
|
|
470
|
-
functionFragment: "
|
|
399
|
+
functionFragment: "decreaseLoopPosition",
|
|
471
400
|
data: BytesLike
|
|
472
401
|
): Result;
|
|
473
402
|
decodeFunctionResult(
|
|
@@ -475,56 +404,13 @@ export interface PendlePTLooperInterface extends utils.Interface {
|
|
|
475
404
|
data: BytesLike
|
|
476
405
|
): Result;
|
|
477
406
|
decodeFunctionResult(functionFragment: "executor", data: BytesLike): Result;
|
|
478
|
-
decodeFunctionResult(
|
|
479
|
-
|
|
480
|
-
data: BytesLike
|
|
481
|
-
): Result;
|
|
482
|
-
decodeFunctionResult(
|
|
483
|
-
functionFragment: "hashBoxPermit",
|
|
484
|
-
data: BytesLike
|
|
485
|
-
): Result;
|
|
486
|
-
decodeFunctionResult(
|
|
487
|
-
functionFragment: "hashRequestHeader",
|
|
488
|
-
data: BytesLike
|
|
489
|
-
): Result;
|
|
490
|
-
decodeFunctionResult(
|
|
491
|
-
functionFragment: "hashTyped_BatchDecPosThenWithdrawReq",
|
|
492
|
-
data: BytesLike
|
|
493
|
-
): Result;
|
|
494
|
-
decodeFunctionResult(
|
|
495
|
-
functionFragment: "hashTyped_DecreasePositionMsg",
|
|
496
|
-
data: BytesLike
|
|
497
|
-
): Result;
|
|
498
|
-
decodeFunctionResult(
|
|
499
|
-
functionFragment: "hashTyped_DecreasePositionReq",
|
|
500
|
-
data: BytesLike
|
|
501
|
-
): Result;
|
|
502
|
-
decodeFunctionResult(
|
|
503
|
-
functionFragment: "hashTyped_IncreasePositionMsg",
|
|
504
|
-
data: BytesLike
|
|
505
|
-
): Result;
|
|
506
|
-
decodeFunctionResult(
|
|
507
|
-
functionFragment: "hashTyped_IncreasePositionReq",
|
|
508
|
-
data: BytesLike
|
|
509
|
-
): Result;
|
|
510
|
-
decodeFunctionResult(
|
|
511
|
-
functionFragment: "hashTyped_SwapBridgeWithdrawAllMsg",
|
|
512
|
-
data: BytesLike
|
|
513
|
-
): Result;
|
|
514
|
-
decodeFunctionResult(
|
|
515
|
-
functionFragment: "hashTyped_SwapBridgeWithdrawAllReq",
|
|
516
|
-
data: BytesLike
|
|
517
|
-
): Result;
|
|
518
|
-
decodeFunctionResult(
|
|
519
|
-
functionFragment: "hashTyped_UserRequestStateSetMsg",
|
|
520
|
-
data: BytesLike
|
|
521
|
-
): Result;
|
|
407
|
+
decodeFunctionResult(functionFragment: "hashRaw", data: BytesLike): Result;
|
|
408
|
+
decodeFunctionResult(functionFragment: "hashTyped", data: BytesLike): Result;
|
|
522
409
|
decodeFunctionResult(
|
|
523
410
|
functionFragment: "increaseLoopPosition",
|
|
524
411
|
data: BytesLike
|
|
525
412
|
): Result;
|
|
526
413
|
decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
|
|
527
|
-
decodeFunctionResult(functionFragment: "multicall", data: BytesLike): Result;
|
|
528
414
|
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
|
|
529
415
|
decodeFunctionResult(
|
|
530
416
|
functionFragment: "pendingOwner",
|
|
@@ -544,11 +430,11 @@ export interface PendlePTLooperInterface extends utils.Interface {
|
|
|
544
430
|
data: BytesLike
|
|
545
431
|
): Result;
|
|
546
432
|
decodeFunctionResult(
|
|
547
|
-
functionFragment: "
|
|
433
|
+
functionFragment: "swapBridgeWithdrawAll",
|
|
548
434
|
data: BytesLike
|
|
549
435
|
): Result;
|
|
550
436
|
decodeFunctionResult(
|
|
551
|
-
functionFragment: "
|
|
437
|
+
functionFragment: "terminateSession",
|
|
552
438
|
data: BytesLike
|
|
553
439
|
): Result;
|
|
554
440
|
decodeFunctionResult(
|
|
@@ -568,12 +454,14 @@ export interface PendlePTLooperInterface extends utils.Interface {
|
|
|
568
454
|
"OwnershipTransferred(address,address)": EventFragment;
|
|
569
455
|
"PositionDecreased(address,bytes32,bytes32,uint256,uint256,uint256,uint256)": EventFragment;
|
|
570
456
|
"PositionIncreased(address,bytes32,bytes32,uint256,uint256,uint256,uint256)": EventFragment;
|
|
457
|
+
"RewardsClaimed(address,bytes32,bytes32,uint256,address[],uint256[])": EventFragment;
|
|
458
|
+
"SessionInitiated(address,bytes32,bytes32,uint32)": EventFragment;
|
|
459
|
+
"SessionTerminated(address,bytes32,bytes32,uint32)": EventFragment;
|
|
571
460
|
"SetExecutor(address)": EventFragment;
|
|
572
461
|
"SetProposer(address)": EventFragment;
|
|
573
462
|
"TokenBridged(address,address,uint256)": EventFragment;
|
|
574
463
|
"TokenSwapped(address,address,uint256,address,uint256)": EventFragment;
|
|
575
|
-
"
|
|
576
|
-
"Withdrawn(address,bytes32,bytes32,uint256,address,uint256,uint256)": EventFragment;
|
|
464
|
+
"Withdrawn(address,bytes32,bytes32,uint256,address,uint256)": EventFragment;
|
|
577
465
|
};
|
|
578
466
|
|
|
579
467
|
getEvent(nameOrSignatureOrTopic: "EIP712DomainChanged"): EventFragment;
|
|
@@ -587,11 +475,13 @@ export interface PendlePTLooperInterface extends utils.Interface {
|
|
|
587
475
|
getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
|
|
588
476
|
getEvent(nameOrSignatureOrTopic: "PositionDecreased"): EventFragment;
|
|
589
477
|
getEvent(nameOrSignatureOrTopic: "PositionIncreased"): EventFragment;
|
|
478
|
+
getEvent(nameOrSignatureOrTopic: "RewardsClaimed"): EventFragment;
|
|
479
|
+
getEvent(nameOrSignatureOrTopic: "SessionInitiated"): EventFragment;
|
|
480
|
+
getEvent(nameOrSignatureOrTopic: "SessionTerminated"): EventFragment;
|
|
590
481
|
getEvent(nameOrSignatureOrTopic: "SetExecutor"): EventFragment;
|
|
591
482
|
getEvent(nameOrSignatureOrTopic: "SetProposer"): EventFragment;
|
|
592
483
|
getEvent(nameOrSignatureOrTopic: "TokenBridged"): EventFragment;
|
|
593
484
|
getEvent(nameOrSignatureOrTopic: "TokenSwapped"): EventFragment;
|
|
594
|
-
getEvent(nameOrSignatureOrTopic: "UserRequestStateSet"): EventFragment;
|
|
595
485
|
getEvent(nameOrSignatureOrTopic: "Withdrawn"): EventFragment;
|
|
596
486
|
}
|
|
597
487
|
|
|
@@ -633,7 +523,7 @@ export type PositionDecreasedEvent = TypedEvent<
|
|
|
633
523
|
{
|
|
634
524
|
owner: string;
|
|
635
525
|
boxId: string;
|
|
636
|
-
|
|
526
|
+
requestHash: string;
|
|
637
527
|
nonce: BigNumber;
|
|
638
528
|
preDebtBalance: BigNumber;
|
|
639
529
|
netPtToSwap: BigNumber;
|
|
@@ -649,9 +539,9 @@ export type PositionIncreasedEvent = TypedEvent<
|
|
|
649
539
|
{
|
|
650
540
|
owner: string;
|
|
651
541
|
boxId: string;
|
|
652
|
-
|
|
542
|
+
requestHash: string;
|
|
653
543
|
nonce: BigNumber;
|
|
654
|
-
|
|
544
|
+
preInBalance: BigNumber;
|
|
655
545
|
netPtToMM: BigNumber;
|
|
656
546
|
postDebtBalance: BigNumber;
|
|
657
547
|
}
|
|
@@ -660,6 +550,36 @@ export type PositionIncreasedEvent = TypedEvent<
|
|
|
660
550
|
export type PositionIncreasedEventFilter =
|
|
661
551
|
TypedEventFilter<PositionIncreasedEvent>;
|
|
662
552
|
|
|
553
|
+
export type RewardsClaimedEvent = TypedEvent<
|
|
554
|
+
[string, string, string, BigNumber, string[], BigNumber[]],
|
|
555
|
+
{
|
|
556
|
+
owner: string;
|
|
557
|
+
boxId: string;
|
|
558
|
+
requestHash: string;
|
|
559
|
+
nonce: BigNumber;
|
|
560
|
+
rewardTokens: string[];
|
|
561
|
+
claimedAmounts: BigNumber[];
|
|
562
|
+
}
|
|
563
|
+
>;
|
|
564
|
+
|
|
565
|
+
export type RewardsClaimedEventFilter = TypedEventFilter<RewardsClaimedEvent>;
|
|
566
|
+
|
|
567
|
+
export type SessionInitiatedEvent = TypedEvent<
|
|
568
|
+
[string, string, string, number],
|
|
569
|
+
{ owner: string; boxId: string; requestHash: string; sessionNonce: number }
|
|
570
|
+
>;
|
|
571
|
+
|
|
572
|
+
export type SessionInitiatedEventFilter =
|
|
573
|
+
TypedEventFilter<SessionInitiatedEvent>;
|
|
574
|
+
|
|
575
|
+
export type SessionTerminatedEvent = TypedEvent<
|
|
576
|
+
[string, string, string, number],
|
|
577
|
+
{ owner: string; boxId: string; requestHash: string; sessionNonce: number }
|
|
578
|
+
>;
|
|
579
|
+
|
|
580
|
+
export type SessionTerminatedEventFilter =
|
|
581
|
+
TypedEventFilter<SessionTerminatedEvent>;
|
|
582
|
+
|
|
663
583
|
export type SetExecutorEvent = TypedEvent<[string], { executor: string }>;
|
|
664
584
|
|
|
665
585
|
export type SetExecutorEventFilter = TypedEventFilter<SetExecutorEvent>;
|
|
@@ -682,36 +602,21 @@ export type TokenSwappedEvent = TypedEvent<
|
|
|
682
602
|
tokenIn: string;
|
|
683
603
|
netIn: BigNumber;
|
|
684
604
|
tokenOut: string;
|
|
685
|
-
|
|
605
|
+
netSwappedOut: BigNumber;
|
|
686
606
|
}
|
|
687
607
|
>;
|
|
688
608
|
|
|
689
609
|
export type TokenSwappedEventFilter = TypedEventFilter<TokenSwappedEvent>;
|
|
690
610
|
|
|
691
|
-
export type UserRequestStateSetEvent = TypedEvent<
|
|
692
|
-
[string, string, string, number, boolean],
|
|
693
|
-
{
|
|
694
|
-
owner: string;
|
|
695
|
-
boxId: string;
|
|
696
|
-
ownerSigHash: string;
|
|
697
|
-
sessionNonce: number;
|
|
698
|
-
isInitiate: boolean;
|
|
699
|
-
}
|
|
700
|
-
>;
|
|
701
|
-
|
|
702
|
-
export type UserRequestStateSetEventFilter =
|
|
703
|
-
TypedEventFilter<UserRequestStateSetEvent>;
|
|
704
|
-
|
|
705
611
|
export type WithdrawnEvent = TypedEvent<
|
|
706
|
-
[string, string, string, BigNumber, string, BigNumber
|
|
612
|
+
[string, string, string, BigNumber, string, BigNumber],
|
|
707
613
|
{
|
|
708
614
|
owner: string;
|
|
709
615
|
boxId: string;
|
|
710
|
-
|
|
616
|
+
requestHash: string;
|
|
711
617
|
nonce: BigNumber;
|
|
712
618
|
tokenOut: string;
|
|
713
619
|
netOut: BigNumber;
|
|
714
|
-
fee: BigNumber;
|
|
715
620
|
}
|
|
716
621
|
>;
|
|
717
622
|
|
|
@@ -747,11 +652,15 @@ export interface PendlePTLooper extends BaseContract {
|
|
|
747
652
|
functions: {
|
|
748
653
|
POSITION_BOX_FACTORY(overrides?: CallOverrides): Promise<[string]>;
|
|
749
654
|
|
|
655
|
+
POST_LOOP_STATE_CHECKER(overrides?: CallOverrides): Promise<[string]>;
|
|
656
|
+
|
|
750
657
|
TREASURY(overrides?: CallOverrides): Promise<[string]>;
|
|
751
658
|
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
659
|
+
claimMMRewards(
|
|
660
|
+
ms: IPPTLooperEIP712Types.ClaimMMRewardsMessageStruct,
|
|
661
|
+
proposerSig: BytesLike,
|
|
662
|
+
req: IPPTLooperEIP712Types.ClaimMMRewardsRequestStruct,
|
|
663
|
+
ownerSigIfFirstCall: BytesLike,
|
|
755
664
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
756
665
|
): Promise<ContractTransaction>;
|
|
757
666
|
|
|
@@ -759,28 +668,11 @@ export interface PendlePTLooper extends BaseContract {
|
|
|
759
668
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
760
669
|
): Promise<ContractTransaction>;
|
|
761
670
|
|
|
762
|
-
|
|
763
|
-
ms:
|
|
764
|
-
proposerSig: BytesLike,
|
|
765
|
-
req: IPPTLooper.BatchDecPosThenWithdrawRequestStruct,
|
|
766
|
-
ownerSig: BytesLike,
|
|
767
|
-
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
768
|
-
): Promise<ContractTransaction>;
|
|
769
|
-
|
|
770
|
-
"decreaseLoopPosition(((address,bytes32,uint256,bytes32,uint256),(address,address,bytes),(address,address,bytes),uint256,uint256,uint256,uint256,uint256,uint256),bytes,((bytes32,uint256,uint32,uint32),uint256,uint256,uint256),bytes)"(
|
|
771
|
-
ms: IPPTLooper.DecreasePositionMessageStruct,
|
|
671
|
+
decreaseLoopPosition(
|
|
672
|
+
ms: IPPTLooperEIP712Types.DecreasePositionMessageStruct,
|
|
772
673
|
proposerSig: BytesLike,
|
|
773
|
-
req:
|
|
774
|
-
|
|
775
|
-
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
776
|
-
): Promise<ContractTransaction>;
|
|
777
|
-
|
|
778
|
-
depositToBox(
|
|
779
|
-
boxId: BytesLike,
|
|
780
|
-
tokenIn: string,
|
|
781
|
-
amountIn: BigNumberish,
|
|
782
|
-
swapCall: IPPTLooper.BoxApprovedCallStruct,
|
|
783
|
-
minDebtTokenSwapOut: BigNumberish,
|
|
674
|
+
req: IPPTLooperEIP712Types.DecreasePositionRequestStruct,
|
|
675
|
+
ownerSigIfFirstCall: BytesLike,
|
|
784
676
|
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
785
677
|
): Promise<ContractTransaction>;
|
|
786
678
|
|
|
@@ -800,66 +692,96 @@ export interface PendlePTLooper extends BaseContract {
|
|
|
800
692
|
|
|
801
693
|
executor(overrides?: CallOverrides): Promise<[string]>;
|
|
802
694
|
|
|
803
|
-
|
|
804
|
-
|
|
695
|
+
"hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool,uint256))"(
|
|
696
|
+
req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
|
|
805
697
|
overrides?: CallOverrides
|
|
806
698
|
): Promise<[string]>;
|
|
807
699
|
|
|
808
|
-
|
|
809
|
-
|
|
700
|
+
"hashRaw((bytes32,uint256,uint32,uint32,uint256,bytes))"(
|
|
701
|
+
header: IPPTLooperEIP712Types.RequestHeaderStruct,
|
|
810
702
|
overrides?: CallOverrides
|
|
811
703
|
): Promise<[string]>;
|
|
812
704
|
|
|
813
|
-
|
|
814
|
-
|
|
705
|
+
"hashRaw(((address,bytes32,uint256,uint256)))"(
|
|
706
|
+
ms: IPPTLooperEIP712Types.ClaimMMRewardsMessageStruct,
|
|
815
707
|
overrides?: CallOverrides
|
|
816
708
|
): Promise<[string]>;
|
|
817
709
|
|
|
818
|
-
|
|
819
|
-
|
|
710
|
+
"hashRaw(((address,address,bytes),uint256,uint256))"(
|
|
711
|
+
bridge: IPPTLooperEIP712Types.BridgeDataStruct,
|
|
820
712
|
overrides?: CallOverrides
|
|
821
713
|
): Promise<[string]>;
|
|
822
714
|
|
|
823
|
-
|
|
824
|
-
|
|
715
|
+
"hashRaw((address,bytes32,uint256,uint256))"(
|
|
716
|
+
permit: IPPTLooperEIP712Types.BoxPermitStruct,
|
|
825
717
|
overrides?: CallOverrides
|
|
826
718
|
): Promise<[string]>;
|
|
827
719
|
|
|
828
|
-
|
|
829
|
-
req:
|
|
720
|
+
"hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,bytes,address[]))"(
|
|
721
|
+
req: IPPTLooperEIP712Types.ClaimMMRewardsRequestStruct,
|
|
830
722
|
overrides?: CallOverrides
|
|
831
723
|
): Promise<[string]>;
|
|
832
724
|
|
|
833
|
-
|
|
834
|
-
|
|
725
|
+
"hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),uint256,uint256))"(
|
|
726
|
+
req: IPPTLooperEIP712Types.DecreasePositionRequestStruct,
|
|
835
727
|
overrides?: CallOverrides
|
|
836
728
|
): Promise<[string]>;
|
|
837
729
|
|
|
838
|
-
|
|
839
|
-
req:
|
|
730
|
+
"hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),bool,address,address,uint256))"(
|
|
731
|
+
req: IPPTLooperEIP712Types.SwapBridgeWithdrawAllRequestStruct,
|
|
840
732
|
overrides?: CallOverrides
|
|
841
733
|
): Promise<[string]>;
|
|
842
734
|
|
|
843
|
-
|
|
844
|
-
|
|
735
|
+
"hashRaw((address,address,bytes))"(
|
|
736
|
+
call: IPPTLooperEIP712Types.BoxApprovedCallStruct,
|
|
845
737
|
overrides?: CallOverrides
|
|
846
738
|
): Promise<[string]>;
|
|
847
739
|
|
|
848
|
-
|
|
849
|
-
req:
|
|
740
|
+
"hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),uint256,uint256))"(
|
|
741
|
+
req: IPPTLooperEIP712Types.DecreasePositionRequestStruct,
|
|
850
742
|
overrides?: CallOverrides
|
|
851
743
|
): Promise<[string]>;
|
|
852
744
|
|
|
853
|
-
|
|
854
|
-
ms:
|
|
745
|
+
"hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),uint256,bytes))"(
|
|
746
|
+
ms: IPPTLooperEIP712Types.DecreasePositionMessageStruct,
|
|
747
|
+
overrides?: CallOverrides
|
|
748
|
+
): Promise<[string]>;
|
|
749
|
+
|
|
750
|
+
"hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),uint256,((address,address,bytes),uint256,uint256),uint256,bytes))"(
|
|
751
|
+
ms: IPPTLooperEIP712Types.IncreasePositionMessageStruct,
|
|
752
|
+
overrides?: CallOverrides
|
|
753
|
+
): Promise<[string]>;
|
|
754
|
+
|
|
755
|
+
"hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),bool,address,address,uint256))"(
|
|
756
|
+
req: IPPTLooperEIP712Types.SwapBridgeWithdrawAllRequestStruct,
|
|
757
|
+
overrides?: CallOverrides
|
|
758
|
+
): Promise<[string]>;
|
|
759
|
+
|
|
760
|
+
"hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),address,bytes,address[]))"(
|
|
761
|
+
req: IPPTLooperEIP712Types.ClaimMMRewardsRequestStruct,
|
|
762
|
+
overrides?: CallOverrides
|
|
763
|
+
): Promise<[string]>;
|
|
764
|
+
|
|
765
|
+
"hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool,uint256))"(
|
|
766
|
+
req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
|
|
767
|
+
overrides?: CallOverrides
|
|
768
|
+
): Promise<[string]>;
|
|
769
|
+
|
|
770
|
+
"hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),bytes))"(
|
|
771
|
+
ms: IPPTLooperEIP712Types.SwapBridgeWithdrawAllMessageStruct,
|
|
772
|
+
overrides?: CallOverrides
|
|
773
|
+
): Promise<[string]>;
|
|
774
|
+
|
|
775
|
+
"hashTyped(((address,bytes32,uint256,uint256)))"(
|
|
776
|
+
ms: IPPTLooperEIP712Types.ClaimMMRewardsMessageStruct,
|
|
855
777
|
overrides?: CallOverrides
|
|
856
778
|
): Promise<[string]>;
|
|
857
779
|
|
|
858
780
|
increaseLoopPosition(
|
|
859
|
-
ms:
|
|
781
|
+
ms: IPPTLooperEIP712Types.IncreasePositionMessageStruct,
|
|
860
782
|
proposerSig: BytesLike,
|
|
861
|
-
req:
|
|
862
|
-
|
|
783
|
+
req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
|
|
784
|
+
ownerSigIfFirstCall: BytesLike,
|
|
863
785
|
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
864
786
|
): Promise<ContractTransaction>;
|
|
865
787
|
|
|
@@ -868,11 +790,6 @@ export interface PendlePTLooper extends BaseContract {
|
|
|
868
790
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
869
791
|
): Promise<ContractTransaction>;
|
|
870
792
|
|
|
871
|
-
multicall(
|
|
872
|
-
calls: IMulticall.Call3Struct[],
|
|
873
|
-
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
874
|
-
): Promise<ContractTransaction>;
|
|
875
|
-
|
|
876
793
|
owner(overrides?: CallOverrides): Promise<[string]>;
|
|
877
794
|
|
|
878
795
|
pendingOwner(overrides?: CallOverrides): Promise<[string]>;
|
|
@@ -880,7 +797,8 @@ export interface PendlePTLooper extends BaseContract {
|
|
|
880
797
|
proposer(overrides?: CallOverrides): Promise<[string]>;
|
|
881
798
|
|
|
882
799
|
proposerNonce(
|
|
883
|
-
|
|
800
|
+
owner: string,
|
|
801
|
+
requestHash: BytesLike,
|
|
884
802
|
overrides?: CallOverrides
|
|
885
803
|
): Promise<[BigNumber] & { nonce: BigNumber }>;
|
|
886
804
|
|
|
@@ -894,26 +812,19 @@ export interface PendlePTLooper extends BaseContract {
|
|
|
894
812
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
895
813
|
): Promise<ContractTransaction>;
|
|
896
814
|
|
|
897
|
-
|
|
898
|
-
ms:
|
|
899
|
-
proposerSignature: BytesLike,
|
|
900
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
901
|
-
): Promise<ContractTransaction>;
|
|
902
|
-
|
|
903
|
-
"swapBridgeWithdrawAll(((address,bytes32,uint256,bytes32,uint256),(address,address,bytes),(address,address,bytes),uint256,uint256),bytes,(((bytes32,uint256,uint32,uint32),uint256,uint256,uint256),((bytes32,uint256,uint32,uint32),bool,address,address,uint256)),bytes)"(
|
|
904
|
-
ms: IPPTLooper.SwapBridgeWithdrawAllMessageStruct,
|
|
815
|
+
swapBridgeWithdrawAll(
|
|
816
|
+
ms: IPPTLooperEIP712Types.SwapBridgeWithdrawAllMessageStruct,
|
|
905
817
|
proposerSig: BytesLike,
|
|
906
|
-
req:
|
|
907
|
-
|
|
818
|
+
req: IPPTLooperEIP712Types.SwapBridgeWithdrawAllRequestStruct,
|
|
819
|
+
ownerSigIfFirstCall: BytesLike,
|
|
908
820
|
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
909
821
|
): Promise<ContractTransaction>;
|
|
910
822
|
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
823
|
+
terminateSession(
|
|
824
|
+
owner: string,
|
|
825
|
+
boxId: BytesLike,
|
|
826
|
+
requestHash: BytesLike,
|
|
827
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
917
828
|
): Promise<ContractTransaction>;
|
|
918
829
|
|
|
919
830
|
transferOwnership(
|
|
@@ -932,11 +843,15 @@ export interface PendlePTLooper extends BaseContract {
|
|
|
932
843
|
|
|
933
844
|
POSITION_BOX_FACTORY(overrides?: CallOverrides): Promise<string>;
|
|
934
845
|
|
|
846
|
+
POST_LOOP_STATE_CHECKER(overrides?: CallOverrides): Promise<string>;
|
|
847
|
+
|
|
935
848
|
TREASURY(overrides?: CallOverrides): Promise<string>;
|
|
936
849
|
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
850
|
+
claimMMRewards(
|
|
851
|
+
ms: IPPTLooperEIP712Types.ClaimMMRewardsMessageStruct,
|
|
852
|
+
proposerSig: BytesLike,
|
|
853
|
+
req: IPPTLooperEIP712Types.ClaimMMRewardsRequestStruct,
|
|
854
|
+
ownerSigIfFirstCall: BytesLike,
|
|
940
855
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
941
856
|
): Promise<ContractTransaction>;
|
|
942
857
|
|
|
@@ -944,28 +859,11 @@ export interface PendlePTLooper extends BaseContract {
|
|
|
944
859
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
945
860
|
): Promise<ContractTransaction>;
|
|
946
861
|
|
|
947
|
-
|
|
948
|
-
ms:
|
|
862
|
+
decreaseLoopPosition(
|
|
863
|
+
ms: IPPTLooperEIP712Types.DecreasePositionMessageStruct,
|
|
949
864
|
proposerSig: BytesLike,
|
|
950
|
-
req:
|
|
951
|
-
|
|
952
|
-
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
953
|
-
): Promise<ContractTransaction>;
|
|
954
|
-
|
|
955
|
-
"decreaseLoopPosition(((address,bytes32,uint256,bytes32,uint256),(address,address,bytes),(address,address,bytes),uint256,uint256,uint256,uint256,uint256,uint256),bytes,((bytes32,uint256,uint32,uint32),uint256,uint256,uint256),bytes)"(
|
|
956
|
-
ms: IPPTLooper.DecreasePositionMessageStruct,
|
|
957
|
-
proposerSig: BytesLike,
|
|
958
|
-
req: IPPTLooper.DecreasePositionRequestStruct,
|
|
959
|
-
ownerSig: BytesLike,
|
|
960
|
-
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
961
|
-
): Promise<ContractTransaction>;
|
|
962
|
-
|
|
963
|
-
depositToBox(
|
|
964
|
-
boxId: BytesLike,
|
|
965
|
-
tokenIn: string,
|
|
966
|
-
amountIn: BigNumberish,
|
|
967
|
-
swapCall: IPPTLooper.BoxApprovedCallStruct,
|
|
968
|
-
minDebtTokenSwapOut: BigNumberish,
|
|
865
|
+
req: IPPTLooperEIP712Types.DecreasePositionRequestStruct,
|
|
866
|
+
ownerSigIfFirstCall: BytesLike,
|
|
969
867
|
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
970
868
|
): Promise<ContractTransaction>;
|
|
971
869
|
|
|
@@ -985,66 +883,96 @@ export interface PendlePTLooper extends BaseContract {
|
|
|
985
883
|
|
|
986
884
|
executor(overrides?: CallOverrides): Promise<string>;
|
|
987
885
|
|
|
988
|
-
|
|
989
|
-
|
|
886
|
+
"hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool,uint256))"(
|
|
887
|
+
req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
|
|
888
|
+
overrides?: CallOverrides
|
|
889
|
+
): Promise<string>;
|
|
890
|
+
|
|
891
|
+
"hashRaw((bytes32,uint256,uint32,uint32,uint256,bytes))"(
|
|
892
|
+
header: IPPTLooperEIP712Types.RequestHeaderStruct,
|
|
893
|
+
overrides?: CallOverrides
|
|
894
|
+
): Promise<string>;
|
|
895
|
+
|
|
896
|
+
"hashRaw(((address,bytes32,uint256,uint256)))"(
|
|
897
|
+
ms: IPPTLooperEIP712Types.ClaimMMRewardsMessageStruct,
|
|
898
|
+
overrides?: CallOverrides
|
|
899
|
+
): Promise<string>;
|
|
900
|
+
|
|
901
|
+
"hashRaw(((address,address,bytes),uint256,uint256))"(
|
|
902
|
+
bridge: IPPTLooperEIP712Types.BridgeDataStruct,
|
|
990
903
|
overrides?: CallOverrides
|
|
991
904
|
): Promise<string>;
|
|
992
905
|
|
|
993
|
-
|
|
994
|
-
permit:
|
|
906
|
+
"hashRaw((address,bytes32,uint256,uint256))"(
|
|
907
|
+
permit: IPPTLooperEIP712Types.BoxPermitStruct,
|
|
995
908
|
overrides?: CallOverrides
|
|
996
909
|
): Promise<string>;
|
|
997
910
|
|
|
998
|
-
|
|
999
|
-
|
|
911
|
+
"hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,bytes,address[]))"(
|
|
912
|
+
req: IPPTLooperEIP712Types.ClaimMMRewardsRequestStruct,
|
|
1000
913
|
overrides?: CallOverrides
|
|
1001
914
|
): Promise<string>;
|
|
1002
915
|
|
|
1003
|
-
|
|
1004
|
-
req:
|
|
916
|
+
"hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),uint256,uint256))"(
|
|
917
|
+
req: IPPTLooperEIP712Types.DecreasePositionRequestStruct,
|
|
1005
918
|
overrides?: CallOverrides
|
|
1006
919
|
): Promise<string>;
|
|
1007
920
|
|
|
1008
|
-
|
|
1009
|
-
|
|
921
|
+
"hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),bool,address,address,uint256))"(
|
|
922
|
+
req: IPPTLooperEIP712Types.SwapBridgeWithdrawAllRequestStruct,
|
|
1010
923
|
overrides?: CallOverrides
|
|
1011
924
|
): Promise<string>;
|
|
1012
925
|
|
|
1013
|
-
|
|
1014
|
-
|
|
926
|
+
"hashRaw((address,address,bytes))"(
|
|
927
|
+
call: IPPTLooperEIP712Types.BoxApprovedCallStruct,
|
|
1015
928
|
overrides?: CallOverrides
|
|
1016
929
|
): Promise<string>;
|
|
1017
930
|
|
|
1018
|
-
|
|
1019
|
-
|
|
931
|
+
"hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),uint256,uint256))"(
|
|
932
|
+
req: IPPTLooperEIP712Types.DecreasePositionRequestStruct,
|
|
1020
933
|
overrides?: CallOverrides
|
|
1021
934
|
): Promise<string>;
|
|
1022
935
|
|
|
1023
|
-
|
|
1024
|
-
|
|
936
|
+
"hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),uint256,bytes))"(
|
|
937
|
+
ms: IPPTLooperEIP712Types.DecreasePositionMessageStruct,
|
|
1025
938
|
overrides?: CallOverrides
|
|
1026
939
|
): Promise<string>;
|
|
1027
940
|
|
|
1028
|
-
|
|
1029
|
-
ms:
|
|
941
|
+
"hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),uint256,((address,address,bytes),uint256,uint256),uint256,bytes))"(
|
|
942
|
+
ms: IPPTLooperEIP712Types.IncreasePositionMessageStruct,
|
|
1030
943
|
overrides?: CallOverrides
|
|
1031
944
|
): Promise<string>;
|
|
1032
945
|
|
|
1033
|
-
|
|
1034
|
-
req:
|
|
946
|
+
"hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),bool,address,address,uint256))"(
|
|
947
|
+
req: IPPTLooperEIP712Types.SwapBridgeWithdrawAllRequestStruct,
|
|
1035
948
|
overrides?: CallOverrides
|
|
1036
949
|
): Promise<string>;
|
|
1037
950
|
|
|
1038
|
-
|
|
1039
|
-
|
|
951
|
+
"hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),address,bytes,address[]))"(
|
|
952
|
+
req: IPPTLooperEIP712Types.ClaimMMRewardsRequestStruct,
|
|
953
|
+
overrides?: CallOverrides
|
|
954
|
+
): Promise<string>;
|
|
955
|
+
|
|
956
|
+
"hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool,uint256))"(
|
|
957
|
+
req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
|
|
958
|
+
overrides?: CallOverrides
|
|
959
|
+
): Promise<string>;
|
|
960
|
+
|
|
961
|
+
"hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),bytes))"(
|
|
962
|
+
ms: IPPTLooperEIP712Types.SwapBridgeWithdrawAllMessageStruct,
|
|
963
|
+
overrides?: CallOverrides
|
|
964
|
+
): Promise<string>;
|
|
965
|
+
|
|
966
|
+
"hashTyped(((address,bytes32,uint256,uint256)))"(
|
|
967
|
+
ms: IPPTLooperEIP712Types.ClaimMMRewardsMessageStruct,
|
|
1040
968
|
overrides?: CallOverrides
|
|
1041
969
|
): Promise<string>;
|
|
1042
970
|
|
|
1043
971
|
increaseLoopPosition(
|
|
1044
|
-
ms:
|
|
972
|
+
ms: IPPTLooperEIP712Types.IncreasePositionMessageStruct,
|
|
1045
973
|
proposerSig: BytesLike,
|
|
1046
|
-
req:
|
|
1047
|
-
|
|
974
|
+
req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
|
|
975
|
+
ownerSigIfFirstCall: BytesLike,
|
|
1048
976
|
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
1049
977
|
): Promise<ContractTransaction>;
|
|
1050
978
|
|
|
@@ -1053,11 +981,6 @@ export interface PendlePTLooper extends BaseContract {
|
|
|
1053
981
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1054
982
|
): Promise<ContractTransaction>;
|
|
1055
983
|
|
|
1056
|
-
multicall(
|
|
1057
|
-
calls: IMulticall.Call3Struct[],
|
|
1058
|
-
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
1059
|
-
): Promise<ContractTransaction>;
|
|
1060
|
-
|
|
1061
984
|
owner(overrides?: CallOverrides): Promise<string>;
|
|
1062
985
|
|
|
1063
986
|
pendingOwner(overrides?: CallOverrides): Promise<string>;
|
|
@@ -1065,7 +988,8 @@ export interface PendlePTLooper extends BaseContract {
|
|
|
1065
988
|
proposer(overrides?: CallOverrides): Promise<string>;
|
|
1066
989
|
|
|
1067
990
|
proposerNonce(
|
|
1068
|
-
|
|
991
|
+
owner: string,
|
|
992
|
+
requestHash: BytesLike,
|
|
1069
993
|
overrides?: CallOverrides
|
|
1070
994
|
): Promise<BigNumber>;
|
|
1071
995
|
|
|
@@ -1079,26 +1003,19 @@ export interface PendlePTLooper extends BaseContract {
|
|
|
1079
1003
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1080
1004
|
): Promise<ContractTransaction>;
|
|
1081
1005
|
|
|
1082
|
-
|
|
1083
|
-
ms:
|
|
1084
|
-
proposerSignature: BytesLike,
|
|
1085
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1086
|
-
): Promise<ContractTransaction>;
|
|
1087
|
-
|
|
1088
|
-
"swapBridgeWithdrawAll(((address,bytes32,uint256,bytes32,uint256),(address,address,bytes),(address,address,bytes),uint256,uint256),bytes,(((bytes32,uint256,uint32,uint32),uint256,uint256,uint256),((bytes32,uint256,uint32,uint32),bool,address,address,uint256)),bytes)"(
|
|
1089
|
-
ms: IPPTLooper.SwapBridgeWithdrawAllMessageStruct,
|
|
1006
|
+
swapBridgeWithdrawAll(
|
|
1007
|
+
ms: IPPTLooperEIP712Types.SwapBridgeWithdrawAllMessageStruct,
|
|
1090
1008
|
proposerSig: BytesLike,
|
|
1091
|
-
req:
|
|
1092
|
-
|
|
1009
|
+
req: IPPTLooperEIP712Types.SwapBridgeWithdrawAllRequestStruct,
|
|
1010
|
+
ownerSigIfFirstCall: BytesLike,
|
|
1093
1011
|
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
1094
1012
|
): Promise<ContractTransaction>;
|
|
1095
1013
|
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
1014
|
+
terminateSession(
|
|
1015
|
+
owner: string,
|
|
1016
|
+
boxId: BytesLike,
|
|
1017
|
+
requestHash: BytesLike,
|
|
1018
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1102
1019
|
): Promise<ContractTransaction>;
|
|
1103
1020
|
|
|
1104
1021
|
transferOwnership(
|
|
@@ -1117,41 +1034,28 @@ export interface PendlePTLooper extends BaseContract {
|
|
|
1117
1034
|
callStatic: {
|
|
1118
1035
|
POSITION_BOX_FACTORY(overrides?: CallOverrides): Promise<string>;
|
|
1119
1036
|
|
|
1037
|
+
POST_LOOP_STATE_CHECKER(overrides?: CallOverrides): Promise<string>;
|
|
1038
|
+
|
|
1120
1039
|
TREASURY(overrides?: CallOverrides): Promise<string>;
|
|
1121
1040
|
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1041
|
+
claimMMRewards(
|
|
1042
|
+
ms: IPPTLooperEIP712Types.ClaimMMRewardsMessageStruct,
|
|
1043
|
+
proposerSig: BytesLike,
|
|
1044
|
+
req: IPPTLooperEIP712Types.ClaimMMRewardsRequestStruct,
|
|
1045
|
+
ownerSigIfFirstCall: BytesLike,
|
|
1125
1046
|
overrides?: CallOverrides
|
|
1126
1047
|
): Promise<void>;
|
|
1127
1048
|
|
|
1128
1049
|
claimOwnership(overrides?: CallOverrides): Promise<void>;
|
|
1129
1050
|
|
|
1130
|
-
|
|
1131
|
-
ms:
|
|
1051
|
+
decreaseLoopPosition(
|
|
1052
|
+
ms: IPPTLooperEIP712Types.DecreasePositionMessageStruct,
|
|
1132
1053
|
proposerSig: BytesLike,
|
|
1133
|
-
req:
|
|
1134
|
-
|
|
1054
|
+
req: IPPTLooperEIP712Types.DecreasePositionRequestStruct,
|
|
1055
|
+
ownerSigIfFirstCall: BytesLike,
|
|
1135
1056
|
overrides?: CallOverrides
|
|
1136
1057
|
): Promise<void>;
|
|
1137
1058
|
|
|
1138
|
-
"decreaseLoopPosition(((address,bytes32,uint256,bytes32,uint256),(address,address,bytes),(address,address,bytes),uint256,uint256,uint256,uint256,uint256,uint256),bytes,((bytes32,uint256,uint32,uint32),uint256,uint256,uint256),bytes)"(
|
|
1139
|
-
ms: IPPTLooper.DecreasePositionMessageStruct,
|
|
1140
|
-
proposerSig: BytesLike,
|
|
1141
|
-
req: IPPTLooper.DecreasePositionRequestStruct,
|
|
1142
|
-
ownerSig: BytesLike,
|
|
1143
|
-
overrides?: CallOverrides
|
|
1144
|
-
): Promise<void>;
|
|
1145
|
-
|
|
1146
|
-
depositToBox(
|
|
1147
|
-
boxId: BytesLike,
|
|
1148
|
-
tokenIn: string,
|
|
1149
|
-
amountIn: BigNumberish,
|
|
1150
|
-
swapCall: IPPTLooper.BoxApprovedCallStruct,
|
|
1151
|
-
minDebtTokenSwapOut: BigNumberish,
|
|
1152
|
-
overrides?: CallOverrides
|
|
1153
|
-
): Promise<BigNumber>;
|
|
1154
|
-
|
|
1155
1059
|
eip712Domain(
|
|
1156
1060
|
overrides?: CallOverrides
|
|
1157
1061
|
): Promise<
|
|
@@ -1168,76 +1072,101 @@ export interface PendlePTLooper extends BaseContract {
|
|
|
1168
1072
|
|
|
1169
1073
|
executor(overrides?: CallOverrides): Promise<string>;
|
|
1170
1074
|
|
|
1171
|
-
|
|
1172
|
-
|
|
1075
|
+
"hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool,uint256))"(
|
|
1076
|
+
req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
|
|
1077
|
+
overrides?: CallOverrides
|
|
1078
|
+
): Promise<string>;
|
|
1079
|
+
|
|
1080
|
+
"hashRaw((bytes32,uint256,uint32,uint32,uint256,bytes))"(
|
|
1081
|
+
header: IPPTLooperEIP712Types.RequestHeaderStruct,
|
|
1082
|
+
overrides?: CallOverrides
|
|
1083
|
+
): Promise<string>;
|
|
1084
|
+
|
|
1085
|
+
"hashRaw(((address,bytes32,uint256,uint256)))"(
|
|
1086
|
+
ms: IPPTLooperEIP712Types.ClaimMMRewardsMessageStruct,
|
|
1173
1087
|
overrides?: CallOverrides
|
|
1174
1088
|
): Promise<string>;
|
|
1175
1089
|
|
|
1176
|
-
|
|
1177
|
-
|
|
1090
|
+
"hashRaw(((address,address,bytes),uint256,uint256))"(
|
|
1091
|
+
bridge: IPPTLooperEIP712Types.BridgeDataStruct,
|
|
1178
1092
|
overrides?: CallOverrides
|
|
1179
1093
|
): Promise<string>;
|
|
1180
1094
|
|
|
1181
|
-
|
|
1182
|
-
|
|
1095
|
+
"hashRaw((address,bytes32,uint256,uint256))"(
|
|
1096
|
+
permit: IPPTLooperEIP712Types.BoxPermitStruct,
|
|
1183
1097
|
overrides?: CallOverrides
|
|
1184
1098
|
): Promise<string>;
|
|
1185
1099
|
|
|
1186
|
-
|
|
1187
|
-
req:
|
|
1100
|
+
"hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,bytes,address[]))"(
|
|
1101
|
+
req: IPPTLooperEIP712Types.ClaimMMRewardsRequestStruct,
|
|
1188
1102
|
overrides?: CallOverrides
|
|
1189
1103
|
): Promise<string>;
|
|
1190
1104
|
|
|
1191
|
-
|
|
1192
|
-
|
|
1105
|
+
"hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),uint256,uint256))"(
|
|
1106
|
+
req: IPPTLooperEIP712Types.DecreasePositionRequestStruct,
|
|
1193
1107
|
overrides?: CallOverrides
|
|
1194
1108
|
): Promise<string>;
|
|
1195
1109
|
|
|
1196
|
-
|
|
1197
|
-
req:
|
|
1110
|
+
"hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),bool,address,address,uint256))"(
|
|
1111
|
+
req: IPPTLooperEIP712Types.SwapBridgeWithdrawAllRequestStruct,
|
|
1198
1112
|
overrides?: CallOverrides
|
|
1199
1113
|
): Promise<string>;
|
|
1200
1114
|
|
|
1201
|
-
|
|
1202
|
-
|
|
1115
|
+
"hashRaw((address,address,bytes))"(
|
|
1116
|
+
call: IPPTLooperEIP712Types.BoxApprovedCallStruct,
|
|
1203
1117
|
overrides?: CallOverrides
|
|
1204
1118
|
): Promise<string>;
|
|
1205
1119
|
|
|
1206
|
-
|
|
1207
|
-
req:
|
|
1120
|
+
"hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),uint256,uint256))"(
|
|
1121
|
+
req: IPPTLooperEIP712Types.DecreasePositionRequestStruct,
|
|
1208
1122
|
overrides?: CallOverrides
|
|
1209
1123
|
): Promise<string>;
|
|
1210
1124
|
|
|
1211
|
-
|
|
1212
|
-
ms:
|
|
1125
|
+
"hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),uint256,bytes))"(
|
|
1126
|
+
ms: IPPTLooperEIP712Types.DecreasePositionMessageStruct,
|
|
1213
1127
|
overrides?: CallOverrides
|
|
1214
1128
|
): Promise<string>;
|
|
1215
1129
|
|
|
1216
|
-
|
|
1217
|
-
|
|
1130
|
+
"hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),uint256,((address,address,bytes),uint256,uint256),uint256,bytes))"(
|
|
1131
|
+
ms: IPPTLooperEIP712Types.IncreasePositionMessageStruct,
|
|
1218
1132
|
overrides?: CallOverrides
|
|
1219
1133
|
): Promise<string>;
|
|
1220
1134
|
|
|
1221
|
-
|
|
1222
|
-
|
|
1135
|
+
"hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),bool,address,address,uint256))"(
|
|
1136
|
+
req: IPPTLooperEIP712Types.SwapBridgeWithdrawAllRequestStruct,
|
|
1137
|
+
overrides?: CallOverrides
|
|
1138
|
+
): Promise<string>;
|
|
1139
|
+
|
|
1140
|
+
"hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),address,bytes,address[]))"(
|
|
1141
|
+
req: IPPTLooperEIP712Types.ClaimMMRewardsRequestStruct,
|
|
1142
|
+
overrides?: CallOverrides
|
|
1143
|
+
): Promise<string>;
|
|
1144
|
+
|
|
1145
|
+
"hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool,uint256))"(
|
|
1146
|
+
req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
|
|
1147
|
+
overrides?: CallOverrides
|
|
1148
|
+
): Promise<string>;
|
|
1149
|
+
|
|
1150
|
+
"hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),bytes))"(
|
|
1151
|
+
ms: IPPTLooperEIP712Types.SwapBridgeWithdrawAllMessageStruct,
|
|
1152
|
+
overrides?: CallOverrides
|
|
1153
|
+
): Promise<string>;
|
|
1154
|
+
|
|
1155
|
+
"hashTyped(((address,bytes32,uint256,uint256)))"(
|
|
1156
|
+
ms: IPPTLooperEIP712Types.ClaimMMRewardsMessageStruct,
|
|
1223
1157
|
overrides?: CallOverrides
|
|
1224
1158
|
): Promise<string>;
|
|
1225
1159
|
|
|
1226
1160
|
increaseLoopPosition(
|
|
1227
|
-
ms:
|
|
1161
|
+
ms: IPPTLooperEIP712Types.IncreasePositionMessageStruct,
|
|
1228
1162
|
proposerSig: BytesLike,
|
|
1229
|
-
req:
|
|
1230
|
-
|
|
1163
|
+
req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
|
|
1164
|
+
ownerSigIfFirstCall: BytesLike,
|
|
1231
1165
|
overrides?: CallOverrides
|
|
1232
1166
|
): Promise<void>;
|
|
1233
1167
|
|
|
1234
1168
|
initialize(_owner: string, overrides?: CallOverrides): Promise<void>;
|
|
1235
1169
|
|
|
1236
|
-
multicall(
|
|
1237
|
-
calls: IMulticall.Call3Struct[],
|
|
1238
|
-
overrides?: CallOverrides
|
|
1239
|
-
): Promise<IMulticall.ResultStructOutput[]>;
|
|
1240
|
-
|
|
1241
1170
|
owner(overrides?: CallOverrides): Promise<string>;
|
|
1242
1171
|
|
|
1243
1172
|
pendingOwner(overrides?: CallOverrides): Promise<string>;
|
|
@@ -1245,7 +1174,8 @@ export interface PendlePTLooper extends BaseContract {
|
|
|
1245
1174
|
proposer(overrides?: CallOverrides): Promise<string>;
|
|
1246
1175
|
|
|
1247
1176
|
proposerNonce(
|
|
1248
|
-
|
|
1177
|
+
owner: string,
|
|
1178
|
+
requestHash: BytesLike,
|
|
1249
1179
|
overrides?: CallOverrides
|
|
1250
1180
|
): Promise<BigNumber>;
|
|
1251
1181
|
|
|
@@ -1253,25 +1183,18 @@ export interface PendlePTLooper extends BaseContract {
|
|
|
1253
1183
|
|
|
1254
1184
|
setProposer(proposer_: string, overrides?: CallOverrides): Promise<void>;
|
|
1255
1185
|
|
|
1256
|
-
|
|
1257
|
-
ms:
|
|
1258
|
-
proposerSignature: BytesLike,
|
|
1259
|
-
overrides?: CallOverrides
|
|
1260
|
-
): Promise<void>;
|
|
1261
|
-
|
|
1262
|
-
"swapBridgeWithdrawAll(((address,bytes32,uint256,bytes32,uint256),(address,address,bytes),(address,address,bytes),uint256,uint256),bytes,(((bytes32,uint256,uint32,uint32),uint256,uint256,uint256),((bytes32,uint256,uint32,uint32),bool,address,address,uint256)),bytes)"(
|
|
1263
|
-
ms: IPPTLooper.SwapBridgeWithdrawAllMessageStruct,
|
|
1186
|
+
swapBridgeWithdrawAll(
|
|
1187
|
+
ms: IPPTLooperEIP712Types.SwapBridgeWithdrawAllMessageStruct,
|
|
1264
1188
|
proposerSig: BytesLike,
|
|
1265
|
-
req:
|
|
1266
|
-
|
|
1189
|
+
req: IPPTLooperEIP712Types.SwapBridgeWithdrawAllRequestStruct,
|
|
1190
|
+
ownerSigIfFirstCall: BytesLike,
|
|
1267
1191
|
overrides?: CallOverrides
|
|
1268
1192
|
): Promise<void>;
|
|
1269
1193
|
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
ownerSig: BytesLike,
|
|
1194
|
+
terminateSession(
|
|
1195
|
+
owner: string,
|
|
1196
|
+
boxId: BytesLike,
|
|
1197
|
+
requestHash: BytesLike,
|
|
1275
1198
|
overrides?: CallOverrides
|
|
1276
1199
|
): Promise<void>;
|
|
1277
1200
|
|
|
@@ -1330,7 +1253,7 @@ export interface PendlePTLooper extends BaseContract {
|
|
|
1330
1253
|
"PositionDecreased(address,bytes32,bytes32,uint256,uint256,uint256,uint256)"(
|
|
1331
1254
|
owner?: string | null,
|
|
1332
1255
|
boxId?: BytesLike | null,
|
|
1333
|
-
|
|
1256
|
+
requestHash?: null,
|
|
1334
1257
|
nonce?: null,
|
|
1335
1258
|
preDebtBalance?: null,
|
|
1336
1259
|
netPtToSwap?: null,
|
|
@@ -1339,7 +1262,7 @@ export interface PendlePTLooper extends BaseContract {
|
|
|
1339
1262
|
PositionDecreased(
|
|
1340
1263
|
owner?: string | null,
|
|
1341
1264
|
boxId?: BytesLike | null,
|
|
1342
|
-
|
|
1265
|
+
requestHash?: null,
|
|
1343
1266
|
nonce?: null,
|
|
1344
1267
|
preDebtBalance?: null,
|
|
1345
1268
|
netPtToSwap?: null,
|
|
@@ -1349,22 +1272,65 @@ export interface PendlePTLooper extends BaseContract {
|
|
|
1349
1272
|
"PositionIncreased(address,bytes32,bytes32,uint256,uint256,uint256,uint256)"(
|
|
1350
1273
|
owner?: string | null,
|
|
1351
1274
|
boxId?: BytesLike | null,
|
|
1352
|
-
|
|
1275
|
+
requestHash?: null,
|
|
1353
1276
|
nonce?: null,
|
|
1354
|
-
|
|
1277
|
+
preInBalance?: null,
|
|
1355
1278
|
netPtToMM?: null,
|
|
1356
1279
|
postDebtBalance?: null
|
|
1357
1280
|
): PositionIncreasedEventFilter;
|
|
1358
1281
|
PositionIncreased(
|
|
1359
1282
|
owner?: string | null,
|
|
1360
1283
|
boxId?: BytesLike | null,
|
|
1361
|
-
|
|
1284
|
+
requestHash?: null,
|
|
1362
1285
|
nonce?: null,
|
|
1363
|
-
|
|
1286
|
+
preInBalance?: null,
|
|
1364
1287
|
netPtToMM?: null,
|
|
1365
1288
|
postDebtBalance?: null
|
|
1366
1289
|
): PositionIncreasedEventFilter;
|
|
1367
1290
|
|
|
1291
|
+
"RewardsClaimed(address,bytes32,bytes32,uint256,address[],uint256[])"(
|
|
1292
|
+
owner?: string | null,
|
|
1293
|
+
boxId?: BytesLike | null,
|
|
1294
|
+
requestHash?: null,
|
|
1295
|
+
nonce?: null,
|
|
1296
|
+
rewardTokens?: null,
|
|
1297
|
+
claimedAmounts?: null
|
|
1298
|
+
): RewardsClaimedEventFilter;
|
|
1299
|
+
RewardsClaimed(
|
|
1300
|
+
owner?: string | null,
|
|
1301
|
+
boxId?: BytesLike | null,
|
|
1302
|
+
requestHash?: null,
|
|
1303
|
+
nonce?: null,
|
|
1304
|
+
rewardTokens?: null,
|
|
1305
|
+
claimedAmounts?: null
|
|
1306
|
+
): RewardsClaimedEventFilter;
|
|
1307
|
+
|
|
1308
|
+
"SessionInitiated(address,bytes32,bytes32,uint32)"(
|
|
1309
|
+
owner?: string | null,
|
|
1310
|
+
boxId?: BytesLike | null,
|
|
1311
|
+
requestHash?: null,
|
|
1312
|
+
sessionNonce?: null
|
|
1313
|
+
): SessionInitiatedEventFilter;
|
|
1314
|
+
SessionInitiated(
|
|
1315
|
+
owner?: string | null,
|
|
1316
|
+
boxId?: BytesLike | null,
|
|
1317
|
+
requestHash?: null,
|
|
1318
|
+
sessionNonce?: null
|
|
1319
|
+
): SessionInitiatedEventFilter;
|
|
1320
|
+
|
|
1321
|
+
"SessionTerminated(address,bytes32,bytes32,uint32)"(
|
|
1322
|
+
owner?: string | null,
|
|
1323
|
+
boxId?: BytesLike | null,
|
|
1324
|
+
requestHash?: null,
|
|
1325
|
+
sessionNonce?: null
|
|
1326
|
+
): SessionTerminatedEventFilter;
|
|
1327
|
+
SessionTerminated(
|
|
1328
|
+
owner?: string | null,
|
|
1329
|
+
boxId?: BytesLike | null,
|
|
1330
|
+
requestHash?: null,
|
|
1331
|
+
sessionNonce?: null
|
|
1332
|
+
): SessionTerminatedEventFilter;
|
|
1333
|
+
|
|
1368
1334
|
"SetExecutor(address)"(executor?: null): SetExecutorEventFilter;
|
|
1369
1335
|
SetExecutor(executor?: null): SetExecutorEventFilter;
|
|
1370
1336
|
|
|
@@ -1387,59 +1353,46 @@ export interface PendlePTLooper extends BaseContract {
|
|
|
1387
1353
|
tokenIn?: string | null,
|
|
1388
1354
|
netIn?: null,
|
|
1389
1355
|
tokenOut?: string | null,
|
|
1390
|
-
|
|
1356
|
+
netSwappedOut?: null
|
|
1391
1357
|
): TokenSwappedEventFilter;
|
|
1392
1358
|
TokenSwapped(
|
|
1393
1359
|
box?: string | null,
|
|
1394
1360
|
tokenIn?: string | null,
|
|
1395
1361
|
netIn?: null,
|
|
1396
1362
|
tokenOut?: string | null,
|
|
1397
|
-
|
|
1363
|
+
netSwappedOut?: null
|
|
1398
1364
|
): TokenSwappedEventFilter;
|
|
1399
1365
|
|
|
1400
|
-
"
|
|
1366
|
+
"Withdrawn(address,bytes32,bytes32,uint256,address,uint256)"(
|
|
1401
1367
|
owner?: string | null,
|
|
1402
1368
|
boxId?: BytesLike | null,
|
|
1403
|
-
|
|
1404
|
-
sessionNonce?: null,
|
|
1405
|
-
isInitiate?: null
|
|
1406
|
-
): UserRequestStateSetEventFilter;
|
|
1407
|
-
UserRequestStateSet(
|
|
1408
|
-
owner?: string | null,
|
|
1409
|
-
boxId?: BytesLike | null,
|
|
1410
|
-
ownerSigHash?: null,
|
|
1411
|
-
sessionNonce?: null,
|
|
1412
|
-
isInitiate?: null
|
|
1413
|
-
): UserRequestStateSetEventFilter;
|
|
1414
|
-
|
|
1415
|
-
"Withdrawn(address,bytes32,bytes32,uint256,address,uint256,uint256)"(
|
|
1416
|
-
owner?: string | null,
|
|
1417
|
-
boxId?: BytesLike | null,
|
|
1418
|
-
ownerSigHash?: null,
|
|
1369
|
+
requestHash?: null,
|
|
1419
1370
|
nonce?: null,
|
|
1420
1371
|
tokenOut?: null,
|
|
1421
|
-
netOut?: null
|
|
1422
|
-
fee?: null
|
|
1372
|
+
netOut?: null
|
|
1423
1373
|
): WithdrawnEventFilter;
|
|
1424
1374
|
Withdrawn(
|
|
1425
1375
|
owner?: string | null,
|
|
1426
1376
|
boxId?: BytesLike | null,
|
|
1427
|
-
|
|
1377
|
+
requestHash?: null,
|
|
1428
1378
|
nonce?: null,
|
|
1429
1379
|
tokenOut?: null,
|
|
1430
|
-
netOut?: null
|
|
1431
|
-
fee?: null
|
|
1380
|
+
netOut?: null
|
|
1432
1381
|
): WithdrawnEventFilter;
|
|
1433
1382
|
};
|
|
1434
1383
|
|
|
1435
1384
|
estimateGas: {
|
|
1436
1385
|
POSITION_BOX_FACTORY(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1437
1386
|
|
|
1387
|
+
POST_LOOP_STATE_CHECKER(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1388
|
+
|
|
1438
1389
|
TREASURY(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1439
1390
|
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1391
|
+
claimMMRewards(
|
|
1392
|
+
ms: IPPTLooperEIP712Types.ClaimMMRewardsMessageStruct,
|
|
1393
|
+
proposerSig: BytesLike,
|
|
1394
|
+
req: IPPTLooperEIP712Types.ClaimMMRewardsRequestStruct,
|
|
1395
|
+
ownerSigIfFirstCall: BytesLike,
|
|
1443
1396
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1444
1397
|
): Promise<BigNumber>;
|
|
1445
1398
|
|
|
@@ -1447,95 +1400,108 @@ export interface PendlePTLooper extends BaseContract {
|
|
|
1447
1400
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1448
1401
|
): Promise<BigNumber>;
|
|
1449
1402
|
|
|
1450
|
-
|
|
1451
|
-
ms:
|
|
1403
|
+
decreaseLoopPosition(
|
|
1404
|
+
ms: IPPTLooperEIP712Types.DecreasePositionMessageStruct,
|
|
1452
1405
|
proposerSig: BytesLike,
|
|
1453
|
-
req:
|
|
1454
|
-
|
|
1406
|
+
req: IPPTLooperEIP712Types.DecreasePositionRequestStruct,
|
|
1407
|
+
ownerSigIfFirstCall: BytesLike,
|
|
1455
1408
|
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
1456
1409
|
): Promise<BigNumber>;
|
|
1457
1410
|
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1411
|
+
eip712Domain(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1412
|
+
|
|
1413
|
+
executor(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1414
|
+
|
|
1415
|
+
"hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool,uint256))"(
|
|
1416
|
+
req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
|
|
1417
|
+
overrides?: CallOverrides
|
|
1464
1418
|
): Promise<BigNumber>;
|
|
1465
1419
|
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
amountIn: BigNumberish,
|
|
1470
|
-
swapCall: IPPTLooper.BoxApprovedCallStruct,
|
|
1471
|
-
minDebtTokenSwapOut: BigNumberish,
|
|
1472
|
-
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
1420
|
+
"hashRaw((bytes32,uint256,uint32,uint32,uint256,bytes))"(
|
|
1421
|
+
header: IPPTLooperEIP712Types.RequestHeaderStruct,
|
|
1422
|
+
overrides?: CallOverrides
|
|
1473
1423
|
): Promise<BigNumber>;
|
|
1474
1424
|
|
|
1475
|
-
|
|
1425
|
+
"hashRaw(((address,bytes32,uint256,uint256)))"(
|
|
1426
|
+
ms: IPPTLooperEIP712Types.ClaimMMRewardsMessageStruct,
|
|
1427
|
+
overrides?: CallOverrides
|
|
1428
|
+
): Promise<BigNumber>;
|
|
1476
1429
|
|
|
1477
|
-
|
|
1430
|
+
"hashRaw(((address,address,bytes),uint256,uint256))"(
|
|
1431
|
+
bridge: IPPTLooperEIP712Types.BridgeDataStruct,
|
|
1432
|
+
overrides?: CallOverrides
|
|
1433
|
+
): Promise<BigNumber>;
|
|
1478
1434
|
|
|
1479
|
-
|
|
1480
|
-
|
|
1435
|
+
"hashRaw((address,bytes32,uint256,uint256))"(
|
|
1436
|
+
permit: IPPTLooperEIP712Types.BoxPermitStruct,
|
|
1481
1437
|
overrides?: CallOverrides
|
|
1482
1438
|
): Promise<BigNumber>;
|
|
1483
1439
|
|
|
1484
|
-
|
|
1485
|
-
|
|
1440
|
+
"hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,bytes,address[]))"(
|
|
1441
|
+
req: IPPTLooperEIP712Types.ClaimMMRewardsRequestStruct,
|
|
1486
1442
|
overrides?: CallOverrides
|
|
1487
1443
|
): Promise<BigNumber>;
|
|
1488
1444
|
|
|
1489
|
-
|
|
1490
|
-
|
|
1445
|
+
"hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),uint256,uint256))"(
|
|
1446
|
+
req: IPPTLooperEIP712Types.DecreasePositionRequestStruct,
|
|
1491
1447
|
overrides?: CallOverrides
|
|
1492
1448
|
): Promise<BigNumber>;
|
|
1493
1449
|
|
|
1494
|
-
|
|
1495
|
-
req:
|
|
1450
|
+
"hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),bool,address,address,uint256))"(
|
|
1451
|
+
req: IPPTLooperEIP712Types.SwapBridgeWithdrawAllRequestStruct,
|
|
1496
1452
|
overrides?: CallOverrides
|
|
1497
1453
|
): Promise<BigNumber>;
|
|
1498
1454
|
|
|
1499
|
-
|
|
1500
|
-
|
|
1455
|
+
"hashRaw((address,address,bytes))"(
|
|
1456
|
+
call: IPPTLooperEIP712Types.BoxApprovedCallStruct,
|
|
1501
1457
|
overrides?: CallOverrides
|
|
1502
1458
|
): Promise<BigNumber>;
|
|
1503
1459
|
|
|
1504
|
-
|
|
1505
|
-
req:
|
|
1460
|
+
"hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),uint256,uint256))"(
|
|
1461
|
+
req: IPPTLooperEIP712Types.DecreasePositionRequestStruct,
|
|
1506
1462
|
overrides?: CallOverrides
|
|
1507
1463
|
): Promise<BigNumber>;
|
|
1508
1464
|
|
|
1509
|
-
|
|
1510
|
-
ms:
|
|
1465
|
+
"hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),uint256,bytes))"(
|
|
1466
|
+
ms: IPPTLooperEIP712Types.DecreasePositionMessageStruct,
|
|
1511
1467
|
overrides?: CallOverrides
|
|
1512
1468
|
): Promise<BigNumber>;
|
|
1513
1469
|
|
|
1514
|
-
|
|
1515
|
-
|
|
1470
|
+
"hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),uint256,((address,address,bytes),uint256,uint256),uint256,bytes))"(
|
|
1471
|
+
ms: IPPTLooperEIP712Types.IncreasePositionMessageStruct,
|
|
1516
1472
|
overrides?: CallOverrides
|
|
1517
1473
|
): Promise<BigNumber>;
|
|
1518
1474
|
|
|
1519
|
-
|
|
1520
|
-
|
|
1475
|
+
"hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),bool,address,address,uint256))"(
|
|
1476
|
+
req: IPPTLooperEIP712Types.SwapBridgeWithdrawAllRequestStruct,
|
|
1521
1477
|
overrides?: CallOverrides
|
|
1522
1478
|
): Promise<BigNumber>;
|
|
1523
1479
|
|
|
1524
|
-
|
|
1525
|
-
req:
|
|
1480
|
+
"hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),address,bytes,address[]))"(
|
|
1481
|
+
req: IPPTLooperEIP712Types.ClaimMMRewardsRequestStruct,
|
|
1526
1482
|
overrides?: CallOverrides
|
|
1527
1483
|
): Promise<BigNumber>;
|
|
1528
1484
|
|
|
1529
|
-
|
|
1530
|
-
|
|
1485
|
+
"hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool,uint256))"(
|
|
1486
|
+
req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
|
|
1487
|
+
overrides?: CallOverrides
|
|
1488
|
+
): Promise<BigNumber>;
|
|
1489
|
+
|
|
1490
|
+
"hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),bytes))"(
|
|
1491
|
+
ms: IPPTLooperEIP712Types.SwapBridgeWithdrawAllMessageStruct,
|
|
1492
|
+
overrides?: CallOverrides
|
|
1493
|
+
): Promise<BigNumber>;
|
|
1494
|
+
|
|
1495
|
+
"hashTyped(((address,bytes32,uint256,uint256)))"(
|
|
1496
|
+
ms: IPPTLooperEIP712Types.ClaimMMRewardsMessageStruct,
|
|
1531
1497
|
overrides?: CallOverrides
|
|
1532
1498
|
): Promise<BigNumber>;
|
|
1533
1499
|
|
|
1534
1500
|
increaseLoopPosition(
|
|
1535
|
-
ms:
|
|
1501
|
+
ms: IPPTLooperEIP712Types.IncreasePositionMessageStruct,
|
|
1536
1502
|
proposerSig: BytesLike,
|
|
1537
|
-
req:
|
|
1538
|
-
|
|
1503
|
+
req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
|
|
1504
|
+
ownerSigIfFirstCall: BytesLike,
|
|
1539
1505
|
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
1540
1506
|
): Promise<BigNumber>;
|
|
1541
1507
|
|
|
@@ -1544,11 +1510,6 @@ export interface PendlePTLooper extends BaseContract {
|
|
|
1544
1510
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1545
1511
|
): Promise<BigNumber>;
|
|
1546
1512
|
|
|
1547
|
-
multicall(
|
|
1548
|
-
calls: IMulticall.Call3Struct[],
|
|
1549
|
-
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
1550
|
-
): Promise<BigNumber>;
|
|
1551
|
-
|
|
1552
1513
|
owner(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1553
1514
|
|
|
1554
1515
|
pendingOwner(overrides?: CallOverrides): Promise<BigNumber>;
|
|
@@ -1556,7 +1517,8 @@ export interface PendlePTLooper extends BaseContract {
|
|
|
1556
1517
|
proposer(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1557
1518
|
|
|
1558
1519
|
proposerNonce(
|
|
1559
|
-
|
|
1520
|
+
owner: string,
|
|
1521
|
+
requestHash: BytesLike,
|
|
1560
1522
|
overrides?: CallOverrides
|
|
1561
1523
|
): Promise<BigNumber>;
|
|
1562
1524
|
|
|
@@ -1570,26 +1532,19 @@ export interface PendlePTLooper extends BaseContract {
|
|
|
1570
1532
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1571
1533
|
): Promise<BigNumber>;
|
|
1572
1534
|
|
|
1573
|
-
|
|
1574
|
-
ms:
|
|
1575
|
-
proposerSignature: BytesLike,
|
|
1576
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1577
|
-
): Promise<BigNumber>;
|
|
1578
|
-
|
|
1579
|
-
"swapBridgeWithdrawAll(((address,bytes32,uint256,bytes32,uint256),(address,address,bytes),(address,address,bytes),uint256,uint256),bytes,(((bytes32,uint256,uint32,uint32),uint256,uint256,uint256),((bytes32,uint256,uint32,uint32),bool,address,address,uint256)),bytes)"(
|
|
1580
|
-
ms: IPPTLooper.SwapBridgeWithdrawAllMessageStruct,
|
|
1535
|
+
swapBridgeWithdrawAll(
|
|
1536
|
+
ms: IPPTLooperEIP712Types.SwapBridgeWithdrawAllMessageStruct,
|
|
1581
1537
|
proposerSig: BytesLike,
|
|
1582
|
-
req:
|
|
1583
|
-
|
|
1538
|
+
req: IPPTLooperEIP712Types.SwapBridgeWithdrawAllRequestStruct,
|
|
1539
|
+
ownerSigIfFirstCall: BytesLike,
|
|
1584
1540
|
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
1585
1541
|
): Promise<BigNumber>;
|
|
1586
1542
|
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
1543
|
+
terminateSession(
|
|
1544
|
+
owner: string,
|
|
1545
|
+
boxId: BytesLike,
|
|
1546
|
+
requestHash: BytesLike,
|
|
1547
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1593
1548
|
): Promise<BigNumber>;
|
|
1594
1549
|
|
|
1595
1550
|
transferOwnership(
|
|
@@ -1611,11 +1566,17 @@ export interface PendlePTLooper extends BaseContract {
|
|
|
1611
1566
|
overrides?: CallOverrides
|
|
1612
1567
|
): Promise<PopulatedTransaction>;
|
|
1613
1568
|
|
|
1569
|
+
POST_LOOP_STATE_CHECKER(
|
|
1570
|
+
overrides?: CallOverrides
|
|
1571
|
+
): Promise<PopulatedTransaction>;
|
|
1572
|
+
|
|
1614
1573
|
TREASURY(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
1615
1574
|
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1575
|
+
claimMMRewards(
|
|
1576
|
+
ms: IPPTLooperEIP712Types.ClaimMMRewardsMessageStruct,
|
|
1577
|
+
proposerSig: BytesLike,
|
|
1578
|
+
req: IPPTLooperEIP712Types.ClaimMMRewardsRequestStruct,
|
|
1579
|
+
ownerSigIfFirstCall: BytesLike,
|
|
1619
1580
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1620
1581
|
): Promise<PopulatedTransaction>;
|
|
1621
1582
|
|
|
@@ -1623,95 +1584,108 @@ export interface PendlePTLooper extends BaseContract {
|
|
|
1623
1584
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1624
1585
|
): Promise<PopulatedTransaction>;
|
|
1625
1586
|
|
|
1626
|
-
|
|
1627
|
-
ms:
|
|
1587
|
+
decreaseLoopPosition(
|
|
1588
|
+
ms: IPPTLooperEIP712Types.DecreasePositionMessageStruct,
|
|
1628
1589
|
proposerSig: BytesLike,
|
|
1629
|
-
req:
|
|
1630
|
-
|
|
1590
|
+
req: IPPTLooperEIP712Types.DecreasePositionRequestStruct,
|
|
1591
|
+
ownerSigIfFirstCall: BytesLike,
|
|
1631
1592
|
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
1632
1593
|
): Promise<PopulatedTransaction>;
|
|
1633
1594
|
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1595
|
+
eip712Domain(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
1596
|
+
|
|
1597
|
+
executor(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
1598
|
+
|
|
1599
|
+
"hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool,uint256))"(
|
|
1600
|
+
req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
|
|
1601
|
+
overrides?: CallOverrides
|
|
1640
1602
|
): Promise<PopulatedTransaction>;
|
|
1641
1603
|
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
amountIn: BigNumberish,
|
|
1646
|
-
swapCall: IPPTLooper.BoxApprovedCallStruct,
|
|
1647
|
-
minDebtTokenSwapOut: BigNumberish,
|
|
1648
|
-
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
1604
|
+
"hashRaw((bytes32,uint256,uint32,uint32,uint256,bytes))"(
|
|
1605
|
+
header: IPPTLooperEIP712Types.RequestHeaderStruct,
|
|
1606
|
+
overrides?: CallOverrides
|
|
1649
1607
|
): Promise<PopulatedTransaction>;
|
|
1650
1608
|
|
|
1651
|
-
|
|
1609
|
+
"hashRaw(((address,bytes32,uint256,uint256)))"(
|
|
1610
|
+
ms: IPPTLooperEIP712Types.ClaimMMRewardsMessageStruct,
|
|
1611
|
+
overrides?: CallOverrides
|
|
1612
|
+
): Promise<PopulatedTransaction>;
|
|
1652
1613
|
|
|
1653
|
-
|
|
1614
|
+
"hashRaw(((address,address,bytes),uint256,uint256))"(
|
|
1615
|
+
bridge: IPPTLooperEIP712Types.BridgeDataStruct,
|
|
1616
|
+
overrides?: CallOverrides
|
|
1617
|
+
): Promise<PopulatedTransaction>;
|
|
1618
|
+
|
|
1619
|
+
"hashRaw((address,bytes32,uint256,uint256))"(
|
|
1620
|
+
permit: IPPTLooperEIP712Types.BoxPermitStruct,
|
|
1621
|
+
overrides?: CallOverrides
|
|
1622
|
+
): Promise<PopulatedTransaction>;
|
|
1623
|
+
|
|
1624
|
+
"hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,bytes,address[]))"(
|
|
1625
|
+
req: IPPTLooperEIP712Types.ClaimMMRewardsRequestStruct,
|
|
1626
|
+
overrides?: CallOverrides
|
|
1627
|
+
): Promise<PopulatedTransaction>;
|
|
1654
1628
|
|
|
1655
|
-
|
|
1656
|
-
|
|
1629
|
+
"hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),uint256,uint256))"(
|
|
1630
|
+
req: IPPTLooperEIP712Types.DecreasePositionRequestStruct,
|
|
1657
1631
|
overrides?: CallOverrides
|
|
1658
1632
|
): Promise<PopulatedTransaction>;
|
|
1659
1633
|
|
|
1660
|
-
|
|
1661
|
-
|
|
1634
|
+
"hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),bool,address,address,uint256))"(
|
|
1635
|
+
req: IPPTLooperEIP712Types.SwapBridgeWithdrawAllRequestStruct,
|
|
1662
1636
|
overrides?: CallOverrides
|
|
1663
1637
|
): Promise<PopulatedTransaction>;
|
|
1664
1638
|
|
|
1665
|
-
|
|
1666
|
-
|
|
1639
|
+
"hashRaw((address,address,bytes))"(
|
|
1640
|
+
call: IPPTLooperEIP712Types.BoxApprovedCallStruct,
|
|
1667
1641
|
overrides?: CallOverrides
|
|
1668
1642
|
): Promise<PopulatedTransaction>;
|
|
1669
1643
|
|
|
1670
|
-
|
|
1671
|
-
req:
|
|
1644
|
+
"hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),uint256,uint256))"(
|
|
1645
|
+
req: IPPTLooperEIP712Types.DecreasePositionRequestStruct,
|
|
1672
1646
|
overrides?: CallOverrides
|
|
1673
1647
|
): Promise<PopulatedTransaction>;
|
|
1674
1648
|
|
|
1675
|
-
|
|
1676
|
-
ms:
|
|
1649
|
+
"hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),uint256,bytes))"(
|
|
1650
|
+
ms: IPPTLooperEIP712Types.DecreasePositionMessageStruct,
|
|
1677
1651
|
overrides?: CallOverrides
|
|
1678
1652
|
): Promise<PopulatedTransaction>;
|
|
1679
1653
|
|
|
1680
|
-
|
|
1681
|
-
|
|
1654
|
+
"hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),uint256,((address,address,bytes),uint256,uint256),uint256,bytes))"(
|
|
1655
|
+
ms: IPPTLooperEIP712Types.IncreasePositionMessageStruct,
|
|
1682
1656
|
overrides?: CallOverrides
|
|
1683
1657
|
): Promise<PopulatedTransaction>;
|
|
1684
1658
|
|
|
1685
|
-
|
|
1686
|
-
|
|
1659
|
+
"hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),bool,address,address,uint256))"(
|
|
1660
|
+
req: IPPTLooperEIP712Types.SwapBridgeWithdrawAllRequestStruct,
|
|
1687
1661
|
overrides?: CallOverrides
|
|
1688
1662
|
): Promise<PopulatedTransaction>;
|
|
1689
1663
|
|
|
1690
|
-
|
|
1691
|
-
req:
|
|
1664
|
+
"hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),address,bytes,address[]))"(
|
|
1665
|
+
req: IPPTLooperEIP712Types.ClaimMMRewardsRequestStruct,
|
|
1692
1666
|
overrides?: CallOverrides
|
|
1693
1667
|
): Promise<PopulatedTransaction>;
|
|
1694
1668
|
|
|
1695
|
-
|
|
1696
|
-
|
|
1669
|
+
"hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool,uint256))"(
|
|
1670
|
+
req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
|
|
1697
1671
|
overrides?: CallOverrides
|
|
1698
1672
|
): Promise<PopulatedTransaction>;
|
|
1699
1673
|
|
|
1700
|
-
|
|
1701
|
-
|
|
1674
|
+
"hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),bytes))"(
|
|
1675
|
+
ms: IPPTLooperEIP712Types.SwapBridgeWithdrawAllMessageStruct,
|
|
1702
1676
|
overrides?: CallOverrides
|
|
1703
1677
|
): Promise<PopulatedTransaction>;
|
|
1704
1678
|
|
|
1705
|
-
|
|
1706
|
-
ms:
|
|
1679
|
+
"hashTyped(((address,bytes32,uint256,uint256)))"(
|
|
1680
|
+
ms: IPPTLooperEIP712Types.ClaimMMRewardsMessageStruct,
|
|
1707
1681
|
overrides?: CallOverrides
|
|
1708
1682
|
): Promise<PopulatedTransaction>;
|
|
1709
1683
|
|
|
1710
1684
|
increaseLoopPosition(
|
|
1711
|
-
ms:
|
|
1685
|
+
ms: IPPTLooperEIP712Types.IncreasePositionMessageStruct,
|
|
1712
1686
|
proposerSig: BytesLike,
|
|
1713
|
-
req:
|
|
1714
|
-
|
|
1687
|
+
req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
|
|
1688
|
+
ownerSigIfFirstCall: BytesLike,
|
|
1715
1689
|
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
1716
1690
|
): Promise<PopulatedTransaction>;
|
|
1717
1691
|
|
|
@@ -1720,11 +1694,6 @@ export interface PendlePTLooper extends BaseContract {
|
|
|
1720
1694
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1721
1695
|
): Promise<PopulatedTransaction>;
|
|
1722
1696
|
|
|
1723
|
-
multicall(
|
|
1724
|
-
calls: IMulticall.Call3Struct[],
|
|
1725
|
-
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
1726
|
-
): Promise<PopulatedTransaction>;
|
|
1727
|
-
|
|
1728
1697
|
owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
1729
1698
|
|
|
1730
1699
|
pendingOwner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
@@ -1732,7 +1701,8 @@ export interface PendlePTLooper extends BaseContract {
|
|
|
1732
1701
|
proposer(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
1733
1702
|
|
|
1734
1703
|
proposerNonce(
|
|
1735
|
-
|
|
1704
|
+
owner: string,
|
|
1705
|
+
requestHash: BytesLike,
|
|
1736
1706
|
overrides?: CallOverrides
|
|
1737
1707
|
): Promise<PopulatedTransaction>;
|
|
1738
1708
|
|
|
@@ -1746,26 +1716,19 @@ export interface PendlePTLooper extends BaseContract {
|
|
|
1746
1716
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1747
1717
|
): Promise<PopulatedTransaction>;
|
|
1748
1718
|
|
|
1749
|
-
|
|
1750
|
-
ms:
|
|
1751
|
-
proposerSignature: BytesLike,
|
|
1752
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1753
|
-
): Promise<PopulatedTransaction>;
|
|
1754
|
-
|
|
1755
|
-
"swapBridgeWithdrawAll(((address,bytes32,uint256,bytes32,uint256),(address,address,bytes),(address,address,bytes),uint256,uint256),bytes,(((bytes32,uint256,uint32,uint32),uint256,uint256,uint256),((bytes32,uint256,uint32,uint32),bool,address,address,uint256)),bytes)"(
|
|
1756
|
-
ms: IPPTLooper.SwapBridgeWithdrawAllMessageStruct,
|
|
1719
|
+
swapBridgeWithdrawAll(
|
|
1720
|
+
ms: IPPTLooperEIP712Types.SwapBridgeWithdrawAllMessageStruct,
|
|
1757
1721
|
proposerSig: BytesLike,
|
|
1758
|
-
req:
|
|
1759
|
-
|
|
1722
|
+
req: IPPTLooperEIP712Types.SwapBridgeWithdrawAllRequestStruct,
|
|
1723
|
+
ownerSigIfFirstCall: BytesLike,
|
|
1760
1724
|
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
1761
1725
|
): Promise<PopulatedTransaction>;
|
|
1762
1726
|
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
1727
|
+
terminateSession(
|
|
1728
|
+
owner: string,
|
|
1729
|
+
boxId: BytesLike,
|
|
1730
|
+
requestHash: BytesLike,
|
|
1731
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1769
1732
|
): Promise<PopulatedTransaction>;
|
|
1770
1733
|
|
|
1771
1734
|
transferOwnership(
|