File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -130,6 +130,29 @@ interface ICollector {
130130 **/
131131 function isFundsAdmin (address admin ) external view returns (bool );
132132
133+ /**
134+ * @dev Grants `role` to `account`.
135+ *
136+ * If `account` had not been already granted `role`, emits a {RoleGranted}
137+ * event.
138+ *
139+ * Requirements:
140+ *
141+ * - the caller must have ``role``'s admin role.
142+ */
143+ function grantRole (bytes32 role , address account ) external ;
144+
145+ /**
146+ * @dev Revokes `role` from `account`.
147+ *
148+ * If `account` had been granted `role`, emits a {RoleRevoked} event.
149+ *
150+ * Requirements:
151+ *
152+ * - the caller must have ``role``'s admin role.
153+ */
154+ function revokeRole (bytes32 role , address account ) external ;
155+
133156 /**
134157 * @notice Returns the available funds for the given stream id and address.
135158 * @param streamId The id of the stream for which to query the balance.
You can’t perform that action at this time.
0 commit comments