UNPKG

@swtc/common

Version:
8 lines 1.28 kB
export { ZERO, ACCOUNT_ID_ZERO, ACCOUNT_ID_ONE, HASHPREFIX, CHAINS, CURRENCY_RE, HASH_RE } from "./constants"; export { LEDGER_FLAGS, FLAGS, LEDGER_STATES } from "./ledger"; export { normalize_swt, normalize_memo } from "./tx"; export { getTypes, formatArgs, getTypeNode, processAffectNode, affectedAccounts, isValidCurrency, isValidHash, txnType, reverseAmount, isAmountZero } from "./utils"; export { REQUIRED, TRANSACTION_TYPES, LEDGER_ENTRY_TYPES, METADATA, TYPES_MAP, FIELDS_MAP, INVERSE_FIELDS_MAP, MIN_CURRENCY_LEN, MAX_CURRENCY_LEN, TUM_NAME_LEN, AMOUNT_CONSTS, allNumeric, isCustomTum, isRelation, isTumCode, isCurrency, isFloat, isLetterNumer, convertByteArrayToHex, convertIntegerToByteArray, convertHexToString, convertStringToHex, get_char_from_num, get_dec_from_hexchar, get_transaction_type, get_transaction_result, get_ledger_entry_type, hex_str_to_byte_array, isHexInt64String, isHexHASH256String, isHexMemoString, isNumber, isString, readAndSum, sort_fields } from "./serializer"; export { funcGetChain, funcSeqEqual, funcConcatArgs, funcHexToBytes, funcBytesToHex, funcHexToString, funcStringToHex, funcString2Hex, funcNumber2Hex, funcHex2Number, funcIsEmpty, funcAssert } from "./functions"; export { SM3 } from "./sm3"; //# sourceMappingURL=index.d.ts.map