@pendle/core-v2 6.6.1 → 6.7.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/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/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/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerUpg.sol/PendleGaugeControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.json +2 -88
- package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.json +2 -122
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- 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/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/sPendle/StakedPendle.sol/StakedPendle.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
- 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/PendleMarketV7.sol/PendleMarketV7.dbg.json +1 -1
- 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/SYUtils.sol/SYUtils.dbg.json +1 -1
- 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/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
- 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/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
- 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/PMath.sol/PMath.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/FixedPricePTAMMV2.sol/FixedPricePTAMMV2.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/PendleSwapHelper.sol/PendleSwapHelper.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/deposit-box/DepositBox.sol/DepositBox.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/deposit-box/DepositBoxFactory.sol/DepositBoxFactory.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/factory/PendleBridgePTFactory.sol/PendleBridgePTFactory.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/factory/PendleBridgePTFactory.sol/PendleBridgePTFactory.json +1388 -0
- package/build/artifacts/contracts/cross-chain/funder/BridgeFunder.sol/BridgeFunder.dbg.json +1 -1
- 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 +46 -14
- 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 +46 -14
- package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFT.sol/PendleOFT.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFT.sol/PendleOFT.json +1541 -0
- package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFTAlt.sol/PendleOFTAlt.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFTAlt.sol/PendleOFTAlt.json +1570 -0
- 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 +57 -35
- 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 +57 -35
- package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.dbg.json +1 -1
- 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/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/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/IPBridgeFunder.sol/IPBridgeFunder.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBridgePTFactory.sol/IPBridgePTFactory.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPBridgePTFactory.sol/IPBridgePTFactory.json +1026 -0
- package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.json +11 -0
- 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/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/IPMerkleDistributor.sol/IPMerkleDistributor.json +0 -67
- 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/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.json +0 -120
- 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/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/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/IPSwapHelper.sol/IPSwapHelper.dbg.json +1 -1
- 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/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/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
- 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/ILegacyMarket.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
- 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/MarketSweed.sol/MarketSweed.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleAPIFeeDepositor.sol/PendleAPIFeeDepositor.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleProxyAdmin.sol/PendleProxyAdmin.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
- 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/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
- 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/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
- 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/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
- 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/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
- 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/MarketApproxPtOutLibV1.dbg.json +1 -1
- 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/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
- 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/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
- 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/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
- 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/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
- 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/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
- 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/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/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
- 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/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/LiquidityMining/PendleMerkleDistributor.sol +1 -28
- package/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol +1 -36
- package/contracts/cross-chain/factory/PendleBridgePTFactory.sol +495 -0
- package/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol +5 -4
- package/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol +14 -6
- package/contracts/cross-chain/oftImpl/pendleOft/PendleOFT.sol +11 -0
- package/contracts/cross-chain/oftImpl/pendleOft/PendleOFTAlt.sol +52 -0
- package/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol +33 -24
- package/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol +4 -13
- package/contracts/interfaces/IPBridgePTFactory.sol +129 -0
- package/contracts/interfaces/IPBridgedPrincipalToken.sol +4 -2
- package/contracts/interfaces/IPMerkleDistributor.sol +0 -7
- package/contracts/interfaces/IPMultiTokenMerkleDistributor.sol +0 -10
- package/contracts/limit/LimitRouterBase.sol +1 -1
- package/contracts/router/swap-aggregator/OKXScaleHelper.sol +4 -1
- package/deployments/143-core.json +38 -2
- package/deployments/143-offchain-helper.json +11 -0
- package/deployments/4217-core.json +1 -0
- package/deployments/43114-core.json +1 -0
- package/deployments/57073-core.json +2 -0
- package/deployments/747474-core.json +2 -0
- package/package.json +12 -9
- package/typechain-types/AaveMoneyMarket.ts +763 -0
- package/typechain-types/AaveMoneyMarketView.ts +460 -0
- package/typechain-types/BaseMoneyMarket.ts +697 -0
- package/typechain-types/BaseMoneyMarketView.ts +362 -0
- package/typechain-types/DVNOptions.ts +57 -0
- package/typechain-types/ExecutorOptions.ts +57 -0
- package/typechain-types/IAToken.ts +358 -0
- package/typechain-types/IAaveOracle.ts +235 -0
- package/typechain-types/IAaveRewardsController.ts +1186 -0
- package/typechain-types/IDefaultReserveInterestRateStrategyV3.ts +431 -0
- package/typechain-types/IDefaultReserveInterestRateStrategyV31.ts +606 -0
- package/typechain-types/IDssPsm.ts +194 -0
- package/typechain-types/IERC4626.ts +864 -0
- package/typechain-types/IFlashLoanReceiver.ts +125 -0
- package/typechain-types/IIrm.ts +260 -0
- package/typechain-types/IMoneyMarket.ts +700 -0
- package/typechain-types/IMoneyMarketEvents.ts +196 -0
- package/typechain-types/IMoneyMarketView.ts +331 -0
- package/typechain-types/IMorpho.ts +1147 -0
- package/typechain-types/IMorphoOracle.ts +81 -0
- package/typechain-types/IMulticall.ts +117 -0
- package/typechain-types/IPBridgePTFactory.ts +936 -0
- package/typechain-types/IPLoopPositionBox.ts +298 -0
- package/typechain-types/IPLoopPositionBoxFactory.ts +434 -0
- package/typechain-types/IPMerkleDistributor.ts +0 -90
- package/typechain-types/IPMultiTokenMerkleDistributor.ts +0 -158
- package/typechain-types/IPPTLooper.ts +1550 -0
- package/typechain-types/IPPTLooperView.ts +468 -0
- package/typechain-types/IPool.ts +2220 -0
- package/typechain-types/IPoolAddressesProvider.ts +789 -0
- package/typechain-types/IPoolDataProviderV3.ts +865 -0
- package/typechain-types/IPoolDataProviderV31.ts +933 -0
- package/typechain-types/IPot.ts +181 -0
- package/typechain-types/IPriceOracleGetter.ts +133 -0
- package/typechain-types/ISDAI.ts +877 -0
- package/typechain-types/LoopPositionBox.ts +309 -0
- package/typechain-types/LoopPositionBoxFactory.ts +609 -0
- package/typechain-types/MorphoBlueMoneyMarket.ts +731 -0
- package/typechain-types/MorphoBlueMoneyMarketView.ts +396 -0
- package/typechain-types/Multicall.ts +117 -0
- package/typechain-types/OAppPreCrimeSimulatorUpgradeable.ts +410 -0
- package/typechain-types/OFTAdapterAltImpl.ts +50 -19
- package/typechain-types/OFTAdapterImpl.ts +50 -19
- package/typechain-types/OFTAdapterUpgradeable.ts +1337 -0
- package/typechain-types/OFTCoreUpgradeable.ts +1337 -0
- package/typechain-types/OFTUpgradeable.ts +1681 -0
- package/typechain-types/OptionsBuilder.ts +57 -0
- package/typechain-types/PTLooperBase.ts +1759 -0
- package/typechain-types/PTLooperView.ts +618 -0
- package/typechain-types/PendleBridgePTFactory.ts +1311 -0
- package/typechain-types/PendleBridgedPrincipalToken.ts +67 -20
- package/typechain-types/PendleBridgedPrincipalTokenAlt.ts +67 -20
- package/typechain-types/PendleMerkleDistributor.ts +0 -106
- package/typechain-types/PendleMultiTokenMerkleDistributor.ts +0 -158
- package/typechain-types/PendleOFT.ts +1675 -0
- package/typechain-types/PendleOFTAlt.ts +1694 -0
- package/typechain-types/PendlePTLooper.ts +1784 -0
- package/typechain-types/PendlePTLooperView.ts +648 -0
- package/typechain-types/UUPSUpgradeable.ts +0 -9
- package/typechain-types/factories/AaveMoneyMarketView__factory.ts +450 -0
- package/typechain-types/factories/AaveMoneyMarket__factory.ts +726 -0
- package/typechain-types/factories/ActionCrossChain__factory.ts +1 -1
- package/typechain-types/factories/BaseMoneyMarketView__factory.ts +279 -0
- package/typechain-types/factories/BaseMoneyMarket__factory.ts +599 -0
- package/typechain-types/factories/DVNOptions__factory.ts +77 -0
- package/typechain-types/factories/ExecutorOptions__factory.ts +84 -0
- package/typechain-types/factories/FixedPricePTAMM__factory.ts +1 -1
- package/typechain-types/factories/IAToken__factory.ts +258 -0
- package/typechain-types/factories/IAaveOracle__factory.ts +132 -0
- package/typechain-types/factories/IAaveRewardsController__factory.ts +743 -0
- package/typechain-types/factories/IDefaultReserveInterestRateStrategyV31__factory.ts +441 -0
- package/typechain-types/factories/IDefaultReserveInterestRateStrategyV3__factory.ts +278 -0
- package/typechain-types/factories/IDssPsm__factory.ts +122 -0
- package/typechain-types/factories/IERC4626__factory.ts +635 -0
- package/typechain-types/factories/IFlashLoanReceiver__factory.ts +65 -0
- package/typechain-types/factories/IIrm__factory.ts +243 -0
- package/typechain-types/factories/IMoneyMarketEvents__factory.ts +225 -0
- package/typechain-types/factories/IMoneyMarketView__factory.ts +253 -0
- package/typechain-types/factories/IMoneyMarket__factory.ts +596 -0
- package/typechain-types/factories/IMorphoOracle__factory.ts +36 -0
- package/typechain-types/factories/IMorpho__factory.ts +1045 -0
- package/typechain-types/factories/IMulticall__factory.ts +66 -0
- package/typechain-types/factories/IOFT__factory.ts +11 -0
- package/typechain-types/factories/IPBridgePTFactory__factory.ts +1041 -0
- package/typechain-types/factories/IPBridgedPrincipalToken__factory.ts +11 -0
- package/typechain-types/factories/IPLoopPositionBoxFactory__factory.ts +420 -0
- package/typechain-types/factories/IPLoopPositionBox__factory.ts +198 -0
- package/typechain-types/factories/IPMerkleDistributor__factory.ts +0 -67
- package/typechain-types/factories/IPMultiTokenMerkleDistributor__factory.ts +0 -120
- package/typechain-types/factories/IPPTLooperView__factory.ts +331 -0
- package/typechain-types/factories/IPPTLooper__factory.ts +2506 -0
- package/typechain-types/factories/IPoolAddressesProvider__factory.ts +526 -0
- package/typechain-types/factories/IPoolDataProviderV31__factory.ts +596 -0
- package/typechain-types/factories/IPoolDataProviderV3__factory.ts +554 -0
- package/typechain-types/factories/IPool__factory.ts +1609 -0
- package/typechain-types/factories/IPot__factory.ts +98 -0
- package/typechain-types/factories/IPriceOracleGetter__factory.ts +71 -0
- package/typechain-types/factories/ISDAI__factory.ts +645 -0
- package/typechain-types/factories/LoopPositionBoxFactory__factory.ts +648 -0
- package/typechain-types/factories/LoopPositionBox__factory.ts +277 -0
- package/typechain-types/factories/MorphoBlueMoneyMarketView__factory.ts +384 -0
- package/typechain-types/factories/MorphoBlueMoneyMarket__factory.ts +691 -0
- package/typechain-types/factories/Multicall__factory.ts +104 -0
- package/typechain-types/factories/OAppPreCrimeSimulatorUpgradeable__factory.ts +311 -0
- package/typechain-types/factories/OFTAdapterAltImpl__factory.ts +49 -25
- package/typechain-types/factories/OFTAdapterImpl__factory.ts +49 -25
- package/typechain-types/factories/OFTAdapterUpgradeable__factory.ts +1287 -0
- package/typechain-types/factories/OFTAdapter__factory.ts +11 -0
- package/typechain-types/factories/OFTCoreUpgradeable__factory.ts +1283 -0
- package/typechain-types/factories/OFTCore__factory.ts +11 -0
- package/typechain-types/factories/OFTUpgradeable__factory.ts +1553 -0
- package/typechain-types/factories/OFT__factory.ts +11 -0
- package/typechain-types/factories/OptionsBuilder__factory.ts +91 -0
- package/typechain-types/factories/PTLooperBase__factory.ts +2656 -0
- package/typechain-types/factories/PTLooperView__factory.ts +467 -0
- package/typechain-types/factories/PendleBridgePTFactory__factory.ts +1481 -0
- package/typechain-types/factories/PendleBridgedPrincipalTokenAlt__factory.ts +60 -58
- package/typechain-types/factories/PendleBridgedPrincipalToken__factory.ts +60 -58
- package/typechain-types/factories/PendleLimitRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleMerkleDistributor__factory.ts +1 -87
- package/typechain-types/factories/PendleMultiTokenMerkleDistributor__factory.ts +1 -121
- package/typechain-types/factories/PendleOFTAlt__factory.ts +1628 -0
- package/typechain-types/factories/PendleOFT__factory.ts +1599 -0
- package/typechain-types/factories/PendlePTLooperView__factory.ts +499 -0
- package/typechain-types/factories/PendlePTLooper__factory.ts +2738 -0
- package/typechain-types/factories/PendlePTOFTAdapterFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleSwap__factory.ts +1 -1
- package/typechain-types/factories/UUPSUpgradeable__factory.ts +0 -13
- package/typechain-types/hardhat.d.ts +103 -49
- package/typechain-types/index.ts +24 -10
- package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.dbg.json +0 -4
- package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.json +0 -280
- package/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol +0 -38
|
@@ -0,0 +1,2738 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
5
|
+
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
6
|
+
import type {
|
|
7
|
+
PendlePTLooper,
|
|
8
|
+
PendlePTLooperInterface,
|
|
9
|
+
} from "../PendlePTLooper";
|
|
10
|
+
|
|
11
|
+
const _abi = [
|
|
12
|
+
{
|
|
13
|
+
inputs: [
|
|
14
|
+
{
|
|
15
|
+
internalType: "address",
|
|
16
|
+
name: "treasury",
|
|
17
|
+
type: "address",
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
internalType: "address",
|
|
21
|
+
name: "positionBoxFactory",
|
|
22
|
+
type: "address",
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
stateMutability: "nonpayable",
|
|
26
|
+
type: "constructor",
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
anonymous: false,
|
|
30
|
+
inputs: [],
|
|
31
|
+
name: "EIP712DomainChanged",
|
|
32
|
+
type: "event",
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
anonymous: false,
|
|
36
|
+
inputs: [
|
|
37
|
+
{
|
|
38
|
+
indexed: false,
|
|
39
|
+
internalType: "uint8",
|
|
40
|
+
name: "version",
|
|
41
|
+
type: "uint8",
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
name: "Initialized",
|
|
45
|
+
type: "event",
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
anonymous: false,
|
|
49
|
+
inputs: [
|
|
50
|
+
{
|
|
51
|
+
indexed: true,
|
|
52
|
+
internalType: "contract IPLoopPositionBox",
|
|
53
|
+
name: "box",
|
|
54
|
+
type: "address",
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
indexed: false,
|
|
58
|
+
internalType: "uint256",
|
|
59
|
+
name: "ptLent",
|
|
60
|
+
type: "uint256",
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
indexed: false,
|
|
64
|
+
internalType: "uint256",
|
|
65
|
+
name: "debtBorrowed",
|
|
66
|
+
type: "uint256",
|
|
67
|
+
},
|
|
68
|
+
],
|
|
69
|
+
name: "MoneyMarketLentThenBorrowed",
|
|
70
|
+
type: "event",
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
anonymous: false,
|
|
74
|
+
inputs: [
|
|
75
|
+
{
|
|
76
|
+
indexed: true,
|
|
77
|
+
internalType: "contract IPLoopPositionBox",
|
|
78
|
+
name: "box",
|
|
79
|
+
type: "address",
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
indexed: false,
|
|
83
|
+
internalType: "uint256",
|
|
84
|
+
name: "debtRepaid",
|
|
85
|
+
type: "uint256",
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
indexed: false,
|
|
89
|
+
internalType: "uint256",
|
|
90
|
+
name: "ptWithdrawn",
|
|
91
|
+
type: "uint256",
|
|
92
|
+
},
|
|
93
|
+
],
|
|
94
|
+
name: "MoneyMarketRepaidThenWithdrawn",
|
|
95
|
+
type: "event",
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
anonymous: false,
|
|
99
|
+
inputs: [
|
|
100
|
+
{
|
|
101
|
+
indexed: true,
|
|
102
|
+
internalType: "address",
|
|
103
|
+
name: "previousOwner",
|
|
104
|
+
type: "address",
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
indexed: true,
|
|
108
|
+
internalType: "address",
|
|
109
|
+
name: "newOwner",
|
|
110
|
+
type: "address",
|
|
111
|
+
},
|
|
112
|
+
],
|
|
113
|
+
name: "OwnershipTransferred",
|
|
114
|
+
type: "event",
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
anonymous: false,
|
|
118
|
+
inputs: [
|
|
119
|
+
{
|
|
120
|
+
indexed: true,
|
|
121
|
+
internalType: "address",
|
|
122
|
+
name: "owner",
|
|
123
|
+
type: "address",
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
indexed: true,
|
|
127
|
+
internalType: "bytes32",
|
|
128
|
+
name: "boxId",
|
|
129
|
+
type: "bytes32",
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
indexed: false,
|
|
133
|
+
internalType: "bytes32",
|
|
134
|
+
name: "ownerSigHash",
|
|
135
|
+
type: "bytes32",
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
indexed: false,
|
|
139
|
+
internalType: "uint256",
|
|
140
|
+
name: "nonce",
|
|
141
|
+
type: "uint256",
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
indexed: false,
|
|
145
|
+
internalType: "uint256",
|
|
146
|
+
name: "preDebtBalance",
|
|
147
|
+
type: "uint256",
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
indexed: false,
|
|
151
|
+
internalType: "uint256",
|
|
152
|
+
name: "netPtToSwap",
|
|
153
|
+
type: "uint256",
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
indexed: false,
|
|
157
|
+
internalType: "uint256",
|
|
158
|
+
name: "postDebtBalance",
|
|
159
|
+
type: "uint256",
|
|
160
|
+
},
|
|
161
|
+
],
|
|
162
|
+
name: "PositionDecreased",
|
|
163
|
+
type: "event",
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
anonymous: false,
|
|
167
|
+
inputs: [
|
|
168
|
+
{
|
|
169
|
+
indexed: true,
|
|
170
|
+
internalType: "address",
|
|
171
|
+
name: "owner",
|
|
172
|
+
type: "address",
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
indexed: true,
|
|
176
|
+
internalType: "bytes32",
|
|
177
|
+
name: "boxId",
|
|
178
|
+
type: "bytes32",
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
indexed: false,
|
|
182
|
+
internalType: "bytes32",
|
|
183
|
+
name: "ownerSigHash",
|
|
184
|
+
type: "bytes32",
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
indexed: false,
|
|
188
|
+
internalType: "uint256",
|
|
189
|
+
name: "nonce",
|
|
190
|
+
type: "uint256",
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
indexed: false,
|
|
194
|
+
internalType: "uint256",
|
|
195
|
+
name: "preDebtBalance",
|
|
196
|
+
type: "uint256",
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
indexed: false,
|
|
200
|
+
internalType: "uint256",
|
|
201
|
+
name: "netPtToMM",
|
|
202
|
+
type: "uint256",
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
indexed: false,
|
|
206
|
+
internalType: "uint256",
|
|
207
|
+
name: "postDebtBalance",
|
|
208
|
+
type: "uint256",
|
|
209
|
+
},
|
|
210
|
+
],
|
|
211
|
+
name: "PositionIncreased",
|
|
212
|
+
type: "event",
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
anonymous: false,
|
|
216
|
+
inputs: [
|
|
217
|
+
{
|
|
218
|
+
indexed: false,
|
|
219
|
+
internalType: "address",
|
|
220
|
+
name: "executor",
|
|
221
|
+
type: "address",
|
|
222
|
+
},
|
|
223
|
+
],
|
|
224
|
+
name: "SetExecutor",
|
|
225
|
+
type: "event",
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
anonymous: false,
|
|
229
|
+
inputs: [
|
|
230
|
+
{
|
|
231
|
+
indexed: false,
|
|
232
|
+
internalType: "address",
|
|
233
|
+
name: "proposer",
|
|
234
|
+
type: "address",
|
|
235
|
+
},
|
|
236
|
+
],
|
|
237
|
+
name: "SetProposer",
|
|
238
|
+
type: "event",
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
anonymous: false,
|
|
242
|
+
inputs: [
|
|
243
|
+
{
|
|
244
|
+
indexed: true,
|
|
245
|
+
internalType: "contract IPLoopPositionBox",
|
|
246
|
+
name: "box",
|
|
247
|
+
type: "address",
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
indexed: true,
|
|
251
|
+
internalType: "address",
|
|
252
|
+
name: "token",
|
|
253
|
+
type: "address",
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
indexed: false,
|
|
257
|
+
internalType: "uint256",
|
|
258
|
+
name: "amount",
|
|
259
|
+
type: "uint256",
|
|
260
|
+
},
|
|
261
|
+
],
|
|
262
|
+
name: "TokenBridged",
|
|
263
|
+
type: "event",
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
anonymous: false,
|
|
267
|
+
inputs: [
|
|
268
|
+
{
|
|
269
|
+
indexed: true,
|
|
270
|
+
internalType: "contract IPLoopPositionBox",
|
|
271
|
+
name: "box",
|
|
272
|
+
type: "address",
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
indexed: true,
|
|
276
|
+
internalType: "address",
|
|
277
|
+
name: "tokenIn",
|
|
278
|
+
type: "address",
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
indexed: false,
|
|
282
|
+
internalType: "uint256",
|
|
283
|
+
name: "netIn",
|
|
284
|
+
type: "uint256",
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
indexed: true,
|
|
288
|
+
internalType: "address",
|
|
289
|
+
name: "tokenOut",
|
|
290
|
+
type: "address",
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
indexed: false,
|
|
294
|
+
internalType: "uint256",
|
|
295
|
+
name: "netOut",
|
|
296
|
+
type: "uint256",
|
|
297
|
+
},
|
|
298
|
+
],
|
|
299
|
+
name: "TokenSwapped",
|
|
300
|
+
type: "event",
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
anonymous: false,
|
|
304
|
+
inputs: [
|
|
305
|
+
{
|
|
306
|
+
indexed: true,
|
|
307
|
+
internalType: "address",
|
|
308
|
+
name: "owner",
|
|
309
|
+
type: "address",
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
indexed: true,
|
|
313
|
+
internalType: "bytes32",
|
|
314
|
+
name: "boxId",
|
|
315
|
+
type: "bytes32",
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
indexed: false,
|
|
319
|
+
internalType: "bytes32",
|
|
320
|
+
name: "ownerSigHash",
|
|
321
|
+
type: "bytes32",
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
indexed: false,
|
|
325
|
+
internalType: "uint32",
|
|
326
|
+
name: "sessionNonce",
|
|
327
|
+
type: "uint32",
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
indexed: false,
|
|
331
|
+
internalType: "bool",
|
|
332
|
+
name: "isInitiate",
|
|
333
|
+
type: "bool",
|
|
334
|
+
},
|
|
335
|
+
],
|
|
336
|
+
name: "UserRequestStateSet",
|
|
337
|
+
type: "event",
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
anonymous: false,
|
|
341
|
+
inputs: [
|
|
342
|
+
{
|
|
343
|
+
indexed: true,
|
|
344
|
+
internalType: "address",
|
|
345
|
+
name: "owner",
|
|
346
|
+
type: "address",
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
indexed: true,
|
|
350
|
+
internalType: "bytes32",
|
|
351
|
+
name: "boxId",
|
|
352
|
+
type: "bytes32",
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
indexed: false,
|
|
356
|
+
internalType: "bytes32",
|
|
357
|
+
name: "ownerSigHash",
|
|
358
|
+
type: "bytes32",
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
indexed: false,
|
|
362
|
+
internalType: "uint256",
|
|
363
|
+
name: "nonce",
|
|
364
|
+
type: "uint256",
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
indexed: false,
|
|
368
|
+
internalType: "address",
|
|
369
|
+
name: "tokenOut",
|
|
370
|
+
type: "address",
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
indexed: false,
|
|
374
|
+
internalType: "uint256",
|
|
375
|
+
name: "netOut",
|
|
376
|
+
type: "uint256",
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
indexed: false,
|
|
380
|
+
internalType: "uint256",
|
|
381
|
+
name: "fee",
|
|
382
|
+
type: "uint256",
|
|
383
|
+
},
|
|
384
|
+
],
|
|
385
|
+
name: "Withdrawn",
|
|
386
|
+
type: "event",
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
inputs: [],
|
|
390
|
+
name: "POSITION_BOX_FACTORY",
|
|
391
|
+
outputs: [
|
|
392
|
+
{
|
|
393
|
+
internalType: "contract IPLoopPositionBoxFactory",
|
|
394
|
+
name: "",
|
|
395
|
+
type: "address",
|
|
396
|
+
},
|
|
397
|
+
],
|
|
398
|
+
stateMutability: "view",
|
|
399
|
+
type: "function",
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
inputs: [],
|
|
403
|
+
name: "TREASURY",
|
|
404
|
+
outputs: [
|
|
405
|
+
{
|
|
406
|
+
internalType: "address",
|
|
407
|
+
name: "",
|
|
408
|
+
type: "address",
|
|
409
|
+
},
|
|
410
|
+
],
|
|
411
|
+
stateMutability: "view",
|
|
412
|
+
type: "function",
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
inputs: [
|
|
416
|
+
{
|
|
417
|
+
internalType: "address",
|
|
418
|
+
name: "owner",
|
|
419
|
+
type: "address",
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
internalType: "bytes32",
|
|
423
|
+
name: "boxId",
|
|
424
|
+
type: "bytes32",
|
|
425
|
+
},
|
|
426
|
+
],
|
|
427
|
+
name: "claimMoneyMarketRewards",
|
|
428
|
+
outputs: [],
|
|
429
|
+
stateMutability: "nonpayable",
|
|
430
|
+
type: "function",
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
inputs: [],
|
|
434
|
+
name: "claimOwnership",
|
|
435
|
+
outputs: [],
|
|
436
|
+
stateMutability: "nonpayable",
|
|
437
|
+
type: "function",
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
inputs: [
|
|
441
|
+
{
|
|
442
|
+
components: [
|
|
443
|
+
{
|
|
444
|
+
components: [
|
|
445
|
+
{
|
|
446
|
+
internalType: "address",
|
|
447
|
+
name: "owner",
|
|
448
|
+
type: "address",
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
internalType: "bytes32",
|
|
452
|
+
name: "boxId",
|
|
453
|
+
type: "bytes32",
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
internalType: "uint256",
|
|
457
|
+
name: "expiry",
|
|
458
|
+
type: "uint256",
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
internalType: "bytes32",
|
|
462
|
+
name: "ownerSigHash",
|
|
463
|
+
type: "bytes32",
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
internalType: "uint256",
|
|
467
|
+
name: "nonce",
|
|
468
|
+
type: "uint256",
|
|
469
|
+
},
|
|
470
|
+
],
|
|
471
|
+
internalType: "struct IPPTLooper.BoxPermit",
|
|
472
|
+
name: "permit",
|
|
473
|
+
type: "tuple",
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
components: [
|
|
477
|
+
{
|
|
478
|
+
internalType: "address",
|
|
479
|
+
name: "extRouter",
|
|
480
|
+
type: "address",
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
internalType: "address",
|
|
484
|
+
name: "approve",
|
|
485
|
+
type: "address",
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
internalType: "bytes",
|
|
489
|
+
name: "callData",
|
|
490
|
+
type: "bytes",
|
|
491
|
+
},
|
|
492
|
+
],
|
|
493
|
+
internalType: "struct IPPTLooper.BoxApprovedCall",
|
|
494
|
+
name: "swap",
|
|
495
|
+
type: "tuple",
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
components: [
|
|
499
|
+
{
|
|
500
|
+
internalType: "address",
|
|
501
|
+
name: "extRouter",
|
|
502
|
+
type: "address",
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
internalType: "address",
|
|
506
|
+
name: "approve",
|
|
507
|
+
type: "address",
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
internalType: "bytes",
|
|
511
|
+
name: "callData",
|
|
512
|
+
type: "bytes",
|
|
513
|
+
},
|
|
514
|
+
],
|
|
515
|
+
internalType: "struct IPPTLooper.BoxApprovedCall",
|
|
516
|
+
name: "bridge",
|
|
517
|
+
type: "tuple",
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
internalType: "uint256",
|
|
521
|
+
name: "maxBridgeAmount",
|
|
522
|
+
type: "uint256",
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
internalType: "uint256",
|
|
526
|
+
name: "bridgeNativeFee",
|
|
527
|
+
type: "uint256",
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
internalType: "uint256",
|
|
531
|
+
name: "minDebtRepaid",
|
|
532
|
+
type: "uint256",
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
internalType: "uint256",
|
|
536
|
+
name: "amountPtWithdrawn",
|
|
537
|
+
type: "uint256",
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
internalType: "uint256",
|
|
541
|
+
name: "minPtWithdrawn",
|
|
542
|
+
type: "uint256",
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
internalType: "uint256",
|
|
546
|
+
name: "postWithdrawMaxLTV",
|
|
547
|
+
type: "uint256",
|
|
548
|
+
},
|
|
549
|
+
],
|
|
550
|
+
internalType: "struct IPPTLooper.DecreasePositionMessage",
|
|
551
|
+
name: "ms",
|
|
552
|
+
type: "tuple",
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
internalType: "bytes",
|
|
556
|
+
name: "proposerSig",
|
|
557
|
+
type: "bytes",
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
components: [
|
|
561
|
+
{
|
|
562
|
+
components: [
|
|
563
|
+
{
|
|
564
|
+
components: [
|
|
565
|
+
{
|
|
566
|
+
internalType: "bytes32",
|
|
567
|
+
name: "boxId",
|
|
568
|
+
type: "bytes32",
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
internalType: "uint256",
|
|
572
|
+
name: "expiry",
|
|
573
|
+
type: "uint256",
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
internalType: "uint32",
|
|
577
|
+
name: "sessionNonce",
|
|
578
|
+
type: "uint32",
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
internalType: "uint32",
|
|
582
|
+
name: "permitNonceCap",
|
|
583
|
+
type: "uint32",
|
|
584
|
+
},
|
|
585
|
+
],
|
|
586
|
+
internalType: "struct IPPTLooper.RequestHeader",
|
|
587
|
+
name: "header",
|
|
588
|
+
type: "tuple",
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
internalType: "uint256",
|
|
592
|
+
name: "targetMaxDebt",
|
|
593
|
+
type: "uint256",
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
internalType: "uint256",
|
|
597
|
+
name: "minPtToTokenSwapRate",
|
|
598
|
+
type: "uint256",
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
internalType: "uint256",
|
|
602
|
+
name: "postWithdrawMaxLTV",
|
|
603
|
+
type: "uint256",
|
|
604
|
+
},
|
|
605
|
+
],
|
|
606
|
+
internalType: "struct IPPTLooper.DecreasePositionRequest",
|
|
607
|
+
name: "decreasePositionReq",
|
|
608
|
+
type: "tuple",
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
components: [
|
|
612
|
+
{
|
|
613
|
+
components: [
|
|
614
|
+
{
|
|
615
|
+
internalType: "bytes32",
|
|
616
|
+
name: "boxId",
|
|
617
|
+
type: "bytes32",
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
internalType: "uint256",
|
|
621
|
+
name: "expiry",
|
|
622
|
+
type: "uint256",
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
internalType: "uint32",
|
|
626
|
+
name: "sessionNonce",
|
|
627
|
+
type: "uint32",
|
|
628
|
+
},
|
|
629
|
+
{
|
|
630
|
+
internalType: "uint32",
|
|
631
|
+
name: "permitNonceCap",
|
|
632
|
+
type: "uint32",
|
|
633
|
+
},
|
|
634
|
+
],
|
|
635
|
+
internalType: "struct IPPTLooper.RequestHeader",
|
|
636
|
+
name: "header",
|
|
637
|
+
type: "tuple",
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
internalType: "bool",
|
|
641
|
+
name: "receiveOnSpoke",
|
|
642
|
+
type: "bool",
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
internalType: "address",
|
|
646
|
+
name: "hubTokenOut",
|
|
647
|
+
type: "address",
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
internalType: "address",
|
|
651
|
+
name: "dstTokenOut",
|
|
652
|
+
type: "address",
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
internalType: "uint256",
|
|
656
|
+
name: "minTokenOut",
|
|
657
|
+
type: "uint256",
|
|
658
|
+
},
|
|
659
|
+
],
|
|
660
|
+
internalType: "struct IPPTLooper.SwapBridgeWithdrawAllRequest",
|
|
661
|
+
name: "swapBridgeWithdrawAllReq",
|
|
662
|
+
type: "tuple",
|
|
663
|
+
},
|
|
664
|
+
],
|
|
665
|
+
internalType: "struct IPPTLooper.BatchDecPosThenWithdrawRequest",
|
|
666
|
+
name: "req",
|
|
667
|
+
type: "tuple",
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
internalType: "bytes",
|
|
671
|
+
name: "ownerSig",
|
|
672
|
+
type: "bytes",
|
|
673
|
+
},
|
|
674
|
+
],
|
|
675
|
+
name: "decreaseLoopPosition",
|
|
676
|
+
outputs: [],
|
|
677
|
+
stateMutability: "payable",
|
|
678
|
+
type: "function",
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
inputs: [
|
|
682
|
+
{
|
|
683
|
+
components: [
|
|
684
|
+
{
|
|
685
|
+
components: [
|
|
686
|
+
{
|
|
687
|
+
internalType: "address",
|
|
688
|
+
name: "owner",
|
|
689
|
+
type: "address",
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
internalType: "bytes32",
|
|
693
|
+
name: "boxId",
|
|
694
|
+
type: "bytes32",
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
internalType: "uint256",
|
|
698
|
+
name: "expiry",
|
|
699
|
+
type: "uint256",
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
internalType: "bytes32",
|
|
703
|
+
name: "ownerSigHash",
|
|
704
|
+
type: "bytes32",
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
internalType: "uint256",
|
|
708
|
+
name: "nonce",
|
|
709
|
+
type: "uint256",
|
|
710
|
+
},
|
|
711
|
+
],
|
|
712
|
+
internalType: "struct IPPTLooper.BoxPermit",
|
|
713
|
+
name: "permit",
|
|
714
|
+
type: "tuple",
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
components: [
|
|
718
|
+
{
|
|
719
|
+
internalType: "address",
|
|
720
|
+
name: "extRouter",
|
|
721
|
+
type: "address",
|
|
722
|
+
},
|
|
723
|
+
{
|
|
724
|
+
internalType: "address",
|
|
725
|
+
name: "approve",
|
|
726
|
+
type: "address",
|
|
727
|
+
},
|
|
728
|
+
{
|
|
729
|
+
internalType: "bytes",
|
|
730
|
+
name: "callData",
|
|
731
|
+
type: "bytes",
|
|
732
|
+
},
|
|
733
|
+
],
|
|
734
|
+
internalType: "struct IPPTLooper.BoxApprovedCall",
|
|
735
|
+
name: "swap",
|
|
736
|
+
type: "tuple",
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
components: [
|
|
740
|
+
{
|
|
741
|
+
internalType: "address",
|
|
742
|
+
name: "extRouter",
|
|
743
|
+
type: "address",
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
internalType: "address",
|
|
747
|
+
name: "approve",
|
|
748
|
+
type: "address",
|
|
749
|
+
},
|
|
750
|
+
{
|
|
751
|
+
internalType: "bytes",
|
|
752
|
+
name: "callData",
|
|
753
|
+
type: "bytes",
|
|
754
|
+
},
|
|
755
|
+
],
|
|
756
|
+
internalType: "struct IPPTLooper.BoxApprovedCall",
|
|
757
|
+
name: "bridge",
|
|
758
|
+
type: "tuple",
|
|
759
|
+
},
|
|
760
|
+
{
|
|
761
|
+
internalType: "uint256",
|
|
762
|
+
name: "maxBridgeAmount",
|
|
763
|
+
type: "uint256",
|
|
764
|
+
},
|
|
765
|
+
{
|
|
766
|
+
internalType: "uint256",
|
|
767
|
+
name: "bridgeNativeFee",
|
|
768
|
+
type: "uint256",
|
|
769
|
+
},
|
|
770
|
+
{
|
|
771
|
+
internalType: "uint256",
|
|
772
|
+
name: "minDebtRepaid",
|
|
773
|
+
type: "uint256",
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
internalType: "uint256",
|
|
777
|
+
name: "amountPtWithdrawn",
|
|
778
|
+
type: "uint256",
|
|
779
|
+
},
|
|
780
|
+
{
|
|
781
|
+
internalType: "uint256",
|
|
782
|
+
name: "minPtWithdrawn",
|
|
783
|
+
type: "uint256",
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
internalType: "uint256",
|
|
787
|
+
name: "postWithdrawMaxLTV",
|
|
788
|
+
type: "uint256",
|
|
789
|
+
},
|
|
790
|
+
],
|
|
791
|
+
internalType: "struct IPPTLooper.DecreasePositionMessage",
|
|
792
|
+
name: "ms",
|
|
793
|
+
type: "tuple",
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
internalType: "bytes",
|
|
797
|
+
name: "proposerSig",
|
|
798
|
+
type: "bytes",
|
|
799
|
+
},
|
|
800
|
+
{
|
|
801
|
+
components: [
|
|
802
|
+
{
|
|
803
|
+
components: [
|
|
804
|
+
{
|
|
805
|
+
internalType: "bytes32",
|
|
806
|
+
name: "boxId",
|
|
807
|
+
type: "bytes32",
|
|
808
|
+
},
|
|
809
|
+
{
|
|
810
|
+
internalType: "uint256",
|
|
811
|
+
name: "expiry",
|
|
812
|
+
type: "uint256",
|
|
813
|
+
},
|
|
814
|
+
{
|
|
815
|
+
internalType: "uint32",
|
|
816
|
+
name: "sessionNonce",
|
|
817
|
+
type: "uint32",
|
|
818
|
+
},
|
|
819
|
+
{
|
|
820
|
+
internalType: "uint32",
|
|
821
|
+
name: "permitNonceCap",
|
|
822
|
+
type: "uint32",
|
|
823
|
+
},
|
|
824
|
+
],
|
|
825
|
+
internalType: "struct IPPTLooper.RequestHeader",
|
|
826
|
+
name: "header",
|
|
827
|
+
type: "tuple",
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
internalType: "uint256",
|
|
831
|
+
name: "targetMaxDebt",
|
|
832
|
+
type: "uint256",
|
|
833
|
+
},
|
|
834
|
+
{
|
|
835
|
+
internalType: "uint256",
|
|
836
|
+
name: "minPtToTokenSwapRate",
|
|
837
|
+
type: "uint256",
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
internalType: "uint256",
|
|
841
|
+
name: "postWithdrawMaxLTV",
|
|
842
|
+
type: "uint256",
|
|
843
|
+
},
|
|
844
|
+
],
|
|
845
|
+
internalType: "struct IPPTLooper.DecreasePositionRequest",
|
|
846
|
+
name: "req",
|
|
847
|
+
type: "tuple",
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
internalType: "bytes",
|
|
851
|
+
name: "ownerSig",
|
|
852
|
+
type: "bytes",
|
|
853
|
+
},
|
|
854
|
+
],
|
|
855
|
+
name: "decreaseLoopPosition",
|
|
856
|
+
outputs: [],
|
|
857
|
+
stateMutability: "payable",
|
|
858
|
+
type: "function",
|
|
859
|
+
},
|
|
860
|
+
{
|
|
861
|
+
inputs: [
|
|
862
|
+
{
|
|
863
|
+
internalType: "bytes32",
|
|
864
|
+
name: "boxId",
|
|
865
|
+
type: "bytes32",
|
|
866
|
+
},
|
|
867
|
+
{
|
|
868
|
+
internalType: "address",
|
|
869
|
+
name: "tokenIn",
|
|
870
|
+
type: "address",
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
internalType: "uint256",
|
|
874
|
+
name: "amountIn",
|
|
875
|
+
type: "uint256",
|
|
876
|
+
},
|
|
877
|
+
{
|
|
878
|
+
components: [
|
|
879
|
+
{
|
|
880
|
+
internalType: "address",
|
|
881
|
+
name: "extRouter",
|
|
882
|
+
type: "address",
|
|
883
|
+
},
|
|
884
|
+
{
|
|
885
|
+
internalType: "address",
|
|
886
|
+
name: "approve",
|
|
887
|
+
type: "address",
|
|
888
|
+
},
|
|
889
|
+
{
|
|
890
|
+
internalType: "bytes",
|
|
891
|
+
name: "callData",
|
|
892
|
+
type: "bytes",
|
|
893
|
+
},
|
|
894
|
+
],
|
|
895
|
+
internalType: "struct IPPTLooper.BoxApprovedCall",
|
|
896
|
+
name: "swapCall",
|
|
897
|
+
type: "tuple",
|
|
898
|
+
},
|
|
899
|
+
{
|
|
900
|
+
internalType: "uint256",
|
|
901
|
+
name: "minDebtTokenSwapOut",
|
|
902
|
+
type: "uint256",
|
|
903
|
+
},
|
|
904
|
+
],
|
|
905
|
+
name: "depositToBox",
|
|
906
|
+
outputs: [
|
|
907
|
+
{
|
|
908
|
+
internalType: "uint256",
|
|
909
|
+
name: "amountDeposited",
|
|
910
|
+
type: "uint256",
|
|
911
|
+
},
|
|
912
|
+
],
|
|
913
|
+
stateMutability: "payable",
|
|
914
|
+
type: "function",
|
|
915
|
+
},
|
|
916
|
+
{
|
|
917
|
+
inputs: [],
|
|
918
|
+
name: "eip712Domain",
|
|
919
|
+
outputs: [
|
|
920
|
+
{
|
|
921
|
+
internalType: "bytes1",
|
|
922
|
+
name: "fields",
|
|
923
|
+
type: "bytes1",
|
|
924
|
+
},
|
|
925
|
+
{
|
|
926
|
+
internalType: "string",
|
|
927
|
+
name: "name",
|
|
928
|
+
type: "string",
|
|
929
|
+
},
|
|
930
|
+
{
|
|
931
|
+
internalType: "string",
|
|
932
|
+
name: "version",
|
|
933
|
+
type: "string",
|
|
934
|
+
},
|
|
935
|
+
{
|
|
936
|
+
internalType: "uint256",
|
|
937
|
+
name: "chainId",
|
|
938
|
+
type: "uint256",
|
|
939
|
+
},
|
|
940
|
+
{
|
|
941
|
+
internalType: "address",
|
|
942
|
+
name: "verifyingContract",
|
|
943
|
+
type: "address",
|
|
944
|
+
},
|
|
945
|
+
{
|
|
946
|
+
internalType: "bytes32",
|
|
947
|
+
name: "salt",
|
|
948
|
+
type: "bytes32",
|
|
949
|
+
},
|
|
950
|
+
{
|
|
951
|
+
internalType: "uint256[]",
|
|
952
|
+
name: "extensions",
|
|
953
|
+
type: "uint256[]",
|
|
954
|
+
},
|
|
955
|
+
],
|
|
956
|
+
stateMutability: "view",
|
|
957
|
+
type: "function",
|
|
958
|
+
},
|
|
959
|
+
{
|
|
960
|
+
inputs: [],
|
|
961
|
+
name: "executor",
|
|
962
|
+
outputs: [
|
|
963
|
+
{
|
|
964
|
+
internalType: "address",
|
|
965
|
+
name: "",
|
|
966
|
+
type: "address",
|
|
967
|
+
},
|
|
968
|
+
],
|
|
969
|
+
stateMutability: "view",
|
|
970
|
+
type: "function",
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
inputs: [
|
|
974
|
+
{
|
|
975
|
+
components: [
|
|
976
|
+
{
|
|
977
|
+
internalType: "address",
|
|
978
|
+
name: "extRouter",
|
|
979
|
+
type: "address",
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
internalType: "address",
|
|
983
|
+
name: "approve",
|
|
984
|
+
type: "address",
|
|
985
|
+
},
|
|
986
|
+
{
|
|
987
|
+
internalType: "bytes",
|
|
988
|
+
name: "callData",
|
|
989
|
+
type: "bytes",
|
|
990
|
+
},
|
|
991
|
+
],
|
|
992
|
+
internalType: "struct IPPTLooper.BoxApprovedCall",
|
|
993
|
+
name: "sb",
|
|
994
|
+
type: "tuple",
|
|
995
|
+
},
|
|
996
|
+
],
|
|
997
|
+
name: "hashBoxApprovedCall",
|
|
998
|
+
outputs: [
|
|
999
|
+
{
|
|
1000
|
+
internalType: "bytes32",
|
|
1001
|
+
name: "",
|
|
1002
|
+
type: "bytes32",
|
|
1003
|
+
},
|
|
1004
|
+
],
|
|
1005
|
+
stateMutability: "pure",
|
|
1006
|
+
type: "function",
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
inputs: [
|
|
1010
|
+
{
|
|
1011
|
+
components: [
|
|
1012
|
+
{
|
|
1013
|
+
internalType: "address",
|
|
1014
|
+
name: "owner",
|
|
1015
|
+
type: "address",
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
internalType: "bytes32",
|
|
1019
|
+
name: "boxId",
|
|
1020
|
+
type: "bytes32",
|
|
1021
|
+
},
|
|
1022
|
+
{
|
|
1023
|
+
internalType: "uint256",
|
|
1024
|
+
name: "expiry",
|
|
1025
|
+
type: "uint256",
|
|
1026
|
+
},
|
|
1027
|
+
{
|
|
1028
|
+
internalType: "bytes32",
|
|
1029
|
+
name: "ownerSigHash",
|
|
1030
|
+
type: "bytes32",
|
|
1031
|
+
},
|
|
1032
|
+
{
|
|
1033
|
+
internalType: "uint256",
|
|
1034
|
+
name: "nonce",
|
|
1035
|
+
type: "uint256",
|
|
1036
|
+
},
|
|
1037
|
+
],
|
|
1038
|
+
internalType: "struct IPPTLooper.BoxPermit",
|
|
1039
|
+
name: "permit",
|
|
1040
|
+
type: "tuple",
|
|
1041
|
+
},
|
|
1042
|
+
],
|
|
1043
|
+
name: "hashBoxPermit",
|
|
1044
|
+
outputs: [
|
|
1045
|
+
{
|
|
1046
|
+
internalType: "bytes32",
|
|
1047
|
+
name: "",
|
|
1048
|
+
type: "bytes32",
|
|
1049
|
+
},
|
|
1050
|
+
],
|
|
1051
|
+
stateMutability: "pure",
|
|
1052
|
+
type: "function",
|
|
1053
|
+
},
|
|
1054
|
+
{
|
|
1055
|
+
inputs: [
|
|
1056
|
+
{
|
|
1057
|
+
components: [
|
|
1058
|
+
{
|
|
1059
|
+
internalType: "bytes32",
|
|
1060
|
+
name: "boxId",
|
|
1061
|
+
type: "bytes32",
|
|
1062
|
+
},
|
|
1063
|
+
{
|
|
1064
|
+
internalType: "uint256",
|
|
1065
|
+
name: "expiry",
|
|
1066
|
+
type: "uint256",
|
|
1067
|
+
},
|
|
1068
|
+
{
|
|
1069
|
+
internalType: "uint32",
|
|
1070
|
+
name: "sessionNonce",
|
|
1071
|
+
type: "uint32",
|
|
1072
|
+
},
|
|
1073
|
+
{
|
|
1074
|
+
internalType: "uint32",
|
|
1075
|
+
name: "permitNonceCap",
|
|
1076
|
+
type: "uint32",
|
|
1077
|
+
},
|
|
1078
|
+
],
|
|
1079
|
+
internalType: "struct IPPTLooper.RequestHeader",
|
|
1080
|
+
name: "header",
|
|
1081
|
+
type: "tuple",
|
|
1082
|
+
},
|
|
1083
|
+
],
|
|
1084
|
+
name: "hashRequestHeader",
|
|
1085
|
+
outputs: [
|
|
1086
|
+
{
|
|
1087
|
+
internalType: "bytes32",
|
|
1088
|
+
name: "",
|
|
1089
|
+
type: "bytes32",
|
|
1090
|
+
},
|
|
1091
|
+
],
|
|
1092
|
+
stateMutability: "pure",
|
|
1093
|
+
type: "function",
|
|
1094
|
+
},
|
|
1095
|
+
{
|
|
1096
|
+
inputs: [
|
|
1097
|
+
{
|
|
1098
|
+
components: [
|
|
1099
|
+
{
|
|
1100
|
+
components: [
|
|
1101
|
+
{
|
|
1102
|
+
components: [
|
|
1103
|
+
{
|
|
1104
|
+
internalType: "bytes32",
|
|
1105
|
+
name: "boxId",
|
|
1106
|
+
type: "bytes32",
|
|
1107
|
+
},
|
|
1108
|
+
{
|
|
1109
|
+
internalType: "uint256",
|
|
1110
|
+
name: "expiry",
|
|
1111
|
+
type: "uint256",
|
|
1112
|
+
},
|
|
1113
|
+
{
|
|
1114
|
+
internalType: "uint32",
|
|
1115
|
+
name: "sessionNonce",
|
|
1116
|
+
type: "uint32",
|
|
1117
|
+
},
|
|
1118
|
+
{
|
|
1119
|
+
internalType: "uint32",
|
|
1120
|
+
name: "permitNonceCap",
|
|
1121
|
+
type: "uint32",
|
|
1122
|
+
},
|
|
1123
|
+
],
|
|
1124
|
+
internalType: "struct IPPTLooper.RequestHeader",
|
|
1125
|
+
name: "header",
|
|
1126
|
+
type: "tuple",
|
|
1127
|
+
},
|
|
1128
|
+
{
|
|
1129
|
+
internalType: "uint256",
|
|
1130
|
+
name: "targetMaxDebt",
|
|
1131
|
+
type: "uint256",
|
|
1132
|
+
},
|
|
1133
|
+
{
|
|
1134
|
+
internalType: "uint256",
|
|
1135
|
+
name: "minPtToTokenSwapRate",
|
|
1136
|
+
type: "uint256",
|
|
1137
|
+
},
|
|
1138
|
+
{
|
|
1139
|
+
internalType: "uint256",
|
|
1140
|
+
name: "postWithdrawMaxLTV",
|
|
1141
|
+
type: "uint256",
|
|
1142
|
+
},
|
|
1143
|
+
],
|
|
1144
|
+
internalType: "struct IPPTLooper.DecreasePositionRequest",
|
|
1145
|
+
name: "decreasePositionReq",
|
|
1146
|
+
type: "tuple",
|
|
1147
|
+
},
|
|
1148
|
+
{
|
|
1149
|
+
components: [
|
|
1150
|
+
{
|
|
1151
|
+
components: [
|
|
1152
|
+
{
|
|
1153
|
+
internalType: "bytes32",
|
|
1154
|
+
name: "boxId",
|
|
1155
|
+
type: "bytes32",
|
|
1156
|
+
},
|
|
1157
|
+
{
|
|
1158
|
+
internalType: "uint256",
|
|
1159
|
+
name: "expiry",
|
|
1160
|
+
type: "uint256",
|
|
1161
|
+
},
|
|
1162
|
+
{
|
|
1163
|
+
internalType: "uint32",
|
|
1164
|
+
name: "sessionNonce",
|
|
1165
|
+
type: "uint32",
|
|
1166
|
+
},
|
|
1167
|
+
{
|
|
1168
|
+
internalType: "uint32",
|
|
1169
|
+
name: "permitNonceCap",
|
|
1170
|
+
type: "uint32",
|
|
1171
|
+
},
|
|
1172
|
+
],
|
|
1173
|
+
internalType: "struct IPPTLooper.RequestHeader",
|
|
1174
|
+
name: "header",
|
|
1175
|
+
type: "tuple",
|
|
1176
|
+
},
|
|
1177
|
+
{
|
|
1178
|
+
internalType: "bool",
|
|
1179
|
+
name: "receiveOnSpoke",
|
|
1180
|
+
type: "bool",
|
|
1181
|
+
},
|
|
1182
|
+
{
|
|
1183
|
+
internalType: "address",
|
|
1184
|
+
name: "hubTokenOut",
|
|
1185
|
+
type: "address",
|
|
1186
|
+
},
|
|
1187
|
+
{
|
|
1188
|
+
internalType: "address",
|
|
1189
|
+
name: "dstTokenOut",
|
|
1190
|
+
type: "address",
|
|
1191
|
+
},
|
|
1192
|
+
{
|
|
1193
|
+
internalType: "uint256",
|
|
1194
|
+
name: "minTokenOut",
|
|
1195
|
+
type: "uint256",
|
|
1196
|
+
},
|
|
1197
|
+
],
|
|
1198
|
+
internalType: "struct IPPTLooper.SwapBridgeWithdrawAllRequest",
|
|
1199
|
+
name: "swapBridgeWithdrawAllReq",
|
|
1200
|
+
type: "tuple",
|
|
1201
|
+
},
|
|
1202
|
+
],
|
|
1203
|
+
internalType: "struct IPPTLooper.BatchDecPosThenWithdrawRequest",
|
|
1204
|
+
name: "req",
|
|
1205
|
+
type: "tuple",
|
|
1206
|
+
},
|
|
1207
|
+
],
|
|
1208
|
+
name: "hashTyped_BatchDecPosThenWithdrawReq",
|
|
1209
|
+
outputs: [
|
|
1210
|
+
{
|
|
1211
|
+
internalType: "bytes32",
|
|
1212
|
+
name: "",
|
|
1213
|
+
type: "bytes32",
|
|
1214
|
+
},
|
|
1215
|
+
],
|
|
1216
|
+
stateMutability: "view",
|
|
1217
|
+
type: "function",
|
|
1218
|
+
},
|
|
1219
|
+
{
|
|
1220
|
+
inputs: [
|
|
1221
|
+
{
|
|
1222
|
+
components: [
|
|
1223
|
+
{
|
|
1224
|
+
components: [
|
|
1225
|
+
{
|
|
1226
|
+
internalType: "address",
|
|
1227
|
+
name: "owner",
|
|
1228
|
+
type: "address",
|
|
1229
|
+
},
|
|
1230
|
+
{
|
|
1231
|
+
internalType: "bytes32",
|
|
1232
|
+
name: "boxId",
|
|
1233
|
+
type: "bytes32",
|
|
1234
|
+
},
|
|
1235
|
+
{
|
|
1236
|
+
internalType: "uint256",
|
|
1237
|
+
name: "expiry",
|
|
1238
|
+
type: "uint256",
|
|
1239
|
+
},
|
|
1240
|
+
{
|
|
1241
|
+
internalType: "bytes32",
|
|
1242
|
+
name: "ownerSigHash",
|
|
1243
|
+
type: "bytes32",
|
|
1244
|
+
},
|
|
1245
|
+
{
|
|
1246
|
+
internalType: "uint256",
|
|
1247
|
+
name: "nonce",
|
|
1248
|
+
type: "uint256",
|
|
1249
|
+
},
|
|
1250
|
+
],
|
|
1251
|
+
internalType: "struct IPPTLooper.BoxPermit",
|
|
1252
|
+
name: "permit",
|
|
1253
|
+
type: "tuple",
|
|
1254
|
+
},
|
|
1255
|
+
{
|
|
1256
|
+
components: [
|
|
1257
|
+
{
|
|
1258
|
+
internalType: "address",
|
|
1259
|
+
name: "extRouter",
|
|
1260
|
+
type: "address",
|
|
1261
|
+
},
|
|
1262
|
+
{
|
|
1263
|
+
internalType: "address",
|
|
1264
|
+
name: "approve",
|
|
1265
|
+
type: "address",
|
|
1266
|
+
},
|
|
1267
|
+
{
|
|
1268
|
+
internalType: "bytes",
|
|
1269
|
+
name: "callData",
|
|
1270
|
+
type: "bytes",
|
|
1271
|
+
},
|
|
1272
|
+
],
|
|
1273
|
+
internalType: "struct IPPTLooper.BoxApprovedCall",
|
|
1274
|
+
name: "swap",
|
|
1275
|
+
type: "tuple",
|
|
1276
|
+
},
|
|
1277
|
+
{
|
|
1278
|
+
components: [
|
|
1279
|
+
{
|
|
1280
|
+
internalType: "address",
|
|
1281
|
+
name: "extRouter",
|
|
1282
|
+
type: "address",
|
|
1283
|
+
},
|
|
1284
|
+
{
|
|
1285
|
+
internalType: "address",
|
|
1286
|
+
name: "approve",
|
|
1287
|
+
type: "address",
|
|
1288
|
+
},
|
|
1289
|
+
{
|
|
1290
|
+
internalType: "bytes",
|
|
1291
|
+
name: "callData",
|
|
1292
|
+
type: "bytes",
|
|
1293
|
+
},
|
|
1294
|
+
],
|
|
1295
|
+
internalType: "struct IPPTLooper.BoxApprovedCall",
|
|
1296
|
+
name: "bridge",
|
|
1297
|
+
type: "tuple",
|
|
1298
|
+
},
|
|
1299
|
+
{
|
|
1300
|
+
internalType: "uint256",
|
|
1301
|
+
name: "maxBridgeAmount",
|
|
1302
|
+
type: "uint256",
|
|
1303
|
+
},
|
|
1304
|
+
{
|
|
1305
|
+
internalType: "uint256",
|
|
1306
|
+
name: "bridgeNativeFee",
|
|
1307
|
+
type: "uint256",
|
|
1308
|
+
},
|
|
1309
|
+
{
|
|
1310
|
+
internalType: "uint256",
|
|
1311
|
+
name: "minDebtRepaid",
|
|
1312
|
+
type: "uint256",
|
|
1313
|
+
},
|
|
1314
|
+
{
|
|
1315
|
+
internalType: "uint256",
|
|
1316
|
+
name: "amountPtWithdrawn",
|
|
1317
|
+
type: "uint256",
|
|
1318
|
+
},
|
|
1319
|
+
{
|
|
1320
|
+
internalType: "uint256",
|
|
1321
|
+
name: "minPtWithdrawn",
|
|
1322
|
+
type: "uint256",
|
|
1323
|
+
},
|
|
1324
|
+
{
|
|
1325
|
+
internalType: "uint256",
|
|
1326
|
+
name: "postWithdrawMaxLTV",
|
|
1327
|
+
type: "uint256",
|
|
1328
|
+
},
|
|
1329
|
+
],
|
|
1330
|
+
internalType: "struct IPPTLooper.DecreasePositionMessage",
|
|
1331
|
+
name: "ms",
|
|
1332
|
+
type: "tuple",
|
|
1333
|
+
},
|
|
1334
|
+
],
|
|
1335
|
+
name: "hashTyped_DecreasePositionMsg",
|
|
1336
|
+
outputs: [
|
|
1337
|
+
{
|
|
1338
|
+
internalType: "bytes32",
|
|
1339
|
+
name: "",
|
|
1340
|
+
type: "bytes32",
|
|
1341
|
+
},
|
|
1342
|
+
],
|
|
1343
|
+
stateMutability: "view",
|
|
1344
|
+
type: "function",
|
|
1345
|
+
},
|
|
1346
|
+
{
|
|
1347
|
+
inputs: [
|
|
1348
|
+
{
|
|
1349
|
+
components: [
|
|
1350
|
+
{
|
|
1351
|
+
components: [
|
|
1352
|
+
{
|
|
1353
|
+
internalType: "bytes32",
|
|
1354
|
+
name: "boxId",
|
|
1355
|
+
type: "bytes32",
|
|
1356
|
+
},
|
|
1357
|
+
{
|
|
1358
|
+
internalType: "uint256",
|
|
1359
|
+
name: "expiry",
|
|
1360
|
+
type: "uint256",
|
|
1361
|
+
},
|
|
1362
|
+
{
|
|
1363
|
+
internalType: "uint32",
|
|
1364
|
+
name: "sessionNonce",
|
|
1365
|
+
type: "uint32",
|
|
1366
|
+
},
|
|
1367
|
+
{
|
|
1368
|
+
internalType: "uint32",
|
|
1369
|
+
name: "permitNonceCap",
|
|
1370
|
+
type: "uint32",
|
|
1371
|
+
},
|
|
1372
|
+
],
|
|
1373
|
+
internalType: "struct IPPTLooper.RequestHeader",
|
|
1374
|
+
name: "header",
|
|
1375
|
+
type: "tuple",
|
|
1376
|
+
},
|
|
1377
|
+
{
|
|
1378
|
+
internalType: "uint256",
|
|
1379
|
+
name: "targetMaxDebt",
|
|
1380
|
+
type: "uint256",
|
|
1381
|
+
},
|
|
1382
|
+
{
|
|
1383
|
+
internalType: "uint256",
|
|
1384
|
+
name: "minPtToTokenSwapRate",
|
|
1385
|
+
type: "uint256",
|
|
1386
|
+
},
|
|
1387
|
+
{
|
|
1388
|
+
internalType: "uint256",
|
|
1389
|
+
name: "postWithdrawMaxLTV",
|
|
1390
|
+
type: "uint256",
|
|
1391
|
+
},
|
|
1392
|
+
],
|
|
1393
|
+
internalType: "struct IPPTLooper.DecreasePositionRequest",
|
|
1394
|
+
name: "req",
|
|
1395
|
+
type: "tuple",
|
|
1396
|
+
},
|
|
1397
|
+
],
|
|
1398
|
+
name: "hashTyped_DecreasePositionReq",
|
|
1399
|
+
outputs: [
|
|
1400
|
+
{
|
|
1401
|
+
internalType: "bytes32",
|
|
1402
|
+
name: "",
|
|
1403
|
+
type: "bytes32",
|
|
1404
|
+
},
|
|
1405
|
+
],
|
|
1406
|
+
stateMutability: "view",
|
|
1407
|
+
type: "function",
|
|
1408
|
+
},
|
|
1409
|
+
{
|
|
1410
|
+
inputs: [
|
|
1411
|
+
{
|
|
1412
|
+
components: [
|
|
1413
|
+
{
|
|
1414
|
+
components: [
|
|
1415
|
+
{
|
|
1416
|
+
internalType: "address",
|
|
1417
|
+
name: "owner",
|
|
1418
|
+
type: "address",
|
|
1419
|
+
},
|
|
1420
|
+
{
|
|
1421
|
+
internalType: "bytes32",
|
|
1422
|
+
name: "boxId",
|
|
1423
|
+
type: "bytes32",
|
|
1424
|
+
},
|
|
1425
|
+
{
|
|
1426
|
+
internalType: "uint256",
|
|
1427
|
+
name: "expiry",
|
|
1428
|
+
type: "uint256",
|
|
1429
|
+
},
|
|
1430
|
+
{
|
|
1431
|
+
internalType: "bytes32",
|
|
1432
|
+
name: "ownerSigHash",
|
|
1433
|
+
type: "bytes32",
|
|
1434
|
+
},
|
|
1435
|
+
{
|
|
1436
|
+
internalType: "uint256",
|
|
1437
|
+
name: "nonce",
|
|
1438
|
+
type: "uint256",
|
|
1439
|
+
},
|
|
1440
|
+
],
|
|
1441
|
+
internalType: "struct IPPTLooper.BoxPermit",
|
|
1442
|
+
name: "permit",
|
|
1443
|
+
type: "tuple",
|
|
1444
|
+
},
|
|
1445
|
+
{
|
|
1446
|
+
components: [
|
|
1447
|
+
{
|
|
1448
|
+
internalType: "address",
|
|
1449
|
+
name: "extRouter",
|
|
1450
|
+
type: "address",
|
|
1451
|
+
},
|
|
1452
|
+
{
|
|
1453
|
+
internalType: "address",
|
|
1454
|
+
name: "approve",
|
|
1455
|
+
type: "address",
|
|
1456
|
+
},
|
|
1457
|
+
{
|
|
1458
|
+
internalType: "bytes",
|
|
1459
|
+
name: "callData",
|
|
1460
|
+
type: "bytes",
|
|
1461
|
+
},
|
|
1462
|
+
],
|
|
1463
|
+
internalType: "struct IPPTLooper.BoxApprovedCall",
|
|
1464
|
+
name: "swap",
|
|
1465
|
+
type: "tuple",
|
|
1466
|
+
},
|
|
1467
|
+
{
|
|
1468
|
+
internalType: "uint256",
|
|
1469
|
+
name: "debtTokenFee",
|
|
1470
|
+
type: "uint256",
|
|
1471
|
+
},
|
|
1472
|
+
{
|
|
1473
|
+
components: [
|
|
1474
|
+
{
|
|
1475
|
+
internalType: "address",
|
|
1476
|
+
name: "extRouter",
|
|
1477
|
+
type: "address",
|
|
1478
|
+
},
|
|
1479
|
+
{
|
|
1480
|
+
internalType: "address",
|
|
1481
|
+
name: "approve",
|
|
1482
|
+
type: "address",
|
|
1483
|
+
},
|
|
1484
|
+
{
|
|
1485
|
+
internalType: "bytes",
|
|
1486
|
+
name: "callData",
|
|
1487
|
+
type: "bytes",
|
|
1488
|
+
},
|
|
1489
|
+
],
|
|
1490
|
+
internalType: "struct IPPTLooper.BoxApprovedCall",
|
|
1491
|
+
name: "bridge",
|
|
1492
|
+
type: "tuple",
|
|
1493
|
+
},
|
|
1494
|
+
{
|
|
1495
|
+
internalType: "uint256",
|
|
1496
|
+
name: "maxBridgeAmount",
|
|
1497
|
+
type: "uint256",
|
|
1498
|
+
},
|
|
1499
|
+
{
|
|
1500
|
+
internalType: "uint256",
|
|
1501
|
+
name: "bridgeNativeFee",
|
|
1502
|
+
type: "uint256",
|
|
1503
|
+
},
|
|
1504
|
+
{
|
|
1505
|
+
internalType: "uint256",
|
|
1506
|
+
name: "minPtLent",
|
|
1507
|
+
type: "uint256",
|
|
1508
|
+
},
|
|
1509
|
+
{
|
|
1510
|
+
internalType: "uint256",
|
|
1511
|
+
name: "amountDebtBorrowed",
|
|
1512
|
+
type: "uint256",
|
|
1513
|
+
},
|
|
1514
|
+
{
|
|
1515
|
+
internalType: "uint256",
|
|
1516
|
+
name: "minDebtBorrowed",
|
|
1517
|
+
type: "uint256",
|
|
1518
|
+
},
|
|
1519
|
+
{
|
|
1520
|
+
internalType: "uint256",
|
|
1521
|
+
name: "postBorrowMaxLTV",
|
|
1522
|
+
type: "uint256",
|
|
1523
|
+
},
|
|
1524
|
+
],
|
|
1525
|
+
internalType: "struct IPPTLooper.IncreasePositionMessage",
|
|
1526
|
+
name: "ms",
|
|
1527
|
+
type: "tuple",
|
|
1528
|
+
},
|
|
1529
|
+
],
|
|
1530
|
+
name: "hashTyped_IncreasePositionMsg",
|
|
1531
|
+
outputs: [
|
|
1532
|
+
{
|
|
1533
|
+
internalType: "bytes32",
|
|
1534
|
+
name: "",
|
|
1535
|
+
type: "bytes32",
|
|
1536
|
+
},
|
|
1537
|
+
],
|
|
1538
|
+
stateMutability: "view",
|
|
1539
|
+
type: "function",
|
|
1540
|
+
},
|
|
1541
|
+
{
|
|
1542
|
+
inputs: [
|
|
1543
|
+
{
|
|
1544
|
+
components: [
|
|
1545
|
+
{
|
|
1546
|
+
components: [
|
|
1547
|
+
{
|
|
1548
|
+
internalType: "bytes32",
|
|
1549
|
+
name: "boxId",
|
|
1550
|
+
type: "bytes32",
|
|
1551
|
+
},
|
|
1552
|
+
{
|
|
1553
|
+
internalType: "uint256",
|
|
1554
|
+
name: "expiry",
|
|
1555
|
+
type: "uint256",
|
|
1556
|
+
},
|
|
1557
|
+
{
|
|
1558
|
+
internalType: "uint32",
|
|
1559
|
+
name: "sessionNonce",
|
|
1560
|
+
type: "uint32",
|
|
1561
|
+
},
|
|
1562
|
+
{
|
|
1563
|
+
internalType: "uint32",
|
|
1564
|
+
name: "permitNonceCap",
|
|
1565
|
+
type: "uint32",
|
|
1566
|
+
},
|
|
1567
|
+
],
|
|
1568
|
+
internalType: "struct IPPTLooper.RequestHeader",
|
|
1569
|
+
name: "header",
|
|
1570
|
+
type: "tuple",
|
|
1571
|
+
},
|
|
1572
|
+
{
|
|
1573
|
+
internalType: "uint256",
|
|
1574
|
+
name: "targetMinPt",
|
|
1575
|
+
type: "uint256",
|
|
1576
|
+
},
|
|
1577
|
+
{
|
|
1578
|
+
internalType: "uint256",
|
|
1579
|
+
name: "minTokenToPtSwapRate",
|
|
1580
|
+
type: "uint256",
|
|
1581
|
+
},
|
|
1582
|
+
{
|
|
1583
|
+
internalType: "uint256",
|
|
1584
|
+
name: "postBorrowMaxLTV",
|
|
1585
|
+
type: "uint256",
|
|
1586
|
+
},
|
|
1587
|
+
{
|
|
1588
|
+
internalType: "bool",
|
|
1589
|
+
name: "isZeroPriceImpact",
|
|
1590
|
+
type: "bool",
|
|
1591
|
+
},
|
|
1592
|
+
],
|
|
1593
|
+
internalType: "struct IPPTLooper.IncreasePositionRequest",
|
|
1594
|
+
name: "req",
|
|
1595
|
+
type: "tuple",
|
|
1596
|
+
},
|
|
1597
|
+
],
|
|
1598
|
+
name: "hashTyped_IncreasePositionReq",
|
|
1599
|
+
outputs: [
|
|
1600
|
+
{
|
|
1601
|
+
internalType: "bytes32",
|
|
1602
|
+
name: "",
|
|
1603
|
+
type: "bytes32",
|
|
1604
|
+
},
|
|
1605
|
+
],
|
|
1606
|
+
stateMutability: "view",
|
|
1607
|
+
type: "function",
|
|
1608
|
+
},
|
|
1609
|
+
{
|
|
1610
|
+
inputs: [
|
|
1611
|
+
{
|
|
1612
|
+
components: [
|
|
1613
|
+
{
|
|
1614
|
+
components: [
|
|
1615
|
+
{
|
|
1616
|
+
internalType: "address",
|
|
1617
|
+
name: "owner",
|
|
1618
|
+
type: "address",
|
|
1619
|
+
},
|
|
1620
|
+
{
|
|
1621
|
+
internalType: "bytes32",
|
|
1622
|
+
name: "boxId",
|
|
1623
|
+
type: "bytes32",
|
|
1624
|
+
},
|
|
1625
|
+
{
|
|
1626
|
+
internalType: "uint256",
|
|
1627
|
+
name: "expiry",
|
|
1628
|
+
type: "uint256",
|
|
1629
|
+
},
|
|
1630
|
+
{
|
|
1631
|
+
internalType: "bytes32",
|
|
1632
|
+
name: "ownerSigHash",
|
|
1633
|
+
type: "bytes32",
|
|
1634
|
+
},
|
|
1635
|
+
{
|
|
1636
|
+
internalType: "uint256",
|
|
1637
|
+
name: "nonce",
|
|
1638
|
+
type: "uint256",
|
|
1639
|
+
},
|
|
1640
|
+
],
|
|
1641
|
+
internalType: "struct IPPTLooper.BoxPermit",
|
|
1642
|
+
name: "permit",
|
|
1643
|
+
type: "tuple",
|
|
1644
|
+
},
|
|
1645
|
+
{
|
|
1646
|
+
components: [
|
|
1647
|
+
{
|
|
1648
|
+
internalType: "address",
|
|
1649
|
+
name: "extRouter",
|
|
1650
|
+
type: "address",
|
|
1651
|
+
},
|
|
1652
|
+
{
|
|
1653
|
+
internalType: "address",
|
|
1654
|
+
name: "approve",
|
|
1655
|
+
type: "address",
|
|
1656
|
+
},
|
|
1657
|
+
{
|
|
1658
|
+
internalType: "bytes",
|
|
1659
|
+
name: "callData",
|
|
1660
|
+
type: "bytes",
|
|
1661
|
+
},
|
|
1662
|
+
],
|
|
1663
|
+
internalType: "struct IPPTLooper.BoxApprovedCall",
|
|
1664
|
+
name: "swap",
|
|
1665
|
+
type: "tuple",
|
|
1666
|
+
},
|
|
1667
|
+
{
|
|
1668
|
+
components: [
|
|
1669
|
+
{
|
|
1670
|
+
internalType: "address",
|
|
1671
|
+
name: "extRouter",
|
|
1672
|
+
type: "address",
|
|
1673
|
+
},
|
|
1674
|
+
{
|
|
1675
|
+
internalType: "address",
|
|
1676
|
+
name: "approve",
|
|
1677
|
+
type: "address",
|
|
1678
|
+
},
|
|
1679
|
+
{
|
|
1680
|
+
internalType: "bytes",
|
|
1681
|
+
name: "callData",
|
|
1682
|
+
type: "bytes",
|
|
1683
|
+
},
|
|
1684
|
+
],
|
|
1685
|
+
internalType: "struct IPPTLooper.BoxApprovedCall",
|
|
1686
|
+
name: "bridge",
|
|
1687
|
+
type: "tuple",
|
|
1688
|
+
},
|
|
1689
|
+
{
|
|
1690
|
+
internalType: "uint256",
|
|
1691
|
+
name: "maxBridgeAmount",
|
|
1692
|
+
type: "uint256",
|
|
1693
|
+
},
|
|
1694
|
+
{
|
|
1695
|
+
internalType: "uint256",
|
|
1696
|
+
name: "bridgeNativeFee",
|
|
1697
|
+
type: "uint256",
|
|
1698
|
+
},
|
|
1699
|
+
],
|
|
1700
|
+
internalType: "struct IPPTLooper.SwapBridgeWithdrawAllMessage",
|
|
1701
|
+
name: "ms",
|
|
1702
|
+
type: "tuple",
|
|
1703
|
+
},
|
|
1704
|
+
],
|
|
1705
|
+
name: "hashTyped_SwapBridgeWithdrawAllMsg",
|
|
1706
|
+
outputs: [
|
|
1707
|
+
{
|
|
1708
|
+
internalType: "bytes32",
|
|
1709
|
+
name: "",
|
|
1710
|
+
type: "bytes32",
|
|
1711
|
+
},
|
|
1712
|
+
],
|
|
1713
|
+
stateMutability: "view",
|
|
1714
|
+
type: "function",
|
|
1715
|
+
},
|
|
1716
|
+
{
|
|
1717
|
+
inputs: [
|
|
1718
|
+
{
|
|
1719
|
+
components: [
|
|
1720
|
+
{
|
|
1721
|
+
components: [
|
|
1722
|
+
{
|
|
1723
|
+
internalType: "bytes32",
|
|
1724
|
+
name: "boxId",
|
|
1725
|
+
type: "bytes32",
|
|
1726
|
+
},
|
|
1727
|
+
{
|
|
1728
|
+
internalType: "uint256",
|
|
1729
|
+
name: "expiry",
|
|
1730
|
+
type: "uint256",
|
|
1731
|
+
},
|
|
1732
|
+
{
|
|
1733
|
+
internalType: "uint32",
|
|
1734
|
+
name: "sessionNonce",
|
|
1735
|
+
type: "uint32",
|
|
1736
|
+
},
|
|
1737
|
+
{
|
|
1738
|
+
internalType: "uint32",
|
|
1739
|
+
name: "permitNonceCap",
|
|
1740
|
+
type: "uint32",
|
|
1741
|
+
},
|
|
1742
|
+
],
|
|
1743
|
+
internalType: "struct IPPTLooper.RequestHeader",
|
|
1744
|
+
name: "header",
|
|
1745
|
+
type: "tuple",
|
|
1746
|
+
},
|
|
1747
|
+
{
|
|
1748
|
+
internalType: "bool",
|
|
1749
|
+
name: "receiveOnSpoke",
|
|
1750
|
+
type: "bool",
|
|
1751
|
+
},
|
|
1752
|
+
{
|
|
1753
|
+
internalType: "address",
|
|
1754
|
+
name: "hubTokenOut",
|
|
1755
|
+
type: "address",
|
|
1756
|
+
},
|
|
1757
|
+
{
|
|
1758
|
+
internalType: "address",
|
|
1759
|
+
name: "dstTokenOut",
|
|
1760
|
+
type: "address",
|
|
1761
|
+
},
|
|
1762
|
+
{
|
|
1763
|
+
internalType: "uint256",
|
|
1764
|
+
name: "minTokenOut",
|
|
1765
|
+
type: "uint256",
|
|
1766
|
+
},
|
|
1767
|
+
],
|
|
1768
|
+
internalType: "struct IPPTLooper.SwapBridgeWithdrawAllRequest",
|
|
1769
|
+
name: "req",
|
|
1770
|
+
type: "tuple",
|
|
1771
|
+
},
|
|
1772
|
+
],
|
|
1773
|
+
name: "hashTyped_SwapBridgeWithdrawAllReq",
|
|
1774
|
+
outputs: [
|
|
1775
|
+
{
|
|
1776
|
+
internalType: "bytes32",
|
|
1777
|
+
name: "",
|
|
1778
|
+
type: "bytes32",
|
|
1779
|
+
},
|
|
1780
|
+
],
|
|
1781
|
+
stateMutability: "view",
|
|
1782
|
+
type: "function",
|
|
1783
|
+
},
|
|
1784
|
+
{
|
|
1785
|
+
inputs: [
|
|
1786
|
+
{
|
|
1787
|
+
components: [
|
|
1788
|
+
{
|
|
1789
|
+
components: [
|
|
1790
|
+
{
|
|
1791
|
+
internalType: "address",
|
|
1792
|
+
name: "owner",
|
|
1793
|
+
type: "address",
|
|
1794
|
+
},
|
|
1795
|
+
{
|
|
1796
|
+
internalType: "bytes32",
|
|
1797
|
+
name: "boxId",
|
|
1798
|
+
type: "bytes32",
|
|
1799
|
+
},
|
|
1800
|
+
{
|
|
1801
|
+
internalType: "uint256",
|
|
1802
|
+
name: "expiry",
|
|
1803
|
+
type: "uint256",
|
|
1804
|
+
},
|
|
1805
|
+
{
|
|
1806
|
+
internalType: "bytes32",
|
|
1807
|
+
name: "ownerSigHash",
|
|
1808
|
+
type: "bytes32",
|
|
1809
|
+
},
|
|
1810
|
+
{
|
|
1811
|
+
internalType: "uint256",
|
|
1812
|
+
name: "nonce",
|
|
1813
|
+
type: "uint256",
|
|
1814
|
+
},
|
|
1815
|
+
],
|
|
1816
|
+
internalType: "struct IPPTLooper.BoxPermit",
|
|
1817
|
+
name: "permit",
|
|
1818
|
+
type: "tuple",
|
|
1819
|
+
},
|
|
1820
|
+
{
|
|
1821
|
+
internalType: "bool",
|
|
1822
|
+
name: "isInitiate",
|
|
1823
|
+
type: "bool",
|
|
1824
|
+
},
|
|
1825
|
+
],
|
|
1826
|
+
internalType: "struct IPPTLooper.UserRequestStateSetMessage",
|
|
1827
|
+
name: "ms",
|
|
1828
|
+
type: "tuple",
|
|
1829
|
+
},
|
|
1830
|
+
],
|
|
1831
|
+
name: "hashTyped_UserRequestStateSetMsg",
|
|
1832
|
+
outputs: [
|
|
1833
|
+
{
|
|
1834
|
+
internalType: "bytes32",
|
|
1835
|
+
name: "",
|
|
1836
|
+
type: "bytes32",
|
|
1837
|
+
},
|
|
1838
|
+
],
|
|
1839
|
+
stateMutability: "view",
|
|
1840
|
+
type: "function",
|
|
1841
|
+
},
|
|
1842
|
+
{
|
|
1843
|
+
inputs: [
|
|
1844
|
+
{
|
|
1845
|
+
components: [
|
|
1846
|
+
{
|
|
1847
|
+
components: [
|
|
1848
|
+
{
|
|
1849
|
+
internalType: "address",
|
|
1850
|
+
name: "owner",
|
|
1851
|
+
type: "address",
|
|
1852
|
+
},
|
|
1853
|
+
{
|
|
1854
|
+
internalType: "bytes32",
|
|
1855
|
+
name: "boxId",
|
|
1856
|
+
type: "bytes32",
|
|
1857
|
+
},
|
|
1858
|
+
{
|
|
1859
|
+
internalType: "uint256",
|
|
1860
|
+
name: "expiry",
|
|
1861
|
+
type: "uint256",
|
|
1862
|
+
},
|
|
1863
|
+
{
|
|
1864
|
+
internalType: "bytes32",
|
|
1865
|
+
name: "ownerSigHash",
|
|
1866
|
+
type: "bytes32",
|
|
1867
|
+
},
|
|
1868
|
+
{
|
|
1869
|
+
internalType: "uint256",
|
|
1870
|
+
name: "nonce",
|
|
1871
|
+
type: "uint256",
|
|
1872
|
+
},
|
|
1873
|
+
],
|
|
1874
|
+
internalType: "struct IPPTLooper.BoxPermit",
|
|
1875
|
+
name: "permit",
|
|
1876
|
+
type: "tuple",
|
|
1877
|
+
},
|
|
1878
|
+
{
|
|
1879
|
+
components: [
|
|
1880
|
+
{
|
|
1881
|
+
internalType: "address",
|
|
1882
|
+
name: "extRouter",
|
|
1883
|
+
type: "address",
|
|
1884
|
+
},
|
|
1885
|
+
{
|
|
1886
|
+
internalType: "address",
|
|
1887
|
+
name: "approve",
|
|
1888
|
+
type: "address",
|
|
1889
|
+
},
|
|
1890
|
+
{
|
|
1891
|
+
internalType: "bytes",
|
|
1892
|
+
name: "callData",
|
|
1893
|
+
type: "bytes",
|
|
1894
|
+
},
|
|
1895
|
+
],
|
|
1896
|
+
internalType: "struct IPPTLooper.BoxApprovedCall",
|
|
1897
|
+
name: "swap",
|
|
1898
|
+
type: "tuple",
|
|
1899
|
+
},
|
|
1900
|
+
{
|
|
1901
|
+
internalType: "uint256",
|
|
1902
|
+
name: "debtTokenFee",
|
|
1903
|
+
type: "uint256",
|
|
1904
|
+
},
|
|
1905
|
+
{
|
|
1906
|
+
components: [
|
|
1907
|
+
{
|
|
1908
|
+
internalType: "address",
|
|
1909
|
+
name: "extRouter",
|
|
1910
|
+
type: "address",
|
|
1911
|
+
},
|
|
1912
|
+
{
|
|
1913
|
+
internalType: "address",
|
|
1914
|
+
name: "approve",
|
|
1915
|
+
type: "address",
|
|
1916
|
+
},
|
|
1917
|
+
{
|
|
1918
|
+
internalType: "bytes",
|
|
1919
|
+
name: "callData",
|
|
1920
|
+
type: "bytes",
|
|
1921
|
+
},
|
|
1922
|
+
],
|
|
1923
|
+
internalType: "struct IPPTLooper.BoxApprovedCall",
|
|
1924
|
+
name: "bridge",
|
|
1925
|
+
type: "tuple",
|
|
1926
|
+
},
|
|
1927
|
+
{
|
|
1928
|
+
internalType: "uint256",
|
|
1929
|
+
name: "maxBridgeAmount",
|
|
1930
|
+
type: "uint256",
|
|
1931
|
+
},
|
|
1932
|
+
{
|
|
1933
|
+
internalType: "uint256",
|
|
1934
|
+
name: "bridgeNativeFee",
|
|
1935
|
+
type: "uint256",
|
|
1936
|
+
},
|
|
1937
|
+
{
|
|
1938
|
+
internalType: "uint256",
|
|
1939
|
+
name: "minPtLent",
|
|
1940
|
+
type: "uint256",
|
|
1941
|
+
},
|
|
1942
|
+
{
|
|
1943
|
+
internalType: "uint256",
|
|
1944
|
+
name: "amountDebtBorrowed",
|
|
1945
|
+
type: "uint256",
|
|
1946
|
+
},
|
|
1947
|
+
{
|
|
1948
|
+
internalType: "uint256",
|
|
1949
|
+
name: "minDebtBorrowed",
|
|
1950
|
+
type: "uint256",
|
|
1951
|
+
},
|
|
1952
|
+
{
|
|
1953
|
+
internalType: "uint256",
|
|
1954
|
+
name: "postBorrowMaxLTV",
|
|
1955
|
+
type: "uint256",
|
|
1956
|
+
},
|
|
1957
|
+
],
|
|
1958
|
+
internalType: "struct IPPTLooper.IncreasePositionMessage",
|
|
1959
|
+
name: "ms",
|
|
1960
|
+
type: "tuple",
|
|
1961
|
+
},
|
|
1962
|
+
{
|
|
1963
|
+
internalType: "bytes",
|
|
1964
|
+
name: "proposerSig",
|
|
1965
|
+
type: "bytes",
|
|
1966
|
+
},
|
|
1967
|
+
{
|
|
1968
|
+
components: [
|
|
1969
|
+
{
|
|
1970
|
+
components: [
|
|
1971
|
+
{
|
|
1972
|
+
internalType: "bytes32",
|
|
1973
|
+
name: "boxId",
|
|
1974
|
+
type: "bytes32",
|
|
1975
|
+
},
|
|
1976
|
+
{
|
|
1977
|
+
internalType: "uint256",
|
|
1978
|
+
name: "expiry",
|
|
1979
|
+
type: "uint256",
|
|
1980
|
+
},
|
|
1981
|
+
{
|
|
1982
|
+
internalType: "uint32",
|
|
1983
|
+
name: "sessionNonce",
|
|
1984
|
+
type: "uint32",
|
|
1985
|
+
},
|
|
1986
|
+
{
|
|
1987
|
+
internalType: "uint32",
|
|
1988
|
+
name: "permitNonceCap",
|
|
1989
|
+
type: "uint32",
|
|
1990
|
+
},
|
|
1991
|
+
],
|
|
1992
|
+
internalType: "struct IPPTLooper.RequestHeader",
|
|
1993
|
+
name: "header",
|
|
1994
|
+
type: "tuple",
|
|
1995
|
+
},
|
|
1996
|
+
{
|
|
1997
|
+
internalType: "uint256",
|
|
1998
|
+
name: "targetMinPt",
|
|
1999
|
+
type: "uint256",
|
|
2000
|
+
},
|
|
2001
|
+
{
|
|
2002
|
+
internalType: "uint256",
|
|
2003
|
+
name: "minTokenToPtSwapRate",
|
|
2004
|
+
type: "uint256",
|
|
2005
|
+
},
|
|
2006
|
+
{
|
|
2007
|
+
internalType: "uint256",
|
|
2008
|
+
name: "postBorrowMaxLTV",
|
|
2009
|
+
type: "uint256",
|
|
2010
|
+
},
|
|
2011
|
+
{
|
|
2012
|
+
internalType: "bool",
|
|
2013
|
+
name: "isZeroPriceImpact",
|
|
2014
|
+
type: "bool",
|
|
2015
|
+
},
|
|
2016
|
+
],
|
|
2017
|
+
internalType: "struct IPPTLooper.IncreasePositionRequest",
|
|
2018
|
+
name: "req",
|
|
2019
|
+
type: "tuple",
|
|
2020
|
+
},
|
|
2021
|
+
{
|
|
2022
|
+
internalType: "bytes",
|
|
2023
|
+
name: "ownerSig",
|
|
2024
|
+
type: "bytes",
|
|
2025
|
+
},
|
|
2026
|
+
],
|
|
2027
|
+
name: "increaseLoopPosition",
|
|
2028
|
+
outputs: [],
|
|
2029
|
+
stateMutability: "payable",
|
|
2030
|
+
type: "function",
|
|
2031
|
+
},
|
|
2032
|
+
{
|
|
2033
|
+
inputs: [
|
|
2034
|
+
{
|
|
2035
|
+
internalType: "address",
|
|
2036
|
+
name: "_owner",
|
|
2037
|
+
type: "address",
|
|
2038
|
+
},
|
|
2039
|
+
],
|
|
2040
|
+
name: "initialize",
|
|
2041
|
+
outputs: [],
|
|
2042
|
+
stateMutability: "nonpayable",
|
|
2043
|
+
type: "function",
|
|
2044
|
+
},
|
|
2045
|
+
{
|
|
2046
|
+
inputs: [
|
|
2047
|
+
{
|
|
2048
|
+
components: [
|
|
2049
|
+
{
|
|
2050
|
+
internalType: "bool",
|
|
2051
|
+
name: "allowFailure",
|
|
2052
|
+
type: "bool",
|
|
2053
|
+
},
|
|
2054
|
+
{
|
|
2055
|
+
internalType: "bytes",
|
|
2056
|
+
name: "callData",
|
|
2057
|
+
type: "bytes",
|
|
2058
|
+
},
|
|
2059
|
+
],
|
|
2060
|
+
internalType: "struct IMulticall.Call3[]",
|
|
2061
|
+
name: "calls",
|
|
2062
|
+
type: "tuple[]",
|
|
2063
|
+
},
|
|
2064
|
+
],
|
|
2065
|
+
name: "multicall",
|
|
2066
|
+
outputs: [
|
|
2067
|
+
{
|
|
2068
|
+
components: [
|
|
2069
|
+
{
|
|
2070
|
+
internalType: "bool",
|
|
2071
|
+
name: "success",
|
|
2072
|
+
type: "bool",
|
|
2073
|
+
},
|
|
2074
|
+
{
|
|
2075
|
+
internalType: "bytes",
|
|
2076
|
+
name: "returnData",
|
|
2077
|
+
type: "bytes",
|
|
2078
|
+
},
|
|
2079
|
+
],
|
|
2080
|
+
internalType: "struct IMulticall.Result[]",
|
|
2081
|
+
name: "res",
|
|
2082
|
+
type: "tuple[]",
|
|
2083
|
+
},
|
|
2084
|
+
],
|
|
2085
|
+
stateMutability: "payable",
|
|
2086
|
+
type: "function",
|
|
2087
|
+
},
|
|
2088
|
+
{
|
|
2089
|
+
inputs: [],
|
|
2090
|
+
name: "owner",
|
|
2091
|
+
outputs: [
|
|
2092
|
+
{
|
|
2093
|
+
internalType: "address",
|
|
2094
|
+
name: "",
|
|
2095
|
+
type: "address",
|
|
2096
|
+
},
|
|
2097
|
+
],
|
|
2098
|
+
stateMutability: "view",
|
|
2099
|
+
type: "function",
|
|
2100
|
+
},
|
|
2101
|
+
{
|
|
2102
|
+
inputs: [],
|
|
2103
|
+
name: "pendingOwner",
|
|
2104
|
+
outputs: [
|
|
2105
|
+
{
|
|
2106
|
+
internalType: "address",
|
|
2107
|
+
name: "",
|
|
2108
|
+
type: "address",
|
|
2109
|
+
},
|
|
2110
|
+
],
|
|
2111
|
+
stateMutability: "view",
|
|
2112
|
+
type: "function",
|
|
2113
|
+
},
|
|
2114
|
+
{
|
|
2115
|
+
inputs: [],
|
|
2116
|
+
name: "proposer",
|
|
2117
|
+
outputs: [
|
|
2118
|
+
{
|
|
2119
|
+
internalType: "address",
|
|
2120
|
+
name: "",
|
|
2121
|
+
type: "address",
|
|
2122
|
+
},
|
|
2123
|
+
],
|
|
2124
|
+
stateMutability: "view",
|
|
2125
|
+
type: "function",
|
|
2126
|
+
},
|
|
2127
|
+
{
|
|
2128
|
+
inputs: [
|
|
2129
|
+
{
|
|
2130
|
+
internalType: "bytes32",
|
|
2131
|
+
name: "ownerSigHash",
|
|
2132
|
+
type: "bytes32",
|
|
2133
|
+
},
|
|
2134
|
+
],
|
|
2135
|
+
name: "proposerNonce",
|
|
2136
|
+
outputs: [
|
|
2137
|
+
{
|
|
2138
|
+
internalType: "uint256",
|
|
2139
|
+
name: "nonce",
|
|
2140
|
+
type: "uint256",
|
|
2141
|
+
},
|
|
2142
|
+
],
|
|
2143
|
+
stateMutability: "view",
|
|
2144
|
+
type: "function",
|
|
2145
|
+
},
|
|
2146
|
+
{
|
|
2147
|
+
inputs: [
|
|
2148
|
+
{
|
|
2149
|
+
internalType: "address",
|
|
2150
|
+
name: "executor_",
|
|
2151
|
+
type: "address",
|
|
2152
|
+
},
|
|
2153
|
+
],
|
|
2154
|
+
name: "setExecutor",
|
|
2155
|
+
outputs: [],
|
|
2156
|
+
stateMutability: "nonpayable",
|
|
2157
|
+
type: "function",
|
|
2158
|
+
},
|
|
2159
|
+
{
|
|
2160
|
+
inputs: [
|
|
2161
|
+
{
|
|
2162
|
+
internalType: "address",
|
|
2163
|
+
name: "proposer_",
|
|
2164
|
+
type: "address",
|
|
2165
|
+
},
|
|
2166
|
+
],
|
|
2167
|
+
name: "setProposer",
|
|
2168
|
+
outputs: [],
|
|
2169
|
+
stateMutability: "nonpayable",
|
|
2170
|
+
type: "function",
|
|
2171
|
+
},
|
|
2172
|
+
{
|
|
2173
|
+
inputs: [
|
|
2174
|
+
{
|
|
2175
|
+
components: [
|
|
2176
|
+
{
|
|
2177
|
+
components: [
|
|
2178
|
+
{
|
|
2179
|
+
internalType: "address",
|
|
2180
|
+
name: "owner",
|
|
2181
|
+
type: "address",
|
|
2182
|
+
},
|
|
2183
|
+
{
|
|
2184
|
+
internalType: "bytes32",
|
|
2185
|
+
name: "boxId",
|
|
2186
|
+
type: "bytes32",
|
|
2187
|
+
},
|
|
2188
|
+
{
|
|
2189
|
+
internalType: "uint256",
|
|
2190
|
+
name: "expiry",
|
|
2191
|
+
type: "uint256",
|
|
2192
|
+
},
|
|
2193
|
+
{
|
|
2194
|
+
internalType: "bytes32",
|
|
2195
|
+
name: "ownerSigHash",
|
|
2196
|
+
type: "bytes32",
|
|
2197
|
+
},
|
|
2198
|
+
{
|
|
2199
|
+
internalType: "uint256",
|
|
2200
|
+
name: "nonce",
|
|
2201
|
+
type: "uint256",
|
|
2202
|
+
},
|
|
2203
|
+
],
|
|
2204
|
+
internalType: "struct IPPTLooper.BoxPermit",
|
|
2205
|
+
name: "permit",
|
|
2206
|
+
type: "tuple",
|
|
2207
|
+
},
|
|
2208
|
+
{
|
|
2209
|
+
internalType: "bool",
|
|
2210
|
+
name: "isInitiate",
|
|
2211
|
+
type: "bool",
|
|
2212
|
+
},
|
|
2213
|
+
],
|
|
2214
|
+
internalType: "struct IPPTLooper.UserRequestStateSetMessage",
|
|
2215
|
+
name: "ms",
|
|
2216
|
+
type: "tuple",
|
|
2217
|
+
},
|
|
2218
|
+
{
|
|
2219
|
+
internalType: "bytes",
|
|
2220
|
+
name: "proposerSignature",
|
|
2221
|
+
type: "bytes",
|
|
2222
|
+
},
|
|
2223
|
+
],
|
|
2224
|
+
name: "setUserRequestState",
|
|
2225
|
+
outputs: [],
|
|
2226
|
+
stateMutability: "nonpayable",
|
|
2227
|
+
type: "function",
|
|
2228
|
+
},
|
|
2229
|
+
{
|
|
2230
|
+
inputs: [
|
|
2231
|
+
{
|
|
2232
|
+
components: [
|
|
2233
|
+
{
|
|
2234
|
+
components: [
|
|
2235
|
+
{
|
|
2236
|
+
internalType: "address",
|
|
2237
|
+
name: "owner",
|
|
2238
|
+
type: "address",
|
|
2239
|
+
},
|
|
2240
|
+
{
|
|
2241
|
+
internalType: "bytes32",
|
|
2242
|
+
name: "boxId",
|
|
2243
|
+
type: "bytes32",
|
|
2244
|
+
},
|
|
2245
|
+
{
|
|
2246
|
+
internalType: "uint256",
|
|
2247
|
+
name: "expiry",
|
|
2248
|
+
type: "uint256",
|
|
2249
|
+
},
|
|
2250
|
+
{
|
|
2251
|
+
internalType: "bytes32",
|
|
2252
|
+
name: "ownerSigHash",
|
|
2253
|
+
type: "bytes32",
|
|
2254
|
+
},
|
|
2255
|
+
{
|
|
2256
|
+
internalType: "uint256",
|
|
2257
|
+
name: "nonce",
|
|
2258
|
+
type: "uint256",
|
|
2259
|
+
},
|
|
2260
|
+
],
|
|
2261
|
+
internalType: "struct IPPTLooper.BoxPermit",
|
|
2262
|
+
name: "permit",
|
|
2263
|
+
type: "tuple",
|
|
2264
|
+
},
|
|
2265
|
+
{
|
|
2266
|
+
components: [
|
|
2267
|
+
{
|
|
2268
|
+
internalType: "address",
|
|
2269
|
+
name: "extRouter",
|
|
2270
|
+
type: "address",
|
|
2271
|
+
},
|
|
2272
|
+
{
|
|
2273
|
+
internalType: "address",
|
|
2274
|
+
name: "approve",
|
|
2275
|
+
type: "address",
|
|
2276
|
+
},
|
|
2277
|
+
{
|
|
2278
|
+
internalType: "bytes",
|
|
2279
|
+
name: "callData",
|
|
2280
|
+
type: "bytes",
|
|
2281
|
+
},
|
|
2282
|
+
],
|
|
2283
|
+
internalType: "struct IPPTLooper.BoxApprovedCall",
|
|
2284
|
+
name: "swap",
|
|
2285
|
+
type: "tuple",
|
|
2286
|
+
},
|
|
2287
|
+
{
|
|
2288
|
+
components: [
|
|
2289
|
+
{
|
|
2290
|
+
internalType: "address",
|
|
2291
|
+
name: "extRouter",
|
|
2292
|
+
type: "address",
|
|
2293
|
+
},
|
|
2294
|
+
{
|
|
2295
|
+
internalType: "address",
|
|
2296
|
+
name: "approve",
|
|
2297
|
+
type: "address",
|
|
2298
|
+
},
|
|
2299
|
+
{
|
|
2300
|
+
internalType: "bytes",
|
|
2301
|
+
name: "callData",
|
|
2302
|
+
type: "bytes",
|
|
2303
|
+
},
|
|
2304
|
+
],
|
|
2305
|
+
internalType: "struct IPPTLooper.BoxApprovedCall",
|
|
2306
|
+
name: "bridge",
|
|
2307
|
+
type: "tuple",
|
|
2308
|
+
},
|
|
2309
|
+
{
|
|
2310
|
+
internalType: "uint256",
|
|
2311
|
+
name: "maxBridgeAmount",
|
|
2312
|
+
type: "uint256",
|
|
2313
|
+
},
|
|
2314
|
+
{
|
|
2315
|
+
internalType: "uint256",
|
|
2316
|
+
name: "bridgeNativeFee",
|
|
2317
|
+
type: "uint256",
|
|
2318
|
+
},
|
|
2319
|
+
],
|
|
2320
|
+
internalType: "struct IPPTLooper.SwapBridgeWithdrawAllMessage",
|
|
2321
|
+
name: "ms",
|
|
2322
|
+
type: "tuple",
|
|
2323
|
+
},
|
|
2324
|
+
{
|
|
2325
|
+
internalType: "bytes",
|
|
2326
|
+
name: "proposerSig",
|
|
2327
|
+
type: "bytes",
|
|
2328
|
+
},
|
|
2329
|
+
{
|
|
2330
|
+
components: [
|
|
2331
|
+
{
|
|
2332
|
+
components: [
|
|
2333
|
+
{
|
|
2334
|
+
components: [
|
|
2335
|
+
{
|
|
2336
|
+
internalType: "bytes32",
|
|
2337
|
+
name: "boxId",
|
|
2338
|
+
type: "bytes32",
|
|
2339
|
+
},
|
|
2340
|
+
{
|
|
2341
|
+
internalType: "uint256",
|
|
2342
|
+
name: "expiry",
|
|
2343
|
+
type: "uint256",
|
|
2344
|
+
},
|
|
2345
|
+
{
|
|
2346
|
+
internalType: "uint32",
|
|
2347
|
+
name: "sessionNonce",
|
|
2348
|
+
type: "uint32",
|
|
2349
|
+
},
|
|
2350
|
+
{
|
|
2351
|
+
internalType: "uint32",
|
|
2352
|
+
name: "permitNonceCap",
|
|
2353
|
+
type: "uint32",
|
|
2354
|
+
},
|
|
2355
|
+
],
|
|
2356
|
+
internalType: "struct IPPTLooper.RequestHeader",
|
|
2357
|
+
name: "header",
|
|
2358
|
+
type: "tuple",
|
|
2359
|
+
},
|
|
2360
|
+
{
|
|
2361
|
+
internalType: "uint256",
|
|
2362
|
+
name: "targetMaxDebt",
|
|
2363
|
+
type: "uint256",
|
|
2364
|
+
},
|
|
2365
|
+
{
|
|
2366
|
+
internalType: "uint256",
|
|
2367
|
+
name: "minPtToTokenSwapRate",
|
|
2368
|
+
type: "uint256",
|
|
2369
|
+
},
|
|
2370
|
+
{
|
|
2371
|
+
internalType: "uint256",
|
|
2372
|
+
name: "postWithdrawMaxLTV",
|
|
2373
|
+
type: "uint256",
|
|
2374
|
+
},
|
|
2375
|
+
],
|
|
2376
|
+
internalType: "struct IPPTLooper.DecreasePositionRequest",
|
|
2377
|
+
name: "decreasePositionReq",
|
|
2378
|
+
type: "tuple",
|
|
2379
|
+
},
|
|
2380
|
+
{
|
|
2381
|
+
components: [
|
|
2382
|
+
{
|
|
2383
|
+
components: [
|
|
2384
|
+
{
|
|
2385
|
+
internalType: "bytes32",
|
|
2386
|
+
name: "boxId",
|
|
2387
|
+
type: "bytes32",
|
|
2388
|
+
},
|
|
2389
|
+
{
|
|
2390
|
+
internalType: "uint256",
|
|
2391
|
+
name: "expiry",
|
|
2392
|
+
type: "uint256",
|
|
2393
|
+
},
|
|
2394
|
+
{
|
|
2395
|
+
internalType: "uint32",
|
|
2396
|
+
name: "sessionNonce",
|
|
2397
|
+
type: "uint32",
|
|
2398
|
+
},
|
|
2399
|
+
{
|
|
2400
|
+
internalType: "uint32",
|
|
2401
|
+
name: "permitNonceCap",
|
|
2402
|
+
type: "uint32",
|
|
2403
|
+
},
|
|
2404
|
+
],
|
|
2405
|
+
internalType: "struct IPPTLooper.RequestHeader",
|
|
2406
|
+
name: "header",
|
|
2407
|
+
type: "tuple",
|
|
2408
|
+
},
|
|
2409
|
+
{
|
|
2410
|
+
internalType: "bool",
|
|
2411
|
+
name: "receiveOnSpoke",
|
|
2412
|
+
type: "bool",
|
|
2413
|
+
},
|
|
2414
|
+
{
|
|
2415
|
+
internalType: "address",
|
|
2416
|
+
name: "hubTokenOut",
|
|
2417
|
+
type: "address",
|
|
2418
|
+
},
|
|
2419
|
+
{
|
|
2420
|
+
internalType: "address",
|
|
2421
|
+
name: "dstTokenOut",
|
|
2422
|
+
type: "address",
|
|
2423
|
+
},
|
|
2424
|
+
{
|
|
2425
|
+
internalType: "uint256",
|
|
2426
|
+
name: "minTokenOut",
|
|
2427
|
+
type: "uint256",
|
|
2428
|
+
},
|
|
2429
|
+
],
|
|
2430
|
+
internalType: "struct IPPTLooper.SwapBridgeWithdrawAllRequest",
|
|
2431
|
+
name: "swapBridgeWithdrawAllReq",
|
|
2432
|
+
type: "tuple",
|
|
2433
|
+
},
|
|
2434
|
+
],
|
|
2435
|
+
internalType: "struct IPPTLooper.BatchDecPosThenWithdrawRequest",
|
|
2436
|
+
name: "req",
|
|
2437
|
+
type: "tuple",
|
|
2438
|
+
},
|
|
2439
|
+
{
|
|
2440
|
+
internalType: "bytes",
|
|
2441
|
+
name: "ownerSig",
|
|
2442
|
+
type: "bytes",
|
|
2443
|
+
},
|
|
2444
|
+
],
|
|
2445
|
+
name: "swapBridgeWithdrawAll",
|
|
2446
|
+
outputs: [],
|
|
2447
|
+
stateMutability: "payable",
|
|
2448
|
+
type: "function",
|
|
2449
|
+
},
|
|
2450
|
+
{
|
|
2451
|
+
inputs: [
|
|
2452
|
+
{
|
|
2453
|
+
components: [
|
|
2454
|
+
{
|
|
2455
|
+
components: [
|
|
2456
|
+
{
|
|
2457
|
+
internalType: "address",
|
|
2458
|
+
name: "owner",
|
|
2459
|
+
type: "address",
|
|
2460
|
+
},
|
|
2461
|
+
{
|
|
2462
|
+
internalType: "bytes32",
|
|
2463
|
+
name: "boxId",
|
|
2464
|
+
type: "bytes32",
|
|
2465
|
+
},
|
|
2466
|
+
{
|
|
2467
|
+
internalType: "uint256",
|
|
2468
|
+
name: "expiry",
|
|
2469
|
+
type: "uint256",
|
|
2470
|
+
},
|
|
2471
|
+
{
|
|
2472
|
+
internalType: "bytes32",
|
|
2473
|
+
name: "ownerSigHash",
|
|
2474
|
+
type: "bytes32",
|
|
2475
|
+
},
|
|
2476
|
+
{
|
|
2477
|
+
internalType: "uint256",
|
|
2478
|
+
name: "nonce",
|
|
2479
|
+
type: "uint256",
|
|
2480
|
+
},
|
|
2481
|
+
],
|
|
2482
|
+
internalType: "struct IPPTLooper.BoxPermit",
|
|
2483
|
+
name: "permit",
|
|
2484
|
+
type: "tuple",
|
|
2485
|
+
},
|
|
2486
|
+
{
|
|
2487
|
+
components: [
|
|
2488
|
+
{
|
|
2489
|
+
internalType: "address",
|
|
2490
|
+
name: "extRouter",
|
|
2491
|
+
type: "address",
|
|
2492
|
+
},
|
|
2493
|
+
{
|
|
2494
|
+
internalType: "address",
|
|
2495
|
+
name: "approve",
|
|
2496
|
+
type: "address",
|
|
2497
|
+
},
|
|
2498
|
+
{
|
|
2499
|
+
internalType: "bytes",
|
|
2500
|
+
name: "callData",
|
|
2501
|
+
type: "bytes",
|
|
2502
|
+
},
|
|
2503
|
+
],
|
|
2504
|
+
internalType: "struct IPPTLooper.BoxApprovedCall",
|
|
2505
|
+
name: "swap",
|
|
2506
|
+
type: "tuple",
|
|
2507
|
+
},
|
|
2508
|
+
{
|
|
2509
|
+
components: [
|
|
2510
|
+
{
|
|
2511
|
+
internalType: "address",
|
|
2512
|
+
name: "extRouter",
|
|
2513
|
+
type: "address",
|
|
2514
|
+
},
|
|
2515
|
+
{
|
|
2516
|
+
internalType: "address",
|
|
2517
|
+
name: "approve",
|
|
2518
|
+
type: "address",
|
|
2519
|
+
},
|
|
2520
|
+
{
|
|
2521
|
+
internalType: "bytes",
|
|
2522
|
+
name: "callData",
|
|
2523
|
+
type: "bytes",
|
|
2524
|
+
},
|
|
2525
|
+
],
|
|
2526
|
+
internalType: "struct IPPTLooper.BoxApprovedCall",
|
|
2527
|
+
name: "bridge",
|
|
2528
|
+
type: "tuple",
|
|
2529
|
+
},
|
|
2530
|
+
{
|
|
2531
|
+
internalType: "uint256",
|
|
2532
|
+
name: "maxBridgeAmount",
|
|
2533
|
+
type: "uint256",
|
|
2534
|
+
},
|
|
2535
|
+
{
|
|
2536
|
+
internalType: "uint256",
|
|
2537
|
+
name: "bridgeNativeFee",
|
|
2538
|
+
type: "uint256",
|
|
2539
|
+
},
|
|
2540
|
+
],
|
|
2541
|
+
internalType: "struct IPPTLooper.SwapBridgeWithdrawAllMessage",
|
|
2542
|
+
name: "ms",
|
|
2543
|
+
type: "tuple",
|
|
2544
|
+
},
|
|
2545
|
+
{
|
|
2546
|
+
internalType: "bytes",
|
|
2547
|
+
name: "proposerSig",
|
|
2548
|
+
type: "bytes",
|
|
2549
|
+
},
|
|
2550
|
+
{
|
|
2551
|
+
components: [
|
|
2552
|
+
{
|
|
2553
|
+
components: [
|
|
2554
|
+
{
|
|
2555
|
+
internalType: "bytes32",
|
|
2556
|
+
name: "boxId",
|
|
2557
|
+
type: "bytes32",
|
|
2558
|
+
},
|
|
2559
|
+
{
|
|
2560
|
+
internalType: "uint256",
|
|
2561
|
+
name: "expiry",
|
|
2562
|
+
type: "uint256",
|
|
2563
|
+
},
|
|
2564
|
+
{
|
|
2565
|
+
internalType: "uint32",
|
|
2566
|
+
name: "sessionNonce",
|
|
2567
|
+
type: "uint32",
|
|
2568
|
+
},
|
|
2569
|
+
{
|
|
2570
|
+
internalType: "uint32",
|
|
2571
|
+
name: "permitNonceCap",
|
|
2572
|
+
type: "uint32",
|
|
2573
|
+
},
|
|
2574
|
+
],
|
|
2575
|
+
internalType: "struct IPPTLooper.RequestHeader",
|
|
2576
|
+
name: "header",
|
|
2577
|
+
type: "tuple",
|
|
2578
|
+
},
|
|
2579
|
+
{
|
|
2580
|
+
internalType: "bool",
|
|
2581
|
+
name: "receiveOnSpoke",
|
|
2582
|
+
type: "bool",
|
|
2583
|
+
},
|
|
2584
|
+
{
|
|
2585
|
+
internalType: "address",
|
|
2586
|
+
name: "hubTokenOut",
|
|
2587
|
+
type: "address",
|
|
2588
|
+
},
|
|
2589
|
+
{
|
|
2590
|
+
internalType: "address",
|
|
2591
|
+
name: "dstTokenOut",
|
|
2592
|
+
type: "address",
|
|
2593
|
+
},
|
|
2594
|
+
{
|
|
2595
|
+
internalType: "uint256",
|
|
2596
|
+
name: "minTokenOut",
|
|
2597
|
+
type: "uint256",
|
|
2598
|
+
},
|
|
2599
|
+
],
|
|
2600
|
+
internalType: "struct IPPTLooper.SwapBridgeWithdrawAllRequest",
|
|
2601
|
+
name: "req",
|
|
2602
|
+
type: "tuple",
|
|
2603
|
+
},
|
|
2604
|
+
{
|
|
2605
|
+
internalType: "bytes",
|
|
2606
|
+
name: "ownerSig",
|
|
2607
|
+
type: "bytes",
|
|
2608
|
+
},
|
|
2609
|
+
],
|
|
2610
|
+
name: "swapBridgeWithdrawAll",
|
|
2611
|
+
outputs: [],
|
|
2612
|
+
stateMutability: "payable",
|
|
2613
|
+
type: "function",
|
|
2614
|
+
},
|
|
2615
|
+
{
|
|
2616
|
+
inputs: [
|
|
2617
|
+
{
|
|
2618
|
+
internalType: "address",
|
|
2619
|
+
name: "newOwner",
|
|
2620
|
+
type: "address",
|
|
2621
|
+
},
|
|
2622
|
+
{
|
|
2623
|
+
internalType: "bool",
|
|
2624
|
+
name: "direct",
|
|
2625
|
+
type: "bool",
|
|
2626
|
+
},
|
|
2627
|
+
{
|
|
2628
|
+
internalType: "bool",
|
|
2629
|
+
name: "renounce",
|
|
2630
|
+
type: "bool",
|
|
2631
|
+
},
|
|
2632
|
+
],
|
|
2633
|
+
name: "transferOwnership",
|
|
2634
|
+
outputs: [],
|
|
2635
|
+
stateMutability: "nonpayable",
|
|
2636
|
+
type: "function",
|
|
2637
|
+
},
|
|
2638
|
+
{
|
|
2639
|
+
inputs: [
|
|
2640
|
+
{
|
|
2641
|
+
internalType: "address",
|
|
2642
|
+
name: "owner",
|
|
2643
|
+
type: "address",
|
|
2644
|
+
},
|
|
2645
|
+
{
|
|
2646
|
+
internalType: "bytes32",
|
|
2647
|
+
name: "boxId",
|
|
2648
|
+
type: "bytes32",
|
|
2649
|
+
},
|
|
2650
|
+
],
|
|
2651
|
+
name: "userRequest",
|
|
2652
|
+
outputs: [
|
|
2653
|
+
{
|
|
2654
|
+
components: [
|
|
2655
|
+
{
|
|
2656
|
+
internalType: "bytes32",
|
|
2657
|
+
name: "sigHash",
|
|
2658
|
+
type: "bytes32",
|
|
2659
|
+
},
|
|
2660
|
+
{
|
|
2661
|
+
internalType: "uint32",
|
|
2662
|
+
name: "sessionNonce",
|
|
2663
|
+
type: "uint32",
|
|
2664
|
+
},
|
|
2665
|
+
],
|
|
2666
|
+
internalType: "struct IPPTLooper.UserRequestInfo",
|
|
2667
|
+
name: "",
|
|
2668
|
+
type: "tuple",
|
|
2669
|
+
},
|
|
2670
|
+
],
|
|
2671
|
+
stateMutability: "view",
|
|
2672
|
+
type: "function",
|
|
2673
|
+
},
|
|
2674
|
+
];
|
|
2675
|
+
|
|
2676
|
+
const _bytecode =
|
|
2677
|
+
"0x60c03461015657601f615fa138819003918201601f19168301916001600160401b0383118484101761015a57808492604094855283398101031261015657610052602061004b8361016e565b920161016e565b6080919091526001600160a01b031660a05260015460a881901c60ff166101015760ff808260a01c16036100be575b604051615e1e90816101838239608051818181610aa40152615541015260a05181818161232e015281816123fa015281816127480152613e3c0152f35b60ff60a01b191660ff60a01b1760015560405160ff81527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249890602090a15f610081565b60405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b6064820152608490fd5b5f80fd5b634e487b7160e01b5f52604160045260245ffd5b51906001600160a01b03821682036101565756fe60806040526004361015610011575f80fd5b5f3560e01c80630289aca314610234578063078dfbe71461022f5780631c3c0ea81461022a5780631fb4a228146102255780632acc4bd1146102205780632d2c55651461021b5780633e25063314610216578063434b3112146102115780634e71e0c81461020c5780635a6b2246146102075780635ac295b81461020257806360fc8466146101fd5780636c3a88ee146101f85780636f7181aa146101f357806384b0196e146101ee5780638da5cb5b146101e957806397c42e14146101e4578063a48a36b2146101df578063a8e4fb90146101da578063b90165a4146101d5578063c150ef87146101d0578063c34c08e5146101cb578063c4d66de8146101c6578063ca6f50fd146101c1578063d7b1f532146101bc578063e1bb9456146101b7578063e30c3978146101b2578063e66b2f59146101ad578063eceed5bb146101a8578063f1ec230f146101a3578063f663bcdc1461019e578063fb0644fc14610199578063ff68dece146101945763ffc97ac81461018f575f80fd5b612e3a565b612c17565b612b36565b612af1565b6129d9565b612949565b612687565b612636565b612565565b612352565b6122e4565b612145565b6120f4565b61209b565b611fb1565b611f60565b611efb565b611e9f565b611e4f565b611d6e565b611bd1565b61198d565b611818565b6116d3565b610e38565b610ce5565b610c79565b610b77565b610a5a565b6109ef565b61072f565b61067a565b610460565b6103bd565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6080810190811067ffffffffffffffff82111761028257604052565b610239565b60a0810190811067ffffffffffffffff82111761028257604052565b6040810190811067ffffffffffffffff82111761028257604052565b610100810190811067ffffffffffffffff82111761028257604052565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff82111761028257604052565b6040519061032d610140836102dc565b565b6040519061032d610120836102dc565b6040519061032d6040836102dc565b6040519061032d60a0836102dc565b63ffffffff81160361036b57565b5f80fd5b919082608091031261036b5760405161038781610266565b6060808294803584526020810135602085015260408101356103a88161035d565b60408501520135916103b98361035d565b0152565b3461036b5760807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261036b5760206104306040516103fd81610266565b6004358152602435838201526044356104158161035d565b60408201526064356104268161035d565b6060820152612e82565b604051908152f35b73ffffffffffffffffffffffffffffffffffffffff81160361036b57565b8015150361036b57565b3461036b5760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261036b5760043561049b81610438565b602435906104a882610456565b604435916104b583610456565b6104d773ffffffffffffffffffffffffffffffffffffffff5f54163314612ef3565b156106355773ffffffffffffffffffffffffffffffffffffffff81169182159081159161062d575b50156105cf576105a09173ffffffffffffffffffffffffffffffffffffffff61053c5f5473ffffffffffffffffffffffffffffffffffffffff1690565b167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a373ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffff00000000000000000000000000000000000000005f5416175f55565b6105cd7fffffffffffffffffffffffff000000000000000000000000000000000000000060015416600155565b005b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4f776e61626c653a207a65726f206164647265737300000000000000000000006044820152fd5b90505f6104ff565b73ffffffffffffffffffffffffffffffffffffffff9150167fffffffffffffffffffffffff000000000000000000000000000000000000000060015416176001555f80f35b3461036b5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261036b577f34d4f6a542f13533b1eaa27e7ae8691368028d05b7075ad7a6c34df851a67a43602073ffffffffffffffffffffffffffffffffffffffff6004356106ed81610438565b6106fb825f54163314612ef3565b16807fffffffffffffffffffffffff00000000000000000000000000000000000000006066541617606655604051908152a1005b3461036b5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261036b577f6aaea081d3338771247ce1c8b55c8111e92e8523a8abfaf46030701203f8c0fe602073ffffffffffffffffffffffffffffffffffffffff6004356107a281610438565b6107b0825f54163314612ef3565b16807fffffffffffffffffffffffff00000000000000000000000000000000000000006067541617606755604051908152a1005b91908260a091031261036b576040516107fc81610287565b6080808294803561080c81610438565b84526020810135602085015260408101356040850152606081013560608501520135910152565b67ffffffffffffffff811161028257601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b92919261087982610833565b9161088760405193846102dc565b82948184528183011161036b578281602093845f960137010152565b9080601f8301121561036b578160206108be9335910161086d565b90565b919060608382031261036b57604051906060820182811067ffffffffffffffff82111761028257604052819380356108f881610438565b8352602081013561090881610438565b602084015260408101359167ffffffffffffffff831161036b5760409261092f92016108a3565b910152565b91906101c08382031261036b5761094961031d565b9261095482826107e4565b845260a081013567ffffffffffffffff811161036b57826109769183016108c1565b602085015260c0810135604085015260e081013567ffffffffffffffff811161036b576101a0926109a89183016108c1565b6060850152610100810135608085015261012081013560a085015261014081013560c085015261016081013560e08501526101808101356101008501520135610120830152565b3461036b5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261036b5760043567ffffffffffffffff811161036b57610430610a4b610a466020933690600401610934565b613730565b6137f2565b5f91031261036b57565b3461036b575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261036b57602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b91906101a08382031261036b57610add61032f565b92610ae882826107e4565b845260a081013567ffffffffffffffff811161036b5782610b0a9183016108c1565b602085015260c081013567ffffffffffffffff811161036b5761018092610b329183016108c1565b604085015260e08101356060850152610100810135608085015261012081013560a085015261014081013560c085015261016081013560e08501520135610100830152565b3461036b5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261036b5760043567ffffffffffffffff811161036b57610430610a4b610bce6020933690600401610ac8565b61388f565b9060e07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbc83011261036b57604051610c0a81610266565b610c168193604461036f565b815260c435602082015260e4356040820152606061010435910152565b91909160e08184031261036b57606060c060405192610c5184610266565b610c5c84968261036f565b84526080810135602085015260a081013560408501520135910152565b3461036b5760e07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261036b576020610430610a4b604051610cbc81610266565b610cc736600461036f565b81526084358482015260a435604082015260c4356060820152613945565b3461036b575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261036b5773ffffffffffffffffffffffffffffffffffffffff60015416803303610d6b57806105a09173ffffffffffffffffffffffffffffffffffffffff61053c5f5473ffffffffffffffffffffffffffffffffffffffff1690565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726044820152fd5b906101007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbc83011261036b57604051610e0181610287565b610e0d8193604461036f565b815260c435602082015260e4356040820152610104356060820152608061012435916103b983610456565b6101607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261036b5760043567ffffffffffffffff811161036b57610e83903690600401610934565b60243567ffffffffffffffff811161036b57610ea39036906004016108a3565b90610ead36610dc9565b91610144359067ffffffffffffffff821161036b57610ed3610f1c9236906004016108a3565b90610ef773ffffffffffffffffffffffffffffffffffffffff606654163314612f58565b835190610f06610a4b86613730565b90865191610f16610a4b89613f54565b93613cd5565b80519294919391925f9063ffffffff16460361168b575073ffffffffffffffffffffffffffffffffffffffff8516926060820195610f77610f71885173ffffffffffffffffffffffffffffffffffffffff1690565b8661544d565b96611007610fd2610fb7610f9f845173ffffffffffffffffffffffffffffffffffffffff1690565b610fb060408a0191825190886154e6565b518b613ea6565b925173ffffffffffffffffffffffffffffffffffffffff1690565b6040860192610ff5845173ffffffffffffffffffffffffffffffffffffffff1690565b60408701519160208a01519387614fcb565b956110156080850151151590565b611539575b5046611039611030602087015163ffffffff1690565b63ffffffff1690565b036114f8575b505b5f9546611058611030602087015163ffffffff1690565b146110fe575b87877fdc32c763f038ea930cdd65ad1f0e1be8e661976d42f515d4e6609e1ec732a48473ffffffffffffffffffffffffffffffffffffffff896110f98a51946110bb865173ffffffffffffffffffffffffffffffffffffffff1690565b92602087015197608060608901519801516040519687961698869192608093969594919660a084019784526020840152604083015260608201520152565b0390a3005b8593965073ffffffffffffffffffffffffffffffffffffffff9094919294169160e08701928351604060808a019161114a835173ffffffffffffffffffffffffffffffffffffffff1690565b60c087015183517fe546502600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff88811660048301526024820194909452919092166044820152606481019a909a5260848a01528860a4815f865af1948515611481575f985f966114cf575b508061010091519060a08c019460406111f4875173ffffffffffffffffffffffffffffffffffffffff1690565b9360208d01518b105f146114c5578861128560e08c01515b978c015184517f96f721ac00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff93841660048201819052602482019590955297909216604488015260648701979097526084860182905260a4860152948490819060c4820190565b03815f855af1918215611481575f935f93611486575b505194516020919073ffffffffffffffffffffffffffffffffffffffff165b906112d9885173ffffffffffffffffffffffffffffffffffffffff1690565b6040517f151600c900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8b8116600483015260248201999099529288166044840152909616606482015294859060849082905afa918215611481577fdc32c763f038ea930cdd65ad1f0e1be8e661976d42f515d4e6609e1ec732a4849b6113c76110f99a8a879673ffffffffffffffffffffffffffffffffffffffff9f967f1cd8b310a16905d32c82ed98563dc0c505a1413aff40568b4f1b303d82015ec5976113f69b5f93611449575b5060606101209101519301519361580b565b604080519182526020820192909252a2825173ffffffffffffffffffffffffffffffffffffffff165b9061544d565b9761140961103046925163ffffffff1690565b0361141b575b5083955081945061105e565b61144291611430610fb760808601518b61559b565b9160608501519060a086015193615678565b5f8061140f565b61012091935061147260609160203d60201161147a575b61146a81836102dc565b810190613ede565b9391506113b5565b503d611460565b61353d565b6112ba94506020929193506114b29060403d6040116114be575b6114aa81836102dc565b810190613ec8565b9490949391925061129b565b503d6114a0565b886112855f61120c565b61010099506114ee91965060403d6040116114be576114aa81836102dc565b98909895906111c7565b516115339073ffffffffffffffffffffffffffffffffffffffff168261152260808801518961559b565b60608801519060a089015193615678565b5f61103f565b85515160049073ffffffffffffffffffffffffffffffffffffffff16602061159461157b61157b875173ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1690565b604051938480927f781c18db0000000000000000000000000000000000000000000000000000000082525afa918215611481575f9261165a575b50823b1561036b576040517fc3b35a7e00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff91821660048201529116602482015260448101889052905f908290606490829084905af18015611481571561101a578061164e5f611654936102dc565b80610a50565b5f61101a565b61167d91925060203d602011611684575b61167581836102dc565b810190613eb3565b905f6115ce565b503d61166b565b94926116cd6116b1608084015173ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff861661544d565b93611041565b3461036b5760a07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261036b57602061043060405161171381610287565b60043561171f81610438565b815260243583820152604435604082015260643560608201526084356080820152612fbd565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f602080948051918291828752018686015e5f8582860101520116010190565b602081016020825282518091526040820191602060408360051b8301019401925f915b8383106117ba57505050505090565b9091929394602080611809837fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc086600196030187526040838b5180511515845201519181858201520190611745565b970193019301919392906117ab565b60207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261036b5760043567ffffffffffffffff811161036b573660238201121561036b5780600401359067ffffffffffffffff821161036b576024810190602436918460051b01011161036b5761189182613041565b9161189f60405193846102dc565b8083527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe06118cc82613041565b015f5b8181106119695750505f5b8181106118f357604051806118ef8682611788565b0390f35b8061193661193161191461190a6001958789613086565b60208101906130cb565b919061192961192486898b613086565b61311c565b92369161086d565b613f1c565b61194861194161033f565b9215158352565b60208201526119578287613126565b526119628186613126565b50016118da565b602090604051611978816102a3565b5f8152606083820152828288010152016118cf565b3461036b576101007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261036b576020610430610a4b6040516119d181610287565b6119dc36600461036f565b81526084358482015260a435604082015260c435606082015260e435611a0181610456565b6080820152613f54565b91906101208382031261036b57611a2061034e565b92611a2b82826107e4565b845260a081013567ffffffffffffffff811161036b5782611a4d9183016108c1565b602085015260c081013567ffffffffffffffff811161036b5761010092611a759183016108c1565b604085015260e0810135606085015201356080830152565b906101007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbc83011261036b57604051611ac581610287565b611ad18193604461036f565b815260c435611adf81610456565b602082015260e435611af081610438565b604082015261010435611b0281610438565b6060820152608061012435910152565b9190916101008184031261036b57608060e060405192611b3184610287565b611b3c84968261036f565b845282810135611b4b81610456565b602085015260a0810135611b5e81610438565b604085015260c0810135611b7181610438565b60608501520135910152565b906101e07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbc83011261036b57604051611bb5816102a3565b602061092f8294611bc7816044610c33565b8452610124611b12565b6102407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261036b5760043567ffffffffffffffff811161036b57611c1c903690600401611a0b565b60243567ffffffffffffffff811161036b57611c3c9036906004016108a3565b90611c4636611b7d565b906102243567ffffffffffffffff811161036b576105cd93611c6f611cb69236906004016108a3565b90611c9373ffffffffffffffffffffffffffffffffffffffff606654163314612f58565b602085015194845191611ca8610a4b87614473565b610f16610a4b8951946144f9565b9391929050614031565b92939073ffffffffffffffffffffffffffffffffffffffff92611d14611d22927f0f00000000000000000000000000000000000000000000000000000000000000875260e0602088015260e0870190611745565b908582036040870152611745565b9360608401521660808201525f60a082015260c0818303910152602080835192838152019201905f5b818110611d585750505090565b8251845260209384019390920191600101611d4b565b3461036b575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261036b576002541580611e45575b15611de757611db361430b565b611dbb6143de565b906118ef604051611dcd6020826102dc565b5f8082523660208301376040519384933091469186611cc0565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4549503731323a20556e696e697469616c697a656400000000000000000000006044820152fd5b5060035415611da6565b3461036b575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261036b57602073ffffffffffffffffffffffffffffffffffffffff5f5416604051908152f35b3461036b5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261036b5760043567ffffffffffffffff811161036b57610430610a4b611ef66020933690600401611a0b565b614473565b3461036b576101e07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261036b576020610430610a4b604051611f3f816102a3565b611f4a366004610c33565b8152611f573660e4611b12565b848201526144f9565b3461036b575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261036b57602073ffffffffffffffffffffffffffffffffffffffff60675416604051908152f35b6102407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261036b5760043567ffffffffffffffff811161036b57611ffc903690600401610ac8565b60243567ffffffffffffffff811161036b5761201c9036906004016108a3565b61202536611b7d565b916102243567ffffffffffffffff811161036b576105cd9361204e6120939236906004016108a3565b9061207273ffffffffffffffffffffffffffffffffffffffff606654163314612f58565b5193835190612083610a4b8661388f565b90865191610f16610a4b89613945565b939092614555565b3461036b5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261036b5760043567ffffffffffffffff811161036b576104306120ef60209236906004016108c1565b61313a565b3461036b575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261036b57602073ffffffffffffffffffffffffffffffffffffffff60665416604051908152f35b3461036b5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261036b5760043561218081610438565b612203600154916121b561219f61219b8560ff9060a81c1690565b1590565b809481956122d2575b81156122af575b506131c4565b826121fa740100000000000000000000000000000000000000007fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff6001541617600155565b6122655761324f565b61220957005b6122367fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff60015416600155565b604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249890602090a1005b6122aa75010000000000000000000000000000000000000000007fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff6001541617600155565b61324f565b303b159150816122c1575b505f6121af565b60a01c60ff1660011490505f6122ba565b600160a082901c60ff161091506121a8565b3461036b575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261036b57602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b3461036b5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261036b5760043561238d81610438565b6040517fa92572fb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff82166004820152602480359082015261014081806044810103815f73ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165af18015611481575f915f905f9261251c575b5073ffffffffffffffffffffffffffffffffffffffff1660e082015161248b60a061246f608086015173ffffffffffffffffffffffffffffffffffffffff1690565b94015173ffffffffffffffffffffffffffffffffffffffff1690565b94823b1561036b576040517f6f45c8c000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9586166004820152602481019290925292841660448201529383166064850152911660848301525f90829060a490829084905af180156114815761250e57005b8061164e5f6105cd936102dc565b905073ffffffffffffffffffffffffffffffffffffffff925061255791506101403d811161255e575b61254f81836102dc565b81019061345b565b919261242d565b503d612545565b6101407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261036b5760043567ffffffffffffffff811161036b576125b0903690600401610ac8565b60243567ffffffffffffffff811161036b576125d09036906004016108a3565b906125da36610bd3565b906101243567ffffffffffffffff811161036b576105cd936126036120939236906004016108a3565b9061262773ffffffffffffffffffffffffffffffffffffffff606654163314612f58565b835190612083610a4b8661388f565b3461036b575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261036b57602073ffffffffffffffffffffffffffffffffffffffff60015416604051908152f35b60a07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261036b576024356004356126c082610438565b60643560443567ffffffffffffffff821161036b576126e661272e9236906004016108c1565b936101406084356040517fa92572fb00000000000000000000000000000000000000000000000000000000815233600482015260248101969096529493849081906044820190565b03815f73ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165af18015611481575f935f91612922575b5073ffffffffffffffffffffffffffffffffffffffff821683816128fa576127a2915033614d03565b6127c28373ffffffffffffffffffffffffffffffffffffffff8616614d6a565b6127d3611030825163ffffffff1690565b4603612826579261280d926118ef9692612807606061281697015173ffffffffffffffffffffffffffffffffffffffff1690565b92614eac565b91821015613548565b6040519081529081906020820190565b9194909261283e611030602085015163ffffffff1690565b4603612870576118ef956128169461280760a061280d96015173ffffffffffffffffffffffffffffffffffffffff1690565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f50656e646c6550544c6f6f7065723a20556e737570706f72746564206368616960448201527f6e69640000000000000000000000000000000000000000000000000000000000606482015280608481015b0390fd5b61291d9173ffffffffffffffffffffffffffffffffffffffff8716903390614bb2565b6127c2565b905061293e9193506101403d811161255e5761254f81836102dc565b93919050925f612779565b3461036b576101007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261036b576020610430610a4b60405161298d81610287565b61299836600461036f565b81526084356129a681610456565b8482015260a4356129b681610438565b604082015260c4356129c781610438565b606082015260e43560808201526150b6565b3461036b5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261036b57600435612a1481610438565b73ffffffffffffffffffffffffffffffffffffffff602435915f6020604051612a3c816102a3565b8281520152165f52606960205260405f20905f526020526118ef60405f2063ffffffff600160405192612a6e846102a3565b80548452015416602082015260405191829182919091602063ffffffff81604084019580518552015116910152565b9060c07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc83011261036b57604051612ad4816102a3565b612ae0819360046107e4565b8152602060a435916103b983610456565b3461036b5760c07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261036b576020610430610a4b612b3136612a9d565b61515a565b6101607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261036b5760043567ffffffffffffffff811161036b57612b81903690600401611a0b565b60243567ffffffffffffffff811161036b57612ba19036906004016108a3565b90612bab36611a8d565b906101443567ffffffffffffffff811161036b576105cd93612bd4611cb69236906004016108a3565b90612bf873ffffffffffffffffffffffffffffffffffffffff606654163314612f58565b835190612c07610a4b86614473565b90865191610f16610a4b896150b6565b3461036b5760e07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261036b57612c4f36612a9d565b60c43567ffffffffffffffff811161036b57612c6f9036906004016108a3565b90612c9373ffffffffffffffffffffffffffffffffffffffff606654163314612f58565b7f171e44fe919c8106787a9717bed2d16211e6920a622196e91c4997f23997f6b673ffffffffffffffffffffffffffffffffffffffff825192612cf460408501519560608601968751608088015190612cee610a4b8761515a565b926151be565b6110f9612d3c612d18865173ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff165f52606960205260405f2090565b91612d53602087019384515f5260205260405f2090565b9560018701916020612d69845463ffffffff1690565b910197612d768951151590565b15612e1b5791612dcf612d9e612de99385612d95612df497541561365c565b8d519055613714565b85547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000001663ffffffff821617909555565b5173ffffffffffffffffffffffffffffffffffffffff1690565b935197519651151590565b6040805197885263ffffffff90921660208801521515908601529116929081906060820190565b612de9919350915f83612e34612df495548d51146135d1565b55612dcf565b3461036b5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261036b576004355f526068602052602060405f2054604051908152f35b80519060208101519063ffffffff60608160408401511692015116906040519260208401947fdec5377ad0c3fcb212b2b172cd66029cece11fcb91824087701367530968a3a3865260408501526060840152608083015260a082015260a08152612eed60c0826102dc565b51902090565b15612efa57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b15612f5f57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f50544c6f6f7065723a20556e617574686f72697a6564000000000000000000006044820152fd5b73ffffffffffffffffffffffffffffffffffffffff8151169060208101519060408101519060806060820151910151916040519360208501957fb640a4f22c97af1109cba51a49380ffa55a758dfbf6815b4462d6bca5ac9f833875260408601526060850152608084015260a083015260c082015260c08152612eed60e0826102dc565b67ffffffffffffffff81116102825760051b60200190565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b91908110156130c65760051b810135907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc18136030182121561036b570190565b613059565b9035907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18136030182121561036b570180359067ffffffffffffffff821161036b5760200191813603831361036b57565b356108be81610456565b80518210156130c65760209160051b010190565b73ffffffffffffffffffffffffffffffffffffffff81511690604073ffffffffffffffffffffffffffffffffffffffff602083015116910151602081519101206040519160208301937fd3355b017a4df5ab14bfe30be8fc74cf288d6cbdd53b7fb9a45cb406e14cb425855260408401526060830152608082015260808152612eed60a0826102dc565b156131cb57565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152fd5b9060409182519261326081856102dc565b601084527f50656e646c65205054204c6f6f706572000000000000000000000000000000006020850152613296815191826102dc565b600181527f310000000000000000000000000000000000000000000000000000000000000060208201526132da60ff60015460a81c166132d581614ad3565b614ad3565b835167ffffffffffffffff8111610282576132ff816132fa6004546142ba565b61589b565b6020601f821160011461337e578161335c93926133549261032d97985f92613373575b50507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8260011b9260031b1c19161790565b60045561593a565b6133655f600255565b61336e5f600355565b614b5e565b015190505f80613322565b60045f527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08216957f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b965f5b81811061342d575096600192849261335c969561032d999a106133f6575b505050811b0160045561593a565b01517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88460031b161c191690555f80806133e8565b838301518955600190980197602093840193016133ca565b519061032d82610438565b519061032d8261035d565b8092910390610140821261036b57825161347481610438565b926101007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc060208301516134a781610438565b94011261036b57610120604051916134be836102bf565b6134ca60408201613450565b83526134d860608201613450565b60208401526134e960808201613445565b60408401526134fa60a08201613445565b606084015261350b60c08201613445565b608084015261351c60e08201613445565b60a084015261352e6101008201613445565b60c0840152015160e082015290565b6040513d5f823e3d90fd5b1561354f57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f50656e646c6550544c6f6f7065723a20736c69707061676500000000000000006044820152fd5b906040516135ba816102a3565b602063ffffffff6001839580548552015416910152565b156135d857565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f50544c6f6f7065723a206f776e6572207369676e61747572652068617368206d60448201527f69736d6174636820666f72207465726d696e6174696f6e0000000000000000006064820152fd5b1561366357565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f50544c6f6f7065723a20696e697469617465206f6e2d676f696e67207265717560448201527f65737400000000000000000000000000000000000000000000000000000000006064820152fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b63ffffffff1663ffffffff811461372b5760010190565b6136e7565b61373a8151612fbd565b90613748602082015161313a565b9060408101519061375c606082015161313a565b608082015160a083015160c08401519160e085015193610120610100870151960151966040519860208a019a7f10a9f964af374bb066b2b42baab367485fd28ccd388147a3a15b3b41e7494b948c5260408b015260608a0152608089015260a088015260c087015260e08601526101008501526101208401526101408301526101608201526101608152612eed610180826102dc565b6042906137fd615c23565b613805615c6e565b6040519060208201927f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f8452604083015260608201524660808201523060a082015260a0815261385660c0826102dc565b51902090604051917f19010000000000000000000000000000000000000000000000000000000000008352600283015260228201522090565b6138998151612fbd565b906138a7602082015161313a565b906138b5604082015161313a565b906060810151608082015160a08301519060c08401519261010060e0860151950151956040519760208901997ffffbf6ee97f7447ba17661bffad2aad88dd02dd23ebbd01a128a011b3c43af7b8b5260408a01526060890152608088015260a087015260c086015260e08501526101008401526101208301526101408201526101408152612eed610160826102dc565b61394f8151612e82565b9060208101519060606040820151910151906040519260208401947fe145cae8ea05226f01ac71862211c868fd5e8c42f443bbec7cef8f85246ea727865260408501526060840152608083015260a082015260a08152612eed60c0826102dc565b604051906139bd826102bf565b5f60e0838281528260208201528260408201528260608201528260808201528260a08201528260c08201520152565b156139f357565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f50544c6f6f7065723a205065726d697420626f78206d69736d617463686564006044820152fd5b15613a5857565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f50544c6f6f7065723a20557365722072657175657374206d69736d617463686560448201527f64000000000000000000000000000000000000000000000000000000000000006064820152fd5b15613ae357565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f50544c6f6f7065723a20426f78204944206d69736d61746368000000000000006044820152fd5b15613b4857565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f50544c6f6f7065723a20526571756573742065787069726564000000000000006044820152fd5b15613bad57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f50544c6f6f7065723a20496e76616c69642073657373696f6e206e6f6e6365006044820152fd5b15613c1257565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f50544c6f6f7065723a20496e76616c69642070726f706f736572206e6f6e63656044820152fd5b15613c7757565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f50544c6f6f7065723a20496e76616c6964206f776e65722073696761747572656044820152fd5b939295949195613ce36139b0565b50845173ffffffffffffffffffffffffffffffffffffffff165f9081526069602052604090209660208601978851613d2291905f5260205260405f2090565b613d2b906135ad565b908151906060880191825114613d40906139ec565b82518651602088012014613d5390613a51565b60408801519151946080890195865190613d6c946151be565b8151885114613d7a90613adc565b60208201514210613d8a90613b41565b604082015160209190910151613daa9163ffffffff918216911614613ba6565b606001519051613dc09163ffffffff1611613c0b565b825173ffffffffffffffffffffffffffffffffffffffff1691613de2926152e9565b613deb90613c70565b5191516040517fa92572fb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff93841660048201526024810191909152917f000000000000000000000000000000000000000000000000000000000000000016826044815a610140945f91f1908115611481575f5f935f93613e7f575b50929190565b91935050613e9c91506101403d811161255e5761254f81836102dc565b929092915f613e79565b9190820391821161372b57565b9081602091031261036b57516108be81610438565b919082604091031261036b576020825192015190565b9081602091031261036b575190565b3d15613f17573d90613efe82610833565b91613f0c60405193846102dc565b82523d5f602084013e565b606090565b5f8091602081519101305af491613f31613eed565b9183159081613f4b575b50613f4257565b50805190602001fd5b9050155f613f3b565b613f5e8151612e82565b90602081015190604081015190608060608201519101511515916040519360208501957fcb31d839e67e79997fda71b3d1aa1971603be5c7e5cfd00f91adae0ba9f24984875260408601526060850152608084015260a083015260c082015260c08152612eed60e0826102dc565b15613fd357565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f50544c6f6f7065723a20496e73756666696369656e7420746f6b656e206f75746044820152fd5b929190614042835163ffffffff1690565b63ffffffff16460361427e57606083015173ffffffffffffffffffffffffffffffffffffffff16604082015173ffffffffffffffffffffffffffffffffffffffff16935b6140d460206140bc73ffffffffffffffffffffffffffffffffffffffff871694886140b1828861544d565b848c0151928a614eac565b946140cd6080820151871015613fcc565b0151151590565b15614272576020015163ffffffff165b63ffffffff16461461411457509261410461032d9460608301519061559b565b6080604083015192015193615678565b91509192614138815173ffffffffffffffffffffffffffffffffffffffff90511690565b91803b1561036b576040517fc3b35a7e00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff93841660048201529285166024840152604483018490525f908390606490829084905af1908115611481577fb1c17b3230ade5d23a475c7c95893351936c5136c62251f1eb8d15e68ec0cf9e9273ffffffffffffffffffffffffffffffffffffffff9261425e575b505192614259614207855173ffffffffffffffffffffffffffffffffffffffff1690565b916020860151966080606088015197015160405195869516978590949373ffffffffffffffffffffffffffffffffffffffff5f9460809460a08501988552602085015216604083015260608201520152565b0390a3565b8061164e5f61426c936102dc565b5f6141e3565b5163ffffffff166140e4565b60a083015173ffffffffffffffffffffffffffffffffffffffff16606082015173ffffffffffffffffffffffffffffffffffffffff1693614086565b90600182811c92168015614301575b60208310146142d457565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b91607f16916142c9565b604051905f826004549161431e836142ba565b80835292600181169081156143a15750600114614342575b61032d925003836102dc565b5060045f90815290917f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b81831061438557505090602061032d92820101614336565b602091935080600191548385890101520191019091849261436d565b6020925061032d9491507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001682840152151560051b820101614336565b604051905f82600554916143f1836142ba565b80835292600181169081156143a157506001146144145761032d925003836102dc565b5060055f90815290917f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db05b81831061445757505090602061032d92820101614336565b602091935080600191548385890101520191019091849261443f565b61447d8151612fbd565b9061448b602082015161313a565b90614499604082015161313a565b9060806060820151910151916040519360208501957f99bb6242473b834c5af10d3a52cb9d929bc771b6b1b2dffe63780d1fca0cacde875260408601526060850152608084015260a083015260c082015260c08152612eed60e0826102dc565b61451060206145088351613945565b9201516150b6565b6040519060208201927f25416d647edac38cd70327a118c3aa1926bb7d4e3f234e5c8193c21513e3bb2d84526040830152606082015260608152612eed6080826102dc565b90919392935f90602085019161456f835163ffffffff1690565b63ffffffff164603614a8b575073ffffffffffffffffffffffffffffffffffffffff81169360a086019473ffffffffffffffffffffffffffffffffffffffff6145d56145cf885173ffffffffffffffffffffffffffffffffffffffff1690565b8361544d565b98169060e0880189604082516145ff8b5173ffffffffffffffffffffffffffffffffffffffff1690565b60a08b015183517ffbf3671000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8b811660048301526024820194909452919092166044820152606481019390935260848301528160a4815f885af1908115611481575f905f92614a69575b5082519060808c019a8a8c516146a59073ffffffffffffffffffffffffffffffffffffffff1690565b938a60208b015187115f1460409361473a91614a5f578a60e060c0830151925b0151918651998a9687967f08c790b500000000000000000000000000000000000000000000000000000000885260048801929373ffffffffffffffffffffffffffffffffffffffff60a095819499989793998260c088019b168752602087015216604085015260608401521660808201520152565b03815f8b5af1968715611481578c955f945f99614a2a575b509061477a610fb76020949351985173ffffffffffffffffffffffffffffffffffffffff1690565b6040517f151600c900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8d8116600483015260248201999099529288166044840152909616606482015294859060849082905afa92831561148157614859968b7f3bb7491f8a60de4663d7a867b8a455c3d949a312bccb388b2d8aad2a8943f26c9561482c9389985f92614a09575b5061010060608d01519301519361580b565b604080519182526020820192909252a2865173ffffffffffffffffffffffffffffffffffffffff166113f0565b944661486c611030895163ffffffff1690565b036149db575b505b5f9546614888611030835163ffffffff1690565b146148ed575b505050507f80fb3628401036a6958f114182756e4ab87375e320ad0c90c57e2025a18b85119161425973ffffffffffffffffffffffffffffffffffffffff9251946110bb865173ffffffffffffffffffffffffffffffffffffffff1690565b7f80fb3628401036a6958f114182756e4ab87375e320ad0c90c57e2025a18b8511959396509173ffffffffffffffffffffffffffffffffffffffff9491614988846060614954604061425998015173ffffffffffffffffffffffffffffffffffffffff1690565b9101926040614977855173ffffffffffffffffffffffffffffffffffffffff1690565b910151908860208801519387614fcb565b9761499b61103046925163ffffffff1690565b036149ad575b5083955081945061488e565b6149d4916149c2610fb760608601518b61559b565b91604085015190608086015193615678565b5f806149a1565b614a0390836149f1610fb760608901518a61559b565b91604088015190608089015193615678565b5f614872565b614a2391925060203d60201161147a5761146a81836102dc565b905f61481a565b60209392919950610fb79550614a5161477a9160403d6040116114be576114aa81836102dc565b9690969a9293945050614752565b8a60e05f926146c5565b9050614a84915060403d6040116114be576114aa81836102dc565b905f61467c565b9550614acd614ab1604087015173ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff831661544d565b93614874565b15614ada57565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152fd5b61032d90614b7360ff60015460a81c16614ad3565b73ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffff00000000000000000000000000000000000000005f5416175f55565b929182614bc0575b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff614cbd95614c6e8394614c4260405198899260208401997f23b872dd000000000000000000000000000000000000000000000000000000008b526024850173ffffffffffffffffffffffffffffffffffffffff6040929594938160608401971683521660208201520152565b037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081018852876102dc565b169260405194614c7f6040876102dc565b602086527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65646020870152519082855af1614cb7613eed565b91615d1c565b80518015908115614cdd575b50614cd49150615b98565b5f808080614bba565b602090830183900312905061036b576020614cd4910151614cfd81610456565b5f614cc9565b503403614d0c57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f657468206d69736d6174636800000000000000000000000000000000000000006044820152fd5b81158015614df1575b614ded575f80809381935af1614d87613eed565b5015614d8f57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f6574682073656e64206661696c656400000000000000000000000000000000006044820152fd5b5050565b503073ffffffffffffffffffffffffffffffffffffffff821614614d73565b90670de0b6b3a7640000820291808304670de0b6b3a7640000149015171561372b57565b8181029291811591840414171561372b57565b15614e4e57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f50544c6f6f7065723a20737761702062656c6f77206d696e53776170526174656044820152fd5b90929493919473ffffffffffffffffffffffffffffffffffffffff811673ffffffffffffffffffffffffffffffffffffffff851614155f14614fbe5761032d9383614f9673ffffffffffffffffffffffffffffffffffffffff6020614fa09701511691614f79604073ffffffffffffffffffffffffffffffffffffffff8351169201519373ffffffffffffffffffffffffffffffffffffffff60405196614f5288610287565b168652602086018c905273ffffffffffffffffffffffffffffffffffffffff166040860152565b73ffffffffffffffffffffffffffffffffffffffff166060840152565b6080820152615a6d565b9050925b614fb75f614fb186614e10565b92614e34565b1115614e47565b5050505061032d82614fa4565b61032d94969591929373ffffffffffffffffffffffffffffffffffffffff811673ffffffffffffffffffffffffffffffffffffffff851614155f146150a857614fb79383614f9673ffffffffffffffffffffffffffffffffffffffff602061509b9701511691614f79604073ffffffffffffffffffffffffffffffffffffffff8351169201519373ffffffffffffffffffffffffffffffffffffffff6040519661507488610287565b168652602086018b905273ffffffffffffffffffffffffffffffffffffffff166040860152565b9050945b614fb186614e10565b50505050614fb7819461509f565b6150c08151612e82565b90602081015115159073ffffffffffffffffffffffffffffffffffffffff60408201511690608073ffffffffffffffffffffffffffffffffffffffff606083015116910151916040519360208501957fceba92e2a0986e305e58dda564f2244504e3f89ddb78abf41773e411770248fc875260408601526060850152608084015260a083015260c082015260c08152612eed60e0826102dc565b60206151668251612fbd565b91015115156040519060208201927fd565327e8310eec9d6832c197d35fa0a83381e3042693a9fdbae6effeb17b15084526040830152606082015260608152612eed6080826102dc565b906001820180921161372b57565b93909392919242101561528b576151ed9173ffffffffffffffffffffffffffffffffffffffff606754166152e9565b1561522d5761521b8161521661522a9361520f865f52606860205260405f2090565b5414613c0b565b6151b0565b915f52606860205260405f2090565b55565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f50544c6f6f7065723a20496e76616c6964207369676e617475726500000000006044820152fd5b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f50544c6f6f7065723a204d6573736167652065787069726564000000000000006044820152fd5b906152f48382615b63565b6005819592951015615420571593846153fd575b508315615316575b50505090565b5f93509061536761539385949360405192839160208301957f1626ba7e0000000000000000000000000000000000000000000000000000000087526024840152604060448401526064830190611745565b037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081018352826102dc565b51915afa61539f613eed565b816153ef575b816153b4575b505f8080615310565b905060208180518101031261036b57602001517f1626ba7e00000000000000000000000000000000000000000000000000000000145f6153ab565b9050602081511015906153a5565b73ffffffffffffffffffffffffffffffffffffffff84811691161493505f615308565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b9073ffffffffffffffffffffffffffffffffffffffff168061546e57503190565b9073ffffffffffffffffffffffffffffffffffffffff602460209260405194859384927f70a082310000000000000000000000000000000000000000000000000000000084521660048301525afa908115611481575f916154cd575090565b6108be915060203d60201161147a5761146a81836102dc565b73ffffffffffffffffffffffffffffffffffffffff1691823b1561036b576040517fc3b35a7e00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000008116600483015290921660248301526044820152905f9082908183816064810103925af18015611481576155915750565b5f61032d916102dc565b90808210156155a8575090565b905090565b60208183031261036b5780519067ffffffffffffffff821161036b570181601f8201121561036b578051906155e182610833565b926155ef60405194856102dc565b8284526020838301011161036b57815f9260208093018386015e8301015290565b9073ffffffffffffffffffffffffffffffffffffffff61567160806020939695966040865283815116604087015284810151606087015283604082015116828701528360608201511660a0870152015160a060c086015260e0850190611745565b9416910152565b9093928415615804576157889273ffffffffffffffffffffffffffffffffffffffff5f9216946156bf602083015173ffffffffffffffffffffffffffffffffffffffff1690565b9161574d60406156e3835173ffffffffffffffffffffffffffffffffffffffff1690565b920151916157306156f261034e565b73ffffffffffffffffffffffffffffffffffffffff8916815295602087018c905273ffffffffffffffffffffffffffffffffffffffff166040870152565b73ffffffffffffffffffffffffffffffffffffffff166060850152565b608083015260405180809681947f28dc8307000000000000000000000000000000000000000000000000000000008352339060048401615610565b0391875af1908115611481577fad291a40fa1101f4862bddb7bb26e68ac0da675be432a534edc73eb2ece0587c9273ffffffffffffffffffffffffffffffffffffffff926157e4575b5060405194855216928060208101614259565b6157ff903d805f833e6157f781836102dc565b8101906155ad565b6157d1565b5050505050565b909361582f61583593615829670de0b6b3a76400009693879461559b565b93614e34565b04614e34565b041061583d57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f50544c6f6f7065723a206d61784c5456206578636565646564000000000000006044820152fd5b601f81116158a7575050565b60045f5260205f20906020601f840160051c830193106158e1575b601f0160051c01905b8181106158d6575050565b5f81556001016158cb565b90915081906158c2565b601f82116158f857505050565b5f5260205f20906020601f840160051c83019310615930575b601f0160051c01905b818110615925575050565b5f815560010161591a565b9091508190615911565b90815167ffffffffffffffff8111610282576159628161595b6005546142ba565b60056158eb565b602092601f82116001146159b4576159af929382915f926133735750507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8260011b9260031b1c19161790565b600555565b60055f527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08216937f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db0915f5b868110615a555750836001959610615a1e575b505050811b01600555565b01517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88460031b161c191690555f8080615a13565b91926020600181928685015181550194019201615a00565b9173ffffffffffffffffffffffffffffffffffffffff909391931691615a93848461544d565b926040517f28dc83070000000000000000000000000000000000000000000000000000000081525f8180615acb858760048401615610565b038183865af1801561148157615b4b575b50615ae7858261544d565b9384039084821161372b57825160209384015160408051918252948101849052929673ffffffffffffffffffffffffffffffffffffffff908116949116927fb4f5edbb087700c3f3246c0f164b5277ac48e3720a148d371f9dfed3258662f29190a4565b615b5e903d805f833e6157f781836102dc565b615adc565b9060418151145f14615b8f57615b8b91602082015190606060408401519301515f1a90615c94565b9091565b50505f90600290565b15615b9f57565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152fd5b615c2b61430b565b8051908115615c3b576020012090565b50506002548015615c495790565b507fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47090565b615c766143de565b8051908115615c86576020012090565b50506003548015615c495790565b7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08411615d11576020935f9360ff60809460405194855216868401526040830152606082015282805260015afa15611481575f5173ffffffffffffffffffffffffffffffffffffffff811615615d0957905f90565b505f90600190565b505050505f90600390565b91929015615d975750815115615d30575090565b3b15615d395790565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152fd5b825190915015615daa5750805190602001fd5b6128f6906040519182917f08c379a000000000000000000000000000000000000000000000000000000000835260206004840152602483019061174556fea26469706673582212203b6ffbbfe7cca11d8ccb91e3c9524261d97651e3049a084843c5957ae9b2dca164736f6c634300081e0033";
|
|
2678
|
+
|
|
2679
|
+
type PendlePTLooperConstructorParams =
|
|
2680
|
+
| [signer?: Signer]
|
|
2681
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
2682
|
+
|
|
2683
|
+
const isSuperArgs = (
|
|
2684
|
+
xs: PendlePTLooperConstructorParams
|
|
2685
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
2686
|
+
|
|
2687
|
+
export class PendlePTLooper__factory extends ContractFactory {
|
|
2688
|
+
constructor(...args: PendlePTLooperConstructorParams) {
|
|
2689
|
+
if (isSuperArgs(args)) {
|
|
2690
|
+
super(...args);
|
|
2691
|
+
} else {
|
|
2692
|
+
super(_abi, _bytecode, args[0]);
|
|
2693
|
+
}
|
|
2694
|
+
this.contractName = "PendlePTLooper";
|
|
2695
|
+
}
|
|
2696
|
+
|
|
2697
|
+
deploy(
|
|
2698
|
+
treasury: string,
|
|
2699
|
+
positionBoxFactory: string,
|
|
2700
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2701
|
+
): Promise<PendlePTLooper> {
|
|
2702
|
+
return super.deploy(
|
|
2703
|
+
treasury,
|
|
2704
|
+
positionBoxFactory,
|
|
2705
|
+
overrides || {}
|
|
2706
|
+
) as Promise<PendlePTLooper>;
|
|
2707
|
+
}
|
|
2708
|
+
getDeployTransaction(
|
|
2709
|
+
treasury: string,
|
|
2710
|
+
positionBoxFactory: string,
|
|
2711
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2712
|
+
): TransactionRequest {
|
|
2713
|
+
return super.getDeployTransaction(
|
|
2714
|
+
treasury,
|
|
2715
|
+
positionBoxFactory,
|
|
2716
|
+
overrides || {}
|
|
2717
|
+
);
|
|
2718
|
+
}
|
|
2719
|
+
attach(address: string): PendlePTLooper {
|
|
2720
|
+
return super.attach(address) as PendlePTLooper;
|
|
2721
|
+
}
|
|
2722
|
+
connect(signer: Signer): PendlePTLooper__factory {
|
|
2723
|
+
return super.connect(signer) as PendlePTLooper__factory;
|
|
2724
|
+
}
|
|
2725
|
+
static readonly contractName: "PendlePTLooper";
|
|
2726
|
+
public readonly contractName: "PendlePTLooper";
|
|
2727
|
+
static readonly bytecode = _bytecode;
|
|
2728
|
+
static readonly abi = _abi;
|
|
2729
|
+
static createInterface(): PendlePTLooperInterface {
|
|
2730
|
+
return new utils.Interface(_abi) as PendlePTLooperInterface;
|
|
2731
|
+
}
|
|
2732
|
+
static connect(
|
|
2733
|
+
address: string,
|
|
2734
|
+
signerOrProvider: Signer | Provider
|
|
2735
|
+
): PendlePTLooper {
|
|
2736
|
+
return new Contract(address, _abi, signerOrProvider) as PendlePTLooper;
|
|
2737
|
+
}
|
|
2738
|
+
}
|