Skip to content

Commit 5f8e25c

Browse files
committed
refactor: function rename
1 parent 61da2b8 commit 5f8e25c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

contracts/src/arbitration/KlerosCoreBase.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ abstract contract KlerosCoreBase is IArbitratorV2, Initializable, UUPSProxiable
577577
} else if (dispute.period == Period.appeal) {
578578
if (
579579
block.timestamp - dispute.lastPeriodChange < court.timesPerPeriod[uint256(dispute.period)] &&
580-
!disputeKits[round.disputeKitID].appealFundingIsFinished(_disputeID)
580+
!disputeKits[round.disputeKitID].isAppealFunded(_disputeID)
581581
) {
582582
revert AppealPeriodNotPassed();
583583
}

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ abstract contract DisputeKitClassicBase is IDisputeKit, Initializable, UUPSProxi
535535
/// Note that this function is to be called directly by the core contract and is not for off-chain usage.
536536
/// @param _coreDisputeID The ID of the dispute in Kleros Core, not in the Dispute Kit.
537537
/// @return Whether the appeal funding is finished.
538-
function appealFundingIsFinished(uint256 _coreDisputeID) external view override returns (bool) {
538+
function isAppealFunded(uint256 _coreDisputeID) external view override returns (bool) {
539539
(uint256 appealPeriodStart, uint256 appealPeriodEnd) = core.appealPeriod(_coreDisputeID);
540540

541541
uint256[] memory fundedChoices = getFundedChoices(_coreDisputeID);

contracts/src/arbitration/interfaces/IDisputeKit.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ interface IDisputeKit {
9595
/// @dev Returns true if the appeal funding is finished prematurely (e.g. when losing side didn't fund).
9696
/// @param _coreDisputeID The ID of the dispute in Kleros Core, not in the Dispute Kit.
9797
/// @return Whether the appeal funding is finished.
98-
function appealFundingIsFinished(uint256 _coreDisputeID) external view returns (bool);
98+
function isAppealFunded(uint256 _coreDisputeID) external view returns (bool);
9999

100100
/// @dev Returns true if the specified voter was active in this round.
101101
/// @param _coreDisputeID The ID of the dispute in Kleros Core, not in the Dispute Kit.

0 commit comments

Comments
 (0)