@pendle/core-v2 6.2.2 → 6.3.0-beta
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/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
- 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/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.json +13 -0
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +20 -2
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +20 -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/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +6 -24
- 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/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
- 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/VeBalanceLib.sol/VeBalanceLib.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
- package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.json +19 -0
- package/build/artifacts/contracts/core/Market/PendleMarketFactoryV6Upg.sol/PendleMarketFactoryV6Upg.dbg.json +4 -0
- package/build/artifacts/contracts/core/Market/PendleMarketFactoryV6Upg.sol/PendleMarketFactoryV6Upg.json +636 -0
- package/build/artifacts/contracts/core/Market/PendleMarketV6.sol/PendleMarketV6.dbg.json +4 -0
- package/build/artifacts/contracts/core/Market/PendleMarketV6.sol/PendleMarketV6.json +1181 -0
- package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.json +2 -2
- 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/PendlePrincipalToken.sol/PendlePrincipalToken.json +28 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.dbg.json +4 -0
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.json +608 -0
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +28 -2
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.json +15 -2
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +27 -2
- package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.json +2 -2
- package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +2 -2
- 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/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.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/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/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/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.json +282 -0
- package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.json +19 -0
- 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/IPMarket.sol/IPMarket.json +58 -0
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.json +81 -19
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.json +26 -0
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.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/IPYieldContractFactory.sol/IPYieldContractFactory.json +13 -0
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.json +26 -0
- package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.json +2 -2
- package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.json +2 -2
- 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/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/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/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.json +15 -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/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.json +2 -2
- 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 +7 -2
- 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/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.json +533 -0
- package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.json +889 -0
- package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.json +84 -0
- package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.json +24 -0
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.json +2 -2
- 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/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.json +2 -2
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.json +2 -2
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
- package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.json +2 -2
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -2
- package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -2
- package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
- package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
- package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
- package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
- package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
- package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/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/OKXScaleHelper.sol/OKXScaleHelper.json +15 -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 +22 -3
- package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol +6 -2
- package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol +12 -2
- package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol +9 -1
- package/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol +10 -14
- package/contracts/core/Market/PendleGauge.sol +2 -0
- package/contracts/core/Market/{v3/PendleMarketFactoryV3.sol → PendleMarketFactoryV6Upg.sol} +18 -14
- package/contracts/core/Market/{v3/PendleMarketV3.sol → PendleMarketV6.sol} +48 -13
- package/contracts/core/YieldContracts/PendlePrincipalToken.sol +6 -0
- package/contracts/core/YieldContracts/{PendleYieldContractFactory.sol → PendleYieldContractFactoryUpg.sol} +10 -13
- package/contracts/core/YieldContracts/PendleYieldToken.sol +6 -0
- package/contracts/core/erc20/PendleERC20.sol +12 -0
- package/contracts/core/libraries/Errors.sol +7 -0
- package/contracts/core/libraries/StringLib.sol +12 -0
- package/contracts/interfaces/IPExchangeRateOracleApp.sol +86 -0
- package/contracts/interfaces/IPGauge.sol +4 -3
- package/contracts/interfaces/IPMarket.sol +8 -2
- package/contracts/interfaces/IPMarketFactory.sol +22 -10
- package/contracts/interfaces/IPPrincipalToken.sol +4 -0
- package/contracts/interfaces/IPYieldContractFactory.sol +2 -0
- package/contracts/interfaces/IPYieldToken.sol +4 -0
- package/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol +10 -10
- package/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol +6 -6
- package/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol +3 -3
- package/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol +23 -0
- package/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol +160 -0
- package/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol +25 -0
- package/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol +36 -0
- package/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol +9 -0
- package/contracts/router/swap-aggregator/OKXScaleHelper.sol +14 -1
- package/contracts/router/swap-aggregator/PendleSwap.sol +1 -1
- package/deployments/1-core.json +1 -0
- package/deployments/10-core.json +1 -0
- package/deployments/146-core.json +4 -1
- package/deployments/42161-core.json +4 -1
- package/deployments/5000-core.json +4 -1
- package/deployments/56-core.json +5 -1
- package/deployments/80094-core.json +4 -1
- package/deployments/8453-core.json +4 -1
- package/deployments/9745-core.json +4 -1
- package/deployments/999-core.json +4 -1
- package/package.json +3 -2
- package/typechain-types/ExchangeRateMsgCodec.ts +89 -0
- package/typechain-types/IPExchangeRateOracleApp.ts +352 -0
- package/typechain-types/IPGauge.ts +19 -0
- package/typechain-types/IPMarket.ts +76 -0
- package/typechain-types/IPMarketFactory.ts +146 -46
- package/typechain-types/IPPrincipalToken.ts +34 -0
- package/typechain-types/IPYieldContractFactory.ts +13 -0
- package/typechain-types/IPYieldToken.ts +34 -0
- package/typechain-types/OAppCoreUpgradeable.ts +320 -0
- package/typechain-types/OAppOptionsType3Upgradeable.ts +319 -0
- package/typechain-types/OAppReceiverUpgradeable.ts +498 -0
- package/typechain-types/OAppSenderUpgradeable.ts +320 -0
- package/typechain-types/OAppUpgradeable.ts +498 -0
- package/typechain-types/OKXScaleHelper.ts +87 -0
- package/typechain-types/OwnableUpgradeable.ts +174 -0
- package/typechain-types/PendleCommonPoolDeployHelperV2.ts +7 -1
- package/typechain-types/PendleCrossChainOracleBaseApp_Init.ts +662 -0
- package/typechain-types/PendleERC20.ts +21 -0
- package/typechain-types/PendleExchangeRateOracleApp.ts +1012 -0
- package/typechain-types/PendleExchangeRateOracleV2.ts +142 -0
- package/typechain-types/PendleGauge.ts +19 -0
- package/typechain-types/PendleGaugeControllerBaseUpg.ts +19 -0
- package/typechain-types/PendleGaugeControllerMainchainUpg.ts +19 -0
- package/typechain-types/PendleGaugeControllerSidechainUpg.ts +19 -0
- package/typechain-types/PendleLPWrapper.ts +21 -0
- package/typechain-types/PendleMarketFactoryV6Upg.ts +773 -0
- package/typechain-types/PendleMarketV6.ts +1248 -0
- package/typechain-types/PendlePrincipalToken.ts +34 -0
- package/typechain-types/PendleSwap.ts +19 -0
- package/typechain-types/PendleVotingControllerUpg.ts +18 -48
- package/typechain-types/PendleYieldContractFactoryUpg.ts +820 -0
- package/typechain-types/PendleYieldToken.ts +34 -0
- package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
- package/typechain-types/factories/ActionCallbackV3__factory.ts +1 -1
- package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
- package/typechain-types/factories/ActionSimple__factory.ts +1 -1
- package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionStorageV4__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
- package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
- package/typechain-types/factories/BalanceReader__factory.ts +1 -1
- package/typechain-types/factories/BoringPYUsdChainlinkAssetOracle__factory.ts +1 -1
- package/typechain-types/factories/BoringPYUsdChainlinkSYOracle__factory.ts +1 -1
- package/typechain-types/factories/Broadcaster__factory.ts +1 -1
- package/typechain-types/factories/Errors__factory.ts +26 -1
- package/typechain-types/factories/ExchangeRateMsgCodec__factory.ts +81 -0
- package/typechain-types/factories/ExpiredLpPtRedeemer__factory.ts +1 -1
- package/typechain-types/factories/IPExchangeRateOracleApp__factory.ts +301 -0
- package/typechain-types/factories/IPGauge__factory.ts +19 -0
- package/typechain-types/factories/IPMarketFactory__factory.ts +81 -19
- package/typechain-types/factories/IPMarket__factory.ts +58 -0
- package/typechain-types/factories/IPPrincipalToken__factory.ts +26 -0
- package/typechain-types/factories/IPYieldContractFactory__factory.ts +13 -0
- package/typechain-types/factories/IPYieldToken__factory.ts +26 -0
- package/typechain-types/factories/LimitBackendHelperV2__factory.ts +1 -1
- package/typechain-types/factories/OAppCoreUpgradeable__factory.ts +228 -0
- package/typechain-types/factories/OAppOptionsType3Upgradeable__factory.ts +219 -0
- package/typechain-types/factories/OAppReceiverUpgradeable__factory.ts +399 -0
- package/typechain-types/factories/OAppSenderUpgradeable__factory.ts +248 -0
- package/typechain-types/factories/OAppUpgradeable__factory.ts +411 -0
- package/typechain-types/factories/OKXScaleHelper__factory.ts +39 -0
- package/typechain-types/factories/OracleLib__factory.ts +1 -1
- package/typechain-types/factories/OwnableUpgradeable__factory.ts +91 -0
- package/typechain-types/factories/PendleChainlinkOracleFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleChainlinkOracleWithQuote__factory.ts +1 -1
- package/typechain-types/factories/PendleChainlinkOracle__factory.ts +1 -1
- package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +6 -1
- package/typechain-types/factories/PendleCrossChainOracleBaseApp_Init__factory.ts +554 -0
- package/typechain-types/factories/PendleERC20__factory.ts +14 -1
- package/typechain-types/factories/PendleExchangeRateOracleApp__factory.ts +958 -0
- package/typechain-types/factories/PendleExchangeRateOracleV2__factory.ts +165 -0
- package/typechain-types/factories/PendleFeeDistributorV2__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +13 -0
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +23 -1
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +23 -1
- package/typechain-types/factories/PendleGauge__factory.ts +19 -0
- package/typechain-types/factories/PendleLPWrapperFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleLPWrapper__factory.ts +14 -1
- package/typechain-types/factories/PendleLimitRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketFactoryV6Upg__factory.ts +732 -0
- package/typechain-types/factories/PendleMarketV6__factory.ts +1261 -0
- package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMultiTokenMerkleDistributor__factory.ts +1 -1
- package/typechain-types/factories/PendlePYLpOracle__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/PendlePrincipalToken__factory.ts +27 -1
- package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
- package/typechain-types/factories/PendleSparkLinearDiscountOracleFactoryWrapper__factory.ts +1 -1
- package/typechain-types/factories/PendleSparkLinearDiscountOracleFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleSwap__factory.ts +31 -4
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +5 -23
- package/typechain-types/factories/PendleYieldContractFactoryUpg__factory.ts +692 -0
- package/typechain-types/factories/PendleYieldToken__factory.ts +27 -1
- package/typechain-types/factories/Reflector__factory.ts +1 -1
- package/typechain-types/factories/SimulateHelper__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +120 -57
- package/typechain-types/index.ts +30 -16
- package/build/artifacts/contracts/core/Market/v3/PendleMarketFactoryV3.sol/PendleMarketFactoryV3.dbg.json +0 -4
- package/build/artifacts/contracts/core/Market/v3/PendleMarketFactoryV3.sol/PendleMarketFactoryV3.json +0 -610
- package/build/artifacts/contracts/core/Market/v3/PendleMarketV3.sol/PendleMarketV3.dbg.json +0 -4
- package/build/artifacts/contracts/core/Market/v3/PendleMarketV3.sol/PendleMarketV3.json +0 -1131
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +0 -4
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +0 -590
- package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +0 -4
- package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.json +0 -394
- package/build/artifacts/contracts/core/erc20/PendleERC20PermitUpg.sol/PendleERC20PermitUpg.dbg.json +0 -4
- package/build/artifacts/contracts/core/erc20/PendleERC20PermitUpg.sol/PendleERC20PermitUpg.json +0 -370
- package/build/artifacts/contracts/core/erc20/PendleERC20Upg.sol/PendleERC20Upg.dbg.json +0 -4
- package/build/artifacts/contracts/core/erc20/PendleERC20Upg.sol/PendleERC20Upg.json +0 -246
- package/build/artifacts/contracts/interfaces/IPMarketFactoryV3.sol/IPMarketFactoryV3.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPMarketFactoryV3.sol/IPMarketFactoryV3.json +0 -202
- package/build/artifacts/contracts/interfaces/IPMarketV3.sol/IPMarketV3.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPMarketV3.sol/IPMarketV3.json +0 -833
- package/contracts/core/erc20/PendleERC20Permit.sol +0 -80
- package/contracts/core/erc20/PendleERC20PermitUpg.sol +0 -82
- package/contracts/core/erc20/PendleERC20Upg.sol +0 -334
- package/contracts/interfaces/IPMarketFactoryV3.sol +0 -33
- package/contracts/interfaces/IPMarketV3.sol +0 -8
|
@@ -0,0 +1,958 @@
|
|
|
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
|
+
PendleExchangeRateOracleApp,
|
|
8
|
+
PendleExchangeRateOracleAppInterface,
|
|
9
|
+
} from "../PendleExchangeRateOracleApp";
|
|
10
|
+
|
|
11
|
+
const _abi = [
|
|
12
|
+
{
|
|
13
|
+
inputs: [
|
|
14
|
+
{
|
|
15
|
+
internalType: "address",
|
|
16
|
+
name: "_endpoint",
|
|
17
|
+
type: "address",
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
internalType: "address payable",
|
|
21
|
+
name: "_refundAddress",
|
|
22
|
+
type: "address",
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
stateMutability: "nonpayable",
|
|
26
|
+
type: "constructor",
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
inputs: [],
|
|
30
|
+
name: "ExchangeRateCallFailed",
|
|
31
|
+
type: "error",
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
inputs: [],
|
|
35
|
+
name: "FeedNotInitialized",
|
|
36
|
+
type: "error",
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
inputs: [],
|
|
40
|
+
name: "InvalidDelegate",
|
|
41
|
+
type: "error",
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
inputs: [],
|
|
45
|
+
name: "InvalidDestinationEid",
|
|
46
|
+
type: "error",
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
inputs: [],
|
|
50
|
+
name: "InvalidEndpointCall",
|
|
51
|
+
type: "error",
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
inputs: [],
|
|
55
|
+
name: "InvalidMsgType",
|
|
56
|
+
type: "error",
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
inputs: [
|
|
60
|
+
{
|
|
61
|
+
internalType: "bytes",
|
|
62
|
+
name: "options",
|
|
63
|
+
type: "bytes",
|
|
64
|
+
},
|
|
65
|
+
],
|
|
66
|
+
name: "InvalidOptions",
|
|
67
|
+
type: "error",
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
inputs: [],
|
|
71
|
+
name: "LzTokenUnavailable",
|
|
72
|
+
type: "error",
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
inputs: [
|
|
76
|
+
{
|
|
77
|
+
internalType: "uint32",
|
|
78
|
+
name: "eid",
|
|
79
|
+
type: "uint32",
|
|
80
|
+
},
|
|
81
|
+
],
|
|
82
|
+
name: "NoPeer",
|
|
83
|
+
type: "error",
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
inputs: [
|
|
87
|
+
{
|
|
88
|
+
internalType: "uint256",
|
|
89
|
+
name: "msgValue",
|
|
90
|
+
type: "uint256",
|
|
91
|
+
},
|
|
92
|
+
],
|
|
93
|
+
name: "NotEnoughNative",
|
|
94
|
+
type: "error",
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
inputs: [
|
|
98
|
+
{
|
|
99
|
+
internalType: "address",
|
|
100
|
+
name: "addr",
|
|
101
|
+
type: "address",
|
|
102
|
+
},
|
|
103
|
+
],
|
|
104
|
+
name: "OnlyEndpoint",
|
|
105
|
+
type: "error",
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
inputs: [
|
|
109
|
+
{
|
|
110
|
+
internalType: "uint32",
|
|
111
|
+
name: "eid",
|
|
112
|
+
type: "uint32",
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
internalType: "bytes32",
|
|
116
|
+
name: "sender",
|
|
117
|
+
type: "bytes32",
|
|
118
|
+
},
|
|
119
|
+
],
|
|
120
|
+
name: "OnlyPeer",
|
|
121
|
+
type: "error",
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
anonymous: false,
|
|
125
|
+
inputs: [
|
|
126
|
+
{
|
|
127
|
+
indexed: true,
|
|
128
|
+
internalType: "address",
|
|
129
|
+
name: "sender",
|
|
130
|
+
type: "address",
|
|
131
|
+
},
|
|
132
|
+
],
|
|
133
|
+
name: "AllowedSenderSet",
|
|
134
|
+
type: "event",
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
anonymous: false,
|
|
138
|
+
inputs: [
|
|
139
|
+
{
|
|
140
|
+
components: [
|
|
141
|
+
{
|
|
142
|
+
internalType: "uint32",
|
|
143
|
+
name: "eid",
|
|
144
|
+
type: "uint32",
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
internalType: "uint16",
|
|
148
|
+
name: "msgType",
|
|
149
|
+
type: "uint16",
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
internalType: "bytes",
|
|
153
|
+
name: "options",
|
|
154
|
+
type: "bytes",
|
|
155
|
+
},
|
|
156
|
+
],
|
|
157
|
+
indexed: false,
|
|
158
|
+
internalType: "struct EnforcedOptionParam[]",
|
|
159
|
+
name: "_enforcedOptions",
|
|
160
|
+
type: "tuple[]",
|
|
161
|
+
},
|
|
162
|
+
],
|
|
163
|
+
name: "EnforcedOptionSet",
|
|
164
|
+
type: "event",
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
anonymous: false,
|
|
168
|
+
inputs: [
|
|
169
|
+
{
|
|
170
|
+
indexed: true,
|
|
171
|
+
internalType: "bytes32",
|
|
172
|
+
name: "guid",
|
|
173
|
+
type: "bytes32",
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
indexed: true,
|
|
177
|
+
internalType: "uint32",
|
|
178
|
+
name: "srcEid",
|
|
179
|
+
type: "uint32",
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
indexed: true,
|
|
183
|
+
internalType: "bytes32",
|
|
184
|
+
name: "exchangeRateSource",
|
|
185
|
+
type: "bytes32",
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
indexed: false,
|
|
189
|
+
internalType: "uint256",
|
|
190
|
+
name: "exchangeRate",
|
|
191
|
+
type: "uint256",
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
indexed: false,
|
|
195
|
+
internalType: "uint256",
|
|
196
|
+
name: "updatedAt",
|
|
197
|
+
type: "uint256",
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
indexed: false,
|
|
201
|
+
internalType: "bool",
|
|
202
|
+
name: "rateAccepted",
|
|
203
|
+
type: "bool",
|
|
204
|
+
},
|
|
205
|
+
],
|
|
206
|
+
name: "ExchangeRateReceived",
|
|
207
|
+
type: "event",
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
anonymous: false,
|
|
211
|
+
inputs: [
|
|
212
|
+
{
|
|
213
|
+
indexed: true,
|
|
214
|
+
internalType: "bytes32",
|
|
215
|
+
name: "guid",
|
|
216
|
+
type: "bytes32",
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
indexed: true,
|
|
220
|
+
internalType: "uint32",
|
|
221
|
+
name: "dstEid",
|
|
222
|
+
type: "uint32",
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
indexed: true,
|
|
226
|
+
internalType: "address",
|
|
227
|
+
name: "exchangeRateSource",
|
|
228
|
+
type: "address",
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
indexed: false,
|
|
232
|
+
internalType: "uint256",
|
|
233
|
+
name: "exchangeRate",
|
|
234
|
+
type: "uint256",
|
|
235
|
+
},
|
|
236
|
+
],
|
|
237
|
+
name: "ExchangeRateSent",
|
|
238
|
+
type: "event",
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
anonymous: false,
|
|
242
|
+
inputs: [
|
|
243
|
+
{
|
|
244
|
+
indexed: false,
|
|
245
|
+
internalType: "uint8",
|
|
246
|
+
name: "version",
|
|
247
|
+
type: "uint8",
|
|
248
|
+
},
|
|
249
|
+
],
|
|
250
|
+
name: "Initialized",
|
|
251
|
+
type: "event",
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
anonymous: false,
|
|
255
|
+
inputs: [
|
|
256
|
+
{
|
|
257
|
+
indexed: true,
|
|
258
|
+
internalType: "address",
|
|
259
|
+
name: "previousOwner",
|
|
260
|
+
type: "address",
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
indexed: true,
|
|
264
|
+
internalType: "address",
|
|
265
|
+
name: "newOwner",
|
|
266
|
+
type: "address",
|
|
267
|
+
},
|
|
268
|
+
],
|
|
269
|
+
name: "OwnershipTransferred",
|
|
270
|
+
type: "event",
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
anonymous: false,
|
|
274
|
+
inputs: [
|
|
275
|
+
{
|
|
276
|
+
indexed: false,
|
|
277
|
+
internalType: "uint32",
|
|
278
|
+
name: "eid",
|
|
279
|
+
type: "uint32",
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
indexed: false,
|
|
283
|
+
internalType: "bytes32",
|
|
284
|
+
name: "peer",
|
|
285
|
+
type: "bytes32",
|
|
286
|
+
},
|
|
287
|
+
],
|
|
288
|
+
name: "PeerSet",
|
|
289
|
+
type: "event",
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
inputs: [
|
|
293
|
+
{
|
|
294
|
+
components: [
|
|
295
|
+
{
|
|
296
|
+
internalType: "uint32",
|
|
297
|
+
name: "srcEid",
|
|
298
|
+
type: "uint32",
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
internalType: "bytes32",
|
|
302
|
+
name: "sender",
|
|
303
|
+
type: "bytes32",
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
internalType: "uint64",
|
|
307
|
+
name: "nonce",
|
|
308
|
+
type: "uint64",
|
|
309
|
+
},
|
|
310
|
+
],
|
|
311
|
+
internalType: "struct Origin",
|
|
312
|
+
name: "origin",
|
|
313
|
+
type: "tuple",
|
|
314
|
+
},
|
|
315
|
+
],
|
|
316
|
+
name: "allowInitializePath",
|
|
317
|
+
outputs: [
|
|
318
|
+
{
|
|
319
|
+
internalType: "bool",
|
|
320
|
+
name: "",
|
|
321
|
+
type: "bool",
|
|
322
|
+
},
|
|
323
|
+
],
|
|
324
|
+
stateMutability: "view",
|
|
325
|
+
type: "function",
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
inputs: [],
|
|
329
|
+
name: "allowedSender",
|
|
330
|
+
outputs: [
|
|
331
|
+
{
|
|
332
|
+
internalType: "address",
|
|
333
|
+
name: "",
|
|
334
|
+
type: "address",
|
|
335
|
+
},
|
|
336
|
+
],
|
|
337
|
+
stateMutability: "view",
|
|
338
|
+
type: "function",
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
inputs: [
|
|
342
|
+
{
|
|
343
|
+
internalType: "uint32",
|
|
344
|
+
name: "_eid",
|
|
345
|
+
type: "uint32",
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
internalType: "uint16",
|
|
349
|
+
name: "_msgType",
|
|
350
|
+
type: "uint16",
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
internalType: "bytes",
|
|
354
|
+
name: "_extraOptions",
|
|
355
|
+
type: "bytes",
|
|
356
|
+
},
|
|
357
|
+
],
|
|
358
|
+
name: "combineOptions",
|
|
359
|
+
outputs: [
|
|
360
|
+
{
|
|
361
|
+
internalType: "bytes",
|
|
362
|
+
name: "",
|
|
363
|
+
type: "bytes",
|
|
364
|
+
},
|
|
365
|
+
],
|
|
366
|
+
stateMutability: "view",
|
|
367
|
+
type: "function",
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
inputs: [],
|
|
371
|
+
name: "eid",
|
|
372
|
+
outputs: [
|
|
373
|
+
{
|
|
374
|
+
internalType: "uint32",
|
|
375
|
+
name: "",
|
|
376
|
+
type: "uint32",
|
|
377
|
+
},
|
|
378
|
+
],
|
|
379
|
+
stateMutability: "view",
|
|
380
|
+
type: "function",
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
inputs: [],
|
|
384
|
+
name: "endpoint",
|
|
385
|
+
outputs: [
|
|
386
|
+
{
|
|
387
|
+
internalType: "contract ILayerZeroEndpointV2",
|
|
388
|
+
name: "",
|
|
389
|
+
type: "address",
|
|
390
|
+
},
|
|
391
|
+
],
|
|
392
|
+
stateMutability: "view",
|
|
393
|
+
type: "function",
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
inputs: [
|
|
397
|
+
{
|
|
398
|
+
internalType: "uint32",
|
|
399
|
+
name: "_eid",
|
|
400
|
+
type: "uint32",
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
internalType: "uint16",
|
|
404
|
+
name: "_msgType",
|
|
405
|
+
type: "uint16",
|
|
406
|
+
},
|
|
407
|
+
],
|
|
408
|
+
name: "enforcedOptions",
|
|
409
|
+
outputs: [
|
|
410
|
+
{
|
|
411
|
+
internalType: "bytes",
|
|
412
|
+
name: "",
|
|
413
|
+
type: "bytes",
|
|
414
|
+
},
|
|
415
|
+
],
|
|
416
|
+
stateMutability: "view",
|
|
417
|
+
type: "function",
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
inputs: [
|
|
421
|
+
{
|
|
422
|
+
internalType: "uint32",
|
|
423
|
+
name: "_srcEid",
|
|
424
|
+
type: "uint32",
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
internalType: "bytes32",
|
|
428
|
+
name: "exchangeRateSource",
|
|
429
|
+
type: "bytes32",
|
|
430
|
+
},
|
|
431
|
+
],
|
|
432
|
+
name: "getExchangeRate",
|
|
433
|
+
outputs: [
|
|
434
|
+
{
|
|
435
|
+
components: [
|
|
436
|
+
{
|
|
437
|
+
internalType: "uint256",
|
|
438
|
+
name: "exchangeRate",
|
|
439
|
+
type: "uint256",
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
internalType: "uint256",
|
|
443
|
+
name: "updatedAt",
|
|
444
|
+
type: "uint256",
|
|
445
|
+
},
|
|
446
|
+
],
|
|
447
|
+
internalType: "struct IPExchangeRateOracleApp.ExchangeRateData",
|
|
448
|
+
name: "exchangeRateData",
|
|
449
|
+
type: "tuple",
|
|
450
|
+
},
|
|
451
|
+
],
|
|
452
|
+
stateMutability: "view",
|
|
453
|
+
type: "function",
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
inputs: [
|
|
457
|
+
{
|
|
458
|
+
internalType: "address",
|
|
459
|
+
name: "_owner",
|
|
460
|
+
type: "address",
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
internalType: "address",
|
|
464
|
+
name: "_delegate",
|
|
465
|
+
type: "address",
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
internalType: "address",
|
|
469
|
+
name: "_allowedSender",
|
|
470
|
+
type: "address",
|
|
471
|
+
},
|
|
472
|
+
],
|
|
473
|
+
name: "initialize",
|
|
474
|
+
outputs: [],
|
|
475
|
+
stateMutability: "nonpayable",
|
|
476
|
+
type: "function",
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
inputs: [
|
|
480
|
+
{
|
|
481
|
+
components: [
|
|
482
|
+
{
|
|
483
|
+
internalType: "uint32",
|
|
484
|
+
name: "srcEid",
|
|
485
|
+
type: "uint32",
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
internalType: "bytes32",
|
|
489
|
+
name: "sender",
|
|
490
|
+
type: "bytes32",
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
internalType: "uint64",
|
|
494
|
+
name: "nonce",
|
|
495
|
+
type: "uint64",
|
|
496
|
+
},
|
|
497
|
+
],
|
|
498
|
+
internalType: "struct Origin",
|
|
499
|
+
name: "",
|
|
500
|
+
type: "tuple",
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
internalType: "bytes",
|
|
504
|
+
name: "",
|
|
505
|
+
type: "bytes",
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
internalType: "address",
|
|
509
|
+
name: "_sender",
|
|
510
|
+
type: "address",
|
|
511
|
+
},
|
|
512
|
+
],
|
|
513
|
+
name: "isComposeMsgSender",
|
|
514
|
+
outputs: [
|
|
515
|
+
{
|
|
516
|
+
internalType: "bool",
|
|
517
|
+
name: "",
|
|
518
|
+
type: "bool",
|
|
519
|
+
},
|
|
520
|
+
],
|
|
521
|
+
stateMutability: "view",
|
|
522
|
+
type: "function",
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
inputs: [
|
|
526
|
+
{
|
|
527
|
+
components: [
|
|
528
|
+
{
|
|
529
|
+
internalType: "uint32",
|
|
530
|
+
name: "srcEid",
|
|
531
|
+
type: "uint32",
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
internalType: "bytes32",
|
|
535
|
+
name: "sender",
|
|
536
|
+
type: "bytes32",
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
internalType: "uint64",
|
|
540
|
+
name: "nonce",
|
|
541
|
+
type: "uint64",
|
|
542
|
+
},
|
|
543
|
+
],
|
|
544
|
+
internalType: "struct Origin",
|
|
545
|
+
name: "_origin",
|
|
546
|
+
type: "tuple",
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
internalType: "bytes32",
|
|
550
|
+
name: "_guid",
|
|
551
|
+
type: "bytes32",
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
internalType: "bytes",
|
|
555
|
+
name: "_message",
|
|
556
|
+
type: "bytes",
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
internalType: "address",
|
|
560
|
+
name: "_executor",
|
|
561
|
+
type: "address",
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
internalType: "bytes",
|
|
565
|
+
name: "_extraData",
|
|
566
|
+
type: "bytes",
|
|
567
|
+
},
|
|
568
|
+
],
|
|
569
|
+
name: "lzReceive",
|
|
570
|
+
outputs: [],
|
|
571
|
+
stateMutability: "payable",
|
|
572
|
+
type: "function",
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
inputs: [
|
|
576
|
+
{
|
|
577
|
+
internalType: "uint32",
|
|
578
|
+
name: "",
|
|
579
|
+
type: "uint32",
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
internalType: "bytes32",
|
|
583
|
+
name: "",
|
|
584
|
+
type: "bytes32",
|
|
585
|
+
},
|
|
586
|
+
],
|
|
587
|
+
name: "nextNonce",
|
|
588
|
+
outputs: [
|
|
589
|
+
{
|
|
590
|
+
internalType: "uint64",
|
|
591
|
+
name: "nonce",
|
|
592
|
+
type: "uint64",
|
|
593
|
+
},
|
|
594
|
+
],
|
|
595
|
+
stateMutability: "view",
|
|
596
|
+
type: "function",
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
inputs: [],
|
|
600
|
+
name: "oAppVersion",
|
|
601
|
+
outputs: [
|
|
602
|
+
{
|
|
603
|
+
internalType: "uint64",
|
|
604
|
+
name: "senderVersion",
|
|
605
|
+
type: "uint64",
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
internalType: "uint64",
|
|
609
|
+
name: "receiverVersion",
|
|
610
|
+
type: "uint64",
|
|
611
|
+
},
|
|
612
|
+
],
|
|
613
|
+
stateMutability: "pure",
|
|
614
|
+
type: "function",
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
inputs: [],
|
|
618
|
+
name: "owner",
|
|
619
|
+
outputs: [
|
|
620
|
+
{
|
|
621
|
+
internalType: "address",
|
|
622
|
+
name: "",
|
|
623
|
+
type: "address",
|
|
624
|
+
},
|
|
625
|
+
],
|
|
626
|
+
stateMutability: "view",
|
|
627
|
+
type: "function",
|
|
628
|
+
},
|
|
629
|
+
{
|
|
630
|
+
inputs: [
|
|
631
|
+
{
|
|
632
|
+
internalType: "uint32",
|
|
633
|
+
name: "_eid",
|
|
634
|
+
type: "uint32",
|
|
635
|
+
},
|
|
636
|
+
],
|
|
637
|
+
name: "peers",
|
|
638
|
+
outputs: [
|
|
639
|
+
{
|
|
640
|
+
internalType: "bytes32",
|
|
641
|
+
name: "",
|
|
642
|
+
type: "bytes32",
|
|
643
|
+
},
|
|
644
|
+
],
|
|
645
|
+
stateMutability: "view",
|
|
646
|
+
type: "function",
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
inputs: [
|
|
650
|
+
{
|
|
651
|
+
components: [
|
|
652
|
+
{
|
|
653
|
+
internalType: "address",
|
|
654
|
+
name: "exchangeRateSource",
|
|
655
|
+
type: "address",
|
|
656
|
+
},
|
|
657
|
+
{
|
|
658
|
+
internalType: "uint32",
|
|
659
|
+
name: "dstEid",
|
|
660
|
+
type: "uint32",
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
internalType: "bytes",
|
|
664
|
+
name: "extraOptions",
|
|
665
|
+
type: "bytes",
|
|
666
|
+
},
|
|
667
|
+
],
|
|
668
|
+
internalType: "struct IPExchangeRateOracleApp.SendExchangeRateParam",
|
|
669
|
+
name: "sendParam",
|
|
670
|
+
type: "tuple",
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
internalType: "bool",
|
|
674
|
+
name: "payInLzToken",
|
|
675
|
+
type: "bool",
|
|
676
|
+
},
|
|
677
|
+
],
|
|
678
|
+
name: "quoteSendExchangeRate",
|
|
679
|
+
outputs: [
|
|
680
|
+
{
|
|
681
|
+
components: [
|
|
682
|
+
{
|
|
683
|
+
internalType: "uint256",
|
|
684
|
+
name: "nativeFee",
|
|
685
|
+
type: "uint256",
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
internalType: "uint256",
|
|
689
|
+
name: "lzTokenFee",
|
|
690
|
+
type: "uint256",
|
|
691
|
+
},
|
|
692
|
+
],
|
|
693
|
+
internalType: "struct MessagingFee",
|
|
694
|
+
name: "fee",
|
|
695
|
+
type: "tuple",
|
|
696
|
+
},
|
|
697
|
+
],
|
|
698
|
+
stateMutability: "view",
|
|
699
|
+
type: "function",
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
inputs: [],
|
|
703
|
+
name: "refundAddress",
|
|
704
|
+
outputs: [
|
|
705
|
+
{
|
|
706
|
+
internalType: "address payable",
|
|
707
|
+
name: "",
|
|
708
|
+
type: "address",
|
|
709
|
+
},
|
|
710
|
+
],
|
|
711
|
+
stateMutability: "view",
|
|
712
|
+
type: "function",
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
inputs: [],
|
|
716
|
+
name: "renounceOwnership",
|
|
717
|
+
outputs: [],
|
|
718
|
+
stateMutability: "nonpayable",
|
|
719
|
+
type: "function",
|
|
720
|
+
},
|
|
721
|
+
{
|
|
722
|
+
inputs: [
|
|
723
|
+
{
|
|
724
|
+
components: [
|
|
725
|
+
{
|
|
726
|
+
internalType: "address",
|
|
727
|
+
name: "exchangeRateSource",
|
|
728
|
+
type: "address",
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
internalType: "uint32",
|
|
732
|
+
name: "dstEid",
|
|
733
|
+
type: "uint32",
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
internalType: "bytes",
|
|
737
|
+
name: "extraOptions",
|
|
738
|
+
type: "bytes",
|
|
739
|
+
},
|
|
740
|
+
],
|
|
741
|
+
internalType: "struct IPExchangeRateOracleApp.SendExchangeRateParam",
|
|
742
|
+
name: "sendParam",
|
|
743
|
+
type: "tuple",
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
components: [
|
|
747
|
+
{
|
|
748
|
+
internalType: "uint256",
|
|
749
|
+
name: "nativeFee",
|
|
750
|
+
type: "uint256",
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
internalType: "uint256",
|
|
754
|
+
name: "lzTokenFee",
|
|
755
|
+
type: "uint256",
|
|
756
|
+
},
|
|
757
|
+
],
|
|
758
|
+
internalType: "struct MessagingFee",
|
|
759
|
+
name: "fee",
|
|
760
|
+
type: "tuple",
|
|
761
|
+
},
|
|
762
|
+
],
|
|
763
|
+
name: "sendExchangeRate",
|
|
764
|
+
outputs: [
|
|
765
|
+
{
|
|
766
|
+
components: [
|
|
767
|
+
{
|
|
768
|
+
internalType: "bytes32",
|
|
769
|
+
name: "guid",
|
|
770
|
+
type: "bytes32",
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
internalType: "uint64",
|
|
774
|
+
name: "nonce",
|
|
775
|
+
type: "uint64",
|
|
776
|
+
},
|
|
777
|
+
{
|
|
778
|
+
components: [
|
|
779
|
+
{
|
|
780
|
+
internalType: "uint256",
|
|
781
|
+
name: "nativeFee",
|
|
782
|
+
type: "uint256",
|
|
783
|
+
},
|
|
784
|
+
{
|
|
785
|
+
internalType: "uint256",
|
|
786
|
+
name: "lzTokenFee",
|
|
787
|
+
type: "uint256",
|
|
788
|
+
},
|
|
789
|
+
],
|
|
790
|
+
internalType: "struct MessagingFee",
|
|
791
|
+
name: "fee",
|
|
792
|
+
type: "tuple",
|
|
793
|
+
},
|
|
794
|
+
],
|
|
795
|
+
internalType: "struct MessagingReceipt",
|
|
796
|
+
name: "receipt",
|
|
797
|
+
type: "tuple",
|
|
798
|
+
},
|
|
799
|
+
],
|
|
800
|
+
stateMutability: "payable",
|
|
801
|
+
type: "function",
|
|
802
|
+
},
|
|
803
|
+
{
|
|
804
|
+
inputs: [
|
|
805
|
+
{
|
|
806
|
+
internalType: "address",
|
|
807
|
+
name: "_allowedSender",
|
|
808
|
+
type: "address",
|
|
809
|
+
},
|
|
810
|
+
],
|
|
811
|
+
name: "setAllowedSender",
|
|
812
|
+
outputs: [],
|
|
813
|
+
stateMutability: "nonpayable",
|
|
814
|
+
type: "function",
|
|
815
|
+
},
|
|
816
|
+
{
|
|
817
|
+
inputs: [
|
|
818
|
+
{
|
|
819
|
+
internalType: "address",
|
|
820
|
+
name: "_delegate",
|
|
821
|
+
type: "address",
|
|
822
|
+
},
|
|
823
|
+
],
|
|
824
|
+
name: "setDelegate",
|
|
825
|
+
outputs: [],
|
|
826
|
+
stateMutability: "nonpayable",
|
|
827
|
+
type: "function",
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
inputs: [
|
|
831
|
+
{
|
|
832
|
+
components: [
|
|
833
|
+
{
|
|
834
|
+
internalType: "uint32",
|
|
835
|
+
name: "eid",
|
|
836
|
+
type: "uint32",
|
|
837
|
+
},
|
|
838
|
+
{
|
|
839
|
+
internalType: "uint16",
|
|
840
|
+
name: "msgType",
|
|
841
|
+
type: "uint16",
|
|
842
|
+
},
|
|
843
|
+
{
|
|
844
|
+
internalType: "bytes",
|
|
845
|
+
name: "options",
|
|
846
|
+
type: "bytes",
|
|
847
|
+
},
|
|
848
|
+
],
|
|
849
|
+
internalType: "struct EnforcedOptionParam[]",
|
|
850
|
+
name: "_enforcedOptions",
|
|
851
|
+
type: "tuple[]",
|
|
852
|
+
},
|
|
853
|
+
],
|
|
854
|
+
name: "setEnforcedOptions",
|
|
855
|
+
outputs: [],
|
|
856
|
+
stateMutability: "nonpayable",
|
|
857
|
+
type: "function",
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
inputs: [
|
|
861
|
+
{
|
|
862
|
+
internalType: "uint32",
|
|
863
|
+
name: "_eid",
|
|
864
|
+
type: "uint32",
|
|
865
|
+
},
|
|
866
|
+
{
|
|
867
|
+
internalType: "bytes32",
|
|
868
|
+
name: "_peer",
|
|
869
|
+
type: "bytes32",
|
|
870
|
+
},
|
|
871
|
+
],
|
|
872
|
+
name: "setPeer",
|
|
873
|
+
outputs: [],
|
|
874
|
+
stateMutability: "nonpayable",
|
|
875
|
+
type: "function",
|
|
876
|
+
},
|
|
877
|
+
{
|
|
878
|
+
inputs: [
|
|
879
|
+
{
|
|
880
|
+
internalType: "address",
|
|
881
|
+
name: "newOwner",
|
|
882
|
+
type: "address",
|
|
883
|
+
},
|
|
884
|
+
],
|
|
885
|
+
name: "transferOwnership",
|
|
886
|
+
outputs: [],
|
|
887
|
+
stateMutability: "nonpayable",
|
|
888
|
+
type: "function",
|
|
889
|
+
},
|
|
890
|
+
];
|
|
891
|
+
|
|
892
|
+
const _bytecode =
|
|
893
|
+
"0x60e060405234801561000f575f5ffd5b506040516126b43803806126b483398101604081905261002e9161018d565b6001600160a01b03808316608052811660a0526100496100ba565b816001600160a01b031663416ecebf6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610085573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100a991906101c5565b63ffffffff1660c052506101ef9050565b5f54610100900460ff16156101255760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b5f5460ff90811614610174575f805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b6001600160a01b038116811461018a575f5ffd5b50565b5f5f6040838503121561019e575f5ffd5b82516101a981610176565b60208401519092506101ba81610176565b809150509250929050565b5f602082840312156101d5575f5ffd5b815163ffffffff811681146101e8575f5ffd5b9392505050565b60805160a05160c05161245c6102585f395f818161024b0152818161048d015261084a01525f818161012401526108de01525f81816102bf0152818161054601528181610dbc015281816110ee015281816113290152818161154101526115f8015261245c5ff3fe60806040526004361061010f575f3560e01c80630cb61f6c14610113578063124460811461015c57806313137d651461018857806314c7407b1461019d5780631575eaae146101bc57806317442b70146101db57806323882c6c146101fc5780633400288b1461021b578063416ecebf1461023a5780635535d461146102825780635e280f11146102ae578063715018a6146102e15780637d25a05e146102f557806382413eac1461032e5780638da5cb5b1461035d5780639e3a229814610371578063b98bd07014610391578063bb0b6a53146103b0578063bc70b354146103dd578063c0c53b8b146103fc578063ca5eb5e11461041b578063f2fde38b1461043a578063ff7bd03d14610459575b5f5ffd5b34801561011e575f5ffd5b506101467f000000000000000000000000000000000000000000000000000000000000000081565b6040516101539190611971565b60405180910390f35b348015610167575f5ffd5b5061017b610176366004611998565b610478565b60405161015391906119c0565b61019b610196366004611a45565b610544565b005b3480156101a8575f5ffd5b5061017b6101b7366004611aec565b6105fc565b3480156101c7575f5ffd5b5060ca54610146906001600160a01b031681565b3480156101e6575f5ffd5b5060408051600181526002602082015201610153565b348015610207575f5ffd5b5061019b610216366004611b3a565b61064d565b348015610226575f5ffd5b5061019b610235366004611998565b610661565b348015610245575f5ffd5b5061026d7f000000000000000000000000000000000000000000000000000000000000000081565b60405163ffffffff9091168152602001610153565b34801561028d575f5ffd5b506102a161029c366004611b66565b6106cb565b6040516101539190611be4565b3480156102b9575f5ffd5b506101467f000000000000000000000000000000000000000000000000000000000000000081565b3480156102ec575f5ffd5b5061019b61078b565b348015610300575f5ffd5b5061031661030f366004611998565b5f92915050565b6040516001600160401b039091168152602001610153565b348015610339575f5ffd5b5061034d610348366004611bf6565b61079e565b6040519015158152602001610153565b348015610368575f5ffd5b506101466107b3565b61038461037f366004611c58565b6107c2565b6040516101539190611cad565b34801561039c575f5ffd5b5061019b6103ab366004611cec565b610977565b3480156103bb575f5ffd5b506103cf6103ca366004611d5b565b610add565b604051908152602001610153565b3480156103e8575f5ffd5b506102a16103f7366004611d74565b610b03565b348015610407575f5ffd5b5061019b610416366004611dd0565b610c7d565b348015610426575f5ffd5b5061019b610435366004611b3a565b610d9d565b348015610445575f5ffd5b5061019b610454366004611b3a565b610e21565b348015610464575f5ffd5b5061034d610473366004611e18565b610e97565b604080518082019091525f80825260208201527f000000000000000000000000000000000000000000000000000000000000000063ffffffff168363ffffffff16036104e9575f6104cd83610eb4565b610eb4565b60408051808201909152908152426020820152915061053e9050565b5063ffffffff82165f90815260c960209081526040808320848452825280832081518083019092528054825260010154918101829052910361053e5760405163877eb06960e01b815260040160405180910390fd5b92915050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316331461059857336040516391ac5e4f60e01b815260040161058f9190611971565b60405180910390fd5b602087018035906105b2906105ad908a611d5b565b610f6f565b146105e4576105c46020880188611d5b565b876020013560405163309afaf360e21b815260040161058f929190611e32565b6105f387878787878787610fbe565b50505050505050565b610604611936565b5f6106156104c86020860186611b3a565b90505f5f610623868461105d565b909250905061064361063b6040880160208901611d5b565b8383886110e4565b9695505050505050565b6106556111b7565b61065e81611216565b50565b6106696111b7565b5f61067261125f565b63ffffffff84165f9081526020829052604090819020849055519091507f238399d427b947898edb290f5ff0f9109849b1c3ba196a42e35f00c50a54b98b906106be9085908590611e32565b60405180910390a1505050565b60605f6106d6611283565b63ffffffff85165f9081526020828152604080832061ffff88168452909152902080549192509061070690611e48565b80601f016020809104026020016040519081016040528092919081815260200182805461073290611e48565b801561077d5780601f106107545761010080835404028352916020019161077d565b820191905f5260205f20905b81548152906001019060200180831161076057829003601f168201915b505050505091505092915050565b6107936111b7565b61079c5f6112a7565b565b6001600160a01b03811630145b949350505050565b6033546001600160a01b031690565b6107ca61194e565b6107d26107b3565b6001600160a01b0316336001600160a01b031614806107fb575060ca546001600160a01b031633145b6108385760405162461bcd60e51b815260206004820152600e60248201526d139bdd08185d5d1a1bdc9a5e995960921b604482015260640161058f565b6108486040840160208501611d5b565b7f000000000000000000000000000000000000000000000000000000000000000063ffffffff168163ffffffff16036108945760405163639662e960e11b815260040160405180910390fd5b5f6108a56104c86020870187611b3a565b90505f5f6108b3878461105d565b90925090506109026108cb6040890160208a01611d5b565b83836108dc368b90038b018b611eb6565b7f00000000000000000000000000000000000000000000000000000000000000006112f8565b94506109116020880188611b3a565b6001600160a01b031661092a6040890160208a01611d5b565b63ffffffff16865f01517f04d9e6ce9b15f33adcb2fce632432414b9544ce5a786c765a23cad47ff89c89e8660405161096591815260200190565b60405180910390a45050505092915050565b61097f6111b7565b5f610988611283565b90505f5b82811015610aab576109ce8484838181106109a9576109a9611ee7565b90506020028101906109bb9190611efb565b6109c9906040810190611f19565b6113fe565b8383828181106109e0576109e0611ee7565b90506020028101906109f29190611efb565b610a00906040810190611f19565b835f878786818110610a1457610a14611ee7565b9050602002810190610a269190611efb565b610a34906020810190611d5b565b63ffffffff1663ffffffff1681526020019081526020015f205f878786818110610a6057610a60611ee7565b9050602002810190610a729190611efb565b610a83906040810190602001611f5b565b61ffff16815260208101919091526040015f2091610aa2919083611fb8565b5060010161098c565b507fbe4864a8e820971c0247f5992e2da559595f7bf076a21cb5928d443d2a13b67483836040516106be929190612099565b5f5f610ae761125f565b63ffffffff9093165f9081526020939093525050604090205490565b60605f610b0e611283565b63ffffffff87165f9081526020828152604080832061ffff8a168452909152812080549293509091610b3f90611e48565b80601f0160208091040260200160405190810160405280929190818152602001828054610b6b90611e48565b8015610bb65780601f10610b8d57610100808354040283529160200191610bb6565b820191905f5260205f20905b815481529060010190602001808311610b9957829003601f168201915b5050505050905080515f03610c055784848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152509295506107ab945050505050565b5f849003610c165791506107ab9050565b60028410610c6057610c2885856113fe565b80610c36856002818961217e565b604051602001610c48939291906121a5565b604051602081830303815290604052925050506107ab565b8484604051639a6d49cd60e01b815260040161058f9291906121cb565b5f54610100900460ff1615808015610c9b57505f54600160ff909116105b80610cbb5750610caa30611444565b158015610cbb57505f5460ff166001145b610d1e5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161058f565b5f805460ff191660011790558015610d3f575f805461ff0019166101001790555b610d498484611453565b610d5282611216565b8015610d97575f805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050565b610da56111b7565b60405163ca5eb5e160e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063ca5eb5e190610df1908490600401611971565b5f604051808303815f87803b158015610e08575f5ffd5b505af1158015610e1a573d5f5f3e3d5ffd5b5050505050565b610e296111b7565b6001600160a01b038116610e8e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161058f565b61065e816112a7565b5f60208201803590610ead906103ca9085611d5b565b1492915050565b5f816001600160a01b0316633ba0b9a96040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610f0f575060408051601f3d908101601f19168201909252610f0c918101906121de565b60015b61053e573d808015610f3c576040519150601f19603f3d011682016040523d82523d5f602084013e610f41565b606091505b5080518015610f51578060208301fd5b604051633a74c8db60e01b815260040160405180910390fd5b919050565b5f5f610f7961125f565b63ffffffff84165f9081526020829052604090205490915080610fb75760405163f6ff4fb760e01b815263ffffffff8516600482015260240161058f565b9392505050565b5f5f5f610fcb888861148f565b919450925090505f610feb610fe360208d018d611d5b565b8585856114d5565b905083610ffb60208d018d611d5b565b63ffffffff168b7f379974d7179a65c64dec15e12045840783f87b63af3eb7fa2dcc01a019cb13748686866040516110489392919092835260208301919091521515604082015260600190565b60405180910390a45050505050505050505050565b6060805f6110b56110716020870187611b3a565b604080516001602082018190526001600160a01b03939093168183015260608101889052426080808301919091528251808303909101815260a09091019091529091565b935090506110da6110cc6040870160208801611d5b565b826103f76040890189611f19565b9150509250929050565b6110ec611936565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ddc28c586040518060a001604052808863ffffffff16815260200161113b89610f6f565b8152602001878152602001868152602001851515815250306040518363ffffffff1660e01b81526004016111709291906121f5565b6040805180830381865afa15801561118a573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111ae919061229c565b95945050505050565b336111c06107b3565b6001600160a01b03161461079c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058f565b60ca80546001600160a01b0319166001600160a01b0383169081179091556040517fd23ff0a6a463221f2754af2715b7505cb4887c80a6ffcf7eb85fdb9d2ea1e74b905f90a250565b7f72ab1bc1039b79dc4724ffca13de82c96834302d3c7e0d4252232d4b2dd8f90090565b7f8d2bda5d9f6ffb5796910376005392955773acee5548d0fcdb10e7c264ea000090565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b61130061194e565b5f61130d845f0151611517565b60208501519091501561132757611327846020015161153e565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632637a450826040518060a001604052808b63ffffffff1681526020016113778c610f6f565b81526020018a81526020018981526020015f8960200151111515815250866040518463ffffffff1660e01b81526004016113b29291906121f5565b60806040518083038185885af11580156113ce573d5f5f3e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906113f391906122b6565b979650505050505050565b5f61140c600282848661217e565b61141591612328565b60f01c90506003811461143f578282604051639a6d49cd60e01b815260040161058f9291906121cb565b505050565b6001600160a01b03163b151590565b5f54610100900460ff166114795760405162461bcd60e51b815260040161058f9061235e565b6114828161161d565b61148b826112a7565b5050565b5f80808061149f858701876123a9565b91965094509250905061ffff81166001146114cd5760405163f23fef6f60e01b815260040160405180910390fd5b509250925092565b63ffffffff84165f90815260c9602090815260408083208684529091528120600181015483111561150e57838155600181810184905591505b50949350505050565b5f81341461153a576040516304fb820960e51b815234600482015260240161058f565b5090565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663e4fe1d946040518163ffffffff1660e01b8152600401602060405180830381865afa15801561159b573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115bf91906123df565b90506001600160a01b0381166115e8576040516329b99a9560e11b815260040160405180910390fd5b61148b6001600160a01b038216337f00000000000000000000000000000000000000000000000000000000000000008561165c565b5f54610100900460ff166116435760405162461bcd60e51b815260040161058f9061235e565b61164c816116b6565b6116546116e5565b61065e6116e5565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610d9790859061170b565b5f54610100900460ff166116dc5760405162461bcd60e51b815260040161058f9061235e565b61065e816117de565b5f54610100900460ff1661079c5760405162461bcd60e51b815260040161058f9061235e565b5f61175f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661182b9092919063ffffffff16565b905080515f148061177f57508080602001905181019061177f91906123fa565b61143f5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161058f565b5f54610100900460ff166118045760405162461bcd60e51b815260040161058f9061235e565b6001600160a01b038116610da557604051632d618d8160e21b815260040160405180910390fd5b60606107ab84845f85855f5f866001600160a01b031685876040516118509190612415565b5f6040518083038185875af1925050503d805f811461188a576040519150601f19603f3d011682016040523d82523d5f602084013e61188f565b606091505b50915091506113f387838387606083156119075782515f03611900576118b485611444565b6119005760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161058f565b50816107ab565b6107ab838381511561191c5781518083602001fd5b8060405162461bcd60e51b815260040161058f9190611be4565b60405180604001604052805f81526020015f81525090565b604080516060810182525f808252602082015290810161196c611936565b905290565b6001600160a01b0391909116815260200190565b803563ffffffff81168114610f6a575f5ffd5b5f5f604083850312156119a9575f5ffd5b6119b283611985565b946020939093013593505050565b81518152602080830151908201526040810161053e565b5f606082840312156119e7575f5ffd5b50919050565b5f5f83601f8401126119fd575f5ffd5b5081356001600160401b03811115611a13575f5ffd5b602083019150836020828501011115611a2a575f5ffd5b9250929050565b6001600160a01b038116811461065e575f5ffd5b5f5f5f5f5f5f5f60e0888a031215611a5b575f5ffd5b611a6589896119d7565b96506060880135955060808801356001600160401b03811115611a86575f5ffd5b611a928a828b016119ed565b90965094505060a0880135611aa681611a31565b925060c08801356001600160401b03811115611ac0575f5ffd5b611acc8a828b016119ed565b989b979a50959850939692959293505050565b801515811461065e575f5ffd5b5f5f60408385031215611afd575f5ffd5b82356001600160401b03811115611b12575f5ffd5b611b1e858286016119d7565b9250506020830135611b2f81611adf565b809150509250929050565b5f60208284031215611b4a575f5ffd5b8135610fb781611a31565b803561ffff81168114610f6a575f5ffd5b5f5f60408385031215611b77575f5ffd5b611b8083611985565b9150611b8e60208401611b55565b90509250929050565b5f5b83811015611bb1578181015183820152602001611b99565b50505f910152565b5f8151808452611bd0816020860160208601611b97565b601f01601f19169290920160200192915050565b602081525f610fb76020830184611bb9565b5f5f5f5f60a08587031215611c09575f5ffd5b611c1386866119d7565b935060608501356001600160401b03811115611c2d575f5ffd5b611c39878288016119ed565b9094509250506080850135611c4d81611a31565b939692955090935050565b5f5f8284036060811215611c6a575f5ffd5b83356001600160401b03811115611c7f575f5ffd5b611c8b868287016119d7565b9350506040601f1982011215611c9f575f5ffd5b506020830190509250929050565b815181526020808301516001600160401b0316908201526040808301516080830191611ce59084018280518252602090810151910152565b5092915050565b5f5f60208385031215611cfd575f5ffd5b82356001600160401b03811115611d12575f5ffd5b8301601f81018513611d22575f5ffd5b80356001600160401b03811115611d37575f5ffd5b8560208260051b8401011115611d4b575f5ffd5b6020919091019590945092505050565b5f60208284031215611d6b575f5ffd5b610fb782611985565b5f5f5f5f60608587031215611d87575f5ffd5b611d9085611985565b9350611d9e60208601611b55565b925060408501356001600160401b03811115611db8575f5ffd5b611dc4878288016119ed565b95989497509550505050565b5f5f5f60608486031215611de2575f5ffd5b8335611ded81611a31565b92506020840135611dfd81611a31565b91506040840135611e0d81611a31565b809150509250925092565b5f60608284031215611e28575f5ffd5b610fb783836119d7565b63ffffffff929092168252602082015260400190565b600181811c90821680611e5c57607f821691505b6020821081036119e757634e487b7160e01b5f52602260045260245ffd5b634e487b7160e01b5f52604160045260245ffd5b604080519081016001600160401b0381118282101715611eb057611eb0611e7a565b60405290565b5f6040828403128015611ec7575f5ffd5b50611ed0611e8e565b823581526020928301359281019290925250919050565b634e487b7160e01b5f52603260045260245ffd5b5f8235605e19833603018112611f0f575f5ffd5b9190910192915050565b5f5f8335601e19843603018112611f2e575f5ffd5b8301803591506001600160401b03821115611f47575f5ffd5b602001915036819003821315611a2a575f5ffd5b5f60208284031215611f6b575f5ffd5b610fb782611b55565b601f82111561143f57805f5260205f20601f840160051c81016020851015611f995750805b601f840160051c820191505b81811015610e1a575f8155600101611fa5565b6001600160401b03831115611fcf57611fcf611e7a565b611fe383611fdd8354611e48565b83611f74565b5f601f841160018114612014575f8515611ffd5750838201355b5f19600387901b1c1916600186901b178355610e1a565b5f83815260208120601f198716915b828110156120435786850135825560209485019460019092019101612023565b508682101561205f575f1960f88860031b161c19848701351681555b505060018560011b0183555050505050565b81835281816020850137505f828201602090810191909152601f909101601f19169091010190565b602080825281018290525f6040600584901b830181019083018583605e1936839003015b8782101561217157868503603f1901845282358181126120db575f5ffd5b890163ffffffff6120eb82611985565b16865261ffff6120fd60208301611b55565b1660208701526040810135601e19823603018112612119575f5ffd5b016020810190356001600160401b03811115612133575f5ffd5b803603821315612141575f5ffd5b60606040880152612156606088018284612071565b965050506020830192506020840193506001820191506120bd565b5092979650505050505050565b5f5f8585111561218c575f5ffd5b83861115612198575f5ffd5b5050820193919092039150565b5f84516121b6818460208901611b97565b8201838582375f930192835250909392505050565b602081525f6107ab602083018486612071565b5f602082840312156121ee575f5ffd5b5051919050565b6040815263ffffffff8351166040820152602083015160608201525f604084015160a0608084015261222a60e0840182611bb9565b90506060850151603f198483030160a08501526122478282611bb9565b60809690960151151560c08501525050506001600160a01b039190911660209091015290565b5f6040828403121561227d575f5ffd5b612285611e8e565b825181526020928301519281019290925250919050565b5f604082840312156122ac575f5ffd5b610fb7838361226d565b5f60808284031280156122c7575f5ffd5b50604051606081016001600160401b03811182821017156122ea576122ea611e7a565b6040528251815260208301516001600160401b038116811461230a575f5ffd5b602082015261231c846040850161226d565b60408201529392505050565b80356001600160f01b03198116906002841015611ce5576001600160f01b031960029490940360031b84901b1690921692915050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b5f5f5f5f608085870312156123bc575f5ffd5b6123c585611b55565b966020860135965060408601359560600135945092505050565b5f602082840312156123ef575f5ffd5b8151610fb781611a31565b5f6020828403121561240a575f5ffd5b8151610fb781611adf565b5f8251611f0f818460208701611b9756fea2646970667358221220eae24dd4215b3522a28dbfc1104a6b2bb25e4dba36a89e66144f900be782428964736f6c634300081e0033";
|
|
894
|
+
|
|
895
|
+
type PendleExchangeRateOracleAppConstructorParams =
|
|
896
|
+
| [signer?: Signer]
|
|
897
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
898
|
+
|
|
899
|
+
const isSuperArgs = (
|
|
900
|
+
xs: PendleExchangeRateOracleAppConstructorParams
|
|
901
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
902
|
+
|
|
903
|
+
export class PendleExchangeRateOracleApp__factory extends ContractFactory {
|
|
904
|
+
constructor(...args: PendleExchangeRateOracleAppConstructorParams) {
|
|
905
|
+
if (isSuperArgs(args)) {
|
|
906
|
+
super(...args);
|
|
907
|
+
} else {
|
|
908
|
+
super(_abi, _bytecode, args[0]);
|
|
909
|
+
}
|
|
910
|
+
this.contractName = "PendleExchangeRateOracleApp";
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
deploy(
|
|
914
|
+
_endpoint: string,
|
|
915
|
+
_refundAddress: string,
|
|
916
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
917
|
+
): Promise<PendleExchangeRateOracleApp> {
|
|
918
|
+
return super.deploy(
|
|
919
|
+
_endpoint,
|
|
920
|
+
_refundAddress,
|
|
921
|
+
overrides || {}
|
|
922
|
+
) as Promise<PendleExchangeRateOracleApp>;
|
|
923
|
+
}
|
|
924
|
+
getDeployTransaction(
|
|
925
|
+
_endpoint: string,
|
|
926
|
+
_refundAddress: string,
|
|
927
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
928
|
+
): TransactionRequest {
|
|
929
|
+
return super.getDeployTransaction(
|
|
930
|
+
_endpoint,
|
|
931
|
+
_refundAddress,
|
|
932
|
+
overrides || {}
|
|
933
|
+
);
|
|
934
|
+
}
|
|
935
|
+
attach(address: string): PendleExchangeRateOracleApp {
|
|
936
|
+
return super.attach(address) as PendleExchangeRateOracleApp;
|
|
937
|
+
}
|
|
938
|
+
connect(signer: Signer): PendleExchangeRateOracleApp__factory {
|
|
939
|
+
return super.connect(signer) as PendleExchangeRateOracleApp__factory;
|
|
940
|
+
}
|
|
941
|
+
static readonly contractName: "PendleExchangeRateOracleApp";
|
|
942
|
+
public readonly contractName: "PendleExchangeRateOracleApp";
|
|
943
|
+
static readonly bytecode = _bytecode;
|
|
944
|
+
static readonly abi = _abi;
|
|
945
|
+
static createInterface(): PendleExchangeRateOracleAppInterface {
|
|
946
|
+
return new utils.Interface(_abi) as PendleExchangeRateOracleAppInterface;
|
|
947
|
+
}
|
|
948
|
+
static connect(
|
|
949
|
+
address: string,
|
|
950
|
+
signerOrProvider: Signer | Provider
|
|
951
|
+
): PendleExchangeRateOracleApp {
|
|
952
|
+
return new Contract(
|
|
953
|
+
address,
|
|
954
|
+
_abi,
|
|
955
|
+
signerOrProvider
|
|
956
|
+
) as PendleExchangeRateOracleApp;
|
|
957
|
+
}
|
|
958
|
+
}
|