UNPKG

@dogeuni-org/wallet-connect-react

Version:

dogeuni wallet js sdk rom react provider、swap pools base action, base use for React

15 lines (14 loc) 1.23 kB
export declare const drcToDec: (drc: number | string | undefined | null | '', places?: number, decimal?: number) => string; export declare const drcToView: (drc: number | string | undefined | null | '', des?: number, decimal?: number) => string; export declare const amtToView: (value: string | number, decimal?: number, len?: number) => string; export declare const decToDrc: (drc: number | string | undefined | null | '', decimal?: number) => string; export declare const valueFormat: (value: string | number, decimal?: number) => string; export declare const getTickName: (tick: string | null | undefined, doge?: number | unknown) => string; export declare const currencyValue: (value: string | number, price: string | number, decimal?: number, pe?: number) => string; export declare const getOrderItemStatus: (item: any, p: string) => { status: string; }; export declare const getOrderListStatus: (list: [], p: string) => any[]; export declare const formatAddress: (address: string) => string; export declare const amtToFormat: (amt: string | number, len?: number, decimal?: number) => string; export declare const formatAmount: (amount: number | string | null | undefined, precision: number, decimal?: number) => string;