Sha256: 4843a3d938f5e198732da9eb2d70e3360b6e854012d690cd7d9abbd50b536157
Contents?: true
Size: 810 Bytes
Versions: 1
Compression:
Stored size: 810 Bytes
Contents
// import {TRANSACTION_TYPE} from '@waves/ts-types' // import { // isEq, // orEq, // isWavesOrAssetId, // isNumber, // isNumberLike, // isArray, // getError, // validateByShema, // ifElse, // defaultValue, // isPublicKey, // isBase64, isNaturalNumberOrZeroLike // } from './validators' // // // const invokeScheme = { // type: isEq(TRANSACTION_TYPE.INVOKE_EXPRESSION), // senderPublicKey: isPublicKey, // version: isEq(1), // expression: isBase64, // fee: isNaturalNumberOrZeroLike, // feeAssetId: isWavesOrAssetId, // chainId: isNumber, // timestamp: isNumber, // proofs: ifElse(isArray, defaultValue(true), orEq([ undefined ])), // } // // // export const invokeExpressionValidator = validateByShema(invokeScheme, getError)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
waves_lib-0.1.0 | js/node_modules/@waves/waves-transactions/src/validators/invoke-expression.ts |