TokenRole
Token role utilities for serializing role identifiers to keccak256 hashes.
TIP-20 includes a built-in RBAC system with roles like ISSUER_ROLE (mint/burn),
PAUSE_ROLE/UNPAUSE_ROLE (emergency controls), and BURN_BLOCKED_ROLE (compliance).
Examples
import { TokenRole } from 'ox/tempo'
const hash = TokenRole.serialize('issuer')Functions
| Name | Description |
|---|---|
TokenRole.serialize | Serializes a token role to its keccak256 hash representation. |
Types
| Name | Description |
|---|---|
TokenRole.TokenRole |

