Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions contracts/src/arbitration/KlerosCore.sol
Original file line number Diff line number Diff line change
Expand Up @@ -715,6 +715,15 @@ contract KlerosCore is IArbitrator {
locked = juror.lockedTokens[_subcourtID];
}

/** @dev Gets the timesPerPeriod array for a given court.
* @param _subcourtID The ID of the court to get the times from.
* @return timesPerPeriod The timesPerPeriod array for the given court.
*/
function getTimesPerPeriod(uint96 _subcourtID) external view returns (uint256[4] memory timesPerPeriod) {
Court storage court = courts[_subcourtID];
timesPerPeriod = court.timesPerPeriod;
}

// ************************************* //
// * Public Views for Dispute Kits * //
// ************************************* //
Expand Down