ethers.js/lib.esm/constants/numbers.d.ts

31 lines
954 B
TypeScript
Raw Permalink Normal View History

2022-09-05 16:57:11 -04:00
/**
* A constant for the order N for the secp256k1 curve.
2022-12-09 18:24:58 -05:00
*
* (**i.e.** ``0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141n``)
2022-09-05 16:57:11 -04:00
*/
2022-11-30 15:44:23 -05:00
export declare const N: bigint;
2022-09-05 16:57:11 -04:00
/**
* A constant for the number of wei in a single ether.
2022-12-09 18:24:58 -05:00
*
* (**i.e.** ``1000000000000000000n``)
2022-09-05 16:57:11 -04:00
*/
2022-11-30 15:44:23 -05:00
export declare const WeiPerEther: bigint;
2022-09-05 16:57:11 -04:00
/**
* A constant for the maximum value for a ``uint256``.
2022-12-09 18:24:58 -05:00
*
* (**i.e.** ``0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffn``)
2022-09-05 16:57:11 -04:00
*/
2022-11-30 15:44:23 -05:00
export declare const MaxUint256: bigint;
2022-09-05 16:57:11 -04:00
/**
* A constant for the minimum value for an ``int256``.
2022-12-09 18:24:58 -05:00
*
* (**i.e.** ``-8000000000000000000000000000000000000000000000000000000000000000n``)
2022-09-05 16:57:11 -04:00
*/
2022-11-30 15:44:23 -05:00
export declare const MinInt256: bigint;
2022-09-05 16:57:11 -04:00
/**
* A constant for the maximum value for an ``int256``.
2022-12-09 18:24:58 -05:00
*
* (**i.e.** ``0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffn``)
2022-09-05 16:57:11 -04:00
*/
2022-11-30 15:44:23 -05:00
export declare const MaxInt256: bigint;
2022-09-05 16:57:11 -04:00
//# sourceMappingURL=numbers.d.ts.map