@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
|
@@ -113,7 +113,7 @@ const _abi = [
|
|
|
113
113
|
{
|
|
114
114
|
indexed: false,
|
|
115
115
|
internalType: "bytes32",
|
|
116
|
-
name: "
|
|
116
|
+
name: "requestHash",
|
|
117
117
|
type: "bytes32",
|
|
118
118
|
},
|
|
119
119
|
{
|
|
@@ -162,7 +162,7 @@ const _abi = [
|
|
|
162
162
|
{
|
|
163
163
|
indexed: false,
|
|
164
164
|
internalType: "bytes32",
|
|
165
|
-
name: "
|
|
165
|
+
name: "requestHash",
|
|
166
166
|
type: "bytes32",
|
|
167
167
|
},
|
|
168
168
|
{
|
|
@@ -174,7 +174,7 @@ const _abi = [
|
|
|
174
174
|
{
|
|
175
175
|
indexed: false,
|
|
176
176
|
internalType: "uint256",
|
|
177
|
-
name: "
|
|
177
|
+
name: "preInBalance",
|
|
178
178
|
type: "uint256",
|
|
179
179
|
},
|
|
180
180
|
{
|
|
@@ -193,6 +193,111 @@ const _abi = [
|
|
|
193
193
|
name: "PositionIncreased",
|
|
194
194
|
type: "event",
|
|
195
195
|
},
|
|
196
|
+
{
|
|
197
|
+
anonymous: false,
|
|
198
|
+
inputs: [
|
|
199
|
+
{
|
|
200
|
+
indexed: true,
|
|
201
|
+
internalType: "address",
|
|
202
|
+
name: "owner",
|
|
203
|
+
type: "address",
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
indexed: true,
|
|
207
|
+
internalType: "bytes32",
|
|
208
|
+
name: "boxId",
|
|
209
|
+
type: "bytes32",
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
indexed: false,
|
|
213
|
+
internalType: "bytes32",
|
|
214
|
+
name: "requestHash",
|
|
215
|
+
type: "bytes32",
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
indexed: false,
|
|
219
|
+
internalType: "uint256",
|
|
220
|
+
name: "nonce",
|
|
221
|
+
type: "uint256",
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
indexed: false,
|
|
225
|
+
internalType: "address[]",
|
|
226
|
+
name: "rewardTokens",
|
|
227
|
+
type: "address[]",
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
indexed: false,
|
|
231
|
+
internalType: "uint256[]",
|
|
232
|
+
name: "claimedAmounts",
|
|
233
|
+
type: "uint256[]",
|
|
234
|
+
},
|
|
235
|
+
],
|
|
236
|
+
name: "RewardsClaimed",
|
|
237
|
+
type: "event",
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
anonymous: false,
|
|
241
|
+
inputs: [
|
|
242
|
+
{
|
|
243
|
+
indexed: true,
|
|
244
|
+
internalType: "address",
|
|
245
|
+
name: "owner",
|
|
246
|
+
type: "address",
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
indexed: true,
|
|
250
|
+
internalType: "bytes32",
|
|
251
|
+
name: "boxId",
|
|
252
|
+
type: "bytes32",
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
indexed: false,
|
|
256
|
+
internalType: "bytes32",
|
|
257
|
+
name: "requestHash",
|
|
258
|
+
type: "bytes32",
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
indexed: false,
|
|
262
|
+
internalType: "uint32",
|
|
263
|
+
name: "sessionNonce",
|
|
264
|
+
type: "uint32",
|
|
265
|
+
},
|
|
266
|
+
],
|
|
267
|
+
name: "SessionInitiated",
|
|
268
|
+
type: "event",
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
anonymous: false,
|
|
272
|
+
inputs: [
|
|
273
|
+
{
|
|
274
|
+
indexed: true,
|
|
275
|
+
internalType: "address",
|
|
276
|
+
name: "owner",
|
|
277
|
+
type: "address",
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
indexed: true,
|
|
281
|
+
internalType: "bytes32",
|
|
282
|
+
name: "boxId",
|
|
283
|
+
type: "bytes32",
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
indexed: false,
|
|
287
|
+
internalType: "bytes32",
|
|
288
|
+
name: "requestHash",
|
|
289
|
+
type: "bytes32",
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
indexed: false,
|
|
293
|
+
internalType: "uint32",
|
|
294
|
+
name: "sessionNonce",
|
|
295
|
+
type: "uint32",
|
|
296
|
+
},
|
|
297
|
+
],
|
|
298
|
+
name: "SessionTerminated",
|
|
299
|
+
type: "event",
|
|
300
|
+
},
|
|
196
301
|
{
|
|
197
302
|
anonymous: false,
|
|
198
303
|
inputs: [
|
|
@@ -274,7 +379,7 @@ const _abi = [
|
|
|
274
379
|
{
|
|
275
380
|
indexed: false,
|
|
276
381
|
internalType: "uint256",
|
|
277
|
-
name: "
|
|
382
|
+
name: "netSwappedOut",
|
|
278
383
|
type: "uint256",
|
|
279
384
|
},
|
|
280
385
|
],
|
|
@@ -299,44 +404,7 @@ const _abi = [
|
|
|
299
404
|
{
|
|
300
405
|
indexed: false,
|
|
301
406
|
internalType: "bytes32",
|
|
302
|
-
name: "
|
|
303
|
-
type: "bytes32",
|
|
304
|
-
},
|
|
305
|
-
{
|
|
306
|
-
indexed: false,
|
|
307
|
-
internalType: "uint32",
|
|
308
|
-
name: "sessionNonce",
|
|
309
|
-
type: "uint32",
|
|
310
|
-
},
|
|
311
|
-
{
|
|
312
|
-
indexed: false,
|
|
313
|
-
internalType: "bool",
|
|
314
|
-
name: "isInitiate",
|
|
315
|
-
type: "bool",
|
|
316
|
-
},
|
|
317
|
-
],
|
|
318
|
-
name: "UserRequestStateSet",
|
|
319
|
-
type: "event",
|
|
320
|
-
},
|
|
321
|
-
{
|
|
322
|
-
anonymous: false,
|
|
323
|
-
inputs: [
|
|
324
|
-
{
|
|
325
|
-
indexed: true,
|
|
326
|
-
internalType: "address",
|
|
327
|
-
name: "owner",
|
|
328
|
-
type: "address",
|
|
329
|
-
},
|
|
330
|
-
{
|
|
331
|
-
indexed: true,
|
|
332
|
-
internalType: "bytes32",
|
|
333
|
-
name: "boxId",
|
|
334
|
-
type: "bytes32",
|
|
335
|
-
},
|
|
336
|
-
{
|
|
337
|
-
indexed: false,
|
|
338
|
-
internalType: "bytes32",
|
|
339
|
-
name: "ownerSigHash",
|
|
407
|
+
name: "requestHash",
|
|
340
408
|
type: "bytes32",
|
|
341
409
|
},
|
|
342
410
|
{
|
|
@@ -357,12 +425,6 @@ const _abi = [
|
|
|
357
425
|
name: "netOut",
|
|
358
426
|
type: "uint256",
|
|
359
427
|
},
|
|
360
|
-
{
|
|
361
|
-
indexed: false,
|
|
362
|
-
internalType: "uint256",
|
|
363
|
-
name: "fee",
|
|
364
|
-
type: "uint256",
|
|
365
|
-
},
|
|
366
428
|
],
|
|
367
429
|
name: "Withdrawn",
|
|
368
430
|
type: "event",
|
|
@@ -380,6 +442,19 @@ const _abi = [
|
|
|
380
442
|
stateMutability: "view",
|
|
381
443
|
type: "function",
|
|
382
444
|
},
|
|
445
|
+
{
|
|
446
|
+
inputs: [],
|
|
447
|
+
name: "POST_LOOP_STATE_CHECKER",
|
|
448
|
+
outputs: [
|
|
449
|
+
{
|
|
450
|
+
internalType: "contract IPPostPtLoopStateChecker",
|
|
451
|
+
name: "",
|
|
452
|
+
type: "address",
|
|
453
|
+
},
|
|
454
|
+
],
|
|
455
|
+
stateMutability: "view",
|
|
456
|
+
type: "function",
|
|
457
|
+
},
|
|
383
458
|
{
|
|
384
459
|
inputs: [],
|
|
385
460
|
name: "TREASURY",
|
|
@@ -396,17 +471,110 @@ const _abi = [
|
|
|
396
471
|
{
|
|
397
472
|
inputs: [
|
|
398
473
|
{
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
474
|
+
components: [
|
|
475
|
+
{
|
|
476
|
+
components: [
|
|
477
|
+
{
|
|
478
|
+
internalType: "address",
|
|
479
|
+
name: "owner",
|
|
480
|
+
type: "address",
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
internalType: "bytes32",
|
|
484
|
+
name: "boxId",
|
|
485
|
+
type: "bytes32",
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
internalType: "uint256",
|
|
489
|
+
name: "expiry",
|
|
490
|
+
type: "uint256",
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
internalType: "uint256",
|
|
494
|
+
name: "nonce",
|
|
495
|
+
type: "uint256",
|
|
496
|
+
},
|
|
497
|
+
],
|
|
498
|
+
internalType: "struct IPPTLooperEIP712Types.BoxPermit",
|
|
499
|
+
name: "permit",
|
|
500
|
+
type: "tuple",
|
|
501
|
+
},
|
|
502
|
+
],
|
|
503
|
+
internalType: "struct IPPTLooperEIP712Types.ClaimMMRewardsMessage",
|
|
504
|
+
name: "ms",
|
|
505
|
+
type: "tuple",
|
|
402
506
|
},
|
|
403
507
|
{
|
|
404
|
-
internalType: "
|
|
405
|
-
name: "
|
|
406
|
-
type: "
|
|
508
|
+
internalType: "bytes",
|
|
509
|
+
name: "proposerSig",
|
|
510
|
+
type: "bytes",
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
components: [
|
|
514
|
+
{
|
|
515
|
+
components: [
|
|
516
|
+
{
|
|
517
|
+
internalType: "bytes32",
|
|
518
|
+
name: "boxId",
|
|
519
|
+
type: "bytes32",
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
internalType: "uint256",
|
|
523
|
+
name: "expiry",
|
|
524
|
+
type: "uint256",
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
internalType: "uint32",
|
|
528
|
+
name: "sessionNonce",
|
|
529
|
+
type: "uint32",
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
internalType: "uint32",
|
|
533
|
+
name: "permitNonceCap",
|
|
534
|
+
type: "uint32",
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
internalType: "uint256",
|
|
538
|
+
name: "swapBridgeSlippage",
|
|
539
|
+
type: "uint256",
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
internalType: "bytes",
|
|
543
|
+
name: "offchainMetadata",
|
|
544
|
+
type: "bytes",
|
|
545
|
+
},
|
|
546
|
+
],
|
|
547
|
+
internalType: "struct IPPTLooperEIP712Types.RequestHeader",
|
|
548
|
+
name: "header",
|
|
549
|
+
type: "tuple",
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
internalType: "address",
|
|
553
|
+
name: "extRewardController",
|
|
554
|
+
type: "address",
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
internalType: "bytes",
|
|
558
|
+
name: "data",
|
|
559
|
+
type: "bytes",
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
internalType: "address[]",
|
|
563
|
+
name: "rewardTokens",
|
|
564
|
+
type: "address[]",
|
|
565
|
+
},
|
|
566
|
+
],
|
|
567
|
+
internalType: "struct IPPTLooperEIP712Types.ClaimMMRewardsRequest",
|
|
568
|
+
name: "req",
|
|
569
|
+
type: "tuple",
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
internalType: "bytes",
|
|
573
|
+
name: "ownerSigIfFirstCall",
|
|
574
|
+
type: "bytes",
|
|
407
575
|
},
|
|
408
576
|
],
|
|
409
|
-
name: "
|
|
577
|
+
name: "claimMMRewards",
|
|
410
578
|
outputs: [],
|
|
411
579
|
stateMutability: "nonpayable",
|
|
412
580
|
type: "function",
|
|
@@ -439,18 +607,13 @@ const _abi = [
|
|
|
439
607
|
name: "expiry",
|
|
440
608
|
type: "uint256",
|
|
441
609
|
},
|
|
442
|
-
{
|
|
443
|
-
internalType: "bytes32",
|
|
444
|
-
name: "ownerSigHash",
|
|
445
|
-
type: "bytes32",
|
|
446
|
-
},
|
|
447
610
|
{
|
|
448
611
|
internalType: "uint256",
|
|
449
612
|
name: "nonce",
|
|
450
613
|
type: "uint256",
|
|
451
614
|
},
|
|
452
615
|
],
|
|
453
|
-
internalType: "struct
|
|
616
|
+
internalType: "struct IPPTLooperEIP712Types.BoxPermit",
|
|
454
617
|
name: "permit",
|
|
455
618
|
type: "tuple",
|
|
456
619
|
},
|
|
@@ -472,305 +635,61 @@ const _abi = [
|
|
|
472
635
|
type: "bytes",
|
|
473
636
|
},
|
|
474
637
|
],
|
|
475
|
-
internalType: "struct
|
|
638
|
+
internalType: "struct IPPTLooperEIP712Types.BoxApprovedCall",
|
|
476
639
|
name: "swap",
|
|
477
640
|
type: "tuple",
|
|
478
641
|
},
|
|
479
642
|
{
|
|
480
643
|
components: [
|
|
481
644
|
{
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
internalType: "uint256",
|
|
503
|
-
name: "maxBridgeAmount",
|
|
504
|
-
type: "uint256",
|
|
505
|
-
},
|
|
506
|
-
{
|
|
507
|
-
internalType: "uint256",
|
|
508
|
-
name: "bridgeNativeFee",
|
|
509
|
-
type: "uint256",
|
|
510
|
-
},
|
|
511
|
-
{
|
|
512
|
-
internalType: "uint256",
|
|
513
|
-
name: "minDebtRepaid",
|
|
514
|
-
type: "uint256",
|
|
515
|
-
},
|
|
516
|
-
{
|
|
517
|
-
internalType: "uint256",
|
|
518
|
-
name: "amountPtWithdrawn",
|
|
519
|
-
type: "uint256",
|
|
520
|
-
},
|
|
521
|
-
{
|
|
522
|
-
internalType: "uint256",
|
|
523
|
-
name: "minPtWithdrawn",
|
|
524
|
-
type: "uint256",
|
|
525
|
-
},
|
|
526
|
-
{
|
|
527
|
-
internalType: "uint256",
|
|
528
|
-
name: "postWithdrawMaxLTV",
|
|
529
|
-
type: "uint256",
|
|
530
|
-
},
|
|
531
|
-
],
|
|
532
|
-
internalType: "struct IPPTLooper.DecreasePositionMessage",
|
|
533
|
-
name: "ms",
|
|
534
|
-
type: "tuple",
|
|
535
|
-
},
|
|
536
|
-
{
|
|
537
|
-
internalType: "bytes",
|
|
538
|
-
name: "proposerSig",
|
|
539
|
-
type: "bytes",
|
|
540
|
-
},
|
|
541
|
-
{
|
|
542
|
-
components: [
|
|
543
|
-
{
|
|
544
|
-
components: [
|
|
545
|
-
{
|
|
546
|
-
components: [
|
|
547
|
-
{
|
|
548
|
-
internalType: "bytes32",
|
|
549
|
-
name: "boxId",
|
|
550
|
-
type: "bytes32",
|
|
551
|
-
},
|
|
552
|
-
{
|
|
553
|
-
internalType: "uint256",
|
|
554
|
-
name: "expiry",
|
|
555
|
-
type: "uint256",
|
|
556
|
-
},
|
|
557
|
-
{
|
|
558
|
-
internalType: "uint32",
|
|
559
|
-
name: "sessionNonce",
|
|
560
|
-
type: "uint32",
|
|
561
|
-
},
|
|
562
|
-
{
|
|
563
|
-
internalType: "uint32",
|
|
564
|
-
name: "permitNonceCap",
|
|
565
|
-
type: "uint32",
|
|
566
|
-
},
|
|
567
|
-
],
|
|
568
|
-
internalType: "struct IPPTLooper.RequestHeader",
|
|
569
|
-
name: "header",
|
|
570
|
-
type: "tuple",
|
|
571
|
-
},
|
|
572
|
-
{
|
|
573
|
-
internalType: "uint256",
|
|
574
|
-
name: "targetMaxDebt",
|
|
575
|
-
type: "uint256",
|
|
576
|
-
},
|
|
577
|
-
{
|
|
578
|
-
internalType: "uint256",
|
|
579
|
-
name: "minPtToTokenSwapRate",
|
|
580
|
-
type: "uint256",
|
|
581
|
-
},
|
|
582
|
-
{
|
|
583
|
-
internalType: "uint256",
|
|
584
|
-
name: "postWithdrawMaxLTV",
|
|
585
|
-
type: "uint256",
|
|
586
|
-
},
|
|
587
|
-
],
|
|
588
|
-
internalType: "struct IPPTLooper.DecreasePositionRequest",
|
|
589
|
-
name: "decreasePositionReq",
|
|
590
|
-
type: "tuple",
|
|
591
|
-
},
|
|
592
|
-
{
|
|
593
|
-
components: [
|
|
594
|
-
{
|
|
595
|
-
components: [
|
|
596
|
-
{
|
|
597
|
-
internalType: "bytes32",
|
|
598
|
-
name: "boxId",
|
|
599
|
-
type: "bytes32",
|
|
600
|
-
},
|
|
601
|
-
{
|
|
602
|
-
internalType: "uint256",
|
|
603
|
-
name: "expiry",
|
|
604
|
-
type: "uint256",
|
|
605
|
-
},
|
|
606
|
-
{
|
|
607
|
-
internalType: "uint32",
|
|
608
|
-
name: "sessionNonce",
|
|
609
|
-
type: "uint32",
|
|
610
|
-
},
|
|
611
|
-
{
|
|
612
|
-
internalType: "uint32",
|
|
613
|
-
name: "permitNonceCap",
|
|
614
|
-
type: "uint32",
|
|
615
|
-
},
|
|
616
|
-
],
|
|
617
|
-
internalType: "struct IPPTLooper.RequestHeader",
|
|
618
|
-
name: "header",
|
|
619
|
-
type: "tuple",
|
|
620
|
-
},
|
|
621
|
-
{
|
|
622
|
-
internalType: "bool",
|
|
623
|
-
name: "receiveOnSpoke",
|
|
624
|
-
type: "bool",
|
|
625
|
-
},
|
|
626
|
-
{
|
|
627
|
-
internalType: "address",
|
|
628
|
-
name: "hubTokenOut",
|
|
629
|
-
type: "address",
|
|
630
|
-
},
|
|
631
|
-
{
|
|
632
|
-
internalType: "address",
|
|
633
|
-
name: "dstTokenOut",
|
|
634
|
-
type: "address",
|
|
635
|
-
},
|
|
636
|
-
{
|
|
637
|
-
internalType: "uint256",
|
|
638
|
-
name: "minTokenOut",
|
|
639
|
-
type: "uint256",
|
|
640
|
-
},
|
|
641
|
-
],
|
|
642
|
-
internalType: "struct IPPTLooper.SwapBridgeWithdrawAllRequest",
|
|
643
|
-
name: "swapBridgeWithdrawAllReq",
|
|
644
|
-
type: "tuple",
|
|
645
|
-
},
|
|
646
|
-
],
|
|
647
|
-
internalType: "struct IPPTLooper.BatchDecPosThenWithdrawRequest",
|
|
648
|
-
name: "req",
|
|
649
|
-
type: "tuple",
|
|
650
|
-
},
|
|
651
|
-
{
|
|
652
|
-
internalType: "bytes",
|
|
653
|
-
name: "ownerSig",
|
|
654
|
-
type: "bytes",
|
|
655
|
-
},
|
|
656
|
-
],
|
|
657
|
-
name: "decreaseLoopPosition",
|
|
658
|
-
outputs: [],
|
|
659
|
-
stateMutability: "payable",
|
|
660
|
-
type: "function",
|
|
661
|
-
},
|
|
662
|
-
{
|
|
663
|
-
inputs: [
|
|
664
|
-
{
|
|
665
|
-
components: [
|
|
666
|
-
{
|
|
667
|
-
components: [
|
|
668
|
-
{
|
|
669
|
-
internalType: "address",
|
|
670
|
-
name: "owner",
|
|
671
|
-
type: "address",
|
|
672
|
-
},
|
|
673
|
-
{
|
|
674
|
-
internalType: "bytes32",
|
|
675
|
-
name: "boxId",
|
|
676
|
-
type: "bytes32",
|
|
645
|
+
components: [
|
|
646
|
+
{
|
|
647
|
+
internalType: "address",
|
|
648
|
+
name: "extRouter",
|
|
649
|
+
type: "address",
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
internalType: "address",
|
|
653
|
+
name: "approve",
|
|
654
|
+
type: "address",
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
internalType: "bytes",
|
|
658
|
+
name: "callData",
|
|
659
|
+
type: "bytes",
|
|
660
|
+
},
|
|
661
|
+
],
|
|
662
|
+
internalType: "struct IPPTLooperEIP712Types.BoxApprovedCall",
|
|
663
|
+
name: "call",
|
|
664
|
+
type: "tuple",
|
|
677
665
|
},
|
|
678
666
|
{
|
|
679
667
|
internalType: "uint256",
|
|
680
|
-
name: "
|
|
668
|
+
name: "maxAmount",
|
|
681
669
|
type: "uint256",
|
|
682
670
|
},
|
|
683
|
-
{
|
|
684
|
-
internalType: "bytes32",
|
|
685
|
-
name: "ownerSigHash",
|
|
686
|
-
type: "bytes32",
|
|
687
|
-
},
|
|
688
671
|
{
|
|
689
672
|
internalType: "uint256",
|
|
690
|
-
name: "
|
|
673
|
+
name: "nativeFee",
|
|
691
674
|
type: "uint256",
|
|
692
675
|
},
|
|
693
676
|
],
|
|
694
|
-
internalType: "struct
|
|
695
|
-
name: "permit",
|
|
696
|
-
type: "tuple",
|
|
697
|
-
},
|
|
698
|
-
{
|
|
699
|
-
components: [
|
|
700
|
-
{
|
|
701
|
-
internalType: "address",
|
|
702
|
-
name: "extRouter",
|
|
703
|
-
type: "address",
|
|
704
|
-
},
|
|
705
|
-
{
|
|
706
|
-
internalType: "address",
|
|
707
|
-
name: "approve",
|
|
708
|
-
type: "address",
|
|
709
|
-
},
|
|
710
|
-
{
|
|
711
|
-
internalType: "bytes",
|
|
712
|
-
name: "callData",
|
|
713
|
-
type: "bytes",
|
|
714
|
-
},
|
|
715
|
-
],
|
|
716
|
-
internalType: "struct IPPTLooper.BoxApprovedCall",
|
|
717
|
-
name: "swap",
|
|
718
|
-
type: "tuple",
|
|
719
|
-
},
|
|
720
|
-
{
|
|
721
|
-
components: [
|
|
722
|
-
{
|
|
723
|
-
internalType: "address",
|
|
724
|
-
name: "extRouter",
|
|
725
|
-
type: "address",
|
|
726
|
-
},
|
|
727
|
-
{
|
|
728
|
-
internalType: "address",
|
|
729
|
-
name: "approve",
|
|
730
|
-
type: "address",
|
|
731
|
-
},
|
|
732
|
-
{
|
|
733
|
-
internalType: "bytes",
|
|
734
|
-
name: "callData",
|
|
735
|
-
type: "bytes",
|
|
736
|
-
},
|
|
737
|
-
],
|
|
738
|
-
internalType: "struct IPPTLooper.BoxApprovedCall",
|
|
677
|
+
internalType: "struct IPPTLooperEIP712Types.BridgeData",
|
|
739
678
|
name: "bridge",
|
|
740
679
|
type: "tuple",
|
|
741
680
|
},
|
|
742
|
-
{
|
|
743
|
-
internalType: "uint256",
|
|
744
|
-
name: "maxBridgeAmount",
|
|
745
|
-
type: "uint256",
|
|
746
|
-
},
|
|
747
|
-
{
|
|
748
|
-
internalType: "uint256",
|
|
749
|
-
name: "bridgeNativeFee",
|
|
750
|
-
type: "uint256",
|
|
751
|
-
},
|
|
752
|
-
{
|
|
753
|
-
internalType: "uint256",
|
|
754
|
-
name: "minDebtRepaid",
|
|
755
|
-
type: "uint256",
|
|
756
|
-
},
|
|
757
681
|
{
|
|
758
682
|
internalType: "uint256",
|
|
759
683
|
name: "amountPtWithdrawn",
|
|
760
684
|
type: "uint256",
|
|
761
685
|
},
|
|
762
686
|
{
|
|
763
|
-
internalType: "
|
|
764
|
-
name: "
|
|
765
|
-
type: "
|
|
766
|
-
},
|
|
767
|
-
{
|
|
768
|
-
internalType: "uint256",
|
|
769
|
-
name: "postWithdrawMaxLTV",
|
|
770
|
-
type: "uint256",
|
|
687
|
+
internalType: "bytes",
|
|
688
|
+
name: "postStateCheckData",
|
|
689
|
+
type: "bytes",
|
|
771
690
|
},
|
|
772
691
|
],
|
|
773
|
-
internalType: "struct
|
|
692
|
+
internalType: "struct IPPTLooperEIP712Types.DecreasePositionMessage",
|
|
774
693
|
name: "ms",
|
|
775
694
|
type: "tuple",
|
|
776
695
|
},
|
|
@@ -803,19 +722,24 @@ const _abi = [
|
|
|
803
722
|
name: "permitNonceCap",
|
|
804
723
|
type: "uint32",
|
|
805
724
|
},
|
|
725
|
+
{
|
|
726
|
+
internalType: "uint256",
|
|
727
|
+
name: "swapBridgeSlippage",
|
|
728
|
+
type: "uint256",
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
internalType: "bytes",
|
|
732
|
+
name: "offchainMetadata",
|
|
733
|
+
type: "bytes",
|
|
734
|
+
},
|
|
806
735
|
],
|
|
807
|
-
internalType: "struct
|
|
736
|
+
internalType: "struct IPPTLooperEIP712Types.RequestHeader",
|
|
808
737
|
name: "header",
|
|
809
738
|
type: "tuple",
|
|
810
739
|
},
|
|
811
740
|
{
|
|
812
741
|
internalType: "uint256",
|
|
813
|
-
name: "
|
|
814
|
-
type: "uint256",
|
|
815
|
-
},
|
|
816
|
-
{
|
|
817
|
-
internalType: "uint256",
|
|
818
|
-
name: "minPtToTokenSwapRate",
|
|
742
|
+
name: "minPtToDebtSwapRate",
|
|
819
743
|
type: "uint256",
|
|
820
744
|
},
|
|
821
745
|
{
|
|
@@ -824,13 +748,13 @@ const _abi = [
|
|
|
824
748
|
type: "uint256",
|
|
825
749
|
},
|
|
826
750
|
],
|
|
827
|
-
internalType: "struct
|
|
751
|
+
internalType: "struct IPPTLooperEIP712Types.DecreasePositionRequest",
|
|
828
752
|
name: "req",
|
|
829
753
|
type: "tuple",
|
|
830
754
|
},
|
|
831
755
|
{
|
|
832
756
|
internalType: "bytes",
|
|
833
|
-
name: "
|
|
757
|
+
name: "ownerSigIfFirstCall",
|
|
834
758
|
type: "bytes",
|
|
835
759
|
},
|
|
836
760
|
],
|
|
@@ -839,62 +763,6 @@ const _abi = [
|
|
|
839
763
|
stateMutability: "payable",
|
|
840
764
|
type: "function",
|
|
841
765
|
},
|
|
842
|
-
{
|
|
843
|
-
inputs: [
|
|
844
|
-
{
|
|
845
|
-
internalType: "bytes32",
|
|
846
|
-
name: "boxId",
|
|
847
|
-
type: "bytes32",
|
|
848
|
-
},
|
|
849
|
-
{
|
|
850
|
-
internalType: "address",
|
|
851
|
-
name: "tokenIn",
|
|
852
|
-
type: "address",
|
|
853
|
-
},
|
|
854
|
-
{
|
|
855
|
-
internalType: "uint256",
|
|
856
|
-
name: "amountIn",
|
|
857
|
-
type: "uint256",
|
|
858
|
-
},
|
|
859
|
-
{
|
|
860
|
-
components: [
|
|
861
|
-
{
|
|
862
|
-
internalType: "address",
|
|
863
|
-
name: "extRouter",
|
|
864
|
-
type: "address",
|
|
865
|
-
},
|
|
866
|
-
{
|
|
867
|
-
internalType: "address",
|
|
868
|
-
name: "approve",
|
|
869
|
-
type: "address",
|
|
870
|
-
},
|
|
871
|
-
{
|
|
872
|
-
internalType: "bytes",
|
|
873
|
-
name: "callData",
|
|
874
|
-
type: "bytes",
|
|
875
|
-
},
|
|
876
|
-
],
|
|
877
|
-
internalType: "struct IPPTLooper.BoxApprovedCall",
|
|
878
|
-
name: "swapCall",
|
|
879
|
-
type: "tuple",
|
|
880
|
-
},
|
|
881
|
-
{
|
|
882
|
-
internalType: "uint256",
|
|
883
|
-
name: "minDebtTokenSwapOut",
|
|
884
|
-
type: "uint256",
|
|
885
|
-
},
|
|
886
|
-
],
|
|
887
|
-
name: "depositToBox",
|
|
888
|
-
outputs: [
|
|
889
|
-
{
|
|
890
|
-
internalType: "uint256",
|
|
891
|
-
name: "amountDeposited",
|
|
892
|
-
type: "uint256",
|
|
893
|
-
},
|
|
894
|
-
],
|
|
895
|
-
stateMutability: "payable",
|
|
896
|
-
type: "function",
|
|
897
|
-
},
|
|
898
766
|
{
|
|
899
767
|
inputs: [],
|
|
900
768
|
name: "eip712Domain",
|
|
@@ -956,73 +824,79 @@ const _abi = [
|
|
|
956
824
|
{
|
|
957
825
|
components: [
|
|
958
826
|
{
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
827
|
+
components: [
|
|
828
|
+
{
|
|
829
|
+
internalType: "bytes32",
|
|
830
|
+
name: "boxId",
|
|
831
|
+
type: "bytes32",
|
|
832
|
+
},
|
|
833
|
+
{
|
|
834
|
+
internalType: "uint256",
|
|
835
|
+
name: "expiry",
|
|
836
|
+
type: "uint256",
|
|
837
|
+
},
|
|
838
|
+
{
|
|
839
|
+
internalType: "uint32",
|
|
840
|
+
name: "sessionNonce",
|
|
841
|
+
type: "uint32",
|
|
842
|
+
},
|
|
843
|
+
{
|
|
844
|
+
internalType: "uint32",
|
|
845
|
+
name: "permitNonceCap",
|
|
846
|
+
type: "uint32",
|
|
847
|
+
},
|
|
848
|
+
{
|
|
849
|
+
internalType: "uint256",
|
|
850
|
+
name: "swapBridgeSlippage",
|
|
851
|
+
type: "uint256",
|
|
852
|
+
},
|
|
853
|
+
{
|
|
854
|
+
internalType: "bytes",
|
|
855
|
+
name: "offchainMetadata",
|
|
856
|
+
type: "bytes",
|
|
857
|
+
},
|
|
858
|
+
],
|
|
859
|
+
internalType: "struct IPPTLooperEIP712Types.RequestHeader",
|
|
860
|
+
name: "header",
|
|
861
|
+
type: "tuple",
|
|
962
862
|
},
|
|
963
863
|
{
|
|
964
864
|
internalType: "address",
|
|
965
|
-
name: "
|
|
865
|
+
name: "initTokenIn",
|
|
966
866
|
type: "address",
|
|
967
867
|
},
|
|
968
868
|
{
|
|
969
|
-
internalType: "
|
|
970
|
-
name: "
|
|
971
|
-
type: "
|
|
972
|
-
},
|
|
973
|
-
],
|
|
974
|
-
internalType: "struct IPPTLooper.BoxApprovedCall",
|
|
975
|
-
name: "sb",
|
|
976
|
-
type: "tuple",
|
|
977
|
-
},
|
|
978
|
-
],
|
|
979
|
-
name: "hashBoxApprovedCall",
|
|
980
|
-
outputs: [
|
|
981
|
-
{
|
|
982
|
-
internalType: "bytes32",
|
|
983
|
-
name: "",
|
|
984
|
-
type: "bytes32",
|
|
985
|
-
},
|
|
986
|
-
],
|
|
987
|
-
stateMutability: "pure",
|
|
988
|
-
type: "function",
|
|
989
|
-
},
|
|
990
|
-
{
|
|
991
|
-
inputs: [
|
|
992
|
-
{
|
|
993
|
-
components: [
|
|
994
|
-
{
|
|
995
|
-
internalType: "address",
|
|
996
|
-
name: "owner",
|
|
997
|
-
type: "address",
|
|
869
|
+
internalType: "uint256",
|
|
870
|
+
name: "initMinToPtSwapRate",
|
|
871
|
+
type: "uint256",
|
|
998
872
|
},
|
|
999
873
|
{
|
|
1000
|
-
internalType: "
|
|
1001
|
-
name: "
|
|
1002
|
-
type: "
|
|
874
|
+
internalType: "uint256",
|
|
875
|
+
name: "minDebtToPtSwapRate",
|
|
876
|
+
type: "uint256",
|
|
1003
877
|
},
|
|
1004
878
|
{
|
|
1005
879
|
internalType: "uint256",
|
|
1006
|
-
name: "
|
|
880
|
+
name: "postBorrowMaxLTV",
|
|
1007
881
|
type: "uint256",
|
|
1008
882
|
},
|
|
1009
883
|
{
|
|
1010
|
-
internalType: "
|
|
1011
|
-
name: "
|
|
1012
|
-
type: "
|
|
884
|
+
internalType: "bool",
|
|
885
|
+
name: "isZeroPriceImpact",
|
|
886
|
+
type: "bool",
|
|
1013
887
|
},
|
|
1014
888
|
{
|
|
1015
889
|
internalType: "uint256",
|
|
1016
|
-
name: "
|
|
890
|
+
name: "maxFeeRate",
|
|
1017
891
|
type: "uint256",
|
|
1018
892
|
},
|
|
1019
893
|
],
|
|
1020
|
-
internalType: "struct
|
|
1021
|
-
name: "
|
|
894
|
+
internalType: "struct IPPTLooperEIP712Types.IncreasePositionRequest",
|
|
895
|
+
name: "req",
|
|
1022
896
|
type: "tuple",
|
|
1023
897
|
},
|
|
1024
898
|
],
|
|
1025
|
-
name: "
|
|
899
|
+
name: "hashRaw",
|
|
1026
900
|
outputs: [
|
|
1027
901
|
{
|
|
1028
902
|
internalType: "bytes32",
|
|
@@ -1043,151 +917,37 @@ const _abi = [
|
|
|
1043
917
|
type: "bytes32",
|
|
1044
918
|
},
|
|
1045
919
|
{
|
|
1046
|
-
internalType: "uint256",
|
|
1047
|
-
name: "expiry",
|
|
1048
|
-
type: "uint256",
|
|
1049
|
-
},
|
|
1050
|
-
{
|
|
1051
|
-
internalType: "uint32",
|
|
1052
|
-
name: "sessionNonce",
|
|
1053
|
-
type: "uint32",
|
|
1054
|
-
},
|
|
1055
|
-
{
|
|
1056
|
-
internalType: "uint32",
|
|
1057
|
-
name: "permitNonceCap",
|
|
1058
|
-
type: "uint32",
|
|
1059
|
-
},
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
internalType: "bytes32",
|
|
1070
|
-
name: "",
|
|
1071
|
-
type: "bytes32",
|
|
1072
|
-
},
|
|
1073
|
-
],
|
|
1074
|
-
stateMutability: "pure",
|
|
1075
|
-
type: "function",
|
|
1076
|
-
},
|
|
1077
|
-
{
|
|
1078
|
-
inputs: [
|
|
1079
|
-
{
|
|
1080
|
-
components: [
|
|
1081
|
-
{
|
|
1082
|
-
components: [
|
|
1083
|
-
{
|
|
1084
|
-
components: [
|
|
1085
|
-
{
|
|
1086
|
-
internalType: "bytes32",
|
|
1087
|
-
name: "boxId",
|
|
1088
|
-
type: "bytes32",
|
|
1089
|
-
},
|
|
1090
|
-
{
|
|
1091
|
-
internalType: "uint256",
|
|
1092
|
-
name: "expiry",
|
|
1093
|
-
type: "uint256",
|
|
1094
|
-
},
|
|
1095
|
-
{
|
|
1096
|
-
internalType: "uint32",
|
|
1097
|
-
name: "sessionNonce",
|
|
1098
|
-
type: "uint32",
|
|
1099
|
-
},
|
|
1100
|
-
{
|
|
1101
|
-
internalType: "uint32",
|
|
1102
|
-
name: "permitNonceCap",
|
|
1103
|
-
type: "uint32",
|
|
1104
|
-
},
|
|
1105
|
-
],
|
|
1106
|
-
internalType: "struct IPPTLooper.RequestHeader",
|
|
1107
|
-
name: "header",
|
|
1108
|
-
type: "tuple",
|
|
1109
|
-
},
|
|
1110
|
-
{
|
|
1111
|
-
internalType: "uint256",
|
|
1112
|
-
name: "targetMaxDebt",
|
|
1113
|
-
type: "uint256",
|
|
1114
|
-
},
|
|
1115
|
-
{
|
|
1116
|
-
internalType: "uint256",
|
|
1117
|
-
name: "minPtToTokenSwapRate",
|
|
1118
|
-
type: "uint256",
|
|
1119
|
-
},
|
|
1120
|
-
{
|
|
1121
|
-
internalType: "uint256",
|
|
1122
|
-
name: "postWithdrawMaxLTV",
|
|
1123
|
-
type: "uint256",
|
|
1124
|
-
},
|
|
1125
|
-
],
|
|
1126
|
-
internalType: "struct IPPTLooper.DecreasePositionRequest",
|
|
1127
|
-
name: "decreasePositionReq",
|
|
1128
|
-
type: "tuple",
|
|
1129
|
-
},
|
|
1130
|
-
{
|
|
1131
|
-
components: [
|
|
1132
|
-
{
|
|
1133
|
-
components: [
|
|
1134
|
-
{
|
|
1135
|
-
internalType: "bytes32",
|
|
1136
|
-
name: "boxId",
|
|
1137
|
-
type: "bytes32",
|
|
1138
|
-
},
|
|
1139
|
-
{
|
|
1140
|
-
internalType: "uint256",
|
|
1141
|
-
name: "expiry",
|
|
1142
|
-
type: "uint256",
|
|
1143
|
-
},
|
|
1144
|
-
{
|
|
1145
|
-
internalType: "uint32",
|
|
1146
|
-
name: "sessionNonce",
|
|
1147
|
-
type: "uint32",
|
|
1148
|
-
},
|
|
1149
|
-
{
|
|
1150
|
-
internalType: "uint32",
|
|
1151
|
-
name: "permitNonceCap",
|
|
1152
|
-
type: "uint32",
|
|
1153
|
-
},
|
|
1154
|
-
],
|
|
1155
|
-
internalType: "struct IPPTLooper.RequestHeader",
|
|
1156
|
-
name: "header",
|
|
1157
|
-
type: "tuple",
|
|
1158
|
-
},
|
|
1159
|
-
{
|
|
1160
|
-
internalType: "bool",
|
|
1161
|
-
name: "receiveOnSpoke",
|
|
1162
|
-
type: "bool",
|
|
1163
|
-
},
|
|
1164
|
-
{
|
|
1165
|
-
internalType: "address",
|
|
1166
|
-
name: "hubTokenOut",
|
|
1167
|
-
type: "address",
|
|
1168
|
-
},
|
|
1169
|
-
{
|
|
1170
|
-
internalType: "address",
|
|
1171
|
-
name: "dstTokenOut",
|
|
1172
|
-
type: "address",
|
|
1173
|
-
},
|
|
1174
|
-
{
|
|
1175
|
-
internalType: "uint256",
|
|
1176
|
-
name: "minTokenOut",
|
|
1177
|
-
type: "uint256",
|
|
1178
|
-
},
|
|
1179
|
-
],
|
|
1180
|
-
internalType: "struct IPPTLooper.SwapBridgeWithdrawAllRequest",
|
|
1181
|
-
name: "swapBridgeWithdrawAllReq",
|
|
1182
|
-
type: "tuple",
|
|
920
|
+
internalType: "uint256",
|
|
921
|
+
name: "expiry",
|
|
922
|
+
type: "uint256",
|
|
923
|
+
},
|
|
924
|
+
{
|
|
925
|
+
internalType: "uint32",
|
|
926
|
+
name: "sessionNonce",
|
|
927
|
+
type: "uint32",
|
|
928
|
+
},
|
|
929
|
+
{
|
|
930
|
+
internalType: "uint32",
|
|
931
|
+
name: "permitNonceCap",
|
|
932
|
+
type: "uint32",
|
|
933
|
+
},
|
|
934
|
+
{
|
|
935
|
+
internalType: "uint256",
|
|
936
|
+
name: "swapBridgeSlippage",
|
|
937
|
+
type: "uint256",
|
|
938
|
+
},
|
|
939
|
+
{
|
|
940
|
+
internalType: "bytes",
|
|
941
|
+
name: "offchainMetadata",
|
|
942
|
+
type: "bytes",
|
|
1183
943
|
},
|
|
1184
944
|
],
|
|
1185
|
-
internalType: "struct
|
|
1186
|
-
name: "
|
|
945
|
+
internalType: "struct IPPTLooperEIP712Types.RequestHeader",
|
|
946
|
+
name: "header",
|
|
1187
947
|
type: "tuple",
|
|
1188
948
|
},
|
|
1189
949
|
],
|
|
1190
|
-
name: "
|
|
950
|
+
name: "hashRaw",
|
|
1191
951
|
outputs: [
|
|
1192
952
|
{
|
|
1193
953
|
internalType: "bytes32",
|
|
@@ -1195,7 +955,7 @@ const _abi = [
|
|
|
1195
955
|
type: "bytes32",
|
|
1196
956
|
},
|
|
1197
957
|
],
|
|
1198
|
-
stateMutability: "
|
|
958
|
+
stateMutability: "pure",
|
|
1199
959
|
type: "function",
|
|
1200
960
|
},
|
|
1201
961
|
{
|
|
@@ -1219,21 +979,37 @@ const _abi = [
|
|
|
1219
979
|
name: "expiry",
|
|
1220
980
|
type: "uint256",
|
|
1221
981
|
},
|
|
1222
|
-
{
|
|
1223
|
-
internalType: "bytes32",
|
|
1224
|
-
name: "ownerSigHash",
|
|
1225
|
-
type: "bytes32",
|
|
1226
|
-
},
|
|
1227
982
|
{
|
|
1228
983
|
internalType: "uint256",
|
|
1229
984
|
name: "nonce",
|
|
1230
985
|
type: "uint256",
|
|
1231
986
|
},
|
|
1232
987
|
],
|
|
1233
|
-
internalType: "struct
|
|
988
|
+
internalType: "struct IPPTLooperEIP712Types.BoxPermit",
|
|
1234
989
|
name: "permit",
|
|
1235
990
|
type: "tuple",
|
|
1236
991
|
},
|
|
992
|
+
],
|
|
993
|
+
internalType: "struct IPPTLooperEIP712Types.ClaimMMRewardsMessage",
|
|
994
|
+
name: "ms",
|
|
995
|
+
type: "tuple",
|
|
996
|
+
},
|
|
997
|
+
],
|
|
998
|
+
name: "hashRaw",
|
|
999
|
+
outputs: [
|
|
1000
|
+
{
|
|
1001
|
+
internalType: "bytes32",
|
|
1002
|
+
name: "",
|
|
1003
|
+
type: "bytes32",
|
|
1004
|
+
},
|
|
1005
|
+
],
|
|
1006
|
+
stateMutability: "pure",
|
|
1007
|
+
type: "function",
|
|
1008
|
+
},
|
|
1009
|
+
{
|
|
1010
|
+
inputs: [
|
|
1011
|
+
{
|
|
1012
|
+
components: [
|
|
1237
1013
|
{
|
|
1238
1014
|
components: [
|
|
1239
1015
|
{
|
|
@@ -1252,69 +1028,68 @@ const _abi = [
|
|
|
1252
1028
|
type: "bytes",
|
|
1253
1029
|
},
|
|
1254
1030
|
],
|
|
1255
|
-
internalType: "struct
|
|
1256
|
-
name: "
|
|
1257
|
-
type: "tuple",
|
|
1258
|
-
},
|
|
1259
|
-
{
|
|
1260
|
-
components: [
|
|
1261
|
-
{
|
|
1262
|
-
internalType: "address",
|
|
1263
|
-
name: "extRouter",
|
|
1264
|
-
type: "address",
|
|
1265
|
-
},
|
|
1266
|
-
{
|
|
1267
|
-
internalType: "address",
|
|
1268
|
-
name: "approve",
|
|
1269
|
-
type: "address",
|
|
1270
|
-
},
|
|
1271
|
-
{
|
|
1272
|
-
internalType: "bytes",
|
|
1273
|
-
name: "callData",
|
|
1274
|
-
type: "bytes",
|
|
1275
|
-
},
|
|
1276
|
-
],
|
|
1277
|
-
internalType: "struct IPPTLooper.BoxApprovedCall",
|
|
1278
|
-
name: "bridge",
|
|
1031
|
+
internalType: "struct IPPTLooperEIP712Types.BoxApprovedCall",
|
|
1032
|
+
name: "call",
|
|
1279
1033
|
type: "tuple",
|
|
1280
1034
|
},
|
|
1281
1035
|
{
|
|
1282
1036
|
internalType: "uint256",
|
|
1283
|
-
name: "
|
|
1037
|
+
name: "maxAmount",
|
|
1284
1038
|
type: "uint256",
|
|
1285
1039
|
},
|
|
1286
1040
|
{
|
|
1287
1041
|
internalType: "uint256",
|
|
1288
|
-
name: "
|
|
1042
|
+
name: "nativeFee",
|
|
1289
1043
|
type: "uint256",
|
|
1290
1044
|
},
|
|
1045
|
+
],
|
|
1046
|
+
internalType: "struct IPPTLooperEIP712Types.BridgeData",
|
|
1047
|
+
name: "bridge",
|
|
1048
|
+
type: "tuple",
|
|
1049
|
+
},
|
|
1050
|
+
],
|
|
1051
|
+
name: "hashRaw",
|
|
1052
|
+
outputs: [
|
|
1053
|
+
{
|
|
1054
|
+
internalType: "bytes32",
|
|
1055
|
+
name: "",
|
|
1056
|
+
type: "bytes32",
|
|
1057
|
+
},
|
|
1058
|
+
],
|
|
1059
|
+
stateMutability: "pure",
|
|
1060
|
+
type: "function",
|
|
1061
|
+
},
|
|
1062
|
+
{
|
|
1063
|
+
inputs: [
|
|
1064
|
+
{
|
|
1065
|
+
components: [
|
|
1291
1066
|
{
|
|
1292
|
-
internalType: "
|
|
1293
|
-
name: "
|
|
1294
|
-
type: "
|
|
1067
|
+
internalType: "address",
|
|
1068
|
+
name: "owner",
|
|
1069
|
+
type: "address",
|
|
1295
1070
|
},
|
|
1296
1071
|
{
|
|
1297
|
-
internalType: "
|
|
1298
|
-
name: "
|
|
1299
|
-
type: "
|
|
1072
|
+
internalType: "bytes32",
|
|
1073
|
+
name: "boxId",
|
|
1074
|
+
type: "bytes32",
|
|
1300
1075
|
},
|
|
1301
1076
|
{
|
|
1302
1077
|
internalType: "uint256",
|
|
1303
|
-
name: "
|
|
1078
|
+
name: "expiry",
|
|
1304
1079
|
type: "uint256",
|
|
1305
1080
|
},
|
|
1306
1081
|
{
|
|
1307
1082
|
internalType: "uint256",
|
|
1308
|
-
name: "
|
|
1083
|
+
name: "nonce",
|
|
1309
1084
|
type: "uint256",
|
|
1310
1085
|
},
|
|
1311
1086
|
],
|
|
1312
|
-
internalType: "struct
|
|
1313
|
-
name: "
|
|
1087
|
+
internalType: "struct IPPTLooperEIP712Types.BoxPermit",
|
|
1088
|
+
name: "permit",
|
|
1314
1089
|
type: "tuple",
|
|
1315
1090
|
},
|
|
1316
1091
|
],
|
|
1317
|
-
name: "
|
|
1092
|
+
name: "hashRaw",
|
|
1318
1093
|
outputs: [
|
|
1319
1094
|
{
|
|
1320
1095
|
internalType: "bytes32",
|
|
@@ -1322,7 +1097,7 @@ const _abi = [
|
|
|
1322
1097
|
type: "bytes32",
|
|
1323
1098
|
},
|
|
1324
1099
|
],
|
|
1325
|
-
stateMutability: "
|
|
1100
|
+
stateMutability: "pure",
|
|
1326
1101
|
type: "function",
|
|
1327
1102
|
},
|
|
1328
1103
|
{
|
|
@@ -1351,33 +1126,43 @@ const _abi = [
|
|
|
1351
1126
|
name: "permitNonceCap",
|
|
1352
1127
|
type: "uint32",
|
|
1353
1128
|
},
|
|
1129
|
+
{
|
|
1130
|
+
internalType: "uint256",
|
|
1131
|
+
name: "swapBridgeSlippage",
|
|
1132
|
+
type: "uint256",
|
|
1133
|
+
},
|
|
1134
|
+
{
|
|
1135
|
+
internalType: "bytes",
|
|
1136
|
+
name: "offchainMetadata",
|
|
1137
|
+
type: "bytes",
|
|
1138
|
+
},
|
|
1354
1139
|
],
|
|
1355
|
-
internalType: "struct
|
|
1140
|
+
internalType: "struct IPPTLooperEIP712Types.RequestHeader",
|
|
1356
1141
|
name: "header",
|
|
1357
1142
|
type: "tuple",
|
|
1358
1143
|
},
|
|
1359
1144
|
{
|
|
1360
|
-
internalType: "
|
|
1361
|
-
name: "
|
|
1362
|
-
type: "
|
|
1145
|
+
internalType: "address",
|
|
1146
|
+
name: "extRewardController",
|
|
1147
|
+
type: "address",
|
|
1363
1148
|
},
|
|
1364
1149
|
{
|
|
1365
|
-
internalType: "
|
|
1366
|
-
name: "
|
|
1367
|
-
type: "
|
|
1150
|
+
internalType: "bytes",
|
|
1151
|
+
name: "data",
|
|
1152
|
+
type: "bytes",
|
|
1368
1153
|
},
|
|
1369
1154
|
{
|
|
1370
|
-
internalType: "
|
|
1371
|
-
name: "
|
|
1372
|
-
type: "
|
|
1155
|
+
internalType: "address[]",
|
|
1156
|
+
name: "rewardTokens",
|
|
1157
|
+
type: "address[]",
|
|
1373
1158
|
},
|
|
1374
1159
|
],
|
|
1375
|
-
internalType: "struct
|
|
1160
|
+
internalType: "struct IPPTLooperEIP712Types.ClaimMMRewardsRequest",
|
|
1376
1161
|
name: "req",
|
|
1377
1162
|
type: "tuple",
|
|
1378
1163
|
},
|
|
1379
1164
|
],
|
|
1380
|
-
name: "
|
|
1165
|
+
name: "hashRaw",
|
|
1381
1166
|
outputs: [
|
|
1382
1167
|
{
|
|
1383
1168
|
internalType: "bytes32",
|
|
@@ -1385,7 +1170,7 @@ const _abi = [
|
|
|
1385
1170
|
type: "bytes32",
|
|
1386
1171
|
},
|
|
1387
1172
|
],
|
|
1388
|
-
stateMutability: "
|
|
1173
|
+
stateMutability: "pure",
|
|
1389
1174
|
type: "function",
|
|
1390
1175
|
},
|
|
1391
1176
|
{
|
|
@@ -1394,11 +1179,6 @@ const _abi = [
|
|
|
1394
1179
|
components: [
|
|
1395
1180
|
{
|
|
1396
1181
|
components: [
|
|
1397
|
-
{
|
|
1398
|
-
internalType: "address",
|
|
1399
|
-
name: "owner",
|
|
1400
|
-
type: "address",
|
|
1401
|
-
},
|
|
1402
1182
|
{
|
|
1403
1183
|
internalType: "bytes32",
|
|
1404
1184
|
name: "boxId",
|
|
@@ -1410,106 +1190,162 @@ const _abi = [
|
|
|
1410
1190
|
type: "uint256",
|
|
1411
1191
|
},
|
|
1412
1192
|
{
|
|
1413
|
-
internalType: "
|
|
1414
|
-
name: "
|
|
1415
|
-
type: "
|
|
1416
|
-
},
|
|
1417
|
-
{
|
|
1418
|
-
internalType: "uint256",
|
|
1419
|
-
name: "nonce",
|
|
1420
|
-
type: "uint256",
|
|
1193
|
+
internalType: "uint32",
|
|
1194
|
+
name: "sessionNonce",
|
|
1195
|
+
type: "uint32",
|
|
1421
1196
|
},
|
|
1422
|
-
],
|
|
1423
|
-
internalType: "struct IPPTLooper.BoxPermit",
|
|
1424
|
-
name: "permit",
|
|
1425
|
-
type: "tuple",
|
|
1426
|
-
},
|
|
1427
|
-
{
|
|
1428
|
-
components: [
|
|
1429
1197
|
{
|
|
1430
|
-
internalType: "
|
|
1431
|
-
name: "
|
|
1432
|
-
type: "
|
|
1198
|
+
internalType: "uint32",
|
|
1199
|
+
name: "permitNonceCap",
|
|
1200
|
+
type: "uint32",
|
|
1433
1201
|
},
|
|
1434
1202
|
{
|
|
1435
|
-
internalType: "
|
|
1436
|
-
name: "
|
|
1437
|
-
type: "
|
|
1203
|
+
internalType: "uint256",
|
|
1204
|
+
name: "swapBridgeSlippage",
|
|
1205
|
+
type: "uint256",
|
|
1438
1206
|
},
|
|
1439
1207
|
{
|
|
1440
1208
|
internalType: "bytes",
|
|
1441
|
-
name: "
|
|
1209
|
+
name: "offchainMetadata",
|
|
1442
1210
|
type: "bytes",
|
|
1443
1211
|
},
|
|
1444
1212
|
],
|
|
1445
|
-
internalType: "struct
|
|
1446
|
-
name: "
|
|
1213
|
+
internalType: "struct IPPTLooperEIP712Types.RequestHeader",
|
|
1214
|
+
name: "header",
|
|
1447
1215
|
type: "tuple",
|
|
1448
1216
|
},
|
|
1449
1217
|
{
|
|
1450
1218
|
internalType: "uint256",
|
|
1451
|
-
name: "
|
|
1219
|
+
name: "minPtToDebtSwapRate",
|
|
1220
|
+
type: "uint256",
|
|
1221
|
+
},
|
|
1222
|
+
{
|
|
1223
|
+
internalType: "uint256",
|
|
1224
|
+
name: "postWithdrawMaxLTV",
|
|
1452
1225
|
type: "uint256",
|
|
1453
1226
|
},
|
|
1227
|
+
],
|
|
1228
|
+
internalType: "struct IPPTLooperEIP712Types.DecreasePositionRequest",
|
|
1229
|
+
name: "req",
|
|
1230
|
+
type: "tuple",
|
|
1231
|
+
},
|
|
1232
|
+
],
|
|
1233
|
+
name: "hashRaw",
|
|
1234
|
+
outputs: [
|
|
1235
|
+
{
|
|
1236
|
+
internalType: "bytes32",
|
|
1237
|
+
name: "",
|
|
1238
|
+
type: "bytes32",
|
|
1239
|
+
},
|
|
1240
|
+
],
|
|
1241
|
+
stateMutability: "pure",
|
|
1242
|
+
type: "function",
|
|
1243
|
+
},
|
|
1244
|
+
{
|
|
1245
|
+
inputs: [
|
|
1246
|
+
{
|
|
1247
|
+
components: [
|
|
1454
1248
|
{
|
|
1455
1249
|
components: [
|
|
1456
1250
|
{
|
|
1457
|
-
internalType: "
|
|
1458
|
-
name: "
|
|
1459
|
-
type: "
|
|
1251
|
+
internalType: "bytes32",
|
|
1252
|
+
name: "boxId",
|
|
1253
|
+
type: "bytes32",
|
|
1460
1254
|
},
|
|
1461
1255
|
{
|
|
1462
|
-
internalType: "
|
|
1463
|
-
name: "
|
|
1464
|
-
type: "
|
|
1256
|
+
internalType: "uint256",
|
|
1257
|
+
name: "expiry",
|
|
1258
|
+
type: "uint256",
|
|
1259
|
+
},
|
|
1260
|
+
{
|
|
1261
|
+
internalType: "uint32",
|
|
1262
|
+
name: "sessionNonce",
|
|
1263
|
+
type: "uint32",
|
|
1264
|
+
},
|
|
1265
|
+
{
|
|
1266
|
+
internalType: "uint32",
|
|
1267
|
+
name: "permitNonceCap",
|
|
1268
|
+
type: "uint32",
|
|
1269
|
+
},
|
|
1270
|
+
{
|
|
1271
|
+
internalType: "uint256",
|
|
1272
|
+
name: "swapBridgeSlippage",
|
|
1273
|
+
type: "uint256",
|
|
1465
1274
|
},
|
|
1466
1275
|
{
|
|
1467
1276
|
internalType: "bytes",
|
|
1468
|
-
name: "
|
|
1277
|
+
name: "offchainMetadata",
|
|
1469
1278
|
type: "bytes",
|
|
1470
1279
|
},
|
|
1471
1280
|
],
|
|
1472
|
-
internalType: "struct
|
|
1473
|
-
name: "
|
|
1281
|
+
internalType: "struct IPPTLooperEIP712Types.RequestHeader",
|
|
1282
|
+
name: "header",
|
|
1474
1283
|
type: "tuple",
|
|
1475
1284
|
},
|
|
1476
1285
|
{
|
|
1477
|
-
internalType: "
|
|
1478
|
-
name: "
|
|
1479
|
-
type: "
|
|
1286
|
+
internalType: "bool",
|
|
1287
|
+
name: "receiveOnSpoke",
|
|
1288
|
+
type: "bool",
|
|
1480
1289
|
},
|
|
1481
1290
|
{
|
|
1482
|
-
internalType: "
|
|
1483
|
-
name: "
|
|
1484
|
-
type: "
|
|
1291
|
+
internalType: "address",
|
|
1292
|
+
name: "hubTokenOut",
|
|
1293
|
+
type: "address",
|
|
1485
1294
|
},
|
|
1486
1295
|
{
|
|
1487
|
-
internalType: "
|
|
1488
|
-
name: "
|
|
1489
|
-
type: "
|
|
1296
|
+
internalType: "address",
|
|
1297
|
+
name: "dstTokenOut",
|
|
1298
|
+
type: "address",
|
|
1490
1299
|
},
|
|
1491
1300
|
{
|
|
1492
1301
|
internalType: "uint256",
|
|
1493
|
-
name: "
|
|
1302
|
+
name: "minTokenWithdrawn",
|
|
1494
1303
|
type: "uint256",
|
|
1495
1304
|
},
|
|
1305
|
+
],
|
|
1306
|
+
internalType:
|
|
1307
|
+
"struct IPPTLooperEIP712Types.SwapBridgeWithdrawAllRequest",
|
|
1308
|
+
name: "req",
|
|
1309
|
+
type: "tuple",
|
|
1310
|
+
},
|
|
1311
|
+
],
|
|
1312
|
+
name: "hashRaw",
|
|
1313
|
+
outputs: [
|
|
1314
|
+
{
|
|
1315
|
+
internalType: "bytes32",
|
|
1316
|
+
name: "",
|
|
1317
|
+
type: "bytes32",
|
|
1318
|
+
},
|
|
1319
|
+
],
|
|
1320
|
+
stateMutability: "pure",
|
|
1321
|
+
type: "function",
|
|
1322
|
+
},
|
|
1323
|
+
{
|
|
1324
|
+
inputs: [
|
|
1325
|
+
{
|
|
1326
|
+
components: [
|
|
1496
1327
|
{
|
|
1497
|
-
internalType: "
|
|
1498
|
-
name: "
|
|
1499
|
-
type: "
|
|
1328
|
+
internalType: "address",
|
|
1329
|
+
name: "extRouter",
|
|
1330
|
+
type: "address",
|
|
1331
|
+
},
|
|
1332
|
+
{
|
|
1333
|
+
internalType: "address",
|
|
1334
|
+
name: "approve",
|
|
1335
|
+
type: "address",
|
|
1500
1336
|
},
|
|
1501
1337
|
{
|
|
1502
|
-
internalType: "
|
|
1503
|
-
name: "
|
|
1504
|
-
type: "
|
|
1338
|
+
internalType: "bytes",
|
|
1339
|
+
name: "callData",
|
|
1340
|
+
type: "bytes",
|
|
1505
1341
|
},
|
|
1506
1342
|
],
|
|
1507
|
-
internalType: "struct
|
|
1508
|
-
name: "
|
|
1343
|
+
internalType: "struct IPPTLooperEIP712Types.BoxApprovedCall",
|
|
1344
|
+
name: "call",
|
|
1509
1345
|
type: "tuple",
|
|
1510
1346
|
},
|
|
1511
1347
|
],
|
|
1512
|
-
name: "
|
|
1348
|
+
name: "hashRaw",
|
|
1513
1349
|
outputs: [
|
|
1514
1350
|
{
|
|
1515
1351
|
internalType: "bytes32",
|
|
@@ -1517,7 +1353,7 @@ const _abi = [
|
|
|
1517
1353
|
type: "bytes32",
|
|
1518
1354
|
},
|
|
1519
1355
|
],
|
|
1520
|
-
stateMutability: "
|
|
1356
|
+
stateMutability: "pure",
|
|
1521
1357
|
type: "function",
|
|
1522
1358
|
},
|
|
1523
1359
|
{
|
|
@@ -1546,38 +1382,38 @@ const _abi = [
|
|
|
1546
1382
|
name: "permitNonceCap",
|
|
1547
1383
|
type: "uint32",
|
|
1548
1384
|
},
|
|
1385
|
+
{
|
|
1386
|
+
internalType: "uint256",
|
|
1387
|
+
name: "swapBridgeSlippage",
|
|
1388
|
+
type: "uint256",
|
|
1389
|
+
},
|
|
1390
|
+
{
|
|
1391
|
+
internalType: "bytes",
|
|
1392
|
+
name: "offchainMetadata",
|
|
1393
|
+
type: "bytes",
|
|
1394
|
+
},
|
|
1549
1395
|
],
|
|
1550
|
-
internalType: "struct
|
|
1396
|
+
internalType: "struct IPPTLooperEIP712Types.RequestHeader",
|
|
1551
1397
|
name: "header",
|
|
1552
1398
|
type: "tuple",
|
|
1553
1399
|
},
|
|
1554
1400
|
{
|
|
1555
1401
|
internalType: "uint256",
|
|
1556
|
-
name: "
|
|
1557
|
-
type: "uint256",
|
|
1558
|
-
},
|
|
1559
|
-
{
|
|
1560
|
-
internalType: "uint256",
|
|
1561
|
-
name: "minTokenToPtSwapRate",
|
|
1402
|
+
name: "minPtToDebtSwapRate",
|
|
1562
1403
|
type: "uint256",
|
|
1563
1404
|
},
|
|
1564
1405
|
{
|
|
1565
1406
|
internalType: "uint256",
|
|
1566
|
-
name: "
|
|
1407
|
+
name: "postWithdrawMaxLTV",
|
|
1567
1408
|
type: "uint256",
|
|
1568
1409
|
},
|
|
1569
|
-
{
|
|
1570
|
-
internalType: "bool",
|
|
1571
|
-
name: "isZeroPriceImpact",
|
|
1572
|
-
type: "bool",
|
|
1573
|
-
},
|
|
1574
1410
|
],
|
|
1575
|
-
internalType: "struct
|
|
1411
|
+
internalType: "struct IPPTLooperEIP712Types.DecreasePositionRequest",
|
|
1576
1412
|
name: "req",
|
|
1577
1413
|
type: "tuple",
|
|
1578
1414
|
},
|
|
1579
1415
|
],
|
|
1580
|
-
name: "
|
|
1416
|
+
name: "hashTyped",
|
|
1581
1417
|
outputs: [
|
|
1582
1418
|
{
|
|
1583
1419
|
internalType: "bytes32",
|
|
@@ -1609,18 +1445,13 @@ const _abi = [
|
|
|
1609
1445
|
name: "expiry",
|
|
1610
1446
|
type: "uint256",
|
|
1611
1447
|
},
|
|
1612
|
-
{
|
|
1613
|
-
internalType: "bytes32",
|
|
1614
|
-
name: "ownerSigHash",
|
|
1615
|
-
type: "bytes32",
|
|
1616
|
-
},
|
|
1617
1448
|
{
|
|
1618
1449
|
internalType: "uint256",
|
|
1619
1450
|
name: "nonce",
|
|
1620
1451
|
type: "uint256",
|
|
1621
1452
|
},
|
|
1622
1453
|
],
|
|
1623
|
-
internalType: "struct
|
|
1454
|
+
internalType: "struct IPPTLooperEIP712Types.BoxPermit",
|
|
1624
1455
|
name: "permit",
|
|
1625
1456
|
type: "tuple",
|
|
1626
1457
|
},
|
|
@@ -1642,49 +1473,66 @@ const _abi = [
|
|
|
1642
1473
|
type: "bytes",
|
|
1643
1474
|
},
|
|
1644
1475
|
],
|
|
1645
|
-
internalType: "struct
|
|
1476
|
+
internalType: "struct IPPTLooperEIP712Types.BoxApprovedCall",
|
|
1646
1477
|
name: "swap",
|
|
1647
1478
|
type: "tuple",
|
|
1648
1479
|
},
|
|
1649
1480
|
{
|
|
1650
1481
|
components: [
|
|
1651
1482
|
{
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1483
|
+
components: [
|
|
1484
|
+
{
|
|
1485
|
+
internalType: "address",
|
|
1486
|
+
name: "extRouter",
|
|
1487
|
+
type: "address",
|
|
1488
|
+
},
|
|
1489
|
+
{
|
|
1490
|
+
internalType: "address",
|
|
1491
|
+
name: "approve",
|
|
1492
|
+
type: "address",
|
|
1493
|
+
},
|
|
1494
|
+
{
|
|
1495
|
+
internalType: "bytes",
|
|
1496
|
+
name: "callData",
|
|
1497
|
+
type: "bytes",
|
|
1498
|
+
},
|
|
1499
|
+
],
|
|
1500
|
+
internalType: "struct IPPTLooperEIP712Types.BoxApprovedCall",
|
|
1501
|
+
name: "call",
|
|
1502
|
+
type: "tuple",
|
|
1655
1503
|
},
|
|
1656
1504
|
{
|
|
1657
|
-
internalType: "
|
|
1658
|
-
name: "
|
|
1659
|
-
type: "
|
|
1505
|
+
internalType: "uint256",
|
|
1506
|
+
name: "maxAmount",
|
|
1507
|
+
type: "uint256",
|
|
1660
1508
|
},
|
|
1661
1509
|
{
|
|
1662
|
-
internalType: "
|
|
1663
|
-
name: "
|
|
1664
|
-
type: "
|
|
1510
|
+
internalType: "uint256",
|
|
1511
|
+
name: "nativeFee",
|
|
1512
|
+
type: "uint256",
|
|
1665
1513
|
},
|
|
1666
1514
|
],
|
|
1667
|
-
internalType: "struct
|
|
1515
|
+
internalType: "struct IPPTLooperEIP712Types.BridgeData",
|
|
1668
1516
|
name: "bridge",
|
|
1669
1517
|
type: "tuple",
|
|
1670
1518
|
},
|
|
1671
1519
|
{
|
|
1672
1520
|
internalType: "uint256",
|
|
1673
|
-
name: "
|
|
1521
|
+
name: "amountPtWithdrawn",
|
|
1674
1522
|
type: "uint256",
|
|
1675
1523
|
},
|
|
1676
1524
|
{
|
|
1677
|
-
internalType: "
|
|
1678
|
-
name: "
|
|
1679
|
-
type: "
|
|
1525
|
+
internalType: "bytes",
|
|
1526
|
+
name: "postStateCheckData",
|
|
1527
|
+
type: "bytes",
|
|
1680
1528
|
},
|
|
1681
1529
|
],
|
|
1682
|
-
internalType: "struct
|
|
1530
|
+
internalType: "struct IPPTLooperEIP712Types.DecreasePositionMessage",
|
|
1683
1531
|
name: "ms",
|
|
1684
1532
|
type: "tuple",
|
|
1685
1533
|
},
|
|
1686
1534
|
],
|
|
1687
|
-
name: "
|
|
1535
|
+
name: "hashTyped",
|
|
1688
1536
|
outputs: [
|
|
1689
1537
|
{
|
|
1690
1538
|
internalType: "bytes32",
|
|
@@ -1701,6 +1549,11 @@ const _abi = [
|
|
|
1701
1549
|
components: [
|
|
1702
1550
|
{
|
|
1703
1551
|
components: [
|
|
1552
|
+
{
|
|
1553
|
+
internalType: "address",
|
|
1554
|
+
name: "owner",
|
|
1555
|
+
type: "address",
|
|
1556
|
+
},
|
|
1704
1557
|
{
|
|
1705
1558
|
internalType: "bytes32",
|
|
1706
1559
|
name: "boxId",
|
|
@@ -1712,47 +1565,98 @@ const _abi = [
|
|
|
1712
1565
|
type: "uint256",
|
|
1713
1566
|
},
|
|
1714
1567
|
{
|
|
1715
|
-
internalType: "
|
|
1716
|
-
name: "
|
|
1717
|
-
type: "
|
|
1718
|
-
},
|
|
1719
|
-
{
|
|
1720
|
-
internalType: "uint32",
|
|
1721
|
-
name: "permitNonceCap",
|
|
1722
|
-
type: "uint32",
|
|
1568
|
+
internalType: "uint256",
|
|
1569
|
+
name: "nonce",
|
|
1570
|
+
type: "uint256",
|
|
1723
1571
|
},
|
|
1724
1572
|
],
|
|
1725
|
-
internalType: "struct
|
|
1726
|
-
name: "
|
|
1573
|
+
internalType: "struct IPPTLooperEIP712Types.BoxPermit",
|
|
1574
|
+
name: "permit",
|
|
1727
1575
|
type: "tuple",
|
|
1728
1576
|
},
|
|
1729
1577
|
{
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1578
|
+
components: [
|
|
1579
|
+
{
|
|
1580
|
+
internalType: "address",
|
|
1581
|
+
name: "extRouter",
|
|
1582
|
+
type: "address",
|
|
1583
|
+
},
|
|
1584
|
+
{
|
|
1585
|
+
internalType: "address",
|
|
1586
|
+
name: "approve",
|
|
1587
|
+
type: "address",
|
|
1588
|
+
},
|
|
1589
|
+
{
|
|
1590
|
+
internalType: "bytes",
|
|
1591
|
+
name: "callData",
|
|
1592
|
+
type: "bytes",
|
|
1593
|
+
},
|
|
1594
|
+
],
|
|
1595
|
+
internalType: "struct IPPTLooperEIP712Types.BoxApprovedCall",
|
|
1596
|
+
name: "swap",
|
|
1597
|
+
type: "tuple",
|
|
1733
1598
|
},
|
|
1734
1599
|
{
|
|
1735
|
-
internalType: "
|
|
1736
|
-
name: "
|
|
1737
|
-
type: "
|
|
1600
|
+
internalType: "uint256",
|
|
1601
|
+
name: "fee",
|
|
1602
|
+
type: "uint256",
|
|
1738
1603
|
},
|
|
1739
1604
|
{
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1605
|
+
components: [
|
|
1606
|
+
{
|
|
1607
|
+
components: [
|
|
1608
|
+
{
|
|
1609
|
+
internalType: "address",
|
|
1610
|
+
name: "extRouter",
|
|
1611
|
+
type: "address",
|
|
1612
|
+
},
|
|
1613
|
+
{
|
|
1614
|
+
internalType: "address",
|
|
1615
|
+
name: "approve",
|
|
1616
|
+
type: "address",
|
|
1617
|
+
},
|
|
1618
|
+
{
|
|
1619
|
+
internalType: "bytes",
|
|
1620
|
+
name: "callData",
|
|
1621
|
+
type: "bytes",
|
|
1622
|
+
},
|
|
1623
|
+
],
|
|
1624
|
+
internalType: "struct IPPTLooperEIP712Types.BoxApprovedCall",
|
|
1625
|
+
name: "call",
|
|
1626
|
+
type: "tuple",
|
|
1627
|
+
},
|
|
1628
|
+
{
|
|
1629
|
+
internalType: "uint256",
|
|
1630
|
+
name: "maxAmount",
|
|
1631
|
+
type: "uint256",
|
|
1632
|
+
},
|
|
1633
|
+
{
|
|
1634
|
+
internalType: "uint256",
|
|
1635
|
+
name: "nativeFee",
|
|
1636
|
+
type: "uint256",
|
|
1637
|
+
},
|
|
1638
|
+
],
|
|
1639
|
+
internalType: "struct IPPTLooperEIP712Types.BridgeData",
|
|
1640
|
+
name: "bridge",
|
|
1641
|
+
type: "tuple",
|
|
1743
1642
|
},
|
|
1744
1643
|
{
|
|
1745
1644
|
internalType: "uint256",
|
|
1746
|
-
name: "
|
|
1645
|
+
name: "amountDebtBorrowed",
|
|
1747
1646
|
type: "uint256",
|
|
1748
1647
|
},
|
|
1648
|
+
{
|
|
1649
|
+
internalType: "bytes",
|
|
1650
|
+
name: "postStateCheckData",
|
|
1651
|
+
type: "bytes",
|
|
1652
|
+
},
|
|
1749
1653
|
],
|
|
1750
|
-
internalType: "struct
|
|
1751
|
-
name: "
|
|
1654
|
+
internalType: "struct IPPTLooperEIP712Types.IncreasePositionMessage",
|
|
1655
|
+
name: "ms",
|
|
1752
1656
|
type: "tuple",
|
|
1753
1657
|
},
|
|
1754
1658
|
],
|
|
1755
|
-
name: "
|
|
1659
|
+
name: "hashTyped",
|
|
1756
1660
|
outputs: [
|
|
1757
1661
|
{
|
|
1758
1662
|
internalType: "bytes32",
|
|
@@ -1769,11 +1673,6 @@ const _abi = [
|
|
|
1769
1673
|
components: [
|
|
1770
1674
|
{
|
|
1771
1675
|
components: [
|
|
1772
|
-
{
|
|
1773
|
-
internalType: "address",
|
|
1774
|
-
name: "owner",
|
|
1775
|
-
type: "address",
|
|
1776
|
-
},
|
|
1777
1676
|
{
|
|
1778
1677
|
internalType: "bytes32",
|
|
1779
1678
|
name: "boxId",
|
|
@@ -1785,32 +1684,58 @@ const _abi = [
|
|
|
1785
1684
|
type: "uint256",
|
|
1786
1685
|
},
|
|
1787
1686
|
{
|
|
1788
|
-
internalType: "
|
|
1789
|
-
name: "
|
|
1790
|
-
type: "
|
|
1687
|
+
internalType: "uint32",
|
|
1688
|
+
name: "sessionNonce",
|
|
1689
|
+
type: "uint32",
|
|
1690
|
+
},
|
|
1691
|
+
{
|
|
1692
|
+
internalType: "uint32",
|
|
1693
|
+
name: "permitNonceCap",
|
|
1694
|
+
type: "uint32",
|
|
1791
1695
|
},
|
|
1792
1696
|
{
|
|
1793
1697
|
internalType: "uint256",
|
|
1794
|
-
name: "
|
|
1698
|
+
name: "swapBridgeSlippage",
|
|
1795
1699
|
type: "uint256",
|
|
1796
1700
|
},
|
|
1701
|
+
{
|
|
1702
|
+
internalType: "bytes",
|
|
1703
|
+
name: "offchainMetadata",
|
|
1704
|
+
type: "bytes",
|
|
1705
|
+
},
|
|
1797
1706
|
],
|
|
1798
|
-
internalType: "struct
|
|
1799
|
-
name: "
|
|
1707
|
+
internalType: "struct IPPTLooperEIP712Types.RequestHeader",
|
|
1708
|
+
name: "header",
|
|
1800
1709
|
type: "tuple",
|
|
1801
1710
|
},
|
|
1802
1711
|
{
|
|
1803
1712
|
internalType: "bool",
|
|
1804
|
-
name: "
|
|
1713
|
+
name: "receiveOnSpoke",
|
|
1805
1714
|
type: "bool",
|
|
1806
1715
|
},
|
|
1716
|
+
{
|
|
1717
|
+
internalType: "address",
|
|
1718
|
+
name: "hubTokenOut",
|
|
1719
|
+
type: "address",
|
|
1720
|
+
},
|
|
1721
|
+
{
|
|
1722
|
+
internalType: "address",
|
|
1723
|
+
name: "dstTokenOut",
|
|
1724
|
+
type: "address",
|
|
1725
|
+
},
|
|
1726
|
+
{
|
|
1727
|
+
internalType: "uint256",
|
|
1728
|
+
name: "minTokenWithdrawn",
|
|
1729
|
+
type: "uint256",
|
|
1730
|
+
},
|
|
1807
1731
|
],
|
|
1808
|
-
internalType:
|
|
1809
|
-
|
|
1732
|
+
internalType:
|
|
1733
|
+
"struct IPPTLooperEIP712Types.SwapBridgeWithdrawAllRequest",
|
|
1734
|
+
name: "req",
|
|
1810
1735
|
type: "tuple",
|
|
1811
1736
|
},
|
|
1812
1737
|
],
|
|
1813
|
-
name: "
|
|
1738
|
+
name: "hashTyped",
|
|
1814
1739
|
outputs: [
|
|
1815
1740
|
{
|
|
1816
1741
|
internalType: "bytes32",
|
|
@@ -1827,11 +1752,6 @@ const _abi = [
|
|
|
1827
1752
|
components: [
|
|
1828
1753
|
{
|
|
1829
1754
|
components: [
|
|
1830
|
-
{
|
|
1831
|
-
internalType: "address",
|
|
1832
|
-
name: "owner",
|
|
1833
|
-
type: "address",
|
|
1834
|
-
},
|
|
1835
1755
|
{
|
|
1836
1756
|
internalType: "bytes32",
|
|
1837
1757
|
name: "boxId",
|
|
@@ -1843,109 +1763,64 @@ const _abi = [
|
|
|
1843
1763
|
type: "uint256",
|
|
1844
1764
|
},
|
|
1845
1765
|
{
|
|
1846
|
-
internalType: "
|
|
1847
|
-
name: "
|
|
1848
|
-
type: "
|
|
1849
|
-
},
|
|
1850
|
-
{
|
|
1851
|
-
internalType: "uint256",
|
|
1852
|
-
name: "nonce",
|
|
1853
|
-
type: "uint256",
|
|
1854
|
-
},
|
|
1855
|
-
],
|
|
1856
|
-
internalType: "struct IPPTLooper.BoxPermit",
|
|
1857
|
-
name: "permit",
|
|
1858
|
-
type: "tuple",
|
|
1859
|
-
},
|
|
1860
|
-
{
|
|
1861
|
-
components: [
|
|
1862
|
-
{
|
|
1863
|
-
internalType: "address",
|
|
1864
|
-
name: "extRouter",
|
|
1865
|
-
type: "address",
|
|
1866
|
-
},
|
|
1867
|
-
{
|
|
1868
|
-
internalType: "address",
|
|
1869
|
-
name: "approve",
|
|
1870
|
-
type: "address",
|
|
1871
|
-
},
|
|
1872
|
-
{
|
|
1873
|
-
internalType: "bytes",
|
|
1874
|
-
name: "callData",
|
|
1875
|
-
type: "bytes",
|
|
1766
|
+
internalType: "uint32",
|
|
1767
|
+
name: "sessionNonce",
|
|
1768
|
+
type: "uint32",
|
|
1876
1769
|
},
|
|
1877
|
-
],
|
|
1878
|
-
internalType: "struct IPPTLooper.BoxApprovedCall",
|
|
1879
|
-
name: "swap",
|
|
1880
|
-
type: "tuple",
|
|
1881
|
-
},
|
|
1882
|
-
{
|
|
1883
|
-
internalType: "uint256",
|
|
1884
|
-
name: "debtTokenFee",
|
|
1885
|
-
type: "uint256",
|
|
1886
|
-
},
|
|
1887
|
-
{
|
|
1888
|
-
components: [
|
|
1889
1770
|
{
|
|
1890
|
-
internalType: "
|
|
1891
|
-
name: "
|
|
1892
|
-
type: "
|
|
1771
|
+
internalType: "uint32",
|
|
1772
|
+
name: "permitNonceCap",
|
|
1773
|
+
type: "uint32",
|
|
1893
1774
|
},
|
|
1894
1775
|
{
|
|
1895
|
-
internalType: "
|
|
1896
|
-
name: "
|
|
1897
|
-
type: "
|
|
1776
|
+
internalType: "uint256",
|
|
1777
|
+
name: "swapBridgeSlippage",
|
|
1778
|
+
type: "uint256",
|
|
1898
1779
|
},
|
|
1899
1780
|
{
|
|
1900
1781
|
internalType: "bytes",
|
|
1901
|
-
name: "
|
|
1782
|
+
name: "offchainMetadata",
|
|
1902
1783
|
type: "bytes",
|
|
1903
1784
|
},
|
|
1904
1785
|
],
|
|
1905
|
-
internalType: "struct
|
|
1906
|
-
name: "
|
|
1786
|
+
internalType: "struct IPPTLooperEIP712Types.RequestHeader",
|
|
1787
|
+
name: "header",
|
|
1907
1788
|
type: "tuple",
|
|
1908
1789
|
},
|
|
1909
|
-
{
|
|
1910
|
-
internalType: "
|
|
1911
|
-
name: "
|
|
1912
|
-
type: "
|
|
1913
|
-
},
|
|
1914
|
-
{
|
|
1915
|
-
internalType: "uint256",
|
|
1916
|
-
name: "bridgeNativeFee",
|
|
1917
|
-
type: "uint256",
|
|
1918
|
-
},
|
|
1919
|
-
{
|
|
1920
|
-
internalType: "uint256",
|
|
1921
|
-
name: "minPtLent",
|
|
1922
|
-
type: "uint256",
|
|
1923
|
-
},
|
|
1924
|
-
{
|
|
1925
|
-
internalType: "uint256",
|
|
1926
|
-
name: "amountDebtBorrowed",
|
|
1927
|
-
type: "uint256",
|
|
1790
|
+
{
|
|
1791
|
+
internalType: "address",
|
|
1792
|
+
name: "extRewardController",
|
|
1793
|
+
type: "address",
|
|
1928
1794
|
},
|
|
1929
1795
|
{
|
|
1930
|
-
internalType: "
|
|
1931
|
-
name: "
|
|
1932
|
-
type: "
|
|
1796
|
+
internalType: "bytes",
|
|
1797
|
+
name: "data",
|
|
1798
|
+
type: "bytes",
|
|
1933
1799
|
},
|
|
1934
1800
|
{
|
|
1935
|
-
internalType: "
|
|
1936
|
-
name: "
|
|
1937
|
-
type: "
|
|
1801
|
+
internalType: "address[]",
|
|
1802
|
+
name: "rewardTokens",
|
|
1803
|
+
type: "address[]",
|
|
1938
1804
|
},
|
|
1939
1805
|
],
|
|
1940
|
-
internalType: "struct
|
|
1941
|
-
name: "
|
|
1806
|
+
internalType: "struct IPPTLooperEIP712Types.ClaimMMRewardsRequest",
|
|
1807
|
+
name: "req",
|
|
1942
1808
|
type: "tuple",
|
|
1943
1809
|
},
|
|
1810
|
+
],
|
|
1811
|
+
name: "hashTyped",
|
|
1812
|
+
outputs: [
|
|
1944
1813
|
{
|
|
1945
|
-
internalType: "
|
|
1946
|
-
name: "
|
|
1947
|
-
type: "
|
|
1814
|
+
internalType: "bytes32",
|
|
1815
|
+
name: "",
|
|
1816
|
+
type: "bytes32",
|
|
1948
1817
|
},
|
|
1818
|
+
],
|
|
1819
|
+
stateMutability: "view",
|
|
1820
|
+
type: "function",
|
|
1821
|
+
},
|
|
1822
|
+
{
|
|
1823
|
+
inputs: [
|
|
1949
1824
|
{
|
|
1950
1825
|
components: [
|
|
1951
1826
|
{
|
|
@@ -1970,19 +1845,34 @@ const _abi = [
|
|
|
1970
1845
|
name: "permitNonceCap",
|
|
1971
1846
|
type: "uint32",
|
|
1972
1847
|
},
|
|
1848
|
+
{
|
|
1849
|
+
internalType: "uint256",
|
|
1850
|
+
name: "swapBridgeSlippage",
|
|
1851
|
+
type: "uint256",
|
|
1852
|
+
},
|
|
1853
|
+
{
|
|
1854
|
+
internalType: "bytes",
|
|
1855
|
+
name: "offchainMetadata",
|
|
1856
|
+
type: "bytes",
|
|
1857
|
+
},
|
|
1973
1858
|
],
|
|
1974
|
-
internalType: "struct
|
|
1859
|
+
internalType: "struct IPPTLooperEIP712Types.RequestHeader",
|
|
1975
1860
|
name: "header",
|
|
1976
1861
|
type: "tuple",
|
|
1977
1862
|
},
|
|
1863
|
+
{
|
|
1864
|
+
internalType: "address",
|
|
1865
|
+
name: "initTokenIn",
|
|
1866
|
+
type: "address",
|
|
1867
|
+
},
|
|
1978
1868
|
{
|
|
1979
1869
|
internalType: "uint256",
|
|
1980
|
-
name: "
|
|
1870
|
+
name: "initMinToPtSwapRate",
|
|
1981
1871
|
type: "uint256",
|
|
1982
1872
|
},
|
|
1983
1873
|
{
|
|
1984
1874
|
internalType: "uint256",
|
|
1985
|
-
name: "
|
|
1875
|
+
name: "minDebtToPtSwapRate",
|
|
1986
1876
|
type: "uint256",
|
|
1987
1877
|
},
|
|
1988
1878
|
{
|
|
@@ -1995,20 +1885,26 @@ const _abi = [
|
|
|
1995
1885
|
name: "isZeroPriceImpact",
|
|
1996
1886
|
type: "bool",
|
|
1997
1887
|
},
|
|
1888
|
+
{
|
|
1889
|
+
internalType: "uint256",
|
|
1890
|
+
name: "maxFeeRate",
|
|
1891
|
+
type: "uint256",
|
|
1892
|
+
},
|
|
1998
1893
|
],
|
|
1999
|
-
internalType: "struct
|
|
1894
|
+
internalType: "struct IPPTLooperEIP712Types.IncreasePositionRequest",
|
|
2000
1895
|
name: "req",
|
|
2001
1896
|
type: "tuple",
|
|
2002
1897
|
},
|
|
1898
|
+
],
|
|
1899
|
+
name: "hashTyped",
|
|
1900
|
+
outputs: [
|
|
2003
1901
|
{
|
|
2004
|
-
internalType: "
|
|
2005
|
-
name: "
|
|
2006
|
-
type: "
|
|
1902
|
+
internalType: "bytes32",
|
|
1903
|
+
name: "",
|
|
1904
|
+
type: "bytes32",
|
|
2007
1905
|
},
|
|
2008
1906
|
],
|
|
2009
|
-
|
|
2010
|
-
outputs: [],
|
|
2011
|
-
stateMutability: "payable",
|
|
1907
|
+
stateMutability: "view",
|
|
2012
1908
|
type: "function",
|
|
2013
1909
|
},
|
|
2014
1910
|
{
|
|
@@ -2016,128 +1912,116 @@ const _abi = [
|
|
|
2016
1912
|
{
|
|
2017
1913
|
components: [
|
|
2018
1914
|
{
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
1915
|
+
components: [
|
|
1916
|
+
{
|
|
1917
|
+
internalType: "address",
|
|
1918
|
+
name: "owner",
|
|
1919
|
+
type: "address",
|
|
1920
|
+
},
|
|
1921
|
+
{
|
|
1922
|
+
internalType: "bytes32",
|
|
1923
|
+
name: "boxId",
|
|
1924
|
+
type: "bytes32",
|
|
1925
|
+
},
|
|
1926
|
+
{
|
|
1927
|
+
internalType: "uint256",
|
|
1928
|
+
name: "expiry",
|
|
1929
|
+
type: "uint256",
|
|
1930
|
+
},
|
|
1931
|
+
{
|
|
1932
|
+
internalType: "uint256",
|
|
1933
|
+
name: "nonce",
|
|
1934
|
+
type: "uint256",
|
|
1935
|
+
},
|
|
1936
|
+
],
|
|
1937
|
+
internalType: "struct IPPTLooperEIP712Types.BoxPermit",
|
|
1938
|
+
name: "permit",
|
|
1939
|
+
type: "tuple",
|
|
2022
1940
|
},
|
|
2023
1941
|
{
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
1942
|
+
components: [
|
|
1943
|
+
{
|
|
1944
|
+
internalType: "address",
|
|
1945
|
+
name: "extRouter",
|
|
1946
|
+
type: "address",
|
|
1947
|
+
},
|
|
1948
|
+
{
|
|
1949
|
+
internalType: "address",
|
|
1950
|
+
name: "approve",
|
|
1951
|
+
type: "address",
|
|
1952
|
+
},
|
|
1953
|
+
{
|
|
1954
|
+
internalType: "bytes",
|
|
1955
|
+
name: "callData",
|
|
1956
|
+
type: "bytes",
|
|
1957
|
+
},
|
|
1958
|
+
],
|
|
1959
|
+
internalType: "struct IPPTLooperEIP712Types.BoxApprovedCall",
|
|
1960
|
+
name: "swap",
|
|
1961
|
+
type: "tuple",
|
|
2027
1962
|
},
|
|
2028
|
-
],
|
|
2029
|
-
internalType: "struct IMulticall.Call3[]",
|
|
2030
|
-
name: "calls",
|
|
2031
|
-
type: "tuple[]",
|
|
2032
|
-
},
|
|
2033
|
-
],
|
|
2034
|
-
name: "multicall",
|
|
2035
|
-
outputs: [
|
|
2036
|
-
{
|
|
2037
|
-
components: [
|
|
2038
1963
|
{
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
1964
|
+
components: [
|
|
1965
|
+
{
|
|
1966
|
+
components: [
|
|
1967
|
+
{
|
|
1968
|
+
internalType: "address",
|
|
1969
|
+
name: "extRouter",
|
|
1970
|
+
type: "address",
|
|
1971
|
+
},
|
|
1972
|
+
{
|
|
1973
|
+
internalType: "address",
|
|
1974
|
+
name: "approve",
|
|
1975
|
+
type: "address",
|
|
1976
|
+
},
|
|
1977
|
+
{
|
|
1978
|
+
internalType: "bytes",
|
|
1979
|
+
name: "callData",
|
|
1980
|
+
type: "bytes",
|
|
1981
|
+
},
|
|
1982
|
+
],
|
|
1983
|
+
internalType: "struct IPPTLooperEIP712Types.BoxApprovedCall",
|
|
1984
|
+
name: "call",
|
|
1985
|
+
type: "tuple",
|
|
1986
|
+
},
|
|
1987
|
+
{
|
|
1988
|
+
internalType: "uint256",
|
|
1989
|
+
name: "maxAmount",
|
|
1990
|
+
type: "uint256",
|
|
1991
|
+
},
|
|
1992
|
+
{
|
|
1993
|
+
internalType: "uint256",
|
|
1994
|
+
name: "nativeFee",
|
|
1995
|
+
type: "uint256",
|
|
1996
|
+
},
|
|
1997
|
+
],
|
|
1998
|
+
internalType: "struct IPPTLooperEIP712Types.BridgeData",
|
|
1999
|
+
name: "bridge",
|
|
2000
|
+
type: "tuple",
|
|
2042
2001
|
},
|
|
2043
2002
|
{
|
|
2044
2003
|
internalType: "bytes",
|
|
2045
|
-
name: "
|
|
2004
|
+
name: "postStateCheckData",
|
|
2046
2005
|
type: "bytes",
|
|
2047
2006
|
},
|
|
2048
2007
|
],
|
|
2049
|
-
internalType:
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
],
|
|
2054
|
-
stateMutability: "payable",
|
|
2055
|
-
type: "function",
|
|
2056
|
-
},
|
|
2057
|
-
{
|
|
2058
|
-
inputs: [],
|
|
2059
|
-
name: "owner",
|
|
2060
|
-
outputs: [
|
|
2061
|
-
{
|
|
2062
|
-
internalType: "address",
|
|
2063
|
-
name: "",
|
|
2064
|
-
type: "address",
|
|
2065
|
-
},
|
|
2066
|
-
],
|
|
2067
|
-
stateMutability: "view",
|
|
2068
|
-
type: "function",
|
|
2069
|
-
},
|
|
2070
|
-
{
|
|
2071
|
-
inputs: [],
|
|
2072
|
-
name: "pendingOwner",
|
|
2073
|
-
outputs: [
|
|
2074
|
-
{
|
|
2075
|
-
internalType: "address",
|
|
2076
|
-
name: "",
|
|
2077
|
-
type: "address",
|
|
2008
|
+
internalType:
|
|
2009
|
+
"struct IPPTLooperEIP712Types.SwapBridgeWithdrawAllMessage",
|
|
2010
|
+
name: "ms",
|
|
2011
|
+
type: "tuple",
|
|
2078
2012
|
},
|
|
2079
2013
|
],
|
|
2080
|
-
|
|
2081
|
-
type: "function",
|
|
2082
|
-
},
|
|
2083
|
-
{
|
|
2084
|
-
inputs: [],
|
|
2085
|
-
name: "proposer",
|
|
2014
|
+
name: "hashTyped",
|
|
2086
2015
|
outputs: [
|
|
2087
|
-
{
|
|
2088
|
-
internalType: "address",
|
|
2089
|
-
name: "",
|
|
2090
|
-
type: "address",
|
|
2091
|
-
},
|
|
2092
|
-
],
|
|
2093
|
-
stateMutability: "view",
|
|
2094
|
-
type: "function",
|
|
2095
|
-
},
|
|
2096
|
-
{
|
|
2097
|
-
inputs: [
|
|
2098
2016
|
{
|
|
2099
2017
|
internalType: "bytes32",
|
|
2100
|
-
name: "
|
|
2018
|
+
name: "",
|
|
2101
2019
|
type: "bytes32",
|
|
2102
2020
|
},
|
|
2103
2021
|
],
|
|
2104
|
-
name: "proposerNonce",
|
|
2105
|
-
outputs: [
|
|
2106
|
-
{
|
|
2107
|
-
internalType: "uint256",
|
|
2108
|
-
name: "nonce",
|
|
2109
|
-
type: "uint256",
|
|
2110
|
-
},
|
|
2111
|
-
],
|
|
2112
2022
|
stateMutability: "view",
|
|
2113
2023
|
type: "function",
|
|
2114
2024
|
},
|
|
2115
|
-
{
|
|
2116
|
-
inputs: [
|
|
2117
|
-
{
|
|
2118
|
-
internalType: "address",
|
|
2119
|
-
name: "executor_",
|
|
2120
|
-
type: "address",
|
|
2121
|
-
},
|
|
2122
|
-
],
|
|
2123
|
-
name: "setExecutor",
|
|
2124
|
-
outputs: [],
|
|
2125
|
-
stateMutability: "nonpayable",
|
|
2126
|
-
type: "function",
|
|
2127
|
-
},
|
|
2128
|
-
{
|
|
2129
|
-
inputs: [
|
|
2130
|
-
{
|
|
2131
|
-
internalType: "address",
|
|
2132
|
-
name: "proposer_",
|
|
2133
|
-
type: "address",
|
|
2134
|
-
},
|
|
2135
|
-
],
|
|
2136
|
-
name: "setProposer",
|
|
2137
|
-
outputs: [],
|
|
2138
|
-
stateMutability: "nonpayable",
|
|
2139
|
-
type: "function",
|
|
2140
|
-
},
|
|
2141
2025
|
{
|
|
2142
2026
|
inputs: [
|
|
2143
2027
|
{
|
|
@@ -2159,40 +2043,31 @@ const _abi = [
|
|
|
2159
2043
|
name: "expiry",
|
|
2160
2044
|
type: "uint256",
|
|
2161
2045
|
},
|
|
2162
|
-
{
|
|
2163
|
-
internalType: "bytes32",
|
|
2164
|
-
name: "ownerSigHash",
|
|
2165
|
-
type: "bytes32",
|
|
2166
|
-
},
|
|
2167
2046
|
{
|
|
2168
2047
|
internalType: "uint256",
|
|
2169
2048
|
name: "nonce",
|
|
2170
2049
|
type: "uint256",
|
|
2171
2050
|
},
|
|
2172
2051
|
],
|
|
2173
|
-
internalType: "struct
|
|
2052
|
+
internalType: "struct IPPTLooperEIP712Types.BoxPermit",
|
|
2174
2053
|
name: "permit",
|
|
2175
2054
|
type: "tuple",
|
|
2176
2055
|
},
|
|
2177
|
-
{
|
|
2178
|
-
internalType: "bool",
|
|
2179
|
-
name: "isInitiate",
|
|
2180
|
-
type: "bool",
|
|
2181
|
-
},
|
|
2182
2056
|
],
|
|
2183
|
-
internalType: "struct
|
|
2057
|
+
internalType: "struct IPPTLooperEIP712Types.ClaimMMRewardsMessage",
|
|
2184
2058
|
name: "ms",
|
|
2185
2059
|
type: "tuple",
|
|
2186
2060
|
},
|
|
2061
|
+
],
|
|
2062
|
+
name: "hashTyped",
|
|
2063
|
+
outputs: [
|
|
2187
2064
|
{
|
|
2188
|
-
internalType: "
|
|
2189
|
-
name: "
|
|
2190
|
-
type: "
|
|
2065
|
+
internalType: "bytes32",
|
|
2066
|
+
name: "",
|
|
2067
|
+
type: "bytes32",
|
|
2191
2068
|
},
|
|
2192
2069
|
],
|
|
2193
|
-
|
|
2194
|
-
outputs: [],
|
|
2195
|
-
stateMutability: "nonpayable",
|
|
2070
|
+
stateMutability: "view",
|
|
2196
2071
|
type: "function",
|
|
2197
2072
|
},
|
|
2198
2073
|
{
|
|
@@ -2216,41 +2091,14 @@ const _abi = [
|
|
|
2216
2091
|
name: "expiry",
|
|
2217
2092
|
type: "uint256",
|
|
2218
2093
|
},
|
|
2219
|
-
{
|
|
2220
|
-
internalType: "bytes32",
|
|
2221
|
-
name: "ownerSigHash",
|
|
2222
|
-
type: "bytes32",
|
|
2223
|
-
},
|
|
2224
2094
|
{
|
|
2225
2095
|
internalType: "uint256",
|
|
2226
2096
|
name: "nonce",
|
|
2227
2097
|
type: "uint256",
|
|
2228
2098
|
},
|
|
2229
2099
|
],
|
|
2230
|
-
internalType: "struct
|
|
2231
|
-
name: "permit",
|
|
2232
|
-
type: "tuple",
|
|
2233
|
-
},
|
|
2234
|
-
{
|
|
2235
|
-
components: [
|
|
2236
|
-
{
|
|
2237
|
-
internalType: "address",
|
|
2238
|
-
name: "extRouter",
|
|
2239
|
-
type: "address",
|
|
2240
|
-
},
|
|
2241
|
-
{
|
|
2242
|
-
internalType: "address",
|
|
2243
|
-
name: "approve",
|
|
2244
|
-
type: "address",
|
|
2245
|
-
},
|
|
2246
|
-
{
|
|
2247
|
-
internalType: "bytes",
|
|
2248
|
-
name: "callData",
|
|
2249
|
-
type: "bytes",
|
|
2250
|
-
},
|
|
2251
|
-
],
|
|
2252
|
-
internalType: "struct IPPTLooper.BoxApprovedCall",
|
|
2253
|
-
name: "swap",
|
|
2100
|
+
internalType: "struct IPPTLooperEIP712Types.BoxPermit",
|
|
2101
|
+
name: "permit",
|
|
2254
2102
|
type: "tuple",
|
|
2255
2103
|
},
|
|
2256
2104
|
{
|
|
@@ -2271,151 +2119,248 @@ const _abi = [
|
|
|
2271
2119
|
type: "bytes",
|
|
2272
2120
|
},
|
|
2273
2121
|
],
|
|
2274
|
-
internalType: "struct
|
|
2275
|
-
name: "
|
|
2122
|
+
internalType: "struct IPPTLooperEIP712Types.BoxApprovedCall",
|
|
2123
|
+
name: "swap",
|
|
2276
2124
|
type: "tuple",
|
|
2277
2125
|
},
|
|
2278
2126
|
{
|
|
2279
2127
|
internalType: "uint256",
|
|
2280
|
-
name: "
|
|
2281
|
-
type: "uint256",
|
|
2282
|
-
},
|
|
2283
|
-
{
|
|
2284
|
-
internalType: "uint256",
|
|
2285
|
-
name: "bridgeNativeFee",
|
|
2128
|
+
name: "fee",
|
|
2286
2129
|
type: "uint256",
|
|
2287
2130
|
},
|
|
2288
|
-
],
|
|
2289
|
-
internalType: "struct IPPTLooper.SwapBridgeWithdrawAllMessage",
|
|
2290
|
-
name: "ms",
|
|
2291
|
-
type: "tuple",
|
|
2292
|
-
},
|
|
2293
|
-
{
|
|
2294
|
-
internalType: "bytes",
|
|
2295
|
-
name: "proposerSig",
|
|
2296
|
-
type: "bytes",
|
|
2297
|
-
},
|
|
2298
|
-
{
|
|
2299
|
-
components: [
|
|
2300
2131
|
{
|
|
2301
2132
|
components: [
|
|
2302
2133
|
{
|
|
2303
2134
|
components: [
|
|
2304
2135
|
{
|
|
2305
|
-
internalType: "
|
|
2306
|
-
name: "
|
|
2307
|
-
type: "
|
|
2308
|
-
},
|
|
2309
|
-
{
|
|
2310
|
-
internalType: "uint256",
|
|
2311
|
-
name: "expiry",
|
|
2312
|
-
type: "uint256",
|
|
2136
|
+
internalType: "address",
|
|
2137
|
+
name: "extRouter",
|
|
2138
|
+
type: "address",
|
|
2313
2139
|
},
|
|
2314
2140
|
{
|
|
2315
|
-
internalType: "
|
|
2316
|
-
name: "
|
|
2317
|
-
type: "
|
|
2141
|
+
internalType: "address",
|
|
2142
|
+
name: "approve",
|
|
2143
|
+
type: "address",
|
|
2318
2144
|
},
|
|
2319
2145
|
{
|
|
2320
|
-
internalType: "
|
|
2321
|
-
name: "
|
|
2322
|
-
type: "
|
|
2146
|
+
internalType: "bytes",
|
|
2147
|
+
name: "callData",
|
|
2148
|
+
type: "bytes",
|
|
2323
2149
|
},
|
|
2324
2150
|
],
|
|
2325
|
-
internalType: "struct
|
|
2326
|
-
name: "
|
|
2151
|
+
internalType: "struct IPPTLooperEIP712Types.BoxApprovedCall",
|
|
2152
|
+
name: "call",
|
|
2327
2153
|
type: "tuple",
|
|
2328
2154
|
},
|
|
2329
2155
|
{
|
|
2330
2156
|
internalType: "uint256",
|
|
2331
|
-
name: "
|
|
2332
|
-
type: "uint256",
|
|
2333
|
-
},
|
|
2334
|
-
{
|
|
2335
|
-
internalType: "uint256",
|
|
2336
|
-
name: "minPtToTokenSwapRate",
|
|
2157
|
+
name: "maxAmount",
|
|
2337
2158
|
type: "uint256",
|
|
2338
2159
|
},
|
|
2339
2160
|
{
|
|
2340
2161
|
internalType: "uint256",
|
|
2341
|
-
name: "
|
|
2162
|
+
name: "nativeFee",
|
|
2342
2163
|
type: "uint256",
|
|
2343
2164
|
},
|
|
2344
2165
|
],
|
|
2345
|
-
internalType: "struct
|
|
2346
|
-
name: "
|
|
2166
|
+
internalType: "struct IPPTLooperEIP712Types.BridgeData",
|
|
2167
|
+
name: "bridge",
|
|
2347
2168
|
type: "tuple",
|
|
2348
2169
|
},
|
|
2170
|
+
{
|
|
2171
|
+
internalType: "uint256",
|
|
2172
|
+
name: "amountDebtBorrowed",
|
|
2173
|
+
type: "uint256",
|
|
2174
|
+
},
|
|
2175
|
+
{
|
|
2176
|
+
internalType: "bytes",
|
|
2177
|
+
name: "postStateCheckData",
|
|
2178
|
+
type: "bytes",
|
|
2179
|
+
},
|
|
2180
|
+
],
|
|
2181
|
+
internalType: "struct IPPTLooperEIP712Types.IncreasePositionMessage",
|
|
2182
|
+
name: "ms",
|
|
2183
|
+
type: "tuple",
|
|
2184
|
+
},
|
|
2185
|
+
{
|
|
2186
|
+
internalType: "bytes",
|
|
2187
|
+
name: "proposerSig",
|
|
2188
|
+
type: "bytes",
|
|
2189
|
+
},
|
|
2190
|
+
{
|
|
2191
|
+
components: [
|
|
2349
2192
|
{
|
|
2350
2193
|
components: [
|
|
2351
2194
|
{
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
name: "boxId",
|
|
2356
|
-
type: "bytes32",
|
|
2357
|
-
},
|
|
2358
|
-
{
|
|
2359
|
-
internalType: "uint256",
|
|
2360
|
-
name: "expiry",
|
|
2361
|
-
type: "uint256",
|
|
2362
|
-
},
|
|
2363
|
-
{
|
|
2364
|
-
internalType: "uint32",
|
|
2365
|
-
name: "sessionNonce",
|
|
2366
|
-
type: "uint32",
|
|
2367
|
-
},
|
|
2368
|
-
{
|
|
2369
|
-
internalType: "uint32",
|
|
2370
|
-
name: "permitNonceCap",
|
|
2371
|
-
type: "uint32",
|
|
2372
|
-
},
|
|
2373
|
-
],
|
|
2374
|
-
internalType: "struct IPPTLooper.RequestHeader",
|
|
2375
|
-
name: "header",
|
|
2376
|
-
type: "tuple",
|
|
2195
|
+
internalType: "bytes32",
|
|
2196
|
+
name: "boxId",
|
|
2197
|
+
type: "bytes32",
|
|
2377
2198
|
},
|
|
2378
2199
|
{
|
|
2379
|
-
internalType: "
|
|
2380
|
-
name: "
|
|
2381
|
-
type: "
|
|
2200
|
+
internalType: "uint256",
|
|
2201
|
+
name: "expiry",
|
|
2202
|
+
type: "uint256",
|
|
2382
2203
|
},
|
|
2383
2204
|
{
|
|
2384
|
-
internalType: "
|
|
2385
|
-
name: "
|
|
2386
|
-
type: "
|
|
2205
|
+
internalType: "uint32",
|
|
2206
|
+
name: "sessionNonce",
|
|
2207
|
+
type: "uint32",
|
|
2387
2208
|
},
|
|
2388
2209
|
{
|
|
2389
|
-
internalType: "
|
|
2390
|
-
name: "
|
|
2391
|
-
type: "
|
|
2210
|
+
internalType: "uint32",
|
|
2211
|
+
name: "permitNonceCap",
|
|
2212
|
+
type: "uint32",
|
|
2392
2213
|
},
|
|
2393
2214
|
{
|
|
2394
2215
|
internalType: "uint256",
|
|
2395
|
-
name: "
|
|
2216
|
+
name: "swapBridgeSlippage",
|
|
2396
2217
|
type: "uint256",
|
|
2397
2218
|
},
|
|
2219
|
+
{
|
|
2220
|
+
internalType: "bytes",
|
|
2221
|
+
name: "offchainMetadata",
|
|
2222
|
+
type: "bytes",
|
|
2223
|
+
},
|
|
2398
2224
|
],
|
|
2399
|
-
internalType: "struct
|
|
2400
|
-
name: "
|
|
2225
|
+
internalType: "struct IPPTLooperEIP712Types.RequestHeader",
|
|
2226
|
+
name: "header",
|
|
2401
2227
|
type: "tuple",
|
|
2402
2228
|
},
|
|
2229
|
+
{
|
|
2230
|
+
internalType: "address",
|
|
2231
|
+
name: "initTokenIn",
|
|
2232
|
+
type: "address",
|
|
2233
|
+
},
|
|
2234
|
+
{
|
|
2235
|
+
internalType: "uint256",
|
|
2236
|
+
name: "initMinToPtSwapRate",
|
|
2237
|
+
type: "uint256",
|
|
2238
|
+
},
|
|
2239
|
+
{
|
|
2240
|
+
internalType: "uint256",
|
|
2241
|
+
name: "minDebtToPtSwapRate",
|
|
2242
|
+
type: "uint256",
|
|
2243
|
+
},
|
|
2244
|
+
{
|
|
2245
|
+
internalType: "uint256",
|
|
2246
|
+
name: "postBorrowMaxLTV",
|
|
2247
|
+
type: "uint256",
|
|
2248
|
+
},
|
|
2249
|
+
{
|
|
2250
|
+
internalType: "bool",
|
|
2251
|
+
name: "isZeroPriceImpact",
|
|
2252
|
+
type: "bool",
|
|
2253
|
+
},
|
|
2254
|
+
{
|
|
2255
|
+
internalType: "uint256",
|
|
2256
|
+
name: "maxFeeRate",
|
|
2257
|
+
type: "uint256",
|
|
2258
|
+
},
|
|
2403
2259
|
],
|
|
2404
|
-
internalType: "struct
|
|
2260
|
+
internalType: "struct IPPTLooperEIP712Types.IncreasePositionRequest",
|
|
2405
2261
|
name: "req",
|
|
2406
2262
|
type: "tuple",
|
|
2407
2263
|
},
|
|
2408
2264
|
{
|
|
2409
2265
|
internalType: "bytes",
|
|
2410
|
-
name: "
|
|
2266
|
+
name: "ownerSigIfFirstCall",
|
|
2411
2267
|
type: "bytes",
|
|
2412
2268
|
},
|
|
2413
2269
|
],
|
|
2414
|
-
name: "
|
|
2270
|
+
name: "increaseLoopPosition",
|
|
2415
2271
|
outputs: [],
|
|
2416
2272
|
stateMutability: "payable",
|
|
2417
2273
|
type: "function",
|
|
2418
2274
|
},
|
|
2275
|
+
{
|
|
2276
|
+
inputs: [],
|
|
2277
|
+
name: "owner",
|
|
2278
|
+
outputs: [
|
|
2279
|
+
{
|
|
2280
|
+
internalType: "address",
|
|
2281
|
+
name: "",
|
|
2282
|
+
type: "address",
|
|
2283
|
+
},
|
|
2284
|
+
],
|
|
2285
|
+
stateMutability: "view",
|
|
2286
|
+
type: "function",
|
|
2287
|
+
},
|
|
2288
|
+
{
|
|
2289
|
+
inputs: [],
|
|
2290
|
+
name: "pendingOwner",
|
|
2291
|
+
outputs: [
|
|
2292
|
+
{
|
|
2293
|
+
internalType: "address",
|
|
2294
|
+
name: "",
|
|
2295
|
+
type: "address",
|
|
2296
|
+
},
|
|
2297
|
+
],
|
|
2298
|
+
stateMutability: "view",
|
|
2299
|
+
type: "function",
|
|
2300
|
+
},
|
|
2301
|
+
{
|
|
2302
|
+
inputs: [],
|
|
2303
|
+
name: "proposer",
|
|
2304
|
+
outputs: [
|
|
2305
|
+
{
|
|
2306
|
+
internalType: "address",
|
|
2307
|
+
name: "",
|
|
2308
|
+
type: "address",
|
|
2309
|
+
},
|
|
2310
|
+
],
|
|
2311
|
+
stateMutability: "view",
|
|
2312
|
+
type: "function",
|
|
2313
|
+
},
|
|
2314
|
+
{
|
|
2315
|
+
inputs: [
|
|
2316
|
+
{
|
|
2317
|
+
internalType: "address",
|
|
2318
|
+
name: "owner",
|
|
2319
|
+
type: "address",
|
|
2320
|
+
},
|
|
2321
|
+
{
|
|
2322
|
+
internalType: "bytes32",
|
|
2323
|
+
name: "requestHash",
|
|
2324
|
+
type: "bytes32",
|
|
2325
|
+
},
|
|
2326
|
+
],
|
|
2327
|
+
name: "proposerNonce",
|
|
2328
|
+
outputs: [
|
|
2329
|
+
{
|
|
2330
|
+
internalType: "uint256",
|
|
2331
|
+
name: "nonce",
|
|
2332
|
+
type: "uint256",
|
|
2333
|
+
},
|
|
2334
|
+
],
|
|
2335
|
+
stateMutability: "view",
|
|
2336
|
+
type: "function",
|
|
2337
|
+
},
|
|
2338
|
+
{
|
|
2339
|
+
inputs: [
|
|
2340
|
+
{
|
|
2341
|
+
internalType: "address",
|
|
2342
|
+
name: "executor_",
|
|
2343
|
+
type: "address",
|
|
2344
|
+
},
|
|
2345
|
+
],
|
|
2346
|
+
name: "setExecutor",
|
|
2347
|
+
outputs: [],
|
|
2348
|
+
stateMutability: "nonpayable",
|
|
2349
|
+
type: "function",
|
|
2350
|
+
},
|
|
2351
|
+
{
|
|
2352
|
+
inputs: [
|
|
2353
|
+
{
|
|
2354
|
+
internalType: "address",
|
|
2355
|
+
name: "proposer_",
|
|
2356
|
+
type: "address",
|
|
2357
|
+
},
|
|
2358
|
+
],
|
|
2359
|
+
name: "setProposer",
|
|
2360
|
+
outputs: [],
|
|
2361
|
+
stateMutability: "nonpayable",
|
|
2362
|
+
type: "function",
|
|
2363
|
+
},
|
|
2419
2364
|
{
|
|
2420
2365
|
inputs: [
|
|
2421
2366
|
{
|
|
@@ -2437,18 +2382,13 @@ const _abi = [
|
|
|
2437
2382
|
name: "expiry",
|
|
2438
2383
|
type: "uint256",
|
|
2439
2384
|
},
|
|
2440
|
-
{
|
|
2441
|
-
internalType: "bytes32",
|
|
2442
|
-
name: "ownerSigHash",
|
|
2443
|
-
type: "bytes32",
|
|
2444
|
-
},
|
|
2445
2385
|
{
|
|
2446
2386
|
internalType: "uint256",
|
|
2447
2387
|
name: "nonce",
|
|
2448
2388
|
type: "uint256",
|
|
2449
2389
|
},
|
|
2450
2390
|
],
|
|
2451
|
-
internalType: "struct
|
|
2391
|
+
internalType: "struct IPPTLooperEIP712Types.BoxPermit",
|
|
2452
2392
|
name: "permit",
|
|
2453
2393
|
type: "tuple",
|
|
2454
2394
|
},
|
|
@@ -2470,44 +2410,57 @@ const _abi = [
|
|
|
2470
2410
|
type: "bytes",
|
|
2471
2411
|
},
|
|
2472
2412
|
],
|
|
2473
|
-
internalType: "struct
|
|
2413
|
+
internalType: "struct IPPTLooperEIP712Types.BoxApprovedCall",
|
|
2474
2414
|
name: "swap",
|
|
2475
2415
|
type: "tuple",
|
|
2476
2416
|
},
|
|
2477
2417
|
{
|
|
2478
2418
|
components: [
|
|
2479
2419
|
{
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2420
|
+
components: [
|
|
2421
|
+
{
|
|
2422
|
+
internalType: "address",
|
|
2423
|
+
name: "extRouter",
|
|
2424
|
+
type: "address",
|
|
2425
|
+
},
|
|
2426
|
+
{
|
|
2427
|
+
internalType: "address",
|
|
2428
|
+
name: "approve",
|
|
2429
|
+
type: "address",
|
|
2430
|
+
},
|
|
2431
|
+
{
|
|
2432
|
+
internalType: "bytes",
|
|
2433
|
+
name: "callData",
|
|
2434
|
+
type: "bytes",
|
|
2435
|
+
},
|
|
2436
|
+
],
|
|
2437
|
+
internalType: "struct IPPTLooperEIP712Types.BoxApprovedCall",
|
|
2438
|
+
name: "call",
|
|
2439
|
+
type: "tuple",
|
|
2483
2440
|
},
|
|
2484
2441
|
{
|
|
2485
|
-
internalType: "
|
|
2486
|
-
name: "
|
|
2487
|
-
type: "
|
|
2442
|
+
internalType: "uint256",
|
|
2443
|
+
name: "maxAmount",
|
|
2444
|
+
type: "uint256",
|
|
2488
2445
|
},
|
|
2489
2446
|
{
|
|
2490
|
-
internalType: "
|
|
2491
|
-
name: "
|
|
2492
|
-
type: "
|
|
2447
|
+
internalType: "uint256",
|
|
2448
|
+
name: "nativeFee",
|
|
2449
|
+
type: "uint256",
|
|
2493
2450
|
},
|
|
2494
2451
|
],
|
|
2495
|
-
internalType: "struct
|
|
2452
|
+
internalType: "struct IPPTLooperEIP712Types.BridgeData",
|
|
2496
2453
|
name: "bridge",
|
|
2497
2454
|
type: "tuple",
|
|
2498
2455
|
},
|
|
2499
2456
|
{
|
|
2500
|
-
internalType: "
|
|
2501
|
-
name: "
|
|
2502
|
-
type: "
|
|
2503
|
-
},
|
|
2504
|
-
{
|
|
2505
|
-
internalType: "uint256",
|
|
2506
|
-
name: "bridgeNativeFee",
|
|
2507
|
-
type: "uint256",
|
|
2457
|
+
internalType: "bytes",
|
|
2458
|
+
name: "postStateCheckData",
|
|
2459
|
+
type: "bytes",
|
|
2508
2460
|
},
|
|
2509
2461
|
],
|
|
2510
|
-
internalType:
|
|
2462
|
+
internalType:
|
|
2463
|
+
"struct IPPTLooperEIP712Types.SwapBridgeWithdrawAllMessage",
|
|
2511
2464
|
name: "ms",
|
|
2512
2465
|
type: "tuple",
|
|
2513
2466
|
},
|
|
@@ -2540,8 +2493,18 @@ const _abi = [
|
|
|
2540
2493
|
name: "permitNonceCap",
|
|
2541
2494
|
type: "uint32",
|
|
2542
2495
|
},
|
|
2496
|
+
{
|
|
2497
|
+
internalType: "uint256",
|
|
2498
|
+
name: "swapBridgeSlippage",
|
|
2499
|
+
type: "uint256",
|
|
2500
|
+
},
|
|
2501
|
+
{
|
|
2502
|
+
internalType: "bytes",
|
|
2503
|
+
name: "offchainMetadata",
|
|
2504
|
+
type: "bytes",
|
|
2505
|
+
},
|
|
2543
2506
|
],
|
|
2544
|
-
internalType: "struct
|
|
2507
|
+
internalType: "struct IPPTLooperEIP712Types.RequestHeader",
|
|
2545
2508
|
name: "header",
|
|
2546
2509
|
type: "tuple",
|
|
2547
2510
|
},
|
|
@@ -2562,17 +2525,18 @@ const _abi = [
|
|
|
2562
2525
|
},
|
|
2563
2526
|
{
|
|
2564
2527
|
internalType: "uint256",
|
|
2565
|
-
name: "
|
|
2528
|
+
name: "minTokenWithdrawn",
|
|
2566
2529
|
type: "uint256",
|
|
2567
2530
|
},
|
|
2568
2531
|
],
|
|
2569
|
-
internalType:
|
|
2532
|
+
internalType:
|
|
2533
|
+
"struct IPPTLooperEIP712Types.SwapBridgeWithdrawAllRequest",
|
|
2570
2534
|
name: "req",
|
|
2571
2535
|
type: "tuple",
|
|
2572
2536
|
},
|
|
2573
2537
|
{
|
|
2574
2538
|
internalType: "bytes",
|
|
2575
|
-
name: "
|
|
2539
|
+
name: "ownerSigIfFirstCall",
|
|
2576
2540
|
type: "bytes",
|
|
2577
2541
|
},
|
|
2578
2542
|
],
|
|
@@ -2581,6 +2545,29 @@ const _abi = [
|
|
|
2581
2545
|
stateMutability: "payable",
|
|
2582
2546
|
type: "function",
|
|
2583
2547
|
},
|
|
2548
|
+
{
|
|
2549
|
+
inputs: [
|
|
2550
|
+
{
|
|
2551
|
+
internalType: "address",
|
|
2552
|
+
name: "owner",
|
|
2553
|
+
type: "address",
|
|
2554
|
+
},
|
|
2555
|
+
{
|
|
2556
|
+
internalType: "bytes32",
|
|
2557
|
+
name: "boxId",
|
|
2558
|
+
type: "bytes32",
|
|
2559
|
+
},
|
|
2560
|
+
{
|
|
2561
|
+
internalType: "bytes32",
|
|
2562
|
+
name: "requestHash",
|
|
2563
|
+
type: "bytes32",
|
|
2564
|
+
},
|
|
2565
|
+
],
|
|
2566
|
+
name: "terminateSession",
|
|
2567
|
+
outputs: [],
|
|
2568
|
+
stateMutability: "nonpayable",
|
|
2569
|
+
type: "function",
|
|
2570
|
+
},
|
|
2584
2571
|
{
|
|
2585
2572
|
inputs: [
|
|
2586
2573
|
{
|
|
@@ -2623,7 +2610,7 @@ const _abi = [
|
|
|
2623
2610
|
components: [
|
|
2624
2611
|
{
|
|
2625
2612
|
internalType: "bytes32",
|
|
2626
|
-
name: "
|
|
2613
|
+
name: "requestHash",
|
|
2627
2614
|
type: "bytes32",
|
|
2628
2615
|
},
|
|
2629
2616
|
{
|