2 parents 0ca7c45 + 88ca98c commit 90ab499Copy full SHA for 90ab499
1 file changed
src/services/feed-events.ts
@@ -403,6 +403,14 @@ function transformEvent(event: SubgraphFeedEvent): FeedEvent[] {
403
404
case "AuctionSettledEvent": {
405
const e = event as SubgraphAuctionSettled;
406
+ // Skip no-bid settlements (common on low-activity DAO days).
407
+ // The subgraph emits `amount: "0"` + zero-address owner when an
408
+ // auction ends with no bidder; surfacing those as "Auction Won"
409
+ // cards renders "Unknown won for 0.00e+0 ETH" — noisy and
410
+ // misleading. Old feed never emitted settled events at all, so
411
+ // filtering preserves the less-spammy baseline while still
412
+ // showing real settled auctions with actual winners.
413
+ if (!e.amount || e.amount === "0") return [];
414
return [
415
{
416
id: `auction-settled-${e.auction.id}`,
0 commit comments