Skip to content

Commit 4a3c20f

Browse files
committed
refactor: ordering of the DisputeKitClassicBase state variables
1 parent b22899c commit 4a3c20f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

contracts/src/arbitration/dispute-kits/DisputeKitClassicBase.sol

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,11 @@ abstract contract DisputeKitClassicBase is IDisputeKit, Initializable, UUPSProxi
7777
address public owner; // The owner of the contract.
7878
KlerosCore public core; // The Kleros Core arbitrator
7979
Dispute[] public disputes; // Array of the locally created disputes.
80-
mapping(uint256 => uint256) public coreDisputeIDToLocal; // Maps the dispute ID in Kleros Core to the local dispute ID.
81-
bool public singleDrawPerJuror; // Whether each juror can only draw once per dispute, false by default.
80+
mapping(uint256 coreDisputeID => uint256 localDisputeID) public coreDisputeIDToLocal; // Maps the dispute ID in Kleros Core to the local dispute ID.
8281
mapping(uint256 coreDisputeID => Active) public coreDisputeIDToActive; // Active status of the dispute and the current round.
83-
address public wNative; // The wrapped native token for safeSend().
8482
mapping(uint96 currentCourtID => NextRoundSettings) public courtIDToNextRoundSettings; // The settings for the next round.
83+
bool public singleDrawPerJuror; // Whether each juror can only draw once per round, false by default.
84+
address public wNative; // The wrapped native token for safeSend().
8585

8686
uint256[50] private __gap; // Reserved slots for future upgrades.
8787

0 commit comments

Comments
 (0)