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

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

const _abi = [
  {
    type: "constructor",
    inputs: [
      {
        name: "_oftDstEid",
        type: "uint32",
        internalType: "uint32",
      },
      {
        name: "_feeCap",
        type: "uint256",
        internalType: "uint256",
      },
      {
        name: "_adapterStore",
        type: "address",
        internalType: "address",
      },
    ],
    stateMutability: "nonpayable",
  },
  {
    type: "function",
    name: "EMPTY_MSG_BYTES",
    inputs: [],
    outputs: [
      {
        name: "",
        type: "bytes",
        internalType: "bytes",
      },
    ],
    stateMutability: "view",
  },
  {
    type: "function",
    name: "OFT_ADAPTER_STORE",
    inputs: [],
    outputs: [
      {
        name: "",
        type: "address",
        internalType: "contract AdapterStore",
      },
    ],
    stateMutability: "view",
  },
  {
    type: "function",
    name: "OFT_DST_EID",
    inputs: [],
    outputs: [
      {
        name: "",
        type: "uint32",
        internalType: "uint32",
      },
    ],
    stateMutability: "view",
  },
  {
    type: "function",
    name: "OFT_FEE_CAP",
    inputs: [],
    outputs: [
      {
        name: "",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    stateMutability: "view",
  },
  {
    type: "error",
    name: "OftFeeCapExceeded",
    inputs: [],
  },
  {
    type: "error",
    name: "OftIncorrectAmountReceivedLD",
    inputs: [],
  },
  {
    type: "error",
    name: "OftIncorrectAmountSentLD",
    inputs: [],
  },
  {
    type: "error",
    name: "OftInsufficientBalanceForFee",
    inputs: [],
  },
  {
    type: "error",
    name: "OftLzFeeNotZero",
    inputs: [],
  },
] as const;

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