This contract is used in conjunction with one or more instances of {BeaconProxy} to determine their implementation contract, which is where they will delegate all function calls. An owner is able to change the implementation the beacon points to, thus upgrading the proxies that use this beacon.
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
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
upgradeTo
Upgrades the beacon to a new implementation. Emits an {Upgraded} event. Requirements: - msg.sender must be the owner of the contract. - newImplementation must be a contract.
Parameters
Name
Type
Description
newImplementation
address
undefined
Events
OwnershipTransferred
Parameters
Name
Type
Description
previousOwner indexed
address
undefined
newOwner indexed
address
undefined
Upgraded
Emitted when the implementation returned by the beacon is changed.