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

import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
import { Provider, TransactionRequest } from "@ethersproject/providers";
import type {
  ProposalNonceTracker,
  ProposalNonceTrackerInterface,
} from "../ProposalNonceTracker";

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

const _bytecode =
  "0x6080604052348015600f57600080fd5b50608b8061001e6000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c80630b27fb9a146037578063cc3c74a114604d575b600080fd5b6000545b60405190815260200160405180910390f35b603b6000548156fea26469706673582212206f739104bbbfd5feee0fb3dcd9907e7ccdf8b85a36e06d98057abdfe8a3e348c64736f6c63430008050033";

export class ProposalNonceTracker__factory extends ContractFactory {
  constructor(
    ...args: [signer: Signer] | ConstructorParameters<typeof ContractFactory>
  ) {
    if (args.length === 1) {
      super(_abi, _bytecode, args[0]);
    } else {
      super(...args);
    }
  }

  deploy(
    overrides?: Overrides & { from?: string | Promise<string> }
  ): Promise<ProposalNonceTracker> {
    return super.deploy(overrides || {}) as Promise<ProposalNonceTracker>;
  }
  getDeployTransaction(
    overrides?: Overrides & { from?: string | Promise<string> }
  ): TransactionRequest {
    return super.getDeployTransaction(overrides || {});
  }
  attach(address: string): ProposalNonceTracker {
    return super.attach(address) as ProposalNonceTracker;
  }
  connect(signer: Signer): ProposalNonceTracker__factory {
    return super.connect(signer) as ProposalNonceTracker__factory;
  }
  static readonly bytecode = _bytecode;
  static readonly abi = _abi;
  static createInterface(): ProposalNonceTrackerInterface {
    return new utils.Interface(_abi) as ProposalNonceTrackerInterface;
  }
  static connect(
    address: string,
    signerOrProvider: Signer | Provider
  ): ProposalNonceTracker {
    return new Contract(
      address,
      _abi,
      signerOrProvider
    ) as ProposalNonceTracker;
  }
}
