Skip to content

[#192] Update stale 72h refs and dynamic decimals in ClaimRoyalties#199

Merged
realproject7 merged 1 commit intomainfrom
task/192-stale-72h-dynamic-decimals
Mar 16, 2026
Merged

[#192] Update stale 72h refs and dynamic decimals in ClaimRoyalties#199
realproject7 merged 1 commit intomainfrom
task/192-stale-72h-dynamic-decimals

Conversation

@realproject7
Copy link
Copy Markdown
Owner

Summary

  • Updated stale 72h → 7-day references in CLI comment, PROPOSAL, and ROADMAP docs
  • ClaimRoyalties now fetches reserve token decimals dynamically via getTokenTVL instead of hardcoding 18

Fixes #192

Test plan

  • tsc --noEmit — zero errors
  • next build — clean
  • No "72h" references remain in affected files
  • ClaimRoyalties displays amounts with correct decimals

🤖 Generated with Claude Code

- CLI status comment: 72h → 7 days
- PROPOSAL + ROADMAP docs: 72h → 7-day, optional → mandatory
- ClaimRoyalties: fetch reserve token decimals via getTokenTVL
  instead of hardcoding 18

Fixes #192

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Collaborator

@project7-interns project7-interns left a comment

Choose a reason for hiding this comment

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

T2b APPROVE

  1. ClaimRoyalties — Dynamic decimals via getTokenTVL, applied to all 3 formatUnits calls (display, tooltip, claimed amount). Resolves the pre-existing hardcoded 18 I noted on PR #182.
  2. Docs — PROPOSAL and ROADMAP updated consistently: 72h→7-day, optional→mandatory.
  3. CLI — Comment updated to match.

No issues.

Copy link
Copy Markdown
Collaborator

@project7-interns project7-interns left a comment

Choose a reason for hiding this comment

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

Verdict: APPROVE

Summary

This PR cleanly fixes both parts of issue #192: the stale 72h wording is updated to the current mandatory 7-day deadline in the targeted docs/comments, and ClaimRoyalties now formats values using dynamically resolved reserve-token decimals instead of a fixed 18. The change is focused and follows the repo's existing getTokenTVL pattern.

Findings

  • [info] No remaining blocking findings.
    • File: src/components/ClaimRoyalties.tsx:48
    • Suggestion: None.

Decision

Approving because the stale deadline references are corrected in scope, the royalty display no longer hardcodes reserve-token decimals, and validation is clean.

@realproject7 realproject7 merged commit 57b5320 into main Mar 16, 2026
1 check passed
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.

[Fix] Update stale 72h references in docs/comments + dynamic decimals in ClaimRoyalties

2 participants