acl:label-role
Attach a human-readable label to an AccessManager role (emitted as an event for off-chain indexing).
⚗️ Experimental — available at next.evmcrispr.com.
Supports runtime fields inside smart blocks. Use explicit @helper! expressions or captured outputs; other fields are evaluated at build time.
Syntax
Section titled “Syntax”acl:label-role <manager> <roleId> <label>Arguments
Section titled “Arguments”| Name | Type | Evaluation | Description |
|---|---|---|---|
manager | address | Runtime in smart blocks | AccessManager address |
roleId | number | string | Runtime in smart blocks | Role id (or ADMIN_ROLE / PUBLIC_ROLE) |
label | string | Runtime in smart blocks | 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