ethers.js/packages/units/lib/index.d.ts

7 lines
481 B
TypeScript
Raw Normal View History

2019-05-15 01:48:48 +03:00
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