acl:renounce
Renounce a role held by the connected account on an AccessControl contract or an AccessManager.
Syntax
Section titled “Syntax”acl:renounce <role> <on> <target>Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
role | number | string | Role name (e.g. MINTER_ROLE), bytes32 value, or AccessManager role id |
on | command | Keyword on |
target | address | AccessControl contract or AccessManager address |
Examples
Section titled “Examples”load acl
set $token 0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdbset $manager 0xc0dbDcA66a0636236fAbe1B3C16B1bD4C84bB1E1
acl:renounce MINTER_ROLE on $tokenacl:renounce 42 on $manager- Renounces a role held by the connected account itself; the v5
renounceRoleself-confirmation argument is filled in automatically.
See Also
Section titled “See Also”- acl:revoke — remove someone else's role