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

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

const _abi = [
  {
    inputs: [
      {
        internalType: "address",
        name: "_fromToken",
        type: "address",
      },
      {
        internalType: "address",
        name: "_toToken",
        type: "address",
      },
      {
        internalType: "uint256",
        name: "amount",
        type: "uint256",
      },
    ],
    name: "_executeWrapping",
    outputs: [],
    stateMutability: "nonpayable",
    type: "function",
  },
  {
    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",
  },
  {
    inputs: [],
    name: "registry",
    outputs: [
      {
        internalType: "address",
        name: "",
        type: "address",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
  {
    inputs: [],
    name: "rewardSpentTree",
    outputs: [
      {
        internalType: "address",
        name: "",
        type: "address",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
  {
    inputs: [],
    name: "rewardUnspentTree",
    outputs: [
      {
        internalType: "address",
        name: "",
        type: "address",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
];

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