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

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

const _abi = [
  {
    type: "function",
    name: "claim",
    inputs: [
      {
        name: "recipient",
        type: "address",
        internalType: "address",
      },
      {
        name: "amount",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    outputs: [
      {
        name: "",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    stateMutability: "nonpayable",
  },
  {
    type: "function",
    name: "configure",
    inputs: [
      {
        name: "yieldMode",
        type: "uint8",
        internalType: "enum IERC20Rebasing.YieldMode",
      },
    ],
    outputs: [
      {
        name: "",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    stateMutability: "nonpayable",
  },
  {
    type: "function",
    name: "getClaimableAmount",
    inputs: [
      {
        name: "account",
        type: "address",
        internalType: "address",
      },
    ],
    outputs: [
      {
        name: "",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    stateMutability: "view",
  },
] as const;

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