UNPKG

457 BTypeScriptView Raw
1import { BigNumber } from '@0x/utils';
2export declare const utils: {
3 convertHexToNumber(value: string): number;
4 convertHexToNumberOrNull(hex: string | null): number | null;
5 convertAmountToBigNumber(value: string | number | BigNumber): BigNumber;
6 encodeAmountAsHexString(value: string | number | BigNumber): string;
7 numberToHex(value: number): string;
8 isHexStrict(hex: string | number): boolean;
9};
10//# sourceMappingURL=utils.d.ts.map
\No newline at end of file