Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: natspec and documentation improvements #41

Merged
merged 13 commits into from
Apr 17, 2024
Merged

Conversation

gas1cent
Copy link
Member

@gas1cent gas1cent commented Mar 12, 2024

🤖 Linear

Closes OPO-639, OPO-353

Copy link

Copy link

* @param _response The response being disputed.
* @param _request The request data.
* @param _response The response being disputed.
* @param _dispute The response being disputed.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't know how to phrase this one

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

_response desc matches the _dispute one

Copy link
Member Author

@gas1cent gas1cent Apr 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated it to match the description of the same parameter everywhere else.

Comment on lines +41 to 45
* @param _voter The voter who has claimed their bond
* @param _disputeId The id of the dispute
* @param _amount The amount of tokens claimed
*/
event VoteClaimed(address _voter, bytes32 _disputeId, uint256 _amount);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should've added the asset address to this event :P

Copy link

linear bot commented Apr 10, 2024

Copy link

linear bot commented Apr 10, 2024

Co-authored-by: moebius <[email protected]>
Copy link

Copy link

Copy link

@gas1cent gas1cent merged commit 8a5f3f3 into dev Apr 17, 2024
4 checks passed
@gas1cent gas1cent deleted the docs/missing-natspec branch April 17, 2024 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants