uint256 value
string name
function owner() external pure returns (address)
Returns the current owner of the contract.
| Name | Type | Description | 
|---|---|---|
| [0] | address | address The address of the current owner | 
function transferOwnership(address) external
function pendingOwner() external pure returns (address)
Returns the address of the pending owner of the contract.
| Name | Type | Description | 
|---|---|---|
| [0] | address | address The address of the pending owner | 
function proposeOwnership(address newOwner) external
Proposes to transfer the contract’s ownership to a new address. The new owner needs to accept the ownership explicitly.
| Name | Type | Description | 
|---|---|---|
| newOwner | address | The address to transfer ownership to | 
function acceptOwnership() external
Transfers ownership to the pending owner.
Can only be called by the pending owner
function implementation() external pure returns (address)
function upgrade(address, bytes32, bytes) external
function set(uint256 _val) external
function setup(bytes _data) external
function contractId() external pure returns (bytes32)
Returns the contract ID. It can be used as a check during upgrades.
Meant to be overridden in derived contracts.
| Name | Type | Description | 
|---|---|---|
| [0] | bytes32 | bytes32 The contract ID |