Skip to content

Latest commit

 

History

History
21 lines (19 loc) · 842 Bytes

OZ Context.md

File metadata and controls

21 lines (19 loc) · 842 Bytes

OpenZeppelin Context: Provides information about the current execution context, including the sender of the transaction and its data.

While these are generally available via msg.sender and msg.data, they should not be accessed in such a direct manner, since when dealing with meta-transactions the account sending and paying for execution may not be the actual sender (as far as an application is concerned).

This contract is only required for intermediate, library-like contracts.


Slide Screenshot

161.jpg


Slide Text

  • Current Execution Context
    • msg.sender & msg.data
  • Meta-transactions
    • Sender != User
  • _msgSender() & _msgData()

References


Tags