Document the non-zero delay enforcement in AccessControlDefaultAdminRules (#5687)
Co-authored-by: Ernesto García <ernestognw@gmail.com>
This commit is contained in:
@ -24,6 +24,7 @@ import {IERC165} from "../../utils/introspection/ERC165.sol";
|
|||||||
* * Enforces a 2-step process to transfer the `DEFAULT_ADMIN_ROLE` to another account.
|
* * Enforces a 2-step process to transfer the `DEFAULT_ADMIN_ROLE` to another account.
|
||||||
* * Enforces a configurable delay between the two steps, with the ability to cancel before the transfer is accepted.
|
* * Enforces a configurable delay between the two steps, with the ability to cancel before the transfer is accepted.
|
||||||
* * The delay can be changed by scheduling, see {changeDefaultAdminDelay}.
|
* * The delay can be changed by scheduling, see {changeDefaultAdminDelay}.
|
||||||
|
* * Role transfers must wait at least one block after scheduling before it can be accepted.
|
||||||
* * It is not possible to use another role to manage the `DEFAULT_ADMIN_ROLE`.
|
* * It is not possible to use another role to manage the `DEFAULT_ADMIN_ROLE`.
|
||||||
*
|
*
|
||||||
* Example usage:
|
* Example usage:
|
||||||
|
|||||||
Reference in New Issue
Block a user