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

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

const _abi = [
  {
    inputs: [
      {
        internalType: "bytes",
        name: "_proof",
        type: "bytes",
      },
      {
        internalType: "bytes32",
        name: "_argsHash",
        type: "bytes32",
      },
      {
        internalType: "bytes32",
        name: "_currentRoot",
        type: "bytes32",
      },
      {
        internalType: "bytes32",
        name: "_newRoot",
        type: "bytes32",
      },
      {
        internalType: "uint32",
        name: "_pathIndices",
        type: "uint32",
      },
      {
        internalType: "bytes32[]",
        name: "_leaves",
        type: "bytes32[]",
      },
      {
        internalType: "uint32",
        name: "_batchHeight",
        type: "uint32",
      },
    ],
    name: "batchInsert",
    outputs: [],
    stateMutability: "nonpayable",
    type: "function",
  },
];

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