@bananapus/721-hook-v6 0.0.50 → 0.0.51
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/721-hook-v6",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.51",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@bananapus/address-registry-v6": "^0.0.25",
|
|
32
|
-
"@bananapus/core-v6": "^0.0.
|
|
33
|
-
"@bananapus/ownable-v6": "^0.0.
|
|
34
|
-
"@bananapus/permission-ids-v6": "^0.0.
|
|
32
|
+
"@bananapus/core-v6": "^0.0.54",
|
|
33
|
+
"@bananapus/ownable-v6": "^0.0.25",
|
|
34
|
+
"@bananapus/permission-ids-v6": "^0.0.25",
|
|
35
35
|
"@openzeppelin/contracts": "5.6.1",
|
|
36
36
|
"@prb/math": "4.1.1",
|
|
37
37
|
"solady": "0.1.26"
|
|
@@ -277,7 +277,6 @@ contract JB721TiersHookProjectDeployer is
|
|
|
277
277
|
ownerMustSendPayouts: payDataRulesetConfig.metadata.ownerMustSendPayouts,
|
|
278
278
|
holdFees: payDataRulesetConfig.metadata.holdFees,
|
|
279
279
|
scopeCashOutsToLocalBalances: payDataRulesetConfig.metadata.scopeCashOutsToLocalBalances,
|
|
280
|
-
pauseCrossProjectFeeFreeInflows: payDataRulesetConfig.metadata.pauseCrossProjectFeeFreeInflows,
|
|
281
280
|
useDataHookForPay: true,
|
|
282
281
|
useDataHookForCashOut: payDataRulesetConfig.metadata.useDataHookForCashOut,
|
|
283
282
|
dataHook: address(dataHook),
|
|
@@ -352,7 +351,6 @@ contract JB721TiersHookProjectDeployer is
|
|
|
352
351
|
ownerMustSendPayouts: payDataRulesetConfig.metadata.ownerMustSendPayouts,
|
|
353
352
|
holdFees: payDataRulesetConfig.metadata.holdFees,
|
|
354
353
|
scopeCashOutsToLocalBalances: payDataRulesetConfig.metadata.scopeCashOutsToLocalBalances,
|
|
355
|
-
pauseCrossProjectFeeFreeInflows: payDataRulesetConfig.metadata.pauseCrossProjectFeeFreeInflows,
|
|
356
354
|
useDataHookForPay: true,
|
|
357
355
|
useDataHookForCashOut: payDataRulesetConfig.metadata.useDataHookForCashOut,
|
|
358
356
|
dataHook: address(dataHook),
|
|
@@ -428,7 +426,6 @@ contract JB721TiersHookProjectDeployer is
|
|
|
428
426
|
ownerMustSendPayouts: payDataRulesetConfig.metadata.ownerMustSendPayouts,
|
|
429
427
|
holdFees: payDataRulesetConfig.metadata.holdFees,
|
|
430
428
|
scopeCashOutsToLocalBalances: payDataRulesetConfig.metadata.scopeCashOutsToLocalBalances,
|
|
431
|
-
pauseCrossProjectFeeFreeInflows: payDataRulesetConfig.metadata.pauseCrossProjectFeeFreeInflows,
|
|
432
429
|
useDataHookForPay: true,
|
|
433
430
|
useDataHookForCashOut: payDataRulesetConfig.metadata.useDataHookForCashOut,
|
|
434
431
|
dataHook: address(dataHook),
|
|
@@ -24,8 +24,6 @@ pragma solidity ^0.8.0;
|
|
|
24
24
|
/// @custom:member holdFees A flag indicating if fees should be held during this ruleset.
|
|
25
25
|
/// @custom:member scopeCashOutsToLocalBalances A flag indicating if omnichain cash-out calculations should use only
|
|
26
26
|
/// the local chain's terminal balance instead of the project's balance held in all terminals.
|
|
27
|
-
/// @custom:member pauseCrossProjectFeeFreeInflows If `true`, the project cannot be targeted by
|
|
28
|
-
/// `payAfterCashOutTokensOf` / `addToBalanceAfterCashOutTokensOf` calls during this ruleset.
|
|
29
27
|
/// @custom:member useDataHookForCashOuts A flag indicating if the data hook should be used for cash out transactions
|
|
30
28
|
/// during
|
|
31
29
|
/// this ruleset.
|
|
@@ -46,7 +44,6 @@ struct JBPayDataHookRulesetMetadata {
|
|
|
46
44
|
bool ownerMustSendPayouts;
|
|
47
45
|
bool holdFees;
|
|
48
46
|
bool scopeCashOutsToLocalBalances;
|
|
49
|
-
bool pauseCrossProjectFeeFreeInflows;
|
|
50
47
|
bool useDataHookForCashOut;
|
|
51
48
|
uint16 metadata;
|
|
52
49
|
}
|
|
@@ -224,7 +224,6 @@ contract UnitTestSetup is Test {
|
|
|
224
224
|
ownerMustSendPayouts: false,
|
|
225
225
|
holdFees: false,
|
|
226
226
|
scopeCashOutsToLocalBalances: true,
|
|
227
|
-
pauseCrossProjectFeeFreeInflows: false,
|
|
228
227
|
useDataHookForPay: true,
|
|
229
228
|
useDataHookForCashOut: true,
|
|
230
229
|
dataHook: address(0),
|
|
@@ -774,7 +773,6 @@ contract UnitTestSetup is Test {
|
|
|
774
773
|
allowAddPriceFeed: false,
|
|
775
774
|
holdFees: false,
|
|
776
775
|
scopeCashOutsToLocalBalances: true,
|
|
777
|
-
pauseCrossProjectFeeFreeInflows: false,
|
|
778
776
|
useDataHookForCashOut: false,
|
|
779
777
|
metadata: 0x00
|
|
780
778
|
});
|