fix: make success-tx addresses clickable, fix USDT ETH bug, nest decoded details (closes #80) #94
No reviewers
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sneak/AutistMask#94
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/issue-80-success-tx-display"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #80.
Changes:
Address click-to-copy: Added
underline decoration-dashed cursor-pointeranddata-copyto addresses intoAddressHtml()so they match the clickable style used everywhere else."USDT ETH" display bug: The Uniswap decoder was not providing
rawValueon Amount details, soapproval.jsfell through to the full display string (e.g. "2.0000 USDT") and then appended " ETH" on top. Fixed by addingrawValueto the decoder and extracting Token In info for proper symbol resolution.Duplicate Amount/nested well: When decoded calldata details are present (swaps, approvals), the top-level Amount and To rows are now hidden (they were redundant). The decoded details section is wrapped in a dashed border well for visual separation.
docker build .passes.Review: ✅ Approved
All three issues from #80 are addressed:
Address click-to-copy —
toAddressHtml()now addsunderline decoration-dashed cursor-pointer+data-copyattribute, matching the style used elsewhere."USDT ETH" bug — Uniswap decoder now provides
rawValueon Amount details, andapproval.jsextracts Token In info for proper symbol resolution. This prevents the fallback that appended " ETH".Duplicate Amount / nested well — When decoded details are present, the top-level Amount and To rows are hidden (they were redundant). Decoded details are wrapped in a dashed border well.
docker build .passes. Markingmerge-ready.