Skip to content

acl:renounce

Renounce a role held by the connected account on an AccessControl contract or an AccessManager.

acl:renounce <role> <on> <target>
NameTypeDescription
rolenumber | stringRole name (e.g. MINTER_ROLE), bytes32 value, or AccessManager role id
oncommandKeyword on
targetaddressAccessControl contract or AccessManager address
load acl
set $token 0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdb
set $manager 0xc0dbDcA66a0636236fAbe1B3C16B1bD4C84bB1E1
acl:renounce MINTER_ROLE on $token
acl:renounce 42 on $manager
  • Renounces a role held by the connected account itself; the v5 renounceRole self-confirmation argument is filled in automatically.