We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 203c88f commit c06d707Copy full SHA for c06d707
contracts/src/arbitration/KlerosCore.sol
@@ -715,6 +715,15 @@ contract KlerosCore is IArbitrator {
715
locked = juror.lockedTokens[_subcourtID];
716
}
717
718
+ /** @dev Gets the timesPerPeriod array for a given court.
719
+ * @param _subcourtID The ID of the court to get the times from.
720
+ * @return timesPerPeriod The timesPerPeriod array for the given court.
721
+ */
722
+ function getTimesPerPeriod(uint96 _subcourtID) external view returns (uint256[4] memory timesPerPeriod) {
723
+ Court storage court = courts[_subcourtID];
724
+ timesPerPeriod = court.timesPerPeriod;
725
+ }
726
+
727
// ************************************* //
728
// * Public Views for Dispute Kits * //
729
0 commit comments