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

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

const _abi = [
  {
    type: "function",
    name: "decimalConversionRate",
    inputs: [],
    outputs: [
      {
        name: "",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    stateMutability: "view",
  },
  {
    type: "error",
    name: "AmountSDOverflowed",
    inputs: [
      {
        name: "amountSD",
        type: "uint256",
        internalType: "uint256",
      },
    ],
  },
  {
    type: "error",
    name: "InvalidLocalDecimals",
    inputs: [],
  },
] as const;

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