diff options
author | Denton Liu <liu.denton+github@gmail.com> | 2016-05-25 22:21:03 +0800 |
---|---|---|
committer | Denton Liu <liu.denton+github@gmail.com> | 2016-05-31 01:18:28 +0800 |
commit | a6785113b5e145418ab09aa2a77319aa33dbf0c9 (patch) | |
tree | 0327cf21ae5a146e787364680b87ead2e3980d40 /docs/miscellaneous.rst | |
parent | bc3e17192f43f746bfa68ffac55f3e888195a4e1 (diff) | |
download | dexon-solidity-a6785113b5e145418ab09aa2a77319aa33dbf0c9.tar dexon-solidity-a6785113b5e145418ab09aa2a77319aa33dbf0c9.tar.gz dexon-solidity-a6785113b5e145418ab09aa2a77319aa33dbf0c9.tar.bz2 dexon-solidity-a6785113b5e145418ab09aa2a77319aa33dbf0c9.tar.lz dexon-solidity-a6785113b5e145418ab09aa2a77319aa33dbf0c9.tar.xz dexon-solidity-a6785113b5e145418ab09aa2a77319aa33dbf0c9.tar.zst dexon-solidity-a6785113b5e145418ab09aa2a77319aa33dbf0c9.zip |
Sorted block attributes alphabetically
Diffstat (limited to 'docs/miscellaneous.rst')
-rw-r--r-- | docs/miscellaneous.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/miscellaneous.rst b/docs/miscellaneous.rst index 787ff23a..4608f32d 100644 --- a/docs/miscellaneous.rst +++ b/docs/miscellaneous.rst @@ -158,11 +158,11 @@ Cheatsheet Global Variables ================ +- ``block.blockhash(uint blockNumber) returns (bytes32)``: hash of the given block - only works for 256 most recent blocks - ``block.coinbase`` (``address``): current block miner's address - ``block.difficulty`` (``uint``): current block difficulty - ``block.gaslimit`` (``uint``): current block gaslimit - ``block.number`` (``uint``): current block number -- ``block.blockhash(uint blockNumber) returns (bytes32)``: hash of the given block - only works for 256 most recent blocks - ``block.timestamp`` (``uint``): current block timestamp - ``msg.data`` (``bytes``): complete calldata - ``msg.gas`` (``uint``): remaining gas |