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

Name

Type

Description

_fallback

Fallback function. Implemented entirely in _fallback.

function _fallback() internal nonpayable

Arguments

Name

Type

Description

_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

Name

Type

Description

implementation

address

โ€‹

function () external payable

Arguments

Name

Type

Description