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

import { Contract, Interface, type ContractRunner } from "ethers";
import type {
  IL2StakingBase,
  IL2StakingBaseInterface,
} from "../../../../../contracts/contracts/l2/staking/IL2StakingBase";

const _abi = [
  {
    anonymous: false,
    inputs: [
      {
        indexed: true,
        internalType: "address",
        name: "indexer",
        type: "address",
      },
      {
        indexed: true,
        internalType: "address",
        name: "delegator",
        type: "address",
      },
      {
        indexed: false,
        internalType: "uint256",
        name: "amount",
        type: "uint256",
      },
    ],
    name: "TransferredDelegationReturnedToDelegator",
    type: "event",
  },
  {
    inputs: [
      {
        internalType: "address",
        name: "from",
        type: "address",
      },
      {
        internalType: "uint256",
        name: "amount",
        type: "uint256",
      },
      {
        internalType: "bytes",
        name: "data",
        type: "bytes",
      },
    ],
    name: "onTokenTransfer",
    outputs: [],
    stateMutability: "nonpayable",
    type: "function",
  },
] as const;

export class IL2StakingBase__factory {
  static readonly abi = _abi;
  static readonly interfaceId = "0xa4c0ed36" as const;
  static readonly interfaceName = "IL2StakingBase" as const;
  static createInterface(): IL2StakingBaseInterface {
    return new Interface(_abi) as IL2StakingBaseInterface;
  }
  static connect(
    address: string,
    runner?: ContractRunner | null,
  ): IL2StakingBase {
    return new Contract(address, _abi, runner) as unknown as IL2StakingBase;
  }
}
