Skip to content

Instantly share code, notes, and snippets.

@CJ42
Last active January 22, 2023 18:42
Show Gist options
  • Select an option

  • Save CJ42/38e2be66f4d471a7da9eb36216df2f2e to your computer and use it in GitHub Desktop.

Select an option

Save CJ42/38e2be66f4d471a7da9eb36216df2f2e to your computer and use it in GitHub Desktop.
constant immutable (assignement on declaration) immutable (assignement in constructor)
blockhash(uint blocknumber) return (bytes32)
block.basefee
block.chainid
block.coinbase
block.difficulty
block.gaslimit
block.number
block.timestamp
gasleft()
msg.data
msg.sender
msg.sig
msg.value
tx.gasprice
tx.origin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment