@layerzerolabs/utils-upgradeable-evm-contracts 1.2.19 → 1.2.20

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.
@@ -30,6 +30,15 @@ contracts/allowlist/AllowlistRBACUpgradeable.sol
30
30
  27:63 warning Code contains empty blocks no-empty-blocks
31
31
  33:73 warning Code contains empty blocks no-empty-blocks
32
32
 
33
+ contracts/credit-redirect/CreditRedirectBaseUpgradeable.sol
34
+ 32:5 warning Mismatch in @return names for function '_getCreditRedirectStorage'. Expected: [$], Found: [] use-natspec
35
+ 42:68 warning Code contains empty blocks no-empty-blocks
36
+ 48:78 warning Code contains empty blocks no-empty-blocks
37
+
38
+ contracts/credit-redirect/CreditRedirectRBACUpgradeable.sol
39
+ 21:68 warning Code contains empty blocks no-empty-blocks
40
+ 27:78 warning Code contains empty blocks no-empty-blocks
41
+
33
42
  contracts/fee-accounting/FeeHandlerBaseUpgradeable.sol
34
43
  31:5 warning Mismatch in @return names for function '_getFeeHandlerStorage'. Expected: [$], Found: [] use-natspec
35
44
 
@@ -257,6 +266,95 @@ test/AllowlistRBACUpgradeable.t.sol
257
266
  61:5 warning Missing @notice tag in function 'test_setWhitelisted_Revert_Unauthorized' use-natspec
258
267
  75:5 warning Missing @notice tag in function 'test_setBlacklisted_Revert_Unauthorized' use-natspec
259
268
 
