Update cheatsheet.rst

Add more description to the bullet point of 'block.timestamp' (under 'Global Variables')
This commit is contained in:
Hakeem Almidan 2022-02-06 20:16:04 +03:00 committed by GitHub
parent 32d64ce666
commit c3145979fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,7 +92,7 @@ Global Variables
- ``block.difficulty`` (``uint``): current block difficulty
- ``block.gaslimit`` (``uint``): current block gaslimit
- ``block.number`` (``uint``): current block number
- ``block.timestamp`` (``uint``): current block timestamp
- ``block.timestamp`` (``uint``): current block timestamp in seconds since Unix epoch
- ``gasleft() returns (uint256)``: remaining gas
- ``msg.data`` (``bytes``): complete calldata
- ``msg.sender`` (``address``): sender of the message (current call)