Skip to content

Commit

Permalink
wrap internal functions
Browse files Browse the repository at this point in the history
  • Loading branch information
gershido committed Aug 27, 2024
1 parent 7547ce9 commit 28c9614
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/JokeraceEligibility.sol
Original file line number Diff line number Diff line change
Expand Up @@ -255,12 +255,11 @@ contract JokeraceEligibility is HatsEligibilityModule {
}

function currentTermEnded() public view returns (bool ended) {
ended = block.timestamp > terms[currentTermIndex].termEnd;
ended = _currentTermEnded(terms[currentTermIndex].termEnd);
}

function nextContestCompleted() public view returns (bool completed) {
completed =
GovernorCountingSimple(payable(terms[currentTermIndex + 1].contest)).state() == Governor.ContestState.Completed;
completed = _nextContestCompleted(GovernorCountingSimple(payable(terms[currentTermIndex + 1].contest)));
}

/*//////////////////////////////////////////////////////////////
Expand Down

0 comments on commit 28c9614

Please sign in to comment.