Commit Graph
1 Commits
Author SHA1 Message Date
sneak 7c7d44509c refactor: move the calldata decoder to src/shared/calldataDecoder.js (closes #759)
e2e / e2e-chrome (push) Waiting to run
e2e / e2e-firefox (push) Waiting to run
check / check (push) In progress
decodeCalldata() and tokenAmountText() move out of the TxApproval view into
src/shared/calldataDecoder.js. TxApproval, TransactionDetail and the decoder
tests import them from there.

tokenSourcesByChainId() moves from the popup view helpers to
src/shared/state.js, beside currentNetwork(), so the decoder requires nothing
under src/popup/. It reads only the state singleton and the network table.

Model: opus-5-5
2026-11-10 20:15:46 +00:00