Proxy (Proxy.sol)

View Source: contracts/proxy/Proxy.sol

↘ Derived Contracts: DataStoreProxy, SecurityToken, SecurityTokenRegistry, UpgradeabilityProxy

Proxy

Gives the possibility to delegate any call to a foreign implementation.

Functions

_implementation

⤿ Overridden Implementation(s): DataStoreProxy._implementation,OwnedUpgradeabilityProxy._implementation,SecurityToken._implementation,SecurityTokenRegistry._implementation

Tells the address of the implementation where every call will be delegated.

function _implementation() internal view
returns(address)

Returns

address of the implementation to which it will be delegated

Arguments

_fallback

Fallback function. Implemented entirely in _fallback.

function _fallback() internal nonpayable

Arguments

_delegate

Fallback function allowing to perform a delegatecall to the given implementation. This function will return whatever the implementation call returns

function _delegate(address implementation) internal nonpayable

Arguments

function () external payable

Arguments

Last updated