Skip to content

Commit fa9d0cb

Browse files
authored
Merge pull request #936 from graphprotocol/mde/pr936-fix-oz-l-03
docs: added missing docstrings for events (OZ L-03)
2 parents 9562b28 + 94e6d05 commit fa9d0cb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/contracts/contracts/rewards/SubgraphAvailabilityManager.sol

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,23 @@ contract SubgraphAvailabilityManager is Governed {
5454

5555
/**
5656
* @dev Emitted when an oracle is set
57+
* @param index Index of the oracle
58+
* @param oracle Address of the oracle
5759
*/
5860
event OracleSet(uint256 indexed index, address indexed oracle);
5961

6062
/**
6163
* @dev Emitted when the vote time limit is set
64+
* @param voteTimeLimit Vote time limit in seconds
6265
*/
6366
event VoteTimeLimitSet(uint256 voteTimeLimit);
6467

6568
/**
6669
* @dev Emitted when an oracle votes to deny or allow a subgraph
70+
* @param subgraphDeploymentID Subgraph deployment ID
71+
* @param deny True to deny, false to allow
72+
* @param oracleIndex Index of the oracle voting
73+
* @param timestamp Timestamp of the vote
6774
*/
6875
event OracleVote(
6976
bytes32 indexed subgraphDeploymentID,

0 commit comments

Comments
 (0)