Skip to content

Latest commit

 

History

History
266 lines (244 loc) · 8.78 KB

Context.md

File metadata and controls

266 lines (244 loc) · 8.78 KB

Context.sol

View Source: contracts/openzeppelin/Context.sol

↘ Derived Contracts: ERC20, Ownable

Context contract

Functions


constructor

function () internal nonpayable
Source Code
constructor() internal {}

_msgSender

function _msgSender() internal view
returns(address payable)
Source Code
function _msgSender() internal view returns (address payable) {
        return msg.sender;
    }

_msgData

function _msgData() internal view
returns(bytes)
Source Code
function _msgData() internal view returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }

Contracts