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

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

const _abi = [
  {
    type: "function",
    name: "sendMessage",
    inputs: [
      {
        name: "_to",
        type: "address",
        internalType: "address",
      },
      {
        name: "_amount",
        type: "uint256",
        internalType: "uint256",
      },
      {
        name: "_minGasLimit",
        type: "uint32",
        internalType: "uint32",
      },
    ],
    outputs: [],
    stateMutability: "nonpayable",
  },
] as const;

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