mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update cheatsheet.rst
Add more description to the bullet point of 'block.timestamp' (under 'Global Variables')
This commit is contained in:
parent
32d64ce666
commit
c3145979fc
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user