You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: contracts/src/arbitration/dispute-kits/DisputeKitClassic.sol
+9-5Lines changed: 9 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -71,10 +71,10 @@ contract DisputeKitClassic is BaseDisputeKit, IEvidence {
71
71
uint256public constant LOSER_STAKE_MULTIPLIER =20000; // Multiplier of the appeal cost that the loser has to pay as fee stake for a round in basis points. Default is 2x of appeal fee.
72
72
uint256public constant LOSER_APPEAL_PERIOD_MULTIPLIER =5000; // Multiplier of the appeal period for the choice that wasn't voted for in the previous round, in basis points. Default is 1/2 of original appeal period.
73
73
uint256public constant ONE_BASIS_POINT =10000; // One basis point, for scaling.
74
-
uint256public constant RNG_LOOKAHEAD =20; // Minimum block distance between requesting and obtaining a random number. Arbitrum sequencer finality = 20 blocks.
75
74
76
75
RNG public rng; // The random number generator
77
76
uint256public rngRequestedBlock; // The block number requested to the random number.
77
+
uint256public rngLookahead; // Minimum block distance between requesting and obtaining a random number.
78
78
uint256public randomNumber; // The current random number.
79
79
Phase public phase; // Current phase of this dispute kit.
80
80
uint256public disputesWithoutJurors; // The number of disputes that have not finished drawing jurors.
@@ -117,9 +117,11 @@ contract DisputeKitClassic is BaseDisputeKit, IEvidence {
Copy file name to clipboardExpand all lines: contracts/src/arbitration/dispute-kits/DisputeKitSybilResistant.sol
+16-5Lines changed: 16 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -80,11 +80,11 @@ contract DisputeKitSybilResistant is BaseDisputeKit, IEvidence {
80
80
uint256public constant LOSER_STAKE_MULTIPLIER =20000; // Multiplier of the appeal cost that the loser has to pay as fee stake for a round in basis points. Default is 2x of appeal fee.
81
81
uint256public constant LOSER_APPEAL_PERIOD_MULTIPLIER =5000; // Multiplier of the appeal period for the choice that wasn't voted for in the previous round, in basis points. Default is 1/2 of original appeal period.
82
82
uint256public constant ONE_BASIS_POINT =10000; // One basis point, for scaling.
83
-
uint256public constant RNG_LOOKAHEAD =20; // Minimum block distance between requesting and obtaining a random number. Arbitrum sequencer finality = 20 blocks.
84
83
85
84
RNG public rng; // The random number generator
86
85
IProofOfHumanity public poh; // The Proof of Humanity registry
87
86
uint256public rngRequestedBlock; // The block number requested to the random number.
87
+
uint256public rngLookahead; // Minimum block distance between requesting and obtaining a random number.
88
88
uint256public randomNumber; // The current random number.
89
89
Phase public phase; // Current phase of this dispute kit.
90
90
uint256public disputesWithoutJurors; // The number of disputes that have not finished drawing jurors.
@@ -127,9 +127,18 @@ contract DisputeKitSybilResistant is BaseDisputeKit, IEvidence {
0 commit comments