Skip to content

Instantly share code, notes, and snippets.

@bmeredith
bmeredith / Context.sol
Last active May 31, 2021 18:18 — forked from ebrahimasifismail/Context.sol
Sample Contracts
pragma solidity ^0.5.0;
/*
* @dev 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 GSN meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*