@bananapus/core-v6 0.0.75 → 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 +1 -1
- package/src/JBMultiTerminal.sol +3 -1
package/package.json
CHANGED
package/src/JBMultiTerminal.sol
CHANGED
|
@@ -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
|
-
///
|
|
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;
|