mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	Sorted block attributes alphabetically
This commit is contained in:
		
							parent
							
								
									bc3e17192f
								
							
						
					
					
						commit
						a6785113b5
					
				| @ -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 | ||||
|  | ||||
| @ -50,11 +50,11 @@ 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.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 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user