access-control:accept-ownership
Accept a pending ownership transfer of an Ownable2Step contract. Must be sent by the pending owner.
Syntax
Section titled “Syntax”access-control:accept-ownership <contract>Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
contract |
address |
Ownable2Step contract address |
Examples
Section titled “Examples”load access-control
access-control:accept-ownership 0xC18360217D8F7Ab5e7c516566761Ea12Ce7F9D72- Must be sent by the pending owner staged with access-control:transfer-ownership.
See Also
Section titled “See Also”- access-control:transfer-ownership — start the transfer
- @access-control.pendingOwner — read the pending owner