stablecoin-studio
stablecoin-studio copied to clipboard
[CLI][UI] As a user, I want to avoid to remove any role from the StableCoin creator
Context
In order to avoid that the stable coin creator could have no roles, we should avoid it.
Description
If some user try to remove some role from the token creator, this operation should report an error.
Acceptance criteria
- Given a stable coin created by me and all operation were managed by the SC, If I try to remove my cash in role, burn, rescue or wipe role, an error is displayed.
- Given a stable coin created by me and all operation were managed by the SC, If I try to remove from an user, who previously have been granted all the roles, the cash in role, burn, rescue or wipe role, the operations should finish successfully.