Skip to main content

ERC1967Upgrade

This abstract contract provides getters and event emitting update functions for https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots. Available since v4.1.

Events

AdminChanged

event AdminChanged(address previousAdmin, address newAdmin)

Emitted when the admin account has changed.

Parameters

NameTypeDescription
previousAdminaddressundefined
newAdminaddressundefined

BeaconUpgraded

event BeaconUpgraded(address indexed beacon)

Emitted when the beacon is upgraded.

Parameters

NameTypeDescription
beacon indexedaddressundefined

Upgraded

event Upgraded(address indexed implementation)

Emitted when the implementation is upgraded.

Parameters

NameTypeDescription
implementation indexedaddressundefined