Commit 88ca98c
fix(feed): skip zero-amount AuctionSettled events
No-bid auction settlements (common on low-activity DAO days) emit
AuctionSettledEvent with amount "0" + zero-address owner. formatETH
renders "0.00000" as "0.00e+0 ETH" and the winner resolves to
"Unknown", producing misleading "Unknown won #N for 0.00e+0 ETH" feed
cards that appear to be spam from another DAO.
Old feed-events.ts never emitted settled events at all (every auction
rendered as AuctionCreated). Filtering zero-amount settlements keeps
real settlements with actual bids visible while removing the noisy
no-bid cards.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 0ca7c45 commit 88ca98c
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
403 | 403 | | |
404 | 404 | | |
405 | 405 | | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
406 | 414 | | |
407 | 415 | | |
408 | 416 | | |
| |||
0 commit comments