Beacon.sol
Methods
implementation()
Solidity
function implementation() external view returns (address)
Returns
Name | Type | Description |
---|---|---|
_0 | address | undefined |
owner()
Solidity
function owner() external view returns (address)
Details
Returns the address of the current owner.
Returns
Name | Type | Description |
---|---|---|
_0 | address | undefined |
renounceOwnership()
Solidity
function renounceOwnership() external nonpayable
Details
Leaves the contract without owner. It will not be possible to call onlyOwner
functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.
transferOwnership(address)
Solidity
function transferOwnership(address newOwner) external nonpayable
Details
Transfers ownership of the contract to a new account (newOwner
). Can only be called by the current owner.
Parameters
Name | Type | Description |
---|---|---|
newOwner | address | undefined |
upgradeImplementationTo(address)
Solidity
function upgradeImplementationTo(address newImplementation) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
newImplementation | address | undefined |
Events
OwnershipTransferred
Solidity
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Parameters
Name | Type | Description |
---|---|---|
previousOwner indexed | address | undefined |
newOwner indexed | address | undefined |
Upgraded
Solidity
event Upgraded(address newImplementation)
Parameters
Name | Type | Description |
---|---|---|
newImplementation | address | undefined |