@bananapus/core-v6 0.0.74 → 0.0.76

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bananapus/core-v6",
3
- "version": "0.0.74",
3
+ "version": "0.0.76",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -52,7 +52,9 @@ import {JBTokenAmount} from "./structs/JBTokenAmount.sol";
52
52
  /// ERC-20 approvals.
53
53
  /// @dev Each project can have multiple terminals for different tokens. The terminal delegates accounting to
54
54
  /// `JBTerminalStore` and splits distribution to `JBSplits`. Fees are sent to project #1 (the fee beneficiary).
55
- /// All external hook calls (pay hooks, cash-out hooks, split hooks) are wrapped in try-catch to prevent griefing.
55
+ /// Split-hook calls, fee processing, and the leftover-payout transfer to the project owner are wrapped in
56
+ /// try-catch to prevent griefing. Pay and cash-out data-hook calls are NOT wrapped: a project's own data hook is
57
+ /// trusted to fail open, so a reverting pay/cash-out hook is the project's responsibility, not the terminal's.
56
58
  contract JBMultiTerminal is JBPermissioned, ERC2771Context, IJBMultiTerminal {
57
59
  // A library that parses the packed ruleset metadata into a friendlier format.
58
60
  using JBRulesetMetadataResolver for JBRuleset;