import { Context, getMethodArguments as cKitGetMethodArguments } from '@coinweb/contract-kit';

export const getMethodArguments = <TArguments extends unknown[]>(context: Context) =>
  cKitGetMethodArguments(context).slice(1) as TArguments;
