Skip to content

[#136] Dynamic token symbol and decimals in status command#142

Merged
realproject7 merged 1 commit intomainfrom
task/136-dynamic-token-display
Mar 15, 2026
Merged

[#136] Dynamic token symbol and decimals in status command#142
realproject7 merged 1 commit intomainfrom
task/136-dynamic-token-display

Conversation

@realproject7
Copy link
Copy Markdown
Owner

Fetches reserve token symbol() and decimals() dynamically via ERC-20 calls. Removes hardcoded ETH label and 18 decimals. Falls back to TOKEN/18 if calls fail. Fixes #136

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 Review: APPROVE

Clean fix — parallel Promise.all for symbol() and decimals(), safe fallbacks (TOKEN/18), both hardcoded ETH labels and 18 decimals replaced. No hardcoded values remain.

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

The PR removes the hardcoded token assumptions in status by fetching ERC-20 symbol() and decimals() dynamically and using them for display, with sensible fallbacks if metadata calls fail. That matches issue #136 and the required check passed.

Findings

  • None.

Decision

Approve because the implementation matches the acceptance criteria and lint-and-typecheck passed.

@realproject7 realproject7 merged commit dc5886b into main Mar 15, 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.

[Bug] CLI: hardcoded "ETH" label and 18 decimals in status/claim

2 participants