1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// Copyright (c) 2024 C Forge. All Rights Reserved.
// SPDX-License-Identifier: MIT
/// Emitted when the admin role for a specific role is changed.
///
/// This event is triggered whenever a `role`'s admin role is updated.
/// It logs the `role` being modified, the `previous` admin role, and the `new` admin role set for that `role`.
/// Emitted when a role is granted to an account.
///
/// This event occurs when a new `role` is assigned to an `grantee`.
/// The `grantor` who assigned the role is also logged.
/// Emitted when a role is revoked from an account.
///
/// This event is triggered when an existing `role` is removed from an `account`.
/// The `sender` who performed the revocation is also included.