/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */

import { Contract, Signer, utils } from "ethers";
import { Provider } from "@ethersproject/providers";
import type { IXVSProxyOFT, IXVSProxyOFTInterface } from "../IXVSProxyOFT";

const _abi = [
  {
    inputs: [
      {
        internalType: "uint16",
        name: "remoteChainId",
        type: "uint16",
      },
      {
        internalType: "bytes",
        name: "srcAddress",
        type: "bytes",
      },
    ],
    name: "isTrustedRemote",
    outputs: [
      {
        internalType: "bool",
        name: "",
        type: "bool",
      },
    ],
    stateMutability: "nonpayable",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "uint16",
        name: "remoteChainId",
        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",
  },
];

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