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

/* tslint:disable */

/* eslint-disable */
import type {
  IOmnichainGovernanceExecutor,
  IOmnichainGovernanceExecutorInterface,
} from "../../../../contracts/Cross-chain/interfaces/IOmnichainGovernanceExecutor";
import type { Provider } from "@ethersproject/providers";
import { Contract, Signer, utils } from "ethers";

const _abi = [
  {
    inputs: [
      {
        internalType: "uint16",
        name: "srcChainId_",
        type: "uint16",
      },
      {
        internalType: "bytes",
        name: "srcAddress_",
        type: "bytes",
      },
    ],
    name: "setTrustedRemoteAddress",
    outputs: [],
    stateMutability: "nonpayable",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "address",
        name: "addr",
        type: "address",
      },
    ],
    name: "transferOwnership",
    outputs: [],
    stateMutability: "nonpayable",
    type: "function",
  },
] as const;

export class IOmnichainGovernanceExecutor__factory {
  static readonly abi = _abi;
  static createInterface(): IOmnichainGovernanceExecutorInterface {
    return new utils.Interface(_abi) as IOmnichainGovernanceExecutorInterface;
  }
  static connect(
    address: string,
    signerOrProvider: Signer | Provider
  ): IOmnichainGovernanceExecutor {
    return new Contract(
      address,
      _abi,
      signerOrProvider
    ) as IOmnichainGovernanceExecutor;
  }
}
