Browse Source

Fix Pausable docs

Nicolás Venturo 5 years ago
parent
commit
c4e5daff86
1 changed files with 5 additions and 6 deletions
  1. 5 6
      contracts/utils/Pausable.sol

+ 5 - 6
contracts/utils/Pausable.sol

@@ -13,20 +13,19 @@ import "../GSN/Context.sol";
  */
 contract Pausable is Context {
     /**
-     * @dev Emitted when the pause is triggered by a pauser (`account`).
+     * @dev Emitted when the pause is triggered by `account`.
      */
     event Paused(address account);
 
     /**
-     * @dev Emitted when the pause is lifted by a pauser (`account`).
+     * @dev Emitted when the pause is lifted by `account`.
      */
     event Unpaused(address account);
 
     bool private _paused;
 
     /**
-     * @dev Initializes the contract in unpaused state. Assigns the Pauser role
-     * to the deployer.
+     * @dev Initializes the contract in unpaused state.
      */
     constructor () internal {
         _paused = false;
@@ -56,7 +55,7 @@ contract Pausable is Context {
     }
 
     /**
-     * @dev Called by a pauser to pause, triggers stopped state.
+     * @dev Triggers stopped state.
      */
     function _pause() internal virtual whenNotPaused {
         _paused = true;
@@ -64,7 +63,7 @@ contract Pausable is Context {
     }
 
     /**
-     * @dev Called by a pauser to unpause, returns to normal state.
+     * @dev Returns to normal state.
      */
     function _unpause() internal virtual whenPaused {
         _paused = false;