@keep-network/tbtc-v2 0.1.1-dev.111 → 0.1.1-dev.112
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/artifacts/Bank.json +3 -3
- package/artifacts/Bridge.json +5 -5
- package/artifacts/BridgeGovernance.json +11 -11
- package/artifacts/BridgeGovernanceParameters.json +38 -72
- package/artifacts/Deposit.json +2 -2
- package/artifacts/DepositSweep.json +2 -2
- package/artifacts/EcdsaDkgValidator.json +1 -1
- package/artifacts/EcdsaInactivity.json +1 -1
- package/artifacts/EcdsaSortitionPool.json +2 -2
- package/artifacts/Fraud.json +2 -2
- package/artifacts/KeepRegistry.json +1 -1
- package/artifacts/KeepStake.json +2 -2
- package/artifacts/KeepToken.json +2 -2
- package/artifacts/KeepTokenStaking.json +1 -1
- package/artifacts/MaintainerProxy.json +3 -3
- package/artifacts/MovingFunds.json +2 -2
- package/artifacts/NuCypherStakingEscrow.json +1 -1
- package/artifacts/NuCypherToken.json +2 -2
- package/artifacts/RandomBeaconStub.json +1 -1
- package/artifacts/Redemption.json +2 -2
- package/artifacts/ReimbursementPool.json +2 -2
- package/artifacts/Relay.json +2 -2
- package/artifacts/T.json +2 -2
- package/artifacts/TBTC.json +3 -3
- package/artifacts/TBTCToken.json +3 -3
- package/artifacts/TBTCVault.json +3 -3
- package/artifacts/TokenStaking.json +1 -1
- package/artifacts/TokenholderGovernor.json +9 -9
- package/artifacts/TokenholderTimelock.json +8 -8
- package/artifacts/VendingMachine.json +3 -3
- package/artifacts/VendingMachineKeep.json +1 -1
- package/artifacts/VendingMachineNuCypher.json +1 -1
- package/artifacts/WalletRegistry.json +5 -5
- package/artifacts/WalletRegistryGovernance.json +2 -2
- package/artifacts/Wallets.json +2 -2
- package/artifacts/solcInputs/{1e291ab726bebbb8e88879278adca96c.json → 48c48776b1355c6e33a9b3fbf8d61056.json} +1 -1
- package/artifacts/solcInputs/{a166504b2be69d2037399dd4cbc4b352.json → df54dd67556b89c30c4e06c099c79a6a.json} +1 -1
- package/build/contracts/GovernanceUtils.sol/GovernanceUtils.dbg.json +1 -1
- package/build/contracts/bank/Bank.sol/Bank.dbg.json +1 -1
- package/build/contracts/bank/IReceiveBalanceApproval.sol/IReceiveBalanceApproval.dbg.json +1 -1
- package/build/contracts/bridge/BitcoinTx.sol/BitcoinTx.dbg.json +1 -1
- package/build/contracts/bridge/Bridge.sol/Bridge.dbg.json +1 -1
- package/build/contracts/bridge/BridgeGovernance.sol/BridgeGovernance.dbg.json +1 -1
- package/build/contracts/bridge/BridgeGovernance.sol/BridgeGovernance.json +2 -2
- package/build/contracts/bridge/BridgeGovernanceParameters.sol/BridgeGovernanceParameters.dbg.json +1 -1
- package/build/contracts/bridge/BridgeGovernanceParameters.sol/BridgeGovernanceParameters.json +2 -2
- package/build/contracts/bridge/BridgeState.sol/BridgeState.dbg.json +1 -1
- package/build/contracts/bridge/Deposit.sol/Deposit.dbg.json +1 -1
- package/build/contracts/bridge/DepositSweep.sol/DepositSweep.dbg.json +1 -1
- package/build/contracts/bridge/EcdsaLib.sol/EcdsaLib.dbg.json +1 -1
- package/build/contracts/bridge/Fraud.sol/Fraud.dbg.json +1 -1
- package/build/contracts/bridge/Heartbeat.sol/Heartbeat.dbg.json +1 -1
- package/build/contracts/bridge/IRelay.sol/IRelay.dbg.json +1 -1
- package/build/contracts/bridge/MovingFunds.sol/MovingFunds.dbg.json +1 -1
- package/build/contracts/bridge/Redemption.sol/OutboundTx.dbg.json +1 -1
- package/build/contracts/bridge/Redemption.sol/Redemption.dbg.json +1 -1
- package/build/contracts/bridge/VendingMachine.sol/VendingMachine.dbg.json +1 -1
- package/build/contracts/bridge/Wallets.sol/Wallets.dbg.json +1 -1
- package/build/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.dbg.json +1 -1
- package/build/contracts/relay/LightRelay.sol/ILightRelay.dbg.json +1 -1
- package/build/contracts/relay/LightRelay.sol/LightRelay.dbg.json +1 -1
- package/build/contracts/relay/LightRelay.sol/RelayUtils.dbg.json +1 -1
- package/build/contracts/token/TBTC.sol/TBTC.dbg.json +1 -1
- package/build/contracts/vault/DonationVault.sol/DonationVault.dbg.json +1 -1
- package/build/contracts/vault/IVault.sol/IVault.dbg.json +1 -1
- package/build/contracts/vault/TBTCVault.sol/TBTCVault.dbg.json +1 -1
- package/contracts/bridge/BridgeGovernanceParameters.sol +32 -93
- package/export/artifacts/BridgeGovernance.json +6 -6
- package/export/artifacts/BridgeGovernanceParameters.json +38 -72
- package/export/typechain/factories/BridgeGovernanceParameters__factory.js +1 -1
- package/export/typechain/factories/BridgeGovernance__factory.js +1 -1
- package/package.json +1 -1
|
@@ -325,7 +325,6 @@ library BridgeGovernanceParameters {
|
|
|
325
325
|
// --- Deposit
|
|
326
326
|
|
|
327
327
|
/// @notice Begins the deposit dust threshold amount update process.
|
|
328
|
-
/// @dev Can be called only by the contract owner.
|
|
329
328
|
/// @param _newDepositDustThreshold New deposit dust threshold amount.
|
|
330
329
|
function beginDepositDustThresholdUpdate(
|
|
331
330
|
DepositData storage self,
|
|
@@ -342,8 +341,7 @@ library BridgeGovernanceParameters {
|
|
|
342
341
|
}
|
|
343
342
|
|
|
344
343
|
/// @notice Finalizes the deposit dust threshold amount update process.
|
|
345
|
-
/// @dev Can be called
|
|
346
|
-
/// delay elapses.
|
|
344
|
+
/// @dev Can be called after the governance delay elapses.
|
|
347
345
|
function finalizeDepositDustThresholdUpdate(
|
|
348
346
|
DepositData storage self,
|
|
349
347
|
uint256 governanceDelay
|
|
@@ -371,7 +369,6 @@ library BridgeGovernanceParameters {
|
|
|
371
369
|
}
|
|
372
370
|
|
|
373
371
|
/// @notice Begins the deposit treasury fee divisor amount update process.
|
|
374
|
-
/// @dev Can be called only by the contract owner.
|
|
375
372
|
/// @param _newDepositTreasuryFeeDivisor New deposit treasury fee divisor amount.
|
|
376
373
|
function beginDepositTreasuryFeeDivisorUpdate(
|
|
377
374
|
DepositData storage self,
|
|
@@ -388,8 +385,7 @@ library BridgeGovernanceParameters {
|
|
|
388
385
|
}
|
|
389
386
|
|
|
390
387
|
/// @notice Finalizes the deposit treasury fee divisor amount update process.
|
|
391
|
-
/// @dev Can be called
|
|
392
|
-
/// delay elapses.
|
|
388
|
+
/// @dev Can be called after the governance delay elapses.
|
|
393
389
|
function finalizeDepositTreasuryFeeDivisorUpdate(
|
|
394
390
|
DepositData storage self,
|
|
395
391
|
uint256 governanceDelay
|
|
@@ -419,7 +415,7 @@ library BridgeGovernanceParameters {
|
|
|
419
415
|
}
|
|
420
416
|
|
|
421
417
|
/// @notice Begins the deposit tx max fee amount update process.
|
|
422
|
-
|
|
418
|
+
|
|
423
419
|
/// @param _newDepositTxMaxFee New deposit tx max fee amount.
|
|
424
420
|
function beginDepositTxMaxFeeUpdate(
|
|
425
421
|
DepositData storage self,
|
|
@@ -433,8 +429,7 @@ library BridgeGovernanceParameters {
|
|
|
433
429
|
}
|
|
434
430
|
|
|
435
431
|
/// @notice Finalizes the deposit tx max fee amount update process.
|
|
436
|
-
/// @dev Can be called
|
|
437
|
-
/// delay elapses.
|
|
432
|
+
/// @dev Can be called after the governance delay elapses.
|
|
438
433
|
function finalizeDepositTxMaxFeeUpdate(
|
|
439
434
|
DepositData storage self,
|
|
440
435
|
uint256 governanceDelay
|
|
@@ -464,7 +459,6 @@ library BridgeGovernanceParameters {
|
|
|
464
459
|
// --- Redemption
|
|
465
460
|
|
|
466
461
|
/// @notice Begins the redemption dust threshold amount update process.
|
|
467
|
-
/// @dev Can be called only by the contract owner.
|
|
468
462
|
/// @param _newRedemptionDustThreshold New redemption dust threshold amount.
|
|
469
463
|
function beginRedemptionDustThresholdUpdate(
|
|
470
464
|
RedemptionData storage self,
|
|
@@ -481,8 +475,7 @@ library BridgeGovernanceParameters {
|
|
|
481
475
|
}
|
|
482
476
|
|
|
483
477
|
/// @notice Finalizes the redemption dust threshold amount update process.
|
|
484
|
-
/// @dev Can be called
|
|
485
|
-
/// delay elapses.
|
|
478
|
+
/// @dev Can be called after the governance delay elapses.
|
|
486
479
|
function finalizeRedemptionDustThresholdUpdate(
|
|
487
480
|
RedemptionData storage self,
|
|
488
481
|
uint256 governanceDelay
|
|
@@ -510,7 +503,6 @@ library BridgeGovernanceParameters {
|
|
|
510
503
|
}
|
|
511
504
|
|
|
512
505
|
/// @notice Begins the redemption treasury fee divisor amount update process.
|
|
513
|
-
/// @dev Can be called only by the contract owner.
|
|
514
506
|
/// @param _newRedemptionTreasuryFeeDivisor New redemption treasury fee divisor
|
|
515
507
|
/// amount.
|
|
516
508
|
function beginRedemptionTreasuryFeeDivisorUpdate(
|
|
@@ -528,8 +520,7 @@ library BridgeGovernanceParameters {
|
|
|
528
520
|
}
|
|
529
521
|
|
|
530
522
|
/// @notice Finalizes the redemption treasury fee divisor amount update process.
|
|
531
|
-
/// @dev Can be called
|
|
532
|
-
/// delay elapses.
|
|
523
|
+
/// @dev Can be called after the governance delay elapses.
|
|
533
524
|
function finalizeRedemptionTreasuryFeeDivisorUpdate(
|
|
534
525
|
RedemptionData storage self,
|
|
535
526
|
uint256 governanceDelay
|
|
@@ -559,7 +550,6 @@ library BridgeGovernanceParameters {
|
|
|
559
550
|
}
|
|
560
551
|
|
|
561
552
|
/// @notice Begins the redemption tx max fee amount update process.
|
|
562
|
-
/// @dev Can be called only by the contract owner.
|
|
563
553
|
/// @param _newRedemptionTxMaxFee New redemption tx max fee amount.
|
|
564
554
|
function beginRedemptionTxMaxFeeUpdate(
|
|
565
555
|
RedemptionData storage self,
|
|
@@ -576,8 +566,7 @@ library BridgeGovernanceParameters {
|
|
|
576
566
|
}
|
|
577
567
|
|
|
578
568
|
/// @notice Finalizes the redemption tx max fee amount update process.
|
|
579
|
-
/// @dev Can be called
|
|
580
|
-
/// delay elapses.
|
|
569
|
+
/// @dev Can be called after the governance delay elapses.
|
|
581
570
|
function finalizeRedemptionTxMaxFeeUpdate(
|
|
582
571
|
RedemptionData storage self,
|
|
583
572
|
uint256 governanceDelay
|
|
@@ -605,7 +594,6 @@ library BridgeGovernanceParameters {
|
|
|
605
594
|
}
|
|
606
595
|
|
|
607
596
|
/// @notice Begins the redemption tx max total fee amount update process.
|
|
608
|
-
/// @dev Can be called only by the contract owner.
|
|
609
597
|
/// @param _newRedemptionTxMaxTotalFee New redemption tx max total fee amount.
|
|
610
598
|
function beginRedemptionTxMaxTotalFeeUpdate(
|
|
611
599
|
RedemptionData storage self,
|
|
@@ -622,8 +610,7 @@ library BridgeGovernanceParameters {
|
|
|
622
610
|
}
|
|
623
611
|
|
|
624
612
|
/// @notice Finalizes the redemption tx max total fee amount update process.
|
|
625
|
-
/// @dev Can be called
|
|
626
|
-
/// delay elapses.
|
|
613
|
+
/// @dev Can be called after the governance delay elapses.
|
|
627
614
|
function finalizeRedemptionTxMaxTotalFeeUpdate(
|
|
628
615
|
RedemptionData storage self,
|
|
629
616
|
uint256 governanceDelay
|
|
@@ -651,7 +638,6 @@ library BridgeGovernanceParameters {
|
|
|
651
638
|
}
|
|
652
639
|
|
|
653
640
|
/// @notice Begins the redemption timeout amount update process.
|
|
654
|
-
/// @dev Can be called only by the contract owner.
|
|
655
641
|
/// @param _newRedemptionTimeout New redemption timeout amount.
|
|
656
642
|
function beginRedemptionTimeoutUpdate(
|
|
657
643
|
RedemptionData storage self,
|
|
@@ -669,8 +655,7 @@ library BridgeGovernanceParameters {
|
|
|
669
655
|
|
|
670
656
|
/// @notice Finalizes the redemption timeout amount update
|
|
671
657
|
/// process.
|
|
672
|
-
/// @dev Can be called
|
|
673
|
-
/// delay elapses.
|
|
658
|
+
/// @dev Can be called after the governance delay elapses.
|
|
674
659
|
function finalizeRedemptionTimeoutUpdate(
|
|
675
660
|
RedemptionData storage self,
|
|
676
661
|
uint256 governanceDelay
|
|
@@ -698,7 +683,6 @@ library BridgeGovernanceParameters {
|
|
|
698
683
|
}
|
|
699
684
|
|
|
700
685
|
/// @notice Begins the redemption timeout slashing amount update process.
|
|
701
|
-
/// @dev Can be called only by the contract owner.
|
|
702
686
|
/// @param _newRedemptionTimeoutSlashingAmount New redemption timeout slashing
|
|
703
687
|
/// amount.
|
|
704
688
|
function beginRedemptionTimeoutSlashingAmountUpdate(
|
|
@@ -717,8 +701,7 @@ library BridgeGovernanceParameters {
|
|
|
717
701
|
}
|
|
718
702
|
|
|
719
703
|
/// @notice Finalizes the redemption timeout slashing amount update process.
|
|
720
|
-
/// @dev Can be called
|
|
721
|
-
/// delay elapses.
|
|
704
|
+
/// @dev Can be called after the governance delay elapses.
|
|
722
705
|
function finalizeRedemptionTimeoutSlashingAmountUpdate(
|
|
723
706
|
RedemptionData storage self,
|
|
724
707
|
uint256 governanceDelay
|
|
@@ -749,7 +732,6 @@ library BridgeGovernanceParameters {
|
|
|
749
732
|
|
|
750
733
|
/// @notice Begins the redemption timeout notifier reward multiplier amount
|
|
751
734
|
/// update process.
|
|
752
|
-
/// @dev Can be called only by the contract owner.
|
|
753
735
|
/// @param _newRedemptionTimeoutNotifierRewardMultiplier New redemption
|
|
754
736
|
/// timeout notifier reward multiplier amount.
|
|
755
737
|
function beginRedemptionTimeoutNotifierRewardMultiplierUpdate(
|
|
@@ -769,8 +751,7 @@ library BridgeGovernanceParameters {
|
|
|
769
751
|
}
|
|
770
752
|
|
|
771
753
|
/// @notice Finalizes the redemption timeout notifier reward multiplier amount update process.
|
|
772
|
-
/// @dev Can be called
|
|
773
|
-
/// delay elapses.
|
|
754
|
+
/// @dev Can be called after the governance delay elapses.
|
|
774
755
|
function finalizeRedemptionTimeoutNotifierRewardMultiplierUpdate(
|
|
775
756
|
RedemptionData storage self,
|
|
776
757
|
uint256 governanceDelay
|
|
@@ -800,7 +781,6 @@ library BridgeGovernanceParameters {
|
|
|
800
781
|
// --- Moving funds
|
|
801
782
|
|
|
802
783
|
/// @notice Begins the moving funds tx max total fee amount update process.
|
|
803
|
-
/// @dev Can be called only by the contract owner.
|
|
804
784
|
/// @param _newMovingFundsTxMaxTotalFee New moving funds tx max total fee amount.
|
|
805
785
|
function beginMovingFundsTxMaxTotalFeeUpdate(
|
|
806
786
|
MovingFundsData storage self,
|
|
@@ -817,8 +797,7 @@ library BridgeGovernanceParameters {
|
|
|
817
797
|
}
|
|
818
798
|
|
|
819
799
|
/// @notice Finalizes the moving funds tx max total fee amount update process.
|
|
820
|
-
/// @dev Can be called
|
|
821
|
-
/// delay elapses.
|
|
800
|
+
/// @dev Can be called after the governance delay elapses.
|
|
822
801
|
function finalizeMovingFundsTxMaxTotalFeeUpdate(
|
|
823
802
|
MovingFundsData storage self,
|
|
824
803
|
uint256 governanceDelay
|
|
@@ -846,7 +825,6 @@ library BridgeGovernanceParameters {
|
|
|
846
825
|
}
|
|
847
826
|
|
|
848
827
|
/// @notice Begins the moving funds dust threshold amount update process.
|
|
849
|
-
/// @dev Can be called only by the contract owner.
|
|
850
828
|
/// @param _newMovingFundsDustThreshold New moving funds dust threshold amount.
|
|
851
829
|
function beginMovingFundsDustThresholdUpdate(
|
|
852
830
|
MovingFundsData storage self,
|
|
@@ -863,8 +841,7 @@ library BridgeGovernanceParameters {
|
|
|
863
841
|
}
|
|
864
842
|
|
|
865
843
|
/// @notice Finalizes the moving funds dust threshold amount update process.
|
|
866
|
-
/// @dev Can be called
|
|
867
|
-
/// delay elapses.
|
|
844
|
+
/// @dev Can be called after the governance delay elapses.
|
|
868
845
|
function finalizeMovingFundsDustThresholdUpdate(
|
|
869
846
|
MovingFundsData storage self,
|
|
870
847
|
uint256 governanceDelay
|
|
@@ -892,7 +869,6 @@ library BridgeGovernanceParameters {
|
|
|
892
869
|
}
|
|
893
870
|
|
|
894
871
|
/// @notice Begins the moving funds timeout reset delay amount update process.
|
|
895
|
-
/// @dev Can be called only by the contract owner.
|
|
896
872
|
/// @param _newMovingFundsTimeoutResetDelay New moving funds timeout reset
|
|
897
873
|
/// delay amount.
|
|
898
874
|
function beginMovingFundsTimeoutResetDelayUpdate(
|
|
@@ -910,8 +886,7 @@ library BridgeGovernanceParameters {
|
|
|
910
886
|
}
|
|
911
887
|
|
|
912
888
|
/// @notice Finalizes the moving funds timeout reset delay amount update process.
|
|
913
|
-
/// @dev Can be called
|
|
914
|
-
/// delay elapses.
|
|
889
|
+
/// @dev Can be called after the governance delay elapses.
|
|
915
890
|
function finalizeMovingFundsTimeoutResetDelayUpdate(
|
|
916
891
|
MovingFundsData storage self,
|
|
917
892
|
uint256 governanceDelay
|
|
@@ -941,7 +916,6 @@ library BridgeGovernanceParameters {
|
|
|
941
916
|
}
|
|
942
917
|
|
|
943
918
|
/// @notice Begins the moving funds timeout amount update process.
|
|
944
|
-
/// @dev Can be called only by the contract owner.
|
|
945
919
|
/// @param _newMovingFundsTimeout New moving funds timeout amount.
|
|
946
920
|
function beginMovingFundsTimeoutUpdate(
|
|
947
921
|
MovingFundsData storage self,
|
|
@@ -958,8 +932,7 @@ library BridgeGovernanceParameters {
|
|
|
958
932
|
}
|
|
959
933
|
|
|
960
934
|
/// @notice Finalizes the moving funds timeout amount update process.
|
|
961
|
-
/// @dev Can be called
|
|
962
|
-
/// delay elapses.
|
|
935
|
+
/// @dev Can be called after the governance delay elapses.
|
|
963
936
|
function finalizeMovingFundsTimeoutUpdate(
|
|
964
937
|
MovingFundsData storage self,
|
|
965
938
|
uint256 governanceDelay
|
|
@@ -987,7 +960,6 @@ library BridgeGovernanceParameters {
|
|
|
987
960
|
}
|
|
988
961
|
|
|
989
962
|
/// @notice Begins the moving funds timeout slashing amount update process.
|
|
990
|
-
/// @dev Can be called only by the contract owner.
|
|
991
963
|
/// @param _newMovingFundsTimeoutSlashingAmount New moving funds timeout slashing amount.
|
|
992
964
|
function beginMovingFundsTimeoutSlashingAmountUpdate(
|
|
993
965
|
MovingFundsData storage self,
|
|
@@ -1005,8 +977,7 @@ library BridgeGovernanceParameters {
|
|
|
1005
977
|
}
|
|
1006
978
|
|
|
1007
979
|
/// @notice Finalizes the moving funds timeout slashing amount update process.
|
|
1008
|
-
/// @dev Can be called
|
|
1009
|
-
/// delay elapses.
|
|
980
|
+
/// @dev Can be called after the governance delay elapses.
|
|
1010
981
|
function finalizeMovingFundsTimeoutSlashingAmountUpdate(
|
|
1011
982
|
MovingFundsData storage self,
|
|
1012
983
|
uint256 governanceDelay
|
|
@@ -1035,7 +1006,6 @@ library BridgeGovernanceParameters {
|
|
|
1035
1006
|
|
|
1036
1007
|
/// @notice Begins the moving funds timeout notifier reward multiplier amount
|
|
1037
1008
|
/// update process.
|
|
1038
|
-
/// @dev Can be called only by the contract owner.
|
|
1039
1009
|
/// @param _newMovingFundsTimeoutNotifierRewardMultiplier New moving funds
|
|
1040
1010
|
/// timeout notifier reward multiplier amount.
|
|
1041
1011
|
function beginMovingFundsTimeoutNotifierRewardMultiplierUpdate(
|
|
@@ -1056,8 +1026,7 @@ library BridgeGovernanceParameters {
|
|
|
1056
1026
|
|
|
1057
1027
|
/// @notice Finalizes the moving funds timeout notifier reward multiplier
|
|
1058
1028
|
/// amount update process.
|
|
1059
|
-
/// @dev Can be called
|
|
1060
|
-
/// delay elapses.
|
|
1029
|
+
/// @dev Can be called after the governance delay elapses.
|
|
1061
1030
|
function finalizeMovingFundsTimeoutNotifierRewardMultiplierUpdate(
|
|
1062
1031
|
MovingFundsData storage self,
|
|
1063
1032
|
uint256 governanceDelay
|
|
@@ -1085,7 +1054,6 @@ library BridgeGovernanceParameters {
|
|
|
1085
1054
|
}
|
|
1086
1055
|
|
|
1087
1056
|
/// @notice Begins the moved funds sweep tx max total fee amount update process.
|
|
1088
|
-
/// @dev Can be called only by the contract owner.
|
|
1089
1057
|
/// @param _newMovedFundsSweepTxMaxTotalFee New moved funds sweep tx max total
|
|
1090
1058
|
/// fee amount.
|
|
1091
1059
|
function beginMovedFundsSweepTxMaxTotalFeeUpdate(
|
|
@@ -1104,8 +1072,7 @@ library BridgeGovernanceParameters {
|
|
|
1104
1072
|
|
|
1105
1073
|
/// @notice Finalizes the moved funds sweep tx max total fee amount update
|
|
1106
1074
|
/// process.
|
|
1107
|
-
/// @dev Can be called
|
|
1108
|
-
/// delay elapses.
|
|
1075
|
+
/// @dev Can be called after the governance delay elapses.
|
|
1109
1076
|
function finalizeMovedFundsSweepTxMaxTotalFeeUpdate(
|
|
1110
1077
|
MovingFundsData storage self,
|
|
1111
1078
|
uint256 governanceDelay
|
|
@@ -1135,7 +1102,6 @@ library BridgeGovernanceParameters {
|
|
|
1135
1102
|
}
|
|
1136
1103
|
|
|
1137
1104
|
/// @notice Begins the moved funds sweep timeout amount update process.
|
|
1138
|
-
/// @dev Can be called only by the contract owner.
|
|
1139
1105
|
/// @param _newMovedFundsSweepTimeout New moved funds sweep timeout amount.
|
|
1140
1106
|
function beginMovedFundsSweepTimeoutUpdate(
|
|
1141
1107
|
MovingFundsData storage self,
|
|
@@ -1152,8 +1118,7 @@ library BridgeGovernanceParameters {
|
|
|
1152
1118
|
}
|
|
1153
1119
|
|
|
1154
1120
|
/// @notice Finalizes the moved funds sweep timeout amount update process.
|
|
1155
|
-
/// @dev Can be called
|
|
1156
|
-
/// delay elapses.
|
|
1121
|
+
/// @dev Can be called after the governance delay elapses.
|
|
1157
1122
|
function finalizeMovedFundsSweepTimeoutUpdate(
|
|
1158
1123
|
MovingFundsData storage self,
|
|
1159
1124
|
uint256 governanceDelay
|
|
@@ -1182,7 +1147,6 @@ library BridgeGovernanceParameters {
|
|
|
1182
1147
|
|
|
1183
1148
|
/// @notice Begins the moved funds sweep timeout slashing amount update
|
|
1184
1149
|
/// process.
|
|
1185
|
-
/// @dev Can be called only by the contract owner.
|
|
1186
1150
|
/// @param _newMovedFundsSweepTimeoutSlashingAmount New moved funds sweep
|
|
1187
1151
|
/// timeout slashing amount.
|
|
1188
1152
|
function beginMovedFundsSweepTimeoutSlashingAmountUpdate(
|
|
@@ -1203,8 +1167,7 @@ library BridgeGovernanceParameters {
|
|
|
1203
1167
|
|
|
1204
1168
|
/// @notice Finalizes the moved funds sweep timeout slashing amount
|
|
1205
1169
|
/// update process.
|
|
1206
|
-
/// @dev Can be called
|
|
1207
|
-
/// delay elapses.
|
|
1170
|
+
/// @dev Can be called after the governance delay elapses.
|
|
1208
1171
|
function finalizeMovedFundsSweepTimeoutSlashingAmountUpdate(
|
|
1209
1172
|
MovingFundsData storage self,
|
|
1210
1173
|
uint256 governanceDelay
|
|
@@ -1233,7 +1196,6 @@ library BridgeGovernanceParameters {
|
|
|
1233
1196
|
|
|
1234
1197
|
/// @notice Begins the moved funds sweep timeout notifier reward multiplier
|
|
1235
1198
|
/// amount update process.
|
|
1236
|
-
/// @dev Can be called only by the contract owner.
|
|
1237
1199
|
/// @param _newMovedFundsSweepTimeoutNotifierRewardMultiplier New moved funds
|
|
1238
1200
|
/// sweep timeout notifier reward multiplier amount.
|
|
1239
1201
|
function beginMovedFundsSweepTimeoutNotifierRewardMultiplierUpdate(
|
|
@@ -1255,8 +1217,7 @@ library BridgeGovernanceParameters {
|
|
|
1255
1217
|
|
|
1256
1218
|
/// @notice Finalizes the moved funds sweep timeout notifier reward multiplier
|
|
1257
1219
|
/// amount update process.
|
|
1258
|
-
/// @dev Can be called
|
|
1259
|
-
/// delay elapses.
|
|
1220
|
+
/// @dev Can be called after the governance delay elapses.
|
|
1260
1221
|
function finalizeMovedFundsSweepTimeoutNotifierRewardMultiplierUpdate(
|
|
1261
1222
|
MovingFundsData storage self,
|
|
1262
1223
|
uint256 governanceDelay
|
|
@@ -1286,7 +1247,6 @@ library BridgeGovernanceParameters {
|
|
|
1286
1247
|
// --- Wallet params
|
|
1287
1248
|
|
|
1288
1249
|
/// @notice Begins the wallet creation period amount update process.
|
|
1289
|
-
/// @dev Can be called only by the contract owner.
|
|
1290
1250
|
/// @param _newWalletCreationPeriod New wallet creation period amount.
|
|
1291
1251
|
function beginWalletCreationPeriodUpdate(
|
|
1292
1252
|
WalletData storage self,
|
|
@@ -1303,8 +1263,7 @@ library BridgeGovernanceParameters {
|
|
|
1303
1263
|
}
|
|
1304
1264
|
|
|
1305
1265
|
/// @notice Finalizes the wallet creation period amount update process.
|
|
1306
|
-
/// @dev Can be called
|
|
1307
|
-
/// delay elapses.
|
|
1266
|
+
/// @dev Can be called after the governance delay elapses.
|
|
1308
1267
|
function finalizeWalletCreationPeriodUpdate(
|
|
1309
1268
|
WalletData storage self,
|
|
1310
1269
|
uint256 governanceDelay
|
|
@@ -1332,7 +1291,6 @@ library BridgeGovernanceParameters {
|
|
|
1332
1291
|
}
|
|
1333
1292
|
|
|
1334
1293
|
/// @notice Begins the wallet creation min btc balance amount update process.
|
|
1335
|
-
/// @dev Can be called only by the contract owner.
|
|
1336
1294
|
/// @param _newWalletCreationMinBtcBalance New wallet creation min btc balance
|
|
1337
1295
|
/// amount.
|
|
1338
1296
|
function beginWalletCreationMinBtcBalanceUpdate(
|
|
@@ -1350,8 +1308,7 @@ library BridgeGovernanceParameters {
|
|
|
1350
1308
|
}
|
|
1351
1309
|
|
|
1352
1310
|
/// @notice Finalizes the wallet creation min btc balance amount update process.
|
|
1353
|
-
/// @dev Can be called
|
|
1354
|
-
/// delay elapses.
|
|
1311
|
+
/// @dev Can be called after the governance delay elapses.
|
|
1355
1312
|
function finalizeWalletCreationMinBtcBalanceUpdate(
|
|
1356
1313
|
WalletData storage self,
|
|
1357
1314
|
uint256 governanceDelay
|
|
@@ -1381,7 +1338,6 @@ library BridgeGovernanceParameters {
|
|
|
1381
1338
|
}
|
|
1382
1339
|
|
|
1383
1340
|
/// @notice Begins the wallet creation max btc balance amount update process.
|
|
1384
|
-
/// @dev Can be called only by the contract owner.
|
|
1385
1341
|
/// @param _newWalletCreationMaxBtcBalance New wallet creation max btc balance
|
|
1386
1342
|
/// amount.
|
|
1387
1343
|
function beginWalletCreationMaxBtcBalanceUpdate(
|
|
@@ -1399,8 +1355,7 @@ library BridgeGovernanceParameters {
|
|
|
1399
1355
|
}
|
|
1400
1356
|
|
|
1401
1357
|
/// @notice Finalizes the wallet creation max btc balance amount update process.
|
|
1402
|
-
/// @dev Can be called
|
|
1403
|
-
/// delay elapses.
|
|
1358
|
+
/// @dev Can be called after the governance delay elapses.
|
|
1404
1359
|
function finalizeWalletCreationMaxBtcBalanceUpdate(
|
|
1405
1360
|
WalletData storage self,
|
|
1406
1361
|
uint256 governanceDelay
|
|
@@ -1430,7 +1385,6 @@ library BridgeGovernanceParameters {
|
|
|
1430
1385
|
}
|
|
1431
1386
|
|
|
1432
1387
|
/// @notice Begins the wallet closure min btc balance amount update process.
|
|
1433
|
-
/// @dev Can be called only by the contract owner.
|
|
1434
1388
|
/// @param _newWalletClosureMinBtcBalance New wallet closure min btc balance amount.
|
|
1435
1389
|
function beginWalletClosureMinBtcBalanceUpdate(
|
|
1436
1390
|
WalletData storage self,
|
|
@@ -1447,8 +1401,7 @@ library BridgeGovernanceParameters {
|
|
|
1447
1401
|
}
|
|
1448
1402
|
|
|
1449
1403
|
/// @notice Finalizes the wallet closure min btc balance amount update process.
|
|
1450
|
-
/// @dev Can be called
|
|
1451
|
-
/// delay elapses.
|
|
1404
|
+
/// @dev Can be called after the governance delay elapses.
|
|
1452
1405
|
function finalizeWalletClosureMinBtcBalanceUpdate(
|
|
1453
1406
|
WalletData storage self,
|
|
1454
1407
|
uint256 governanceDelay
|
|
@@ -1478,7 +1431,6 @@ library BridgeGovernanceParameters {
|
|
|
1478
1431
|
}
|
|
1479
1432
|
|
|
1480
1433
|
/// @notice Begins the wallet max age amount update process.
|
|
1481
|
-
/// @dev Can be called only by the contract owner.
|
|
1482
1434
|
/// @param _newWalletMaxAge New wallet max age amount.
|
|
1483
1435
|
function beginWalletMaxAgeUpdate(
|
|
1484
1436
|
WalletData storage self,
|
|
@@ -1492,8 +1444,7 @@ library BridgeGovernanceParameters {
|
|
|
1492
1444
|
}
|
|
1493
1445
|
|
|
1494
1446
|
/// @notice Finalizes the wallet max age amount update process.
|
|
1495
|
-
/// @dev Can be called
|
|
1496
|
-
/// delay elapses.
|
|
1447
|
+
/// @dev Can be called after the governance delay elapses.
|
|
1497
1448
|
function finalizeWalletMaxAgeUpdate(
|
|
1498
1449
|
WalletData storage self,
|
|
1499
1450
|
uint256 governanceDelay
|
|
@@ -1521,7 +1472,6 @@ library BridgeGovernanceParameters {
|
|
|
1521
1472
|
}
|
|
1522
1473
|
|
|
1523
1474
|
/// @notice Begins the wallet max btc transfer amount update process.
|
|
1524
|
-
/// @dev Can be called only by the contract owner.
|
|
1525
1475
|
/// @param _newWalletMaxBtcTransfer New wallet max btc transfer amount.
|
|
1526
1476
|
function beginWalletMaxBtcTransferUpdate(
|
|
1527
1477
|
WalletData storage self,
|
|
@@ -1538,8 +1488,7 @@ library BridgeGovernanceParameters {
|
|
|
1538
1488
|
}
|
|
1539
1489
|
|
|
1540
1490
|
/// @notice Finalizes the wallet max btc transfer amount update process.
|
|
1541
|
-
/// @dev Can be called
|
|
1542
|
-
/// delay elapses.
|
|
1491
|
+
/// @dev Can be called after the governance delay elapses.
|
|
1543
1492
|
function finalizeWalletMaxBtcTransferUpdate(
|
|
1544
1493
|
WalletData storage self,
|
|
1545
1494
|
uint256 governanceDelay
|
|
@@ -1567,7 +1516,6 @@ library BridgeGovernanceParameters {
|
|
|
1567
1516
|
}
|
|
1568
1517
|
|
|
1569
1518
|
/// @notice Begins the wallet closing period amount update process.
|
|
1570
|
-
/// @dev Can be called only by the contract owner.
|
|
1571
1519
|
/// @param _newWalletClosingPeriod New wallet closing period amount.
|
|
1572
1520
|
function beginWalletClosingPeriodUpdate(
|
|
1573
1521
|
WalletData storage self,
|
|
@@ -1584,8 +1532,7 @@ library BridgeGovernanceParameters {
|
|
|
1584
1532
|
}
|
|
1585
1533
|
|
|
1586
1534
|
/// @notice Finalizes the wallet closing period amount update process.
|
|
1587
|
-
/// @dev Can be called
|
|
1588
|
-
/// delay elapses.
|
|
1535
|
+
/// @dev Can be called after the governance delay elapses.
|
|
1589
1536
|
function finalizeWalletClosingPeriodUpdate(
|
|
1590
1537
|
WalletData storage self,
|
|
1591
1538
|
uint256 governanceDelay
|
|
@@ -1615,7 +1562,6 @@ library BridgeGovernanceParameters {
|
|
|
1615
1562
|
// --- Fraud
|
|
1616
1563
|
|
|
1617
1564
|
/// @notice Begins the fraud challenge deposit amount update process.
|
|
1618
|
-
/// @dev Can be called only by the contract owner.
|
|
1619
1565
|
/// @param _newFraudChallengeDepositAmount New fraud challenge deposit amount.
|
|
1620
1566
|
function beginFraudChallengeDepositAmountUpdate(
|
|
1621
1567
|
FraudData storage self,
|
|
@@ -1632,8 +1578,7 @@ library BridgeGovernanceParameters {
|
|
|
1632
1578
|
}
|
|
1633
1579
|
|
|
1634
1580
|
/// @notice Finalizes the fraud challenge deposit amount update process.
|
|
1635
|
-
/// @dev Can be called
|
|
1636
|
-
/// delay elapses.
|
|
1581
|
+
/// @dev Can be called after the governance delay elapses.
|
|
1637
1582
|
function finalizeFraudChallengeDepositAmountUpdate(
|
|
1638
1583
|
FraudData storage self,
|
|
1639
1584
|
uint256 governanceDelay
|
|
@@ -1663,7 +1608,6 @@ library BridgeGovernanceParameters {
|
|
|
1663
1608
|
}
|
|
1664
1609
|
|
|
1665
1610
|
/// @notice Begins the fraud challenge defeat timeout amount update process.
|
|
1666
|
-
/// @dev Can be called only by the contract owner.
|
|
1667
1611
|
/// @param _newFraudChallengeDefeatTimeout New fraud challenge defeat timeout
|
|
1668
1612
|
/// amount.
|
|
1669
1613
|
function beginFraudChallengeDefeatTimeoutUpdate(
|
|
@@ -1681,8 +1625,7 @@ library BridgeGovernanceParameters {
|
|
|
1681
1625
|
}
|
|
1682
1626
|
|
|
1683
1627
|
/// @notice Finalizes the fraud challenge defeat timeout amount update process.
|
|
1684
|
-
/// @dev Can be called
|
|
1685
|
-
/// delay elapses.
|
|
1628
|
+
/// @dev Can be called after the governance delay elapses.
|
|
1686
1629
|
function finalizeFraudChallengeDefeatTimeoutUpdate(
|
|
1687
1630
|
FraudData storage self,
|
|
1688
1631
|
uint256 governanceDelay
|
|
@@ -1712,7 +1655,6 @@ library BridgeGovernanceParameters {
|
|
|
1712
1655
|
}
|
|
1713
1656
|
|
|
1714
1657
|
/// @notice Begins the fraud slashing amount update process.
|
|
1715
|
-
/// @dev Can be called only by the contract owner.
|
|
1716
1658
|
/// @param _newFraudSlashingAmount New fraud slashing amount.
|
|
1717
1659
|
function beginFraudSlashingAmountUpdate(
|
|
1718
1660
|
FraudData storage self,
|
|
@@ -1729,8 +1671,7 @@ library BridgeGovernanceParameters {
|
|
|
1729
1671
|
}
|
|
1730
1672
|
|
|
1731
1673
|
/// @notice Finalizes the fraud slashing amount update process.
|
|
1732
|
-
/// @dev Can be called
|
|
1733
|
-
/// delay elapses.
|
|
1674
|
+
/// @dev Can be called after the governance delay elapses.
|
|
1734
1675
|
function finalizeFraudSlashingAmountUpdate(
|
|
1735
1676
|
FraudData storage self,
|
|
1736
1677
|
uint256 governanceDelay
|
|
@@ -1758,7 +1699,6 @@ library BridgeGovernanceParameters {
|
|
|
1758
1699
|
}
|
|
1759
1700
|
|
|
1760
1701
|
/// @notice Begins the fraud notifier reward multiplier amount update process.
|
|
1761
|
-
/// @dev Can be called only by the contract owner.
|
|
1762
1702
|
/// @param _newFraudNotifierRewardMultiplier New fraud notifier reward multiplier
|
|
1763
1703
|
/// amount.
|
|
1764
1704
|
function beginFraudNotifierRewardMultiplierUpdate(
|
|
@@ -1777,8 +1717,7 @@ library BridgeGovernanceParameters {
|
|
|
1777
1717
|
}
|
|
1778
1718
|
|
|
1779
1719
|
/// @notice Finalizes the fraud notifier reward multiplier amount update process.
|
|
1780
|
-
/// @dev Can be called
|
|
1781
|
-
/// delay elapses.
|
|
1720
|
+
/// @dev Can be called after the governance delay elapses.
|
|
1782
1721
|
function finalizeFraudNotifierRewardMultiplierUpdate(
|
|
1783
1722
|
FraudData storage self,
|
|
1784
1723
|
uint256 governanceDelay
|