@pendle/core-v2 6.3.4 → 6.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.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/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.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/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/PendleMarketFactoryV6Upg.sol/PendleMarketFactoryV6Upg.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketV6.sol/PendleMarketV6.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/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/deprecated/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.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 +4 -0
- package/build/artifacts/contracts/interfaces/IPActionCrossChain.sol/IPActionCrossChain.json +99 -0
- 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/IPAllActionV3.sol/IPAllActionV3.json +88 -0
- 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/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/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLPWrapperFactory.sol/IPLPWrapperFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/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/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +2 -2
- package/build/artifacts/contracts/limit/helpers/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/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/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/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/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/StatelessWrapper/PendleLinearDiscountOracleWrapper.sol/PendleLinearDiscountOracleWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/LPExpiry.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/router/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 +4 -0
- package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.json +99 -0
- 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/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/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/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +2 -2
- package/contracts/interfaces/IPActionCrossChain.sol +14 -0
- package/contracts/interfaces/IPAllActionV3.sol +3 -1
- package/contracts/router/ActionCrossChain.sol +63 -0
- package/contracts/router/swap-aggregator/OKXScaleHelper.sol +7 -1
- package/deployments/130-core.json +15 -2
- package/deployments/130-offchain-helper.json +9 -0
- package/package.json +2 -2
- package/typechain-types/ActionCrossChain.ts +161 -0
- package/typechain-types/BasePendleBridgedPrincipalToken.ts +1689 -0
- package/typechain-types/IPActionCrossChain.ts +161 -0
- package/typechain-types/IPAllActionV3.ts +54 -0
- package/typechain-types/LimitBackendHelper.ts +287 -0
- package/typechain-types/PendleBridgedPrincipalToken_18Decimals.ts +1689 -0
- package/typechain-types/PendleBridgedPrincipalToken_6Decimals.ts +1689 -0
- package/typechain-types/PendleBridgedPrincipalToken_8Decimals.ts +1689 -0
- package/typechain-types/factories/ActionCallbackV3__factory.ts +1 -1
- package/typechain-types/factories/ActionCrossChain__factory.ts +152 -0
- package/typechain-types/factories/ActionDelegateBase__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/ActionSwapPTV3__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
- package/typechain-types/factories/BasePendleBridgedPrincipalToken__factory.ts +1548 -0
- package/typechain-types/factories/IPActionCrossChain__factory.ts +114 -0
- package/typechain-types/factories/IPAllActionV3__factory.ts +88 -0
- package/typechain-types/factories/LimitBackendHelper__factory.ts +232 -0
- package/typechain-types/factories/MarketSweed__factory.ts +1 -1
- package/typechain-types/factories/OverfillMathLib__factory.ts +1 -1
- package/typechain-types/factories/PendleBridgedPrincipalToken_18Decimals__factory.ts +1652 -0
- package/typechain-types/factories/PendleBridgedPrincipalToken_6Decimals__factory.ts +1650 -0
- package/typechain-types/factories/PendleBridgedPrincipalToken_8Decimals__factory.ts +1650 -0
- package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +1 -1
- package/typechain-types/factories/PendleLimitRouter__factory.ts +1 -1
- package/typechain-types/factories/PendlePoolDeployHelperV2__factory.ts +1 -1
- package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleSwap__factory.ts +1 -1
- package/typechain-types/factories/Reflector__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +17 -17
- package/typechain-types/index.ts +4 -4
- package/typechain-types/ActionLimitOverfillAdapter.ts +0 -180
- package/typechain-types/IPActionLimitAdapter.ts +0 -180
- package/typechain-types/LimitMathCore.ts +0 -102
- package/typechain-types/factories/ActionLimitOverfillAdapter__factory.ts +0 -423
- package/typechain-types/factories/IPActionLimitAdapter__factory.ts +0 -385
- package/typechain-types/factories/LimitMathCore__factory.ts +0 -87
|
@@ -1,423 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
5
|
-
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
6
|
-
import type {
|
|
7
|
-
ActionLimitOverfillAdapter,
|
|
8
|
-
ActionLimitOverfillAdapterInterface,
|
|
9
|
-
} from "../ActionLimitOverfillAdapter";
|
|
10
|
-
|
|
11
|
-
const _abi = [
|
|
12
|
-
{
|
|
13
|
-
inputs: [
|
|
14
|
-
{
|
|
15
|
-
internalType: "address",
|
|
16
|
-
name: "limitRouter",
|
|
17
|
-
type: "address",
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
internalType: "uint256",
|
|
21
|
-
name: "netInput",
|
|
22
|
-
type: "uint256",
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
components: [
|
|
26
|
-
{
|
|
27
|
-
components: [
|
|
28
|
-
{
|
|
29
|
-
internalType: "uint256",
|
|
30
|
-
name: "salt",
|
|
31
|
-
type: "uint256",
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
internalType: "uint256",
|
|
35
|
-
name: "expiry",
|
|
36
|
-
type: "uint256",
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
internalType: "uint256",
|
|
40
|
-
name: "nonce",
|
|
41
|
-
type: "uint256",
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
internalType: "enum IPLimitOrderType.OrderType",
|
|
45
|
-
name: "orderType",
|
|
46
|
-
type: "uint8",
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
internalType: "address",
|
|
50
|
-
name: "token",
|
|
51
|
-
type: "address",
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
internalType: "address",
|
|
55
|
-
name: "YT",
|
|
56
|
-
type: "address",
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
internalType: "address",
|
|
60
|
-
name: "maker",
|
|
61
|
-
type: "address",
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
internalType: "address",
|
|
65
|
-
name: "receiver",
|
|
66
|
-
type: "address",
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
internalType: "uint256",
|
|
70
|
-
name: "makingAmount",
|
|
71
|
-
type: "uint256",
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
internalType: "uint256",
|
|
75
|
-
name: "lnImpliedRate",
|
|
76
|
-
type: "uint256",
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
internalType: "uint256",
|
|
80
|
-
name: "failSafeRate",
|
|
81
|
-
type: "uint256",
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
internalType: "bytes",
|
|
85
|
-
name: "permit",
|
|
86
|
-
type: "bytes",
|
|
87
|
-
},
|
|
88
|
-
],
|
|
89
|
-
internalType: "struct Order",
|
|
90
|
-
name: "order",
|
|
91
|
-
type: "tuple",
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
internalType: "bytes",
|
|
95
|
-
name: "signature",
|
|
96
|
-
type: "bytes",
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
internalType: "uint256",
|
|
100
|
-
name: "makingAmount",
|
|
101
|
-
type: "uint256",
|
|
102
|
-
},
|
|
103
|
-
],
|
|
104
|
-
internalType: "struct FillOrderParams[]",
|
|
105
|
-
name: "nrmFills",
|
|
106
|
-
type: "tuple[]",
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
components: [
|
|
110
|
-
{
|
|
111
|
-
components: [
|
|
112
|
-
{
|
|
113
|
-
internalType: "uint256",
|
|
114
|
-
name: "salt",
|
|
115
|
-
type: "uint256",
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
internalType: "uint256",
|
|
119
|
-
name: "expiry",
|
|
120
|
-
type: "uint256",
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
internalType: "uint256",
|
|
124
|
-
name: "nonce",
|
|
125
|
-
type: "uint256",
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
internalType: "enum IPLimitOrderType.OrderType",
|
|
129
|
-
name: "orderType",
|
|
130
|
-
type: "uint8",
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
internalType: "address",
|
|
134
|
-
name: "token",
|
|
135
|
-
type: "address",
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
internalType: "address",
|
|
139
|
-
name: "YT",
|
|
140
|
-
type: "address",
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
internalType: "address",
|
|
144
|
-
name: "maker",
|
|
145
|
-
type: "address",
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
internalType: "address",
|
|
149
|
-
name: "receiver",
|
|
150
|
-
type: "address",
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
internalType: "uint256",
|
|
154
|
-
name: "makingAmount",
|
|
155
|
-
type: "uint256",
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
internalType: "uint256",
|
|
159
|
-
name: "lnImpliedRate",
|
|
160
|
-
type: "uint256",
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
internalType: "uint256",
|
|
164
|
-
name: "failSafeRate",
|
|
165
|
-
type: "uint256",
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
internalType: "bytes",
|
|
169
|
-
name: "permit",
|
|
170
|
-
type: "bytes",
|
|
171
|
-
},
|
|
172
|
-
],
|
|
173
|
-
internalType: "struct Order",
|
|
174
|
-
name: "order",
|
|
175
|
-
type: "tuple",
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
internalType: "bytes",
|
|
179
|
-
name: "signature",
|
|
180
|
-
type: "bytes",
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
internalType: "uint256",
|
|
184
|
-
name: "makingAmount",
|
|
185
|
-
type: "uint256",
|
|
186
|
-
},
|
|
187
|
-
],
|
|
188
|
-
internalType: "struct FillOrderParams[]",
|
|
189
|
-
name: "flsFills",
|
|
190
|
-
type: "tuple[]",
|
|
191
|
-
},
|
|
192
|
-
],
|
|
193
|
-
name: "applyAdapter",
|
|
194
|
-
outputs: [
|
|
195
|
-
{
|
|
196
|
-
components: [
|
|
197
|
-
{
|
|
198
|
-
components: [
|
|
199
|
-
{
|
|
200
|
-
internalType: "uint256",
|
|
201
|
-
name: "salt",
|
|
202
|
-
type: "uint256",
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
internalType: "uint256",
|
|
206
|
-
name: "expiry",
|
|
207
|
-
type: "uint256",
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
internalType: "uint256",
|
|
211
|
-
name: "nonce",
|
|
212
|
-
type: "uint256",
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
internalType: "enum IPLimitOrderType.OrderType",
|
|
216
|
-
name: "orderType",
|
|
217
|
-
type: "uint8",
|
|
218
|
-
},
|
|
219
|
-
{
|
|
220
|
-
internalType: "address",
|
|
221
|
-
name: "token",
|
|
222
|
-
type: "address",
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
internalType: "address",
|
|
226
|
-
name: "YT",
|
|
227
|
-
type: "address",
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
internalType: "address",
|
|
231
|
-
name: "maker",
|
|
232
|
-
type: "address",
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
internalType: "address",
|
|
236
|
-
name: "receiver",
|
|
237
|
-
type: "address",
|
|
238
|
-
},
|
|
239
|
-
{
|
|
240
|
-
internalType: "uint256",
|
|
241
|
-
name: "makingAmount",
|
|
242
|
-
type: "uint256",
|
|
243
|
-
},
|
|
244
|
-
{
|
|
245
|
-
internalType: "uint256",
|
|
246
|
-
name: "lnImpliedRate",
|
|
247
|
-
type: "uint256",
|
|
248
|
-
},
|
|
249
|
-
{
|
|
250
|
-
internalType: "uint256",
|
|
251
|
-
name: "failSafeRate",
|
|
252
|
-
type: "uint256",
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
internalType: "bytes",
|
|
256
|
-
name: "permit",
|
|
257
|
-
type: "bytes",
|
|
258
|
-
},
|
|
259
|
-
],
|
|
260
|
-
internalType: "struct Order",
|
|
261
|
-
name: "order",
|
|
262
|
-
type: "tuple",
|
|
263
|
-
},
|
|
264
|
-
{
|
|
265
|
-
internalType: "bytes",
|
|
266
|
-
name: "signature",
|
|
267
|
-
type: "bytes",
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
internalType: "uint256",
|
|
271
|
-
name: "makingAmount",
|
|
272
|
-
type: "uint256",
|
|
273
|
-
},
|
|
274
|
-
],
|
|
275
|
-
internalType: "struct FillOrderParams[]",
|
|
276
|
-
name: "",
|
|
277
|
-
type: "tuple[]",
|
|
278
|
-
},
|
|
279
|
-
{
|
|
280
|
-
components: [
|
|
281
|
-
{
|
|
282
|
-
components: [
|
|
283
|
-
{
|
|
284
|
-
internalType: "uint256",
|
|
285
|
-
name: "salt",
|
|
286
|
-
type: "uint256",
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
internalType: "uint256",
|
|
290
|
-
name: "expiry",
|
|
291
|
-
type: "uint256",
|
|
292
|
-
},
|
|
293
|
-
{
|
|
294
|
-
internalType: "uint256",
|
|
295
|
-
name: "nonce",
|
|
296
|
-
type: "uint256",
|
|
297
|
-
},
|
|
298
|
-
{
|
|
299
|
-
internalType: "enum IPLimitOrderType.OrderType",
|
|
300
|
-
name: "orderType",
|
|
301
|
-
type: "uint8",
|
|
302
|
-
},
|
|
303
|
-
{
|
|
304
|
-
internalType: "address",
|
|
305
|
-
name: "token",
|
|
306
|
-
type: "address",
|
|
307
|
-
},
|
|
308
|
-
{
|
|
309
|
-
internalType: "address",
|
|
310
|
-
name: "YT",
|
|
311
|
-
type: "address",
|
|
312
|
-
},
|
|
313
|
-
{
|
|
314
|
-
internalType: "address",
|
|
315
|
-
name: "maker",
|
|
316
|
-
type: "address",
|
|
317
|
-
},
|
|
318
|
-
{
|
|
319
|
-
internalType: "address",
|
|
320
|
-
name: "receiver",
|
|
321
|
-
type: "address",
|
|
322
|
-
},
|
|
323
|
-
{
|
|
324
|
-
internalType: "uint256",
|
|
325
|
-
name: "makingAmount",
|
|
326
|
-
type: "uint256",
|
|
327
|
-
},
|
|
328
|
-
{
|
|
329
|
-
internalType: "uint256",
|
|
330
|
-
name: "lnImpliedRate",
|
|
331
|
-
type: "uint256",
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
internalType: "uint256",
|
|
335
|
-
name: "failSafeRate",
|
|
336
|
-
type: "uint256",
|
|
337
|
-
},
|
|
338
|
-
{
|
|
339
|
-
internalType: "bytes",
|
|
340
|
-
name: "permit",
|
|
341
|
-
type: "bytes",
|
|
342
|
-
},
|
|
343
|
-
],
|
|
344
|
-
internalType: "struct Order",
|
|
345
|
-
name: "order",
|
|
346
|
-
type: "tuple",
|
|
347
|
-
},
|
|
348
|
-
{
|
|
349
|
-
internalType: "bytes",
|
|
350
|
-
name: "signature",
|
|
351
|
-
type: "bytes",
|
|
352
|
-
},
|
|
353
|
-
{
|
|
354
|
-
internalType: "uint256",
|
|
355
|
-
name: "makingAmount",
|
|
356
|
-
type: "uint256",
|
|
357
|
-
},
|
|
358
|
-
],
|
|
359
|
-
internalType: "struct FillOrderParams[]",
|
|
360
|
-
name: "",
|
|
361
|
-
type: "tuple[]",
|
|
362
|
-
},
|
|
363
|
-
],
|
|
364
|
-
stateMutability: "nonpayable",
|
|
365
|
-
type: "function",
|
|
366
|
-
},
|
|
367
|
-
];
|
|
368
|
-
|
|
369
|
-
const _bytecode =
|
|
370
|
-
"0x6080604052348015600e575f5ffd5b50611eab8061001c5f395ff3fe608060405234801561000f575f5ffd5b5060043610610029575f3560e01c8063a0187f7b1461002d575b5f5ffd5b61004061003b366004611a46565b610057565b60405161004e929190611c85565b60405180910390f35b60608061006686868686610071565b509194909350915050565b610079611646565b5f6100848685610192565b90505f6100918785610192565b90505f5f5f6100da8a5f8a51116100c857885f815181106100b4576100b4611ca9565b60200260200101515f015160a001516107b5565b895f815181106100b4576100b4611ca9565b9250925092505b6100ee8686868b8b6108fc565b156101745760408601516060870151600581108061010c575060058b105b1561011e57505f6040909101526100e1565b5f5f610136845f01518b608001518f868a8a8d610a68565b9092509050610145818e611cd1565b9c50828285604001516101589190611ce4565b6101629190611d0f565b846040018181525050505050506100e1565b61017d88610ad3565b61018687610ad3565b50505050505050505050565b80516060905f8190036101b4575050604080515f8152602081019091526107af565b604051630f1d5f5560e31b81525f906001600160a01b038616906378eafaa8906101e2908790600401611d2e565b5f60405180830381865afa1580156101fc573d5f5f3e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526102239190810190611d40565b90505f5b828110156102725781818151811061024157610241611ca9565b602002602001015185828151811061025b5761025b611ca9565b602090810291909101015160400152600101610227565b506001845f8151811061028757610287611ca9565b60200260200101515f01516060015160038111156102a7576102a7611ac4565b14806102e457506003845f815181106102c2576102c2611ca9565b60200260200101515f01516060015160038111156102e2576102e2611ac4565b145b156102f25791506107af9050565b816001600160401b0381111561030a5761030a611752565b604051908082528060200260200182016040528015610333578160200160208202803683370190505b5092505f5b82811015610367575f1984828151811061035457610354611ca9565b6020908102919091010152600101610338565b505f845f8151811061037b5761037b611ca9565b60200260200101515f015160a001516001600160a01b031663afd27bf56040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103c5573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103e99190611dd0565b90505f866001600160a01b031663b381cf406040518163ffffffff1660e01b8152600401602060405180830381865afa158015610428573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061044c9190611dd0565b90505f5b848110156107a9575f1986828151811061046c5761046c611ca9565b6020026020010151036107a1575f87828151811061048c5761048c611ca9565b60200260200101515f0151608001519050836001600160a01b0316816001600160a01b0316036104f8578782815181106104c8576104c8611ca9565b6020026020010151604001518783815181106104e6576104e6611ca9565b602002602001018181525050506107a1565b5f825b8781101561057057826001600160a01b03168a828151811061051f5761051f611ca9565b60200260200101515f0151608001516001600160a01b0316036105685789818151811061054e5761054e611ca9565b602002602001015160400151826105659190611deb565b91505b6001016104fb565b505f846001600160a01b0316836001600160a01b03161480156105fb5750604051637d2d278360e11b81526001600160a01b0387169063fa5a4f06906105ba908890600401611dfe565b602060405180830381865afa1580156105d5573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105f99190611e12565b155b1561068157604051635c7c159360e11b81526005906001600160a01b0388169063b8f82b2690610631905f908790600401611e31565b602060405180830381865afa15801561064c573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106709190611e4a565b61067a9190611deb565b90506106fe565b604051635c7c159360e11b81526005906001600160a01b0388169063b8f82b26906106b29087908790600401611e31565b602060405180830381865afa1580156106cd573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106f19190611e4a565b6106fb9190611deb565b90505b835b8881101561079c57836001600160a01b03168b828151811061072457610724611ca9565b60200260200101515f0151608001516001600160a01b03160361079457828b828151811061075457610754611ca9565b6020026020010151604001518361076b9190611ce4565b6107759190611d0f565b8a828151811061078757610787611ca9565b6020026020010181815250505b600101610700565b505050505b600101610450565b50505050505b92915050565b5f5f5f846001600160a01b0316632545e4bd856040518263ffffffff1660e01b81526004016107e49190611dfe565b602060405180830381865afa1580156107ff573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108239190611e4a565b925042846001600160a01b031663e184c9be6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610862573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108869190611e4a565b6108909190611cd1565b9150836001600160a01b0316631d52edc46040518163ffffffff1660e01b81526004016020604051808303815f875af11580156108cf573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108f39190611e4a565b90509250925092565b815185515f91148015610913575081518660200151145b1561091f57505f610a5f565b5f82518760200151148061097d57508351875110801561097d575061097d84885f01518151811061095257610952611ca9565b60200260200101518489602001518151811061097057610970611ca9565b6020026020010151610ae8565b905080156109ef5783875f01518151811061099a5761099a611ca9565b6020026020010151876040018190525085875f0151815181106109bf576109bf611ca9565b602090810291909101015160608801525f6080880152865160019088906109e7908390611deb565b905250610a59565b82876020015181518110610a0557610a05611ca9565b6020026020010151876040018190525084876020015181518110610a2b57610a2b611ca9565b60209081029190910181015160608901526001608089018190529088018051610a55908390611deb565b9052505b60019150505b95945050505050565b5f5f5f610a7b898b606001518a88610b54565b9050611678610a8d8b60600151610bf9565b90505f610a9a8689610c6f565b90505f610aac8d61012001518a610c6f565b9050610abf8a85838b868863ffffffff16565b909e909d509b505050505050505050505050565b610adc81610c89565b610ae581610d05565b50565b5f808351606001516003811115610b0157610b01611ac4565b1480610b23575060038351606001516003811115610b2157610b21611ac4565b145b15610b3e5750805161012090810151835190910151106107af565b50805161012090810151835190910151116107af565b604080518082019091525f808252602082015284610b885760408051808201909152805f5b81526020018490529050610bf1565b6001846003811115610b9c57610b9c611ac4565b1480610bb957506003846003811115610bb757610bb7611ac4565b145b15610bd05760408051808201909152806001610b79565b604080518082019091528060028152602001610bec8486610e09565b905290505b949350505050565b6116785f826003811115610c0f57610c0f611ac4565b03610c1d5750610e14919050565b6001826003811115610c3157610c31611ac4565b03610c3f5750610e50919050565b6002826003811115610c5357610c53611ac4565b03610c615750610e7c919050565b50610e8c919050565b919050565b5f610c82610c7d8484610e9c565b610ed4565b9392505050565b5f805b8251811015610d00575f838281518110610ca857610ca8611ca9565b6020026020010151604001511115610cf857828181518110610ccc57610ccc611ca9565b6020026020010151838380600101945081518110610cec57610cec611ca9565b60200260200101819052505b600101610c8c565b509052565b80515f5b81811015610e04575f838281518110610d2457610d24611ca9565b60209081029190910101515160800151905060018201805b84811015610dfa57826001600160a01b0316868281518110610d6057610d60611ca9565b60200260200101515f0151608001516001600160a01b031603610df257858181518110610d8f57610d8f611ca9565b6020026020010151868381518110610da957610da9611ca9565b6020026020010151878481518110610dc357610dc3611ca9565b60200260200101888481518110610ddc57610ddc611ca9565b6020908102919091010191909152526001909101905b600101610d3c565b509150610d099050565b505050565b5f610c828383610ee5565b845f8080610e2484888888610f03565b509092509050610e408685610e398482611cd1565b858c610f51565b909a909950975050505050505050565b845f8080610e6084888888611073565b509092509050610e40868580610e768587611deb565b8c610f51565b845f8080610e24848888886110b7565b845f8080610e6084888888611131565b5f80610ead6201518061016d611ce4565b610eb78486611ce4565b610ec19190611d0f565b9050610bf1610ecf826111a7565b6111bb565b5f5f821215610ee1575f5ffd5b5090565b5f670de0b6b3a7640000610ef98484611ce4565b610c829190611d0f565b5f8080610f1a86610f14878a610e09565b906115d0565b925083610f2f670de0b6b3a764000082611cd1565b610f399089611ce4565b610f439190611d0f565b929792969550919350505050565b5f808083516002811115610f6757610f67611ac4565b03610fb5575f610f95670de0b6b3a7640000610f908787602001516115f290919063ffffffff16565b611617565b9050610fa187826115d0565b610fab86836115d0565b9250925050611069565b600183516002811115610fca57610fca611ac4565b03611009575f610ff3670de0b6b3a7640000610f908887602001516115f290919063ffffffff16565b9050610fff87826115d0565b610fab87836115d0565b5f6110148887610e09565b90505f6110218287611cd1565b90505f611047670de0b6b3a7640000610f908489602001516115f290919063ffffffff16565b905061105389826115d0565b61106182610f148d8661162c565b945094505050505b9550959350505050565b5f808061108a61108388886115f2565b869061162c565b92506110a86110a1670de0b6b3a764000086611cd1565b84906115d0565b91508290509450945094915050565b5f8080806110cd670de0b6b3a764000088611cd1565b905080876110db888b610e09565b6110e59190611ce4565b6110ef9190611d0f565b935080611104670de0b6b3a764000087611cd1565b61110e908a611ce4565b6111189190611d0f565b925061112488826115f2565b9150509450945094915050565b5f808080611147670de0b6b3a764000088611cd1565b905061116887611157838b611ce4565b6111619190611d0f565b879061162c565b935061119b8186611181670de0b6b3a764000082611cd1565b61118b9088611ce4565b6111959190611d0f565b906115f2565b925061112484826115f2565b5f6001600160ff1b03821115610ee1575f5ffd5b5f680238fd42c5cf03ffff1982121580156111df575068070c1cc73b00c800008213155b6112225760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a5908195e1c1bdb995b9d60821b604482015260640160405180910390fd5b5f82121561125857611235825f036111bb565b6a0c097ce7bc90715b34b9f160241b8161125157611251611cfb565b0592915050565b5f6806f05b59d3b2000000831261129557506806f05b59d3b1ffffff199091019072195e54c5dd42177f53a27172fa9ec63026282760241b6112cb565b6803782dace9d900000083126112c757506803782dace9d8ffffff19909101906b1425982cf597cd205cef73806112cb565b5060015b6064929092029168056bc75e2d6310000068ad78ebc5ac62000000841261131b5768ad78ebc5ac61ffffff199093019268056bc75e2d631000006e01855144814a7ff805980ff008400082020590505b6856bc75e2d6310000008412611357576856bc75e2d630ffffff199093019268056bc75e2d631000006b02df0ab5a80a22c61ab5a70082020590505b682b5e3af16b18800000841261139157682b5e3af16b187fffff199093019268056bc75e2d63100000693f1fce3da636ea5cf85082020590505b6815af1d78b58c40000084126113cb576815af1d78b58c3fffff199093019268056bc75e2d63100000690127fa27722cc06cc5e282020590505b680ad78ebc5ac6200000841261140457680ad78ebc5ac61fffff199093019268056bc75e2d6310000068280e60114edb805d0382020590505b68056bc75e2d63100000841261143d5768056bc75e2d630fffff199093019268056bc75e2d63100000680ebc5fb4174612111082020590505b6802b5e3af16b18800008412611476576802b5e3af16b187ffff199093019268056bc75e2d631000006808f00f760a4b2db55d82020590505b68015af1d78b58c4000084126114af5768015af1d78b58c3ffff199093019268056bc75e2d631000006806f5f177578893793782020590505b68056bc75e2d631000008481019085906002908280020505918201919050600368056bc75e2d631000008783020505918201919050600468056bc75e2d631000008783020505918201919050600568056bc75e2d631000008783020505918201919050600668056bc75e2d631000008783020505918201919050600768056bc75e2d631000008783020505918201919050600868056bc75e2d631000008783020505918201919050600968056bc75e2d631000008783020505918201919050600a68056bc75e2d631000008783020505918201919050600b68056bc75e2d631000008783020505918201919050600c68056bc75e2d631000008783020505918201919050606468056bc75e2d63100000848402058502059695505050505050565b5f806115dc8385611ce4565b9050670de0b6b3a7640000815b04949350505050565b5f80611606670de0b6b3a764000085611ce4565b90508281816115e9576115e9611cfb565b5f8183106116255781610c82565b5090919050565b5f610c8283835f82610ef9670de0b6b3a764000084611ce4565b6040518060a001604052805f81526020015f8152602001611665611682565b81525f6020820181905260409091015290565b611680611e61565b565b60405180606001604052806116956116a8565b8152602001606081526020015f81525090565b6040518061018001604052805f81526020015f81526020015f81526020015f60038111156116d8576116d8611ac4565b81526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f81526020015f81526020015f8152602001606081525090565b6001600160a01b0381168114610ae5575f5ffd5b8035610c6a81611733565b634e487b7160e01b5f52604160045260245ffd5b604051606081016001600160401b038111828210171561178857611788611752565b60405290565b60405161018081016001600160401b038111828210171561178857611788611752565b604051601f8201601f191681016001600160401b03811182821017156117d9576117d9611752565b604052919050565b5f6001600160401b038211156117f9576117f9611752565b5060051b60200190565b803560048110610c6a575f5ffd5b5f82601f830112611820575f5ffd5b81356001600160401b0381111561183957611839611752565b61184c601f8201601f19166020016117b1565b818152846020838601011115611860575f5ffd5b816020850160208301375f918101602001919091529392505050565b5f82601f83011261188b575f5ffd5b813561189e611899826117e1565b6117b1565b8082825260208201915060208360051b8601019250858311156118bf575f5ffd5b602085015b83811015611a3c5780356001600160401b038111156118e1575f5ffd5b86016060818903601f190112156118f6575f5ffd5b6118fe611766565b60208201356001600160401b03811115611916575f5ffd5b6020818401019050610180818b03121561192e575f5ffd5b61193661178e565b81358152602080830135908201526040808301359082015261195a60608301611803565b606082015261196b60808301611747565b608082015261197c60a08301611747565b60a082015261198d60c08301611747565b60c082015261199e60e08301611747565b60e08201526101008281013590820152610120808301359082015261014080830135908201526101608201356001600160401b038111156119dd575f5ffd5b6119e98c828501611811565b6101608301525082525060408201356001600160401b03811115611a0b575f5ffd5b611a1a8a602083860101611811565b60208381019190915260609390930135604083015250845292830192016118c4565b5095945050505050565b5f5f5f5f60808587031215611a59575f5ffd5b8435611a6481611733565b93506020850135925060408501356001600160401b03811115611a85575f5ffd5b611a918782880161187c565b92505060608501356001600160401b03811115611aac575f5ffd5b611ab88782880161187c565b91505092959194509250565b634e487b7160e01b5f52602160045260245ffd5b60048110611af457634e487b7160e01b5f52602160045260245ffd5b9052565b6001600160a01b03169052565b5f81518084525f5b81811015611b2957602081850181015186830182015201611b0d565b505f602082860101526020601f19601f83011685010191505092915050565b5f82825180855260208501945060208160051b830101602085015f5b83811015611c7957848303601f1901885281518051606080865281518187015260208201516080870152604082015160a0870152810151611ba860c0870182611ad8565b506080810151611bbb60e0870182611af8565b5060a0810151611bcf610100870182611af8565b5060c0810151611be3610120870182611af8565b5060e0810151611bf7610140870182611af8565b506101008101516101608601526101208101516101808601526101408101516101a086015261016081015190506101806101c0860152611c3b6101e0860182611b05565b905060208201518582036020870152611c548282611b05565b6040938401519690930195909552506020988901989093509190910190600101611b64565b50909695505050505050565b604081525f611c976040830185611b48565b8281036020840152610a5f8185611b48565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b818103818111156107af576107af611cbd565b80820281158282048414176107af576107af611cbd565b634e487b7160e01b5f52601260045260245ffd5b5f82611d2957634e487b7160e01b5f52601260045260245ffd5b500490565b602081525f610c826020830184611b48565b5f60208284031215611d50575f5ffd5b81516001600160401b03811115611d65575f5ffd5b8201601f81018413611d75575f5ffd5b8051611d83611899826117e1565b8082825260208201915060208360051b850101925086831115611da4575f5ffd5b6020840193505b82841015611dc6578351825260209384019390910190611dab565b9695505050505050565b5f60208284031215611de0575f5ffd5b8151610c8281611733565b808201808211156107af576107af611cbd565b6001600160a01b0391909116815260200190565b5f60208284031215611e22575f5ffd5b81518015158114610c82575f5ffd5b6001600160a01b03929092168252602082015260400190565b5f60208284031215611e5a575f5ffd5b5051919050565b634e487b7160e01b5f52605160045260245ffdfea2646970667358221220a87b2625b770e6811853b2da805238f68f83ebf804145b11fa3fa621b296207364736f6c634300081e0033";
|
|
371
|
-
|
|
372
|
-
type ActionLimitOverfillAdapterConstructorParams =
|
|
373
|
-
| [signer?: Signer]
|
|
374
|
-
| ConstructorParameters<typeof ContractFactory>;
|
|
375
|
-
|
|
376
|
-
const isSuperArgs = (
|
|
377
|
-
xs: ActionLimitOverfillAdapterConstructorParams
|
|
378
|
-
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
379
|
-
|
|
380
|
-
export class ActionLimitOverfillAdapter__factory extends ContractFactory {
|
|
381
|
-
constructor(...args: ActionLimitOverfillAdapterConstructorParams) {
|
|
382
|
-
if (isSuperArgs(args)) {
|
|
383
|
-
super(...args);
|
|
384
|
-
} else {
|
|
385
|
-
super(_abi, _bytecode, args[0]);
|
|
386
|
-
}
|
|
387
|
-
this.contractName = "ActionLimitOverfillAdapter";
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
deploy(
|
|
391
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
392
|
-
): Promise<ActionLimitOverfillAdapter> {
|
|
393
|
-
return super.deploy(overrides || {}) as Promise<ActionLimitOverfillAdapter>;
|
|
394
|
-
}
|
|
395
|
-
getDeployTransaction(
|
|
396
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
397
|
-
): TransactionRequest {
|
|
398
|
-
return super.getDeployTransaction(overrides || {});
|
|
399
|
-
}
|
|
400
|
-
attach(address: string): ActionLimitOverfillAdapter {
|
|
401
|
-
return super.attach(address) as ActionLimitOverfillAdapter;
|
|
402
|
-
}
|
|
403
|
-
connect(signer: Signer): ActionLimitOverfillAdapter__factory {
|
|
404
|
-
return super.connect(signer) as ActionLimitOverfillAdapter__factory;
|
|
405
|
-
}
|
|
406
|
-
static readonly contractName: "ActionLimitOverfillAdapter";
|
|
407
|
-
public readonly contractName: "ActionLimitOverfillAdapter";
|
|
408
|
-
static readonly bytecode = _bytecode;
|
|
409
|
-
static readonly abi = _abi;
|
|
410
|
-
static createInterface(): ActionLimitOverfillAdapterInterface {
|
|
411
|
-
return new utils.Interface(_abi) as ActionLimitOverfillAdapterInterface;
|
|
412
|
-
}
|
|
413
|
-
static connect(
|
|
414
|
-
address: string,
|
|
415
|
-
signerOrProvider: Signer | Provider
|
|
416
|
-
): ActionLimitOverfillAdapter {
|
|
417
|
-
return new Contract(
|
|
418
|
-
address,
|
|
419
|
-
_abi,
|
|
420
|
-
signerOrProvider
|
|
421
|
-
) as ActionLimitOverfillAdapter;
|
|
422
|
-
}
|
|
423
|
-
}
|