@pendle/core-v2 6.5.0-swaphubtest → 6.6.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/LICENSE +12 -82
- 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/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
- 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/FixedPricePTAMM.sol/FixedPricePTAMM.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/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.json +2 -2
- package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.dbg.json +1 -1
- package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
- package/build/artifacts/contracts/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/IPActionCrossChain.sol/IPActionCrossChain.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/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPDepositBoxFactory.sol/IPDepositBoxFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMM.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMMSwapCallback.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/IPLimitRouter.json +231 -0
- 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/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/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/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.json +2 -2
- package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.json +226 -21
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +228 -23
- 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/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/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/PendleFeeSetter.sol/PendleFeeSetter.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/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/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/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/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/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/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/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
- package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.json +2 -2
- package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.json +2 -2
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -2
- package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -2
- package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
- package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
- package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
- package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
- package/build/artifacts/contracts/router/RouterStorage.sol/RouterStorage.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
- package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/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/contracts/cross-chain/swap-hub/SwapHubBase.sol +3 -3
- package/contracts/interfaces/IPLimitRouter.sol +7 -0
- package/contracts/limit/LimitRouterBase.sol +2 -11
- package/contracts/limit/PendleLimitRouter.sol +23 -1
- package/deployments/1-core.json +10 -6
- package/deployments/10-core.json +8 -4
- package/deployments/130-core.json +8 -2
- package/deployments/143-core.json +18 -0
- package/deployments/146-core.json +8 -4
- package/deployments/42161-core.json +8 -4
- package/deployments/43114-core.json +5 -2
- package/deployments/43114-offchain-helper.json +3 -0
- package/deployments/5000-core.json +8 -4
- package/deployments/56-core.json +8 -4
- package/deployments/57073-core.json +18 -0
- package/deployments/747474-core.json +18 -0
- package/deployments/80094-core.json +8 -4
- package/deployments/8453-core.json +8 -4
- package/deployments/9745-core.json +7 -3
- package/deployments/999-core.json +7 -3
- package/package.json +1 -1
- package/typechain-types/IPLimitRouter.ts +83 -0
- package/typechain-types/LimitRouterBase.ts +79 -46
- package/typechain-types/PendleLimitRouter.ts +79 -46
- package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
- package/typechain-types/factories/ActionCallbackV3__factory.ts +1 -1
- package/typechain-types/factories/ActionCrossChain__factory.ts +1 -1
- package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
- package/typechain-types/factories/ActionSimple__factory.ts +1 -1
- package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionStorageV4__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
- package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
- package/typechain-types/factories/ExpiredLpPtRedeemer__factory.ts +1 -1
- package/typechain-types/factories/IPLimitRouter__factory.ts +231 -0
- package/typechain-types/factories/LimitBackendHelperV2__factory.ts +1 -1
- package/typechain-types/factories/LimitRouterBase__factory.ts +226 -21
- package/typechain-types/factories/MarketSweed__factory.ts +1 -1
- package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +1 -1
- package/typechain-types/factories/PendleCrossChainSwapHub__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeSetter__factory.ts +1 -1
- package/typechain-types/factories/PendleLimitRouter__factory.ts +227 -22
- package/typechain-types/factories/PendlePoolDeployHelperV2__factory.ts +1 -1
- package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
- package/typechain-types/factories/Reflector__factory.ts +1 -1
- package/typechain-types/Broadcaster.ts +0 -455
- package/typechain-types/IPGaugeControllerMainchain.ts +0 -319
- package/typechain-types/IPVotingController.ts +0 -534
- package/typechain-types/PendleFeeDistributor.ts +0 -746
- package/typechain-types/PendleGaugeControllerBaseUpg.ts +0 -689
- package/typechain-types/PendleGaugeControllerMainchainUpg.ts +0 -778
- package/typechain-types/PendleGaugeControllerSidechainUpg.ts +0 -770
- package/typechain-types/PendleMarketFactoryV6Upg.ts +0 -773
- package/typechain-types/PendleMarketV6.ts +0 -1248
- package/typechain-types/PendleVotingControllerUpg.ts +0 -1731
- package/typechain-types/VotingControllerStorageUpg.ts +0 -984
- package/typechain-types/factories/Broadcaster__factory.ts +0 -317
- package/typechain-types/factories/IPGaugeControllerMainchain__factory.ts +0 -202
- package/typechain-types/factories/IPVotingController__factory.ts +0 -395
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +0 -671
- package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +0 -470
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +0 -648
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +0 -638
- package/typechain-types/factories/PendleMarketFactoryV6Upg__factory.ts +0 -732
- package/typechain-types/factories/PendleMarketV6__factory.ts +0 -1261
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +0 -1391
- package/typechain-types/factories/VotingControllerStorageUpg__factory.ts +0 -783
|
@@ -94,7 +94,7 @@ const _abi = [
|
|
|
94
94
|
];
|
|
95
95
|
|
|
96
96
|
const _bytecode =
|
|
97
|
-
"
|
|
97
|
+
"0x60a0604052348015600e575f5ffd5b50604051610624380380610624833981016040819052602b91603b565b6001600160a01b03166080526066565b5f60208284031215604a575f5ffd5b81516001600160a01b0381168114605f575f5ffd5b9392505050565b6080516105a661007e5f395f61015f01526105a65ff3fe608060405234801561000f575f5ffd5b5060043610610029575f3560e01c8063180e39431461002d575b5f5ffd5b61004061003b3660046103ee565b610056565b60405161004d9190610441565b60405180910390f35b5f610069826001600160801b03166102c5565b6100915781604051637bf16ce960e11b81526004016100889190610441565b60405180910390fd5b6001600160801b03821642106100bc578160405163d928003560e01b81526004016100889190610441565b6100ca6303bfc40042610469565b826001600160801b031611156100f357604051632739a01960e11b815260040160405180910390fd5b61010062093a8042610469565b826001600160801b0316101561012957604051630def6af560e21b815260040160405180910390fd5b604080518082019091525f80825260208201526040516332dad3cf60e21b81526001600160a01b0386811660048301525f9182917f0000000000000000000000000000000000000000000000000000000000000000169063cb6b4f3c906024016040805180830381865afa1580156101a3573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101c7919061047c565b604080518082019091526001600160801b0392831681529082166020820181905290945090861610159150610211905057604051631f8b0c5960e21b815260040160405180910390fd5b80515f9061021f90866104b4565b9050806001600160801b03165f0361024a576040516323fbc14f60e11b815260040160405180910390fd5b5f82602001518561025b91906104d3565b90505f604051806040016040528088865f015161027891906104b4565b6001600160801b0316815260200183866020015161029691906104b4565b6001600160801b0316905290505f6102ad826102da565b90506102b88161032b565b9998505050505050505050565b5f6102d362093a8083610506565b1592915050565b604080518082019091525f808252602082015281516102fe906303bfc40090610519565b6001600160801b0316602080830182905283015161031b91610547565b6001600160801b03168152919050565b5f61033582610351565b1561034157505f919050565b61034b8242610380565b92915050565b5f815f01516001600160801b031642836020015161036f9190610547565b6001600160801b0316101592915050565b5f825f01516001600160801b031682846020015161039e9190610547565b6001600160801b031611156103b457505f61034b565b8183602001516103c49190610547565b83516103d091906104d3565b9392505050565b6001600160801b03811681146103eb575f5ffd5b50565b5f5f5f60608486031215610400575f5ffd5b83356001600160a01b0381168114610416575f5ffd5b92506020840135610426816103d7565b91506040840135610436816103d7565b809150509250925092565b6001600160801b0391909116815260200190565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561034b5761034b610455565b5f5f6040838503121561048d575f5ffd5b8251610498816103d7565b60208401519092506104a9816103d7565b809150509250929050565b6001600160801b03818116838216019081111561034b5761034b610455565b6001600160801b03828116828216039081111561034b5761034b610455565b634e487b7160e01b5f52601260045260245ffd5b5f82610514576105146104f2565b500690565b5f6001600160801b03831680610531576105316104f2565b6001600160801b03929092169190910492915050565b6001600160801b03818116838216029081169081811461056957610569610455565b509291505056fea2646970667358221220287646c9fab31bec83dafdf26e9bf84c4b22652daca76755eaeeaaa17e3421f664736f6c634300081e0033";
|
|
98
98
|
|
|
99
99
|
type ActionVePendleStaticConstructorParams =
|
|
100
100
|
| [signer?: Signer]
|
|
@@ -301,7 +301,7 @@ const _abi = [
|
|
|
301
301
|
];
|
|
302
302
|
|
|
303
303
|
const _bytecode =
|
|
304
|
-
"0x60a060405230608052348015610013575f5ffd5b5061001c610021565b6100ed565b600154600160a81b900460ff161561008f5760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b600154600160a01b900460ff908116146100eb576001805460ff60a01b191660ff60a01b17905560405160ff81527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b608051611be96101215f395f818161033701528181610377015281816104a6015281816104e601526105610152611be95ff3fe608060405260043610610096575f3560e01c8063078dfbe71461009a5780633659cfe6146100bb5780634e71e0c8146100da5780634f1ef286146100ee57806352d1902d146101015780638da5cb5b146101285780639ea517a414610153578063bd5dec9814610172578063c4d66de814610191578063c5759ddd146101b0578063e30c3978146101cf578063e68b4951146101ee575b5f5ffd5b3480156100a5575f5ffd5b506100b96100b4366004611528565b61022c565b005b3480156100c6575f5ffd5b506100b96100d5366004611570565b61032d565b3480156100e5575f5ffd5b506100b96103f4565b6100b96100fc3660046115d6565b61049c565b34801561010c575f5ffd5b50610115610555565b6040519081526020015b60405180910390f35b348015610133575f5ffd5b505f54610146906001600160a01b031681565b60405161011f919061167b565b34801561015e575f5ffd5b5061011561016d36600461168f565b610601565b34801561017d575f5ffd5b506100b961018c366004611714565b610919565b34801561019c575f5ffd5b506100b96101ab366004611570565b61099a565b3480156101bb575f5ffd5b506100b96101ca3660046117a8565b610ad2565b3480156101da575f5ffd5b50600154610146906001600160a01b031681565b3480156101f9575f5ffd5b5061021c610208366004611570565b60646020525f908152604090205460ff1681565b604051901515815260200161011f565b5f546001600160a01b0316331461025e5760405162461bcd60e51b81526004016102559061181d565b60405180910390fd5b811561030c576001600160a01b0383161515806102785750805b6102bc5760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b6044820152606401610255565b5f80546040516001600160a01b03808716939216915f516020611b6d5f395f51905f5291a35f80546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036103755760405162461bcd60e51b815260040161025590611852565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166103a7610c25565b6001600160a01b0316146103cd5760405162461bcd60e51b81526004016102559061188b565b6103d681610c40565b604080515f808252602082019092526103f191839190610c69565b50565b6001546001600160a01b031633811461044f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726044820152606401610255565b5f80546040516001600160a01b03808516939216915f516020611b6d5f395f51905f5291a35f80546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036104e45760405162461bcd60e51b815260040161025590611852565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610516610c25565b6001600160a01b03161461053c5760405162461bcd60e51b81526004016102559061188b565b61054582610c40565b61055182826001610c69565b5050565b5f306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146105ef5760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b6064820152608401610255565b505f516020611b4d5f395f51905f5290565b5f61060a610dd3565b6001600160a01b0386165f9081526064602052604090205460ff166106575760405162461bcd60e51b81526020600482015260036024820152626e2f6160e81b6044820152606401610255565b5f5f5f886001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610696573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106ba91906118c4565b925092509250886001600160a01b0316639262187b336040518263ffffffff1660e01b81526004016106ec919061167b565b5f604051808303815f875af1158015610707573d5f5f3e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261072e9190810190611903565b505f808915610750576107438433308d610e2a565b61074d8a8261199d565b90505b88156107f3576107628b338d8c610e2a565b5f5f8c6001600160a01b031663f6b911bc30308e6040518463ffffffff1660e01b8152600401610794939291906119b0565b60408051808303815f875af11580156107af573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d391906119d4565b90925090506107e2828561199d565b93506107ee818461199d565b925050505b5f61085e846001600160a01b0316631d52edc46040518163ffffffff1660e01b81526004016020604051808303815f875af1158015610834573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085891906119f6565b83610e45565b905061086a818461199d565b9250610877868785610e6c565b60405163769f8e5d60e01b81526001600160a01b038e81166004830152602482018590528a81166044830152606482018a90526001608483015287169063769f8e5d9060a4016020604051808303815f875af11580156108d9573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108fd91906119f6565b965050505050505061090f6001600255565b9695505050505050565b5f546001600160a01b031633146109425760405162461bcd60e51b81526004016102559061181d565b5f5b81518110156105515761099282828151811061096257610962611a0d565b60200260200101513361098d85858151811061098057610980611a0d565b6020026020010151610f45565b610e6c565b600101610944565b600154600160a81b900460ff16158080156109c0575060018054600160a01b900460ff16105b806109e757506109cf30610f50565b1580156109e7575060018054600160a01b900460ff16145b610a4a5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610255565b6001805460ff60a01b1916600160a01b1790558015610a77576001805460ff60a81b1916600160a81b1790555b610a8082610f5f565b610a88610fa9565b8015610551576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b5f546001600160a01b03163314610afb5760405162461bcd60e51b81526004016102559061181d565b5f5b82811015610c1f57838382818110610b1757610b17611a0d565b9050602002016020810190610b2c9190611570565b6001600160a01b0316632f13b60c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b67573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b8b9190611a21565b610bc55760405162461bcd60e51b815260206004820152600b60248201526a1b9bdd08195e1c1a5c995960aa1b6044820152606401610255565b8160645f868685818110610bdb57610bdb611a0d565b9050602002016020810190610bf09190611570565b6001600160a01b0316815260208101919091526040015f20805460ff1916911515919091179055600101610afd565b50505050565b5f516020611b4d5f395f51905f52546001600160a01b031690565b5f546001600160a01b031633146103f15760405162461bcd60e51b81526004016102559061181d565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615610c9c5761032883610fdc565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610cf6575060408051601f3d908101601f19168201909252610cf3918101906119f6565b60015b610d595760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b6064820152608401610255565b5f516020611b4d5f395f51905f528114610dc75760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b6064820152608401610255565b50610328838383611075565b6002805403610e245760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610255565b60028055565b8015610c1f57610c1f6001600160a01b038516848484611099565b5f82610e59670de0b6b3a764000084611a3c565b610e639190611a53565b90505b92915050565b801580610e8157506001600160a01b03821630145b15610e8b57505050565b6001600160a01b038316610f2a575f826001600160a01b0316826040515f6040518083038185875af1925050503d805f8114610ee2576040519150601f19603f3d011682016040523d82523d5f602084013e610ee7565b606091505b5050905080610c1f5760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b6044820152606401610255565b6103286001600160a01b03841683836110f1565b6001600255565b5f610e663083611121565b6001600160a01b03163b151590565b600154600160a81b900460ff16610f885760405162461bcd60e51b815260040161025590611a72565b5f80546001600160a01b0319166001600160a01b0392909216919091179055565b600154600160a81b900460ff16610fd25760405162461bcd60e51b815260040161025590611a72565b610fda6111b0565b565b610fe581610f50565b6110475760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401610255565b5f516020611b4d5f395f51905f5280546001600160a01b0319166001600160a01b0392909216919091179055565b61107e836111d9565b5f8251118061108a5750805b1561032857610c1f8383611218565b610c1f846323b872dd60e01b8585856040516024016110ba939291906119b0565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261123d565b6040516001600160a01b03831660248201526044810182905261032890849063a9059cbb60e01b906064016110ba565b5f6001600160a01b038216156111a1576040516370a0823160e01b81526001600160a01b038316906370a082319061115d90869060040161167b565b602060405180830381865afa158015611178573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061119c91906119f6565b610e63565b50506001600160a01b03163190565b600154600160a81b900460ff16610f3e5760405162461bcd60e51b815260040161025590611a72565b6111e281610fdc565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a250565b6060610e638383604051806060016040528060278152602001611b8d60279139611310565b5f611291826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661137a9092919063ffffffff16565b905080515f14806112b15750808060200190518101906112b19190611a21565b6103285760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610255565b60605f5f856001600160a01b03168560405161132c9190611adf565b5f60405180830381855af49150503d805f8114611364576040519150601f19603f3d011682016040523d82523d5f602084013e611369565b606091505b509150915061090f86838387611390565b606061138884845f85611406565b949350505050565b606083156113fc5782515f036113f5576113a985610f50565b6113f55760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610255565b5081611388565b61138883836114dd565b6060824710156114675760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610255565b5f5f866001600160a01b031685876040516114829190611adf565b5f6040518083038185875af1925050503d805f81146114bc576040519150601f19603f3d011682016040523d82523d5f602084013e6114c1565b606091505b50915091506114d287838387611390565b979650505050505050565b8151156114ed5781518083602001fd5b8060405162461bcd60e51b81526004016102559190611afa565b6001600160a01b03811681146103f1575f5ffd5b80151581146103f1575f5ffd5b5f5f5f6060848603121561153a575f5ffd5b833561154581611507565b925060208401356115558161151b565b915060408401356115658161151b565b809150509250925092565b5f60208284031215611580575f5ffd5b813561158b81611507565b9392505050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f191681016001600160401b03811182821017156115ce576115ce611592565b604052919050565b5f5f604083850312156115e7575f5ffd5b82356115f281611507565b915060208301356001600160401b0381111561160c575f5ffd5b8301601f8101851361161c575f5ffd5b80356001600160401b0381111561163557611635611592565b611648601f8201601f19166020016115a6565b81815286602083850101111561165c575f5ffd5b816020840160208301375f602083830101528093505050509250929050565b6001600160a01b0391909116815260200190565b5f5f5f5f5f5f60c087890312156116a4575f5ffd5b86356116af81611507565b955060208701356116bf81611507565b9450604087013593506060870135925060808701356116dd81611507565b9598949750929591949360a090920135925050565b5f6001600160401b0382111561170a5761170a611592565b5060051b60200190565b5f60208284031215611724575f5ffd5b81356001600160401b03811115611739575f5ffd5b8201601f81018413611749575f5ffd5b803561175c611757826116f2565b6115a6565b8082825260208201915060208360051b85010192508683111561177d575f5ffd5b6020840193505b8284101561090f57833561179781611507565b825260209384019390910190611784565b5f5f5f604084860312156117ba575f5ffd5b83356001600160401b038111156117cf575f5ffd5b8401601f810186136117df575f5ffd5b80356001600160401b038111156117f4575f5ffd5b8660208260051b8401011115611808575f5ffd5b6020918201945092508401356115658161151b565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602c908201525f516020611b2d5f395f51905f5260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201525f516020611b2d5f395f51905f5260408201526b6163746976652070726f787960a01b606082015260800190565b5f5f5f606084860312156118d6575f5ffd5b83516118e181611507565b60208501519093506118f281611507565b604085015190925061156581611507565b5f60208284031215611913575f5ffd5b81516001600160401b03811115611928575f5ffd5b8201601f81018413611938575f5ffd5b8051611946611757826116f2565b8082825260208201915060208360051b850101925086831115611967575f5ffd5b6020840193505b8284101561090f57835182526020938401939091019061196e565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610e6657610e66611989565b6001600160a01b039384168152919092166020820152604081019190915260600190565b5f5f604083850312156119e5575f5ffd5b505080516020909101519092909150565b5f60208284031215611a06575f5ffd5b5051919050565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611a31575f5ffd5b815161158b8161151b565b8082028115828204841417610e6657610e66611989565b5f82611a6d57634e487b7160e01b5f52601260045260245ffd5b500490565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b5f5b83811015611ad7578181015183820152602001611abf565b50505f910152565b5f8251611af0818460208701611abd565b9190910192915050565b602081525f8251806020840152611b18816040850160208701611abd565b601f01601f1916919091016040019291505056fe46756e6374696f6e206d7573742062652063616c6c6564207468726f75676820360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212208bf81f5a1c4997b37b9c42d11c90fed4de4b911cf8fc4029bed2a6ef48d6d7e664736f6c634300081e0033";
|
|
304
|
+
"0x60a060405230608052348015610013575f5ffd5b5061001c610021565b6100ed565b600154600160a81b900460ff161561008f5760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b600154600160a01b900460ff908116146100eb576001805460ff60a01b191660ff60a01b17905560405160ff81527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b608051611be96101215f395f818161033701528181610377015281816104a6015281816104e601526105610152611be95ff3fe608060405260043610610096575f3560e01c8063078dfbe71461009a5780633659cfe6146100bb5780634e71e0c8146100da5780634f1ef286146100ee57806352d1902d146101015780638da5cb5b146101285780639ea517a414610153578063bd5dec9814610172578063c4d66de814610191578063c5759ddd146101b0578063e30c3978146101cf578063e68b4951146101ee575b5f5ffd5b3480156100a5575f5ffd5b506100b96100b4366004611528565b61022c565b005b3480156100c6575f5ffd5b506100b96100d5366004611570565b61032d565b3480156100e5575f5ffd5b506100b96103f4565b6100b96100fc3660046115d6565b61049c565b34801561010c575f5ffd5b50610115610555565b6040519081526020015b60405180910390f35b348015610133575f5ffd5b505f54610146906001600160a01b031681565b60405161011f919061167b565b34801561015e575f5ffd5b5061011561016d36600461168f565b610601565b34801561017d575f5ffd5b506100b961018c366004611714565b610919565b34801561019c575f5ffd5b506100b96101ab366004611570565b61099a565b3480156101bb575f5ffd5b506100b96101ca3660046117a8565b610ad2565b3480156101da575f5ffd5b50600154610146906001600160a01b031681565b3480156101f9575f5ffd5b5061021c610208366004611570565b60646020525f908152604090205460ff1681565b604051901515815260200161011f565b5f546001600160a01b0316331461025e5760405162461bcd60e51b81526004016102559061181d565b60405180910390fd5b811561030c576001600160a01b0383161515806102785750805b6102bc5760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b6044820152606401610255565b5f80546040516001600160a01b03808716939216915f516020611b6d5f395f51905f5291a35f80546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036103755760405162461bcd60e51b815260040161025590611852565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166103a7610c25565b6001600160a01b0316146103cd5760405162461bcd60e51b81526004016102559061188b565b6103d681610c40565b604080515f808252602082019092526103f191839190610c69565b50565b6001546001600160a01b031633811461044f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726044820152606401610255565b5f80546040516001600160a01b03808516939216915f516020611b6d5f395f51905f5291a35f80546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036104e45760405162461bcd60e51b815260040161025590611852565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610516610c25565b6001600160a01b03161461053c5760405162461bcd60e51b81526004016102559061188b565b61054582610c40565b61055182826001610c69565b5050565b5f306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146105ef5760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b6064820152608401610255565b505f516020611b4d5f395f51905f5290565b5f61060a610dd3565b6001600160a01b0386165f9081526064602052604090205460ff166106575760405162461bcd60e51b81526020600482015260036024820152626e2f6160e81b6044820152606401610255565b5f5f5f886001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610696573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106ba91906118c4565b925092509250886001600160a01b0316639262187b336040518263ffffffff1660e01b81526004016106ec919061167b565b5f604051808303815f875af1158015610707573d5f5f3e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261072e9190810190611903565b505f808915610750576107438433308d610e2a565b61074d8a8261199d565b90505b88156107f3576107628b338d8c610e2a565b5f5f8c6001600160a01b031663f6b911bc30308e6040518463ffffffff1660e01b8152600401610794939291906119b0565b60408051808303815f875af11580156107af573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d391906119d4565b90925090506107e2828561199d565b93506107ee818461199d565b925050505b5f61085e846001600160a01b0316631d52edc46040518163ffffffff1660e01b81526004016020604051808303815f875af1158015610834573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085891906119f6565b83610e45565b905061086a818461199d565b9250610877868785610e6c565b60405163769f8e5d60e01b81526001600160a01b038e81166004830152602482018590528a81166044830152606482018a90526001608483015287169063769f8e5d9060a4016020604051808303815f875af11580156108d9573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108fd91906119f6565b965050505050505061090f6001600255565b9695505050505050565b5f546001600160a01b031633146109425760405162461bcd60e51b81526004016102559061181d565b5f5b81518110156105515761099282828151811061096257610962611a0d565b60200260200101513361098d85858151811061098057610980611a0d565b6020026020010151610f45565b610e6c565b600101610944565b600154600160a81b900460ff16158080156109c0575060018054600160a01b900460ff16105b806109e757506109cf30610f50565b1580156109e7575060018054600160a01b900460ff16145b610a4a5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610255565b6001805460ff60a01b1916600160a01b1790558015610a77576001805460ff60a81b1916600160a81b1790555b610a8082610f5f565b610a88610fa9565b8015610551576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b5f546001600160a01b03163314610afb5760405162461bcd60e51b81526004016102559061181d565b5f5b82811015610c1f57838382818110610b1757610b17611a0d565b9050602002016020810190610b2c9190611570565b6001600160a01b0316632f13b60c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b67573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b8b9190611a21565b610bc55760405162461bcd60e51b815260206004820152600b60248201526a1b9bdd08195e1c1a5c995960aa1b6044820152606401610255565b8160645f868685818110610bdb57610bdb611a0d565b9050602002016020810190610bf09190611570565b6001600160a01b0316815260208101919091526040015f20805460ff1916911515919091179055600101610afd565b50505050565b5f516020611b4d5f395f51905f52546001600160a01b031690565b5f546001600160a01b031633146103f15760405162461bcd60e51b81526004016102559061181d565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615610c9c5761032883610fdc565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610cf6575060408051601f3d908101601f19168201909252610cf3918101906119f6565b60015b610d595760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b6064820152608401610255565b5f516020611b4d5f395f51905f528114610dc75760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b6064820152608401610255565b50610328838383611075565b6002805403610e245760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610255565b60028055565b8015610c1f57610c1f6001600160a01b038516848484611099565b5f82610e59670de0b6b3a764000084611a3c565b610e639190611a53565b90505b92915050565b801580610e8157506001600160a01b03821630145b15610e8b57505050565b6001600160a01b038316610f2a575f826001600160a01b0316826040515f6040518083038185875af1925050503d805f8114610ee2576040519150601f19603f3d011682016040523d82523d5f602084013e610ee7565b606091505b5050905080610c1f5760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b6044820152606401610255565b6103286001600160a01b03841683836110f1565b6001600255565b5f610e663083611121565b6001600160a01b03163b151590565b600154600160a81b900460ff16610f885760405162461bcd60e51b815260040161025590611a72565b5f80546001600160a01b0319166001600160a01b0392909216919091179055565b600154600160a81b900460ff16610fd25760405162461bcd60e51b815260040161025590611a72565b610fda6111b0565b565b610fe581610f50565b6110475760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401610255565b5f516020611b4d5f395f51905f5280546001600160a01b0319166001600160a01b0392909216919091179055565b61107e836111d9565b5f8251118061108a5750805b1561032857610c1f8383611218565b610c1f846323b872dd60e01b8585856040516024016110ba939291906119b0565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261123d565b6040516001600160a01b03831660248201526044810182905261032890849063a9059cbb60e01b906064016110ba565b5f6001600160a01b038216156111a1576040516370a0823160e01b81526001600160a01b038316906370a082319061115d90869060040161167b565b602060405180830381865afa158015611178573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061119c91906119f6565b610e63565b50506001600160a01b03163190565b600154600160a81b900460ff16610f3e5760405162461bcd60e51b815260040161025590611a72565b6111e281610fdc565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a250565b6060610e638383604051806060016040528060278152602001611b8d60279139611310565b5f611291826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661137a9092919063ffffffff16565b905080515f14806112b15750808060200190518101906112b19190611a21565b6103285760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610255565b60605f5f856001600160a01b03168560405161132c9190611adf565b5f60405180830381855af49150503d805f8114611364576040519150601f19603f3d011682016040523d82523d5f602084013e611369565b606091505b509150915061090f86838387611390565b606061138884845f85611406565b949350505050565b606083156113fc5782515f036113f5576113a985610f50565b6113f55760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610255565b5081611388565b61138883836114dd565b6060824710156114675760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610255565b5f5f866001600160a01b031685876040516114829190611adf565b5f6040518083038185875af1925050503d805f81146114bc576040519150601f19603f3d011682016040523d82523d5f602084013e6114c1565b606091505b50915091506114d287838387611390565b979650505050505050565b8151156114ed5781518083602001fd5b8060405162461bcd60e51b81526004016102559190611afa565b6001600160a01b03811681146103f1575f5ffd5b80151581146103f1575f5ffd5b5f5f5f6060848603121561153a575f5ffd5b833561154581611507565b925060208401356115558161151b565b915060408401356115658161151b565b809150509250925092565b5f60208284031215611580575f5ffd5b813561158b81611507565b9392505050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f191681016001600160401b03811182821017156115ce576115ce611592565b604052919050565b5f5f604083850312156115e7575f5ffd5b82356115f281611507565b915060208301356001600160401b0381111561160c575f5ffd5b8301601f8101851361161c575f5ffd5b80356001600160401b0381111561163557611635611592565b611648601f8201601f19166020016115a6565b81815286602083850101111561165c575f5ffd5b816020840160208301375f602083830101528093505050509250929050565b6001600160a01b0391909116815260200190565b5f5f5f5f5f5f60c087890312156116a4575f5ffd5b86356116af81611507565b955060208701356116bf81611507565b9450604087013593506060870135925060808701356116dd81611507565b9598949750929591949360a090920135925050565b5f6001600160401b0382111561170a5761170a611592565b5060051b60200190565b5f60208284031215611724575f5ffd5b81356001600160401b03811115611739575f5ffd5b8201601f81018413611749575f5ffd5b803561175c611757826116f2565b6115a6565b8082825260208201915060208360051b85010192508683111561177d575f5ffd5b6020840193505b8284101561090f57833561179781611507565b825260209384019390910190611784565b5f5f5f604084860312156117ba575f5ffd5b83356001600160401b038111156117cf575f5ffd5b8401601f810186136117df575f5ffd5b80356001600160401b038111156117f4575f5ffd5b8660208260051b8401011115611808575f5ffd5b6020918201945092508401356115658161151b565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602c908201525f516020611b2d5f395f51905f5260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201525f516020611b2d5f395f51905f5260408201526b6163746976652070726f787960a01b606082015260800190565b5f5f5f606084860312156118d6575f5ffd5b83516118e181611507565b60208501519093506118f281611507565b604085015190925061156581611507565b5f60208284031215611913575f5ffd5b81516001600160401b03811115611928575f5ffd5b8201601f81018413611938575f5ffd5b8051611946611757826116f2565b8082825260208201915060208360051b850101925086831115611967575f5ffd5b6020840193505b8284101561090f57835182526020938401939091019061196e565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610e6657610e66611989565b6001600160a01b039384168152919092166020820152604081019190915260600190565b5f5f604083850312156119e5575f5ffd5b505080516020909101519092909150565b5f60208284031215611a06575f5ffd5b5051919050565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611a31575f5ffd5b815161158b8161151b565b8082028115828204841417610e6657610e66611989565b5f82611a6d57634e487b7160e01b5f52601260045260245ffd5b500490565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b5f5b83811015611ad7578181015183820152602001611abf565b50505f910152565b5f8251611af0818460208701611abd565b9190910192915050565b602081525f8251806020840152611b18816040850160208701611abd565b601f01601f1916919091016040019291505056fe46756e6374696f6e206d7573742062652063616c6c6564207468726f75676820360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220866056a5cedb7a60a5d76879707682e177b4e18dca2f24e55303b7bda4f659ee64736f6c634300081e0033";
|
|
305
305
|
|
|
306
306
|
type ExpiredLpPtRedeemerConstructorParams =
|
|
307
307
|
| [signer?: Signer]
|
|
@@ -180,6 +180,87 @@ const _abi = [
|
|
|
180
180
|
name: "OrderForceCanceled",
|
|
181
181
|
type: "event",
|
|
182
182
|
},
|
|
183
|
+
{
|
|
184
|
+
anonymous: false,
|
|
185
|
+
inputs: [
|
|
186
|
+
{
|
|
187
|
+
indexed: true,
|
|
188
|
+
internalType: "bytes32",
|
|
189
|
+
name: "orderHash",
|
|
190
|
+
type: "bytes32",
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
components: [
|
|
194
|
+
{
|
|
195
|
+
internalType: "uint256",
|
|
196
|
+
name: "salt",
|
|
197
|
+
type: "uint256",
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
internalType: "uint256",
|
|
201
|
+
name: "expiry",
|
|
202
|
+
type: "uint256",
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
internalType: "uint256",
|
|
206
|
+
name: "nonce",
|
|
207
|
+
type: "uint256",
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
internalType: "enum IPLimitOrderType.OrderType",
|
|
211
|
+
name: "orderType",
|
|
212
|
+
type: "uint8",
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
internalType: "address",
|
|
216
|
+
name: "token",
|
|
217
|
+
type: "address",
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
internalType: "address",
|
|
221
|
+
name: "YT",
|
|
222
|
+
type: "address",
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
internalType: "address",
|
|
226
|
+
name: "maker",
|
|
227
|
+
type: "address",
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
internalType: "address",
|
|
231
|
+
name: "receiver",
|
|
232
|
+
type: "address",
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
internalType: "uint256",
|
|
236
|
+
name: "makingAmount",
|
|
237
|
+
type: "uint256",
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
internalType: "uint256",
|
|
241
|
+
name: "lnImpliedRate",
|
|
242
|
+
type: "uint256",
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
internalType: "uint256",
|
|
246
|
+
name: "failSafeRate",
|
|
247
|
+
type: "uint256",
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
internalType: "bytes",
|
|
251
|
+
name: "permit",
|
|
252
|
+
type: "bytes",
|
|
253
|
+
},
|
|
254
|
+
],
|
|
255
|
+
indexed: false,
|
|
256
|
+
internalType: "struct Order",
|
|
257
|
+
name: "order",
|
|
258
|
+
type: "tuple",
|
|
259
|
+
},
|
|
260
|
+
],
|
|
261
|
+
name: "OrderPreSigned",
|
|
262
|
+
type: "event",
|
|
263
|
+
},
|
|
183
264
|
{
|
|
184
265
|
inputs: [],
|
|
185
266
|
name: "DOMAIN_SEPARATOR",
|
|
@@ -746,6 +827,156 @@ const _abi = [
|
|
|
746
827
|
stateMutability: "view",
|
|
747
828
|
type: "function",
|
|
748
829
|
},
|
|
830
|
+
{
|
|
831
|
+
inputs: [
|
|
832
|
+
{
|
|
833
|
+
components: [
|
|
834
|
+
{
|
|
835
|
+
internalType: "uint256",
|
|
836
|
+
name: "salt",
|
|
837
|
+
type: "uint256",
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
internalType: "uint256",
|
|
841
|
+
name: "expiry",
|
|
842
|
+
type: "uint256",
|
|
843
|
+
},
|
|
844
|
+
{
|
|
845
|
+
internalType: "uint256",
|
|
846
|
+
name: "nonce",
|
|
847
|
+
type: "uint256",
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
internalType: "enum IPLimitOrderType.OrderType",
|
|
851
|
+
name: "orderType",
|
|
852
|
+
type: "uint8",
|
|
853
|
+
},
|
|
854
|
+
{
|
|
855
|
+
internalType: "address",
|
|
856
|
+
name: "token",
|
|
857
|
+
type: "address",
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
internalType: "address",
|
|
861
|
+
name: "YT",
|
|
862
|
+
type: "address",
|
|
863
|
+
},
|
|
864
|
+
{
|
|
865
|
+
internalType: "address",
|
|
866
|
+
name: "maker",
|
|
867
|
+
type: "address",
|
|
868
|
+
},
|
|
869
|
+
{
|
|
870
|
+
internalType: "address",
|
|
871
|
+
name: "receiver",
|
|
872
|
+
type: "address",
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
internalType: "uint256",
|
|
876
|
+
name: "makingAmount",
|
|
877
|
+
type: "uint256",
|
|
878
|
+
},
|
|
879
|
+
{
|
|
880
|
+
internalType: "uint256",
|
|
881
|
+
name: "lnImpliedRate",
|
|
882
|
+
type: "uint256",
|
|
883
|
+
},
|
|
884
|
+
{
|
|
885
|
+
internalType: "uint256",
|
|
886
|
+
name: "failSafeRate",
|
|
887
|
+
type: "uint256",
|
|
888
|
+
},
|
|
889
|
+
{
|
|
890
|
+
internalType: "bytes",
|
|
891
|
+
name: "permit",
|
|
892
|
+
type: "bytes",
|
|
893
|
+
},
|
|
894
|
+
],
|
|
895
|
+
internalType: "struct Order[]",
|
|
896
|
+
name: "order",
|
|
897
|
+
type: "tuple[]",
|
|
898
|
+
},
|
|
899
|
+
],
|
|
900
|
+
name: "preSignBatch",
|
|
901
|
+
outputs: [],
|
|
902
|
+
stateMutability: "nonpayable",
|
|
903
|
+
type: "function",
|
|
904
|
+
},
|
|
905
|
+
{
|
|
906
|
+
inputs: [
|
|
907
|
+
{
|
|
908
|
+
components: [
|
|
909
|
+
{
|
|
910
|
+
internalType: "uint256",
|
|
911
|
+
name: "salt",
|
|
912
|
+
type: "uint256",
|
|
913
|
+
},
|
|
914
|
+
{
|
|
915
|
+
internalType: "uint256",
|
|
916
|
+
name: "expiry",
|
|
917
|
+
type: "uint256",
|
|
918
|
+
},
|
|
919
|
+
{
|
|
920
|
+
internalType: "uint256",
|
|
921
|
+
name: "nonce",
|
|
922
|
+
type: "uint256",
|
|
923
|
+
},
|
|
924
|
+
{
|
|
925
|
+
internalType: "enum IPLimitOrderType.OrderType",
|
|
926
|
+
name: "orderType",
|
|
927
|
+
type: "uint8",
|
|
928
|
+
},
|
|
929
|
+
{
|
|
930
|
+
internalType: "address",
|
|
931
|
+
name: "token",
|
|
932
|
+
type: "address",
|
|
933
|
+
},
|
|
934
|
+
{
|
|
935
|
+
internalType: "address",
|
|
936
|
+
name: "YT",
|
|
937
|
+
type: "address",
|
|
938
|
+
},
|
|
939
|
+
{
|
|
940
|
+
internalType: "address",
|
|
941
|
+
name: "maker",
|
|
942
|
+
type: "address",
|
|
943
|
+
},
|
|
944
|
+
{
|
|
945
|
+
internalType: "address",
|
|
946
|
+
name: "receiver",
|
|
947
|
+
type: "address",
|
|
948
|
+
},
|
|
949
|
+
{
|
|
950
|
+
internalType: "uint256",
|
|
951
|
+
name: "makingAmount",
|
|
952
|
+
type: "uint256",
|
|
953
|
+
},
|
|
954
|
+
{
|
|
955
|
+
internalType: "uint256",
|
|
956
|
+
name: "lnImpliedRate",
|
|
957
|
+
type: "uint256",
|
|
958
|
+
},
|
|
959
|
+
{
|
|
960
|
+
internalType: "uint256",
|
|
961
|
+
name: "failSafeRate",
|
|
962
|
+
type: "uint256",
|
|
963
|
+
},
|
|
964
|
+
{
|
|
965
|
+
internalType: "bytes",
|
|
966
|
+
name: "permit",
|
|
967
|
+
type: "bytes",
|
|
968
|
+
},
|
|
969
|
+
],
|
|
970
|
+
internalType: "struct Order",
|
|
971
|
+
name: "order",
|
|
972
|
+
type: "tuple",
|
|
973
|
+
},
|
|
974
|
+
],
|
|
975
|
+
name: "preSignSingle",
|
|
976
|
+
outputs: [],
|
|
977
|
+
stateMutability: "nonpayable",
|
|
978
|
+
type: "function",
|
|
979
|
+
},
|
|
749
980
|
{
|
|
750
981
|
inputs: [
|
|
751
982
|
{
|
|
@@ -174,7 +174,7 @@ const _abi = [
|
|
|
174
174
|
];
|
|
175
175
|
|
|
176
176
|
const _bytecode =
|
|
177
|
-
"0x60c060405234801561000f575f5ffd5b5060405161181938038061181983398101604081905261002e91610043565b6001600160a01b03166080523060a052610070565b5f60208284031215610053575f5ffd5b81516001600160a01b0381168114610069575f5ffd5b9392505050565b60805160a05161177b61009e5f395f61065f01525f818160ce0152818161012c015261019f015261177b5ff3fe608060405234801561000f575f5ffd5b506004361061004a575f3560e01c8063083c1fce1461004e578063152c3db71461006357806319585e1a1461008d5780632d36a6d3146100ae575b5f5ffd5b61006161005c36600461115e565b6100c1565b005b6100766100713660046111f3565b6102b7565b6040516100849291906112ae565b60405180910390f35b6100a061009b3660046112db565b61054b565b6040516100849291906113d6565b6100766100bc36600461144b565b6107ef565b6100cc8285836109f5565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161480156101955750604051637d2d278360e11b81526001600160a01b0384169063fa5a4f0690610154907f0000000000000000000000000000000000000000000000000000000000000000906004016114ae565b602060405180830381865afa15801561016f573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061019391906114d6565b155b156101c9576101c57f00000000000000000000000000000000000000000000000000000000000000005f83610a61565b5f91505b6101d38284610b1e565b5f806001600160a01b03808616908516156101ee575f6101f0565b835b6040513060248201526001600160a01b0387166044820152606481018690525f608482015260a40160408051601f198184030181529181526020820180516001600160e01b03166320e8c56560e01b1790525161024d91906114f6565b5f6040518083038185875af1925050503d805f8114610287576040519150601f19603f3d011682016040523d82523d5f602084013e61028c565b606091505b5091509150818160405163032695f960e31b81526004016102ae929190611511565b60405180910390fd5b6060808584146102fb5760405162461bcd60e51b815260206004820152600f60248201526e098cadccee8d040dad2e6dac2e8c6d608b1b60448201526064016102ae565b836001600160401b038111156103135761031361152b565b60405190808252806020026020018201604052801561033c578160200160208202803683370190505b509150836001600160401b038111156103575761035761152b565b604051908082528060200260200182016040528015610380578160200160208202803683370190505b5090505f5b848110156105405787878281811061039f5761039f61153f565b90506020020160208101906103b49190611553565b6001600160a01b03166370a082318787848181106103d4576103d461153f565b90506020020160208101906103e99190611553565b6040518263ffffffff1660e01b815260040161040591906114ae565b602060405180830381865afa158015610420573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610444919061156e565b8382815181106104565761045661153f565b6020026020010181815250508787828181106104745761047461153f565b90506020020160208101906104899190611553565b6001600160a01b031663dd62ed3e8787848181106104a9576104a961153f565b90506020020160208101906104be9190611553565b866040518363ffffffff1660e01b81526004016104dc929190611585565b602060405180830381865afa1580156104f7573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061051b919061156e565b82828151811061052d5761052d61153f565b6020908102919091010152600101610385565b509550959350505050565b6060805f8888905090505f8a6001600160a01b031663afd27bf56040518163ffffffff1660e01b8152600401602060405180830381865afa158015610592573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105b6919061159f565b9050816001600160401b038111156105d0576105d061152b565b6040519080825280602002602001820160405280156105f9578160200160208202803683370190505b509350816001600160401b038111156106145761061461152b565b60405190808252806020026020018201604052801561064757816020015b60608152602001906001900390816106325790505b5092505f5b828110156107e0575f6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163063083c1fce8e8e868181106106975761069761153f565b90506020020160208101906106ac9190611553565b868e8e888181106106bf576106bf61153f565b90506020020160208101906106d49190611553565b8d8d898181106106e6576106e661153f565b6040516001600160a01b039687166024820152948616604486015292909416606484015260209091020135608482015260a401905060408051601f198184030181529181526020820180516001600160e01b031660e09490941b93909317909252905161075392506114f6565b5f60405180830381855af49150503d805f811461078b576040519150601f19603f3d011682016040523d82523d5f602084013e610790565b606091505b5091505061079d81610bd9565b8784815181106107af576107af61153f565b602002602001018785815181106107c8576107c861153f565b6020908102919091010191909152525060010161064c565b50505097509795505050505050565b606080836001600160401b0381111561080a5761080a61152b565b604051908082528060200260200182016040528015610833578160200160208202803683370190505b509150836001600160401b0381111561084e5761084e61152b565b604051908082528060200260200182016040528015610877578160200160208202803683370190505b5090505f5b848110156109eb57866001600160a01b03166370a082318787848181106108a5576108a561153f565b90506020020160208101906108ba9190611553565b6040518263ffffffff1660e01b81526004016108d691906114ae565b602060405180830381865afa1580156108f1573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610915919061156e565b8382815181106109275761092761153f565b602002602001018181525050866001600160a01b031663dd62ed3e8787848181106109545761095461153f565b90506020020160208101906109699190611553565b866040518363ffffffff1660e01b8152600401610987929190611585565b602060405180830381865afa1580156109a2573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109c6919061156e565b8282815181106109d8576109d861153f565b602090810291909101015260010161087c565b5094509492505050565b6001600160a01b038316610a4657803414610a415760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b60448201526064016102ae565b505050565b8015610a4157610a416001600160a01b038416833084610c79565b6001600160a01b038316610ac457816001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004015f604051808303818588803b158015610aa8575f5ffd5b505af1158015610aba573d5f5f3e3d5ffd5b5050505050505050565b604051632e1a7d4d60e01b8152600481018290526001600160a01b03841690632e1a7d4d906024015f604051808303815f87803b158015610b03575f5ffd5b505af1158015610b15573d5f5f3e3d5ffd5b50505050505050565b6001600160a01b038216610b30575050565b610b4260026001600160601b036115ce565b6001600160601b0316826001600160a01b031663dd62ed3e30846040518363ffffffff1660e01b8152600401610b79929190611585565b602060405180830381865afa158015610b94573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb8919061156e565b1015610bd557610bc982825f610cd9565b610bd582825f19610cd9565b5050565b5f60605f6004845110158015610c07575063032695f960e31b610bfb85611608565b6001600160e01b031916145b905080610c1757505f1993915050565b5f5f610c31866004808951610c2c9190611646565b610dde565b806020019051810190610c44919061165f565b915091508115610c695780806020019051810190610c62919061156e565b9450610c71565b5f1994508093505b505050915091565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610cd3908590610eea565b50505050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663095ea7b360e01b17905291515f92839290871691610d3491906114f6565b5f604051808303815f865af19150503d805f8114610d6d576040519150601f19603f3d011682016040523d82523d5f602084013e610d72565b606091505b5091509150818015610d9c575080511580610d9c575080806020019051810190610d9c91906114d6565b610dd75760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b60448201526064016102ae565b5050505050565b606081610dec81601f611720565b1015610e2b5760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b60448201526064016102ae565b610e358284611720565b84511015610e795760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b60448201526064016102ae565b606082158015610e975760405191505f825260208201604052610ee1565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015610ed0578051835260209283019201610eb8565b5050858452601f01601f1916604052505b50949350505050565b5f610f3e826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610fbd9092919063ffffffff16565b905080515f1480610f5e575080806020019051810190610f5e91906114d6565b610a415760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016102ae565b6060610fcb84845f85610fd3565b949350505050565b6060824710156110345760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016102ae565b5f5f866001600160a01b0316858760405161104f91906114f6565b5f6040518083038185875af1925050503d805f8114611089576040519150601f19603f3d011682016040523d82523d5f602084013e61108e565b606091505b509150915061109f878383876110aa565b979650505050505050565b606083156111185782515f03611111576001600160a01b0385163b6111115760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016102ae565b5081610fcb565b610fcb838381511561112d5781518083602001fd5b8060405162461bcd60e51b81526004016102ae9190611733565b6001600160a01b038116811461115b575f5ffd5b50565b5f5f5f5f60808587031215611171575f5ffd5b843561117c81611147565b9350602085013561118c81611147565b9250604085013561119c81611147565b9396929550929360600135925050565b5f5f83601f8401126111bc575f5ffd5b5081356001600160401b038111156111d2575f5ffd5b6020830191508360208260051b85010111156111ec575f5ffd5b9250929050565b5f5f5f5f5f60608688031215611207575f5ffd5b85356001600160401b0381111561121c575f5ffd5b611228888289016111ac565b90965094505060208601356001600160401b03811115611246575f5ffd5b611252888289016111ac565b909450925050604086013561126681611147565b809150509295509295909350565b5f8151808452602084019350602083015f5b828110156112a4578151865260209586019590910190600101611286565b5093949350505050565b604081525f6112c06040830185611274565b82810360208401526112d28185611274565b95945050505050565b5f5f5f5f5f5f5f6080888a0312156112f1575f5ffd5b87356112fc81611147565b965060208801356001600160401b03811115611316575f5ffd5b6113228a828b016111ac565b90975095505060408801356001600160401b03811115611340575f5ffd5b61134c8a828b016111ac565b90955093505060608801356001600160401b0381111561136a575f5ffd5b6113768a828b016111ac565b989b979a50959850939692959293505050565b5f5b838110156113a357818101518382015260200161138b565b50505f910152565b5f81518084526113c2816020860160208601611389565b601f01601f19169290920160200192915050565b604081525f6113e86040830185611274565b828103602084015280845180835260208301915060208160051b840101602087015f5b8381101561143d57601f198684030185526114278383516113ab565b602095860195909350919091019060010161140b565b509098975050505050505050565b5f5f5f5f6060858703121561145e575f5ffd5b843561146981611147565b935060208501356001600160401b03811115611483575f5ffd5b61148f878288016111ac565b90945092505060408501356114a381611147565b939692955090935050565b6001600160a01b0391909116815260200190565b805180151581146114d1575f5ffd5b919050565b5f602082840312156114e6575f5ffd5b6114ef826114c2565b9392505050565b5f8251611507818460208701611389565b9190910192915050565b8215158152604060208201525f610fcb60408301846113ab565b634e487b7160e01b5f52604160045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611563575f5ffd5b81356114ef81611147565b5f6020828403121561157e575f5ffd5b5051919050565b6001600160a01b0392831681529116602082015260400190565b5f602082840312156115af575f5ffd5b81516114ef81611147565b634e487b7160e01b5f52601160045260245ffd5b5f6001600160601b038316806115f257634e487b7160e01b5f52601260045260245ffd5b6001600160601b03929092169190910492915050565b805160208201516001600160e01b031981169190600482101561163f576001600160e01b0319600483900360031b81901b82161692505b5050919050565b81810381811115611659576116596115ba565b92915050565b5f5f60408385031215611670575f5ffd5b611679836114c2565b60208401519092506001600160401b03811115611694575f5ffd5b8301601f810185136116a4575f5ffd5b80516001600160401b038111156116bd576116bd61152b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156116eb576116eb61152b565b604052818152828201602001871015611702575f5ffd5b611713826020830160208601611389565b8093505050509250929050565b80820180821115611659576116596115ba565b602081525f6114ef60208301846113ab56fea2646970667358221220f712a394f6b459b923cc8b3fa41137fa11b4d9ddc3f0065d7f6210b3e5cea8e064736f6c634300081e0033";
|
|
177
|
+
"0x60c060405234801561000f575f5ffd5b5060405161181938038061181983398101604081905261002e91610043565b6001600160a01b03166080523060a052610070565b5f60208284031215610053575f5ffd5b81516001600160a01b0381168114610069575f5ffd5b9392505050565b60805160a05161177b61009e5f395f61065f01525f818160ce0152818161012c015261019f015261177b5ff3fe608060405234801561000f575f5ffd5b506004361061004a575f3560e01c8063083c1fce1461004e578063152c3db71461006357806319585e1a1461008d5780632d36a6d3146100ae575b5f5ffd5b61006161005c36600461115e565b6100c1565b005b6100766100713660046111f3565b6102b7565b6040516100849291906112ae565b60405180910390f35b6100a061009b3660046112db565b61054b565b6040516100849291906113d6565b6100766100bc36600461144b565b6107ef565b6100cc8285836109f5565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161480156101955750604051637d2d278360e11b81526001600160a01b0384169063fa5a4f0690610154907f0000000000000000000000000000000000000000000000000000000000000000906004016114ae565b602060405180830381865afa15801561016f573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061019391906114d6565b155b156101c9576101c57f00000000000000000000000000000000000000000000000000000000000000005f83610a61565b5f91505b6101d38284610b1e565b5f806001600160a01b03808616908516156101ee575f6101f0565b835b6040513060248201526001600160a01b0387166044820152606481018690525f608482015260a40160408051601f198184030181529181526020820180516001600160e01b03166320e8c56560e01b1790525161024d91906114f6565b5f6040518083038185875af1925050503d805f8114610287576040519150601f19603f3d011682016040523d82523d5f602084013e61028c565b606091505b5091509150818160405163032695f960e31b81526004016102ae929190611511565b60405180910390fd5b6060808584146102fb5760405162461bcd60e51b815260206004820152600f60248201526e098cadccee8d040dad2e6dac2e8c6d608b1b60448201526064016102ae565b836001600160401b038111156103135761031361152b565b60405190808252806020026020018201604052801561033c578160200160208202803683370190505b509150836001600160401b038111156103575761035761152b565b604051908082528060200260200182016040528015610380578160200160208202803683370190505b5090505f5b848110156105405787878281811061039f5761039f61153f565b90506020020160208101906103b49190611553565b6001600160a01b03166370a082318787848181106103d4576103d461153f565b90506020020160208101906103e99190611553565b6040518263ffffffff1660e01b815260040161040591906114ae565b602060405180830381865afa158015610420573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610444919061156e565b8382815181106104565761045661153f565b6020026020010181815250508787828181106104745761047461153f565b90506020020160208101906104899190611553565b6001600160a01b031663dd62ed3e8787848181106104a9576104a961153f565b90506020020160208101906104be9190611553565b866040518363ffffffff1660e01b81526004016104dc929190611585565b602060405180830381865afa1580156104f7573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061051b919061156e565b82828151811061052d5761052d61153f565b6020908102919091010152600101610385565b509550959350505050565b6060805f8888905090505f8a6001600160a01b031663afd27bf56040518163ffffffff1660e01b8152600401602060405180830381865afa158015610592573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105b6919061159f565b9050816001600160401b038111156105d0576105d061152b565b6040519080825280602002602001820160405280156105f9578160200160208202803683370190505b509350816001600160401b038111156106145761061461152b565b60405190808252806020026020018201604052801561064757816020015b60608152602001906001900390816106325790505b5092505f5b828110156107e0575f6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163063083c1fce8e8e868181106106975761069761153f565b90506020020160208101906106ac9190611553565b868e8e888181106106bf576106bf61153f565b90506020020160208101906106d49190611553565b8d8d898181106106e6576106e661153f565b6040516001600160a01b039687166024820152948616604486015292909416606484015260209091020135608482015260a401905060408051601f198184030181529181526020820180516001600160e01b031660e09490941b93909317909252905161075392506114f6565b5f60405180830381855af49150503d805f811461078b576040519150601f19603f3d011682016040523d82523d5f602084013e610790565b606091505b5091505061079d81610bd9565b8784815181106107af576107af61153f565b602002602001018785815181106107c8576107c861153f565b6020908102919091010191909152525060010161064c565b50505097509795505050505050565b606080836001600160401b0381111561080a5761080a61152b565b604051908082528060200260200182016040528015610833578160200160208202803683370190505b509150836001600160401b0381111561084e5761084e61152b565b604051908082528060200260200182016040528015610877578160200160208202803683370190505b5090505f5b848110156109eb57866001600160a01b03166370a082318787848181106108a5576108a561153f565b90506020020160208101906108ba9190611553565b6040518263ffffffff1660e01b81526004016108d691906114ae565b602060405180830381865afa1580156108f1573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610915919061156e565b8382815181106109275761092761153f565b602002602001018181525050866001600160a01b031663dd62ed3e8787848181106109545761095461153f565b90506020020160208101906109699190611553565b866040518363ffffffff1660e01b8152600401610987929190611585565b602060405180830381865afa1580156109a2573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109c6919061156e565b8282815181106109d8576109d861153f565b602090810291909101015260010161087c565b5094509492505050565b6001600160a01b038316610a4657803414610a415760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b60448201526064016102ae565b505050565b8015610a4157610a416001600160a01b038416833084610c79565b6001600160a01b038316610ac457816001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004015f604051808303818588803b158015610aa8575f5ffd5b505af1158015610aba573d5f5f3e3d5ffd5b5050505050505050565b604051632e1a7d4d60e01b8152600481018290526001600160a01b03841690632e1a7d4d906024015f604051808303815f87803b158015610b03575f5ffd5b505af1158015610b15573d5f5f3e3d5ffd5b50505050505050565b6001600160a01b038216610b30575050565b610b4260026001600160601b036115ce565b6001600160601b0316826001600160a01b031663dd62ed3e30846040518363ffffffff1660e01b8152600401610b79929190611585565b602060405180830381865afa158015610b94573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb8919061156e565b1015610bd557610bc982825f610cd9565b610bd582825f19610cd9565b5050565b5f60605f6004845110158015610c07575063032695f960e31b610bfb85611608565b6001600160e01b031916145b905080610c1757505f1993915050565b5f5f610c31866004808951610c2c9190611646565b610dde565b806020019051810190610c44919061165f565b915091508115610c695780806020019051810190610c62919061156e565b9450610c71565b5f1994508093505b505050915091565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610cd3908590610eea565b50505050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663095ea7b360e01b17905291515f92839290871691610d3491906114f6565b5f604051808303815f865af19150503d805f8114610d6d576040519150601f19603f3d011682016040523d82523d5f602084013e610d72565b606091505b5091509150818015610d9c575080511580610d9c575080806020019051810190610d9c91906114d6565b610dd75760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b60448201526064016102ae565b5050505050565b606081610dec81601f611720565b1015610e2b5760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b60448201526064016102ae565b610e358284611720565b84511015610e795760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b60448201526064016102ae565b606082158015610e975760405191505f825260208201604052610ee1565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015610ed0578051835260209283019201610eb8565b5050858452601f01601f1916604052505b50949350505050565b5f610f3e826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610fbd9092919063ffffffff16565b905080515f1480610f5e575080806020019051810190610f5e91906114d6565b610a415760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016102ae565b6060610fcb84845f85610fd3565b949350505050565b6060824710156110345760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016102ae565b5f5f866001600160a01b0316858760405161104f91906114f6565b5f6040518083038185875af1925050503d805f8114611089576040519150601f19603f3d011682016040523d82523d5f602084013e61108e565b606091505b509150915061109f878383876110aa565b979650505050505050565b606083156111185782515f03611111576001600160a01b0385163b6111115760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016102ae565b5081610fcb565b610fcb838381511561112d5781518083602001fd5b8060405162461bcd60e51b81526004016102ae9190611733565b6001600160a01b038116811461115b575f5ffd5b50565b5f5f5f5f60808587031215611171575f5ffd5b843561117c81611147565b9350602085013561118c81611147565b9250604085013561119c81611147565b9396929550929360600135925050565b5f5f83601f8401126111bc575f5ffd5b5081356001600160401b038111156111d2575f5ffd5b6020830191508360208260051b85010111156111ec575f5ffd5b9250929050565b5f5f5f5f5f60608688031215611207575f5ffd5b85356001600160401b0381111561121c575f5ffd5b611228888289016111ac565b90965094505060208601356001600160401b03811115611246575f5ffd5b611252888289016111ac565b909450925050604086013561126681611147565b809150509295509295909350565b5f8151808452602084019350602083015f5b828110156112a4578151865260209586019590910190600101611286565b5093949350505050565b604081525f6112c06040830185611274565b82810360208401526112d28185611274565b95945050505050565b5f5f5f5f5f5f5f6080888a0312156112f1575f5ffd5b87356112fc81611147565b965060208801356001600160401b03811115611316575f5ffd5b6113228a828b016111ac565b90975095505060408801356001600160401b03811115611340575f5ffd5b61134c8a828b016111ac565b90955093505060608801356001600160401b0381111561136a575f5ffd5b6113768a828b016111ac565b989b979a50959850939692959293505050565b5f5b838110156113a357818101518382015260200161138b565b50505f910152565b5f81518084526113c2816020860160208601611389565b601f01601f19169290920160200192915050565b604081525f6113e86040830185611274565b828103602084015280845180835260208301915060208160051b840101602087015f5b8381101561143d57601f198684030185526114278383516113ab565b602095860195909350919091019060010161140b565b509098975050505050505050565b5f5f5f5f6060858703121561145e575f5ffd5b843561146981611147565b935060208501356001600160401b03811115611483575f5ffd5b61148f878288016111ac565b90945092505060408501356114a381611147565b939692955090935050565b6001600160a01b0391909116815260200190565b805180151581146114d1575f5ffd5b919050565b5f602082840312156114e6575f5ffd5b6114ef826114c2565b9392505050565b5f8251611507818460208701611389565b9190910192915050565b8215158152604060208201525f610fcb60408301846113ab565b634e487b7160e01b5f52604160045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611563575f5ffd5b81356114ef81611147565b5f6020828403121561157e575f5ffd5b5051919050565b6001600160a01b0392831681529116602082015260400190565b5f602082840312156115af575f5ffd5b81516114ef81611147565b634e487b7160e01b5f52601160045260245ffd5b5f6001600160601b038316806115f257634e487b7160e01b5f52601260045260245ffd5b6001600160601b03929092169190910492915050565b805160208201516001600160e01b031981169190600482101561163f576001600160e01b0319600483900360031b81901b82161692505b5050919050565b81810381811115611659576116596115ba565b92915050565b5f5f60408385031215611670575f5ffd5b611679836114c2565b60208401519092506001600160401b03811115611694575f5ffd5b8301601f810185136116a4575f5ffd5b80516001600160401b038111156116bd576116bd61152b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156116eb576116eb61152b565b604052818152828201602001871015611702575f5ffd5b611713826020830160208601611389565b8093505050509250929050565b80820180821115611659576116596115ba565b602081525f6114ef60208301846113ab56fea264697066735822122008e7cf34d772ef0cadd6cd86cd284885c34339aa3e21453f95657b4796214e8a64736f6c634300081e0033";
|
|
178
178
|
|
|
179
179
|
type LimitBackendHelperV2ConstructorParams =
|
|
180
180
|
| [signer?: Signer]
|
|
@@ -227,6 +227,87 @@ const _abi = [
|
|
|
227
227
|
name: "OrderForceCanceled",
|
|
228
228
|
type: "event",
|
|
229
229
|
},
|
|
230
|
+
{
|
|
231
|
+
anonymous: false,
|
|
232
|
+
inputs: [
|
|
233
|
+
{
|
|
234
|
+
indexed: true,
|
|
235
|
+
internalType: "bytes32",
|
|
236
|
+
name: "orderHash",
|
|
237
|
+
type: "bytes32",
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
components: [
|
|
241
|
+
{
|
|
242
|
+
internalType: "uint256",
|
|
243
|
+
name: "salt",
|
|
244
|
+
type: "uint256",
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
internalType: "uint256",
|
|
248
|
+
name: "expiry",
|
|
249
|
+
type: "uint256",
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
internalType: "uint256",
|
|
253
|
+
name: "nonce",
|
|
254
|
+
type: "uint256",
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
internalType: "enum IPLimitOrderType.OrderType",
|
|
258
|
+
name: "orderType",
|
|
259
|
+
type: "uint8",
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
internalType: "address",
|
|
263
|
+
name: "token",
|
|
264
|
+
type: "address",
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
internalType: "address",
|
|
268
|
+
name: "YT",
|
|
269
|
+
type: "address",
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
internalType: "address",
|
|
273
|
+
name: "maker",
|
|
274
|
+
type: "address",
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
internalType: "address",
|
|
278
|
+
name: "receiver",
|
|
279
|
+
type: "address",
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
internalType: "uint256",
|
|
283
|
+
name: "makingAmount",
|
|
284
|
+
type: "uint256",
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
internalType: "uint256",
|
|
288
|
+
name: "lnImpliedRate",
|
|
289
|
+
type: "uint256",
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
internalType: "uint256",
|
|
293
|
+
name: "failSafeRate",
|
|
294
|
+
type: "uint256",
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
internalType: "bytes",
|
|
298
|
+
name: "permit",
|
|
299
|
+
type: "bytes",
|
|
300
|
+
},
|
|
301
|
+
],
|
|
302
|
+
indexed: false,
|
|
303
|
+
internalType: "struct Order",
|
|
304
|
+
name: "order",
|
|
305
|
+
type: "tuple",
|
|
306
|
+
},
|
|
307
|
+
],
|
|
308
|
+
name: "OrderPreSigned",
|
|
309
|
+
type: "event",
|
|
310
|
+
},
|
|
230
311
|
{
|
|
231
312
|
anonymous: false,
|
|
232
313
|
inputs: [
|
|
@@ -958,7 +1039,7 @@ const _abi = [
|
|
|
958
1039
|
},
|
|
959
1040
|
{
|
|
960
1041
|
inputs: [],
|
|
961
|
-
name: "
|
|
1042
|
+
name: "pendingOwner",
|
|
962
1043
|
outputs: [
|
|
963
1044
|
{
|
|
964
1045
|
internalType: "address",
|
|
@@ -970,16 +1051,153 @@ const _abi = [
|
|
|
970
1051
|
type: "function",
|
|
971
1052
|
},
|
|
972
1053
|
{
|
|
973
|
-
inputs: [
|
|
974
|
-
name: "pendingOwner",
|
|
975
|
-
outputs: [
|
|
1054
|
+
inputs: [
|
|
976
1055
|
{
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
1056
|
+
components: [
|
|
1057
|
+
{
|
|
1058
|
+
internalType: "uint256",
|
|
1059
|
+
name: "salt",
|
|
1060
|
+
type: "uint256",
|
|
1061
|
+
},
|
|
1062
|
+
{
|
|
1063
|
+
internalType: "uint256",
|
|
1064
|
+
name: "expiry",
|
|
1065
|
+
type: "uint256",
|
|
1066
|
+
},
|
|
1067
|
+
{
|
|
1068
|
+
internalType: "uint256",
|
|
1069
|
+
name: "nonce",
|
|
1070
|
+
type: "uint256",
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
internalType: "enum IPLimitOrderType.OrderType",
|
|
1074
|
+
name: "orderType",
|
|
1075
|
+
type: "uint8",
|
|
1076
|
+
},
|
|
1077
|
+
{
|
|
1078
|
+
internalType: "address",
|
|
1079
|
+
name: "token",
|
|
1080
|
+
type: "address",
|
|
1081
|
+
},
|
|
1082
|
+
{
|
|
1083
|
+
internalType: "address",
|
|
1084
|
+
name: "YT",
|
|
1085
|
+
type: "address",
|
|
1086
|
+
},
|
|
1087
|
+
{
|
|
1088
|
+
internalType: "address",
|
|
1089
|
+
name: "maker",
|
|
1090
|
+
type: "address",
|
|
1091
|
+
},
|
|
1092
|
+
{
|
|
1093
|
+
internalType: "address",
|
|
1094
|
+
name: "receiver",
|
|
1095
|
+
type: "address",
|
|
1096
|
+
},
|
|
1097
|
+
{
|
|
1098
|
+
internalType: "uint256",
|
|
1099
|
+
name: "makingAmount",
|
|
1100
|
+
type: "uint256",
|
|
1101
|
+
},
|
|
1102
|
+
{
|
|
1103
|
+
internalType: "uint256",
|
|
1104
|
+
name: "lnImpliedRate",
|
|
1105
|
+
type: "uint256",
|
|
1106
|
+
},
|
|
1107
|
+
{
|
|
1108
|
+
internalType: "uint256",
|
|
1109
|
+
name: "failSafeRate",
|
|
1110
|
+
type: "uint256",
|
|
1111
|
+
},
|
|
1112
|
+
{
|
|
1113
|
+
internalType: "bytes",
|
|
1114
|
+
name: "permit",
|
|
1115
|
+
type: "bytes",
|
|
1116
|
+
},
|
|
1117
|
+
],
|
|
1118
|
+
internalType: "struct Order[]",
|
|
1119
|
+
name: "order",
|
|
1120
|
+
type: "tuple[]",
|
|
980
1121
|
},
|
|
981
1122
|
],
|
|
982
|
-
|
|
1123
|
+
name: "preSignBatch",
|
|
1124
|
+
outputs: [],
|
|
1125
|
+
stateMutability: "nonpayable",
|
|
1126
|
+
type: "function",
|
|
1127
|
+
},
|
|
1128
|
+
{
|
|
1129
|
+
inputs: [
|
|
1130
|
+
{
|
|
1131
|
+
components: [
|
|
1132
|
+
{
|
|
1133
|
+
internalType: "uint256",
|
|
1134
|
+
name: "salt",
|
|
1135
|
+
type: "uint256",
|
|
1136
|
+
},
|
|
1137
|
+
{
|
|
1138
|
+
internalType: "uint256",
|
|
1139
|
+
name: "expiry",
|
|
1140
|
+
type: "uint256",
|
|
1141
|
+
},
|
|
1142
|
+
{
|
|
1143
|
+
internalType: "uint256",
|
|
1144
|
+
name: "nonce",
|
|
1145
|
+
type: "uint256",
|
|
1146
|
+
},
|
|
1147
|
+
{
|
|
1148
|
+
internalType: "enum IPLimitOrderType.OrderType",
|
|
1149
|
+
name: "orderType",
|
|
1150
|
+
type: "uint8",
|
|
1151
|
+
},
|
|
1152
|
+
{
|
|
1153
|
+
internalType: "address",
|
|
1154
|
+
name: "token",
|
|
1155
|
+
type: "address",
|
|
1156
|
+
},
|
|
1157
|
+
{
|
|
1158
|
+
internalType: "address",
|
|
1159
|
+
name: "YT",
|
|
1160
|
+
type: "address",
|
|
1161
|
+
},
|
|
1162
|
+
{
|
|
1163
|
+
internalType: "address",
|
|
1164
|
+
name: "maker",
|
|
1165
|
+
type: "address",
|
|
1166
|
+
},
|
|
1167
|
+
{
|
|
1168
|
+
internalType: "address",
|
|
1169
|
+
name: "receiver",
|
|
1170
|
+
type: "address",
|
|
1171
|
+
},
|
|
1172
|
+
{
|
|
1173
|
+
internalType: "uint256",
|
|
1174
|
+
name: "makingAmount",
|
|
1175
|
+
type: "uint256",
|
|
1176
|
+
},
|
|
1177
|
+
{
|
|
1178
|
+
internalType: "uint256",
|
|
1179
|
+
name: "lnImpliedRate",
|
|
1180
|
+
type: "uint256",
|
|
1181
|
+
},
|
|
1182
|
+
{
|
|
1183
|
+
internalType: "uint256",
|
|
1184
|
+
name: "failSafeRate",
|
|
1185
|
+
type: "uint256",
|
|
1186
|
+
},
|
|
1187
|
+
{
|
|
1188
|
+
internalType: "bytes",
|
|
1189
|
+
name: "permit",
|
|
1190
|
+
type: "bytes",
|
|
1191
|
+
},
|
|
1192
|
+
],
|
|
1193
|
+
internalType: "struct Order",
|
|
1194
|
+
name: "order",
|
|
1195
|
+
type: "tuple",
|
|
1196
|
+
},
|
|
1197
|
+
],
|
|
1198
|
+
name: "preSignSingle",
|
|
1199
|
+
outputs: [],
|
|
1200
|
+
stateMutability: "nonpayable",
|
|
983
1201
|
type: "function",
|
|
984
1202
|
},
|
|
985
1203
|
{
|
|
@@ -1018,19 +1236,6 @@ const _abi = [
|
|
|
1018
1236
|
stateMutability: "nonpayable",
|
|
1019
1237
|
type: "function",
|
|
1020
1238
|
},
|
|
1021
|
-
{
|
|
1022
|
-
inputs: [
|
|
1023
|
-
{
|
|
1024
|
-
internalType: "address",
|
|
1025
|
-
name: "_helper",
|
|
1026
|
-
type: "address",
|
|
1027
|
-
},
|
|
1028
|
-
],
|
|
1029
|
-
name: "setOwnerHelper",
|
|
1030
|
-
outputs: [],
|
|
1031
|
-
stateMutability: "nonpayable",
|
|
1032
|
-
type: "function",
|
|
1033
|
-
},
|
|
1034
1239
|
{
|
|
1035
1240
|
inputs: [
|
|
1036
1241
|
{
|