Owned

This contract provides support and utilities for contract ownership.

Functions:

Events:

Function constructor()

initializes a new Owned instance

Function transferOwnership(address _newOwner)

allows transferring the contract ownership

the new owner still needs to accept the transfer

can only be called by the contract owner

Parameters:

  • _newOwner: new contract owner

Function acceptOwnership()

used by a new owner to accept an ownership transfer

Event OwnerUpdate(address _prevOwner, address _newOwner)

triggered when the owner is updated

Parameters:

  • _prevOwner: previous owner

  • _newOwner: new owner

Last updated