@keep-network/tbtc-v2 1.0.0-dev.3 → 1.0.0-dev.4

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.
Files changed (98) hide show
  1. package/artifacts/BLS.json +1 -1
  2. package/artifacts/Bank.json +3 -3
  3. package/artifacts/BeaconAuthorization.json +1 -1
  4. package/artifacts/BeaconDkg.json +1 -1
  5. package/artifacts/BeaconDkgValidator.json +1 -1
  6. package/artifacts/BeaconInactivity.json +1 -1
  7. package/artifacts/BeaconSortitionPool.json +3 -3
  8. package/artifacts/Bridge.json +5 -5
  9. package/artifacts/BridgeGovernance.json +11 -11
  10. package/artifacts/BridgeGovernanceParameters.json +12 -9
  11. package/artifacts/Deposit.json +2 -2
  12. package/artifacts/DepositSweep.json +2 -2
  13. package/artifacts/EcdsaDkgValidator.json +1 -1
  14. package/artifacts/EcdsaInactivity.json +1 -1
  15. package/artifacts/EcdsaSortitionPool.json +3 -3
  16. package/artifacts/Fraud.json +2 -2
  17. package/artifacts/KeepRegistry.json +1 -1
  18. package/artifacts/KeepStake.json +2 -2
  19. package/artifacts/KeepToken.json +2 -2
  20. package/artifacts/KeepTokenStaking.json +1 -1
  21. package/artifacts/LightRelay.json +18 -18
  22. package/artifacts/MaintainerProxy.json +19 -19
  23. package/artifacts/MovingFunds.json +2 -2
  24. package/artifacts/NuCypherStakingEscrow.json +1 -1
  25. package/artifacts/NuCypherToken.json +2 -2
  26. package/artifacts/RandomBeacon.json +2 -2
  27. package/artifacts/RandomBeaconChaosnet.json +2 -2
  28. package/artifacts/RandomBeaconGovernance.json +2 -2
  29. package/artifacts/Redemption.json +2 -2
  30. package/artifacts/ReimbursementPool.json +2 -2
  31. package/artifacts/T.json +2 -2
  32. package/artifacts/TBTC.json +3 -3
  33. package/artifacts/TBTCToken.json +3 -3
  34. package/artifacts/TBTCVault.json +23 -23
  35. package/artifacts/TokenStaking.json +1 -1
  36. package/artifacts/TokenholderGovernor.json +9 -9
  37. package/artifacts/TokenholderTimelock.json +8 -8
  38. package/artifacts/VendingMachine.json +10 -10
  39. package/artifacts/VendingMachineKeep.json +1 -1
  40. package/artifacts/VendingMachineNuCypher.json +1 -1
  41. package/artifacts/WalletRegistry.json +5 -5
  42. package/artifacts/WalletRegistryGovernance.json +2 -2
  43. package/artifacts/Wallets.json +2 -2
  44. package/artifacts/solcInputs/{e28c3bed541f57346a362a67f66ae471.json → b63dab89a2e89a0f54eb7f775a5bd516.json} +1 -1
  45. package/artifacts/solcInputs/{b448960fd13167193eb1e0994f1c8e1c.json → c88caf1374ff7ffc912d8c7e982bd645.json} +2 -2
  46. package/build/contracts/GovernanceUtils.sol/GovernanceUtils.dbg.json +1 -1
  47. package/build/contracts/bank/Bank.sol/Bank.dbg.json +1 -1
  48. package/build/contracts/bank/IReceiveBalanceApproval.sol/IReceiveBalanceApproval.dbg.json +1 -1
  49. package/build/contracts/bridge/BitcoinTx.sol/BitcoinTx.dbg.json +1 -1
  50. package/build/contracts/bridge/Bridge.sol/Bridge.dbg.json +1 -1
  51. package/build/contracts/bridge/BridgeGovernance.sol/BridgeGovernance.dbg.json +1 -1
  52. package/build/contracts/bridge/BridgeGovernance.sol/BridgeGovernance.json +136 -152
  53. package/build/contracts/bridge/BridgeGovernanceParameters.sol/BridgeGovernanceParameters.dbg.json +1 -1
  54. package/build/contracts/bridge/BridgeGovernanceParameters.sol/BridgeGovernanceParameters.json +2 -2
  55. package/build/contracts/bridge/BridgeState.sol/BridgeState.dbg.json +1 -1
  56. package/build/contracts/bridge/Deposit.sol/Deposit.dbg.json +1 -1
  57. package/build/contracts/bridge/DepositSweep.sol/DepositSweep.dbg.json +1 -1
  58. package/build/contracts/bridge/EcdsaLib.sol/EcdsaLib.dbg.json +1 -1
  59. package/build/contracts/bridge/Fraud.sol/Fraud.dbg.json +1 -1
  60. package/build/contracts/bridge/Heartbeat.sol/Heartbeat.dbg.json +1 -1
  61. package/build/contracts/bridge/IRelay.sol/IRelay.dbg.json +1 -1
  62. package/build/contracts/bridge/MovingFunds.sol/MovingFunds.dbg.json +1 -1
  63. package/build/contracts/bridge/Redemption.sol/OutboundTx.dbg.json +1 -1
  64. package/build/contracts/bridge/Redemption.sol/Redemption.dbg.json +1 -1
  65. package/build/contracts/bridge/VendingMachine.sol/VendingMachine.dbg.json +1 -1
  66. package/build/contracts/bridge/Wallets.sol/Wallets.dbg.json +1 -1
  67. package/build/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.dbg.json +1 -1
  68. package/build/contracts/relay/LightRelay.sol/ILightRelay.dbg.json +1 -1
  69. package/build/contracts/relay/LightRelay.sol/LightRelay.dbg.json +1 -1
  70. package/build/contracts/relay/LightRelay.sol/RelayUtils.dbg.json +1 -1
  71. package/build/contracts/token/TBTC.sol/TBTC.dbg.json +1 -1
  72. package/build/contracts/vault/DonationVault.sol/DonationVault.dbg.json +1 -1
  73. package/build/contracts/vault/IVault.sol/IVault.dbg.json +1 -1
  74. package/build/contracts/vault/TBTCOptimisticMinting.sol/TBTCOptimisticMinting.dbg.json +1 -1
  75. package/build/contracts/vault/TBTCVault.sol/TBTCVault.dbg.json +1 -1
  76. package/contracts/bridge/BridgeGovernance.sol +150 -129
  77. package/contracts/bridge/BridgeGovernanceParameters.sol +0 -321
  78. package/export/artifacts/contracts/bridge/Bridge.sol/Bridge.json +181 -181
  79. package/export/artifacts/contracts/bridge/BridgeGovernance.sol/BridgeGovernance.json +2128 -2904
  80. package/export/artifacts/contracts/bridge/VendingMachine.sol/VendingMachine.json +67 -67
  81. package/export/artifacts/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.json +88 -88
  82. package/export/artifacts/contracts/relay/LightRelay.sol/LightRelay.json +57 -57
  83. package/export/artifacts/contracts/test/BankStub.sol/BankStub.json +2 -2
  84. package/export/artifacts/contracts/test/BridgeStub.sol/BridgeStub.json +217 -217
  85. package/export/artifacts/contracts/test/GoerliLightRelay.sol/GoerliLightRelay.json +57 -57
  86. package/export/artifacts/contracts/test/HeartbeatStub.sol/HeartbeatStub.json +4 -4
  87. package/export/artifacts/contracts/test/LightRelayStub.sol/LightRelayStub.json +59 -59
  88. package/export/artifacts/contracts/test/ReceiveApprovalStub.sol/ReceiveApprovalStub.json +7 -7
  89. package/export/artifacts/contracts/test/SystemTestRelay.sol/SystemTestRelay.json +14 -14
  90. package/export/artifacts/contracts/test/TestERC20.sol/TestERC20.json +6 -6
  91. package/export/artifacts/contracts/test/TestERC721.sol/TestERC721.json +8 -8
  92. package/export/artifacts/contracts/test/TestEcdsaLib.sol/TestEcdsaLib.json +4 -4
  93. package/export/artifacts/contracts/token/TBTC.sol/TBTC.json +2 -2
  94. package/export/artifacts/contracts/vault/DonationVault.sol/DonationVault.json +11 -11
  95. package/export/artifacts/contracts/vault/TBTCVault.sol/TBTCVault.json +133 -133
  96. package/export/typechain/factories/BridgeGovernanceParameters__factory.js +1 -1
  97. package/export/typechain/factories/BridgeGovernance__factory.js +1 -1
  98. package/package.json +1 -1
