/* Autogenerated file. Do not edit manually. */

/* tslint:disable */

/* eslint-disable */
import type {
  TypedEventFilter,
  TypedEvent,
  TypedListener,
  OnEvent,
  PromiseOrValue,
} from "../../common";
import type {
  FunctionFragment,
  Result,
  EventFragment,
} from "@ethersproject/abi";
import type { Listener, Provider } from "@ethersproject/providers";
import type {
  BaseContract,
  BigNumber,
  BigNumberish,
  BytesLike,
  CallOverrides,
  ContractTransaction,
  Overrides,
  PayableOverrides,
  PopulatedTransaction,
  Signer,
  utils,
} from "ethers";

export interface OmnichainProposalSenderInterface extends utils.Interface {
  functions: {
    "LZ_ENDPOINT()": FunctionFragment;
    "accessControlManager()": FunctionFragment;
    "chainIdToLast24HourCommandsSent(uint16)": FunctionFragment;
    "chainIdToLast24HourWindowStart(uint16)": FunctionFragment;
    "chainIdToLastProposalSentTimestamp(uint16)": FunctionFragment;
    "chainIdToMaxDailyLimit(uint16)": FunctionFragment;
    "estimateFees(uint16,bytes,bool,bytes)": FunctionFragment;
    "execute(uint16,bytes,bytes,address)": FunctionFragment;
    "fallbackWithdraw(address,uint256,uint16,bytes,bytes,uint256)": FunctionFragment;
    "getConfig(uint16,uint16,uint256)": FunctionFragment;
    "owner()": FunctionFragment;
    "pause()": FunctionFragment;
    "paused()": FunctionFragment;
    "proposalCount()": FunctionFragment;
    "removeTrustedRemote(uint16)": FunctionFragment;
    "renounceOwnership()": FunctionFragment;
    "retryExecute(uint256,uint16,bytes,bytes,address,uint256)": FunctionFragment;
    "setAccessControlManager(address)": FunctionFragment;
    "setConfig(uint16,uint16,uint256,bytes)": FunctionFragment;
    "setMaxDailyLimit(uint16,uint256)": FunctionFragment;
    "setSendVersion(uint16)": FunctionFragment;
    "setTrustedRemoteAddress(uint16,bytes)": FunctionFragment;
    "storedExecutionHashes(uint256)": FunctionFragment;
    "transferOwnership(address)": FunctionFragment;
    "trustedRemoteLookup(uint16)": FunctionFragment;
    "unpause()": FunctionFragment;
  };

  getFunction(
    nameOrSignatureOrTopic:
      | "LZ_ENDPOINT"
      | "accessControlManager"
      | "chainIdToLast24HourCommandsSent"
      | "chainIdToLast24HourWindowStart"
      | "chainIdToLastProposalSentTimestamp"
      | "chainIdToMaxDailyLimit"
      | "estimateFees"
      | "execute"
      | "fallbackWithdraw"
      | "getConfig"
      | "owner"
      | "pause"
      | "paused"
      | "proposalCount"
      | "removeTrustedRemote"
      | "renounceOwnership"
      | "retryExecute"
      | "setAccessControlManager"
      | "setConfig"
      | "setMaxDailyLimit"
      | "setSendVersion"
      | "setTrustedRemoteAddress"
      | "storedExecutionHashes"
      | "transferOwnership"
      | "trustedRemoteLookup"
      | "unpause"
  ): FunctionFragment;

