@pendle/core-v2 6.3.2-swaphubtest2 → 6.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactoryV6Upg.sol/PendleMarketFactoryV6Upg.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketV6.sol/PendleMarketV6.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILPWrapper.sol/ILPWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/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/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/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleAPIFeeDepositor.sol/PendleAPIFeeDepositor.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/PendleAPIFeeDepositor.sol/PendleAPIFeeDepositor.json +102 -0
- package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.json +102 -0
- 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/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/StatelessWrapper/PendleLinearDiscountOracleWrapper.sol/PendleLinearDiscountOracleWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/LPExpiry.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
- package/build/artifacts/contracts/router/RouterStorage.sol/RouterStorage.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
- package/contracts/offchain-helpers/PendleAPIFeeDepositor.sol +33 -0
- package/contracts/offchain-helpers/PendleMerkleDepositor.sol +64 -0
- package/deployments/1-core.json +2 -1
- package/deployments/10-core.json +2 -1
- package/deployments/146-core.json +2 -1
- package/deployments/42161-core.json +2 -1
- package/deployments/42161-offchain-helper.json +2 -1
- package/deployments/5000-core.json +2 -1
- package/deployments/56-core.json +2 -1
- package/deployments/80094-core.json +2 -1
- package/deployments/8453-core.json +2 -1
- package/deployments/9745-core.json +2 -1
- package/deployments/999-core.json +2 -1
- package/package.json +2 -2
- package/typechain-types/ActionCrossChain.ts +161 -0
- package/typechain-types/ActionDelegateBase.ts +57 -0
- package/typechain-types/BasePendleBridgedPrincipalToken.ts +1689 -0
- package/typechain-types/EIP712.ts +135 -0
- package/typechain-types/ERC20Permit.ts +586 -0
- package/typechain-types/IERC5267.ts +135 -0
- package/typechain-types/IPActionCrossChain.ts +161 -0
- package/typechain-types/IPMarketFactoryV3.ts +321 -0
- package/typechain-types/IPMarketV3.ts +1068 -0
- package/typechain-types/LimitBackendHelper.ts +287 -0
- package/typechain-types/OverfillMathLib.ts +81 -0
- package/typechain-types/PendleAPIFeeDepositor.ts +181 -0
- package/typechain-types/PendleBridgedPrincipalToken_18Decimals.ts +1689 -0
- package/typechain-types/PendleBridgedPrincipalToken_6Decimals.ts +1689 -0
- package/typechain-types/PendleBridgedPrincipalToken_8Decimals.ts +1689 -0
- package/typechain-types/PendleERC20Permit.ts +508 -0
- package/typechain-types/PendleERC20PermitUpg.ts +517 -0
- package/typechain-types/PendleERC20Upg.ts +348 -0
- package/typechain-types/PendleMarketFactoryV3.ts +719 -0
- package/typechain-types/PendleMarketV3.ts +1195 -0
- package/typechain-types/PendleMerkleDepositor.ts +171 -0
- package/typechain-types/PendleYieldContractFactory.ts +801 -0
- package/typechain-types/ShortStrings.ts +57 -0
- package/typechain-types/factories/ActionCrossChain__factory.ts +152 -0
- package/typechain-types/factories/ActionDelegateBase__factory.ts +80 -0
- package/typechain-types/factories/BasePendleBridgedPrincipalToken__factory.ts +1548 -0
- package/typechain-types/factories/EIP712__factory.ts +85 -0
- package/typechain-types/factories/ERC20Permit__factory.ts +433 -0
- package/typechain-types/factories/IERC5267__factory.ts +72 -0
- package/typechain-types/factories/IPActionCrossChain__factory.ts +114 -0
- package/typechain-types/factories/IPMarketFactoryV3__factory.ts +217 -0
- package/typechain-types/factories/IPMarketV3__factory.ts +845 -0
- package/typechain-types/factories/LimitBackendHelper__factory.ts +232 -0
- package/typechain-types/factories/OverfillMathLib__factory.ts +77 -0
- package/typechain-types/factories/PendleAPIFeeDepositor__factory.ts +164 -0
- package/typechain-types/factories/PendleBridgedPrincipalToken_18Decimals__factory.ts +1652 -0
- package/typechain-types/factories/PendleBridgedPrincipalToken_6Decimals__factory.ts +1650 -0
- package/typechain-types/factories/PendleBridgedPrincipalToken_8Decimals__factory.ts +1650 -0
- package/typechain-types/factories/PendleERC20PermitUpg__factory.ts +389 -0
- package/typechain-types/factories/PendleERC20Permit__factory.ts +470 -0
- package/typechain-types/factories/PendleERC20Upg__factory.ts +261 -0
- package/typechain-types/factories/PendleMarketFactoryV3__factory.ts +714 -0
- package/typechain-types/factories/PendleMarketV3__factory.ts +1211 -0
- package/typechain-types/factories/PendleMerkleDepositor__factory.ts +164 -0
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +674 -0
- package/typechain-types/factories/ShortStrings__factory.ts +77 -0
- package/typechain-types/hardhat.d.ts +54 -72
- package/typechain-types/index.ts +12 -14
- package/build/artifacts/contracts/cross-chain/swap-hub/DepositBox.sol/DepositBox.dbg.json +0 -4
- package/build/artifacts/contracts/cross-chain/swap-hub/DepositBox.sol/DepositBox.json +0 -201
- package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.dbg.json +0 -4
- package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.json +0 -1519
- package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.dbg.json +0 -4
- package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.json +0 -1490
- package/build/artifacts/contracts/cross-chain/swap-hub/swap/IPSwapExecutor.sol/IPSwapExecutor.dbg.json +0 -4
- package/build/artifacts/contracts/cross-chain/swap-hub/swap/IPSwapExecutor.sol/IPSwapExecutor.json +0 -56
- package/build/artifacts/contracts/cross-chain/swap-hub/swap/SwapExecutor.sol/SwapExecutor.dbg.json +0 -4
- package/build/artifacts/contracts/cross-chain/swap-hub/swap/SwapExecutor.sol/SwapExecutor.json +0 -60
- package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.json +0 -1353
- package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.json +0 -150
- package/contracts/cross-chain/swap-hub/DepositBox.sol +0 -72
- package/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol +0 -206
- package/contracts/cross-chain/swap-hub/SwapHubBase.sol +0 -273
- package/contracts/cross-chain/swap-hub/swap/IPSwapExecutor.sol +0 -14
- package/contracts/cross-chain/swap-hub/swap/SwapExecutor.sol +0 -33
- package/contracts/interfaces/IPCrossChainSwapHub.sol +0 -168
- package/contracts/interfaces/IPDepositBox.sol +0 -25
- package/typechain-types/DepositBox.ts +0 -304
- package/typechain-types/IPCrossChainSwapHub.ts +0 -1043
- package/typechain-types/IPDepositBox.ts +0 -257
- package/typechain-types/IPSwapExecutor.ts +0 -129
- package/typechain-types/PendleCrossChainSwapHub.ts +0 -1267
- package/typechain-types/SwapExecutor.ts +0 -129
- package/typechain-types/SwapHubBase.ts +0 -1242
- package/typechain-types/factories/DepositBox__factory.ts +0 -259
- package/typechain-types/factories/IPCrossChainSwapHub__factory.ts +0 -1368
- package/typechain-types/factories/IPDepositBox__factory.ts +0 -162
- package/typechain-types/factories/IPSwapExecutor__factory.ts +0 -71
- package/typechain-types/factories/PendleCrossChainSwapHub__factory.ts +0 -1588
- package/typechain-types/factories/SwapExecutor__factory.ts +0 -110
- package/typechain-types/factories/SwapHubBase__factory.ts +0 -1502
|
@@ -0,0 +1,77 @@
|
|
|
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 { ShortStrings, ShortStringsInterface } from "../ShortStrings";
|
|
7
|
+
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
inputs: [],
|
|
11
|
+
name: "InvalidShortString",
|
|
12
|
+
type: "error",
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
inputs: [
|
|
16
|
+
{
|
|
17
|
+
internalType: "string",
|
|
18
|
+
name: "str",
|
|
19
|
+
type: "string",
|
|
20
|
+
},
|
|
21
|
+
],
|
|
22
|
+
name: "StringTooLong",
|
|
23
|
+
type: "error",
|
|
24
|
+
},
|
|
25
|
+
];
|
|
26
|
+
|
|
27
|
+
const _bytecode =
|
|
28
|
+
"0x60556032600b8282823980515f1a607314602657634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040525f5ffdfea264697066735822122053cf32faa84bea22425911371a5f4b3606422bd6c9bc1e72544a3762b234436664736f6c634300081e0033";
|
|
29
|
+
|
|
30
|
+
type ShortStringsConstructorParams =
|
|
31
|
+
| [signer?: Signer]
|
|
32
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
33
|
+
|
|
34
|
+
const isSuperArgs = (
|
|
35
|
+
xs: ShortStringsConstructorParams
|
|
36
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
37
|
+
|
|
38
|
+
export class ShortStrings__factory extends ContractFactory {
|
|
39
|
+
constructor(...args: ShortStringsConstructorParams) {
|
|
40
|
+
if (isSuperArgs(args)) {
|
|
41
|
+
super(...args);
|
|
42
|
+
} else {
|
|
43
|
+
super(_abi, _bytecode, args[0]);
|
|
44
|
+
}
|
|
45
|
+
this.contractName = "ShortStrings";
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
deploy(
|
|
49
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
50
|
+
): Promise<ShortStrings> {
|
|
51
|
+
return super.deploy(overrides || {}) as Promise<ShortStrings>;
|
|
52
|
+
}
|
|
53
|
+
getDeployTransaction(
|
|
54
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
55
|
+
): TransactionRequest {
|
|
56
|
+
return super.getDeployTransaction(overrides || {});
|
|
57
|
+
}
|
|
58
|
+
attach(address: string): ShortStrings {
|
|
59
|
+
return super.attach(address) as ShortStrings;
|
|
60
|
+
}
|
|
61
|
+
connect(signer: Signer): ShortStrings__factory {
|
|
62
|
+
return super.connect(signer) as ShortStrings__factory;
|
|
63
|
+
}
|
|
64
|
+
static readonly contractName: "ShortStrings";
|
|
65
|
+
public readonly contractName: "ShortStrings";
|
|
66
|
+
static readonly bytecode = _bytecode;
|
|
67
|
+
static readonly abi = _abi;
|
|
68
|
+
static createInterface(): ShortStringsInterface {
|
|
69
|
+
return new utils.Interface(_abi) as ShortStringsInterface;
|
|
70
|
+
}
|
|
71
|
+
static connect(
|
|
72
|
+
address: string,
|
|
73
|
+
signerOrProvider: Signer | Provider
|
|
74
|
+
): ShortStrings {
|
|
75
|
+
return new Contract(address, _abi, signerOrProvider) as ShortStrings;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
@@ -220,6 +220,10 @@ declare module "hardhat/types/runtime" {
|
|
|
220
220
|
name: "IERC1967",
|
|
221
221
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
222
222
|
): Promise<Contracts.IERC1967__factory>;
|
|
223
|
+
getContractFactory(
|
|
224
|
+
name: "IERC5267",
|
|
225
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
226
|
+
): Promise<Contracts.IERC5267__factory>;
|
|
223
227
|
getContractFactory(
|
|
224
228
|
name: "IBeacon",
|
|
225
229
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -244,10 +248,6 @@ declare module "hardhat/types/runtime" {
|
|
|
244
248
|
name: "TransparentUpgradeableProxy",
|
|
245
249
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
246
250
|
): Promise<Contracts.TransparentUpgradeableProxy__factory>;
|
|
247
|
-
getContractFactory(
|
|
248
|
-
name: "Initializable",
|
|
249
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
250
|
-
): Promise<Contracts.Initializable__factory>;
|
|
251
251
|
getContractFactory(
|
|
252
252
|
name: "UUPSUpgradeable",
|
|
253
253
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -256,6 +256,10 @@ declare module "hardhat/types/runtime" {
|
|
|
256
256
|
name: "ERC20",
|
|
257
257
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
258
258
|
): Promise<Contracts.ERC20__factory>;
|
|
259
|
+
getContractFactory(
|
|
260
|
+
name: "ERC20Permit",
|
|
261
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
262
|
+
): Promise<Contracts.ERC20Permit__factory>;
|
|
259
263
|
getContractFactory(
|
|
260
264
|
name: "IERC20Metadata",
|
|
261
265
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -268,10 +272,18 @@ declare module "hardhat/types/runtime" {
|
|
|
268
272
|
name: "IERC20",
|
|
269
273
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
270
274
|
): Promise<Contracts.IERC20__factory>;
|
|
275
|
+
getContractFactory(
|
|
276
|
+
name: "EIP712",
|
|
277
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
278
|
+
): Promise<Contracts.EIP712__factory>;
|
|
271
279
|
getContractFactory(
|
|
272
280
|
name: "IERC165",
|
|
273
281
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
274
282
|
): Promise<Contracts.IERC165__factory>;
|
|
283
|
+
getContractFactory(
|
|
284
|
+
name: "ShortStrings",
|
|
285
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
286
|
+
): Promise<Contracts.ShortStrings__factory>;
|
|
275
287
|
getContractFactory(
|
|
276
288
|
name: "PendleERC20",
|
|
277
289
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -344,26 +356,6 @@ declare module "hardhat/types/runtime" {
|
|
|
344
356
|
name: "PendleBridgedPrincipalToken",
|
|
345
357
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
346
358
|
): Promise<Contracts.PendleBridgedPrincipalToken__factory>;
|
|
347
|
-
getContractFactory(
|
|
348
|
-
name: "DepositBox",
|
|
349
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
350
|
-
): Promise<Contracts.DepositBox__factory>;
|
|
351
|
-
getContractFactory(
|
|
352
|
-
name: "PendleCrossChainSwapHub",
|
|
353
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
354
|
-
): Promise<Contracts.PendleCrossChainSwapHub__factory>;
|
|
355
|
-
getContractFactory(
|
|
356
|
-
name: "IPSwapExecutor",
|
|
357
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
358
|
-
): Promise<Contracts.IPSwapExecutor__factory>;
|
|
359
|
-
getContractFactory(
|
|
360
|
-
name: "SwapExecutor",
|
|
361
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
362
|
-
): Promise<Contracts.SwapExecutor__factory>;
|
|
363
|
-
getContractFactory(
|
|
364
|
-
name: "SwapHubBase",
|
|
365
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
366
|
-
): Promise<Contracts.SwapHubBase__factory>;
|
|
367
359
|
getContractFactory(
|
|
368
360
|
name: "PendleFeeDistributor",
|
|
369
361
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -504,14 +496,6 @@ declare module "hardhat/types/runtime" {
|
|
|
504
496
|
name: "IPCommonSYFactory",
|
|
505
497
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
506
498
|
): Promise<Contracts.IPCommonSYFactory__factory>;
|
|
507
|
-
getContractFactory(
|
|
508
|
-
name: "IPCrossChainSwapHub",
|
|
509
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
510
|
-
): Promise<Contracts.IPCrossChainSwapHub__factory>;
|
|
511
|
-
getContractFactory(
|
|
512
|
-
name: "IPDepositBox",
|
|
513
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
514
|
-
): Promise<Contracts.IPDepositBox__factory>;
|
|
515
499
|
getContractFactory(
|
|
516
500
|
name: "IPExchangeRateOracle",
|
|
517
501
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -840,6 +824,10 @@ declare module "hardhat/types/runtime" {
|
|
|
840
824
|
name: "Multicall2",
|
|
841
825
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
842
826
|
): Promise<Contracts.Multicall2__factory>;
|
|
827
|
+
getContractFactory(
|
|
828
|
+
name: "PendleAPIFeeDepositor",
|
|
829
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
830
|
+
): Promise<Contracts.PendleAPIFeeDepositor__factory>;
|
|
843
831
|
getContractFactory(
|
|
844
832
|
name: "PendleExchangeRateOracle",
|
|
845
833
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -860,6 +848,10 @@ declare module "hardhat/types/runtime" {
|
|
|
860
848
|
name: "PendleLPWrapperFactory",
|
|
861
849
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
862
850
|
): Promise<Contracts.PendleLPWrapperFactory__factory>;
|
|
851
|
+
getContractFactory(
|
|
852
|
+
name: "PendleMerkleDepositor",
|
|
853
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
854
|
+
): Promise<Contracts.PendleMerkleDepositor__factory>;
|
|
863
855
|
getContractFactory(
|
|
864
856
|
name: "PendleMulticallOwnerV1",
|
|
865
857
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -1329,6 +1321,11 @@ declare module "hardhat/types/runtime" {
|
|
|
1329
1321
|
address: string,
|
|
1330
1322
|
signer?: ethers.Signer
|
|
1331
1323
|
): Promise<Contracts.IERC1967>;
|
|
1324
|
+
getContractAt(
|
|
1325
|
+
name: "IERC5267",
|
|
1326
|
+
address: string,
|
|
1327
|
+
signer?: ethers.Signer
|
|
1328
|
+
): Promise<Contracts.IERC5267>;
|
|
1332
1329
|
getContractAt(
|
|
1333
1330
|
name: "IBeacon",
|
|
1334
1331
|
address: string,
|
|
@@ -1359,11 +1356,6 @@ declare module "hardhat/types/runtime" {
|
|
|
1359
1356
|
address: string,
|
|
1360
1357
|
signer?: ethers.Signer
|
|
1361
1358
|
): Promise<Contracts.TransparentUpgradeableProxy>;
|
|
1362
|
-
getContractAt(
|
|
1363
|
-
name: "Initializable",
|
|
1364
|
-
address: string,
|
|
1365
|
-
signer?: ethers.Signer
|
|
1366
|
-
): Promise<Contracts.Initializable>;
|
|
1367
1359
|
getContractAt(
|
|
1368
1360
|
name: "UUPSUpgradeable",
|
|
1369
1361
|
address: string,
|
|
@@ -1374,6 +1366,11 @@ declare module "hardhat/types/runtime" {
|
|
|
1374
1366
|
address: string,
|
|
1375
1367
|
signer?: ethers.Signer
|
|
1376
1368
|
): Promise<Contracts.ERC20>;
|
|
1369
|
+
getContractAt(
|
|
1370
|
+
name: "ERC20Permit",
|
|
1371
|
+
address: string,
|
|
1372
|
+
signer?: ethers.Signer
|
|
1373
|
+
): Promise<Contracts.ERC20Permit>;
|
|
1377
1374
|
getContractAt(
|
|
1378
1375
|
name: "IERC20Metadata",
|
|
1379
1376
|
address: string,
|
|
@@ -1389,11 +1386,21 @@ declare module "hardhat/types/runtime" {
|
|
|
1389
1386
|
address: string,
|
|
1390
1387
|
signer?: ethers.Signer
|
|
1391
1388
|
): Promise<Contracts.IERC20>;
|
|
1389
|
+
getContractAt(
|
|
1390
|
+
name: "EIP712",
|
|
1391
|
+
address: string,
|
|
1392
|
+
signer?: ethers.Signer
|
|
1393
|
+
): Promise<Contracts.EIP712>;
|
|
1392
1394
|
getContractAt(
|
|
1393
1395
|
name: "IERC165",
|
|
1394
1396
|
address: string,
|
|
1395
1397
|
signer?: ethers.Signer
|
|
1396
1398
|
): Promise<Contracts.IERC165>;
|
|
1399
|
+
getContractAt(
|
|
1400
|
+
name: "ShortStrings",
|
|
1401
|
+
address: string,
|
|
1402
|
+
signer?: ethers.Signer
|
|
1403
|
+
): Promise<Contracts.ShortStrings>;
|
|
1397
1404
|
getContractAt(
|
|
1398
1405
|
name: "PendleERC20",
|
|
1399
1406
|
address: string,
|
|
@@ -1484,31 +1491,6 @@ declare module "hardhat/types/runtime" {
|
|
|
1484
1491
|
address: string,
|
|
1485
1492
|
signer?: ethers.Signer
|
|
1486
1493
|
): Promise<Contracts.PendleBridgedPrincipalToken>;
|
|
1487
|
-
getContractAt(
|
|
1488
|
-
name: "DepositBox",
|
|
1489
|
-
address: string,
|
|
1490
|
-
signer?: ethers.Signer
|
|
1491
|
-
): Promise<Contracts.DepositBox>;
|
|
1492
|
-
getContractAt(
|
|
1493
|
-
name: "PendleCrossChainSwapHub",
|
|
1494
|
-
address: string,
|
|
1495
|
-
signer?: ethers.Signer
|
|
1496
|
-
): Promise<Contracts.PendleCrossChainSwapHub>;
|
|
1497
|
-
getContractAt(
|
|
1498
|
-
name: "IPSwapExecutor",
|
|
1499
|
-
address: string,
|
|
1500
|
-
signer?: ethers.Signer
|
|
1501
|
-
): Promise<Contracts.IPSwapExecutor>;
|
|
1502
|
-
getContractAt(
|
|
1503
|
-
name: "SwapExecutor",
|
|
1504
|
-
address: string,
|
|
1505
|
-
signer?: ethers.Signer
|
|
1506
|
-
): Promise<Contracts.SwapExecutor>;
|
|
1507
|
-
getContractAt(
|
|
1508
|
-
name: "SwapHubBase",
|
|
1509
|
-
address: string,
|
|
1510
|
-
signer?: ethers.Signer
|
|
1511
|
-
): Promise<Contracts.SwapHubBase>;
|
|
1512
1494
|
getContractAt(
|
|
1513
1495
|
name: "PendleFeeDistributor",
|
|
1514
1496
|
address: string,
|
|
@@ -1684,16 +1666,6 @@ declare module "hardhat/types/runtime" {
|
|
|
1684
1666
|
address: string,
|
|
1685
1667
|
signer?: ethers.Signer
|
|
1686
1668
|
): Promise<Contracts.IPCommonSYFactory>;
|
|
1687
|
-
getContractAt(
|
|
1688
|
-
name: "IPCrossChainSwapHub",
|
|
1689
|
-
address: string,
|
|
1690
|
-
signer?: ethers.Signer
|
|
1691
|
-
): Promise<Contracts.IPCrossChainSwapHub>;
|
|
1692
|
-
getContractAt(
|
|
1693
|
-
name: "IPDepositBox",
|
|
1694
|
-
address: string,
|
|
1695
|
-
signer?: ethers.Signer
|
|
1696
|
-
): Promise<Contracts.IPDepositBox>;
|
|
1697
1669
|
getContractAt(
|
|
1698
1670
|
name: "IPExchangeRateOracle",
|
|
1699
1671
|
address: string,
|
|
@@ -2104,6 +2076,11 @@ declare module "hardhat/types/runtime" {
|
|
|
2104
2076
|
address: string,
|
|
2105
2077
|
signer?: ethers.Signer
|
|
2106
2078
|
): Promise<Contracts.Multicall2>;
|
|
2079
|
+
getContractAt(
|
|
2080
|
+
name: "PendleAPIFeeDepositor",
|
|
2081
|
+
address: string,
|
|
2082
|
+
signer?: ethers.Signer
|
|
2083
|
+
): Promise<Contracts.PendleAPIFeeDepositor>;
|
|
2107
2084
|
getContractAt(
|
|
2108
2085
|
name: "PendleExchangeRateOracle",
|
|
2109
2086
|
address: string,
|
|
@@ -2129,6 +2106,11 @@ declare module "hardhat/types/runtime" {
|
|
|
2129
2106
|
address: string,
|
|
2130
2107
|
signer?: ethers.Signer
|
|
2131
2108
|
): Promise<Contracts.PendleLPWrapperFactory>;
|
|
2109
|
+
getContractAt(
|
|
2110
|
+
name: "PendleMerkleDepositor",
|
|
2111
|
+
address: string,
|
|
2112
|
+
signer?: ethers.Signer
|
|
2113
|
+
): Promise<Contracts.PendleMerkleDepositor>;
|
|
2132
2114
|
getContractAt(
|
|
2133
2115
|
name: "PendleMulticallOwnerV1",
|
|
2134
2116
|
address: string,
|
package/typechain-types/index.ts
CHANGED
|
@@ -53,6 +53,7 @@ export type { Ownable } from "./Ownable";
|
|
|
53
53
|
export type { IERC1822Proxiable } from "./IERC1822Proxiable";
|
|
54
54
|
export type { IERC1271 } from "./IERC1271";
|
|
55
55
|
export type { IERC1967 } from "./IERC1967";
|
|
56
|
+
export type { IERC5267 } from "./IERC5267";
|
|
56
57
|
export type { IBeacon } from "./IBeacon";
|
|
57
58
|
export type { ERC1967Proxy } from "./ERC1967Proxy";
|
|
58
59
|
export type { ERC1967Upgrade } from "./ERC1967Upgrade";
|
|
@@ -60,10 +61,13 @@ export type { Proxy } from "./Proxy";
|
|
|
60
61
|
export type { ITransparentUpgradeableProxy } from "./ITransparentUpgradeableProxy";
|
|
61
62
|
export type { TransparentUpgradeableProxy } from "./TransparentUpgradeableProxy";
|
|
62
63
|
export type { ERC20 } from "./ERC20";
|
|
64
|
+
export type { ERC20Permit } from "./ERC20Permit";
|
|
63
65
|
export type { IERC20Metadata } from "./IERC20Metadata";
|
|
64
66
|
export type { IERC20Permit } from "./IERC20Permit";
|
|
65
67
|
export type { IERC20 } from "./IERC20";
|
|
68
|
+
export type { EIP712 } from "./EIP712";
|
|
66
69
|
export type { IERC165 } from "./IERC165";
|
|
70
|
+
export type { ShortStrings } from "./ShortStrings";
|
|
67
71
|
export type { PendleERC20 } from "./PendleERC20";
|
|
68
72
|
export type { BoringOwnableUpgradeableData } from "./BoringOwnableUpgradeableData";
|
|
69
73
|
export type { BoringOwnableUpgradeableV2 } from "./BoringOwnableUpgradeableV2";
|
|
@@ -82,11 +86,6 @@ export type { PendlePTOFTAdapterFactory } from "./PendlePTOFTAdapterFactory";
|
|
|
82
86
|
export type { FixedPricePTAMM } from "./FixedPricePTAMM";
|
|
83
87
|
export type { OFTAdapterImpl } from "./OFTAdapterImpl";
|
|
84
88
|
export type { PendleBridgedPrincipalToken } from "./PendleBridgedPrincipalToken";
|
|
85
|
-
export type { DepositBox } from "./DepositBox";
|
|
86
|
-
export type { PendleCrossChainSwapHub } from "./PendleCrossChainSwapHub";
|
|
87
|
-
export type { IPSwapExecutor } from "./IPSwapExecutor";
|
|
88
|
-
export type { SwapExecutor } from "./SwapExecutor";
|
|
89
|
-
export type { SwapHubBase } from "./SwapHubBase";
|
|
90
89
|
export type { PendleFeeDistributor } from "./PendleFeeDistributor";
|
|
91
90
|
export type { PendleFeeDistributorV2 } from "./PendleFeeDistributorV2";
|
|
92
91
|
export type { IAddressProvider } from "./IAddressProvider";
|
|
@@ -121,8 +120,6 @@ export type { IPChainlinkOracleFactory } from "./IPChainlinkOracleFactory";
|
|
|
121
120
|
export type { IPChainlinkOracleWithQuote } from "./IPChainlinkOracleWithQuote";
|
|
122
121
|
export type { IPCommonPoolDeployHelperV2 } from "./IPCommonPoolDeployHelperV2";
|
|
123
122
|
export type { IPCommonSYFactory } from "./IPCommonSYFactory";
|
|
124
|
-
export type { IPCrossChainSwapHub } from "./IPCrossChainSwapHub";
|
|
125
|
-
export type { IPDepositBox } from "./IPDepositBox";
|
|
126
123
|
export type { IPExchangeRateOracle } from "./IPExchangeRateOracle";
|
|
127
124
|
export type { IPExchangeRateOracleApp } from "./IPExchangeRateOracleApp";
|
|
128
125
|
export type { IPFeeDistributor } from "./IPFeeDistributor";
|
|
@@ -205,11 +202,13 @@ export type { StarNFTV1 } from "./StarNFTV1";
|
|
|
205
202
|
export type { LimitBackendHelperV2 } from "./LimitBackendHelperV2";
|
|
206
203
|
export type { MarketSweed } from "./MarketSweed";
|
|
207
204
|
export type { Multicall2 } from "./Multicall2";
|
|
205
|
+
export type { PendleAPIFeeDepositor } from "./PendleAPIFeeDepositor";
|
|
208
206
|
export type { PendleExchangeRateOracle } from "./PendleExchangeRateOracle";
|
|
209
207
|
export type { PendleFeeSetter } from "./PendleFeeSetter";
|
|
210
208
|
export type { PendleGovernanceProxy } from "./PendleGovernanceProxy";
|
|
211
209
|
export type { PendleLPWrapper } from "./PendleLPWrapper";
|
|
212
210
|
export type { PendleLPWrapperFactory } from "./PendleLPWrapperFactory";
|
|
211
|
+
export type { PendleMerkleDepositor } from "./PendleMerkleDepositor";
|
|
213
212
|
export type { PendleMulticallOwnerV1 } from "./PendleMulticallOwnerV1";
|
|
214
213
|
export type { PendleMulticallV1 } from "./PendleMulticallV1";
|
|
215
214
|
export type { PendleMulticallV2 } from "./PendleMulticallV2";
|
|
@@ -315,6 +314,7 @@ export { Ownable__factory } from "./factories/Ownable__factory";
|
|
|
315
314
|
export { IERC1822Proxiable__factory } from "./factories/IERC1822Proxiable__factory";
|
|
316
315
|
export { IERC1271__factory } from "./factories/IERC1271__factory";
|
|
317
316
|
export { IERC1967__factory } from "./factories/IERC1967__factory";
|
|
317
|
+
export { IERC5267__factory } from "./factories/IERC5267__factory";
|
|
318
318
|
export { IBeacon__factory } from "./factories/IBeacon__factory";
|
|
319
319
|
export { ERC1967Proxy__factory } from "./factories/ERC1967Proxy__factory";
|
|
320
320
|
export { ERC1967Upgrade__factory } from "./factories/ERC1967Upgrade__factory";
|
|
@@ -322,10 +322,13 @@ export { Proxy__factory } from "./factories/Proxy__factory";
|
|
|
322
322
|
export { ITransparentUpgradeableProxy__factory } from "./factories/ITransparentUpgradeableProxy__factory";
|
|
323
323
|
export { TransparentUpgradeableProxy__factory } from "./factories/TransparentUpgradeableProxy__factory";
|
|
324
324
|
export { ERC20__factory } from "./factories/ERC20__factory";
|
|
325
|
+
export { ERC20Permit__factory } from "./factories/ERC20Permit__factory";
|
|
325
326
|
export { IERC20Metadata__factory } from "./factories/IERC20Metadata__factory";
|
|
326
327
|
export { IERC20Permit__factory } from "./factories/IERC20Permit__factory";
|
|
327
328
|
export { IERC20__factory } from "./factories/IERC20__factory";
|
|
329
|
+
export { EIP712__factory } from "./factories/EIP712__factory";
|
|
328
330
|
export { IERC165__factory } from "./factories/IERC165__factory";
|
|
331
|
+
export { ShortStrings__factory } from "./factories/ShortStrings__factory";
|
|
329
332
|
export { PendleERC20__factory } from "./factories/PendleERC20__factory";
|
|
330
333
|
export { BoringOwnableUpgradeableData__factory } from "./factories/BoringOwnableUpgradeableData__factory";
|
|
331
334
|
export { BoringOwnableUpgradeableV2__factory } from "./factories/BoringOwnableUpgradeableV2__factory";
|
|
@@ -344,11 +347,6 @@ export { PendlePTOFTAdapterFactory__factory } from "./factories/PendlePTOFTAdapt
|
|
|
344
347
|
export { FixedPricePTAMM__factory } from "./factories/FixedPricePTAMM__factory";
|
|
345
348
|
export { OFTAdapterImpl__factory } from "./factories/OFTAdapterImpl__factory";
|
|
346
349
|
export { PendleBridgedPrincipalToken__factory } from "./factories/PendleBridgedPrincipalToken__factory";
|
|
347
|
-
export { DepositBox__factory } from "./factories/DepositBox__factory";
|
|
348
|
-
export { PendleCrossChainSwapHub__factory } from "./factories/PendleCrossChainSwapHub__factory";
|
|
349
|
-
export { IPSwapExecutor__factory } from "./factories/IPSwapExecutor__factory";
|
|
350
|
-
export { SwapExecutor__factory } from "./factories/SwapExecutor__factory";
|
|
351
|
-
export { SwapHubBase__factory } from "./factories/SwapHubBase__factory";
|
|
352
350
|
export { PendleFeeDistributor__factory } from "./factories/PendleFeeDistributor__factory";
|
|
353
351
|
export { PendleFeeDistributorV2__factory } from "./factories/PendleFeeDistributorV2__factory";
|
|
354
352
|
export { IAddressProvider__factory } from "./factories/IAddressProvider__factory";
|
|
@@ -383,8 +381,6 @@ export { IPChainlinkOracleFactory__factory } from "./factories/IPChainlinkOracle
|
|
|
383
381
|
export { IPChainlinkOracleWithQuote__factory } from "./factories/IPChainlinkOracleWithQuote__factory";
|
|
384
382
|
export { IPCommonPoolDeployHelperV2__factory } from "./factories/IPCommonPoolDeployHelperV2__factory";
|
|
385
383
|
export { IPCommonSYFactory__factory } from "./factories/IPCommonSYFactory__factory";
|
|
386
|
-
export { IPCrossChainSwapHub__factory } from "./factories/IPCrossChainSwapHub__factory";
|
|
387
|
-
export { IPDepositBox__factory } from "./factories/IPDepositBox__factory";
|
|
388
384
|
export { IPExchangeRateOracle__factory } from "./factories/IPExchangeRateOracle__factory";
|
|
389
385
|
export { IPExchangeRateOracleApp__factory } from "./factories/IPExchangeRateOracleApp__factory";
|
|
390
386
|
export { IPFeeDistributor__factory } from "./factories/IPFeeDistributor__factory";
|
|
@@ -467,11 +463,13 @@ export { StarNFTV1__factory } from "./factories/StarNFTV1__factory";
|
|
|
467
463
|
export { LimitBackendHelperV2__factory } from "./factories/LimitBackendHelperV2__factory";
|
|
468
464
|
export { MarketSweed__factory } from "./factories/MarketSweed__factory";
|
|
469
465
|
export { Multicall2__factory } from "./factories/Multicall2__factory";
|
|
466
|
+
export { PendleAPIFeeDepositor__factory } from "./factories/PendleAPIFeeDepositor__factory";
|
|
470
467
|
export { PendleExchangeRateOracle__factory } from "./factories/PendleExchangeRateOracle__factory";
|
|
471
468
|
export { PendleFeeSetter__factory } from "./factories/PendleFeeSetter__factory";
|
|
472
469
|
export { PendleGovernanceProxy__factory } from "./factories/PendleGovernanceProxy__factory";
|
|
473
470
|
export { PendleLPWrapper__factory } from "./factories/PendleLPWrapper__factory";
|
|
474
471
|
export { PendleLPWrapperFactory__factory } from "./factories/PendleLPWrapperFactory__factory";
|
|
472
|
+
export { PendleMerkleDepositor__factory } from "./factories/PendleMerkleDepositor__factory";
|
|
475
473
|
export { PendleMulticallOwnerV1__factory } from "./factories/PendleMulticallOwnerV1__factory";
|
|
476
474
|
export { PendleMulticallV1__factory } from "./factories/PendleMulticallV1__factory";
|
|
477
475
|
export { PendleMulticallV2__factory } from "./factories/PendleMulticallV2__factory";
|
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_format": "hh-sol-artifact-1",
|
|
3
|
-
"contractName": "DepositBox",
|
|
4
|
-
"sourceName": "contracts/cross-chain/swap-hub/DepositBox.sol",
|
|
5
|
-
"abi": [
|
|
6
|
-
{
|
|
7
|
-
"inputs": [
|
|
8
|
-
{
|
|
9
|
-
"internalType": "address",
|
|
10
|
-
"name": "hub_",
|
|
11
|
-
"type": "address"
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"internalType": "address",
|
|
15
|
-
"name": "treasury_",
|
|
16
|
-
"type": "address"
|
|
17
|
-
}
|
|
18
|
-
],
|
|
19
|
-
"stateMutability": "nonpayable",
|
|
20
|
-
"type": "constructor"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"anonymous": false,
|
|
24
|
-
"inputs": [
|
|
25
|
-
{
|
|
26
|
-
"indexed": false,
|
|
27
|
-
"internalType": "uint8",
|
|
28
|
-
"name": "version",
|
|
29
|
-
"type": "uint8"
|
|
30
|
-
}
|
|
31
|
-
],
|
|
32
|
-
"name": "Initialized",
|
|
33
|
-
"type": "event"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"inputs": [],
|
|
37
|
-
"name": "BOX_ID",
|
|
38
|
-
"outputs": [
|
|
39
|
-
{
|
|
40
|
-
"internalType": "uint32",
|
|
41
|
-
"name": "",
|
|
42
|
-
"type": "uint32"
|
|
43
|
-
}
|
|
44
|
-
],
|
|
45
|
-
"stateMutability": "view",
|
|
46
|
-
"type": "function"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"inputs": [],
|
|
50
|
-
"name": "HUB",
|
|
51
|
-
"outputs": [
|
|
52
|
-
{
|
|
53
|
-
"internalType": "address",
|
|
54
|
-
"name": "",
|
|
55
|
-
"type": "address"
|
|
56
|
-
}
|
|
57
|
-
],
|
|
58
|
-
"stateMutability": "view",
|
|
59
|
-
"type": "function"
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"inputs": [],
|
|
63
|
-
"name": "OWNER",
|
|
64
|
-
"outputs": [
|
|
65
|
-
{
|
|
66
|
-
"internalType": "address",
|
|
67
|
-
"name": "",
|
|
68
|
-
"type": "address"
|
|
69
|
-
}
|
|
70
|
-
],
|
|
71
|
-
"stateMutability": "view",
|
|
72
|
-
"type": "function"
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"inputs": [],
|
|
76
|
-
"name": "TREASURY",
|
|
77
|
-
"outputs": [
|
|
78
|
-
{
|
|
79
|
-
"internalType": "address",
|
|
80
|
-
"name": "",
|
|
81
|
-
"type": "address"
|
|
82
|
-
}
|
|
83
|
-
],
|
|
84
|
-
"stateMutability": "view",
|
|
85
|
-
"type": "function"
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
"inputs": [
|
|
89
|
-
{
|
|
90
|
-
"components": [
|
|
91
|
-
{
|
|
92
|
-
"internalType": "address",
|
|
93
|
-
"name": "token",
|
|
94
|
-
"type": "address"
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
"internalType": "uint256",
|
|
98
|
-
"name": "amount",
|
|
99
|
-
"type": "uint256"
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
"internalType": "address",
|
|
103
|
-
"name": "spender",
|
|
104
|
-
"type": "address"
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
"internalType": "bytes",
|
|
108
|
-
"name": "data",
|
|
109
|
-
"type": "bytes"
|
|
110
|
-
}
|
|
111
|
-
],
|
|
112
|
-
"internalType": "struct ApprovedCall",
|
|
113
|
-
"name": "call",
|
|
114
|
-
"type": "tuple"
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
"internalType": "address",
|
|
118
|
-
"name": "nativeRefund",
|
|
119
|
-
"type": "address"
|
|
120
|
-
}
|
|
121
|
-
],
|
|
122
|
-
"name": "approveAndCall",
|
|
123
|
-
"outputs": [
|
|
124
|
-
{
|
|
125
|
-
"internalType": "bytes",
|
|
126
|
-
"name": "result",
|
|
127
|
-
"type": "bytes"
|
|
128
|
-
}
|
|
129
|
-
],
|
|
130
|
-
"stateMutability": "payable",
|
|
131
|
-
"type": "function"
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
"inputs": [
|
|
135
|
-
{
|
|
136
|
-
"internalType": "address",
|
|
137
|
-
"name": "owner_",
|
|
138
|
-
"type": "address"
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
"internalType": "uint32",
|
|
142
|
-
"name": "boxId_",
|
|
143
|
-
"type": "uint32"
|
|
144
|
-
}
|
|
145
|
-
],
|
|
146
|
-
"name": "initialize",
|
|
147
|
-
"outputs": [],
|
|
148
|
-
"stateMutability": "nonpayable",
|
|
149
|
-
"type": "function"
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
"inputs": [
|
|
153
|
-
{
|
|
154
|
-
"internalType": "address",
|
|
155
|
-
"name": "token",
|
|
156
|
-
"type": "address"
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
"internalType": "uint256",
|
|
160
|
-
"name": "amount",
|
|
161
|
-
"type": "uint256"
|
|
162
|
-
}
|
|
163
|
-
],
|
|
164
|
-
"name": "payTreasury",
|
|
165
|
-
"outputs": [],
|
|
166
|
-
"stateMutability": "nonpayable",
|
|
167
|
-
"type": "function"
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
"inputs": [
|
|
171
|
-
{
|
|
172
|
-
"internalType": "address",
|
|
173
|
-
"name": "to",
|
|
174
|
-
"type": "address"
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
"internalType": "address",
|
|
178
|
-
"name": "token",
|
|
179
|
-
"type": "address"
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
"internalType": "uint256",
|
|
183
|
-
"name": "amount",
|
|
184
|
-
"type": "uint256"
|
|
185
|
-
}
|
|
186
|
-
],
|
|
187
|
-
"name": "withdrawTo",
|
|
188
|
-
"outputs": [],
|
|
189
|
-
"stateMutability": "nonpayable",
|
|
190
|
-
"type": "function"
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
"stateMutability": "payable",
|
|
194
|
-
"type": "receive"
|
|
195
|
-
}
|
|
196
|
-
],
|
|
197
|
-
"bytecode": "0x60c060405234801561000f575f5ffd5b5060405161104838038061104883398101604081905261002e91610124565b61003661004d565b6001600160a01b039182166080521660a052610155565b5f54610100900460ff16156100b85760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b5f5460ff90811614610107575f805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b80516001600160a01b038116811461011f575f5ffd5b919050565b5f5f60408385031215610135575f5ffd5b61013e83610109565b915061014c60208401610109565b90509250929050565b60805160a051610eb06101985f395f818160c3015261051a01525f8181610116015281816101db015281816102f30152818161040d01526104d70152610eb05ff3fe60806040526004361061006d575f3560e01c8063117803e3146100785780632d2c5565146100b2578063704a2e9b146100e5578063a4c52b8614610105578063a817c11314610138578063c3b35a7e1461016f578063c5e4c9f914610190578063ef362980146101af575f5ffd5b3661007457005b5f5ffd5b348015610083575f5ffd5b505f5461009c906201000090046001600160a01b031681565b6040516100a99190610ad1565b60405180910390f35b3480156100bd575f5ffd5b5061009c7f000000000000000000000000000000000000000000000000000000000000000081565b6100f86100f3366004610b6c565b6101ce565b6040516100a99190610cbe565b348015610110575f5ffd5b5061009c7f000000000000000000000000000000000000000000000000000000000000000081565b348015610143575f5ffd5b505f5461015a90600160b01b900463ffffffff1681565b60405163ffffffff90911681526020016100a9565b34801561017a575f5ffd5b5061018e610189366004610cd7565b6102e8565b005b34801561019b575f5ffd5b5061018e6101aa366004610d11565b610340565b3480156101ba575f5ffd5b5061018e6101c9366004610d4e565b6104cc565b6060336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146102215760405162461bcd60e51b815260040161021890610d76565b60405180910390fd5b82515f906001600160a01b031615610239575f61023f565b83602001515b9050345f818361024e83610543565b6102589190610dc1565b6102629190610dc1565b905061027a865f0151876040015188602001516105cb565b60608601516102a29061028d8486610dd4565b60408901516001600160a01b031691906105f2565b93506102b6865f015187604001515f6105cb565b5f6102c05f610543565b9050818111156102de576102de5f876102d98585610dc1565b610620565b5050505092915050565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146103305760405162461bcd60e51b815260040161021890610d76565b61033b828483610620565b505050565b5f54610100900460ff161580801561035e57505f54600160ff909116105b8061037e575061036d306106e5565b15801561037e57505f5460ff166001145b6103e15760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610218565b5f805460ff191660011790558015610402575f805461ff0019166101001790555b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461044a5760405162461bcd60e51b815260040161021890610d76565b5f805462010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff851602179055801561033b575f805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a1505050565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146105145760405162461bcd60e51b815260040161021890610d76565b61053f827f000000000000000000000000000000000000000000000000000000000000000083610620565b5050565b5f6001600160a01b038216156105c3576040516370a0823160e01b81526001600160a01b038316906370a082319061057f903090600401610ad1565b602060405180830381865afa15801561059a573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105be9190610de7565b6105c5565b475b92915050565b6001600160a01b0383166105de57505050565b61033b6001600160a01b03841683836106f4565b6060610618848484604051806060016040528060298152602001610e52602991396107be565b949350505050565b805f0361062c57505050565b6001600160a01b0383166106d1575f826001600160a01b0316826040515f6040518083038185875af1925050503d805f8114610683576040519150601f19603f3d011682016040523d82523d5f602084013e610688565b606091505b50509050806106cb5760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b6044820152606401610218565b50505050565b61033b6001600160a01b0384168383610895565b6001600160a01b03163b151590565b5f63095ea7b360e01b8383604051602401610710929190610dfe565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152905061074e84826108b4565b6106cb576040516001600160a01b03841660248201525f60448201526107b490859063095ea7b360e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610950565b6106cb8482610950565b60608247101561081f5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610218565b5f5f866001600160a01b0316858760405161083a9190610e17565b5f6040518083038185875af1925050503d805f8114610874576040519150601f19603f3d011682016040523d82523d5f602084013e610879565b606091505b509150915061088a87838387610a23565b979650505050505050565b61033b8363a9059cbb60e01b848460405160240161077d929190610dfe565b5f5f5f846001600160a01b0316846040516108cf9190610e17565b5f604051808303815f865af19150503d805f8114610908576040519150601f19603f3d011682016040523d82523d5f602084013e61090d565b606091505b50915091508180156109375750805115806109375750808060200190518101906109379190610e32565b80156109475750610947856106e5565b95945050505050565b5f6109a4826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610a999092919063ffffffff16565b905080515f14806109c45750808060200190518101906109c49190610e32565b61033b5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610218565b60608315610a8f5782515f03610a8857610a3c856106e5565b610a885760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610218565b5081610618565b6106188383610aa7565b606061061884845f856107be565b815115610ab75781518083602001fd5b8060405162461bcd60e51b81526004016102189190610cbe565b6001600160a01b0391909116815260200190565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b0381118282101715610b1b57610b1b610ae5565b60405290565b604051601f8201601f191681016001600160401b0381118282101715610b4957610b49610ae5565b604052919050565b80356001600160a01b0381168114610b67575f5ffd5b919050565b5f5f60408385031215610b7d575f5ffd5b82356001600160401b03811115610b92575f5ffd5b830160808186031215610ba3575f5ffd5b610bab610af9565b610bb482610b51565b815260208281013590820152610bcc60408301610b51565b604082015260608201356001600160401b03811115610be9575f5ffd5b80830192505085601f830112610bfd575f5ffd5b81356001600160401b03811115610c1657610c16610ae5565b610c29601f8201601f1916602001610b21565b818152876020838601011115610c3d575f5ffd5b816020850160208301375f6020838301015280606084015250508093505050610c6860208401610b51565b90509250929050565b5f5b83811015610c8b578181015183820152602001610c73565b50505f910152565b5f8151808452610caa816020860160208601610c71565b601f01601f19169290920160200192915050565b602081525f610cd06020830184610c93565b9392505050565b5f5f5f60608486031215610ce9575f5ffd5b610cf284610b51565b9250610d0060208501610b51565b929592945050506040919091013590565b5f5f60408385031215610d22575f5ffd5b610d2b83610b51565b9150602083013563ffffffff81168114610d43575f5ffd5b809150509250929050565b5f5f60408385031215610d5f575f5ffd5b610d6883610b51565b946020939093013593505050565b6020808252601d908201527f4465706f736974426f783a2063616c6c6572206973206e6f7420687562000000604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b818103818111156105c5576105c5610dad565b808201808211156105c5576105c5610dad565b5f60208284031215610df7575f5ffd5b5051919050565b6001600160a01b03929092168252602082015260400190565b5f8251610e28818460208701610c71565b9190910192915050565b5f60208284031215610e42575f5ffd5b81518015158114610cd0575f5ffdfe416464726573733a206c6f772d6c6576656c2063616c6c20776974682076616c7565206661696c6564a26469706673582212206ecc31a0da9093b3d8bbfb2e76bd78b27350aeed14b12c22edf950ae6c3f2caf64736f6c634300081e0033",
|
|
198
|
-
"deployedBytecode": "0x60806040526004361061006d575f3560e01c8063117803e3146100785780632d2c5565146100b2578063704a2e9b146100e5578063a4c52b8614610105578063a817c11314610138578063c3b35a7e1461016f578063c5e4c9f914610190578063ef362980146101af575f5ffd5b3661007457005b5f5ffd5b348015610083575f5ffd5b505f5461009c906201000090046001600160a01b031681565b6040516100a99190610ad1565b60405180910390f35b3480156100bd575f5ffd5b5061009c7f000000000000000000000000000000000000000000000000000000000000000081565b6100f86100f3366004610b6c565b6101ce565b6040516100a99190610cbe565b348015610110575f5ffd5b5061009c7f000000000000000000000000000000000000000000000000000000000000000081565b348015610143575f5ffd5b505f5461015a90600160b01b900463ffffffff1681565b60405163ffffffff90911681526020016100a9565b34801561017a575f5ffd5b5061018e610189366004610cd7565b6102e8565b005b34801561019b575f5ffd5b5061018e6101aa366004610d11565b610340565b3480156101ba575f5ffd5b5061018e6101c9366004610d4e565b6104cc565b6060336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146102215760405162461bcd60e51b815260040161021890610d76565b60405180910390fd5b82515f906001600160a01b031615610239575f61023f565b83602001515b9050345f818361024e83610543565b6102589190610dc1565b6102629190610dc1565b905061027a865f0151876040015188602001516105cb565b60608601516102a29061028d8486610dd4565b60408901516001600160a01b031691906105f2565b93506102b6865f015187604001515f6105cb565b5f6102c05f610543565b9050818111156102de576102de5f876102d98585610dc1565b610620565b5050505092915050565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146103305760405162461bcd60e51b815260040161021890610d76565b61033b828483610620565b505050565b5f54610100900460ff161580801561035e57505f54600160ff909116105b8061037e575061036d306106e5565b15801561037e57505f5460ff166001145b6103e15760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610218565b5f805460ff191660011790558015610402575f805461ff0019166101001790555b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461044a5760405162461bcd60e51b815260040161021890610d76565b5f805462010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff851602179055801561033b575f805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a1505050565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146105145760405162461bcd60e51b815260040161021890610d76565b61053f827f000000000000000000000000000000000000000000000000000000000000000083610620565b5050565b5f6001600160a01b038216156105c3576040516370a0823160e01b81526001600160a01b038316906370a082319061057f903090600401610ad1565b602060405180830381865afa15801561059a573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105be9190610de7565b6105c5565b475b92915050565b6001600160a01b0383166105de57505050565b61033b6001600160a01b03841683836106f4565b6060610618848484604051806060016040528060298152602001610e52602991396107be565b949350505050565b805f0361062c57505050565b6001600160a01b0383166106d1575f826001600160a01b0316826040515f6040518083038185875af1925050503d805f8114610683576040519150601f19603f3d011682016040523d82523d5f602084013e610688565b606091505b50509050806106cb5760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b6044820152606401610218565b50505050565b61033b6001600160a01b0384168383610895565b6001600160a01b03163b151590565b5f63095ea7b360e01b8383604051602401610710929190610dfe565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152905061074e84826108b4565b6106cb576040516001600160a01b03841660248201525f60448201526107b490859063095ea7b360e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610950565b6106cb8482610950565b60608247101561081f5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610218565b5f5f866001600160a01b0316858760405161083a9190610e17565b5f6040518083038185875af1925050503d805f8114610874576040519150601f19603f3d011682016040523d82523d5f602084013e610879565b606091505b509150915061088a87838387610a23565b979650505050505050565b61033b8363a9059cbb60e01b848460405160240161077d929190610dfe565b5f5f5f846001600160a01b0316846040516108cf9190610e17565b5f604051808303815f865af19150503d805f8114610908576040519150601f19603f3d011682016040523d82523d5f602084013e61090d565b606091505b50915091508180156109375750805115806109375750808060200190518101906109379190610e32565b80156109475750610947856106e5565b95945050505050565b5f6109a4826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610a999092919063ffffffff16565b905080515f14806109c45750808060200190518101906109c49190610e32565b61033b5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610218565b60608315610a8f5782515f03610a8857610a3c856106e5565b610a885760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610218565b5081610618565b6106188383610aa7565b606061061884845f856107be565b815115610ab75781518083602001fd5b8060405162461bcd60e51b81526004016102189190610cbe565b6001600160a01b0391909116815260200190565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b0381118282101715610b1b57610b1b610ae5565b60405290565b604051601f8201601f191681016001600160401b0381118282101715610b4957610b49610ae5565b604052919050565b80356001600160a01b0381168114610b67575f5ffd5b919050565b5f5f60408385031215610b7d575f5ffd5b82356001600160401b03811115610b92575f5ffd5b830160808186031215610ba3575f5ffd5b610bab610af9565b610bb482610b51565b815260208281013590820152610bcc60408301610b51565b604082015260608201356001600160401b03811115610be9575f5ffd5b80830192505085601f830112610bfd575f5ffd5b81356001600160401b03811115610c1657610c16610ae5565b610c29601f8201601f1916602001610b21565b818152876020838601011115610c3d575f5ffd5b816020850160208301375f6020838301015280606084015250508093505050610c6860208401610b51565b90509250929050565b5f5b83811015610c8b578181015183820152602001610c73565b50505f910152565b5f8151808452610caa816020860160208601610c71565b601f01601f19169290920160200192915050565b602081525f610cd06020830184610c93565b9392505050565b5f5f5f60608486031215610ce9575f5ffd5b610cf284610b51565b9250610d0060208501610b51565b929592945050506040919091013590565b5f5f60408385031215610d22575f5ffd5b610d2b83610b51565b9150602083013563ffffffff81168114610d43575f5ffd5b809150509250929050565b5f5f60408385031215610d5f575f5ffd5b610d6883610b51565b946020939093013593505050565b6020808252601d908201527f4465706f736974426f783a2063616c6c6572206973206e6f7420687562000000604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b818103818111156105c5576105c5610dad565b808201808211156105c5576105c5610dad565b5f60208284031215610df7575f5ffd5b5051919050565b6001600160a01b03929092168252602082015260400190565b5f8251610e28818460208701610c71565b9190910192915050565b5f60208284031215610e42575f5ffd5b81518015158114610cd0575f5ffdfe416464726573733a206c6f772d6c6576656c2063616c6c20776974682076616c7565206661696c6564a26469706673582212206ecc31a0da9093b3d8bbfb2e76bd78b27350aeed14b12c22edf950ae6c3f2caf64736f6c634300081e0033",
|
|
199
|
-
"linkReferences": {},
|
|
200
|
-
"deployedLinkReferences": {}
|
|
201
|
-
}
|