@@ -384,16 +384,6 @@ library BridgeGovernanceParameters {
384
384
  self.depositDustThresholdChangeInitiated = 0;
385
385
  }
386
386
 
387
- // https://github.com/crytic/slither/issues/1265
388
- // slither-disable-next-line dead-code
389
- function getNewDepositDustThreshold(DepositData storage self)
390
- internal
391
- view
392
- returns (uint64)
393
- {
394
- return self.newDepositDustThreshold;
395
- }
396
-
397
387
  /// @notice Begins the deposit treasury fee divisor amount update process.
398
388
  /// @param _newDepositTreasuryFeeDivisor New deposit treasury fee divisor amount.
399
389
  function beginDepositTreasuryFeeDivisorUpdate(
@@ -430,18 +420,7 @@ library BridgeGovernanceParameters {
430
420
  self.depositTreasuryFeeDivisorChangeInitiated = 0;
431
421
  }
432
422
 
433
- // https://github.com/crytic/slither/issues/1265
434
- // slither-disable-next-line dead-code
435
- function getNewDepositTreasuryFeeDivisor(DepositData storage self)
436
- internal
437
- view
438
- returns (uint64)
439
- {
440
- return self.newDepositTreasuryFeeDivisor;
441
- }
442
-
443
423
  /// @notice Begins the deposit tx max fee amount update process.
444
-
445
424
  /// @param _newDepositTxMaxFee New deposit tx max fee amount.
446
425
  function beginDepositTxMaxFeeUpdate(
447
426
  DepositData storage self,
@@ -472,16 +451,6 @@ library BridgeGovernanceParameters {
472
451
  self.depositTxMaxFeeChangeInitiated = 0;
473
452
  }
474
453
 
475
- // https://github.com/crytic/slither/issues/1265
476
- // slither-disable-next-line dead-code
477
- function getNewDepositTxMaxFee(DepositData storage self)
478
- internal
479
- view
480
- returns (uint64)
481
- {
482
- return self.newDepositTxMaxFee;
483
- }
484
-
485
454
  /// @notice Begins the deposit reveal ahead period update process.
486
455
  /// @param _newDepositRevealAheadPeriod New deposit reveal ahead period.
487
456
  function beginDepositRevealAheadPeriodUpdate(
@@ -516,16 +485,6 @@ library BridgeGovernanceParameters {
516
485
  self.depositRevealAheadPeriodChangeInitiated = 0;
517
486
  }
518
487
 
519
- // https://github.com/crytic/slither/issues/1265
520
- // slither-disable-next-line dead-code
521
- function getNewDepositRevealAheadPeriod(DepositData storage self)
522
- internal
523
- view
524
- returns (uint32)
525
- {
526
- return self.newDepositRevealAheadPeriod;
527
- }
528
-
529
488
  // --- Redemption
530
489
 
531
490
  /// @notice Begins the redemption dust threshold amount update process.
@@ -562,16 +521,6 @@ library BridgeGovernanceParameters {
562
521
  self.redemptionDustThresholdChangeInitiated = 0;
563
522
  }
564
523
 
565
- // https://github.com/crytic/slither/issues/1265
566
- // slither-disable-next-line dead-code
567
- function getNewRedemptionDustThreshold(RedemptionData storage self)
568
- internal
569
- view
570
- returns (uint64)
571
- {
572
- return self.newRedemptionDustThreshold;
573
- }
574
-
575
524
  /// @notice Begins the redemption treasury fee divisor amount update process.
576
525
  /// @param _newRedemptionTreasuryFeeDivisor New redemption treasury fee divisor
577
526
  /// amount.
@@ -609,16 +558,6 @@ library BridgeGovernanceParameters {
609
558
  self.redemptionTreasuryFeeDivisorChangeInitiated = 0;
610
559
  }
611
560
 
612
- // https://github.com/crytic/slither/issues/1265
613
- // slither-disable-next-line dead-code
614
- function getNewRedemptionTreasuryFeeDivisor(RedemptionData storage self)
615
- internal
616
- view
617
- returns (uint64)
618
- {
619
- return self.newRedemptionTreasuryFeeDivisor;
620
- }
621
-
622
561
  /// @notice Begins the redemption tx max fee amount update process.
623
562
  /// @param _newRedemptionTxMaxFee New redemption tx max fee amount.
624
563
  function beginRedemptionTxMaxFeeUpdate(
@@ -653,16 +592,6 @@ library BridgeGovernanceParameters {
653
592
  self.redemptionTxMaxFeeChangeInitiated = 0;
654
593
  }
655
594
 
656
- // https://github.com/crytic/slither/issues/1265
657
- // slither-disable-next-line dead-code
658
- function getNewRedemptionTxMaxFee(RedemptionData storage self)
659
- internal
660
- view
661
- returns (uint64)
662
- {
663
- return self.newRedemptionTxMaxFee;
664
- }
665
-
666
595
  /// @notice Begins the redemption tx max total fee amount update process.
667
596
  /// @param _newRedemptionTxMaxTotalFee New redemption tx max total fee amount.
668
597
  function beginRedemptionTxMaxTotalFeeUpdate(
@@ -697,16 +626,6 @@ library BridgeGovernanceParameters {
697
626
  self.redemptionTxMaxTotalFeeChangeInitiated = 0;
698
627
  }
699
628
 
700
- // https://github.com/crytic/slither/issues/1265
701
- // slither-disable-next-line dead-code
702
- function getNewRedemptionTxMaxTotalFee(RedemptionData storage self)
703
- internal
704
- view
705
- returns (uint64)
706
- {
707
- return self.newRedemptionTxMaxTotalFee;
708
- }
709
-
710
629
  /// @notice Begins the redemption timeout amount update process.
711
630
  /// @param _newRedemptionTimeout New redemption timeout amount.
712
631
  function beginRedemptionTimeoutUpdate(
@@ -742,16 +661,6 @@ library BridgeGovernanceParameters {
742
661
  self.redemptionTimeoutChangeInitiated = 0;
743
662
  }
744
663
 
745
- // https://github.com/crytic/slither/issues/1265
746
- // slither-disable-next-line dead-code
747
- function getNewRedemptionTimeout(RedemptionData storage self)
748
- internal
749
- view
750
- returns (uint32)
751
- {
752
- return self.newRedemptionTimeout;
753
- }
754
-
755
664
  /// @notice Begins the redemption timeout slashing amount update process.
756
665
  /// @param _newRedemptionTimeoutSlashingAmount New redemption timeout slashing
757
666
  /// amount.
@@ -790,16 +699,6 @@ library BridgeGovernanceParameters {
790
699
  self.redemptionTimeoutSlashingAmountChangeInitiated = 0;
791
700
  }
792
701
 
793
- // https://github.com/crytic/slither/issues/1265
794
- // slither-disable-next-line dead-code
795
- function getNewRedemptionTimeoutSlashingAmount(RedemptionData storage self)
796
- internal
797
- view
798
- returns (uint96)
799
- {
800
- return self.newRedemptionTimeoutSlashingAmount;
801
- }
802
-
803
702
  /// @notice Begins the redemption timeout notifier reward multiplier amount
804
703
  /// update process.
805
704
  /// @param _newRedemptionTimeoutNotifierRewardMultiplier New redemption
@@ -840,14 +739,6 @@ library BridgeGovernanceParameters {
840
739
  self.redemptionTimeoutNotifierRewardMultiplierChangeInitiated = 0;
841
740
  }
842
741
 
843
- // https://github.com/crytic/slither/issues/1265
844
- // slither-disable-next-line dead-code
845
- function getNewRedemptionTimeoutNotifierRewardMultiplier(
846
- RedemptionData storage self
847
- ) internal view returns (uint32) {
848
- return self.newRedemptionTimeoutNotifierRewardMultiplier;
849
- }
850
-
851
742
  // --- Moving funds
852
743
 
853
744
  /// @notice Begins the moving funds tx max total fee amount update process.
@@ -884,16 +775,6 @@ library BridgeGovernanceParameters {
884
775
  self.movingFundsTxMaxTotalFeeChangeInitiated = 0;
885
776
  }
886
777
 
887
- // https://github.com/crytic/slither/issues/1265
888
- // slither-disable-next-line dead-code
889
- function getNewMovingFundsTxMaxTotalFee(MovingFundsData storage self)
890
- internal
891
- view
892
- returns (uint64)
893
- {
894
- return self.newMovingFundsTxMaxTotalFee;
895
- }
896
-
897
778
  /// @notice Begins the moving funds dust threshold amount update process.
898
779
  /// @param _newMovingFundsDustThreshold New moving funds dust threshold amount.
899
780
  function beginMovingFundsDustThresholdUpdate(
@@ -928,16 +809,6 @@ library BridgeGovernanceParameters {
928
809
  self.movingFundsDustThresholdChangeInitiated = 0;
929
810
  }
930
811
 
931
- // https://github.com/crytic/slither/issues/1265
932
- // slither-disable-next-line dead-code
933
- function getNewMovingFundsDustThreshold(MovingFundsData storage self)
934
- internal
935
- view
936
- returns (uint64)
937
- {
938
- return self.newMovingFundsDustThreshold;
939
- }
940
-
941
812
  /// @notice Begins the moving funds timeout reset delay amount update process.
942
813
  /// @param _newMovingFundsTimeoutResetDelay New moving funds timeout reset
943
814
  /// delay amount.
@@ -975,16 +846,6 @@ library BridgeGovernanceParameters {
975
846
  self.movingFundsTimeoutResetDelayChangeInitiated = 0;
976
847
  }
977
848
 
978
- // https://github.com/crytic/slither/issues/1265
979
- // slither-disable-next-line dead-code
980
- function getNewMovingFundsTimeoutResetDelay(MovingFundsData storage self)
981
- internal
982
- view
983
- returns (uint32)
984
- {
985
- return self.newMovingFundsTimeoutResetDelay;
986
- }
987
-
988
849
  /// @notice Begins the moving funds timeout amount update process.
989
850
  /// @param _newMovingFundsTimeout New moving funds timeout amount.
990
851
  function beginMovingFundsTimeoutUpdate(
@@ -1019,16 +880,6 @@ library BridgeGovernanceParameters {
1019
880
  self.movingFundsTimeoutChangeInitiated = 0;
1020
881
  }
1021
882
 
1022
- // https://github.com/crytic/slither/issues/1265
1023
- // slither-disable-next-line dead-code
1024
- function getNewMovingFundsTimeout(MovingFundsData storage self)
1025
- internal
1026
- view
1027
- returns (uint32)
1028
- {
1029
- return self.newMovingFundsTimeout;
1030
- }
1031
-
1032
883
  /// @notice Begins the moving funds timeout slashing amount update process.
1033
884
  /// @param _newMovingFundsTimeoutSlashingAmount New moving funds timeout slashing amount.
1034
885
  function beginMovingFundsTimeoutSlashingAmountUpdate(
@@ -1066,14 +917,6 @@ library BridgeGovernanceParameters {
1066
917
  self.movingFundsTimeoutSlashingAmountChangeInitiated = 0;
1067
918
  }
1068
919
 
1069
- // https://github.com/crytic/slither/issues/1265
1070
- // slither-disable-next-line dead-code
1071
- function getNewMovingFundsTimeoutSlashingAmount(
1072
- MovingFundsData storage self
1073
- ) external view returns (uint96) {
1074
- return self.newMovingFundsTimeoutSlashingAmount;
1075
- }
1076
-
1077
920
  /// @notice Begins the moving funds timeout notifier reward multiplier amount
1078
921
  /// update process.
1079
922
  /// @param _newMovingFundsTimeoutNotifierRewardMultiplier New moving funds
@@ -1115,14 +958,6 @@ library BridgeGovernanceParameters {
1115
958
  self.movingFundsTimeoutNotifierRewardMultiplierChangeInitiated = 0;
1116
959
  }
1117
960
 
1118
- // https://github.com/crytic/slither/issues/1265
1119
- // slither-disable-next-line dead-code
1120
- function getNewMovingFundsTimeoutNotifierRewardMultiplier(
1121
- MovingFundsData storage self
1122
- ) internal view returns (uint32) {
1123
- return self.newMovingFundsTimeoutNotifierRewardMultiplier;
1124
- }
1125
-
1126
961
  /// @notice Begins the moving funds commitment gas offset update process.
1127
962
  /// @param _newMovingFundsCommitmentGasOffset New moving funds commitment
1128
963
  /// gas offset.
@@ -1161,16 +996,6 @@ library BridgeGovernanceParameters {
1161
996
  self.movingFundsCommitmentGasOffsetChangeInitiated = 0;
1162
997
  }
1163
998
 
1164
- // https://github.com/crytic/slither/issues/1265
1165
- // slither-disable-next-line dead-code
1166
- function getNewMovingFundsCommitmentGasOffset(MovingFundsData storage self)
1167
- internal
1168
- view
1169
- returns (uint16)
1170
- {
1171
- return self.newMovingFundsCommitmentGasOffset;
1172
- }
1173
-
1174
999
  /// @notice Begins the moved funds sweep tx max total fee amount update process.
1175
1000
  /// @param _newMovedFundsSweepTxMaxTotalFee New moved funds sweep tx max total
1176
1001
  /// fee amount.
@@ -1209,16 +1034,6 @@ library BridgeGovernanceParameters {
1209
1034
  self.movedFundsSweepTxMaxTotalFeeChangeInitiated = 0;
1210
1035
  }
1211
1036
 
1212
- // https://github.com/crytic/slither/issues/1265
1213
- // slither-disable-next-line dead-code
1214
- function getNewMovedFundsSweepTxMaxTotalFee(MovingFundsData storage self)
1215
- internal
1216
- view
1217
- returns (uint64)
1218
- {
1219
- return self.newMovedFundsSweepTxMaxTotalFee;
1220
- }
1221
-
1222
1037
  /// @notice Begins the moved funds sweep timeout amount update process.
1223
1038
  /// @param _newMovedFundsSweepTimeout New moved funds sweep timeout amount.
1224
1039
  function beginMovedFundsSweepTimeoutUpdate(
@@ -1253,16 +1068,6 @@ library BridgeGovernanceParameters {
1253
1068
  self.movedFundsSweepTimeoutChangeInitiated = 0;
1254
1069
  }
1255
1070
 
1256
- // https://github.com/crytic/slither/issues/1265
1257
- // slither-disable-next-line dead-code
1258
- function getNewMovedFundsSweepTimeout(MovingFundsData storage self)
1259
- internal
1260
- view
1261
- returns (uint32)
1262
- {
1263
- return self.newMovedFundsSweepTimeout;
1264
- }
1265
-
1266
1071
  /// @notice Begins the moved funds sweep timeout slashing amount update
1267
1072
  /// process.
1268
1073
  /// @param _newMovedFundsSweepTimeoutSlashingAmount New moved funds sweep
@@ -1304,14 +1109,6 @@ library BridgeGovernanceParameters {
1304
1109
  self.movedFundsSweepTimeoutSlashingAmountChangeInitiated = 0;
1305
1110
  }
1306
1111
 
1307
- // https://github.com/crytic/slither/issues/1265
1308
- // slither-disable-next-line dead-code
1309
- function getNewMovedFundsSweepTimeoutSlashingAmount(
1310
- MovingFundsData storage self
1311
- ) internal view returns (uint96) {
1312
- return self.newMovedFundsSweepTimeoutSlashingAmount;
1313
- }
1314
-
1315
1112
  /// @notice Begins the moved funds sweep timeout notifier reward multiplier
1316
1113
  /// amount update process.
1317
1114
  /// @param _newMovedFundsSweepTimeoutNotifierRewardMultiplier New moved funds
@@ -1354,14 +1151,6 @@ library BridgeGovernanceParameters {
1354
1151
  self.movedFundsSweepTimeoutNotifierRewardMultiplierChangeInitiated = 0;
1355
1152
  }
1356
1153
 
1357
- // https://github.com/crytic/slither/issues/1265
1358
- // slither-disable-next-line dead-code
1359
- function getNewMovedFundsSweepTimeoutNotifierRewardMultiplier(
1360
- MovingFundsData storage self
1361
- ) internal view returns (uint32) {
1362
- return self.newMovedFundsSweepTimeoutNotifierRewardMultiplier;
1363
- }
1364
-
1365
1154
  // --- Wallet params
1366
1155
 
1367
1156
  /// @notice Begins the wallet creation period amount update process.
@@ -1398,16 +1187,6 @@ library BridgeGovernanceParameters {
1398
1187
  self.walletCreationPeriodChangeInitiated = 0;
1399
1188
  }
1400
1189
 
1401
- // https://github.com/crytic/slither/issues/1265
1402
- // slither-disable-next-line dead-code
1403
- function getNewWalletCreationPeriod(WalletData storage self)
1404
- external
1405
- view
1406
- returns (uint32)
1407
- {
1408
- return self.newWalletCreationPeriod;
1409
- }
1410
-
1411
1190
  /// @notice Begins the wallet creation min btc balance amount update process.
1412
1191
  /// @param _newWalletCreationMinBtcBalance New wallet creation min btc balance
1413
1192
  /// amount.
@@ -1445,16 +1224,6 @@ library BridgeGovernanceParameters {
1445
1224
  self.walletCreationMinBtcBalanceChangeInitiated = 0;
1446
1225
  }
1447
1226
 
1448
- // https://github.com/crytic/slither/issues/1265
1449
- // slither-disable-next-line dead-code
1450
- function getNewWalletCreationMinBtcBalance(WalletData storage self)
1451
- internal
1452
- view
1453
- returns (uint64)
1454
- {
1455
- return self.newWalletCreationMinBtcBalance;
1456
- }
1457
-
1458
1227
  /// @notice Begins the wallet creation max btc balance amount update process.
1459
1228
  /// @param _newWalletCreationMaxBtcBalance New wallet creation max btc balance
1460
1229
  /// amount.
@@ -1492,16 +1261,6 @@ library BridgeGovernanceParameters {
1492
1261
  self.walletCreationMaxBtcBalanceChangeInitiated = 0;
1493
1262
  }
1494
1263
 
1495
- // https://github.com/crytic/slither/issues/1265
1496
- // slither-disable-next-line dead-code
1497
- function getNewWalletCreationMaxBtcBalance(WalletData storage self)
1498
- internal
1499
- view
1500
- returns (uint64)
1501
- {
1502
- return self.newWalletCreationMaxBtcBalance;
1503
- }
1504
-
1505
1264
  /// @notice Begins the wallet closure min btc balance amount update process.
1506
1265
  /// @param _newWalletClosureMinBtcBalance New wallet closure min btc balance amount.
1507
1266
  function beginWalletClosureMinBtcBalanceUpdate(
@@ -1538,16 +1297,6 @@ library BridgeGovernanceParameters {
1538
1297
  self.walletClosureMinBtcBalanceChangeInitiated = 0;
1539
1298
  }
1540
1299
 
1541
- // https://github.com/crytic/slither/issues/1265
1542
- // slither-disable-next-line dead-code
1543
- function getNewWalletClosureMinBtcBalance(WalletData storage self)
1544
- internal
1545
- view
1546
- returns (uint64)
1547
- {
1548
- return self.newWalletClosureMinBtcBalance;
1549
- }
1550
-
1551
1300
  /// @notice Begins the wallet max age amount update process.
1552
1301
  /// @param _newWalletMaxAge New wallet max age amount.
1553
1302
  function beginWalletMaxAgeUpdate(
@@ -1579,16 +1328,6 @@ library BridgeGovernanceParameters {
1579
1328
  self.walletMaxAgeChangeInitiated = 0;
1580
1329
  }
1581
1330
 
1582
- // https://github.com/crytic/slither/issues/1265
1583
- // slither-disable-next-line dead-code
1584
- function getNewWalletMaxAge(WalletData storage self)
1585
- internal
1586
- view
1587
- returns (uint32)
1588
- {
1589
- return self.newWalletMaxAge;
1590
- }
1591
-
1592
1331
  /// @notice Begins the wallet max btc transfer amount update process.
1593
1332
  /// @param _newWalletMaxBtcTransfer New wallet max btc transfer amount.
1594
1333
  function beginWalletMaxBtcTransferUpdate(
@@ -1623,16 +1362,6 @@ library BridgeGovernanceParameters {
1623
1362
  self.walletMaxBtcTransferChangeInitiated = 0;
1624
1363
  }
1625
1364
 
1626
- // https://github.com/crytic/slither/issues/1265
1627
- // slither-disable-next-line dead-code
1628
- function getNewWalletMaxBtcTransfer(WalletData storage self)
1629
- internal
1630
- view
1631
- returns (uint64)
1632
- {
1633
- return self.newWalletMaxBtcTransfer;
1634
- }
1635
-
1636
1365
  /// @notice Begins the wallet closing period amount update process.
1637
1366
  /// @param _newWalletClosingPeriod New wallet closing period amount.
1638
1367
  function beginWalletClosingPeriodUpdate(
@@ -1667,16 +1396,6 @@ library BridgeGovernanceParameters {
1667
1396
  self.walletClosingPeriodChangeInitiated = 0;
1668
1397
  }
1669
1398
 
1670
- // https://github.com/crytic/slither/issues/1265
1671
- // slither-disable-next-line dead-code
1672
- function getNewWalletClosingPeriod(WalletData storage self)
1673
- internal
1674
- view
1675
- returns (uint32)
1676
- {
1677
- return self.newWalletClosingPeriod;
1678
- }
1679
-
1680
1399
  // --- Fraud
1681
1400
 
1682
1401
  /// @notice Begins the fraud challenge deposit amount update process.
@@ -1715,16 +1434,6 @@ library BridgeGovernanceParameters {
1715
1434
  self.fraudChallengeDepositAmountChangeInitiated = 0;
1716
1435
  }
1717
1436
 
1718
- // https://github.com/crytic/slither/issues/1265
1719
- // slither-disable-next-line dead-code
1720
- function getNewFraudChallengeDepositAmount(FraudData storage self)
1721
- internal
1722
- view
1723
- returns (uint96)
1724
- {
1725
- return self.newFraudChallengeDepositAmount;
1726
- }
1727
-
1728
1437
  /// @notice Begins the fraud challenge defeat timeout amount update process.
1729
1438
  /// @param _newFraudChallengeDefeatTimeout New fraud challenge defeat timeout
1730
1439
  /// amount.
@@ -1762,16 +1471,6 @@ library BridgeGovernanceParameters {
1762
1471
  self.fraudChallengeDefeatTimeoutChangeInitiated = 0;
1763
1472
  }
1764
1473
 
1765
- // https://github.com/crytic/slither/issues/1265
1766
- // slither-disable-next-line dead-code
1767
- function getNewFraudChallengeDefeatTimeout(FraudData storage self)
1768
- internal
1769
- view
1770
- returns (uint32)
1771
- {
1772
- return self.newFraudChallengeDefeatTimeout;
1773
- }
1774
-
1775
1474
  /// @notice Begins the fraud slashing amount update process.
1776
1475
  /// @param _newFraudSlashingAmount New fraud slashing amount.
1777
1476
  function beginFraudSlashingAmountUpdate(
@@ -1806,16 +1505,6 @@ library BridgeGovernanceParameters {
1806
1505
  self.fraudSlashingAmountChangeInitiated = 0;
1807
1506
  }
1808
1507
 
1809
- // https://github.com/crytic/slither/issues/1265
1810
- // slither-disable-next-line dead-code
1811
- function getNewFraudSlashingAmount(FraudData storage self)
1812
- internal
1813
- view
1814
- returns (uint96)
1815
- {
1816
- return self.newFraudSlashingAmount;
1817
- }
1818
-
1819
1508
  /// @notice Begins the fraud notifier reward multiplier amount update process.
1820
1509
  /// @param _newFraudNotifierRewardMultiplier New fraud notifier reward multiplier
1821
1510
  /// amount.
@@ -1882,14 +1571,4 @@ library BridgeGovernanceParameters {
1882
1571
  self.newTreasury = address(0);
1883
1572
  self.treasuryChangeInitiated = 0;
1884
1573
  }
1885
-
1886
- // https://github.com/crytic/slither/issues/1265
1887
- // slither-disable-next-line dead-code
1888
- function getNewFraudNotifierRewardMultiplier(FraudData storage self)
1889
- internal
1890
- view
1891
- returns (uint32)
1892
- {
1893
- return self.newFraudNotifierRewardMultiplier;
1894
- }
1895
1574
  }