mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add msg.sig to cheatsheet
This commit is contained in:
parent
3f401ebd42
commit
8bfc9ad829
@ -96,6 +96,7 @@ Global Variables
|
||||
- ``gasleft() returns (uint256)``: remaining gas
|
||||
- ``msg.data`` (``bytes``): complete calldata
|
||||
- ``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
|
||||
- ``tx.gasprice`` (``uint``): gas price of the transaction
|
||||
- ``tx.origin`` (``address``): sender of the transaction (full call chain)
|
||||
|
Loading…
Reference in New Issue
Block a user