Document the non-zero delay enforcement in AccessControlDefaultAdminRules (#5687)

Co-authored-by: Ernesto García <ernestognw@gmail.com>
This commit is contained in:
qedk
2025-05-16 03:00:37 +05:30
committed by GitHub
parent e34251682b
commit ccde353a20

View File

@ -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 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}.
* * 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`.
*
* Example usage: