Roles.sol contains the following: `roles[msg.sender][9] = true;
Its not clear what the number 9 means. In RoleAware.sol there is a constant with the value 9: uint256 constant TOKEN_ACTIVATOR = 9;
The code is more difficult to read without an explanation for the number 9. In case the code would be refactored in the future and the constants in RoleAware.sol are renumbered, the value in Roles.sol would no longer correspond to the right value.
Recommend moving the constants from Roles.sol to RoleAware.sol and replace 9 with the appropriate constant.
werg (Marginswap) confirmed
