Function: registerAllowedSigner(Role role, address signer, bool allowed)
Allows the account that already has a role to add a trusted signer.
Inputs
role
Constraints: The caller should have this
role
.Impact: The caller will add to the new signer for this role.
signer
Constraints: Signer !=
address(0)
.Impact: The address of a trusted signer.
allowed
Constraints: No.
Impact: The account can set and remove the allowance for the signer.
Branches and code coverage (including function calls)
Intended branches
The account has the signer.
Negative behavior
The caller does not have the role.
The account already has a signer.