1 | import { BigNumber } from './configured_bignumber';
|
2 | import { Numberish } from './types';
|
3 | /**
|
4 | * Convert a token unit amount to weis. E.g., 10.1 ETH -> 10100000000000000000.
|
5 | */
|
6 | export declare function fromTokenUnitAmount(units: Numberish, decimals?: number): BigNumber;
|
7 | /**
|
8 | * Convert a wei amount to token units. E.g., 10100000000000000000 -> 10.1 ETH.
|
9 | */
|
10 | export declare function toTokenUnitAmount(weis: Numberish, decimals?: number): BigNumber;
|
11 | //# sourceMappingURL=token_utils.d.ts.map |
\ | No newline at end of file |