OwnedUpgradeabilityProxy (OwnedUpgradeabilityProxy.sol)
Last updated
Was this helpful?
Last updated
Was this helpful?
View Source:
↗ Extends: ↘ Derived Contracts: , , , , , , , , , , , , , , , , , , ,
OwnedUpgradeabilityProxy
This contract combines an upgradeability proxy with basic authorization control functionalities
Constants & Variables
Events
Throws if called by any account other than the owner.
Arguments
Name
Type
Description
the constructor sets the original owner of the contract to the sender account.
Arguments
Name
Type
Description
Tells the address of the owner
Returns
the address of the owner
Arguments
Name
Type
Description
Sets the address of the owner
Arguments
Name
Type
Description
_newUpgradeabilityOwner
address
Internal function to provide the address of the implementation contract
Arguments
Name
Type
Description
Tells the address of the proxy owner
Returns
the address of the proxy owner
Arguments
Name
Type
Description
Tells the version name of the current implementation
Returns
string representing the name of the current version
Arguments
Name
Type
Description
Tells the address of the current implementation
Returns
address of the current implementation
Arguments
Name
Type
Description
Allows the current owner to transfer control of the contract to a newOwner.
Arguments
Name
Type
Description
_newOwner
address
The address to transfer ownership to.
Allows the upgradeability owner to upgrade the current version of the proxy.
Arguments
Name
Type
Description
_newVersion
string
representing the version name of the new implementation to be set.
_newImplementation
address
representing the address of the new implementation to be set.
Allows the upgradeability owner to upgrade the current version of the proxy and call the new implementation to initialize whatever is needed through a low level call.
Arguments
Name
Type
Description
_newVersion
string
representing the version name of the new implementation to be set.
_newImplementation
address
representing the address of the new implementation to be set.
_data
bytes
represents the msg.data to bet sent in the low level call. This parameter may include the function
signature of the implementation to be called with the needed payload |
Arguments
Name
Type
Description
_newVersion
string
_newImplementation
address
_data
bytes
⤾ overrides