acl:label-role
Attach a human-readable label to an AccessManager role (emitted as an event for off-chain indexing).
Syntax
Section titled “Syntax”acl:label-role <manager> <roleId> <label>Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
manager | address | AccessManager address |
roleId | number | string | Role id (or ADMIN_ROLE / PUBLIC_ROLE) |
label | string | Human-readable role name |
Examples
Section titled “Examples”load acl
set $manager 0xc0dbDcA66a0636236fAbe1B3C16B1bD4C84bB1E1acl:label-role $manager 42 "Treasury manager"- Labels are only emitted as
RoleLabelevents for off-chain tooling; they are not stored on-chain.
See Also
Section titled “See Also”- acl:grant — grant the role to accounts