Proxy (Proxy.sol)

View Source: contracts/proxy/Proxy.solarrow-up-right

↘ Derived Contracts: DataStoreProxyarrow-up-right, SecurityTokenarrow-up-right, SecurityTokenRegistryarrow-up-right, UpgradeabilityProxyarrow-up-right

Proxy

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

Functions

_implementation

⤿ Overridden Implementation(s): DataStoreProxy._implementationarrow-up-right,OwnedUpgradeabilityProxy._implementationarrow-up-right,SecurityToken._implementationarrow-up-right,SecurityTokenRegistry._implementationarrow-up-right

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.

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

Arguments

Name

Type

Description

implementation

address

Arguments

Name

Type

Description

Last updated

Was this helpful?