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

31 lines
954 B
TypeScript
Raw Normal View History

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