@bananapus/suckers-v6 0.0.61 → 0.0.63

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
@@ -2,13 +2,18 @@
2
2
 
3
3
  `@bananapus/suckers-v6` provides cross-chain bridging for Juicebox project tokens and the terminal assets that back them. A pair of suckers lets users burn on one chain, move value across a bridge, and mint the same project token representation on another chain.
4
4
 
5
- Docs: <https://docs.juicebox.money>
6
- Architecture: [ARCHITECTURE.md](./ARCHITECTURE.md)
7
- User journeys: [USER_JOURNEYS.md](./USER_JOURNEYS.md)
8
- Skills: [SKILLS.md](./SKILLS.md)
9
- Risks: [RISKS.md](./RISKS.md)
10
- Administration: [ADMINISTRATION.md](./ADMINISTRATION.md)
11
- Audit instructions: [AUDIT_INSTRUCTIONS.md](./AUDIT_INSTRUCTIONS.md)
5
+
6
+ ## Documentation
7
+
8
+ - [INVARIANTS.md](./INVARIANTS.md) — guarantees this code enforces at runtime, organized by user/operator/contract.
9
+ - [ARCHITECTURE.md](./ARCHITECTURE.md) — system layout, contract responsibilities, and the bridge-variant taxonomy.
10
+ - [ADMINISTRATION.md](./ADMINISTRATION.md) — change-management posture, Safe-controlled surfaces, and operational roles.
11
+ - [RISKS.md](./RISKS.md) — bridge-flavored risk register: AMB trust, merkle progression, mapping, deprecation, atomicity.
12
+ - [USER_JOURNEYS.md](./USER_JOURNEYS.md) — end-to-end flows for token holders, operators, and integrators.
13
+ - [AUDIT_INSTRUCTIONS.md](./AUDIT_INSTRUCTIONS.md) — scope, entrypoints, and reading order for security review.
14
+ - [SKILLS.md](./SKILLS.md) — reusable patterns and gotchas distilled from this codebase.
15
+ - [STYLE_GUIDE.md](./STYLE_GUIDE.md) — Solidity conventions used across this repo.
16
+ - [CHANGELOG.md](./CHANGELOG.md) — versioned change history.
12
17
 
13
18
  The codebase includes multiple bridge variants, but the canonical deployment and discovery tooling in this repo is narrower than the full runtime surface. Treat the deployment scripts and helper libraries as the source of truth for what is operationally supported today.
14
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bananapus/suckers-v6",
3
- "version": "0.0.61",
3
+ "version": "0.0.63",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
package/src/JBSucker.sol CHANGED
@@ -360,7 +360,7 @@ abstract contract JBSucker is ERC2771Context, JBPermissioned, Initializable, ERC
360
360
 
361
361
  /// @notice Emergency escape hatch: lets a user reclaim their project tokens and terminal tokens on the chain they
362
362
  /// originally deposited from, when the bridge has become permanently non-functional. Must be enabled by the project
363
- /// owner via the registry's `setEmergencyHatchStatusOf`.
363
+ /// owner via `enableEmergencyHatchFor`.
364
364
  /// @param claimData The terminal token, merkle tree leaf, and proof for the claim.
365
365
  function exitThroughEmergencyHatch(JBClaim calldata claimData) external override {
366
366
  // Does all the needed validation to ensure that the claim is valid *and* that claiming through the emergency
@@ -61,9 +61,6 @@ library JBSwapPoolLib {
61
61
  /// @dev The default TWAP observation window in seconds (10 minutes).
62
62
  uint32 private constant _DEFAULT_TWAP_WINDOW = 600;
63
63
 
64
- /// @dev The minimum acceptable TWAP observation window in seconds (2 minutes).
65
- uint256 private constant _MIN_TWAP_WINDOW = 120;
66
-
67
64
  /// @dev The TWAP observation window used for V4 geomean oracle queries in seconds (2 minutes).
68
65
  uint32 private constant _V4_TWAP_WINDOW = 120;
69
66