  encodeFunctionData(
    functionFragment: "LZ_ENDPOINT",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "accessControlManager",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "chainIdToLast24HourCommandsSent",
    values: [PromiseOrValue<BigNumberish>]
  ): string;
  encodeFunctionData(
    functionFragment: "chainIdToLast24HourWindowStart",
    values: [PromiseOrValue<BigNumberish>]
  ): string;
  encodeFunctionData(
    functionFragment: "chainIdToLastProposalSentTimestamp",
    values: [PromiseOrValue<BigNumberish>]
  ): string;
  encodeFunctionData(
    functionFragment: "chainIdToMaxDailyLimit",
    values: [PromiseOrValue<BigNumberish>]
  ): string;
  encodeFunctionData(
    functionFragment: "estimateFees",
    values: [
      PromiseOrValue<BigNumberish>,
      PromiseOrValue<BytesLike>,
      PromiseOrValue<boolean>,
      PromiseOrValue<BytesLike>
    ]
  ): string;
  encodeFunctionData(
    functionFragment: "execute",
    values: [
      PromiseOrValue<BigNumberish>,
      PromiseOrValue<BytesLike>,
      PromiseOrValue<BytesLike>,
      PromiseOrValue<string>
    ]
  ): string;
  encodeFunctionData(
    functionFragment: "fallbackWithdraw",
    values: [
      PromiseOrValue<string>,
      PromiseOrValue<BigNumberish>,
      PromiseOrValue<BigNumberish>,
      PromiseOrValue<BytesLike>,
      PromiseOrValue<BytesLike>,
      PromiseOrValue<BigNumberish>
    ]
  ): string;
  encodeFunctionData(
    functionFragment: "getConfig",
    values: [
      PromiseOrValue<BigNumberish>,
      PromiseOrValue<BigNumberish>,
      PromiseOrValue<BigNumberish>
    ]
  ): string;
  encodeFunctionData(functionFragment: "owner", values?: undefined): string;
  encodeFunctionData(functionFragment: "pause", values?: undefined): string;
  encodeFunctionData(functionFragment: "paused", values?: undefined): string;
  encodeFunctionData(
    functionFragment: "proposalCount",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "removeTrustedRemote",
    values: [PromiseOrValue<BigNumberish>]
  ): string;
  encodeFunctionData(
    functionFragment: "renounceOwnership",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "retryExecute",
    values: [
      PromiseOrValue<BigNumberish>,
      PromiseOrValue<BigNumberish>,
      PromiseOrValue<BytesLike>,
      PromiseOrValue<BytesLike>,
      PromiseOrValue<string>,
      PromiseOrValue<BigNumberish>
    ]
  ): string;
  encodeFunctionData(
    functionFragment: "setAccessControlManager",
    values: [PromiseOrValue<string>]
  ): string;
  encodeFunctionData(
    functionFragment: "setConfig",
    values: [
      PromiseOrValue<BigNumberish>,
      PromiseOrValue<BigNumberish>,
      PromiseOrValue<BigNumberish>,
      PromiseOrValue<BytesLike>
    ]
  ): string;
  encodeFunctionData(
    functionFragment: "setMaxDailyLimit",
    values: [PromiseOrValue<BigNumberish>, PromiseOrValue<BigNumberish>]
  ): string;
  encodeFunctionData(
    functionFragment: "setSendVersion",
    values: [PromiseOrValue<BigNumberish>]
  ): string;
  encodeFunctionData(
    functionFragment: "setTrustedRemoteAddress",
    values: [PromiseOrValue<BigNumberish>, PromiseOrValue<BytesLike>]
  ): string;
  encodeFunctionData(
    functionFragment: "storedExecutionHashes",
    values: [PromiseOrValue<BigNumberish>]
  ): string;
  encodeFunctionData(
    functionFragment: "transferOwnership",
    values: [PromiseOrValue<string>]
  ): string;
  encodeFunctionData(
    functionFragment: "trustedRemoteLookup",
    values: [PromiseOrValue<BigNumberish>]
  ): string;
  encodeFunctionData(functionFragment: "unpause", values?: undefined): string;

  decodeFunctionResult(
    functionFragment: "LZ_ENDPOINT",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "accessControlManager",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "chainIdToLast24HourCommandsSent",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "chainIdToLast24HourWindowStart",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "chainIdToLastProposalSentTimestamp",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "chainIdToMaxDailyLimit",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "estimateFees",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "execute", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "fallbackWithdraw",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "getConfig", data: BytesLike): Result;
  decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
  decodeFunctionResult(functionFragment: "pause", data: BytesLike): Result;
  decodeFunctionResult(functionFragment: "paused", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "proposalCount",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "removeTrustedRemote",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "renounceOwnership",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "retryExecute",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "setAccessControlManager",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "setConfig", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "setMaxDailyLimit",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "setSendVersion",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "setTrustedRemoteAddress",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "storedExecutionHashes",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "transferOwnership",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "trustedRemoteLookup",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "unpause", data: BytesLike): Result;

  events: {
    "ClearPayload(uint256,bytes32)": EventFragment;
    "ExecuteRemoteProposal(uint16,uint256,bytes)": EventFragment;
    "FallbackWithdraw(address,uint256)": EventFragment;
    "NewAccessControlManager(address,address)": EventFragment;
    "OwnershipTransferred(address,address)": EventFragment;
    "Paused(address)": EventFragment;
    "SetMaxDailyLimit(uint16,uint256,uint256)": EventFragment;
    "SetTrustedRemoteAddress(uint16,bytes,bytes)": EventFragment;
    "StorePayload(uint256,uint16,bytes,bytes,uint256,bytes)": EventFragment;
    "TrustedRemoteRemoved(uint16)": EventFragment;
    "Unpaused(address)": EventFragment;
  };

  getEvent(nameOrSignatureOrTopic: "ClearPayload"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "ExecuteRemoteProposal"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "FallbackWithdraw"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "NewAccessControlManager"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "Paused"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "SetMaxDailyLimit"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "SetTrustedRemoteAddress"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "StorePayload"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "TrustedRemoteRemoved"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "Unpaused"): EventFragment;
}

