import { Context, extractContractArgs } from '@coinweb/contract-kit';

export const getContractArguments = <TArguments extends unknown[]>(context: Context) =>
  extractContractArgs(context.tx) as TArguments;
