@pendle/core-v2 6.4.1 → 6.4.2-swaphubtest2
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/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/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/Market/PendleMarketV6.sol/PendleMarketV6.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/FixedPricePTAMM.sol/FixedPricePTAMM.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.json +2 -2
- 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/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.json +981 -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 +952 -0
- 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/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/IPActionCrossChain.sol/IPActionCrossChain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.json +789 -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/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/Broadcaster.sol/Broadcaster.json +2 -2
- 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/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/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/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
- package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.json +2 -2
- package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.json +2 -2
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -2
- package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -2
- package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/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/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/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/core/libraries/TokenHelper.sol +5 -1
- package/contracts/cross-chain/deposit-box/DepositBox.sol +66 -0
- package/contracts/cross-chain/deposit-box/DepositBoxFactory.sol +44 -0
- package/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol +90 -0
- package/contracts/cross-chain/swap-hub/SwapHubBase.sol +197 -0
- package/contracts/interfaces/IPCrossChainSwapHub.sol +116 -0
- package/contracts/interfaces/IPDepositBox.sol +22 -0
- package/contracts/interfaces/IPDepositBoxFactory.sol +19 -0
- package/deployments/130-core.json +2 -1
- package/deployments/9745-core.json +3 -2
- package/deployments/999-core.json +5 -5
- package/package.json +2 -2
- package/typechain-types/DepositBox.ts +260 -0
- package/typechain-types/DepositBoxFactory.ts +226 -0
- package/typechain-types/IPCrossChainSwapHub.ts +691 -0
- package/typechain-types/IPDepositBox.ts +213 -0
- package/typechain-types/IPDepositBoxFactory.ts +226 -0
- package/typechain-types/PendleCrossChainSwapHub.ts +946 -0
- package/typechain-types/SwapHubBase.ts +921 -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/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/Broadcaster__factory.ts +1 -1
- 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/FixedPricePTAMM__factory.ts +1 -1
- package/typechain-types/factories/IPCrossChainSwapHub__factory.ts +804 -0
- package/typechain-types/factories/IPDepositBoxFactory__factory.ts +123 -0
- package/typechain-types/factories/IPDepositBox__factory.ts +136 -0
- package/typechain-types/factories/LimitBackendHelperV2__factory.ts +1 -1
- package/typechain-types/factories/MarketSweed__factory.ts +1 -1
- package/typechain-types/factories/PendleAPIFeeDepositor__factory.ts +1 -1
- package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +1 -1
- package/typechain-types/factories/PendleCrossChainSwapHub__factory.ts +1050 -0
- package/typechain-types/factories/PendleFeeDistributorV2__factory.ts +1 -1
- package/typechain-types/factories/PendleLPWrapperFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleLPWrapper__factory.ts +1 -1
- package/typechain-types/factories/PendleLimitRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketV6__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/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/Reflector__factory.ts +1 -1
- package/typechain-types/factories/SwapHubBase__factory.ts +964 -0
- package/typechain-types/hardhat.d.ts +72 -36
- package/typechain-types/index.ts +14 -8
- package/typechain-types/ActionDelegateBase.ts +0 -57
- package/typechain-types/BasePendleBridgedPrincipalToken.ts +0 -1689
- package/typechain-types/EIP712.ts +0 -135
- package/typechain-types/ERC20Permit.ts +0 -586
- package/typechain-types/IERC5267.ts +0 -135
- package/typechain-types/IPMarketFactoryV3.ts +0 -321
- package/typechain-types/IPMarketV3.ts +0 -1068
- package/typechain-types/LimitBackendHelper.ts +0 -287
- package/typechain-types/OverfillMathLib.ts +0 -81
- package/typechain-types/PendleBridgedPrincipalToken_18Decimals.ts +0 -1689
- package/typechain-types/PendleBridgedPrincipalToken_6Decimals.ts +0 -1689
- package/typechain-types/PendleBridgedPrincipalToken_8Decimals.ts +0 -1689
- package/typechain-types/PendleERC20Permit.ts +0 -508
- package/typechain-types/PendleERC20PermitUpg.ts +0 -517
- package/typechain-types/PendleERC20Upg.ts +0 -348
- package/typechain-types/PendleMarketFactoryV3.ts +0 -719
- package/typechain-types/PendleMarketV3.ts +0 -1195
- package/typechain-types/PendleYieldContractFactory.ts +0 -801
- package/typechain-types/ShortStrings.ts +0 -57
- package/typechain-types/factories/ActionDelegateBase__factory.ts +0 -80
- package/typechain-types/factories/BasePendleBridgedPrincipalToken__factory.ts +0 -1548
- package/typechain-types/factories/EIP712__factory.ts +0 -85
- package/typechain-types/factories/ERC20Permit__factory.ts +0 -433
- package/typechain-types/factories/IERC5267__factory.ts +0 -72
- package/typechain-types/factories/IPMarketFactoryV3__factory.ts +0 -217
- package/typechain-types/factories/IPMarketV3__factory.ts +0 -845
- package/typechain-types/factories/LimitBackendHelper__factory.ts +0 -232
- package/typechain-types/factories/OverfillMathLib__factory.ts +0 -77
- package/typechain-types/factories/PendleBridgedPrincipalToken_18Decimals__factory.ts +0 -1652
- package/typechain-types/factories/PendleBridgedPrincipalToken_6Decimals__factory.ts +0 -1650
- package/typechain-types/factories/PendleBridgedPrincipalToken_8Decimals__factory.ts +0 -1650
- package/typechain-types/factories/PendleERC20PermitUpg__factory.ts +0 -389
- package/typechain-types/factories/PendleERC20Permit__factory.ts +0 -470
- package/typechain-types/factories/PendleERC20Upg__factory.ts +0 -261
- package/typechain-types/factories/PendleMarketFactoryV3__factory.ts +0 -714
- package/typechain-types/factories/PendleMarketV3__factory.ts +0 -1211
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +0 -674
- package/typechain-types/factories/ShortStrings__factory.ts +0 -77
|
@@ -1,232 +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
|
-
LimitBackendHelper,
|
|
8
|
-
LimitBackendHelperInterface,
|
|
9
|
-
} from "../LimitBackendHelper";
|
|
10
|
-
|
|
11
|
-
const _abi = [
|
|
12
|
-
{
|
|
13
|
-
inputs: [
|
|
14
|
-
{
|
|
15
|
-
internalType: "address",
|
|
16
|
-
name: "_WNATIVE",
|
|
17
|
-
type: "address",
|
|
18
|
-
},
|
|
19
|
-
],
|
|
20
|
-
stateMutability: "nonpayable",
|
|
21
|
-
type: "constructor",
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
inputs: [
|
|
25
|
-
{
|
|
26
|
-
internalType: "bool",
|
|
27
|
-
name: "success",
|
|
28
|
-
type: "bool",
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
internalType: "bytes",
|
|
32
|
-
name: "res",
|
|
33
|
-
type: "bytes",
|
|
34
|
-
},
|
|
35
|
-
],
|
|
36
|
-
name: "SimulationResults",
|
|
37
|
-
type: "error",
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
inputs: [
|
|
41
|
-
{
|
|
42
|
-
internalType: "address",
|
|
43
|
-
name: "maker",
|
|
44
|
-
type: "address",
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
internalType: "address",
|
|
48
|
-
name: "SY",
|
|
49
|
-
type: "address",
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
internalType: "address",
|
|
53
|
-
name: "token",
|
|
54
|
-
type: "address",
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
internalType: "uint256",
|
|
58
|
-
name: "makingAmount",
|
|
59
|
-
type: "uint256",
|
|
60
|
-
},
|
|
61
|
-
],
|
|
62
|
-
name: "mintSyFromTokenRevert",
|
|
63
|
-
outputs: [
|
|
64
|
-
{
|
|
65
|
-
internalType: "uint256",
|
|
66
|
-
name: "",
|
|
67
|
-
type: "uint256",
|
|
68
|
-
},
|
|
69
|
-
],
|
|
70
|
-
stateMutability: "nonpayable",
|
|
71
|
-
type: "function",
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
inputs: [
|
|
75
|
-
{
|
|
76
|
-
internalType: "address",
|
|
77
|
-
name: "YT",
|
|
78
|
-
type: "address",
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
internalType: "address[]",
|
|
82
|
-
name: "makers",
|
|
83
|
-
type: "address[]",
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
internalType: "address[]",
|
|
87
|
-
name: "tokens",
|
|
88
|
-
type: "address[]",
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
internalType: "uint256[]",
|
|
92
|
-
name: "amounts",
|
|
93
|
-
type: "uint256[]",
|
|
94
|
-
},
|
|
95
|
-
],
|
|
96
|
-
name: "mintSyFromTokens",
|
|
97
|
-
outputs: [
|
|
98
|
-
{
|
|
99
|
-
internalType: "uint256[]",
|
|
100
|
-
name: "minted",
|
|
101
|
-
type: "uint256[]",
|
|
102
|
-
},
|
|
103
|
-
],
|
|
104
|
-
stateMutability: "nonpayable",
|
|
105
|
-
type: "function",
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
inputs: [
|
|
109
|
-
{
|
|
110
|
-
internalType: "address[]",
|
|
111
|
-
name: "tokens",
|
|
112
|
-
type: "address[]",
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
internalType: "address[]",
|
|
116
|
-
name: "owners",
|
|
117
|
-
type: "address[]",
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
internalType: "address",
|
|
121
|
-
name: "spender",
|
|
122
|
-
type: "address",
|
|
123
|
-
},
|
|
124
|
-
],
|
|
125
|
-
name: "readMultiTokens",
|
|
126
|
-
outputs: [
|
|
127
|
-
{
|
|
128
|
-
internalType: "uint256[]",
|
|
129
|
-
name: "balances",
|
|
130
|
-
type: "uint256[]",
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
internalType: "uint256[]",
|
|
134
|
-
name: "allowances",
|
|
135
|
-
type: "uint256[]",
|
|
136
|
-
},
|
|
137
|
-
],
|
|
138
|
-
stateMutability: "view",
|
|
139
|
-
type: "function",
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
inputs: [
|
|
143
|
-
{
|
|
144
|
-
internalType: "address",
|
|
145
|
-
name: "token",
|
|
146
|
-
type: "address",
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
internalType: "address[]",
|
|
150
|
-
name: "owners",
|
|
151
|
-
type: "address[]",
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
internalType: "address",
|
|
155
|
-
name: "spender",
|
|
156
|
-
type: "address",
|
|
157
|
-
},
|
|
158
|
-
],
|
|
159
|
-
name: "readSingleToken",
|
|
160
|
-
outputs: [
|
|
161
|
-
{
|
|
162
|
-
internalType: "uint256[]",
|
|
163
|
-
name: "balances",
|
|
164
|
-
type: "uint256[]",
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
internalType: "uint256[]",
|
|
168
|
-
name: "allowances",
|
|
169
|
-
type: "uint256[]",
|
|
170
|
-
},
|
|
171
|
-
],
|
|
172
|
-
stateMutability: "view",
|
|
173
|
-
type: "function",
|
|
174
|
-
},
|
|
175
|
-
];
|
|
176
|
-
|
|
177
|
-
const _bytecode =
|
|
178
|
-
"0x60c060405234801561000f575f5ffd5b5060405161174138038061174183398101604081905261002e91610043565b6001600160a01b03166080523060a052610070565b5f60208284031215610053575f5ffd5b81516001600160a01b0381168114610069575f5ffd5b9392505050565b60805160a0516116a361009e5f395f61081601525f818160d60152818161013401526101a701526116a35ff3fe608060405234801561000f575f5ffd5b506004361061004a575f3560e01c8063083c1fce1461004e578063152c3db7146100745780632d36a6d314610095578063cd62578b146100a8575b5f5ffd5b61006161005c3660046110e9565b6100c8565b6040519081526020015b60405180910390f35b61008761008236600461117e565b6102bf565b60405161006b929190611239565b6100876100a3366004611266565b610553565b6100bb6100b63660046112c9565b610759565b60405161006b9190611377565b5f6100d4838684610987565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031614801561019d5750604051637d2d278360e11b81526001600160a01b0385169063fa5a4f069061015c907f000000000000000000000000000000000000000000000000000000000000000090600401611390565b602060405180830381865afa158015610177573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061019b91906113b8565b155b156101d1576101cd7f00000000000000000000000000000000000000000000000000000000000000005f846109f3565b5f92505b6101db8385610ab0565b5f6001600160a01b03808616906320e8c565908616156101fb575f6101fd565b845b6040516001600160e01b031960e084901b1681523060048201526001600160a01b0388166024820152604481018790525f606482015260840160206040518083038185885af1158015610252573d5f5f3e3d5ffd5b50505050506040513d601f19601f8201168201806040525081019061027791906113d1565b905060018160405160200161028e91815260200190565b60408051601f198184030181529082905263032695f960e31b82526102b69291600401611435565b60405180910390fd5b6060808584146103035760405162461bcd60e51b815260206004820152600f60248201526e098cadccee8d040dad2e6dac2e8c6d608b1b60448201526064016102b6565b836001600160401b0381111561031b5761031b61144f565b604051908082528060200260200182016040528015610344578160200160208202803683370190505b509150836001600160401b0381111561035f5761035f61144f565b604051908082528060200260200182016040528015610388578160200160208202803683370190505b5090505f5b84811015610548578787828181106103a7576103a7611463565b90506020020160208101906103bc9190611477565b6001600160a01b03166370a082318787848181106103dc576103dc611463565b90506020020160208101906103f19190611477565b6040518263ffffffff1660e01b815260040161040d9190611390565b602060405180830381865afa158015610428573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061044c91906113d1565b83828151811061045e5761045e611463565b60200260200101818152505087878281811061047c5761047c611463565b90506020020160208101906104919190611477565b6001600160a01b031663dd62ed3e8787848181106104b1576104b1611463565b90506020020160208101906104c69190611477565b866040518363ffffffff1660e01b81526004016104e4929190611492565b602060405180830381865afa1580156104ff573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061052391906113d1565b82828151811061053557610535611463565b602090810291909101015260010161038d565b509550959350505050565b606080836001600160401b0381111561056e5761056e61144f565b604051908082528060200260200182016040528015610597578160200160208202803683370190505b509150836001600160401b038111156105b2576105b261144f565b6040519080825280602002602001820160405280156105db578160200160208202803683370190505b5090505f5b8481101561074f57866001600160a01b03166370a0823187878481811061060957610609611463565b905060200201602081019061061e9190611477565b6040518263ffffffff1660e01b815260040161063a9190611390565b602060405180830381865afa158015610655573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061067991906113d1565b83828151811061068b5761068b611463565b602002602001018181525050866001600160a01b031663dd62ed3e8787848181106106b8576106b8611463565b90506020020160208101906106cd9190611477565b866040518363ffffffff1660e01b81526004016106eb929190611492565b602060405180830381865afa158015610706573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061072a91906113d1565b82828151811061073c5761073c611463565b60209081029190910101526001016105e0565b5094509492505050565b60605f8787905090505f896001600160a01b031663afd27bf56040518163ffffffff1660e01b8152600401602060405180830381865afa15801561079f573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107c391906114ac565b9050816001600160401b038111156107dd576107dd61144f565b604051908082528060200260200182016040528015610806578160200160208202803683370190505b5092505f5b82811015610979575f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168b8b8481811061085057610850611463565b90506020020160208101906108659190611477565b848b8b8681811061087857610878611463565b905060200201602081019061088d9190611477565b8a8a8781811061089f5761089f611463565b6040516001600160a01b039687166024820152948616604486015292909416606484015260209091020135608482015260a401905060408051601f198184030181529181526020820180516001600160e01b031663041e0fe760e11b1790525161090991906114c7565b5f60405180830381855af49150503d805f8114610941576040519150601f19603f3d011682016040523d82523d5f602084013e610946565b606091505b5091505061095381610b6b565b85838151811061096557610965611463565b60209081029190910101525060010161080b565b505050979650505050505050565b6001600160a01b0383166109d8578034146109d35760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b60448201526064016102b6565b505050565b80156109d3576109d36001600160a01b038416833084610c04565b6001600160a01b038316610a5657816001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004015f604051808303818588803b158015610a3a575f5ffd5b505af1158015610a4c573d5f5f3e3d5ffd5b5050505050505050565b604051632e1a7d4d60e01b8152600481018290526001600160a01b03841690632e1a7d4d906024015f604051808303815f87803b158015610a95575f5ffd5b505af1158015610aa7573d5f5f3e3d5ffd5b50505050505050565b6001600160a01b038216610ac2575050565b610ad460026001600160601b036114f6565b6001600160601b0316826001600160a01b031663dd62ed3e30846040518363ffffffff1660e01b8152600401610b0b929190611492565b602060405180830381865afa158015610b26573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b4a91906113d1565b1015610b6757610b5b82825f610c64565b610b6782825f19610c64565b5050565b5f600482511015610b7e57505f19919050565b5f610b8b835f6004610d69565b610b9490611530565b9050631cd96a0760e31b6001600160e01b0319821601610bf9575f610bc7846004808751610bc2919061156e565b610d69565b806020019051810190610bda9190611587565b91505080806020019051810190610bf191906113d1565b925050610bfe565b5f1991505b50919050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610c5e908590610e75565b50505050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663095ea7b360e01b17905291515f92839290871691610cbf91906114c7565b5f604051808303815f865af19150503d805f8114610cf8576040519150601f19603f3d011682016040523d82523d5f602084013e610cfd565b606091505b5091509150818015610d27575080511580610d27575080806020019051810190610d2791906113b8565b610d625760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b60448201526064016102b6565b5050505050565b606081610d7781601f611648565b1015610db65760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b60448201526064016102b6565b610dc08284611648565b84511015610e045760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b60448201526064016102b6565b606082158015610e225760405191505f825260208201604052610e6c565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015610e5b578051835260209283019201610e43565b5050858452601f01601f1916604052505b50949350505050565b5f610ec9826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610f489092919063ffffffff16565b905080515f1480610ee9575080806020019051810190610ee991906113b8565b6109d35760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016102b6565b6060610f5684845f85610f5e565b949350505050565b606082471015610fbf5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016102b6565b5f5f866001600160a01b03168587604051610fda91906114c7565b5f6040518083038185875af1925050503d805f8114611014576040519150601f19603f3d011682016040523d82523d5f602084013e611019565b606091505b509150915061102a87838387611035565b979650505050505050565b606083156110a35782515f0361109c576001600160a01b0385163b61109c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016102b6565b5081610f56565b610f5683838151156110b85781518083602001fd5b8060405162461bcd60e51b81526004016102b6919061165b565b6001600160a01b03811681146110e6575f5ffd5b50565b5f5f5f5f608085870312156110fc575f5ffd5b8435611107816110d2565b93506020850135611117816110d2565b92506040850135611127816110d2565b9396929550929360600135925050565b5f5f83601f840112611147575f5ffd5b5081356001600160401b0381111561115d575f5ffd5b6020830191508360208260051b8501011115611177575f5ffd5b9250929050565b5f5f5f5f5f60608688031215611192575f5ffd5b85356001600160401b038111156111a7575f5ffd5b6111b388828901611137565b90965094505060208601356001600160401b038111156111d1575f5ffd5b6111dd88828901611137565b90945092505060408601356111f1816110d2565b809150509295509295909350565b5f8151808452602084019350602083015f5b8281101561122f578151865260209586019590910190600101611211565b5093949350505050565b604081525f61124b60408301856111ff565b828103602084015261125d81856111ff565b95945050505050565b5f5f5f5f60608587031215611279575f5ffd5b8435611284816110d2565b935060208501356001600160401b0381111561129e575f5ffd5b6112aa87828801611137565b90945092505060408501356112be816110d2565b939692955090935050565b5f5f5f5f5f5f5f6080888a0312156112df575f5ffd5b87356112ea816110d2565b965060208801356001600160401b03811115611304575f5ffd5b6113108a828b01611137565b90975095505060408801356001600160401b0381111561132e575f5ffd5b61133a8a828b01611137565b90955093505060608801356001600160401b03811115611358575f5ffd5b6113648a828b01611137565b989b979a50959850939692959293505050565b602081525f61138960208301846111ff565b9392505050565b6001600160a01b0391909116815260200190565b805180151581146113b3575f5ffd5b919050565b5f602082840312156113c8575f5ffd5b611389826113a4565b5f602082840312156113e1575f5ffd5b5051919050565b5f5b838110156114025781810151838201526020016113ea565b50505f910152565b5f81518084526114218160208601602086016113e8565b601f01601f19169290920160200192915050565b8215158152604060208201525f610f56604083018461140a565b634e487b7160e01b5f52604160045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611487575f5ffd5b8135611389816110d2565b6001600160a01b0392831681529116602082015260400190565b5f602082840312156114bc575f5ffd5b8151611389816110d2565b5f82516114d88184602087016113e8565b9190910192915050565b634e487b7160e01b5f52601160045260245ffd5b5f6001600160601b0383168061151a57634e487b7160e01b5f52601260045260245ffd5b6001600160601b03929092169190910492915050565b805160208201516001600160e01b0319811691906004821015611567576001600160e01b0319600483900360031b81901b82161692505b5050919050565b81810381811115611581576115816114e2565b92915050565b5f5f60408385031215611598575f5ffd5b6115a1836113a4565b60208401519092506001600160401b038111156115bc575f5ffd5b8301601f810185136115cc575f5ffd5b80516001600160401b038111156115e5576115e561144f565b604051601f8201601f19908116603f011681016001600160401b03811182821017156116135761161361144f565b60405281815282820160200187101561162a575f5ffd5b61163b8260208301602086016113e8565b8093505050509250929050565b80820180821115611581576115816114e2565b602081525f611389602083018461140a56fea264697066735822122089eb6881f9dd644ef91075f6c7ebc66970cc50fa3654d12c85145aeaa44f7ffc64736f6c634300081e0033";
|
|
179
|
-
|
|
180
|
-
type LimitBackendHelperConstructorParams =
|
|
181
|
-
| [signer?: Signer]
|
|
182
|
-
| ConstructorParameters<typeof ContractFactory>;
|
|
183
|
-
|
|
184
|
-
const isSuperArgs = (
|
|
185
|
-
xs: LimitBackendHelperConstructorParams
|
|
186
|
-
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
187
|
-
|
|
188
|
-
export class LimitBackendHelper__factory extends ContractFactory {
|
|
189
|
-
constructor(...args: LimitBackendHelperConstructorParams) {
|
|
190
|
-
if (isSuperArgs(args)) {
|
|
191
|
-
super(...args);
|
|
192
|
-
} else {
|
|
193
|
-
super(_abi, _bytecode, args[0]);
|
|
194
|
-
}
|
|
195
|
-
this.contractName = "LimitBackendHelper";
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
deploy(
|
|
199
|
-
_WNATIVE: string,
|
|
200
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
201
|
-
): Promise<LimitBackendHelper> {
|
|
202
|
-
return super.deploy(
|
|
203
|
-
_WNATIVE,
|
|
204
|
-
overrides || {}
|
|
205
|
-
) as Promise<LimitBackendHelper>;
|
|
206
|
-
}
|
|
207
|
-
getDeployTransaction(
|
|
208
|
-
_WNATIVE: string,
|
|
209
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
210
|
-
): TransactionRequest {
|
|
211
|
-
return super.getDeployTransaction(_WNATIVE, overrides || {});
|
|
212
|
-
}
|
|
213
|
-
attach(address: string): LimitBackendHelper {
|
|
214
|
-
return super.attach(address) as LimitBackendHelper;
|
|
215
|
-
}
|
|
216
|
-
connect(signer: Signer): LimitBackendHelper__factory {
|
|
217
|
-
return super.connect(signer) as LimitBackendHelper__factory;
|
|
218
|
-
}
|
|
219
|
-
static readonly contractName: "LimitBackendHelper";
|
|
220
|
-
public readonly contractName: "LimitBackendHelper";
|
|
221
|
-
static readonly bytecode = _bytecode;
|
|
222
|
-
static readonly abi = _abi;
|
|
223
|
-
static createInterface(): LimitBackendHelperInterface {
|
|
224
|
-
return new utils.Interface(_abi) as LimitBackendHelperInterface;
|
|
225
|
-
}
|
|
226
|
-
static connect(
|
|
227
|
-
address: string,
|
|
228
|
-
signerOrProvider: Signer | Provider
|
|
229
|
-
): LimitBackendHelper {
|
|
230
|
-
return new Contract(address, _abi, signerOrProvider) as LimitBackendHelper;
|
|
231
|
-
}
|
|
232
|
-
}
|
|
@@ -1,77 +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
|
-
OverfillMathLib,
|
|
8
|
-
OverfillMathLibInterface,
|
|
9
|
-
} from "../OverfillMathLib";
|
|
10
|
-
|
|
11
|
-
const _abi = [
|
|
12
|
-
{
|
|
13
|
-
inputs: [],
|
|
14
|
-
name: "INF",
|
|
15
|
-
outputs: [
|
|
16
|
-
{
|
|
17
|
-
internalType: "uint256",
|
|
18
|
-
name: "",
|
|
19
|
-
type: "uint256",
|
|
20
|
-
},
|
|
21
|
-
],
|
|
22
|
-
stateMutability: "view",
|
|
23
|
-
type: "function",
|
|
24
|
-
},
|
|
25
|
-
];
|
|
26
|
-
|
|
27
|
-
const _bytecode =
|
|
28
|
-
"0x60856032600b8282823980515f1a607314602657634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106032575f3560e01c80639d2a679f146036575b5f5ffd5b603d5f1981565b60405190815260200160405180910390f3fea264697066735822122015dc380ea8178cef80ae7ac20179089b693f406d3685a9c04ee5873077f83a2964736f6c634300081e0033";
|
|
29
|
-
|
|
30
|
-
type OverfillMathLibConstructorParams =
|
|
31
|
-
| [signer?: Signer]
|
|
32
|
-
| ConstructorParameters<typeof ContractFactory>;
|
|
33
|
-
|
|
34
|
-
const isSuperArgs = (
|
|
35
|
-
xs: OverfillMathLibConstructorParams
|
|
36
|
-
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
37
|
-
|
|
38
|
-
export class OverfillMathLib__factory extends ContractFactory {
|
|
39
|
-
constructor(...args: OverfillMathLibConstructorParams) {
|
|
40
|
-
if (isSuperArgs(args)) {
|
|
41
|
-
super(...args);
|
|
42
|
-
} else {
|
|
43
|
-
super(_abi, _bytecode, args[0]);
|
|
44
|
-
}
|
|
45
|
-
this.contractName = "OverfillMathLib";
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
deploy(
|
|
49
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
50
|
-
): Promise<OverfillMathLib> {
|
|
51
|
-
return super.deploy(overrides || {}) as Promise<OverfillMathLib>;
|
|
52
|
-
}
|
|
53
|
-
getDeployTransaction(
|
|
54
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
55
|
-
): TransactionRequest {
|
|
56
|
-
return super.getDeployTransaction(overrides || {});
|
|
57
|
-
}
|
|
58
|
-
attach(address: string): OverfillMathLib {
|
|
59
|
-
return super.attach(address) as OverfillMathLib;
|
|
60
|
-
}
|
|
61
|
-
connect(signer: Signer): OverfillMathLib__factory {
|
|
62
|
-
return super.connect(signer) as OverfillMathLib__factory;
|
|
63
|
-
}
|
|
64
|
-
static readonly contractName: "OverfillMathLib";
|
|
65
|
-
public readonly contractName: "OverfillMathLib";
|
|
66
|
-
static readonly bytecode = _bytecode;
|
|
67
|
-
static readonly abi = _abi;
|
|
68
|
-
static createInterface(): OverfillMathLibInterface {
|
|
69
|
-
return new utils.Interface(_abi) as OverfillMathLibInterface;
|
|
70
|
-
}
|
|
71
|
-
static connect(
|
|
72
|
-
address: string,
|
|
73
|
-
signerOrProvider: Signer | Provider
|
|
74
|
-
): OverfillMathLib {
|
|
75
|
-
return new Contract(address, _abi, signerOrProvider) as OverfillMathLib;
|
|
76
|
-
}
|
|
77
|
-
}
|