@aragonosx:permission
Compute the bytes32 id of a permission name (keccak256 of e.g. EXECUTE_PERMISSION).
Returns: bytes32
Syntax
Section titled “Syntax”@aragonosx:permission(name)Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
name | string | Permission name (e.g. EXECUTE) or bytes32 id |
Examples
Section titled “Examples”# Compute a permission id for use in a raw exec callaragonosx:connect 0x2222222222222222222222222222222222222222 ( set $id @aragonosx:permission("EXECUTE") print $id)