UNPKG

@kraken-crypto/ccxt

Version:

A cryptocurrency trading API with more than 100 exchanges in JavaScript / TypeScript / Python / C# / PHP / Go

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;