export interface ClearPayloadEventObject {
  proposalId: BigNumber;
  executionHash: string;
}
export type ClearPayloadEvent = TypedEvent<
  [BigNumber, string],
  ClearPayloadEventObject
>;

export type ClearPayloadEventFilter = TypedEventFilter<ClearPayloadEvent>;

export interface ExecuteRemoteProposalEventObject {
  remoteChainId: number;
  proposalId: BigNumber;
  payload: string;
}
export type ExecuteRemoteProposalEvent = TypedEvent<
  [number, BigNumber, string],
  ExecuteRemoteProposalEventObject
>;

export type ExecuteRemoteProposalEventFilter =
  TypedEventFilter<ExecuteRemoteProposalEvent>;

export interface FallbackWithdrawEventObject {
  receiver: string;
  value: BigNumber;
}
export type FallbackWithdrawEvent = TypedEvent<
  [string, BigNumber],
  FallbackWithdrawEventObject
>;

export type FallbackWithdrawEventFilter =
  TypedEventFilter<FallbackWithdrawEvent>;

export interface NewAccessControlManagerEventObject {
  oldAccessControlManager: string;
  newAccessControlManager: string;
}
export type NewAccessControlManagerEvent = TypedEvent<
  [string, string],
  NewAccessControlManagerEventObject
>;

export type NewAccessControlManagerEventFilter =
  TypedEventFilter<NewAccessControlManagerEvent>;

export interface OwnershipTransferredEventObject {
  previousOwner: string;
  newOwner: string;
}
export type OwnershipTransferredEvent = TypedEvent<
  [string, string],
  OwnershipTransferredEventObject
>;

export type OwnershipTransferredEventFilter =
  TypedEventFilter<OwnershipTransferredEvent>;

export interface PausedEventObject {
  account: string;
}
export type PausedEvent = TypedEvent<[string], PausedEventObject>;

export type PausedEventFilter = TypedEventFilter<PausedEvent>;

export interface SetMaxDailyLimitEventObject {
  chainId: number;
  oldMaxLimit: BigNumber;
  newMaxLimit: BigNumber;
}
export type SetMaxDailyLimitEvent = TypedEvent<
  [number, BigNumber, BigNumber],
  SetMaxDailyLimitEventObject
>;

export type SetMaxDailyLimitEventFilter =
  TypedEventFilter<SetMaxDailyLimitEvent>;

export interface SetTrustedRemoteAddressEventObject {
  remoteChainId: number;
  oldRemoteAddress: string;
  newRemoteAddress: string;
}
export type SetTrustedRemoteAddressEvent = TypedEvent<
  [number, string, string],
  SetTrustedRemoteAddressEventObject
>;

export type SetTrustedRemoteAddressEventFilter =
  TypedEventFilter<SetTrustedRemoteAddressEvent>;

export interface StorePayloadEventObject {
  proposalId: BigNumber;
  remoteChainId: number;
  payload: string;
  adapterParams: string;
  value: BigNumber;
  reason: string;
}
export type StorePayloadEvent = TypedEvent<
  [BigNumber, number, string, string, BigNumber, string],
  StorePayloadEventObject
>;

export type StorePayloadEventFilter = TypedEventFilter<StorePayloadEvent>;

export interface TrustedRemoteRemovedEventObject {
  chainId: number;
}
export type TrustedRemoteRemovedEvent = TypedEvent<
  [number],
  TrustedRemoteRemovedEventObject
>;

export type TrustedRemoteRemovedEventFilter =
  TypedEventFilter<TrustedRemoteRemovedEvent>;

export interface UnpausedEventObject {
  account: string;
}
export type UnpausedEvent = TypedEvent<[string], UnpausedEventObject>;

export type UnpausedEventFilter = TypedEventFilter<UnpausedEvent>;

export interface OmnichainProposalSender extends BaseContract {
  connect(signerOrProvider: Signer | Provider | string): this;
  attach(addressOrName: string): this;
  deployed(): Promise<this>;

  interface: OmnichainProposalSenderInterface;

  queryFilter<TEvent extends TypedEvent>(
    event: TypedEventFilter<TEvent>,
    fromBlockOrBlockhash?: string | number | undefined,
    toBlock?: string | number | undefined
  ): Promise<Array<TEvent>>;

  listeners<TEvent extends TypedEvent>(
    eventFilter?: TypedEventFilter<TEvent>
  ): Array<TypedListener<TEvent>>;
  listeners(eventName?: string): Array<Listener>;
  removeAllListeners<TEvent extends TypedEvent>(
    eventFilter: TypedEventFilter<TEvent>
  ): this;
  removeAllListeners(eventName?: string): this;
  off: OnEvent<this>;
  on: OnEvent<this>;
  once: OnEvent<this>;
  removeListener: OnEvent<this>;

