ethers.js/packages/units/lib.esm/index.d.ts
2021-01-19 05:22:54 -05:00

7 lines
481 B
TypeScript

import { BigNumber, BigNumberish } from "@ethersproject/bignumber";
export declare function commify(value: string | number): string;
export declare function formatUnits(value: BigNumberish, unitName?: string | BigNumberish): string;
export declare function parseUnits(value: string, unitName?: BigNumberish): BigNumber;
export declare function formatEther(wei: BigNumberish): string;
export declare function parseEther(ether: string): BigNumber;
//# sourceMappingURL=index.d.ts.map