0

For each struct property, what is the most appropriate Natspec tag to describe what it is? Is it acceptable to use @param?

1 Answer 1

1

I don't have enough reputation to leave a comment. As much as conventions are determined by developers actually doing things in practice, I have been using @param for struct properties in production for several years now. I also use it for documenting events.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.