File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
contracts/src/arbitration Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -715,6 +715,15 @@ contract KlerosCore is IArbitrator {
715
715
locked = juror.lockedTokens[_subcourtID];
716
716
}
717
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
+
718
727
// ************************************* //
719
728
// * Public Views for Dispute Kits * //
720
729
// ************************************* //
You can’t perform that action at this time.
0 commit comments