Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ernestosperanza committed Aug 21, 2021
2 parents 8fa0c10 + 5088970 commit 320caf0
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions docs/Constants.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,22 @@ Strings
*******

.. code-block:: python
web3.constants.ADDRESS_ZERO #The Address Zero, which is 20 bytes (40 nibbles) of zero.
web3.constants.MAX_INT #The hexadecimal version of Max uint256
web3.constants.HASH_ZERO #The Hash Zero, which is 32 bytes (64 nibbles) of zero.
#The Address Zero, which is 20 bytes (40 nibbles) of zero.
web3.constants.ADDRESS_ZERO
#The hexadecimal version of Max uint256.
web3.constants.MAX_INT
#The Hash Zero, which is 32 bytes (64 nibbles) of zero.
web3.constants.HASH_ZERO
Int
***

.. code-block:: python
web3.constants.WEI_PER_ETHER #The amount of Wei in one Ether
#The amount of Wei in one Ether
web3.constants.WEI_PER_ETHER

0 comments on commit 320caf0

Please sign in to comment.