269
+ test/CreditRedirectBaseUpgradeable.t.sol
270
+ 2:1 warning Found more than One contract per file. 3 contracts found! one-contract-per-file
271
+ 7:1 warning Import in test/CreditRedirectBaseUpgradeable.t.sol doesn't exist in: forge-std/Test.sol import-path-check
272
+ 10:1 warning Missing @title tag in contract 'CreditRedirectAllowlistMock' use-natspec
273
+ 10:1 warning Missing @author tag in contract 'CreditRedirectAllowlistMock' use-natspec
274
+ 10:1 warning Missing @notice tag in contract 'CreditRedirectAllowlistMock' use-natspec
275
+ 11:5 warning Missing @notice tag in variable 'allowlisted' use-natspec
276
+ 13:5 warning Missing @notice tag in function 'setAllowlisted' use-natspec
277
+ 13:5 warning Missing @param tag in function 'setAllowlisted' use-natspec
278
+ 13:5 warning Mismatch in @param names for function 'setAllowlisted'. Expected: [_user, _isAllowlisted], Found: [] use-natspec
279
+ 17:5 warning Missing @notice tag in function 'isAllowlisted' use-natspec
280
+ 17:5 warning Missing @param tag in function 'isAllowlisted' use-natspec
281
+ 17:5 warning Mismatch in @param names for function 'isAllowlisted'. Expected: [_user], Found: [] use-natspec
282
+ 17:5 warning Missing @return tag in function 'isAllowlisted' use-natspec
283
+ 17:5 warning Mismatch in @return names for function 'isAllowlisted'. Expected: [isUserAllowlisted], Found: [] use-natspec
284
+ 22:1 warning Missing @title tag in contract 'CreditRedirectBaseUpgradeableHarness' use-natspec
285
+ 22:1 warning Missing @author tag in contract 'CreditRedirectBaseUpgradeableHarness' use-natspec
286
+ 22:1 warning Missing @notice tag in contract 'CreditRedirectBaseUpgradeableHarness' use-natspec
287
+ 23:5 warning Missing @notice tag in function '<anonymous>' use-natspec
288
+ 27:5 warning Missing @notice tag in function 'initialize' use-natspec
289
+ 31:5 warning Missing @notice tag in function 'setCreditRedirectConfig' use-natspec
290
+ 31:5 warning Missing @param tag in function 'setCreditRedirectConfig' use-natspec
291
+ 31:5 warning Mismatch in @param names for function 'setCreditRedirectConfig'. Expected: [_config], Found: [] use-natspec
292
+ 35:5 warning Missing @notice tag in function 'isAllowlisted' use-natspec
293
+ 35:5 warning Missing @param tag in function 'isAllowlisted' use-natspec
294
+ 35:5 warning Mismatch in @param names for function 'isAllowlisted'. Expected: [_user], Found: [] use-natspec
295
+ 35:5 warning Missing @return tag in function 'isAllowlisted' use-natspec
296
+ 35:5 warning Mismatch in @return names for function 'isAllowlisted'. Expected: [isUserAllowlisted], Found: [] use-natspec
297
+ 39:5 warning Missing @notice tag in function 'redirectCredit' use-natspec
298
+ 39:5 warning Missing @param tag in function 'redirectCredit' use-natspec
299
+ 39:5 warning Mismatch in @param names for function 'redirectCredit'. Expected: [_to, _amountLD], Found: [] use-natspec
300
+ 39:5 warning Missing @return tag in function 'redirectCredit' use-natspec
301
+ 39:5 warning Mismatch in @return names for function 'redirectCredit'. Expected: [recipient], Found: [] use-natspec
302
+ 44:1 warning Missing @title tag in contract 'CreditRedirectBaseUpgradeableTest' use-natspec
303
+ 44:1 warning Missing @author tag in contract 'CreditRedirectBaseUpgradeableTest' use-natspec
304
+ 44:1 warning Missing @notice tag in contract 'CreditRedirectBaseUpgradeableTest' use-natspec
305
+ 45:5 warning Missing @notice tag in variable 'creditRedirect' use-natspec
306
+ 47:5 warning Explicitly mark visibility of state state-visibility
307
+ 48:5 warning Explicitly mark visibility of state state-visibility
308
+ 50:5 warning Missing @notice tag in function '_deployCreditRedirect' use-natspec
309
+ 50:5 warning Missing @return tag in function '_deployCreditRedirect' use-natspec
310
+ 50:5 warning Mismatch in @return count for function '_deployCreditRedirect'. Expected: 1, Found: 0 use-natspec
311
+ 61:5 warning Missing @notice tag in function 'setUp' use-natspec
312
+ 65:5 warning Missing @notice tag in function 'test_initialize' use-natspec
313
+ 71:5 warning Missing @notice tag in function 'test_setCreditRedirectConfig_Set' use-natspec
314
+ 86:5 warning Missing @notice tag in function 'test_setCreditRedirectConfig_Unset' use-natspec
315
+ 103:5 warning Missing @notice tag in function 'test_setCreditRedirectConfig_Fuzz' use-natspec
316
+ 103:5 warning Missing @param tag in function 'test_setCreditRedirectConfig_Fuzz' use-natspec
317
+ 103:5 warning Mismatch in @param names for function 'test_setCreditRedirectConfig_Fuzz'. Expected: [_allowlist, _escrow], Found: [] use-natspec
318
+ 115:5 warning Missing @notice tag in function 'test_setCreditRedirectConfig_Revert_AllowlistOnly' use-natspec
319
+ 122:5 warning Missing @notice tag in function 'test_setCreditRedirectConfig_Revert_EscrowOnly' use-natspec
320
+ 129:5 warning Missing @notice tag in function 'test_isAllowlisted_NoAllowlist' use-natspec
321
+ 134:5 warning Missing @notice tag in function 'test_isAllowlisted_DelegatesToAllowlist' use-natspec
322
+ 145:5 warning Missing @notice tag in function 'test_redirectCredit_Disabled' use-natspec
323
+ 149:5 warning Missing @notice tag in function 'test_redirectCredit_Allowlisted' use-natspec
324
+ 159:5 warning Missing @notice tag in function 'test_redirectCredit_NotAllowlisted' use-natspec
325
+ 170:5 warning Missing @notice tag in function 'test_storageHash' use-natspec
326
+ 171:60 warning GC: String exceeds 32 bytes gas-small-strings
327
+
328
+ test/CreditRedirectRBACUpgradeable.t.sol
329
+ 2:1 warning Found more than One contract per file. 2 contracts found! one-contract-per-file
330
+ 13:1 warning Missing @title tag in contract 'CreditRedirectRBACUpgradeableHarness' use-natspec
331
+ 13:1 warning Missing @author tag in contract 'CreditRedirectRBACUpgradeableHarness' use-natspec
332
+ 13:1 warning Missing @notice tag in contract 'CreditRedirectRBACUpgradeableHarness' use-natspec
333
+ 14:5 warning Missing @notice tag in function '<anonymous>' use-natspec
334
+ 18:5 warning Missing @notice tag in function 'initialize' use-natspec
335
+ 18:5 warning Missing @param tag in function 'initialize' use-natspec
336
+ 18:5 warning Mismatch in @param names for function 'initialize'. Expected: [_initialAdmin], Found: [] use-natspec
337
+ 23:5 warning Missing @notice tag in function 'isAllowlisted' use-natspec
338
+ 23:5 warning Missing @param tag in function 'isAllowlisted' use-natspec
339
+ 23:5 warning Mismatch in @param names for function 'isAllowlisted'. Expected: [_user], Found: [] use-natspec
340
+ 23:5 warning Missing @return tag in function 'isAllowlisted' use-natspec
341
+ 23:5 warning Mismatch in @return names for function 'isAllowlisted'. Expected: [isUserAllowlisted], Found: [] use-natspec
342
+ 27:5 warning Missing @notice tag in function 'redirectCredit' use-natspec
343
+ 27:5 warning Missing @param tag in function 'redirectCredit' use-natspec
344
+ 27:5 warning Mismatch in @param names for function 'redirectCredit'. Expected: [_to, _amountLD], Found: [] use-natspec
345
+ 27:5 warning Missing @return tag in function 'redirectCredit' use-natspec
346
+ 27:5 warning Mismatch in @return names for function 'redirectCredit'. Expected: [recipient], Found: [] use-natspec
347
+ 32:1 warning Missing @title tag in contract 'CreditRedirectRBACUpgradeableTest' use-natspec
348
+ 32:1 warning Missing @author tag in contract 'CreditRedirectRBACUpgradeableTest' use-natspec
349
+ 32:1 warning Missing @notice tag in contract 'CreditRedirectRBACUpgradeableTest' use-natspec
350
+ 33:5 warning Explicitly mark visibility of state state-visibility
351
+ 34:5 warning Explicitly mark visibility of state state-visibility
352
+ 36:5 warning Missing @notice tag in function '_deployCreditRedirect' use-natspec
353
+ 36:5 warning Missing @return tag in function '_deployCreditRedirect' use-natspec
354
+ 36:5 warning Mismatch in @return count for function '_deployCreditRedirect'. Expected: 1, Found: 0 use-natspec
355
+ 47:5 warning Missing @notice tag in function 'setUp' use-natspec
356
+ 52:5 warning Missing @notice tag in function 'test_setCreditRedirectConfig_Revert_Unauthorized' use-natspec
357
+
260
358
  test/EnumerableSetPagination.t.sol