  functions: {
    LZ_ENDPOINT(overrides?: CallOverrides): Promise<[string]>;

    accessControlManager(overrides?: CallOverrides): Promise<[string]>;

    chainIdToLast24HourCommandsSent(
      arg0: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<[BigNumber]>;

    chainIdToLast24HourWindowStart(
      arg0: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<[BigNumber]>;

    chainIdToLastProposalSentTimestamp(
      arg0: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<[BigNumber]>;

    chainIdToMaxDailyLimit(
      arg0: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<[BigNumber]>;

    estimateFees(
      remoteChainId_: PromiseOrValue<BigNumberish>,
      payload_: PromiseOrValue<BytesLike>,
      useZro_: PromiseOrValue<boolean>,
      adapterParams_: PromiseOrValue<BytesLike>,
      overrides?: CallOverrides
    ): Promise<[BigNumber, BigNumber]>;

    execute(
      remoteChainId_: PromiseOrValue<BigNumberish>,
      payload_: PromiseOrValue<BytesLike>,
      adapterParams_: PromiseOrValue<BytesLike>,
      zroPaymentAddress_: PromiseOrValue<string>,
      overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
    ): Promise<ContractTransaction>;

    fallbackWithdraw(
      to_: PromiseOrValue<string>,
      pId_: PromiseOrValue<BigNumberish>,
      remoteChainId_: PromiseOrValue<BigNumberish>,
      payload_: PromiseOrValue<BytesLike>,
      adapterParams_: PromiseOrValue<BytesLike>,
      originalValue_: PromiseOrValue<BigNumberish>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<ContractTransaction>;

    getConfig(
      version_: PromiseOrValue<BigNumberish>,
      chainId_: PromiseOrValue<BigNumberish>,
      configType_: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<[string]>;

    owner(overrides?: CallOverrides): Promise<[string]>;

    pause(
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<ContractTransaction>;

    paused(overrides?: CallOverrides): Promise<[boolean]>;

    proposalCount(overrides?: CallOverrides): Promise<[BigNumber]>;

    removeTrustedRemote(
      remoteChainId_: PromiseOrValue<BigNumberish>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<ContractTransaction>;

    renounceOwnership(
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<ContractTransaction>;

    retryExecute(
      pId_: PromiseOrValue<BigNumberish>,
      remoteChainId_: PromiseOrValue<BigNumberish>,
      payload_: PromiseOrValue<BytesLike>,
      adapterParams_: PromiseOrValue<BytesLike>,
      zroPaymentAddress_: PromiseOrValue<string>,
      originalValue_: PromiseOrValue<BigNumberish>,
      overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
    ): Promise<ContractTransaction>;

    setAccessControlManager(
      accessControlManager_: PromiseOrValue<string>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<ContractTransaction>;

    setConfig(
      version_: PromiseOrValue<BigNumberish>,
      chainId_: PromiseOrValue<BigNumberish>,
      configType_: PromiseOrValue<BigNumberish>,
      config_: PromiseOrValue<BytesLike>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<ContractTransaction>;

    setMaxDailyLimit(
      chainId_: PromiseOrValue<BigNumberish>,
      limit_: PromiseOrValue<BigNumberish>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<ContractTransaction>;

    setSendVersion(
      version_: PromiseOrValue<BigNumberish>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<ContractTransaction>;

    setTrustedRemoteAddress(
      remoteChainId_: PromiseOrValue<BigNumberish>,
      newRemoteAddress_: PromiseOrValue<BytesLike>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<ContractTransaction>;

    storedExecutionHashes(
      arg0: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<[string]>;

    transferOwnership(
      newOwner: PromiseOrValue<string>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<ContractTransaction>;

    trustedRemoteLookup(
      arg0: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<[string]>;

    unpause(
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<ContractTransaction>;
  };

  LZ_ENDPOINT(overrides?: CallOverrides): Promise<string>;

  accessControlManager(overrides?: CallOverrides): Promise<string>;

  chainIdToLast24HourCommandsSent(
    arg0: PromiseOrValue<BigNumberish>,
    overrides?: CallOverrides
  ): Promise<BigNumber>;

  chainIdToLast24HourWindowStart(
    arg0: PromiseOrValue<BigNumberish>,
    overrides?: CallOverrides
  ): Promise<BigNumber>;

  chainIdToLastProposalSentTimestamp(
    arg0: PromiseOrValue<BigNumberish>,
    overrides?: CallOverrides
  ): Promise<BigNumber>;

  chainIdToMaxDailyLimit(
    arg0: PromiseOrValue<BigNumberish>,
    overrides?: CallOverrides
  ): Promise<BigNumber>;

  estimateFees(
    remoteChainId_: PromiseOrValue<BigNumberish>,
    payload_: PromiseOrValue<BytesLike>,
    useZro_: PromiseOrValue<boolean>,
    adapterParams_: PromiseOrValue<BytesLike>,
    overrides?: CallOverrides
  ): Promise<[BigNumber, BigNumber]>;

  execute(
    remoteChainId_: PromiseOrValue<BigNumberish>,
    payload_: PromiseOrValue<BytesLike>,
    adapterParams_: PromiseOrValue<BytesLike>,
    zroPaymentAddress_: PromiseOrValue<string>,
    overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
  ): Promise<ContractTransaction>;

  fallbackWithdraw(
    to_: PromiseOrValue<string>,
    pId_: PromiseOrValue<BigNumberish>,
    remoteChainId_: PromiseOrValue<BigNumberish>,
    payload_: PromiseOrValue<BytesLike>,
    adapterParams_: PromiseOrValue<BytesLike>,
    originalValue_: PromiseOrValue<BigNumberish>,
    overrides?: Overrides & { from?: PromiseOrValue<string> }
  ): Promise<ContractTransaction>;

  getConfig(
    version_: PromiseOrValue<BigNumberish>,
    chainId_: PromiseOrValue<BigNumberish>,
    configType_: PromiseOrValue<BigNumberish>,
    overrides?: CallOverrides
  ): Promise<string>;

  owner(overrides?: CallOverrides): Promise<string>;

  pause(
    overrides?: Overrides & { from?: PromiseOrValue<string> }
  ): Promise<ContractTransaction>;

  paused(overrides?: CallOverrides): Promise<boolean>;

  proposalCount(overrides?: CallOverrides): Promise<BigNumber>;

  removeTrustedRemote(
    remoteChainId_: PromiseOrValue<BigNumberish>,
    overrides?: Overrides & { from?: PromiseOrValue<string> }
  ): Promise<ContractTransaction>;

  renounceOwnership(
    overrides?: Overrides & { from?: PromiseOrValue<string> }
  ): Promise<ContractTransaction>;

  retryExecute(
    pId_: PromiseOrValue<BigNumberish>,
    remoteChainId_: PromiseOrValue<BigNumberish>,
    payload_: PromiseOrValue<BytesLike>,
    adapterParams_: PromiseOrValue<BytesLike>,
    zroPaymentAddress_: PromiseOrValue<string>,
    originalValue_: PromiseOrValue<BigNumberish>,
    overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
  ): Promise<ContractTransaction>;

  setAccessControlManager(
    accessControlManager_: PromiseOrValue<string>,
    overrides?: Overrides & { from?: PromiseOrValue<string> }
  ): Promise<ContractTransaction>;

  setConfig(
    version_: PromiseOrValue<BigNumberish>,
    chainId_: PromiseOrValue<BigNumberish>,
    configType_: PromiseOrValue<BigNumberish>,
    config_: PromiseOrValue<BytesLike>,
    overrides?: Overrides & { from?: PromiseOrValue<string> }
  ): Promise<ContractTransaction>;

  setMaxDailyLimit(
    chainId_: PromiseOrValue<BigNumberish>,
    limit_: PromiseOrValue<BigNumberish>,
    overrides?: Overrides & { from?: PromiseOrValue<string> }
  ): Promise<ContractTransaction>;

  setSendVersion(
    version_: PromiseOrValue<BigNumberish>,
    overrides?: Overrides & { from?: PromiseOrValue<string> }
  ): Promise<ContractTransaction>;

  setTrustedRemoteAddress(
    remoteChainId_: PromiseOrValue<BigNumberish>,
    newRemoteAddress_: PromiseOrValue<BytesLike>,
    overrides?: Overrides & { from?: PromiseOrValue<string> }
  ): Promise<ContractTransaction>;

  storedExecutionHashes(
    arg0: PromiseOrValue<BigNumberish>,
    overrides?: CallOverrides
  ): Promise<string>;

  transferOwnership(
    newOwner: PromiseOrValue<string>,
    overrides?: Overrides & { from?: PromiseOrValue<string> }
  ): Promise<ContractTransaction>;

  trustedRemoteLookup(
    arg0: PromiseOrValue<BigNumberish>,
    overrides?: CallOverrides
  ): Promise<string>;

  unpause(
    overrides?: Overrides & { from?: PromiseOrValue<string> }
  ): Promise<ContractTransaction>;

  callStatic: {
    LZ_ENDPOINT(overrides?: CallOverrides): Promise<string>;

    accessControlManager(overrides?: CallOverrides): Promise<string>;

    chainIdToLast24HourCommandsSent(
      arg0: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    chainIdToLast24HourWindowStart(
      arg0: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    chainIdToLastProposalSentTimestamp(
      arg0: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    chainIdToMaxDailyLimit(
      arg0: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    estimateFees(
      remoteChainId_: PromiseOrValue<BigNumberish>,
      payload_: PromiseOrValue<BytesLike>,
      useZro_: PromiseOrValue<boolean>,
      adapterParams_: PromiseOrValue<BytesLike>,
      overrides?: CallOverrides
    ): Promise<[BigNumber, BigNumber]>;

    execute(
      remoteChainId_: PromiseOrValue<BigNumberish>,
      payload_: PromiseOrValue<BytesLike>,
      adapterParams_: PromiseOrValue<BytesLike>,
      zroPaymentAddress_: PromiseOrValue<string>,
      overrides?: CallOverrides
    ): Promise<void>;

    fallbackWithdraw(
      to_: PromiseOrValue<string>,
      pId_: PromiseOrValue<BigNumberish>,
      remoteChainId_: PromiseOrValue<BigNumberish>,
      payload_: PromiseOrValue<BytesLike>,
      adapterParams_: PromiseOrValue<BytesLike>,
      originalValue_: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<void>;

    getConfig(
      version_: PromiseOrValue<BigNumberish>,
      chainId_: PromiseOrValue<BigNumberish>,
      configType_: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<string>;

    owner(overrides?: CallOverrides): Promise<string>;

    pause(overrides?: CallOverrides): Promise<void>;

    paused(overrides?: CallOverrides): Promise<boolean>;

    proposalCount(overrides?: CallOverrides): Promise<BigNumber>;

    removeTrustedRemote(
      remoteChainId_: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<void>;

    renounceOwnership(overrides?: CallOverrides): Promise<void>;

    retryExecute(
      pId_: PromiseOrValue<BigNumberish>,
      remoteChainId_: PromiseOrValue<BigNumberish>,
      payload_: PromiseOrValue<BytesLike>,
      adapterParams_: PromiseOrValue<BytesLike>,
      zroPaymentAddress_: PromiseOrValue<string>,
      originalValue_: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<void>;

    setAccessControlManager(
      accessControlManager_: PromiseOrValue<string>,
      overrides?: CallOverrides
    ): Promise<void>;

    setConfig(
      version_: PromiseOrValue<BigNumberish>,
      chainId_: PromiseOrValue<BigNumberish>,
      configType_: PromiseOrValue<BigNumberish>,
      config_: PromiseOrValue<BytesLike>,
      overrides?: CallOverrides
    ): Promise<void>;

    setMaxDailyLimit(
      chainId_: PromiseOrValue<BigNumberish>,
      limit_: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<void>;

    setSendVersion(
      version_: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<void>;

    setTrustedRemoteAddress(
      remoteChainId_: PromiseOrValue<BigNumberish>,
      newRemoteAddress_: PromiseOrValue<BytesLike>,
      overrides?: CallOverrides
    ): Promise<void>;

    storedExecutionHashes(
      arg0: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<string>;

    transferOwnership(
      newOwner: PromiseOrValue<string>,
      overrides?: CallOverrides
    ): Promise<void>;

    trustedRemoteLookup(
      arg0: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<string>;

    unpause(overrides?: CallOverrides): Promise<void>;
  };

  filters: {
    "ClearPayload(uint256,bytes32)"(
      proposalId?: PromiseOrValue<BigNumberish> | null,
      executionHash?: null
    ): ClearPayloadEventFilter;
    ClearPayload(
      proposalId?: PromiseOrValue<BigNumberish> | null,
      executionHash?: null
    ): ClearPayloadEventFilter;

    "ExecuteRemoteProposal(uint16,uint256,bytes)"(
      remoteChainId?: PromiseOrValue<BigNumberish> | null,
      proposalId?: null,
      payload?: null
    ): ExecuteRemoteProposalEventFilter;
    ExecuteRemoteProposal(
      remoteChainId?: PromiseOrValue<BigNumberish> | null,
      proposalId?: null,
      payload?: null
    ): ExecuteRemoteProposalEventFilter;

    "FallbackWithdraw(address,uint256)"(
      receiver?: PromiseOrValue<string> | null,
      value?: null
    ): FallbackWithdrawEventFilter;
    FallbackWithdraw(
      receiver?: PromiseOrValue<string> | null,
      value?: null
    ): FallbackWithdrawEventFilter;

    "NewAccessControlManager(address,address)"(
      oldAccessControlManager?: PromiseOrValue<string> | null,
      newAccessControlManager?: PromiseOrValue<string> | null
    ): NewAccessControlManagerEventFilter;
    NewAccessControlManager(
      oldAccessControlManager?: PromiseOrValue<string> | null,
      newAccessControlManager?: PromiseOrValue<string> | null
    ): NewAccessControlManagerEventFilter;

    "OwnershipTransferred(address,address)"(
      previousOwner?: PromiseOrValue<string> | null,
      newOwner?: PromiseOrValue<string> | null
    ): OwnershipTransferredEventFilter;
    OwnershipTransferred(
      previousOwner?: PromiseOrValue<string> | null,
      newOwner?: PromiseOrValue<string> | null
    ): OwnershipTransferredEventFilter;

    "Paused(address)"(account?: null): PausedEventFilter;
    Paused(account?: null): PausedEventFilter;

    "SetMaxDailyLimit(uint16,uint256,uint256)"(
      chainId?: PromiseOrValue<BigNumberish> | null,
      oldMaxLimit?: null,
      newMaxLimit?: null
    ): SetMaxDailyLimitEventFilter;
    SetMaxDailyLimit(
      chainId?: PromiseOrValue<BigNumberish> | null,
      oldMaxLimit?: null,
      newMaxLimit?: null
    ): SetMaxDailyLimitEventFilter;

    "SetTrustedRemoteAddress(uint16,bytes,bytes)"(
      remoteChainId?: PromiseOrValue<BigNumberish> | null,
      oldRemoteAddress?: null,
      newRemoteAddress?: null
    ): SetTrustedRemoteAddressEventFilter;
    SetTrustedRemoteAddress(
      remoteChainId?: PromiseOrValue<BigNumberish> | null,
      oldRemoteAddress?: null,
      newRemoteAddress?: null
    ): SetTrustedRemoteAddressEventFilter;

    "StorePayload(uint256,uint16,bytes,bytes,uint256,bytes)"(
      proposalId?: PromiseOrValue<BigNumberish> | null,
      remoteChainId?: PromiseOrValue<BigNumberish> | null,
      payload?: null,
      adapterParams?: null,
      value?: null,
      reason?: null
    ): StorePayloadEventFilter;
    StorePayload(
      proposalId?: PromiseOrValue<BigNumberish> | null,
      remoteChainId?: PromiseOrValue<BigNumberish> | null,
      payload?: null,
      adapterParams?: null,
      value?: null,
      reason?: null
    ): StorePayloadEventFilter;

    "TrustedRemoteRemoved(uint16)"(
      chainId?: PromiseOrValue<BigNumberish> | null
    ): TrustedRemoteRemovedEventFilter;
    TrustedRemoteRemoved(
      chainId?: PromiseOrValue<BigNumberish> | null
    ): TrustedRemoteRemovedEventFilter;

    "Unpaused(address)"(account?: null): UnpausedEventFilter;
    Unpaused(account?: null): UnpausedEventFilter;
  };

  estimateGas: {
    LZ_ENDPOINT(overrides?: CallOverrides): Promise<BigNumber>;

    accessControlManager(overrides?: CallOverrides): Promise<BigNumber>;

    chainIdToLast24HourCommandsSent(
      arg0: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    chainIdToLast24HourWindowStart(
      arg0: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    chainIdToLastProposalSentTimestamp(
      arg0: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    chainIdToMaxDailyLimit(
      arg0: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    estimateFees(
      remoteChainId_: PromiseOrValue<BigNumberish>,
      payload_: PromiseOrValue<BytesLike>,
      useZro_: PromiseOrValue<boolean>,
      adapterParams_: PromiseOrValue<BytesLike>,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    execute(
      remoteChainId_: PromiseOrValue<BigNumberish>,
      payload_: PromiseOrValue<BytesLike>,
      adapterParams_: PromiseOrValue<BytesLike>,
      zroPaymentAddress_: PromiseOrValue<string>,
      overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
    ): Promise<BigNumber>;

    fallbackWithdraw(
      to_: PromiseOrValue<string>,
      pId_: PromiseOrValue<BigNumberish>,
      remoteChainId_: PromiseOrValue<BigNumberish>,
      payload_: PromiseOrValue<BytesLike>,
      adapterParams_: PromiseOrValue<BytesLike>,
      originalValue_: PromiseOrValue<BigNumberish>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<BigNumber>;

    getConfig(
      version_: PromiseOrValue<BigNumberish>,
      chainId_: PromiseOrValue<BigNumberish>,
      configType_: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    owner(overrides?: CallOverrides): Promise<BigNumber>;

    pause(
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<BigNumber>;

    paused(overrides?: CallOverrides): Promise<BigNumber>;

    proposalCount(overrides?: CallOverrides): Promise<BigNumber>;

    removeTrustedRemote(
      remoteChainId_: PromiseOrValue<BigNumberish>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<BigNumber>;

    renounceOwnership(
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<BigNumber>;

    retryExecute(
      pId_: PromiseOrValue<BigNumberish>,
      remoteChainId_: PromiseOrValue<BigNumberish>,
      payload_: PromiseOrValue<BytesLike>,
      adapterParams_: PromiseOrValue<BytesLike>,
      zroPaymentAddress_: PromiseOrValue<string>,
      originalValue_: PromiseOrValue<BigNumberish>,
      overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
    ): Promise<BigNumber>;

    setAccessControlManager(
      accessControlManager_: PromiseOrValue<string>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<BigNumber>;

    setConfig(
      version_: PromiseOrValue<BigNumberish>,
      chainId_: PromiseOrValue<BigNumberish>,
      configType_: PromiseOrValue<BigNumberish>,
      config_: PromiseOrValue<BytesLike>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<BigNumber>;

    setMaxDailyLimit(
      chainId_: PromiseOrValue<BigNumberish>,
      limit_: PromiseOrValue<BigNumberish>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<BigNumber>;

    setSendVersion(
      version_: PromiseOrValue<BigNumberish>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<BigNumber>;

    setTrustedRemoteAddress(
      remoteChainId_: PromiseOrValue<BigNumberish>,
      newRemoteAddress_: PromiseOrValue<BytesLike>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<BigNumber>;

    storedExecutionHashes(
      arg0: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    transferOwnership(
      newOwner: PromiseOrValue<string>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<BigNumber>;

    trustedRemoteLookup(
      arg0: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    unpause(
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<BigNumber>;
  };

  populateTransaction: {
    LZ_ENDPOINT(overrides?: CallOverrides): Promise<PopulatedTransaction>;

    accessControlManager(
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    chainIdToLast24HourCommandsSent(
      arg0: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    chainIdToLast24HourWindowStart(
      arg0: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    chainIdToLastProposalSentTimestamp(
      arg0: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    chainIdToMaxDailyLimit(
      arg0: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    estimateFees(
      remoteChainId_: PromiseOrValue<BigNumberish>,
      payload_: PromiseOrValue<BytesLike>,
      useZro_: PromiseOrValue<boolean>,
      adapterParams_: PromiseOrValue<BytesLike>,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    execute(
      remoteChainId_: PromiseOrValue<BigNumberish>,
      payload_: PromiseOrValue<BytesLike>,
      adapterParams_: PromiseOrValue<BytesLike>,
      zroPaymentAddress_: PromiseOrValue<string>,
      overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
    ): Promise<PopulatedTransaction>;

    fallbackWithdraw(
      to_: PromiseOrValue<string>,
      pId_: PromiseOrValue<BigNumberish>,
      remoteChainId_: PromiseOrValue<BigNumberish>,
      payload_: PromiseOrValue<BytesLike>,
      adapterParams_: PromiseOrValue<BytesLike>,
      originalValue_: PromiseOrValue<BigNumberish>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<PopulatedTransaction>;

    getConfig(
      version_: PromiseOrValue<BigNumberish>,
      chainId_: PromiseOrValue<BigNumberish>,
      configType_: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;

    pause(
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<PopulatedTransaction>;

    paused(overrides?: CallOverrides): Promise<PopulatedTransaction>;

    proposalCount(overrides?: CallOverrides): Promise<PopulatedTransaction>;

    removeTrustedRemote(
      remoteChainId_: PromiseOrValue<BigNumberish>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<PopulatedTransaction>;

    renounceOwnership(
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<PopulatedTransaction>;

    retryExecute(
      pId_: PromiseOrValue<BigNumberish>,
      remoteChainId_: PromiseOrValue<BigNumberish>,
      payload_: PromiseOrValue<BytesLike>,
      adapterParams_: PromiseOrValue<BytesLike>,
      zroPaymentAddress_: PromiseOrValue<string>,
      originalValue_: PromiseOrValue<BigNumberish>,
      overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
    ): Promise<PopulatedTransaction>;

    setAccessControlManager(
      accessControlManager_: PromiseOrValue<string>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<PopulatedTransaction>;

    setConfig(
      version_: PromiseOrValue<BigNumberish>,
      chainId_: PromiseOrValue<BigNumberish>,
      configType_: PromiseOrValue<BigNumberish>,
      config_: PromiseOrValue<BytesLike>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<PopulatedTransaction>;

    setMaxDailyLimit(
      chainId_: PromiseOrValue<BigNumberish>,
      limit_: PromiseOrValue<BigNumberish>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<PopulatedTransaction>;

    setSendVersion(
      version_: PromiseOrValue<BigNumberish>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<PopulatedTransaction>;

    setTrustedRemoteAddress(
      remoteChainId_: PromiseOrValue<BigNumberish>,
      newRemoteAddress_: PromiseOrValue<BytesLike>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<PopulatedTransaction>;

    storedExecutionHashes(
      arg0: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    transferOwnership(
      newOwner: PromiseOrValue<string>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<PopulatedTransaction>;

    trustedRemoteLookup(
      arg0: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    unpause(
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<PopulatedTransaction>;
  };
}
