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

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

const _abi = [
  {
    type: "error",
    name: "CoreWriterLib__CannotSelfTransfer",
    inputs: [],
  },
  {
    type: "error",
    name: "CoreWriterLib__CoreAmountTooLarge",
    inputs: [
      {
        name: "amount",
        type: "uint256",
        internalType: "uint256",
      },
    ],
  },
  {
    type: "error",
    name: "CoreWriterLib__EvmAmountTooSmall",
    inputs: [
      {
        name: "amount",
        type: "uint256",
        internalType: "uint256",
      },
    ],
  },
  {
    type: "error",
    name: "CoreWriterLib__HypeTransferFailed",
    inputs: [],
  },
  {
    type: "error",
    name: "CoreWriterLib__StillLockedUntilTimestamp",
    inputs: [
      {
        name: "lockedUntilTimestamp",
        type: "uint64",
        internalType: "uint64",
      },
    ],
  },
] as const;

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