Last update: September 30, 2021
TridentOwnable
Trident access control contract.
Functions
constructor
function constructor(
) public
Initialize and grant deployer account (msg.sender
) owner
access role.
claimOwner
function claimOwner(
) external
pendingOwner
can claim owner
account.
transferOwner
function transferOwner(
address recipient,
bool direct
) external
Transfer owner
account.
Parameters:
Name | Type | Description |
---|---|---|
recipient |
address | Account granted owner access control. |
direct |
bool | If ‘true’, ownership is directly transferred. |
Events
TransferOwner
event TransferOwner(
)
TransferOwnerClaim
event TransferOwnerClaim(
)