You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Base contract that provides an emergency stop mechanism.
4
+
Base contract that provides a pause mechanism.
5
5
6
6
Inherits from contract Ownable.
7
7
8
-
emergencyStop( ) external onlyOwner
8
+
pause() onlyOwner whenNotPaused returns (bool)
9
9
"""""""""""""""""""""""""""""""""""""
10
10
11
-
Triggers the stop mechanism on the contract. After this function is called (by the owner of the contract), any function with modifier stopInEmergency will not run.
11
+
Triggers pause mechanism on the contract. After this function is called (by the owner of the contract), any function with modifier whenNotPaused will not run.
12
12
13
-
modifier stopInEmergency
13
+
14
+
modifier whenNotPaused()
14
15
"""""""""""""""""""""""""""""""""""""
15
16
16
-
Prevents function from running if stop mechanism is activated.
17
+
Prevents function from running if pause mechanism is activated.
0 commit comments