Token auto-discovery, tx history, balance polling, EIP-6963, UI overhaul
All checks were successful
check / check (push) Successful in 14s
All checks were successful
check / check (push) Successful in 14s
Major changes: - Fetch token balances and tx history from Blockscout API (configurable) - Remove manual token discovery (discoverTokens) in favor of Blockscout - HD address gap scanning on mnemonic import - Duplicate mnemonic detection on wallet add - EIP-6963 multi-wallet discovery + selectedAddress updates in inpage - Two-tier balance refresh: 10s while popup open, 60s background - Fix $0.00 flash before prices load (return null when no prices) - No-layout-shift: min-height on total value element - Aligned balance columns (42ch address width, consistent USD column) - All errors use flash messages instead of off-screen error divs - Settings gear in global title bar, add-wallet moved to settings pane - Settings wells with light grey background, configurable Blockscout URL - Consistent "< Back" buttons top-left on all views - Address titles (Address 1.1, 1.2, etc.) on main and detail views - Send view shows current balance of selected asset - Clickable affordance policy added to README - Shortened mnemonic backup warning - Fix broken background script constant imports
This commit is contained in:
@@ -1,6 +1,17 @@
|
||||
// Known scam/fraud addresses. Checked locally before sending.
|
||||
// This is a best-effort blocklist — it does not replace due diligence.
|
||||
// Sources: Etherscan labels, MistTrack, community reports.
|
||||
//
|
||||
// Policy: This list contains ONLY addresses involved in fraud — phishing,
|
||||
// wallet drainers, address poisoning, and similar scams. It does NOT include
|
||||
// addresses that are merely sanctioned or regulated in specific jurisdictions
|
||||
// (e.g. Tornado Cash, OFAC SDN entries). AutistMask is used internationally
|
||||
// and does not enforce jurisdiction-specific sanctions.
|
||||
//
|
||||
// Sources:
|
||||
// - Known wallet-drainer contracts identified via Etherscan labels,
|
||||
// MistTrack alerts, and community incident reports (e.g. address-
|
||||
// poisoning campaigns, phishing kit deployments).
|
||||
//
|
||||
// All addresses lowercased for comparison.
|
||||
|
||||
const SCAM_ADDRESSES = new Set([
|
||||
@@ -14,31 +25,6 @@ const SCAM_ADDRESSES = new Set([
|
||||
"0x3ee18b2214aff97000d974cf647e7c347e8fa585",
|
||||
"0x55fe002aeff02f77364de339a1292923a15844b8",
|
||||
"0x7f268357a8c2552623316e2562d90e642bb538e5",
|
||||
// Tornado Cash sanctioned addresses (OFAC)
|
||||
"0x722122df12d4e14e13ac3b6895a86e84145b6967",
|
||||
"0xdd4c48c0b24039969fc16d1cdf626eab821d3384",
|
||||
"0xd90e2f925da726b50c4ed8d0fb90ad053324f31b",
|
||||
"0xd96f2b1ab14cd8ab753fa0357fee5cd7d512c838",
|
||||
"0x4736dcf1b7a3d580672cce6e7c65cd5cc9cfbfa9",
|
||||
"0xd4b88df4d29f5cedd6857912842cff3b20c8cfa3",
|
||||
"0x910cbd523d972eb0a6f4cae4618ad62622b39dbf",
|
||||
"0xa160cdab225685da1d56aa342ad8841c3b53f291",
|
||||
"0xfd8610d20aa15b7b2e3be39b396a1bc3516c7144",
|
||||
"0xf60dd140cff0706bae9cd734ac3683731eb5bb31",
|
||||
"0x22aaa7720ddd5388a3c0a3333430953c68f1849b",
|
||||
"0xba214c1c1928a32bffe790263e38b4af9bfcd659",
|
||||
"0xb1c8094b234dce6e03f10a5b673c1d8c69739a00",
|
||||
"0x527653ea119f3e6a1f5bd18fbf4714081d7b31ce",
|
||||
"0x58e8dcc13be9780fc42e8723d8ead4cf46943df2",
|
||||
"0xd691f27f38b395864ea86cfc7253969b409c362d",
|
||||
"0xaeaac358560e11f52454d997aaff2c5731b6f8a6",
|
||||
"0x1356c899d8c9467c7f71c195612f8a395abf2f0a",
|
||||
"0xa60c772958a3ed56c1f15dd055ba37ac8e523a0d",
|
||||
"0x169ad27a470d064dede56a2d3ff727986b15d52b",
|
||||
"0x0836222f2b2b24a3f36f98668ed8f0b38d1a872f",
|
||||
"0x178169b423a011fff22b9e3f3abea13414ddd0f1",
|
||||
"0x610b717796ad172b316957a19699d4b58edca1e0",
|
||||
"0xbb93e510bbcd0b7beb5a853875f9ec60275cf498",
|
||||
]);
|
||||
|
||||
function isScamAddress(address) {
|
||||
|
||||
Reference in New Issue
Block a user