Skip to the content.

ContextUpgradeable.sol

View Source: @openzeppelin\contracts-upgradeable\utils\ContextUpgradeable.sol

↗ Extends: Initializable ↘ Derived Contracts: ERC20Upgradeable, ERC721BurnableUpgradeable, ERC721Upgradeable, OwnableUpgradeable

ContextUpgradeable

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.

Contract Members

Constants & Variables

uint256[50] private __gap;

Functions

__Context_init

function __Context_init() internal nonpayable onlyInitializing 

Arguments

| Name | Type | Description | | ————- |————- | —–|

__Context_init_unchained

function __Context_init_unchained() internal nonpayable onlyInitializing 

Arguments

| Name | Type | Description | | ————- |————- | —–|

_msgSender

function _msgSender() internal view
returns(address)

Arguments

| Name | Type | Description | | ————- |————- | —–|

_msgData

function _msgData() internal view
returns(bytes)

Arguments

| Name | Type | Description | | ————- |————- | —–|

Contracts