import { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers"; import { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; import { Listener, Provider } from "@ethersproject/providers"; import { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "./common"; export interface RetryInterface extends utils.Interface { contractName: "Retry"; functions: { "owner()": FunctionFragment; "renounceOwnership()": FunctionFragment; "transferOwnership(address)": FunctionFragment; "retry(uint8,uint8,uint256,bytes32)": FunctionFragment; }; encodeFunctionData(functionFragment: "owner", values?: undefined): string; encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string; encodeFunctionData(functionFragment: "transferOwnership", values: [string]): string; encodeFunctionData(functionFragment: "retry", values: [BigNumberish, BigNumberish, BigNumberish, BytesLike]): string; decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; decodeFunctionResult(functionFragment: "renounceOwnership", data: BytesLike): Result; decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result; decodeFunctionResult(functionFragment: "retry", data: BytesLike): Result; events: { "OwnershipTransferred(address,address)": EventFragment; "Retry(uint8,uint8,uint256,bytes32)": EventFragment; }; getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment; getEvent(nameOrSignatureOrTopic: "Retry"): EventFragment; } export declare type OwnershipTransferredEvent = TypedEvent<[ string, string ], { previousOwner: string; newOwner: string; }>; export declare type OwnershipTransferredEventFilter = TypedEventFilter; export declare type RetryEvent = TypedEvent<[ number, number, BigNumber, string ], { sourceDomainID: number; destinationDomainID: number; blockHeight: BigNumber; resourceID: string; }>; export declare type RetryEventFilter = TypedEventFilter; export interface Retry extends BaseContract { contractName: "Retry"; connect(signerOrProvider: Signer | Provider | string): this; attach(addressOrName: string): this; deployed(): Promise; interface: RetryInterface; queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; listeners(eventFilter?: TypedEventFilter): Array>; listeners(eventName?: string): Array; removeAllListeners(eventFilter: TypedEventFilter): this; removeAllListeners(eventName?: string): this; off: OnEvent; on: OnEvent; once: OnEvent; removeListener: OnEvent; functions: { /** * Returns the address of the current owner. */ owner(overrides?: CallOverrides): Promise<[string]>; /** * Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner. */ renounceOwnership(overrides?: Overrides & { from?: string | Promise; }): Promise; /** * Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner. */ transferOwnership(newOwner: string, overrides?: Overrides & { from?: string | Promise; }): Promise; /** * This method is used to trigger the process for retrying failed deposits on the MPC side.Only callable by admin. * @param blockHeight Block height on origin chain which contains failed deposits. * @param destinationDomainID ID of the transfer destination. * @param resourceID Resource ID of transfers that are to be retried. * @param sourceDomainID ID of the retry source. */ retry(sourceDomainID: BigNumberish, destinationDomainID: BigNumberish, blockHeight: BigNumberish, resourceID: BytesLike, overrides?: Overrides & { from?: string | Promise; }): Promise; }; /** * Returns the address of the current owner. */ owner(overrides?: CallOverrides): Promise; /** * Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner. */ renounceOwnership(overrides?: Overrides & { from?: string | Promise; }): Promise; /** * Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner. */ transferOwnership(newOwner: string, overrides?: Overrides & { from?: string | Promise; }): Promise; /** * This method is used to trigger the process for retrying failed deposits on the MPC side.Only callable by admin. * @param blockHeight Block height on origin chain which contains failed deposits. * @param destinationDomainID ID of the transfer destination. * @param resourceID Resource ID of transfers that are to be retried. * @param sourceDomainID ID of the retry source. */ retry(sourceDomainID: BigNumberish, destinationDomainID: BigNumberish, blockHeight: BigNumberish, resourceID: BytesLike, overrides?: Overrides & { from?: string | Promise; }): Promise; callStatic: { /** * Returns the address of the current owner. */ owner(overrides?: CallOverrides): Promise; /** * Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner. */ renounceOwnership(overrides?: CallOverrides): Promise; /** * Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner. */ transferOwnership(newOwner: string, overrides?: CallOverrides): Promise; /** * This method is used to trigger the process for retrying failed deposits on the MPC side.Only callable by admin. * @param blockHeight Block height on origin chain which contains failed deposits. * @param destinationDomainID ID of the transfer destination. * @param resourceID Resource ID of transfers that are to be retried. * @param sourceDomainID ID of the retry source. */ retry(sourceDomainID: BigNumberish, destinationDomainID: BigNumberish, blockHeight: BigNumberish, resourceID: BytesLike, overrides?: CallOverrides): Promise; }; filters: { "OwnershipTransferred(address,address)"(previousOwner?: string | null, newOwner?: string | null): OwnershipTransferredEventFilter; OwnershipTransferred(previousOwner?: string | null, newOwner?: string | null): OwnershipTransferredEventFilter; "Retry(uint8,uint8,uint256,bytes32)"(sourceDomainID?: null, destinationDomainID?: null, blockHeight?: null, resourceID?: null): RetryEventFilter; Retry(sourceDomainID?: null, destinationDomainID?: null, blockHeight?: null, resourceID?: null): RetryEventFilter; }; estimateGas: { /** * Returns the address of the current owner. */ owner(overrides?: CallOverrides): Promise; /** * Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner. */ renounceOwnership(overrides?: Overrides & { from?: string | Promise; }): Promise; /** * Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner. */ transferOwnership(newOwner: string, overrides?: Overrides & { from?: string | Promise; }): Promise; /** * This method is used to trigger the process for retrying failed deposits on the MPC side.Only callable by admin. * @param blockHeight Block height on origin chain which contains failed deposits. * @param destinationDomainID ID of the transfer destination. * @param resourceID Resource ID of transfers that are to be retried. * @param sourceDomainID ID of the retry source. */ retry(sourceDomainID: BigNumberish, destinationDomainID: BigNumberish, blockHeight: BigNumberish, resourceID: BytesLike, overrides?: Overrides & { from?: string | Promise; }): Promise; }; populateTransaction: { /** * Returns the address of the current owner. */ owner(overrides?: CallOverrides): Promise; /** * Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner. */ renounceOwnership(overrides?: Overrides & { from?: string | Promise; }): Promise; /** * Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner. */ transferOwnership(newOwner: string, overrides?: Overrides & { from?: string | Promise; }): Promise; /** * This method is used to trigger the process for retrying failed deposits on the MPC side.Only callable by admin. * @param blockHeight Block height on origin chain which contains failed deposits. * @param destinationDomainID ID of the transfer destination. * @param resourceID Resource ID of transfers that are to be retried. * @param sourceDomainID ID of the retry source. */ retry(sourceDomainID: BigNumberish, destinationDomainID: BigNumberish, blockHeight: BigNumberish, resourceID: BytesLike, overrides?: Overrides & { from?: string | Promise; }): Promise; }; }