2020-09-04 14:27:35 +00:00
|
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
pragma solidity 0.6.8;
|
|
|
|
|
|
|
|
/*
|
|
|
|
* @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).
|
|
|
|
*
|
|
|
|
* This contract is only required for intermediate, library-like contracts.
|
|
|
|
*/
|
|
|
|
abstract contract Context {
|
2020-09-09 19:26:52 +00:00
|
|
|
function _msgSender() internal virtual view returns (address payable) {
|
|
|
|
return msg.sender;
|
|
|
|
}
|
2020-09-04 14:27:35 +00:00
|
|
|
|
2020-09-09 19:26:52 +00:00
|
|
|
function _msgData() internal virtual view returns (bytes memory) {
|
|
|
|
this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
|
|
|
|
return msg.data;
|
|
|
|
}
|
2020-09-04 14:27:35 +00:00
|
|
|
}
|