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

import { Contract, Signer, utils } from "ethers";
import type { Provider } from "@ethersproject/providers";
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 createInterface(): ICallhookReceiverInterface {
    return new utils.Interface(_abi) as ICallhookReceiverInterface;
  }
  static connect(
    address: string,
    signerOrProvider: Signer | Provider,
  ): ICallhookReceiver {
    return new Contract(address, _abi, signerOrProvider) as ICallhookReceiver;
  }
}
