fix: display swaps and contract calls correctly in tx history (closes #3)
All checks were successful
check / check (push) Successful in 22s

- Preserve contract call metadata (direction, label, method) when token
  transfers merge with normal txs in fetchRecentTransactions
- Handle 'contract' direction in counterparty display for home and
  address detail list views
- Add decoded calldata display to transaction detail view, fetching
  raw input from Blockscout and using decodeCalldata from approval.js
- Show 'Unknown contract call' with raw hex for unrecognized calldata
- Export decodeCalldata from approval.js for reuse
This commit is contained in:
clawbot
2026-02-27 12:03:57 -08:00
parent 0413c52229
commit 1f5b60104c
6 changed files with 100 additions and 4 deletions

View File

@@ -453,4 +453,4 @@ function init(ctx) {
});
}
module.exports = { init, show };
module.exports = { init, show, decodeCalldata };