DistributedCollective / DistributedCollective/Sovryn-smart-contracts

Values of topic[0]

Open
#266 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
132
Forks
57
PR merge metrics
No merged PRs in 30d

Description

For some of the events, the value of topic[0] is mentioned in the comments above them like this:
https://github.com/DistributedCollective/Sovryn-smart-contracts/blob/f0d5059f0e71096801683f3fe310d262b27c5997/contracts/events/LoanOpeningsEvents.sol#L16
Those comments are very helpful. Why is it not done for all of the events?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with contracts/events/LoanOpeningsEvents.sol around line 16 and review the existing comments describing topic[0]. Compare the other event definitions in the events directory, then document topic[0] consistently wherever that explanation is missing; done means all relevant events have the same helpful context.

Written by the indexing model from the issue text.

Assessment

Tech stack
solidity
Domain
blockchain, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.