@bananapus/permission-ids-v6 0.0.1 → 0.0.2

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/README.md CHANGED
@@ -6,7 +6,7 @@ Library of `uint8` constants defining all permission IDs used with `JBPermission
6
6
 
7
7
  | Contract | Description |
8
8
  |----------|-------------|
9
- | `JBPermissionIds` | Solidity library with 34 `uint8 internal constant` permission IDs. No state, no functions. |
9
+ | `JBPermissionIds` | Solidity library with 32 `uint8 internal constant` permission IDs. No state, no functions. |
10
10
 
11
11
  ### Permission ID Ranges
12
12
 
@@ -16,8 +16,8 @@ Library of `uint8` constants defining all permission IDs used with `JBPermission
16
16
  | 2--20 | nana-core-v6 | `QUEUE_RULESETS`, `LAUNCH_RULESETS`, `CASH_OUT_TOKENS`, `SEND_PAYOUTS`, `MIGRATE_TERMINAL`, `SET_PROJECT_URI`, `DEPLOY_ERC20`, `SET_TOKEN`, `MINT_TOKENS`, `BURN_TOKENS`, `CLAIM_TOKENS`, `TRANSFER_CREDITS`, `SET_CONTROLLER`, `SET_TERMINALS`, `SET_PRIMARY_TERMINAL`, `USE_ALLOWANCE`, `SET_SPLIT_GROUPS`, `ADD_PRICE_FEED`, `ADD_ACCOUNTING_CONTEXTS` |
17
17
  | 21--24 | nana-721-hook-v6 | `ADJUST_721_TIERS`, `SET_721_METADATA`, `MINT_721`, `SET_721_DISCOUNT_PERCENT` |
18
18
  | 25--27 | nana-buyback-hook-v6 | `SET_BUYBACK_TWAP`, `SET_BUYBACK_POOL`, `SET_BUYBACK_HOOK` |
19
- | 28--30 | nana-swap-terminal-v6 | `ADD_SWAP_TERMINAL_POOL`, `ADD_SWAP_TERMINAL_TWAP_PARAMS`, `SET_SWAP_TERMINAL` |
20
- | 31--34 | nana-suckers-v6 | `MAP_SUCKER_TOKEN`, `DEPLOY_SUCKERS`, `SUCKER_SAFETY`, `SET_SUCKER_DEPRECATION` |
19
+ | 28 | nana-router-terminal-v6 | `SET_ROUTER_TERMINAL` |
20
+ | 29--32 | nana-suckers-v6 | `MAP_SUCKER_TOKEN`, `DEPLOY_SUCKERS`, `SUCKER_SAFETY`, `SET_SUCKER_DEPRECATION` |
21
21
 
22
22
  ## Install
23
23
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bananapus/permission-ids-v6",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -44,16 +44,13 @@ library JBPermissionIds {
44
44
  uint8 internal constant SET_BUYBACK_HOOK = 27; // Permission to call `JBBuybackHookRegistry.setHookFor` and
45
45
  // `JBBuybackHookRegistry.lockHookFor`.
46
46
 
47
- /* Used by `nana-swap-terminal`: https://github.com/Bananapus/nana-swap-terminal */
48
- uint8 internal constant ADD_SWAP_TERMINAL_POOL = 28; // Permission to call `JBSwapTerminal.addDefaultPool`.
49
- uint8 internal constant ADD_SWAP_TERMINAL_TWAP_PARAMS = 29; // Permission to call
50
- // `JBSwapTerminal.addTwapParamsFor`.
51
- uint8 internal constant SET_SWAP_TERMINAL = 30; // Permission to call `JBSwapTerminalRegistry.setTerminalFor` and
52
- // `JBSwapTerminalRegistry.lockTerminalFor`.
47
+ /* Used by `nana-router-terminal`: https://github.com/Bananapus/nana-router-terminal-v6 */
48
+ uint8 internal constant SET_ROUTER_TERMINAL = 28; // Permission to call
49
+ // `JBRouterTerminalRegistry.setTerminalFor` and `JBRouterTerminalRegistry.lockTerminalFor`.
53
50
 
54
51
  /* Used by `nana-suckers`: https://github.com/Bananapus/nana-suckers */
55
- uint8 internal constant MAP_SUCKER_TOKEN = 31; // Permission to call `JBSucker.mapToken`.
56
- uint8 internal constant DEPLOY_SUCKERS = 32; // Permission to call `JBSuckerRegistry.deploySuckersFor`.
57
- uint8 internal constant SUCKER_SAFETY = 33; // Permission to call `JBSucker.enableEmergencyHatchFor`.
58
- uint8 internal constant SET_SUCKER_DEPRECATION = 34; // Permission to call `JBSucker.setDeprecation`.
52
+ uint8 internal constant MAP_SUCKER_TOKEN = 29; // Permission to call `JBSucker.mapToken`.
53
+ uint8 internal constant DEPLOY_SUCKERS = 30; // Permission to call `JBSuckerRegistry.deploySuckersFor`.
54
+ uint8 internal constant SUCKER_SAFETY = 31; // Permission to call `JBSucker.enableEmergencyHatchFor`.
55
+ uint8 internal constant SET_SUCKER_DEPRECATION = 32; // Permission to call `JBSucker.setDeprecation`.
59
56
  }