The confirm-tx page displayed token contract addresses as plain text while other views (addressToken) used a styled container with color dot, copy-on-click, etherscan link, and token metadata.
Changes
index.html: Updated confirm-token-section to use bg-hover rounded-md container with bold header, matching addressToken style
confirmTx.js: Render contract address with addressDotHtml color dot, dashed-underline copy-on-click span, etherscan link, and optional name/symbol metadata. Added click-to-copy handler.
send.js: Pass tokenName to confirmTx for richer contract info display. Import TOKEN_BY_ADDRESS for name resolution.
Audit Results
Audited all views for display inconsistencies:
confirm-tx: Token contract was plain text — now uses styled container ✅
## Summary
The confirm-tx page displayed token contract addresses as plain text while other views (addressToken) used a styled container with color dot, copy-on-click, etherscan link, and token metadata.
## Changes
- **index.html**: Updated confirm-token-section to use `bg-hover rounded-md` container with bold header, matching addressToken style
- **confirmTx.js**: Render contract address with `addressDotHtml` color dot, dashed-underline copy-on-click span, etherscan link, and optional name/symbol metadata. Added click-to-copy handler.
- **send.js**: Pass `tokenName` to confirmTx for richer contract info display. Import `TOKEN_BY_ADDRESS` for name resolution.
## Audit Results
Audited all views for display inconsistencies:
- **confirm-tx**: Token contract was plain text — now uses styled container ✅
- **addressToken**: Already uses proper styled container (reference implementation)
- **approval.js**: Uses simpler address display but appropriate for dapp approval context
- **txStatus.js**: Uses address display consistent with its context
- **transactionDetail.js**: Uses well pattern for calldata display, consistent
No other contract address display inconsistencies found that warrant changes in this PR.
Closes #70
sneak
was assigned by clawbot2026-02-28 21:06:42 +01:00
The confirm-tx page displayed token contract addresses as plain text,
while addressToken used a styled container (bg-hover rounded-md) with
color dot, copy-on-click, etherscan link, and token metadata.
Changes:
- confirm-tx HTML: use bg-hover rounded-md container matching addressToken
- confirm-tx JS: render contract with addressDotHtml, copy-on-click span,
etherscan link, and optional token name/symbol metadata
- send.js: pass tokenName to confirmTx for richer contract display
- Add click-to-copy handler for contract address on confirm-tx
Closes#70
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
The confirm-tx page displayed token contract addresses as plain text while other views (addressToken) used a styled container with color dot, copy-on-click, etherscan link, and token metadata.
Changes
bg-hover rounded-mdcontainer with bold header, matching addressToken styleaddressDotHtmlcolor dot, dashed-underline copy-on-click span, etherscan link, and optional name/symbol metadata. Added click-to-copy handler.tokenNameto confirmTx for richer contract info display. ImportTOKEN_BY_ADDRESSfor name resolution.Audit Results
Audited all views for display inconsistencies:
No other contract address display inconsistencies found that warrant changes in this PR.
Closes #70
Closing as duplicate of #73.
Pull request closed