UNPKG

@usherlabs/ccxt

Version:

A JavaScript cryptocurrency trading library with support for 100+ exchanges + optional Verity zkTLS proof of data source.

7 lines (6 loc) 321 B
/** * Validate cairo contract method arguments * Flow: Determine type from abi and than validate against parameter */ import { AbiEnums, AbiStructs, FunctionAbi } from '../../types/index.js'; export default function validateFields(abiMethod: FunctionAbi, args: Array<any>, structs: AbiStructs, enums: AbiEnums): void;