extension
extension copied to clipboard
Enrichment "admonitions"
The EnrichmentService
includes annotations about transaction requests and addresses. It should also include the idea of "admonitions" — annotations that the UI should show as warnings, perhaps even requiring a user to agree.
Some example admonitions.
- [ ] If a user is sending funds to an address that has no ETH balance and a
0
nonce, this is probably a mistake. - [ ] If a user is interacting with a contract that no user has ever interacted with before, be extra cautious.
- [ ] If a user is sending funds to any contract directly — but especially an ERC-20 or NFT contract address — this is a mistake.
- [x] #84
- [x] #261
- [x] #262
- [ ] If a user is approving a token spend to an EOA, it's likely a scam
- [ ] #509
H/t @Shadowfiend for the name and offline discussion.