@pendle/core-v2 6.6.1 → 6.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerUpg.sol/PendleGaugeControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.json +2 -88
- package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.json +2 -122
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/sPendle/StakedPendle.sol/StakedPendle.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactoryV7Upg.sol/PendleMarketFactoryV7Upg.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketV7.sol/PendleMarketV7.dbg.json +1 -1
- package/build/artifacts/contracts/core/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/FixedPricePTAMMV2.sol/FixedPricePTAMMV2.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/PendleSwapHelper.sol/PendleSwapHelper.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/deposit-box/DepositBox.sol/DepositBox.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/deposit-box/DepositBoxFactory.sol/DepositBoxFactory.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/factory/PendleBridgePTFactory.sol/PendleBridgePTFactory.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/factory/PendleBridgePTFactory.sol/PendleBridgePTFactory.json +1388 -0
- package/build/artifacts/contracts/cross-chain/funder/BridgeFunder.sol/BridgeFunder.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol/OFTAdapterAltImpl.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol/OFTAdapterAltImpl.json +46 -14
- package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.json +46 -14
- package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFT.sol/PendleOFT.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFT.sol/PendleOFT.json +1541 -0
- package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFTAlt.sol/PendleOFTAlt.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFTAlt.sol/PendleOFTAlt.json +1570 -0
- package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.json +57 -35
- package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol/PendleBridgedPrincipalTokenAlt.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol/PendleBridgedPrincipalTokenAlt.json +57 -35
- package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.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/IPBridgeFunder.sol/IPBridgeFunder.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBridgePTFactory.sol/IPBridgePTFactory.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPBridgePTFactory.sol/IPBridgePTFactory.json +1026 -0
- package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.json +11 -0
- package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPDepositBoxFactory.sol/IPDepositBoxFactory.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/IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMV2.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/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/IPMerkleDistributor.sol/IPMerkleDistributor.json +0 -67
- 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/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.json +0 -120
- package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPTOFTAdapterFactory.sol/IPPTOFTAdapterFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPStakedPendle.sol/IPStakedPendle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPSwapHelper.sol/IPSwapHelper.dbg.json +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/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +2 -2
- package/build/artifacts/contracts/limit/helpers/MintSyHelper.sol/MintSyHelper.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/BalanceReader.sol/ILegacyMarket.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/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 +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleProxyAdmin.sol/PendleProxyAdmin.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/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +2 -2
- package/contracts/LiquidityMining/PendleMerkleDistributor.sol +1 -28
- package/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol +1 -36
- package/contracts/cross-chain/factory/PendleBridgePTFactory.sol +495 -0
- package/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol +5 -4
- package/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol +14 -6
- package/contracts/cross-chain/oftImpl/pendleOft/PendleOFT.sol +11 -0
- package/contracts/cross-chain/oftImpl/pendleOft/PendleOFTAlt.sol +52 -0
- package/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol +33 -24
- package/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol +4 -13
- package/contracts/interfaces/IPBridgePTFactory.sol +129 -0
- package/contracts/interfaces/IPBridgedPrincipalToken.sol +4 -2
- package/contracts/interfaces/IPMerkleDistributor.sol +0 -7
- package/contracts/interfaces/IPMultiTokenMerkleDistributor.sol +0 -10
- package/contracts/limit/LimitRouterBase.sol +1 -1
- package/contracts/router/swap-aggregator/OKXScaleHelper.sol +4 -1
- package/deployments/143-core.json +38 -2
- package/deployments/143-offchain-helper.json +11 -0
- package/deployments/4217-core.json +1 -0
- package/deployments/43114-core.json +1 -0
- package/deployments/57073-core.json +2 -0
- package/deployments/747474-core.json +2 -0
- package/package.json +12 -9
- package/typechain-types/AaveMoneyMarket.ts +763 -0
- package/typechain-types/AaveMoneyMarketView.ts +460 -0
- package/typechain-types/BaseMoneyMarket.ts +697 -0
- package/typechain-types/BaseMoneyMarketView.ts +362 -0
- package/typechain-types/DVNOptions.ts +57 -0
- package/typechain-types/ExecutorOptions.ts +57 -0
- package/typechain-types/IAToken.ts +358 -0
- package/typechain-types/IAaveOracle.ts +235 -0
- package/typechain-types/IAaveRewardsController.ts +1186 -0
- package/typechain-types/IDefaultReserveInterestRateStrategyV3.ts +431 -0
- package/typechain-types/IDefaultReserveInterestRateStrategyV31.ts +606 -0
- package/typechain-types/IDssPsm.ts +194 -0
- package/typechain-types/IERC4626.ts +864 -0
- package/typechain-types/IFlashLoanReceiver.ts +125 -0
- package/typechain-types/IIrm.ts +260 -0
- package/typechain-types/IMoneyMarket.ts +700 -0
- package/typechain-types/IMoneyMarketEvents.ts +196 -0
- package/typechain-types/IMoneyMarketView.ts +331 -0
- package/typechain-types/IMorpho.ts +1147 -0
- package/typechain-types/IMorphoOracle.ts +81 -0
- package/typechain-types/IMulticall.ts +117 -0
- package/typechain-types/IPBridgePTFactory.ts +936 -0
- package/typechain-types/IPLoopPositionBox.ts +298 -0
- package/typechain-types/IPLoopPositionBoxFactory.ts +434 -0
- package/typechain-types/IPMerkleDistributor.ts +0 -90
- package/typechain-types/IPMultiTokenMerkleDistributor.ts +0 -158
- package/typechain-types/IPPTLooper.ts +1550 -0
- package/typechain-types/IPPTLooperView.ts +468 -0
- package/typechain-types/IPool.ts +2220 -0
- package/typechain-types/IPoolAddressesProvider.ts +789 -0
- package/typechain-types/IPoolDataProviderV3.ts +865 -0
- package/typechain-types/IPoolDataProviderV31.ts +933 -0
- package/typechain-types/IPot.ts +181 -0
- package/typechain-types/IPriceOracleGetter.ts +133 -0
- package/typechain-types/ISDAI.ts +877 -0
- package/typechain-types/LoopPositionBox.ts +309 -0
- package/typechain-types/LoopPositionBoxFactory.ts +609 -0
- package/typechain-types/MorphoBlueMoneyMarket.ts +731 -0
- package/typechain-types/MorphoBlueMoneyMarketView.ts +396 -0
- package/typechain-types/Multicall.ts +117 -0
- package/typechain-types/OAppPreCrimeSimulatorUpgradeable.ts +410 -0
- package/typechain-types/OFTAdapterAltImpl.ts +50 -19
- package/typechain-types/OFTAdapterImpl.ts +50 -19
- package/typechain-types/OFTAdapterUpgradeable.ts +1337 -0
- package/typechain-types/OFTCoreUpgradeable.ts +1337 -0
- package/typechain-types/OFTUpgradeable.ts +1681 -0
- package/typechain-types/OptionsBuilder.ts +57 -0
- package/typechain-types/PTLooperBase.ts +1759 -0
- package/typechain-types/PTLooperView.ts +618 -0
- package/typechain-types/PendleBridgePTFactory.ts +1311 -0
- package/typechain-types/PendleBridgedPrincipalToken.ts +67 -20
- package/typechain-types/PendleBridgedPrincipalTokenAlt.ts +67 -20
- package/typechain-types/PendleMerkleDistributor.ts +0 -106
- package/typechain-types/PendleMultiTokenMerkleDistributor.ts +0 -158
- package/typechain-types/PendleOFT.ts +1675 -0
- package/typechain-types/PendleOFTAlt.ts +1694 -0
- package/typechain-types/PendlePTLooper.ts +1784 -0
- package/typechain-types/PendlePTLooperView.ts +648 -0
- package/typechain-types/UUPSUpgradeable.ts +0 -9
- package/typechain-types/factories/AaveMoneyMarketView__factory.ts +450 -0
- package/typechain-types/factories/AaveMoneyMarket__factory.ts +726 -0
- package/typechain-types/factories/ActionCrossChain__factory.ts +1 -1
- package/typechain-types/factories/BaseMoneyMarketView__factory.ts +279 -0
- package/typechain-types/factories/BaseMoneyMarket__factory.ts +599 -0
- package/typechain-types/factories/DVNOptions__factory.ts +77 -0
- package/typechain-types/factories/ExecutorOptions__factory.ts +84 -0
- package/typechain-types/factories/FixedPricePTAMM__factory.ts +1 -1
- package/typechain-types/factories/IAToken__factory.ts +258 -0
- package/typechain-types/factories/IAaveOracle__factory.ts +132 -0
- package/typechain-types/factories/IAaveRewardsController__factory.ts +743 -0
- package/typechain-types/factories/IDefaultReserveInterestRateStrategyV31__factory.ts +441 -0
- package/typechain-types/factories/IDefaultReserveInterestRateStrategyV3__factory.ts +278 -0
- package/typechain-types/factories/IDssPsm__factory.ts +122 -0
- package/typechain-types/factories/IERC4626__factory.ts +635 -0
- package/typechain-types/factories/IFlashLoanReceiver__factory.ts +65 -0
- package/typechain-types/factories/IIrm__factory.ts +243 -0
- package/typechain-types/factories/IMoneyMarketEvents__factory.ts +225 -0
- package/typechain-types/factories/IMoneyMarketView__factory.ts +253 -0
- package/typechain-types/factories/IMoneyMarket__factory.ts +596 -0
- package/typechain-types/factories/IMorphoOracle__factory.ts +36 -0
- package/typechain-types/factories/IMorpho__factory.ts +1045 -0
- package/typechain-types/factories/IMulticall__factory.ts +66 -0
- package/typechain-types/factories/IOFT__factory.ts +11 -0
- package/typechain-types/factories/IPBridgePTFactory__factory.ts +1041 -0
- package/typechain-types/factories/IPBridgedPrincipalToken__factory.ts +11 -0
- package/typechain-types/factories/IPLoopPositionBoxFactory__factory.ts +420 -0
- package/typechain-types/factories/IPLoopPositionBox__factory.ts +198 -0
- package/typechain-types/factories/IPMerkleDistributor__factory.ts +0 -67
- package/typechain-types/factories/IPMultiTokenMerkleDistributor__factory.ts +0 -120
- package/typechain-types/factories/IPPTLooperView__factory.ts +331 -0
- package/typechain-types/factories/IPPTLooper__factory.ts +2506 -0
- package/typechain-types/factories/IPoolAddressesProvider__factory.ts +526 -0
- package/typechain-types/factories/IPoolDataProviderV31__factory.ts +596 -0
- package/typechain-types/factories/IPoolDataProviderV3__factory.ts +554 -0
- package/typechain-types/factories/IPool__factory.ts +1609 -0
- package/typechain-types/factories/IPot__factory.ts +98 -0
- package/typechain-types/factories/IPriceOracleGetter__factory.ts +71 -0
- package/typechain-types/factories/ISDAI__factory.ts +645 -0
- package/typechain-types/factories/LoopPositionBoxFactory__factory.ts +648 -0
- package/typechain-types/factories/LoopPositionBox__factory.ts +277 -0
- package/typechain-types/factories/MorphoBlueMoneyMarketView__factory.ts +384 -0
- package/typechain-types/factories/MorphoBlueMoneyMarket__factory.ts +691 -0
- package/typechain-types/factories/Multicall__factory.ts +104 -0
- package/typechain-types/factories/OAppPreCrimeSimulatorUpgradeable__factory.ts +311 -0
- package/typechain-types/factories/OFTAdapterAltImpl__factory.ts +49 -25
- package/typechain-types/factories/OFTAdapterImpl__factory.ts +49 -25
- package/typechain-types/factories/OFTAdapterUpgradeable__factory.ts +1287 -0
- package/typechain-types/factories/OFTAdapter__factory.ts +11 -0
- package/typechain-types/factories/OFTCoreUpgradeable__factory.ts +1283 -0
- package/typechain-types/factories/OFTCore__factory.ts +11 -0
- package/typechain-types/factories/OFTUpgradeable__factory.ts +1553 -0
- package/typechain-types/factories/OFT__factory.ts +11 -0
- package/typechain-types/factories/OptionsBuilder__factory.ts +91 -0
- package/typechain-types/factories/PTLooperBase__factory.ts +2656 -0
- package/typechain-types/factories/PTLooperView__factory.ts +467 -0
- package/typechain-types/factories/PendleBridgePTFactory__factory.ts +1481 -0
- package/typechain-types/factories/PendleBridgedPrincipalTokenAlt__factory.ts +60 -58
- package/typechain-types/factories/PendleBridgedPrincipalToken__factory.ts +60 -58
- package/typechain-types/factories/PendleLimitRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleMerkleDistributor__factory.ts +1 -87
- package/typechain-types/factories/PendleMultiTokenMerkleDistributor__factory.ts +1 -121
- package/typechain-types/factories/PendleOFTAlt__factory.ts +1628 -0
- package/typechain-types/factories/PendleOFT__factory.ts +1599 -0
- package/typechain-types/factories/PendlePTLooperView__factory.ts +499 -0
- package/typechain-types/factories/PendlePTLooper__factory.ts +2738 -0
- package/typechain-types/factories/PendlePTOFTAdapterFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleSwap__factory.ts +1 -1
- package/typechain-types/factories/UUPSUpgradeable__factory.ts +0 -13
- package/typechain-types/hardhat.d.ts +103 -49
- package/typechain-types/index.ts +24 -10
- package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.dbg.json +0 -4
- package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.json +0 -280
- package/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol +0 -38
|
@@ -0,0 +1,84 @@
|
|
|
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
|
+
ExecutorOptions,
|
|
8
|
+
ExecutorOptionsInterface,
|
|
9
|
+
} from "../ExecutorOptions";
|
|
10
|
+
|
|
11
|
+
const _abi = [
|
|
12
|
+
{
|
|
13
|
+
inputs: [],
|
|
14
|
+
name: "Executor_InvalidLzComposeOption",
|
|
15
|
+
type: "error",
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
inputs: [],
|
|
19
|
+
name: "Executor_InvalidLzReadOption",
|
|
20
|
+
type: "error",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
inputs: [],
|
|
24
|
+
name: "Executor_InvalidLzReceiveOption",
|
|
25
|
+
type: "error",
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
inputs: [],
|
|
29
|
+
name: "Executor_InvalidNativeDropOption",
|
|
30
|
+
type: "error",
|
|
31
|
+
},
|
|
32
|
+
];
|
|
33
|
+
|
|
34
|
+
const _bytecode =
|
|
35
|
+
"0x60556032600b8282823980515f1a607314602657634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040525f5ffdfea2646970667358221220731087b43235897054afcd14e72aca0158dbed8e62e270fcef81c1f4fc5ee60364736f6c634300081e0033";
|
|
36
|
+
|
|
37
|
+
type ExecutorOptionsConstructorParams =
|
|
38
|
+
| [signer?: Signer]
|
|
39
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
40
|
+
|
|
41
|
+
const isSuperArgs = (
|
|
42
|
+
xs: ExecutorOptionsConstructorParams
|
|
43
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
44
|
+
|
|
45
|
+
export class ExecutorOptions__factory extends ContractFactory {
|
|
46
|
+
constructor(...args: ExecutorOptionsConstructorParams) {
|
|
47
|
+
if (isSuperArgs(args)) {
|
|
48
|
+
super(...args);
|
|
49
|
+
} else {
|
|
50
|
+
super(_abi, _bytecode, args[0]);
|
|
51
|
+
}
|
|
52
|
+
this.contractName = "ExecutorOptions";
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
deploy(
|
|
56
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
57
|
+
): Promise<ExecutorOptions> {
|
|
58
|
+
return super.deploy(overrides || {}) as Promise<ExecutorOptions>;
|
|
59
|
+
}
|
|
60
|
+
getDeployTransaction(
|
|
61
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
62
|
+
): TransactionRequest {
|
|
63
|
+
return super.getDeployTransaction(overrides || {});
|
|
64
|
+
}
|
|
65
|
+
attach(address: string): ExecutorOptions {
|
|
66
|
+
return super.attach(address) as ExecutorOptions;
|
|
67
|
+
}
|
|
68
|
+
connect(signer: Signer): ExecutorOptions__factory {
|
|
69
|
+
return super.connect(signer) as ExecutorOptions__factory;
|
|
70
|
+
}
|
|
71
|
+
static readonly contractName: "ExecutorOptions";
|
|
72
|
+
public readonly contractName: "ExecutorOptions";
|
|
73
|
+
static readonly bytecode = _bytecode;
|
|
74
|
+
static readonly abi = _abi;
|
|
75
|
+
static createInterface(): ExecutorOptionsInterface {
|
|
76
|
+
return new utils.Interface(_abi) as ExecutorOptionsInterface;
|
|
77
|
+
}
|
|
78
|
+
static connect(
|
|
79
|
+
address: string,
|
|
80
|
+
signerOrProvider: Signer | Provider
|
|
81
|
+
): ExecutorOptions {
|
|
82
|
+
return new Contract(address, _abi, signerOrProvider) as ExecutorOptions;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
@@ -668,7 +668,7 @@ const _abi = [
|
|
|
668
668
|
];
|
|
669
669
|
|
|
670
670
|
const _bytecode =
|
|
671
|
-
"0x60a060405230608052348015610013575f5ffd5b5061001c610021565b6100ed565b600154600160a81b900460ff161561008f5760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b600154600160a01b900460ff908116146100eb576001805460ff60a01b191660ff60a01b17905560405160ff81527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b6080516120b96101215f395f8181610587015281816105c70152818161075701528181610797015261084c01526120b95ff3fe6080604052600436106100d8575f3560e01c8063078dfbe7146100dc5780631927e673146100fd57806332cd935a1461012f5780633659cfe61461014e578063477053fb1461016d5780634e71e0c81461018c5780634f1ef286146101a05780635081b67b146101b357806352d1902d146101d25780638da5cb5b146101e657806393d5972b146102115780639d9ed3cc14610230578063c4d66de81461024f578063d3118e641461026e578063d512c0611461029b578063d7f70c8f146102ae578063df0fe2eb146102cd578063e30c3978146102ec575b5f5ffd5b3480156100e7575f5ffd5b506100fb6100f636600461196b565b61030b565b005b348015610108575f5ffd5b5061011c6101173660046119b1565b61040c565b6040519081526020015b60405180910390f35b34801561013a575f5ffd5b5061011c6101493660046119eb565b6104c9565b348015610159575f5ffd5b506100fb610168366004611a24565b61057d565b348015610178575f5ffd5b5061011c610187366004611a7a565b610644565b348015610197575f5ffd5b506100fb6106a5565b6100fb6101ae366004611b07565b61074d565b3480156101be575f5ffd5b5061011c6101cd366004611bc8565b610806565b3480156101dd575f5ffd5b5061011c610840565b3480156101f1575f5ffd5b505f54610204906001600160a01b031681565b6040516101269190611c10565b34801561021c575f5ffd5b5061011c61022b366004611c24565b6108ec565b34801561023b575f5ffd5b506100fb61024a366004611c6e565b610912565b34801561025a575f5ffd5b506100fb610269366004611a24565b6109d5565b348015610279575f5ffd5b5061028d610288366004611c96565b610b0d565b604051610126929190611cc7565b6100fb6102a9366004611c6e565b610bac565b3480156102b9575f5ffd5b506100fb6102c8366004611bc8565b610c67565b3480156102d8575f5ffd5b5061011c6102e7366004611ce0565b610d2f565b3480156102f7575f5ffd5b50600154610204906001600160a01b031681565b5f546001600160a01b0316331461033d5760405162461bcd60e51b815260040161033490611d3b565b60405180910390fd5b81156103eb576001600160a01b0383161515806103575750805b61039b5760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b6044820152606401610334565b5f80546040516001600160a01b03808716939216915f51602061203d5f395f51905f5291a35f80546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b5f5f5f6104198686610b0d565b915091505f826001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa15801561045a573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061047e9190611d86565b5050509150506104be8261049183610d7a565b61049b9190611de8565b670de0b6b3a76400006104ae8189611de8565b6104b89190611de8565b90610d8b565b979650505050505050565b5f5f5f6104d68685610b0d565b915091505f826001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa158015610517573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061053b9190611d86565b505050915050670de0b6b3a7640000806105559190611de8565b8261055f83610d7a565b6105699089611de8565b6105739190611de8565b6104be9190611dff565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036105c55760405162461bcd60e51b815260040161033490611e1e565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166105f7610db6565b6001600160a01b03161461061d5760405162461bcd60e51b815260040161033490611e57565b61062681610dd1565b604080515f8082526020820190925261064191839190610dfa565b50565b5f61064d610f64565b61068f8787878787878080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201829052509250610fbd915050565b905061069b6001603255565b9695505050505050565b6001546001600160a01b03163381146107005760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726044820152606401610334565b5f80546040516001600160a01b03808516939216915f51602061203d5f395f51905f5291a35f80546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036107955760405162461bcd60e51b815260040161033490611e1e565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166107c7610db6565b6001600160a01b0316146107ed5760405162461bcd60e51b815260040161033490611e57565b6107f682610dd1565b61080282826001610dfa565b5050565b5f61080f610f64565b61082c8585858560405180602001604052805f8152506001610fbd565b90506108386001603255565b949350505050565b5f306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146108da5760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b6064820152608401610334565b505f51602061201d5f395f51905f5290565b5f6108f5610f64565b61082c8585858560405180602001604052805f8152506001610fea565b5f546001600160a01b0316331461093b5760405162461bcd60e51b815260040161033490611d3b565b5f546109529083906001600160a01b031683611017565b8061095b6110ef565b6001015f846001600160a01b03166001600160a01b031681526020019081526020015f205f82825461098d9190611e90565b90915550506040518181526001600160a01b038316907fea503f39efcfc64114ad09951fa9d4f7481b8d8d92b4fbccd006377b095f866d906020015b60405180910390a25050565b600154600160a81b900460ff16158080156109fb575060018054600160a01b900460ff16105b80610a225750610a0a30611113565b158015610a22575060018054600160a01b900460ff16145b610a855760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610334565b6001805460ff60a01b1916600160a01b1790558015610ab2576001805460ff60a81b1916600160a81b1790555b610abb82611122565b610ac361116c565b8015610802576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b5f5f610b176110ef565b6001600160a01b038086165f9081526020928352604080822087841683529093529190912054169150610b486110ef565b6001600160a01b038086165f908152602092835260408082208784168352909352919091206001015491508216610ba5576040516344d0379d60e01b81526001600160a01b03808616600483015284166024820152604401610334565b9250929050565b5f546001600160a01b03163314610bd55760405162461bcd60e51b815260040161033490611d3b565b5f54610bec9083906001600160a01b031683611197565b80610bf56110ef565b6001015f846001600160a01b03166001600160a01b031681526020019081526020015f205f828254610c279190611ea3565b90915550506040518181526001600160a01b038316907f6189b14a5c1490dbeb86a9da875768d98dc98fb398d6b29dd475defaa1ec4ba3906020016109c9565b5f546001600160a01b03163314610c905760405162461bcd60e51b815260040161033490611d3b565b6040518060400160405280836001600160a01b0316815260200182815250610cb66110ef565b6001600160a01b038681165f81815260209384526040808220898516808452908652818320875181546001600160a01b031916908716178155969095015160019096019590955593519186169390917ff51f0fffc8121ee3747e0536c487d894894cdba960ccfb4ab385a88d51b16fed9190a450505050565b5f610d38610f64565b61068f8787878787878080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201829052509250610fea915050565b5f5f821215610d87575f5ffd5b5090565b5f816001610d998286611ea3565b610da39190611e90565b610dad9190611dff565b90505b92915050565b5f51602061201d5f395f51905f52546001600160a01b031690565b5f546001600160a01b031633146106415760405162461bcd60e51b815260040161033490611d3b565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615610e2d57610407836111fe565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610e87575060408051601f3d908101601f19168201909252610e8491810190611eb6565b60015b610eea5760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b6064820152608401610334565b5f51602061201d5f395f51905f528114610f585760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b6064820152608401610334565b50610407838383611297565b600260325403610fb65760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610334565b6002603255565b5f610fc986868661040c565b90508115610fdc57610fdc863383611197565b61069b8787838888886112bb565b5f610ff68686866104c9565b9050811561100957611009863387611197565b61069b8787878785886112bb565b80158061102c57506001600160a01b03821630145b1561103657505050565b6001600160a01b0383166110db575f826001600160a01b0316826040515f6040518083038185875af1925050503d805f811461108d576040519150601f19603f3d011682016040523d82523d5f602084013e611092565b606091505b50509050806110d55760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b6044820152606401610334565b50505050565b6104076001600160a01b0384168383611500565b7fbbf04d9aae855c6bd76c8f4ba7a918994ad0d002f537323e58c83cbfe524900090565b6001600160a01b03163b151590565b600154600160a81b900460ff1661114b5760405162461bcd60e51b815260040161033490611ecd565b5f80546001600160a01b0319166001600160a01b0392909216919091179055565b600154600160a81b900460ff166111955760405162461bcd60e51b815260040161033490611ecd565b565b6001600160a01b0383166111e3578034146104075760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b6044820152606401610334565b8015610407576104076001600160a01b038416833084611556565b61120781611113565b6112695760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401610334565b5f51602061201d5f395f51905f5280546001600160a01b0319166001600160a01b0392909216919091179055565b6112a08361158e565b5f825111806112ac5750805b15610407576110d583836115cd565b816112c46110ef565b6001600160a01b0385165f9081526001919091016020526040902054101561133157826112ef6110ef565b6001015f856001600160a01b03166001600160a01b031681526020019081526020015f2054836040516306aa683960e31b815260040161033493929190611f18565b61133c838784611017565b816113456110ef565b6001015f856001600160a01b03166001600160a01b031681526020019081526020015f205f8282546113779190611e90565b90915550508051156113d85760405163491dc51560e11b8152339063923b8a2a906113aa90859088908690600401611f86565b5f604051808303815f87803b1580156113c1575f5ffd5b505af11580156113d3573d5f5f3e3d5ffd5b505050505b836113e16110ef565b6001015f876001600160a01b03166001600160a01b031681526020019081526020015f205f8282546114139190611ea3565b9091555061142190506110ef565b6001600160a01b0386165f9081526001919091016020526040902054611446866115f2565b101561149f5784611456866115f2565b61145e6110ef565b6001015f886001600160a01b03166001600160a01b031681526020019081526020015f205460405163bb7de36360e01b815260040161033493929190611f18565b604080516001600160a01b03878116825260208201879052858116828401526060820185905291519188169133917f6ac6c02c73a1841cb185dff1fe5282ff4499ce709efd387f7fc6de10a5124320919081900360800190a3505050505050565b6104078363a9059cbb60e01b848460405160240161151f929190611cc7565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526115fd565b6040516001600160a01b03808516602483015283166044820152606481018290526110d59085906323b872dd60e01b9060840161151f565b611597816111fe565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a250565b6060610dad838360405180606001604052806027815260200161205d602791396116d0565b5f610db0308361173a565b5f611651826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166117c99092919063ffffffff16565b905080515f14806116715750808060200190518101906116719190611fad565b6104075760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610334565b60605f5f856001600160a01b0316856040516116ec9190611fcf565b5f60405180830381855af49150503d805f8114611724576040519150601f19603f3d011682016040523d82523d5f602084013e611729565b606091505b509150915061069b868383876117d7565b5f6001600160a01b038216156117ba576040516370a0823160e01b81526001600160a01b038316906370a0823190611776908690600401611c10565b602060405180830381865afa158015611791573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117b59190611eb6565b610dad565b50506001600160a01b03163190565b606061083884845f8561184d565b606083156118435782515f0361183c576117f085611113565b61183c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610334565b5081610838565b6108388383611919565b6060824710156118ae5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610334565b5f5f866001600160a01b031685876040516118c99190611fcf565b5f6040518083038185875af1925050503d805f8114611903576040519150601f19603f3d011682016040523d82523d5f602084013e611908565b606091505b50915091506104be878383876117d7565b8151156119295781518083602001fd5b8060405162461bcd60e51b81526004016103349190611fea565b80356001600160a01b0381168114611959575f5ffd5b919050565b8015158114610641575f5ffd5b5f5f5f6060848603121561197d575f5ffd5b61198684611943565b925060208401356119968161195e565b915060408401356119a68161195e565b809150509250925092565b5f5f5f606084860312156119c3575f5ffd5b6119cc84611943565b92506119da60208501611943565b929592945050506040919091013590565b5f5f5f606084860312156119fd575f5ffd5b611a0684611943565b925060208401359150611a1b60408501611943565b90509250925092565b5f60208284031215611a34575f5ffd5b610dad82611943565b5f5f83601f840112611a4d575f5ffd5b5081356001600160401b03811115611a63575f5ffd5b602083019150836020828501011115610ba5575f5ffd5b5f5f5f5f5f5f60a08789031215611a8f575f5ffd5b611a9887611943565b9550611aa660208801611943565b9450611ab460408801611943565b93506060870135925060808701356001600160401b03811115611ad5575f5ffd5b611ae189828a01611a3d565b979a9699509497509295939492505050565b634e487b7160e01b5f52604160045260245ffd5b5f5f60408385031215611b18575f5ffd5b611b2183611943565b915060208301356001600160401b03811115611b3b575f5ffd5b8301601f81018513611b4b575f5ffd5b80356001600160401b03811115611b6457611b64611af3565b604051601f8201601f19908116603f011681016001600160401b0381118282101715611b9257611b92611af3565b604052818152828201602001871015611ba9575f5ffd5b816020840160208301375f602083830101528093505050509250929050565b5f5f5f5f60808587031215611bdb575f5ffd5b611be485611943565b9350611bf260208601611943565b9250611c0060408601611943565b9396929550929360600135925050565b6001600160a01b0391909116815260200190565b5f5f5f5f60808587031215611c37575f5ffd5b611c4085611943565b9350611c4e60208601611943565b925060408501359150611c6360608601611943565b905092959194509250565b5f5f60408385031215611c7f575f5ffd5b611c8883611943565b946020939093013593505050565b5f5f60408385031215611ca7575f5ffd5b611cb083611943565b9150611cbe60208401611943565b90509250929050565b6001600160a01b03929092168252602082015260400190565b5f5f5f5f5f5f60a08789031215611cf5575f5ffd5b611cfe87611943565b9550611d0c60208801611943565b945060408701359350611d2160608801611943565b925060808701356001600160401b03811115611ad5575f5ffd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b80516001600160501b0381168114611959575f5ffd5b5f5f5f5f5f60a08688031215611d9a575f5ffd5b611da386611d70565b60208701516040880151606089015192975090955093509150611dc860808701611d70565b90509295509295909350565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417610db057610db0611dd4565b5f82611e1957634e487b7160e01b5f52601260045260245ffd5b500490565b6020808252602c908201525f516020611ffd5f395f51905f5260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201525f516020611ffd5f395f51905f5260408201526b6163746976652070726f787960a01b606082015260800190565b81810381811115610db057610db0611dd4565b80820180821115610db057610db0611dd4565b5f60208284031215611ec6575f5ffd5b5051919050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b6001600160a01b039390931683526020830191909152604082015260600190565b5f5b83811015611f53578181015183820152602001611f3b565b50505f910152565b5f8151808452611f72816020860160208601611f39565b601f01601f19169290920160200192915050565b838152826020820152606060408201525f611fa46060830184611f5b565b95945050505050565b5f60208284031215611fbd575f5ffd5b8151611fc88161195e565b9392505050565b5f8251611fe0818460208701611f39565b9190910192915050565b602081525f610dad6020830184611f5b56fe46756e6374696f6e206d7573742062652063616c6c6564207468726f75676820360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212201628c342b4e4411714ba1c8a7f26e27c208c30e867f5c9243d393f0fceb91f4d64736f6c634300081e0033";
|
|
671
|
+
"0x60a060405230608052348015610013575f5ffd5b5061001c610021565b6100ed565b600154600160a81b900460ff161561008f5760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b600154600160a01b900460ff908116146100eb576001805460ff60a01b191660ff60a01b17905560405160ff81527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b6080516120b96101215f395f8181610587015281816105c70152818161075701528181610797015261084c01526120b95ff3fe6080604052600436106100d8575f3560e01c8063078dfbe7146100dc5780631927e673146100fd57806332cd935a1461012f5780633659cfe61461014e578063477053fb1461016d5780634e71e0c81461018c5780634f1ef286146101a05780635081b67b146101b357806352d1902d146101d25780638da5cb5b146101e657806393d5972b146102115780639d9ed3cc14610230578063c4d66de81461024f578063d3118e641461026e578063d512c0611461029b578063d7f70c8f146102ae578063df0fe2eb146102cd578063e30c3978146102ec575b5f5ffd5b3480156100e7575f5ffd5b506100fb6100f636600461196b565b61030b565b005b348015610108575f5ffd5b5061011c6101173660046119b1565b61040c565b6040519081526020015b60405180910390f35b34801561013a575f5ffd5b5061011c6101493660046119eb565b6104c9565b348015610159575f5ffd5b506100fb610168366004611a24565b61057d565b348015610178575f5ffd5b5061011c610187366004611a7a565b610644565b348015610197575f5ffd5b506100fb6106a5565b6100fb6101ae366004611b07565b61074d565b3480156101be575f5ffd5b5061011c6101cd366004611bc8565b610806565b3480156101dd575f5ffd5b5061011c610840565b3480156101f1575f5ffd5b505f54610204906001600160a01b031681565b6040516101269190611c10565b34801561021c575f5ffd5b5061011c61022b366004611c24565b6108ec565b34801561023b575f5ffd5b506100fb61024a366004611c6e565b610912565b34801561025a575f5ffd5b506100fb610269366004611a24565b6109d5565b348015610279575f5ffd5b5061028d610288366004611c96565b610b0d565b604051610126929190611cc7565b6100fb6102a9366004611c6e565b610bac565b3480156102b9575f5ffd5b506100fb6102c8366004611bc8565b610c67565b3480156102d8575f5ffd5b5061011c6102e7366004611ce0565b610d2f565b3480156102f7575f5ffd5b50600154610204906001600160a01b031681565b5f546001600160a01b0316331461033d5760405162461bcd60e51b815260040161033490611d3b565b60405180910390fd5b81156103eb576001600160a01b0383161515806103575750805b61039b5760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b6044820152606401610334565b5f80546040516001600160a01b03808716939216915f51602061203d5f395f51905f5291a35f80546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b5f5f5f6104198686610b0d565b915091505f826001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa15801561045a573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061047e9190611d86565b5050509150506104be8261049183610d7a565b61049b9190611de8565b670de0b6b3a76400006104ae8189611de8565b6104b89190611de8565b90610d8b565b979650505050505050565b5f5f5f6104d68685610b0d565b915091505f826001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa158015610517573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061053b9190611d86565b505050915050670de0b6b3a7640000806105559190611de8565b8261055f83610d7a565b6105699089611de8565b6105739190611de8565b6104be9190611dff565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036105c55760405162461bcd60e51b815260040161033490611e1e565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166105f7610db6565b6001600160a01b03161461061d5760405162461bcd60e51b815260040161033490611e57565b61062681610dd1565b604080515f8082526020820190925261064191839190610dfa565b50565b5f61064d610f64565b61068f8787878787878080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201829052509250610fbd915050565b905061069b6001603255565b9695505050505050565b6001546001600160a01b03163381146107005760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726044820152606401610334565b5f80546040516001600160a01b03808516939216915f51602061203d5f395f51905f5291a35f80546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036107955760405162461bcd60e51b815260040161033490611e1e565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166107c7610db6565b6001600160a01b0316146107ed5760405162461bcd60e51b815260040161033490611e57565b6107f682610dd1565b61080282826001610dfa565b5050565b5f61080f610f64565b61082c8585858560405180602001604052805f8152506001610fbd565b90506108386001603255565b949350505050565b5f306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146108da5760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b6064820152608401610334565b505f51602061201d5f395f51905f5290565b5f6108f5610f64565b61082c8585858560405180602001604052805f8152506001610fea565b5f546001600160a01b0316331461093b5760405162461bcd60e51b815260040161033490611d3b565b5f546109529083906001600160a01b031683611017565b8061095b6110ef565b6001015f846001600160a01b03166001600160a01b031681526020019081526020015f205f82825461098d9190611e90565b90915550506040518181526001600160a01b038316907fea503f39efcfc64114ad09951fa9d4f7481b8d8d92b4fbccd006377b095f866d906020015b60405180910390a25050565b600154600160a81b900460ff16158080156109fb575060018054600160a01b900460ff16105b80610a225750610a0a30611113565b158015610a22575060018054600160a01b900460ff16145b610a855760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610334565b6001805460ff60a01b1916600160a01b1790558015610ab2576001805460ff60a81b1916600160a81b1790555b610abb82611122565b610ac361116c565b8015610802576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b5f5f610b176110ef565b6001600160a01b038086165f9081526020928352604080822087841683529093529190912054169150610b486110ef565b6001600160a01b038086165f908152602092835260408082208784168352909352919091206001015491508216610ba5576040516344d0379d60e01b81526001600160a01b03808616600483015284166024820152604401610334565b9250929050565b5f546001600160a01b03163314610bd55760405162461bcd60e51b815260040161033490611d3b565b5f54610bec9083906001600160a01b031683611197565b80610bf56110ef565b6001015f846001600160a01b03166001600160a01b031681526020019081526020015f205f828254610c279190611ea3565b90915550506040518181526001600160a01b038316907f6189b14a5c1490dbeb86a9da875768d98dc98fb398d6b29dd475defaa1ec4ba3906020016109c9565b5f546001600160a01b03163314610c905760405162461bcd60e51b815260040161033490611d3b565b6040518060400160405280836001600160a01b0316815260200182815250610cb66110ef565b6001600160a01b038681165f81815260209384526040808220898516808452908652818320875181546001600160a01b031916908716178155969095015160019096019590955593519186169390917ff51f0fffc8121ee3747e0536c487d894894cdba960ccfb4ab385a88d51b16fed9190a450505050565b5f610d38610f64565b61068f8787878787878080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201829052509250610fea915050565b5f5f821215610d87575f5ffd5b5090565b5f816001610d998286611ea3565b610da39190611e90565b610dad9190611dff565b90505b92915050565b5f51602061201d5f395f51905f52546001600160a01b031690565b5f546001600160a01b031633146106415760405162461bcd60e51b815260040161033490611d3b565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615610e2d57610407836111fe565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610e87575060408051601f3d908101601f19168201909252610e8491810190611eb6565b60015b610eea5760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b6064820152608401610334565b5f51602061201d5f395f51905f528114610f585760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b6064820152608401610334565b50610407838383611297565b600260325403610fb65760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610334565b6002603255565b5f610fc986868661040c565b90508115610fdc57610fdc863383611197565b61069b8787838888886112bb565b5f610ff68686866104c9565b9050811561100957611009863387611197565b61069b8787878785886112bb565b80158061102c57506001600160a01b03821630145b1561103657505050565b6001600160a01b0383166110db575f826001600160a01b0316826040515f6040518083038185875af1925050503d805f811461108d576040519150601f19603f3d011682016040523d82523d5f602084013e611092565b606091505b50509050806110d55760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b6044820152606401610334565b50505050565b6104076001600160a01b0384168383611500565b7fbbf04d9aae855c6bd76c8f4ba7a918994ad0d002f537323e58c83cbfe524900090565b6001600160a01b03163b151590565b600154600160a81b900460ff1661114b5760405162461bcd60e51b815260040161033490611ecd565b5f80546001600160a01b0319166001600160a01b0392909216919091179055565b600154600160a81b900460ff166111955760405162461bcd60e51b815260040161033490611ecd565b565b6001600160a01b0383166111e3578034146104075760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b6044820152606401610334565b8015610407576104076001600160a01b038416833084611556565b61120781611113565b6112695760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401610334565b5f51602061201d5f395f51905f5280546001600160a01b0319166001600160a01b0392909216919091179055565b6112a08361158e565b5f825111806112ac5750805b15610407576110d583836115cd565b816112c46110ef565b6001600160a01b0385165f9081526001919091016020526040902054101561133157826112ef6110ef565b6001015f856001600160a01b03166001600160a01b031681526020019081526020015f2054836040516306aa683960e31b815260040161033493929190611f18565b61133c838784611017565b816113456110ef565b6001015f856001600160a01b03166001600160a01b031681526020019081526020015f205f8282546113779190611e90565b90915550508051156113d85760405163491dc51560e11b8152339063923b8a2a906113aa90859088908690600401611f86565b5f604051808303815f87803b1580156113c1575f5ffd5b505af11580156113d3573d5f5f3e3d5ffd5b505050505b836113e16110ef565b6001015f876001600160a01b03166001600160a01b031681526020019081526020015f205f8282546114139190611ea3565b9091555061142190506110ef565b6001600160a01b0386165f9081526001919091016020526040902054611446866115f2565b101561149f5784611456866115f2565b61145e6110ef565b6001015f886001600160a01b03166001600160a01b031681526020019081526020015f205460405163bb7de36360e01b815260040161033493929190611f18565b604080516001600160a01b03878116825260208201879052858116828401526060820185905291519188169133917f6ac6c02c73a1841cb185dff1fe5282ff4499ce709efd387f7fc6de10a5124320919081900360800190a3505050505050565b6104078363a9059cbb60e01b848460405160240161151f929190611cc7565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526115fd565b6040516001600160a01b03808516602483015283166044820152606481018290526110d59085906323b872dd60e01b9060840161151f565b611597816111fe565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a250565b6060610dad838360405180606001604052806027815260200161205d602791396116d0565b5f610db0308361173a565b5f611651826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166117c99092919063ffffffff16565b905080515f14806116715750808060200190518101906116719190611fad565b6104075760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610334565b60605f5f856001600160a01b0316856040516116ec9190611fcf565b5f60405180830381855af49150503d805f8114611724576040519150601f19603f3d011682016040523d82523d5f602084013e611729565b606091505b509150915061069b868383876117d7565b5f6001600160a01b038216156117ba576040516370a0823160e01b81526001600160a01b038316906370a0823190611776908690600401611c10565b602060405180830381865afa158015611791573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117b59190611eb6565b610dad565b50506001600160a01b03163190565b606061083884845f8561184d565b606083156118435782515f0361183c576117f085611113565b61183c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610334565b5081610838565b6108388383611919565b6060824710156118ae5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610334565b5f5f866001600160a01b031685876040516118c99190611fcf565b5f6040518083038185875af1925050503d805f8114611903576040519150601f19603f3d011682016040523d82523d5f602084013e611908565b606091505b50915091506104be878383876117d7565b8151156119295781518083602001fd5b8060405162461bcd60e51b81526004016103349190611fea565b80356001600160a01b0381168114611959575f5ffd5b919050565b8015158114610641575f5ffd5b5f5f5f6060848603121561197d575f5ffd5b61198684611943565b925060208401356119968161195e565b915060408401356119a68161195e565b809150509250925092565b5f5f5f606084860312156119c3575f5ffd5b6119cc84611943565b92506119da60208501611943565b929592945050506040919091013590565b5f5f5f606084860312156119fd575f5ffd5b611a0684611943565b925060208401359150611a1b60408501611943565b90509250925092565b5f60208284031215611a34575f5ffd5b610dad82611943565b5f5f83601f840112611a4d575f5ffd5b5081356001600160401b03811115611a63575f5ffd5b602083019150836020828501011115610ba5575f5ffd5b5f5f5f5f5f5f60a08789031215611a8f575f5ffd5b611a9887611943565b9550611aa660208801611943565b9450611ab460408801611943565b93506060870135925060808701356001600160401b03811115611ad5575f5ffd5b611ae189828a01611a3d565b979a9699509497509295939492505050565b634e487b7160e01b5f52604160045260245ffd5b5f5f60408385031215611b18575f5ffd5b611b2183611943565b915060208301356001600160401b03811115611b3b575f5ffd5b8301601f81018513611b4b575f5ffd5b80356001600160401b03811115611b6457611b64611af3565b604051601f8201601f19908116603f011681016001600160401b0381118282101715611b9257611b92611af3565b604052818152828201602001871015611ba9575f5ffd5b816020840160208301375f602083830101528093505050509250929050565b5f5f5f5f60808587031215611bdb575f5ffd5b611be485611943565b9350611bf260208601611943565b9250611c0060408601611943565b9396929550929360600135925050565b6001600160a01b0391909116815260200190565b5f5f5f5f60808587031215611c37575f5ffd5b611c4085611943565b9350611c4e60208601611943565b925060408501359150611c6360608601611943565b905092959194509250565b5f5f60408385031215611c7f575f5ffd5b611c8883611943565b946020939093013593505050565b5f5f60408385031215611ca7575f5ffd5b611cb083611943565b9150611cbe60208401611943565b90509250929050565b6001600160a01b03929092168252602082015260400190565b5f5f5f5f5f5f60a08789031215611cf5575f5ffd5b611cfe87611943565b9550611d0c60208801611943565b945060408701359350611d2160608801611943565b925060808701356001600160401b03811115611ad5575f5ffd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b80516001600160501b0381168114611959575f5ffd5b5f5f5f5f5f60a08688031215611d9a575f5ffd5b611da386611d70565b60208701516040880151606089015192975090955093509150611dc860808701611d70565b90509295509295909350565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417610db057610db0611dd4565b5f82611e1957634e487b7160e01b5f52601260045260245ffd5b500490565b6020808252602c908201525f516020611ffd5f395f51905f5260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201525f516020611ffd5f395f51905f5260408201526b6163746976652070726f787960a01b606082015260800190565b81810381811115610db057610db0611dd4565b80820180821115610db057610db0611dd4565b5f60208284031215611ec6575f5ffd5b5051919050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b6001600160a01b039390931683526020830191909152604082015260600190565b5f5b83811015611f53578181015183820152602001611f3b565b50505f910152565b5f8151808452611f72816020860160208601611f39565b601f01601f19169290920160200192915050565b838152826020820152606060408201525f611fa46060830184611f5b565b95945050505050565b5f60208284031215611fbd575f5ffd5b8151611fc88161195e565b9392505050565b5f8251611fe0818460208701611f39565b9190910192915050565b602081525f610dad6020830184611f5b56fe46756e6374696f6e206d7573742062652063616c6c6564207468726f75676820360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220d6a2a0ea459e7065aae8f565c497c579bb227551fa32499590e887c9b7cc178564736f6c634300081e0033";
|
|
672
672
|
|
|
673
673
|
type FixedPricePTAMMConstructorParams =
|
|
674
674
|
| [signer?: Signer]
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
7
|
+
import type { IAToken, IATokenInterface } from "../IAToken";
|
|
8
|
+
|
|
9
|
+
const _abi = [
|
|
10
|
+
{
|
|
11
|
+
anonymous: false,
|
|
12
|
+
inputs: [
|
|
13
|
+
{
|
|
14
|
+
indexed: true,
|
|
15
|
+
internalType: "address",
|
|
16
|
+
name: "owner",
|
|
17
|
+
type: "address",
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
indexed: true,
|
|
21
|
+
internalType: "address",
|
|
22
|
+
name: "spender",
|
|
23
|
+
type: "address",
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
indexed: false,
|
|
27
|
+
internalType: "uint256",
|
|
28
|
+
name: "value",
|
|
29
|
+
type: "uint256",
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
name: "Approval",
|
|
33
|
+
type: "event",
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
anonymous: false,
|
|
37
|
+
inputs: [
|
|
38
|
+
{
|
|
39
|
+
indexed: true,
|
|
40
|
+
internalType: "address",
|
|
41
|
+
name: "from",
|
|
42
|
+
type: "address",
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
indexed: true,
|
|
46
|
+
internalType: "address",
|
|
47
|
+
name: "to",
|
|
48
|
+
type: "address",
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
indexed: false,
|
|
52
|
+
internalType: "uint256",
|
|
53
|
+
name: "value",
|
|
54
|
+
type: "uint256",
|
|
55
|
+
},
|
|
56
|
+
],
|
|
57
|
+
name: "Transfer",
|
|
58
|
+
type: "event",
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
inputs: [
|
|
62
|
+
{
|
|
63
|
+
internalType: "address",
|
|
64
|
+
name: "owner",
|
|
65
|
+
type: "address",
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
internalType: "address",
|
|
69
|
+
name: "spender",
|
|
70
|
+
type: "address",
|
|
71
|
+
},
|
|
72
|
+
],
|
|
73
|
+
name: "allowance",
|
|
74
|
+
outputs: [
|
|
75
|
+
{
|
|
76
|
+
internalType: "uint256",
|
|
77
|
+
name: "",
|
|
78
|
+
type: "uint256",
|
|
79
|
+
},
|
|
80
|
+
],
|
|
81
|
+
stateMutability: "view",
|
|
82
|
+
type: "function",
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
inputs: [
|
|
86
|
+
{
|
|
87
|
+
internalType: "address",
|
|
88
|
+
name: "spender",
|
|
89
|
+
type: "address",
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
internalType: "uint256",
|
|
93
|
+
name: "amount",
|
|
94
|
+
type: "uint256",
|
|
95
|
+
},
|
|
96
|
+
],
|
|
97
|
+
name: "approve",
|
|
98
|
+
outputs: [
|
|
99
|
+
{
|
|
100
|
+
internalType: "bool",
|
|
101
|
+
name: "",
|
|
102
|
+
type: "bool",
|
|
103
|
+
},
|
|
104
|
+
],
|
|
105
|
+
stateMutability: "nonpayable",
|
|
106
|
+
type: "function",
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
inputs: [
|
|
110
|
+
{
|
|
111
|
+
internalType: "address",
|
|
112
|
+
name: "account",
|
|
113
|
+
type: "address",
|
|
114
|
+
},
|
|
115
|
+
],
|
|
116
|
+
name: "balanceOf",
|
|
117
|
+
outputs: [
|
|
118
|
+
{
|
|
119
|
+
internalType: "uint256",
|
|
120
|
+
name: "",
|
|
121
|
+
type: "uint256",
|
|
122
|
+
},
|
|
123
|
+
],
|
|
124
|
+
stateMutability: "view",
|
|
125
|
+
type: "function",
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
inputs: [],
|
|
129
|
+
name: "decimals",
|
|
130
|
+
outputs: [
|
|
131
|
+
{
|
|
132
|
+
internalType: "uint8",
|
|
133
|
+
name: "",
|
|
134
|
+
type: "uint8",
|
|
135
|
+
},
|
|
136
|
+
],
|
|
137
|
+
stateMutability: "view",
|
|
138
|
+
type: "function",
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
inputs: [],
|
|
142
|
+
name: "name",
|
|
143
|
+
outputs: [
|
|
144
|
+
{
|
|
145
|
+
internalType: "string",
|
|
146
|
+
name: "",
|
|
147
|
+
type: "string",
|
|
148
|
+
},
|
|
149
|
+
],
|
|
150
|
+
stateMutability: "view",
|
|
151
|
+
type: "function",
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
inputs: [],
|
|
155
|
+
name: "scaledTotalSupply",
|
|
156
|
+
outputs: [
|
|
157
|
+
{
|
|
158
|
+
internalType: "uint256",
|
|
159
|
+
name: "",
|
|
160
|
+
type: "uint256",
|
|
161
|
+
},
|
|
162
|
+
],
|
|
163
|
+
stateMutability: "view",
|
|
164
|
+
type: "function",
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
inputs: [],
|
|
168
|
+
name: "symbol",
|
|
169
|
+
outputs: [
|
|
170
|
+
{
|
|
171
|
+
internalType: "string",
|
|
172
|
+
name: "",
|
|
173
|
+
type: "string",
|
|
174
|
+
},
|
|
175
|
+
],
|
|
176
|
+
stateMutability: "view",
|
|
177
|
+
type: "function",
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
inputs: [],
|
|
181
|
+
name: "totalSupply",
|
|
182
|
+
outputs: [
|
|
183
|
+
{
|
|
184
|
+
internalType: "uint256",
|
|
185
|
+
name: "",
|
|
186
|
+
type: "uint256",
|
|
187
|
+
},
|
|
188
|
+
],
|
|
189
|
+
stateMutability: "view",
|
|
190
|
+
type: "function",
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
inputs: [
|
|
194
|
+
{
|
|
195
|
+
internalType: "address",
|
|
196
|
+
name: "to",
|
|
197
|
+
type: "address",
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
internalType: "uint256",
|
|
201
|
+
name: "amount",
|
|
202
|
+
type: "uint256",
|
|
203
|
+
},
|
|
204
|
+
],
|
|
205
|
+
name: "transfer",
|
|
206
|
+
outputs: [
|
|
207
|
+
{
|
|
208
|
+
internalType: "bool",
|
|
209
|
+
name: "",
|
|
210
|
+
type: "bool",
|
|
211
|
+
},
|
|
212
|
+
],
|
|
213
|
+
stateMutability: "nonpayable",
|
|
214
|
+
type: "function",
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
inputs: [
|
|
218
|
+
{
|
|
219
|
+
internalType: "address",
|
|
220
|
+
name: "from",
|
|
221
|
+
type: "address",
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
internalType: "address",
|
|
225
|
+
name: "to",
|
|
226
|
+
type: "address",
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
internalType: "uint256",
|
|
230
|
+
name: "amount",
|
|
231
|
+
type: "uint256",
|
|
232
|
+
},
|
|
233
|
+
],
|
|
234
|
+
name: "transferFrom",
|
|
235
|
+
outputs: [
|
|
236
|
+
{
|
|
237
|
+
internalType: "bool",
|
|
238
|
+
name: "",
|
|
239
|
+
type: "bool",
|
|
240
|
+
},
|
|
241
|
+
],
|
|
242
|
+
stateMutability: "nonpayable",
|
|
243
|
+
type: "function",
|
|
244
|
+
},
|
|
245
|
+
];
|
|
246
|
+
|
|
247
|
+
export class IAToken__factory {
|
|
248
|
+
static readonly abi = _abi;
|
|
249
|
+
static createInterface(): IATokenInterface {
|
|
250
|
+
return new utils.Interface(_abi) as IATokenInterface;
|
|
251
|
+
}
|
|
252
|
+
static connect(
|
|
253
|
+
address: string,
|
|
254
|
+
signerOrProvider: Signer | Provider
|
|
255
|
+
): IAToken {
|
|
256
|
+
return new Contract(address, _abi, signerOrProvider) as IAToken;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
7
|
+
import type { IAaveOracle, IAaveOracleInterface } from "../IAaveOracle";
|
|
8
|
+
|
|
9
|
+
const _abi = [
|
|
10
|
+
{
|
|
11
|
+
inputs: [],
|
|
12
|
+
name: "ADDRESSES_PROVIDER",
|
|
13
|
+
outputs: [
|
|
14
|
+
{
|
|
15
|
+
internalType: "contract IPoolAddressesProvider",
|
|
16
|
+
name: "",
|
|
17
|
+
type: "address",
|
|
18
|
+
},
|
|
19
|
+
],
|
|
20
|
+
stateMutability: "view",
|
|
21
|
+
type: "function",
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
inputs: [],
|
|
25
|
+
name: "BASE_CURRENCY",
|
|
26
|
+
outputs: [
|
|
27
|
+
{
|
|
28
|
+
internalType: "contract IERC20Metadata",
|
|
29
|
+
name: "",
|
|
30
|
+
type: "address",
|
|
31
|
+
},
|
|
32
|
+
],
|
|
33
|
+
stateMutability: "view",
|
|
34
|
+
type: "function",
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
inputs: [],
|
|
38
|
+
name: "BASE_CURRENCY_UNIT",
|
|
39
|
+
outputs: [
|
|
40
|
+
{
|
|
41
|
+
internalType: "uint256",
|
|
42
|
+
name: "",
|
|
43
|
+
type: "uint256",
|
|
44
|
+
},
|
|
45
|
+
],
|
|
46
|
+
stateMutability: "view",
|
|
47
|
+
type: "function",
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
inputs: [
|
|
51
|
+
{
|
|
52
|
+
internalType: "contract IERC20Metadata",
|
|
53
|
+
name: "asset",
|
|
54
|
+
type: "address",
|
|
55
|
+
},
|
|
56
|
+
],
|
|
57
|
+
name: "getAssetPrice",
|
|
58
|
+
outputs: [
|
|
59
|
+
{
|
|
60
|
+
internalType: "uint256",
|
|
61
|
+
name: "",
|
|
62
|
+
type: "uint256",
|
|
63
|
+
},
|
|
64
|
+
],
|
|
65
|
+
stateMutability: "view",
|
|
66
|
+
type: "function",
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
inputs: [
|
|
70
|
+
{
|
|
71
|
+
internalType: "contract IERC20Metadata[]",
|
|
72
|
+
name: "assets",
|
|
73
|
+
type: "address[]",
|
|
74
|
+
},
|
|
75
|
+
],
|
|
76
|
+
name: "getAssetsPrices",
|
|
77
|
+
outputs: [
|
|
78
|
+
{
|
|
79
|
+
internalType: "uint256[]",
|
|
80
|
+
name: "",
|
|
81
|
+
type: "uint256[]",
|
|
82
|
+
},
|
|
83
|
+
],
|
|
84
|
+
stateMutability: "view",
|
|
85
|
+
type: "function",
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
inputs: [],
|
|
89
|
+
name: "getFallbackOracle",
|
|
90
|
+
outputs: [
|
|
91
|
+
{
|
|
92
|
+
internalType: "address",
|
|
93
|
+
name: "",
|
|
94
|
+
type: "address",
|
|
95
|
+
},
|
|
96
|
+
],
|
|
97
|
+
stateMutability: "view",
|
|
98
|
+
type: "function",
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
inputs: [
|
|
102
|
+
{
|
|
103
|
+
internalType: "contract IERC20Metadata",
|
|
104
|
+
name: "asset",
|
|
105
|
+
type: "address",
|
|
106
|
+
},
|
|
107
|
+
],
|
|
108
|
+
name: "getSourceOfAsset",
|
|
109
|
+
outputs: [
|
|
110
|
+
{
|
|
111
|
+
internalType: "address",
|
|
112
|
+
name: "",
|
|
113
|
+
type: "address",
|
|
114
|
+
},
|
|
115
|
+
],
|
|
116
|
+
stateMutability: "view",
|
|
117
|
+
type: "function",
|
|
118
|
+
},
|
|
119
|
+
];
|
|
120
|
+
|
|
121
|
+
export class IAaveOracle__factory {
|
|
122
|
+
static readonly abi = _abi;
|
|
123
|
+
static createInterface(): IAaveOracleInterface {
|
|
124
|
+
return new utils.Interface(_abi) as IAaveOracleInterface;
|
|
125
|
+
}
|
|
126
|
+
static connect(
|
|
127
|
+
address: string,
|
|
128
|
+
signerOrProvider: Signer | Provider
|
|
129
|
+
): IAaveOracle {
|
|
130
|
+
return new Contract(address, _abi, signerOrProvider) as IAaveOracle;
|
|
131
|
+
}
|
|
132
|
+
}
|