diff options
author | Denton Liu <liu.denton+github@gmail.com> | 2016-05-25 22:32:53 +0800 |
---|---|---|
committer | Denton Liu <liu.denton+github@gmail.com> | 2016-05-31 01:18:29 +0800 |
commit | 0c03577adeb4a396d2e56c4f65d7fd4506baad7e (patch) | |
tree | bd5f037cdb2ba53c4e251c13be7b6e1cfadf1237 /docs | |
parent | aafc65a2750fa1fc7ebb27a87d6024571e526318 (diff) | |
download | dexon-solidity-0c03577adeb4a396d2e56c4f65d7fd4506baad7e.tar.gz dexon-solidity-0c03577adeb4a396d2e56c4f65d7fd4506baad7e.tar.zst dexon-solidity-0c03577adeb4a396d2e56c4f65d7fd4506baad7e.zip |
Removed leading space
Diffstat (limited to 'docs')
-rw-r--r-- | docs/units-and-global-variables.rst | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/docs/units-and-global-variables.rst b/docs/units-and-global-variables.rst index 8b6ffda7..d0a60d28 100644 --- a/docs/units-and-global-variables.rst +++ b/docs/units-and-global-variables.rst @@ -50,20 +50,20 @@ namespace and are mainly used to provide information about the blockchain. Block and Transaction Properties -------------------------------- - - ``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.timestamp`` (``uint``): current block timestamp - - ``msg.data`` (``bytes``): complete calldata - - ``msg.gas`` (``uint``): remaining gas - - ``msg.sender`` (``address``): sender of the message (current call) - - ``msg.sig`` (``bytes4``): first four bytes of the calldata (i.e. function identifier) - - ``msg.value`` (``uint``): number of wei sent with the message - - ``now`` (``uint``): current block timestamp (alias for ``block.timestamp``) - - ``tx.gasprice`` (``uint``): gas price of the transaction - - ``tx.origin`` (``address``): sender of the transaction (full call chain) +- ``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.timestamp`` (``uint``): current block timestamp +- ``msg.data`` (``bytes``): complete calldata +- ``msg.gas`` (``uint``): remaining gas +- ``msg.sender`` (``address``): sender of the message (current call) +- ``msg.sig`` (``bytes4``): first four bytes of the calldata (i.e. function identifier) +- ``msg.value`` (``uint``): number of wei sent with the message +- ``now`` (``uint``): current block timestamp (alias for ``block.timestamp``) +- ``tx.gasprice`` (``uint``): gas price of the transaction +- ``tx.origin`` (``address``): sender of the transaction (full call chain) .. note:: The values of all members of ``msg``, including ``msg.sender`` and |