@pendle/core-v2 6.5.0 → 6.6.1
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/GaugeController/PendleGaugeControllerUpg.sol/PendleGaugeControllerUpg.json +58 -2
- package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/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/LiquidityMining/sPendle/StakedPendle.sol/StakedPendle.json +2 -2
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/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/Market/PendleMarketV7.sol/PendleMarketV7.json +2 -2
- 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/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/FixedPricePTAMMV2.sol/FixedPricePTAMMV2.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/FixedPricePTAMMV2.sol/FixedPricePTAMMV2.json +766 -0
- package/build/artifacts/contracts/cross-chain/PendleSwapHelper.sol/PendleSwapHelper.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/PendleSwapHelper.sol/PendleSwapHelper.json +99 -0
- package/build/artifacts/contracts/cross-chain/deposit-box/DepositBox.sol/DepositBox.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/deposit-box/DepositBox.sol/DepositBox.json +170 -0
- package/build/artifacts/contracts/cross-chain/deposit-box/DepositBoxFactory.sol/DepositBoxFactory.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/deposit-box/DepositBoxFactory.sol/DepositBoxFactory.json +124 -0
- package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/funder/BridgeFunder.sol/BridgeFunder.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/funder/BridgeFunder.sol/BridgeFunder.json +210 -0
- package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol/OFTAdapterAltImpl.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol/OFTAdapterAltImpl.json +1294 -0
- 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/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol/PendleBridgedPrincipalTokenAlt.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol/PendleBridgedPrincipalTokenAlt.json +1602 -0
- package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.json +1005 -0
- package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.json +976 -0
- package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
- package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.json +2 -2
- package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILPWrapper.sol/ILPWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.json +0 -88
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBridgeFunder.sol/IPBridgeFunder.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPBridgeFunder.sol/IPBridgeFunder.json +85 -0
- 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 +4 -0
- package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.json +813 -0
- package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.json +124 -0
- package/build/artifacts/contracts/interfaces/IPDepositBoxFactory.sol/IPDepositBoxFactory.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPDepositBoxFactory.sol/IPDepositBoxFactory.json +108 -0
- package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMSwapCallback.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/{IPFixedPricePTAMM.sol → IPFixedPricePTAMMV2.sol}/IPFixedPricePTAMMSwapCallback.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMV2.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/{IPFixedPricePTAMM.sol/IPFixedPricePTAMM.json → IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMV2.json} +285 -93
- 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/IPGaugeController.sol/IPGaugeController.json +56 -0
- 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 +387 -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/IPSwapHelper.sol/IPSwapHelper.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/{IPActionCrossChain.sol/IPActionCrossChain.json → IPSwapHelper.sol/IPSwapHelper.json} +2 -2
- 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 +473 -11
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +480 -13
- package/build/artifacts/contracts/limit/helpers/MintSyHelper.sol/MintSyHelper.dbg.json +4 -0
- package/build/artifacts/contracts/limit/helpers/MintSyHelper.sol/MintSyHelper.json +156 -0
- 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/PendleAPIFeeDepositor.sol/PendleAPIFeeDepositor.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.json +33 -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/PendleLPWrapper.sol/PendleLPWrapper.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleProxyAdmin.sol/PendleProxyAdmin.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/PendleProxyAdmin.sol/PendleProxyAdmin.json +171 -0
- 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/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/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +2 -2
- package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerUpg.sol +12 -2
- package/contracts/core/libraries/TokenHelper.sol +6 -2
- package/contracts/cross-chain/FixedPricePTAMMV2.sol +162 -0
- package/contracts/{router/ActionCrossChain.sol → cross-chain/PendleSwapHelper.sol} +11 -7
- package/contracts/cross-chain/deposit-box/DepositBox.sol +66 -0
- package/contracts/cross-chain/deposit-box/DepositBoxFactory.sol +44 -0
- package/contracts/cross-chain/funder/BridgeFunder.sol +61 -0
- package/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol +55 -0
- package/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol +64 -0
- package/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol +101 -0
- package/contracts/cross-chain/swap-hub/SwapHubBase.sol +184 -0
- package/contracts/interfaces/IPAllActionTypeV3.sol +1 -0
- package/contracts/interfaces/IPAllActionV3.sol +1 -3
- package/contracts/interfaces/IPBridgeFunder.sol +17 -0
- package/contracts/interfaces/IPCrossChainSwapHub.sol +108 -0
- package/contracts/interfaces/IPDepositBox.sol +22 -0
- package/contracts/interfaces/IPDepositBoxFactory.sol +19 -0
- package/contracts/interfaces/IPFixedPricePTAMMV2.sol +58 -0
- package/contracts/interfaces/IPGaugeController.sol +7 -3
- package/contracts/interfaces/IPLimitRouter.sol +29 -0
- package/contracts/interfaces/{IPActionCrossChain.sol → IPSwapHelper.sol} +1 -1
- package/contracts/limit/LimitRouterBase.sol +100 -55
- package/contracts/limit/PendleLimitRouter.sol +24 -2
- package/contracts/limit/helpers/MintSyHelper.sol +114 -0
- package/contracts/offchain-helpers/PendleFeeSetter.sol +19 -1
- package/contracts/offchain-helpers/PendleProxyAdmin.sol +11 -0
- package/contracts/router/base/ActionBase.sol +16 -2
- package/deployments/1-core.json +11 -6
- package/deployments/1-offchain-helper.json +1 -1
- package/deployments/10-core.json +9 -4
- package/deployments/10-offchain-helper.json +1 -1
- package/deployments/130-core.json +9 -2
- package/deployments/143-core.json +19 -0
- package/deployments/146-core.json +9 -4
- package/deployments/146-offchain-helper.json +1 -1
- package/deployments/42161-core.json +9 -4
- package/deployments/42161-offchain-helper.json +1 -1
- package/deployments/4217-core.json +14 -0
- package/deployments/43114-core.json +6 -2
- package/deployments/43114-offchain-helper.json +3 -0
- package/deployments/5000-core.json +9 -4
- package/deployments/5000-offchain-helper.json +1 -1
- package/deployments/56-core.json +9 -4
- package/deployments/56-offchain-helper.json +1 -1
- package/deployments/57073-core.json +19 -0
- package/deployments/747474-core.json +19 -0
- package/deployments/80094-core.json +9 -4
- package/deployments/80094-offchain-helper.json +1 -1
- package/deployments/8453-core.json +9 -4
- package/deployments/8453-offchain-helper.json +1 -1
- package/deployments/9745-core.json +8 -3
- package/deployments/9745-offchain-helper.json +1 -1
- package/deployments/999-core.json +8 -3
- package/deployments/999-offchain-helper.json +1 -1
- package/package.json +2 -2
- package/typechain-types/BridgeFunder.ts +344 -0
- package/typechain-types/DepositBox.ts +260 -0
- package/typechain-types/DepositBoxFactory.ts +226 -0
- package/typechain-types/FixedPricePTAMMV2.ts +1104 -0
- package/typechain-types/IPAllActionV3.ts +0 -54
- package/typechain-types/IPBridgeFunder.ts +165 -0
- package/typechain-types/IPCrossChainSwapHub.ts +656 -0
- package/typechain-types/IPDepositBox.ts +213 -0
- package/typechain-types/IPDepositBoxFactory.ts +226 -0
- package/typechain-types/IPFixedPricePTAMMV2.ts +864 -0
- package/typechain-types/IPGaugeController.ts +86 -0
- package/typechain-types/IPLimitRouter.ts +187 -0
- package/typechain-types/IPSwapHelper.ts +161 -0
- package/typechain-types/LimitRouterBase.ts +295 -34
- package/typechain-types/MintSyHelper.ts +230 -0
- package/typechain-types/OFTAdapterAltImpl.ts +1350 -0
- package/typechain-types/PendleBridgedPrincipalTokenAlt.ts +1708 -0
- package/typechain-types/PendleCrossChainSwapHub.ts +911 -0
- package/typechain-types/PendleFeeSetter.ts +53 -0
- package/typechain-types/PendleGaugeControllerUpg.ts +86 -0
- package/typechain-types/PendleLimitRouter.ts +295 -34
- package/typechain-types/PendleProxyAdmin.ts +341 -0
- package/typechain-types/PendleSwapHelper.ts +161 -0
- package/typechain-types/ProxyAdmin.ts +341 -0
- package/typechain-types/SwapHubBase.ts +886 -0
- 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/BridgeFunder__factory.ts +265 -0
- package/typechain-types/factories/DepositBoxFactory__factory.ts +189 -0
- package/typechain-types/factories/DepositBox__factory.ts +222 -0
- package/typechain-types/factories/ExpiredLpPtRedeemer__factory.ts +1 -1
- package/typechain-types/factories/FixedPricePTAMMV2__factory.ts +824 -0
- package/typechain-types/factories/FixedPricePTAMM__factory.ts +1 -1
- package/typechain-types/factories/IPAllActionV3__factory.ts +0 -88
- package/typechain-types/factories/IPBridgeFunder__factory.ts +100 -0
- package/typechain-types/factories/IPCrossChainSwapHub__factory.ts +828 -0
- package/typechain-types/factories/IPDepositBoxFactory__factory.ts +123 -0
- package/typechain-types/factories/IPDepositBox__factory.ts +136 -0
- package/typechain-types/factories/IPFixedPricePTAMMV2__factory.ts +621 -0
- package/typechain-types/factories/IPGaugeController__factory.ts +56 -0
- package/typechain-types/factories/IPLimitRouter__factory.ts +387 -0
- package/typechain-types/factories/IPSwapHelper__factory.ts +111 -0
- package/typechain-types/factories/LimitBackendHelperV2__factory.ts +1 -1
- package/typechain-types/factories/LimitRouterBase__factory.ts +473 -11
- package/typechain-types/factories/MarketSweed__factory.ts +1 -1
- package/typechain-types/factories/MintSyHelper__factory.ts +168 -0
- package/typechain-types/factories/OFTAdapterAltImpl__factory.ts +1363 -0
- package/typechain-types/factories/PendleAPIFeeDepositor__factory.ts +1 -1
- package/typechain-types/factories/PendleBridgedPrincipalTokenAlt__factory.ts +1702 -0
- package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +1 -1
- package/typechain-types/factories/PendleCrossChainSwapHub__factory.ts +1074 -0
- package/typechain-types/factories/PendleFeeDistributorV2__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeSetter__factory.ts +36 -1
- package/typechain-types/factories/PendleGaugeControllerUpg__factory.ts +57 -1
- package/typechain-types/factories/PendleLPWrapperFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleLPWrapper__factory.ts +1 -1
- package/typechain-types/factories/PendleLimitRouter__factory.ts +483 -13
- package/typechain-types/factories/PendleMarketV7__factory.ts +1 -1
- package/typechain-types/factories/PendleMerkleDistributor__factory.ts +1 -1
- package/typechain-types/factories/PendleMultiTokenMerkleDistributor__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/PendleProxyAdmin__factory.ts +229 -0
- package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
- package/typechain-types/factories/PendleSwapHelper__factory.ts +152 -0
- package/typechain-types/factories/PendleSwap__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldContractFactoryUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
- package/typechain-types/factories/ProxyAdmin__factory.ts +210 -0
- package/typechain-types/factories/Reflector__factory.ts +1 -1
- package/typechain-types/factories/StakedPendle__factory.ts +1 -1
- package/typechain-types/factories/SwapHubBase__factory.ts +988 -0
- package/typechain-types/hardhat.d.ts +180 -9
- package/typechain-types/index.ts +36 -2
- package/build/artifacts/contracts/StPendle.sol/RoundDataLib.dbg.json +0 -4
- package/build/artifacts/contracts/StPendle.sol/RoundDataLib.json +0 -10
- package/build/artifacts/contracts/StPendle.sol/StPendle.dbg.json +0 -4
- package/build/artifacts/contracts/StPendle.sol/StPendle.json +0 -228
- package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.dbg.json +0 -4
- package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.json +0 -667
- package/build/artifacts/contracts/interfaces/IPActionCrossChain.sol/IPActionCrossChain.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMM.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMMSwapCallback.dbg.json +0 -4
- package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.dbg.json +0 -4
- package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.json +0 -99
- package/contracts/StPendle.sol +0 -121
- package/contracts/cross-chain/FixedPricePTAMM.sol +0 -200
- package/contracts/interfaces/IPFixedPricePTAMM.sol +0 -69
- package/typechain-types/StPendle.ts +0 -362
- package/typechain-types/factories/StPendle__factory.ts +0 -260
|
@@ -78,10 +78,47 @@ export type FillOrderParamsStructOutput = [
|
|
|
78
78
|
BigNumber
|
|
79
79
|
] & { order: OrderStructOutput; signature: string; makingAmount: BigNumber };
|
|
80
80
|
|
|
81
|
+
export type SwapDataStruct = {
|
|
82
|
+
swapType: BigNumberish;
|
|
83
|
+
extRouter: string;
|
|
84
|
+
extCalldata: BytesLike;
|
|
85
|
+
needScale: boolean;
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
export type SwapDataStructOutput = [number, string, string, boolean] & {
|
|
89
|
+
swapType: number;
|
|
90
|
+
extRouter: string;
|
|
91
|
+
extCalldata: string;
|
|
92
|
+
needScale: boolean;
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
export type TokenInputStruct = {
|
|
96
|
+
tokenIn: string;
|
|
97
|
+
netTokenIn: BigNumberish;
|
|
98
|
+
tokenMintSy: string;
|
|
99
|
+
pendleSwap: string;
|
|
100
|
+
swapData: SwapDataStruct;
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
export type TokenInputStructOutput = [
|
|
104
|
+
string,
|
|
105
|
+
BigNumber,
|
|
106
|
+
string,
|
|
107
|
+
string,
|
|
108
|
+
SwapDataStructOutput
|
|
109
|
+
] & {
|
|
110
|
+
tokenIn: string;
|
|
111
|
+
netTokenIn: BigNumber;
|
|
112
|
+
tokenMintSy: string;
|
|
113
|
+
pendleSwap: string;
|
|
114
|
+
swapData: SwapDataStructOutput;
|
|
115
|
+
};
|
|
116
|
+
|
|
81
117
|
export interface LimitRouterBaseInterface extends utils.Interface {
|
|
82
118
|
contractName: "LimitRouterBase";
|
|
83
119
|
functions: {
|
|
84
120
|
"DOMAIN_SEPARATOR()": FunctionFragment;
|
|
121
|
+
"ROUTER()": FunctionFragment;
|
|
85
122
|
"WNATIVE()": FunctionFragment;
|
|
86
123
|
"_checkSig((uint256,uint256,uint256,uint8,address,address,address,address,uint256,uint256,uint256,bytes),bytes)": FunctionFragment;
|
|
87
124
|
"advanceNonce(uint8)": FunctionFragment;
|
|
@@ -92,19 +129,24 @@ export interface LimitRouterBaseInterface extends utils.Interface {
|
|
|
92
129
|
"feeRecipient()": FunctionFragment;
|
|
93
130
|
"fill(((uint256,uint256,uint256,uint8,address,address,address,address,uint256,uint256,uint256,bytes),bytes,uint256)[],address,uint256,bytes,bytes)": FunctionFragment;
|
|
94
131
|
"getLnFeeRateRoot(address)": FunctionFragment;
|
|
132
|
+
"hashFillParams(((uint256,uint256,uint256,uint8,address,address,address,address,uint256,uint256,uint256,bytes),bytes,uint256)[])": FunctionFragment;
|
|
133
|
+
"hashMintSyPayload((address,uint256,address,address,(uint8,address,bytes,bool))[],uint256[],uint256,bytes32)": FunctionFragment;
|
|
95
134
|
"hashOrder((uint256,uint256,uint256,uint8,address,address,address,address,uint256,uint256,uint256,bytes))": FunctionFragment;
|
|
96
135
|
"increaseNonce()": FunctionFragment;
|
|
97
136
|
"initialize(address,address)": FunctionFragment;
|
|
137
|
+
"mintSySigner1()": FunctionFragment;
|
|
138
|
+
"mintSySigner2()": FunctionFragment;
|
|
98
139
|
"nonce(address)": FunctionFragment;
|
|
99
140
|
"nonceEquals(address,uint256)": FunctionFragment;
|
|
100
141
|
"orderStatuses(bytes32[])": FunctionFragment;
|
|
101
142
|
"orderStatusesRaw(bytes32[])": FunctionFragment;
|
|
102
143
|
"owner()": FunctionFragment;
|
|
103
|
-
"ownerHelper()": FunctionFragment;
|
|
104
144
|
"pendingOwner()": FunctionFragment;
|
|
145
|
+
"preSignBatch((uint256,uint256,uint256,uint8,address,address,address,address,uint256,uint256,uint256,bytes)[])": FunctionFragment;
|
|
146
|
+
"preSignSingle((uint256,uint256,uint256,uint8,address,address,address,address,uint256,uint256,uint256,bytes))": FunctionFragment;
|
|
105
147
|
"setFeeRecipient(address)": FunctionFragment;
|
|
106
148
|
"setLnFeeRateRoots(address[],uint256[],bool)": FunctionFragment;
|
|
107
|
-
"
|
|
149
|
+
"setMintSySigners(address,address)": FunctionFragment;
|
|
108
150
|
"simulate(address,bytes)": FunctionFragment;
|
|
109
151
|
"transferOwnership(address,bool,bool)": FunctionFragment;
|
|
110
152
|
};
|
|
@@ -113,6 +155,7 @@ export interface LimitRouterBaseInterface extends utils.Interface {
|
|
|
113
155
|
functionFragment: "DOMAIN_SEPARATOR",
|
|
114
156
|
values?: undefined
|
|
115
157
|
): string;
|
|
158
|
+
encodeFunctionData(functionFragment: "ROUTER", values?: undefined): string;
|
|
116
159
|
encodeFunctionData(functionFragment: "WNATIVE", values?: undefined): string;
|
|
117
160
|
encodeFunctionData(
|
|
118
161
|
functionFragment: "_checkSig",
|
|
@@ -156,6 +199,14 @@ export interface LimitRouterBaseInterface extends utils.Interface {
|
|
|
156
199
|
functionFragment: "getLnFeeRateRoot",
|
|
157
200
|
values: [string]
|
|
158
201
|
): string;
|
|
202
|
+
encodeFunctionData(
|
|
203
|
+
functionFragment: "hashFillParams",
|
|
204
|
+
values: [FillOrderParamsStruct[]]
|
|
205
|
+
): string;
|
|
206
|
+
encodeFunctionData(
|
|
207
|
+
functionFragment: "hashMintSyPayload",
|
|
208
|
+
values: [TokenInputStruct[], BigNumberish[], BigNumberish, BytesLike]
|
|
209
|
+
): string;
|
|
159
210
|
encodeFunctionData(
|
|
160
211
|
functionFragment: "hashOrder",
|
|
161
212
|
values: [OrderStruct]
|
|
@@ -168,6 +219,14 @@ export interface LimitRouterBaseInterface extends utils.Interface {
|
|
|
168
219
|
functionFragment: "initialize",
|
|
169
220
|
values: [string, string]
|
|
170
221
|
): string;
|
|
222
|
+
encodeFunctionData(
|
|
223
|
+
functionFragment: "mintSySigner1",
|
|
224
|
+
values?: undefined
|
|
225
|
+
): string;
|
|
226
|
+
encodeFunctionData(
|
|
227
|
+
functionFragment: "mintSySigner2",
|
|
228
|
+
values?: undefined
|
|
229
|
+
): string;
|
|
171
230
|
encodeFunctionData(functionFragment: "nonce", values: [string]): string;
|
|
172
231
|
encodeFunctionData(
|
|
173
232
|
functionFragment: "nonceEquals",
|
|
@@ -183,12 +242,16 @@ export interface LimitRouterBaseInterface extends utils.Interface {
|
|
|
183
242
|
): string;
|
|
184
243
|
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
|
|
185
244
|
encodeFunctionData(
|
|
186
|
-
functionFragment: "
|
|
245
|
+
functionFragment: "pendingOwner",
|
|
187
246
|
values?: undefined
|
|
188
247
|
): string;
|
|
189
248
|
encodeFunctionData(
|
|
190
|
-
functionFragment: "
|
|
191
|
-
values
|
|
249
|
+
functionFragment: "preSignBatch",
|
|
250
|
+
values: [OrderStruct[]]
|
|
251
|
+
): string;
|
|
252
|
+
encodeFunctionData(
|
|
253
|
+
functionFragment: "preSignSingle",
|
|
254
|
+
values: [OrderStruct]
|
|
192
255
|
): string;
|
|
193
256
|
encodeFunctionData(
|
|
194
257
|
functionFragment: "setFeeRecipient",
|
|
@@ -199,8 +262,8 @@ export interface LimitRouterBaseInterface extends utils.Interface {
|
|
|
199
262
|
values: [string[], BigNumberish[], boolean]
|
|
200
263
|
): string;
|
|
201
264
|
encodeFunctionData(
|
|
202
|
-
functionFragment: "
|
|
203
|
-
values: [string]
|
|
265
|
+
functionFragment: "setMintSySigners",
|
|
266
|
+
values: [string, string]
|
|
204
267
|
): string;
|
|
205
268
|
encodeFunctionData(
|
|
206
269
|
functionFragment: "simulate",
|
|
@@ -215,6 +278,7 @@ export interface LimitRouterBaseInterface extends utils.Interface {
|
|
|
215
278
|
functionFragment: "DOMAIN_SEPARATOR",
|
|
216
279
|
data: BytesLike
|
|
217
280
|
): Result;
|
|
281
|
+
decodeFunctionResult(functionFragment: "ROUTER", data: BytesLike): Result;
|
|
218
282
|
decodeFunctionResult(functionFragment: "WNATIVE", data: BytesLike): Result;
|
|
219
283
|
decodeFunctionResult(functionFragment: "_checkSig", data: BytesLike): Result;
|
|
220
284
|
decodeFunctionResult(
|
|
@@ -246,12 +310,28 @@ export interface LimitRouterBaseInterface extends utils.Interface {
|
|
|
246
310
|
functionFragment: "getLnFeeRateRoot",
|
|
247
311
|
data: BytesLike
|
|
248
312
|
): Result;
|
|
313
|
+
decodeFunctionResult(
|
|
314
|
+
functionFragment: "hashFillParams",
|
|
315
|
+
data: BytesLike
|
|
316
|
+
): Result;
|
|
317
|
+
decodeFunctionResult(
|
|
318
|
+
functionFragment: "hashMintSyPayload",
|
|
319
|
+
data: BytesLike
|
|
320
|
+
): Result;
|
|
249
321
|
decodeFunctionResult(functionFragment: "hashOrder", data: BytesLike): Result;
|
|
250
322
|
decodeFunctionResult(
|
|
251
323
|
functionFragment: "increaseNonce",
|
|
252
324
|
data: BytesLike
|
|
253
325
|
): Result;
|
|
254
326
|
decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
|
|
327
|
+
decodeFunctionResult(
|
|
328
|
+
functionFragment: "mintSySigner1",
|
|
329
|
+
data: BytesLike
|
|
330
|
+
): Result;
|
|
331
|
+
decodeFunctionResult(
|
|
332
|
+
functionFragment: "mintSySigner2",
|
|
333
|
+
data: BytesLike
|
|
334
|
+
): Result;
|
|
255
335
|
decodeFunctionResult(functionFragment: "nonce", data: BytesLike): Result;
|
|
256
336
|
decodeFunctionResult(
|
|
257
337
|
functionFragment: "nonceEquals",
|
|
@@ -267,11 +347,15 @@ export interface LimitRouterBaseInterface extends utils.Interface {
|
|
|
267
347
|
): Result;
|
|
268
348
|
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
|
|
269
349
|
decodeFunctionResult(
|
|
270
|
-
functionFragment: "
|
|
350
|
+
functionFragment: "pendingOwner",
|
|
351
|
+
data: BytesLike
|
|
352
|
+
): Result;
|
|
353
|
+
decodeFunctionResult(
|
|
354
|
+
functionFragment: "preSignBatch",
|
|
271
355
|
data: BytesLike
|
|
272
356
|
): Result;
|
|
273
357
|
decodeFunctionResult(
|
|
274
|
-
functionFragment: "
|
|
358
|
+
functionFragment: "preSignSingle",
|
|
275
359
|
data: BytesLike
|
|
276
360
|
): Result;
|
|
277
361
|
decodeFunctionResult(
|
|
@@ -283,7 +367,7 @@ export interface LimitRouterBaseInterface extends utils.Interface {
|
|
|
283
367
|
data: BytesLike
|
|
284
368
|
): Result;
|
|
285
369
|
decodeFunctionResult(
|
|
286
|
-
functionFragment: "
|
|
370
|
+
functionFragment: "setMintSySigners",
|
|
287
371
|
data: BytesLike
|
|
288
372
|
): Result;
|
|
289
373
|
decodeFunctionResult(functionFragment: "simulate", data: BytesLike): Result;
|
|
@@ -296,22 +380,26 @@ export interface LimitRouterBaseInterface extends utils.Interface {
|
|
|
296
380
|
"EIP712DomainChanged()": EventFragment;
|
|
297
381
|
"Initialized(uint8)": EventFragment;
|
|
298
382
|
"LnFeeRateRootsSet(address[],uint256[])": EventFragment;
|
|
383
|
+
"MintSySignersSet(address,address)": EventFragment;
|
|
299
384
|
"NonceIncreased(address,uint256,uint256)": EventFragment;
|
|
300
385
|
"OrderCanceled(address,bytes32)": EventFragment;
|
|
301
386
|
"OrderFilled(bytes32,uint8,address,address,uint256,uint256,uint256,uint256)": EventFragment;
|
|
302
387
|
"OrderFilledV2(bytes32,uint8,address,address,uint256,uint256,uint256,uint256,address,address)": EventFragment;
|
|
303
388
|
"OrderForceCanceled(bytes32)": EventFragment;
|
|
389
|
+
"OrderPreSigned(bytes32,tuple)": EventFragment;
|
|
304
390
|
"OwnershipTransferred(address,address)": EventFragment;
|
|
305
391
|
};
|
|
306
392
|
|
|
307
393
|
getEvent(nameOrSignatureOrTopic: "EIP712DomainChanged"): EventFragment;
|
|
308
394
|
getEvent(nameOrSignatureOrTopic: "Initialized"): EventFragment;
|
|
309
395
|
getEvent(nameOrSignatureOrTopic: "LnFeeRateRootsSet"): EventFragment;
|
|
396
|
+
getEvent(nameOrSignatureOrTopic: "MintSySignersSet"): EventFragment;
|
|
310
397
|
getEvent(nameOrSignatureOrTopic: "NonceIncreased"): EventFragment;
|
|
311
398
|
getEvent(nameOrSignatureOrTopic: "OrderCanceled"): EventFragment;
|
|
312
399
|
getEvent(nameOrSignatureOrTopic: "OrderFilled"): EventFragment;
|
|
313
400
|
getEvent(nameOrSignatureOrTopic: "OrderFilledV2"): EventFragment;
|
|
314
401
|
getEvent(nameOrSignatureOrTopic: "OrderForceCanceled"): EventFragment;
|
|
402
|
+
getEvent(nameOrSignatureOrTopic: "OrderPreSigned"): EventFragment;
|
|
315
403
|
getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
|
|
316
404
|
}
|
|
317
405
|
|
|
@@ -332,6 +420,14 @@ export type LnFeeRateRootsSetEvent = TypedEvent<
|
|
|
332
420
|
export type LnFeeRateRootsSetEventFilter =
|
|
333
421
|
TypedEventFilter<LnFeeRateRootsSetEvent>;
|
|
334
422
|
|
|
423
|
+
export type MintSySignersSetEvent = TypedEvent<
|
|
424
|
+
[string, string],
|
|
425
|
+
{ signer1: string; signer2: string }
|
|
426
|
+
>;
|
|
427
|
+
|
|
428
|
+
export type MintSySignersSetEventFilter =
|
|
429
|
+
TypedEventFilter<MintSySignersSetEvent>;
|
|
430
|
+
|
|
335
431
|
export type NonceIncreasedEvent = TypedEvent<
|
|
336
432
|
[string, BigNumber, BigNumber],
|
|
337
433
|
{ maker: string; oldNonce: BigNumber; newNonce: BigNumber }
|
|
@@ -399,6 +495,13 @@ export type OrderForceCanceledEvent = TypedEvent<
|
|
|
399
495
|
export type OrderForceCanceledEventFilter =
|
|
400
496
|
TypedEventFilter<OrderForceCanceledEvent>;
|
|
401
497
|
|
|
498
|
+
export type OrderPreSignedEvent = TypedEvent<
|
|
499
|
+
[string, OrderStructOutput],
|
|
500
|
+
{ orderHash: string; order: OrderStructOutput }
|
|
501
|
+
>;
|
|
502
|
+
|
|
503
|
+
export type OrderPreSignedEventFilter = TypedEventFilter<OrderPreSignedEvent>;
|
|
504
|
+
|
|
402
505
|
export type OwnershipTransferredEvent = TypedEvent<
|
|
403
506
|
[string, string],
|
|
404
507
|
{ previousOwner: string; newOwner: string }
|
|
@@ -437,6 +540,8 @@ export interface LimitRouterBase extends BaseContract {
|
|
|
437
540
|
functions: {
|
|
438
541
|
DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise<[string]>;
|
|
439
542
|
|
|
543
|
+
ROUTER(overrides?: CallOverrides): Promise<[string]>;
|
|
544
|
+
|
|
440
545
|
WNATIVE(overrides?: CallOverrides): Promise<[string]>;
|
|
441
546
|
|
|
442
547
|
_checkSig(
|
|
@@ -484,7 +589,7 @@ export interface LimitRouterBase extends BaseContract {
|
|
|
484
589
|
params: FillOrderParamsStruct[],
|
|
485
590
|
receiver: string,
|
|
486
591
|
maxTaking: BigNumberish,
|
|
487
|
-
|
|
592
|
+
optData: BytesLike,
|
|
488
593
|
callback: BytesLike,
|
|
489
594
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
490
595
|
): Promise<ContractTransaction>;
|
|
@@ -494,6 +599,19 @@ export interface LimitRouterBase extends BaseContract {
|
|
|
494
599
|
overrides?: CallOverrides
|
|
495
600
|
): Promise<[BigNumber] & { res: BigNumber }>;
|
|
496
601
|
|
|
602
|
+
hashFillParams(
|
|
603
|
+
params: FillOrderParamsStruct[],
|
|
604
|
+
overrides?: CallOverrides
|
|
605
|
+
): Promise<[string]>;
|
|
606
|
+
|
|
607
|
+
hashMintSyPayload(
|
|
608
|
+
inps: TokenInputStruct[],
|
|
609
|
+
minSyOuts: BigNumberish[],
|
|
610
|
+
expiry: BigNumberish,
|
|
611
|
+
fillParamsHash: BytesLike,
|
|
612
|
+
overrides?: CallOverrides
|
|
613
|
+
): Promise<[string]>;
|
|
614
|
+
|
|
497
615
|
hashOrder(order: OrderStruct, overrides?: CallOverrides): Promise<[string]>;
|
|
498
616
|
|
|
499
617
|
increaseNonce(
|
|
@@ -506,6 +624,10 @@ export interface LimitRouterBase extends BaseContract {
|
|
|
506
624
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
507
625
|
): Promise<ContractTransaction>;
|
|
508
626
|
|
|
627
|
+
mintSySigner1(overrides?: CallOverrides): Promise<[string]>;
|
|
628
|
+
|
|
629
|
+
mintSySigner2(overrides?: CallOverrides): Promise<[string]>;
|
|
630
|
+
|
|
509
631
|
nonce(arg0: string, overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
510
632
|
|
|
511
633
|
nonceEquals(
|
|
@@ -536,10 +658,18 @@ export interface LimitRouterBase extends BaseContract {
|
|
|
536
658
|
|
|
537
659
|
owner(overrides?: CallOverrides): Promise<[string]>;
|
|
538
660
|
|
|
539
|
-
ownerHelper(overrides?: CallOverrides): Promise<[string]>;
|
|
540
|
-
|
|
541
661
|
pendingOwner(overrides?: CallOverrides): Promise<[string]>;
|
|
542
662
|
|
|
663
|
+
preSignBatch(
|
|
664
|
+
order: OrderStruct[],
|
|
665
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
666
|
+
): Promise<ContractTransaction>;
|
|
667
|
+
|
|
668
|
+
preSignSingle(
|
|
669
|
+
order: OrderStruct,
|
|
670
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
671
|
+
): Promise<ContractTransaction>;
|
|
672
|
+
|
|
543
673
|
setFeeRecipient(
|
|
544
674
|
_feeRecipient: string,
|
|
545
675
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -552,8 +682,9 @@ export interface LimitRouterBase extends BaseContract {
|
|
|
552
682
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
553
683
|
): Promise<ContractTransaction>;
|
|
554
684
|
|
|
555
|
-
|
|
556
|
-
|
|
685
|
+
setMintSySigners(
|
|
686
|
+
_signer1: string,
|
|
687
|
+
_signer2: string,
|
|
557
688
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
558
689
|
): Promise<ContractTransaction>;
|
|
559
690
|
|
|
@@ -573,6 +704,8 @@ export interface LimitRouterBase extends BaseContract {
|
|
|
573
704
|
|
|
574
705
|
DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise<string>;
|
|
575
706
|
|
|
707
|
+
ROUTER(overrides?: CallOverrides): Promise<string>;
|
|
708
|
+
|
|
576
709
|
WNATIVE(overrides?: CallOverrides): Promise<string>;
|
|
577
710
|
|
|
578
711
|
_checkSig(
|
|
@@ -620,13 +753,26 @@ export interface LimitRouterBase extends BaseContract {
|
|
|
620
753
|
params: FillOrderParamsStruct[],
|
|
621
754
|
receiver: string,
|
|
622
755
|
maxTaking: BigNumberish,
|
|
623
|
-
|
|
756
|
+
optData: BytesLike,
|
|
624
757
|
callback: BytesLike,
|
|
625
758
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
626
759
|
): Promise<ContractTransaction>;
|
|
627
760
|
|
|
628
761
|
getLnFeeRateRoot(YT: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
629
762
|
|
|
763
|
+
hashFillParams(
|
|
764
|
+
params: FillOrderParamsStruct[],
|
|
765
|
+
overrides?: CallOverrides
|
|
766
|
+
): Promise<string>;
|
|
767
|
+
|
|
768
|
+
hashMintSyPayload(
|
|
769
|
+
inps: TokenInputStruct[],
|
|
770
|
+
minSyOuts: BigNumberish[],
|
|
771
|
+
expiry: BigNumberish,
|
|
772
|
+
fillParamsHash: BytesLike,
|
|
773
|
+
overrides?: CallOverrides
|
|
774
|
+
): Promise<string>;
|
|
775
|
+
|
|
630
776
|
hashOrder(order: OrderStruct, overrides?: CallOverrides): Promise<string>;
|
|
631
777
|
|
|
632
778
|
increaseNonce(
|
|
@@ -639,6 +785,10 @@ export interface LimitRouterBase extends BaseContract {
|
|
|
639
785
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
640
786
|
): Promise<ContractTransaction>;
|
|
641
787
|
|
|
788
|
+
mintSySigner1(overrides?: CallOverrides): Promise<string>;
|
|
789
|
+
|
|
790
|
+
mintSySigner2(overrides?: CallOverrides): Promise<string>;
|
|
791
|
+
|
|
642
792
|
nonce(arg0: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
643
793
|
|
|
644
794
|
nonceEquals(
|
|
@@ -669,10 +819,18 @@ export interface LimitRouterBase extends BaseContract {
|
|
|
669
819
|
|
|
670
820
|
owner(overrides?: CallOverrides): Promise<string>;
|
|
671
821
|
|
|
672
|
-
ownerHelper(overrides?: CallOverrides): Promise<string>;
|
|
673
|
-
|
|
674
822
|
pendingOwner(overrides?: CallOverrides): Promise<string>;
|
|
675
823
|
|
|
824
|
+
preSignBatch(
|
|
825
|
+
order: OrderStruct[],
|
|
826
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
827
|
+
): Promise<ContractTransaction>;
|
|
828
|
+
|
|
829
|
+
preSignSingle(
|
|
830
|
+
order: OrderStruct,
|
|
831
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
832
|
+
): Promise<ContractTransaction>;
|
|
833
|
+
|
|
676
834
|
setFeeRecipient(
|
|
677
835
|
_feeRecipient: string,
|
|
678
836
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -685,8 +843,9 @@ export interface LimitRouterBase extends BaseContract {
|
|
|
685
843
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
686
844
|
): Promise<ContractTransaction>;
|
|
687
845
|
|
|
688
|
-
|
|
689
|
-
|
|
846
|
+
setMintSySigners(
|
|
847
|
+
_signer1: string,
|
|
848
|
+
_signer2: string,
|
|
690
849
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
691
850
|
): Promise<ContractTransaction>;
|
|
692
851
|
|
|
@@ -706,6 +865,8 @@ export interface LimitRouterBase extends BaseContract {
|
|
|
706
865
|
callStatic: {
|
|
707
866
|
DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise<string>;
|
|
708
867
|
|
|
868
|
+
ROUTER(overrides?: CallOverrides): Promise<string>;
|
|
869
|
+
|
|
709
870
|
WNATIVE(overrides?: CallOverrides): Promise<string>;
|
|
710
871
|
|
|
711
872
|
_checkSig(
|
|
@@ -748,7 +909,7 @@ export interface LimitRouterBase extends BaseContract {
|
|
|
748
909
|
params: FillOrderParamsStruct[],
|
|
749
910
|
receiver: string,
|
|
750
911
|
maxTaking: BigNumberish,
|
|
751
|
-
|
|
912
|
+
optData: BytesLike,
|
|
752
913
|
callback: BytesLike,
|
|
753
914
|
overrides?: CallOverrides
|
|
754
915
|
): Promise<
|
|
@@ -762,6 +923,19 @@ export interface LimitRouterBase extends BaseContract {
|
|
|
762
923
|
|
|
763
924
|
getLnFeeRateRoot(YT: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
764
925
|
|
|
926
|
+
hashFillParams(
|
|
927
|
+
params: FillOrderParamsStruct[],
|
|
928
|
+
overrides?: CallOverrides
|
|
929
|
+
): Promise<string>;
|
|
930
|
+
|
|
931
|
+
hashMintSyPayload(
|
|
932
|
+
inps: TokenInputStruct[],
|
|
933
|
+
minSyOuts: BigNumberish[],
|
|
934
|
+
expiry: BigNumberish,
|
|
935
|
+
fillParamsHash: BytesLike,
|
|
936
|
+
overrides?: CallOverrides
|
|
937
|
+
): Promise<string>;
|
|
938
|
+
|
|
765
939
|
hashOrder(order: OrderStruct, overrides?: CallOverrides): Promise<string>;
|
|
766
940
|
|
|
767
941
|
increaseNonce(overrides?: CallOverrides): Promise<void>;
|
|
@@ -772,6 +946,10 @@ export interface LimitRouterBase extends BaseContract {
|
|
|
772
946
|
overrides?: CallOverrides
|
|
773
947
|
): Promise<void>;
|
|
774
948
|
|
|
949
|
+
mintSySigner1(overrides?: CallOverrides): Promise<string>;
|
|
950
|
+
|
|
951
|
+
mintSySigner2(overrides?: CallOverrides): Promise<string>;
|
|
952
|
+
|
|
775
953
|
nonce(arg0: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
776
954
|
|
|
777
955
|
nonceEquals(
|
|
@@ -802,10 +980,15 @@ export interface LimitRouterBase extends BaseContract {
|
|
|
802
980
|
|
|
803
981
|
owner(overrides?: CallOverrides): Promise<string>;
|
|
804
982
|
|
|
805
|
-
ownerHelper(overrides?: CallOverrides): Promise<string>;
|
|
806
|
-
|
|
807
983
|
pendingOwner(overrides?: CallOverrides): Promise<string>;
|
|
808
984
|
|
|
985
|
+
preSignBatch(
|
|
986
|
+
order: OrderStruct[],
|
|
987
|
+
overrides?: CallOverrides
|
|
988
|
+
): Promise<void>;
|
|
989
|
+
|
|
990
|
+
preSignSingle(order: OrderStruct, overrides?: CallOverrides): Promise<void>;
|
|
991
|
+
|
|
809
992
|
setFeeRecipient(
|
|
810
993
|
_feeRecipient: string,
|
|
811
994
|
overrides?: CallOverrides
|
|
@@ -818,7 +1001,11 @@ export interface LimitRouterBase extends BaseContract {
|
|
|
818
1001
|
overrides?: CallOverrides
|
|
819
1002
|
): Promise<void>;
|
|
820
1003
|
|
|
821
|
-
|
|
1004
|
+
setMintSySigners(
|
|
1005
|
+
_signer1: string,
|
|
1006
|
+
_signer2: string,
|
|
1007
|
+
overrides?: CallOverrides
|
|
1008
|
+
): Promise<void>;
|
|
822
1009
|
|
|
823
1010
|
simulate(
|
|
824
1011
|
target: string,
|
|
@@ -850,6 +1037,15 @@ export interface LimitRouterBase extends BaseContract {
|
|
|
850
1037
|
lnFeeRateRoots?: null
|
|
851
1038
|
): LnFeeRateRootsSetEventFilter;
|
|
852
1039
|
|
|
1040
|
+
"MintSySignersSet(address,address)"(
|
|
1041
|
+
signer1?: null,
|
|
1042
|
+
signer2?: null
|
|
1043
|
+
): MintSySignersSetEventFilter;
|
|
1044
|
+
MintSySignersSet(
|
|
1045
|
+
signer1?: null,
|
|
1046
|
+
signer2?: null
|
|
1047
|
+
): MintSySignersSetEventFilter;
|
|
1048
|
+
|
|
853
1049
|
"NonceIncreased(address,uint256,uint256)"(
|
|
854
1050
|
maker?: string | null,
|
|
855
1051
|
oldNonce?: null,
|
|
@@ -923,6 +1119,15 @@ export interface LimitRouterBase extends BaseContract {
|
|
|
923
1119
|
orderHash?: BytesLike | null
|
|
924
1120
|
): OrderForceCanceledEventFilter;
|
|
925
1121
|
|
|
1122
|
+
"OrderPreSigned(bytes32,tuple)"(
|
|
1123
|
+
orderHash?: BytesLike | null,
|
|
1124
|
+
order?: null
|
|
1125
|
+
): OrderPreSignedEventFilter;
|
|
1126
|
+
OrderPreSigned(
|
|
1127
|
+
orderHash?: BytesLike | null,
|
|
1128
|
+
order?: null
|
|
1129
|
+
): OrderPreSignedEventFilter;
|
|
1130
|
+
|
|
926
1131
|
"OwnershipTransferred(address,address)"(
|
|
927
1132
|
previousOwner?: string | null,
|
|
928
1133
|
newOwner?: string | null
|
|
@@ -936,6 +1141,8 @@ export interface LimitRouterBase extends BaseContract {
|
|
|
936
1141
|
estimateGas: {
|
|
937
1142
|
DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise<BigNumber>;
|
|
938
1143
|
|
|
1144
|
+
ROUTER(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1145
|
+
|
|
939
1146
|
WNATIVE(overrides?: CallOverrides): Promise<BigNumber>;
|
|
940
1147
|
|
|
941
1148
|
_checkSig(
|
|
@@ -971,13 +1178,26 @@ export interface LimitRouterBase extends BaseContract {
|
|
|
971
1178
|
params: FillOrderParamsStruct[],
|
|
972
1179
|
receiver: string,
|
|
973
1180
|
maxTaking: BigNumberish,
|
|
974
|
-
|
|
1181
|
+
optData: BytesLike,
|
|
975
1182
|
callback: BytesLike,
|
|
976
1183
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
977
1184
|
): Promise<BigNumber>;
|
|
978
1185
|
|
|
979
1186
|
getLnFeeRateRoot(YT: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
980
1187
|
|
|
1188
|
+
hashFillParams(
|
|
1189
|
+
params: FillOrderParamsStruct[],
|
|
1190
|
+
overrides?: CallOverrides
|
|
1191
|
+
): Promise<BigNumber>;
|
|
1192
|
+
|
|
1193
|
+
hashMintSyPayload(
|
|
1194
|
+
inps: TokenInputStruct[],
|
|
1195
|
+
minSyOuts: BigNumberish[],
|
|
1196
|
+
expiry: BigNumberish,
|
|
1197
|
+
fillParamsHash: BytesLike,
|
|
1198
|
+
overrides?: CallOverrides
|
|
1199
|
+
): Promise<BigNumber>;
|
|
1200
|
+
|
|
981
1201
|
hashOrder(
|
|
982
1202
|
order: OrderStruct,
|
|
983
1203
|
overrides?: CallOverrides
|
|
@@ -993,6 +1213,10 @@ export interface LimitRouterBase extends BaseContract {
|
|
|
993
1213
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
994
1214
|
): Promise<BigNumber>;
|
|
995
1215
|
|
|
1216
|
+
mintSySigner1(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1217
|
+
|
|
1218
|
+
mintSySigner2(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1219
|
+
|
|
996
1220
|
nonce(arg0: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
997
1221
|
|
|
998
1222
|
nonceEquals(
|
|
@@ -1013,10 +1237,18 @@ export interface LimitRouterBase extends BaseContract {
|
|
|
1013
1237
|
|
|
1014
1238
|
owner(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1015
1239
|
|
|
1016
|
-
ownerHelper(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1017
|
-
|
|
1018
1240
|
pendingOwner(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1019
1241
|
|
|
1242
|
+
preSignBatch(
|
|
1243
|
+
order: OrderStruct[],
|
|
1244
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1245
|
+
): Promise<BigNumber>;
|
|
1246
|
+
|
|
1247
|
+
preSignSingle(
|
|
1248
|
+
order: OrderStruct,
|
|
1249
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1250
|
+
): Promise<BigNumber>;
|
|
1251
|
+
|
|
1020
1252
|
setFeeRecipient(
|
|
1021
1253
|
_feeRecipient: string,
|
|
1022
1254
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -1029,8 +1261,9 @@ export interface LimitRouterBase extends BaseContract {
|
|
|
1029
1261
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1030
1262
|
): Promise<BigNumber>;
|
|
1031
1263
|
|
|
1032
|
-
|
|
1033
|
-
|
|
1264
|
+
setMintSySigners(
|
|
1265
|
+
_signer1: string,
|
|
1266
|
+
_signer2: string,
|
|
1034
1267
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1035
1268
|
): Promise<BigNumber>;
|
|
1036
1269
|
|
|
@@ -1051,6 +1284,8 @@ export interface LimitRouterBase extends BaseContract {
|
|
|
1051
1284
|
populateTransaction: {
|
|
1052
1285
|
DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
1053
1286
|
|
|
1287
|
+
ROUTER(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
1288
|
+
|
|
1054
1289
|
WNATIVE(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
1055
1290
|
|
|
1056
1291
|
_checkSig(
|
|
@@ -1086,7 +1321,7 @@ export interface LimitRouterBase extends BaseContract {
|
|
|
1086
1321
|
params: FillOrderParamsStruct[],
|
|
1087
1322
|
receiver: string,
|
|
1088
1323
|
maxTaking: BigNumberish,
|
|
1089
|
-
|
|
1324
|
+
optData: BytesLike,
|
|
1090
1325
|
callback: BytesLike,
|
|
1091
1326
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1092
1327
|
): Promise<PopulatedTransaction>;
|
|
@@ -1096,6 +1331,19 @@ export interface LimitRouterBase extends BaseContract {
|
|
|
1096
1331
|
overrides?: CallOverrides
|
|
1097
1332
|
): Promise<PopulatedTransaction>;
|
|
1098
1333
|
|
|
1334
|
+
hashFillParams(
|
|
1335
|
+
params: FillOrderParamsStruct[],
|
|
1336
|
+
overrides?: CallOverrides
|
|
1337
|
+
): Promise<PopulatedTransaction>;
|
|
1338
|
+
|
|
1339
|
+
hashMintSyPayload(
|
|
1340
|
+
inps: TokenInputStruct[],
|
|
1341
|
+
minSyOuts: BigNumberish[],
|
|
1342
|
+
expiry: BigNumberish,
|
|
1343
|
+
fillParamsHash: BytesLike,
|
|
1344
|
+
overrides?: CallOverrides
|
|
1345
|
+
): Promise<PopulatedTransaction>;
|
|
1346
|
+
|
|
1099
1347
|
hashOrder(
|
|
1100
1348
|
order: OrderStruct,
|
|
1101
1349
|
overrides?: CallOverrides
|
|
@@ -1111,6 +1359,10 @@ export interface LimitRouterBase extends BaseContract {
|
|
|
1111
1359
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1112
1360
|
): Promise<PopulatedTransaction>;
|
|
1113
1361
|
|
|
1362
|
+
mintSySigner1(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
1363
|
+
|
|
1364
|
+
mintSySigner2(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
1365
|
+
|
|
1114
1366
|
nonce(
|
|
1115
1367
|
arg0: string,
|
|
1116
1368
|
overrides?: CallOverrides
|
|
@@ -1134,10 +1386,18 @@ export interface LimitRouterBase extends BaseContract {
|
|
|
1134
1386
|
|
|
1135
1387
|
owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
1136
1388
|
|
|
1137
|
-
ownerHelper(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
1138
|
-
|
|
1139
1389
|
pendingOwner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
1140
1390
|
|
|
1391
|
+
preSignBatch(
|
|
1392
|
+
order: OrderStruct[],
|
|
1393
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1394
|
+
): Promise<PopulatedTransaction>;
|
|
1395
|
+
|
|
1396
|
+
preSignSingle(
|
|
1397
|
+
order: OrderStruct,
|
|
1398
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1399
|
+
): Promise<PopulatedTransaction>;
|
|
1400
|
+
|
|
1141
1401
|
setFeeRecipient(
|
|
1142
1402
|
_feeRecipient: string,
|
|
1143
1403
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -1150,8 +1410,9 @@ export interface LimitRouterBase extends BaseContract {
|
|
|
1150
1410
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1151
1411
|
): Promise<PopulatedTransaction>;
|
|
1152
1412
|
|
|
1153
|
-
|
|
1154
|
-
|
|
1413
|
+
setMintSySigners(
|
|
1414
|
+
_signer1: string,
|
|
1415
|
+
_signer2: string,
|
|
1155
1416
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1156
1417
|
): Promise<PopulatedTransaction>;
|
|
1157
1418
|
|