View Source: contracts/proxy/Proxy.solโ
โ Derived Contracts: DataStoreProxy, SecurityToken, SecurityTokenRegistry, UpgradeabilityProxyโ
Proxy
Gives the possibility to delegate any call to a foreign implementation.
โ_implementation()โ
โ_fallback()โ
โ()โ
โคฟ 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 viewreturns(address)
Returns
address of the implementation to which it will be delegated
Arguments
Name | Type | Description |
Fallback function. Implemented entirely in _fallback
.
function _fallback() internal nonpayable
Arguments
Name | Type | Description |
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 |