Skip to content

Commit

Permalink
cleaned up
Browse files Browse the repository at this point in the history
  • Loading branch information
uintgroup committed Aug 10, 2023
1 parent 8dde866 commit f5b28d5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 18 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@uintgroup/selective-pausable",
"name": "@uintgroup/pausable-selective",
"version": "1.0.2",
"description": "An expansion on OpenZeppelin's Pausable.sol. This contract adds the ability to pause each function by its selector.",
"main": "index.js",
Expand All @@ -9,7 +9,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/uintgroup/selective-pausable.git"
"url": "git+https://github.com/uintgroup/pausable-selective.git"
},
"keywords": [
"solidity",
Expand All @@ -23,9 +23,9 @@
"author": "uintgroup",
"license": "ISC",
"bugs": {
"url": "https://github.com/uintgroup/selective-pausable/issues"
"url": "https://github.com/uintgroup/pausable-selective/issues"
},
"homepage": "https://github.com/uintgroup/selective-pausable#readme",
"homepage": "https://github.com/uintgroup/pausable-selective#readme",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
}
Expand Down
12 changes: 0 additions & 12 deletions script/Counter.s.sol

This file was deleted.

4 changes: 2 additions & 2 deletions src/SelectivePausable.sol → src/PausableSelective.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
pragma solidity ^0.8.21;

/**
* @title SelectivePausable
* @title PausableSelective
* @author @uintgroup @curi0n-s
* @notice pauses contract functions using each function's selector
* @dev can replace or work in tandem with OpenZeppelin's Pausable.sol
*/

abstract contract SelectivePausable {
abstract contract PausableSelective {
/**
* @dev Revert with this custom error when array lengths do not match.
*/
Expand Down

0 comments on commit f5b28d5

Please sign in to comment.