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

import { Contract, Signer, utils } from "ethers";
import type { Provider } from "@ethersproject/providers";
import type {
  ILinkableAnchor,
  ILinkableAnchorInterface,
} from "../../../contracts/interfaces/ILinkableAnchor";

const _abi = [
  {
    inputs: [
      {
        internalType: "uint256",
        name: "maximumDepositAmount",
        type: "uint256",
      },
      {
        internalType: "uint32",
        name: "nonce",
        type: "uint32",
      },
    ],
    name: "configureMaximumDepositLimit",
    outputs: [],
    stateMutability: "nonpayable",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "uint256",
        name: "minimalWithdrawalAmount",
        type: "uint256",
      },
      {
        internalType: "uint32",
        name: "nonce",
        type: "uint32",
      },
    ],
    name: "configureMinimalWithdrawalLimit",
    outputs: [],
    stateMutability: "nonpayable",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "address",
        name: "handler",
        type: "address",
      },
      {
        internalType: "uint32",
        name: "nonce",
        type: "uint32",
      },
    ],
    name: "setHandler",
    outputs: [],
    stateMutability: "nonpayable",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "uint256",
        name: "root",
        type: "uint256",
      },
      {
        internalType: "uint32",
        name: "latestLeafIndex",
        type: "uint32",
      },
      {
        internalType: "bytes32",
        name: "srcResourceID",
        type: "bytes32",
      },
    ],
    name: "updateEdge",
    outputs: [],
    stateMutability: "payable",
    type: "function",
  },
] as const;

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