2
0
mirror of synced 2025-02-24 20:18:07 +00:00
2019-12-13 22:05:10 -05:00
..
2019-12-13 22:05:10 -05:00
2019-12-13 22:05:10 -05:00

Documentation: html

Constants

The ethers.contants Object contains commonly used values.

Importing

Skipping JavaScript Evaluation.

Bytes

constants . AddressZero => DataHexstring

The Address Zero, which is 20 bytes (40 nibbles) of zero.

constants . HashZero => DataHexstring

The Hash Zero, which is 32 bytes (64 nibbles) of zero.

Strings

constants . EtherSymbol => string

The Ether symbol, Ξ.

BigNumber

constants . NegativeOne => BigNumber

The BigNumber value representing "-1".

constants . Zero => BigNumber

The BigNumber value representing "0".

constants . One => BigNumber

The BigNumber value representing "1".

constants . Two => BigNumber

The BigNumber value representing "2".

constants . WeiPerEther => BigNumber

The BigNumber value representing "1000000000000000000", which is the number of Wei per Ether.

constants . MaxUint256 => BigNumber

The BigNumber value representing the maximum uint256 value.


Content Hash: 11a9a2e37a2a553b79931caf5374bcd894edf343a897c4253ddeaf4d2f8e1213