@@ -12,8 +12,8 @@ interface IEmergencyBrake {
12
12
function terminate (address target , address [] memory contacts , bytes4 [][] memory permissions ) external ;
13
13
}
14
14
15
- /// @dev EmergencyBrake allows to plan for and execute isolation transactions that remove access permissions for
16
- /// a target contract from a series of contacts . In an permissioned environment can be used for pausing components.
15
+ /// @dev EmergencyBrake allows to plan for and execute transactions that remove access permissions for a target
16
+ /// contract. In an permissioned environment this can be used for pausing components.
17
17
/// All contracts in scope of emergency plans must grant ROOT permissions to EmergencyBrake. To mitigate the risk
18
18
/// of governance capture, EmergencyBrake has very limited functionality, being able only to revoke existing roles
19
19
/// and to restore previously revoked roles. Thus EmergencyBrake cannot grant permissions that weren't there in the
@@ -41,7 +41,7 @@ contract EmergencyBrake is AccessControl, IEmergencyBrake {
41
41
// Granting roles (plan, cancel, execute, restore, terminate) is reserved to ROOT
42
42
}
43
43
44
- /// @dev Register an isolation transaction
44
+ /// @dev Register an access removal transaction
45
45
function plan (address target , address [] memory contacts , bytes4 [][] memory permissions )
46
46
external override auth
47
47
returns (bytes32 txHash )
@@ -62,7 +62,7 @@ contract EmergencyBrake is AccessControl, IEmergencyBrake {
62
62
emit Planned (txHash, target, contacts, permissions);
63
63
}
64
64
65
- /// @dev Erase a planned isolation transaction
65
+ /// @dev Erase a planned access removal transaction
66
66
function cancel (address target , address [] memory contacts , bytes4 [][] memory permissions )
67
67
external override auth
68
68
{
@@ -73,7 +73,7 @@ contract EmergencyBrake is AccessControl, IEmergencyBrake {
73
73
emit Cancelled (txHash, target, contacts, permissions);
74
74
}
75
75
76
- /// @dev Execute an isolation transaction
76
+ /// @dev Execute an access removal transaction
77
77
function execute (address target , address [] memory contacts , bytes4 [][] memory permissions )
78
78
external override auth
79
79
{
0 commit comments