@bananapus/permission-ids-v6 0.0.20 → 0.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/STYLE_GUIDE.md CHANGED
@@ -419,7 +419,7 @@ jobs:
419
419
  submodules: recursive
420
420
  - uses: actions/setup-node@v4
421
421
  with:
422
- node-version: 22.4.x
422
+ node-version: 25.9.0
423
423
  - name: Install npm dependencies
424
424
  run: npm install --omit=dev
425
425
  - name: Install Foundry
@@ -470,13 +470,13 @@ jobs:
470
470
  submodules: recursive
471
471
  - uses: actions/setup-node@v4
472
472
  with:
473
- node-version: latest
473
+ node-version: 25.9.0
474
474
  - name: Install npm dependencies
475
475
  run: npm install --omit=dev
476
476
  - name: Install Foundry
477
477
  uses: foundry-rs/foundry-toolchain@v1
478
478
  - name: Run slither
479
- uses: crytic/slither-action@v0.3.1
479
+ uses: crytic/slither-action@v0.4.1
480
480
  with:
481
481
  slither-config: slither-ci.config.json
482
482
  fail-on: medium
@@ -515,7 +515,7 @@ jobs:
515
515
  },
516
516
  "dependencies": { ... },
517
517
  "devDependencies": {
518
- "@sphinx-labs/plugins": "^0.33.2"
518
+ "@sphinx-labs/plugins": "0.33.3"
519
519
  }
520
520
  }
521
521
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bananapus/permission-ids-v6",
3
- "version": "0.0.20",
3
+ "version": "0.0.21",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -2,13 +2,13 @@
2
2
  pragma solidity 0.8.28;
3
3
 
4
4
  /// @notice Permission IDs for `JBPermissions`, used throughout the Bananapus ecosystem. See
5
- /// [`JBPermissions`](https://github.com/Bananapus/nana-core/blob/main/src/JBPermissions.sol)
5
+ /// [`JBPermissions`](https://github.com/Bananapus/nana-core-v6/blob/main/src/JBPermissions.sol)
6
6
  /// @dev `JBPermissions` allows one address to grant another address permission to call functions in Juicebox contracts
7
7
  /// on their behalf. Each ID in `JBPermissionIds` grants access to a specific set of these functions.
8
8
  library JBPermissionIds {
9
9
  uint8 internal constant ROOT = 1; // All permissions across every contract. Very dangerous. BE CAREFUL!
10
10
 
11
- /* Used by `nana-core`: https://github.com/Bananapus/nana-core */
11
+ /* Used by `nana-core-v6`: https://github.com/Bananapus/nana-core-v6 */
12
12
  uint8 internal constant QUEUE_RULESETS = 2; // Permission to call `JBController.queueRulesetsOf`.
13
13
  uint8 internal constant LAUNCH_RULESETS = 3; // Permission to call `JBController.launchRulesetsFor`.
14
14
  uint8 internal constant CASH_OUT_TOKENS = 4; // Permission to call `JBMultiTerminal.cashOutTokensOf`.
@@ -38,13 +38,13 @@ library JBPermissionIds {
38
38
  /// @dev Used for Etherscan contract verification and other off-chain signature validation.
39
39
  uint8 internal constant SIGN_FOR_ERC20 = 23;
40
40
 
41
- /* Used by `nana-721-hook`: https://github.com/Bananapus/nana-721-hook */
41
+ /* Used by `nana-721-hook-v6`: https://github.com/Bananapus/nana-721-hook-v6 */
42
42
  uint8 internal constant ADJUST_721_TIERS = 24; // Permission to call `JB721TiersHook.adjustTiers`.
43
43
  uint8 internal constant SET_721_METADATA = 25; // Permission to call `JB721TiersHook.setMetadata`.
44
44
  uint8 internal constant MINT_721 = 26; // Permission to call `JB721TiersHook.mintFor`.
45
45
  uint8 internal constant SET_721_DISCOUNT_PERCENT = 27; // Permission to call `JB721TiersHook.setDiscountPercentOf`.
46
46
 
47
- /* Used by `nana-buyback-hook`: https://github.com/Bananapus/nana-buyback-hook */
47
+ /* Used by `nana-buyback-hook-v6`: https://github.com/Bananapus/nana-buyback-hook-v6 */
48
48
  uint8 internal constant SET_BUYBACK_TWAP = 28; // Permission to call `JBBuybackHook.setTwapWindowOf`.
49
49
  uint8 internal constant SET_BUYBACK_POOL = 29; // Permission to call `JBBuybackHook.setPoolFor`.
50
50
  /// @dev This single ID intentionally gates both setting and locking the buyback hook as a simplification.
@@ -63,13 +63,13 @@ library JBPermissionIds {
63
63
  uint8 internal constant SET_ROUTER_TERMINAL = 31; // Permission to call
64
64
  // `JBRouterTerminalRegistry.setTerminalFor` and `JBRouterTerminalRegistry.lockTerminalFor`.
65
65
 
66
- /* Used by `nana-suckers`: https://github.com/Bananapus/nana-suckers */
66
+ /* Used by `nana-suckers-v6`: https://github.com/Bananapus/nana-suckers-v6 */
67
67
  uint8 internal constant MAP_SUCKER_TOKEN = 32; // Permission to call `JBSucker.mapToken`.
68
68
  uint8 internal constant DEPLOY_SUCKERS = 33; // Permission to call `JBSuckerRegistry.deploySuckersFor`.
69
69
  uint8 internal constant SUCKER_SAFETY = 34; // Permission to call `JBSucker.enableEmergencyHatchFor`.
70
70
  uint8 internal constant SET_SUCKER_DEPRECATION = 35; // Permission to call `JBSucker.setDeprecation`.
71
71
 
72
- /* Used by `revnet-core`: https://github.com/Bananapus/revnet-core */
72
+ /* Used by `revnet-core-v6`: https://github.com/rev-net/revnet-core-v6 */
73
73
  /// @notice Permission to hide or reveal tokens on behalf of a holder via `REVHiddenTokens`.
74
74
  uint8 internal constant HIDE_TOKENS = 36;
75
75
  /// @notice Permission to open a loan on behalf of a token holder via `REVLoans.borrowFrom`.