261
359
  2:1 warning Found more than One contract per file. 3 contracts found! one-contract-per-file
262
360
  5:1 warning Import in test/EnumerableSetPagination.t.sol doesn't exist in: forge-std/Test.sol import-path-check
@@ -396,100 +494,4 @@ test/FeeConfigBaseUpgradeable.t.sol
396
494
  20:5 warning Missing @param tag in function 'setFeeBps' use-natspec
397
495
  20:5 warning Mismatch in @param names for function 'setFeeBps'. Expected: [_id, _feeBps, _enabled], Found: [] use-natspec
398
496
  25:1 warning Missing @title tag in contract 'FeeConfigBaseUpgradeableTest' use-natspec
399
- 25:1 warning Missing @author tag in contract 'FeeConfigBaseUpgradeableTest' use-natspec
400
- 25:1 warning Missing @notice tag in contract 'FeeConfigBaseUpgradeableTest' use-natspec
401
- 26:5 warning Missing @notice tag in variable 'feeConfig' use-natspec
402
- 28:5 warning Explicitly mark visibility of state state-visibility
403
- 29:5 warning Explicitly mark visibility of state state-visibility
404
- 30:5 warning Explicitly mark visibility of state state-visibility
405
- 32:5 warning Missing @notice tag in function '_deployFeeConfig' use-natspec
406
- 32:5 warning Missing @return tag in function '_deployFeeConfig' use-natspec
407
- 32:5 warning Mismatch in @return count for function '_deployFeeConfig'. Expected: 1, Found: 0 use-natspec
408
- 43:5 warning Missing @notice tag in function 'setUp' use-natspec
409
- 47:5 warning Missing @notice tag in function 'test_setDefaultFeeBps_Fuzz' use-natspec
410
- 47:5 warning Missing @param tag in function 'test_setDefaultFeeBps_Fuzz' use-natspec
411
- 47:5 warning Mismatch in @param names for function 'test_setDefaultFeeBps_Fuzz'. Expected: [_feeBps], Found: [] use-natspec
412
- 59:5 warning Missing @notice tag in function 'test_setDefaultFeeBps' use-natspec
413
- 63:5 warning Missing @notice tag in function 'test_setFeeBps_Fuzz' use-natspec
414
- 63:5 warning Missing @param tag in function 'test_setFeeBps_Fuzz' use-natspec
415
- 63:5 warning Mismatch in @param names for function 'test_setFeeBps_Fuzz'. Expected: [_defaultFeeBps, _dstEid, _feeBps, _enabled], Found: [] use-natspec
416
- 86:5 warning Missing @notice tag in function 'test_setFeeBps' use-natspec
417
- 90:5 warning Missing @notice tag in function 'test_getFee_Fuzz' use-natspec
418
- 90:5 warning Missing @param tag in function 'test_getFee_Fuzz' use-natspec
419
- 90:5 warning Mismatch in @param names for function 'test_getFee_Fuzz'. Expected: [_defaultFeeBps, _dstEid, _amount], Found: [] use-natspec
420
- 98:5 warning Missing @notice tag in function 'test_setDefaultFeeBps_RevertInvalid' use-natspec
421
- 103:5 warning Missing @notice tag in function 'test_setFeeBps_RevertInvalid' use-natspec
422
- 108:5 warning Missing @notice tag in function 'test_getFee_Default' use-natspec
423
- 115:5 warning Missing @notice tag in function 'test_getFee_Specific' use-natspec
424
- 123:5 warning Missing @notice tag in function 'test_getFee_SpecificDisabled' use-natspec
425
- 131:5 warning Missing @notice tag in function 'test_getFee_BoundaryConditions' use-natspec
426
- 140:5 warning Missing @notice tag in function 'test_getFee_Rounding' use-natspec
427
- 148:5 warning Missing @notice tag in function 'test_getAmountBeforeFee_ZeroBps' use-natspec
428
- 154:5 warning Missing @notice tag in function 'test_getAmountBeforeFee_MaxBps' use-natspec
429
- 161:5 warning Missing @notice tag in function 'test_getAmountBeforeFee_Default' use-natspec
430
- 167:5 warning Missing @notice tag in function 'test_getAmountBeforeFee_Specific' use-natspec
431
- 174:5 warning Missing @notice tag in function 'test_getAmountBeforeFee_SpecificDisabled' use-natspec
432
- 180:5 warning Missing @notice tag in function 'test_getAmountBeforeFee_ZeroAmount' use-natspec
433
- 185:5 warning Missing @notice tag in function 'test_getAmountBeforeFee_Rounding' use-natspec
434
- 196:5 warning Missing @notice tag in function 'test_getAmountBeforeFee_BoundaryConditions' use-natspec
435
- 208:5 warning Missing @notice tag in function 'test_getAmountBeforeFee_Fuzz' use-natspec
436
- 208:5 warning Missing @param tag in function 'test_getAmountBeforeFee_Fuzz' use-natspec
437
- 208:5 warning Mismatch in @param names for function 'test_getAmountBeforeFee_Fuzz'. Expected: [_feeBps, _amountAfterFee], Found: [] use-natspec
438
- 225:5 warning Missing @notice tag in function 'test_storageHash' use-natspec
439
-
440
- test/FeeConfigRBACUpgradeable.t.sol
441
- 2:1 warning Found more than One contract per file. 2 contracts found! one-contract-per-file
442
- 10:1 warning Missing @title tag in contract 'FeeConfigRBACUpgradeableHarness' use-natspec
443
- 10:1 warning Missing @author tag in contract 'FeeConfigRBACUpgradeableHarness' use-natspec
444
- 10:1 warning Missing @notice tag in contract 'FeeConfigRBACUpgradeableHarness' use-natspec
445
- 11:5 warning Missing @notice tag in function '<anonymous>' use-natspec
446
- 15:5 warning Missing @notice tag in function 'initialize' use-natspec
447
- 15:5 warning Missing @param tag in function 'initialize' use-natspec
448
- 15:5 warning Mismatch in @param names for function 'initialize'. Expected: [_initialAdmin], Found: [] use-natspec
449
- 21:1 warning Missing @title tag in contract 'FeeConfigRBACUpgradeableTest' use-natspec
450
- 21:1 warning Missing @author tag in contract 'FeeConfigRBACUpgradeableTest' use-natspec
451
- 21:1 warning Missing @notice tag in contract 'FeeConfigRBACUpgradeableTest' use-natspec
452
- 22:5 warning Explicitly mark visibility of state state-visibility
453
- 23:5 warning Explicitly mark visibility of state state-visibility
454
- 25:5 warning Missing @notice tag in function '_deployFeeConfig' use-natspec
455
- 25:5 warning Missing @return tag in function '_deployFeeConfig' use-natspec
456
- 25:5 warning Mismatch in @return count for function '_deployFeeConfig'. Expected: 1, Found: 0 use-natspec
457
- 37:5 warning Missing @notice tag in function 'test_setDefaultFeeBps_Revert_Unauthorized' use-natspec
458
- 50:5 warning Missing @notice tag in function 'test_setFeeBps_Revert_Unauthorized' use-natspec
459
-
460
- test/FeeHandlerBaseUpgradeable.t.sol
461
- 2:1 warning Found more than One contract per file. 2 contracts found! one-contract-per-file
462
- 6:1 warning Import in test/FeeHandlerBaseUpgradeable.t.sol doesn't exist in: forge-std/Test.sol import-path-check
463
- 9:1 warning Missing @title tag in contract 'FeeHandlerBaseUpgradeableHarness' use-natspec
464
- 9:1 warning Missing @author tag in contract 'FeeHandlerBaseUpgradeableHarness' use-natspec
465
- 9:1 warning Missing @notice tag in contract 'FeeHandlerBaseUpgradeableHarness' use-natspec
466
- 10:5 warning Missing @notice tag in function '<anonymous>' use-natspec
467
- 14:5 warning Missing @notice tag in function 'initialize' use-natspec
468
- 14:5 warning Missing @param tag in function 'initialize' use-natspec
469
- 14:5 warning Mismatch in @param names for function 'initialize'. Expected: [_feeDeposit], Found: [] use-natspec
470
- 18:5 warning Missing @notice tag in function 'setFeeDeposit' use-natspec
471
- 18:5 warning Missing @param tag in function 'setFeeDeposit' use-natspec
472
- 18:5 warning Mismatch in @param names for function 'setFeeDeposit'. Expected: [_feeDeposit], Found: [] use-natspec
473
- 23:1 warning Missing @title tag in contract 'FeeHandlerBaseUpgradeableTest' use-natspec
474
- 23:1 warning Missing @author tag in contract 'FeeHandlerBaseUpgradeableTest' use-natspec
475
- 23:1 warning Missing @notice tag in contract 'FeeHandlerBaseUpgradeableTest' use-natspec
476
- 24:5 warning Missing @notice tag in variable 'feeHandler' use-natspec
477
- 26:5 warning Explicitly mark visibility of state state-visibility
478
- 27:5 warning Explicitly mark visibility of state state-visibility
479
- 29:5 warning Missing @notice tag in function '_deployFeeHandler' use-natspec
480
- 29:5 warning Missing @return tag in function '_deployFeeHandler' use-natspec
481
- 29:5 warning Mismatch in @return count for function '_deployFeeHandler'. Expected: 1, Found: 0 use-natspec
482
- 40:5 warning Missing @notice tag in function 'setUp' use-natspec
483
- 44:5 warning Missing @notice tag in function 'test_feeDeposit' use-natspec
484
- 48:5 warning Missing @notice tag in function 'test_setFeeDeposit' use-natspec
485
- 56:5 warning Missing @notice tag in function 'test_setFeeDeposit_Revert_ZeroAddress' use-natspec
486
- 61:5 warning Missing @notice tag in function 'test_setFeeDeposit_Fuzz' use-natspec
487
- 61:5 warning Missing @param tag in function 'test_setFeeDeposit_Fuzz' use-natspec
488
- 61:5 warning Mismatch in @param names for function 'test_setFeeDeposit_Fuzz'. Expected: [_newDeposit], Found: [] use-natspec
489
- 67:5 warning Missing @notice tag in function 'test_storageHash' use-natspec
490
-
491
- test/FeeHandlerRBACUpgradeable.t.sol
492
- 2:1 warning Found more than One contract per file. 2 contracts found! one-contract-per-file
493
- 10:1 warning Missing @title tag in contract 'FeeHandlerRBACUpgradeableHarness' use-natspec
494
- 10:1 warning Missing @author tag in contract 'FeeHandlerRBACUpgradeableHarness' use-natspec
495
- 10:1 warning Missing @notice tag in contract 'FeeHandlerRBACUpgradeableHarness'
497
+ 25:1 warning Missing @author tag in contract 'FeeConfigBaseUpgradeableTest'