Proxy

Git Source

Inherits: IProxy

State Variables

_IMPLEMENTATION_SLOT

Storage slot with the address of the current implementation. keccak256('eip1967.proxy.implementation') - 1.

uint256 private constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;

Functions

constructor

Constructs the contract such that it proxies calls to the given implementation.

constructor(address implementation_);

Parameters

NameTypeDescription
implementation_addressThe address of some implementation.

fallback

fallback() external payable;