UNPKG

test-ic-wallet-middleware-common

Version:
8 lines (7 loc) 559 B
import bigInt from "big-integer"; export declare const to32bits: (num: number) => number[]; export declare const hexToUint8Array: (hex: string) => Uint8Array; export declare const getUSDfromToken: (tokenAmount: string | number, marketPrice: string | number, decimal: string | number) => string; export declare const roundToDecimalN: (numb: number | string, decimal: number | string) => number; export declare const hexToNumber: (hexFormat: string) => bigInt.BigInteger | undefined; export declare const getPxlCode: (prinCode: string, vtId: bigint) => string;