UNPKG

@chorus-one/utils

Version:
11 lines (10 loc) 471 B
export declare const MAX_DECIMAL_PLACES = 24; export interface Logger { info(...args: unknown[]): void; error(...args: unknown[]): void; } export declare const nopLogger: Logger; export declare function SafeJSONStringify(obj: any, space?: number): string; export declare function checkMaxDecimalPlaces(denomMultiplier: string): void; export declare function sortObjectByKeys<T>(obj: T): T; export declare const DEFAULT_TRACKING_REF_CODE: "sdk-chorusone-staking";