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

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

const _abi = [
  {
    type: "function",
    name: "minimumFeeInWei",
    inputs: [],
    outputs: [
      {
        name: "",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    stateMutability: "view",
  },
  {
    type: "function",
    name: "sendMessage",
    inputs: [
      {
        name: "_to",
        type: "address",
        internalType: "address",
      },
      {
        name: "_fee",
        type: "uint256",
        internalType: "uint256",
      },
      {
        name: "_calldata",
        type: "bytes",
        internalType: "bytes",
      },
    ],
    outputs: [],
    stateMutability: "payable",
  },
  {
    type: "function",
    name: "sender",
    inputs: [],
    outputs: [
      {
        name: "",
        type: "address",
        internalType: "address",
      },
    ],
    stateMutability: "view",
  },
] as const;

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