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

import { Contract, Interface, type ContractRunner } from "ethers";
import type {
  ICallhookReceiver,
  ICallhookReceiverInterface,
} from "../../../../contracts/contracts/gateway/ICallhookReceiver";

const _abi = [
  {
    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 ICallhookReceiver__factory {
  static readonly abi = _abi;
  static readonly interfaceId = "0xa4c0ed36" as const;
  static readonly interfaceName = "ICallhookReceiver" as const;
  static createInterface(): ICallhookReceiverInterface {
    return new Interface(_abi) as ICallhookReceiverInterface;
  }
  static connect(
    address: string,
    runner?: ContractRunner | null,
  ): ICallhookReceiver {
    return new Contract(address, _abi, runner) as unknown as ICallhookReceiver;
  }
}
