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

import { Contract, Signer, utils } from "ethers";
import type { Provider } from "@ethersproject/providers";
import type {
  DelegatePermit,
  DelegatePermitInterface,
} from "../../../contracts/currency/DelegatePermit";

const _abi = [
  {
    inputs: [
      {
        internalType: "address",
        name: "owner",
        type: "address",
      },
    ],
    name: "delegationNonce",
    outputs: [
      {
        internalType: "uint256",
        name: "",
        type: "uint256",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
];

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