/* Autogenerated file. Do not edit manually. */

/* tslint:disable */

/* eslint-disable */
import type {
  XVSInterface,
  XVSInterfaceInterface,
} from "../../../../contracts/legacy/GovernorAlpha.sol/XVSInterface";
import type { Provider } from "@ethersproject/providers";
import { Contract, Signer, utils } from "ethers";

const _abi = [
  {
    constant: true,
    inputs: [
      {
        internalType: "address",
        name: "account",
        type: "address",
      },
      {
        internalType: "uint256",
        name: "blockNumber",
        type: "uint256",
      },
    ],
    name: "getPriorVotes",
    outputs: [
      {
        internalType: "uint96",
        name: "",
        type: "uint96",
      },
    ],
    payable: false,
    stateMutability: "view",
    type: "function",
  },
] as const;

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