Skip to content

Commit

Permalink
docs: fix IDisputeModule natspec
Browse files Browse the repository at this point in the history
  • Loading branch information
xorsal committed Oct 3, 2024
1 parent 810d583 commit becec4f
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions solidity/interfaces/modules/dispute/IDisputeModule.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ interface IDisputeModule is IModule {

/**
* @notice Emitted when a response is disputed
* @param _requestId The id of the request
* @param _responseId The id of the response disputed
* @param _disputeId The id of the dispute
* @param _dispute The dispute that is being created
Expand All @@ -32,11 +33,11 @@ interface IDisputeModule is IModule {
//////////////////////////////////////////////////////////////*/

/**
* @notice Called by the oracle when a dispute has been made on a response.
* Bonds the tokens of the disputer.
* @param _request The id of the response being disputed
* @param _response The id of the response being disputed
* @param _dispute The id of the response being disputed
* @notice Called by the oracle when a dispute has been made on a response
* @dev Bonds the tokens of the disputer
* @param _request The request
* @param _response The disputed response
* @param _dispute The dispute
*/
function disputeResponse(
IOracle.Request calldata _request,
Expand All @@ -47,9 +48,9 @@ interface IDisputeModule is IModule {
/**
* @notice Callback executed after a response to a dispute is received by the oracle
* @param _disputeId The id of the dispute
* @param _request The request data
* @param _response The disputed response data
* @param _dispute The dispute data
* @param _request The request
* @param _response The disputed response
* @param _dispute The dispute
*/
function onDisputeStatusChange(
bytes32 _disputeId,
Expand Down

0 comments on commit becec4f

Please sign in to comment.