Summary
Implement the on-chain key rating function that accepts holder ratings, maintains a running average, and prevents non-holders from submitting ratings.
Scope
- rate_key() accepts score 1-5 from authenticated holder
- Minimum holding balance required to submit
- Running average updated using incremental formula on each submission
- One rating per wallet — re-submission updates average correctly
- KeyRated event emitted with new score, wallet, and updated average
Acceptance Criteria
ETA
24 hours
Summary
Implement the on-chain key rating function that accepts holder ratings, maintains a running average, and prevents non-holders from submitting ratings.
Scope
Acceptance Criteria
ETA
24 hours