Skip to content

fix(207): inflow-only filter for fee detection - #1921

Merged
Flotapponnier merged 2 commits into
devfrom
fix/bench-207-consistency
Aug 13, 2026
Merged

fix(207): inflow-only filter for fee detection#1921
Flotapponnier merged 2 commits into
devfrom
fix/bench-207-consistency

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

Summary

  • Add post_balance > pre_balance filter on SOL inflows and post_token_balance > pre_token_balance on USDC/WSOL — mirrors bench 203 exactly
  • Fixes pump.fun 108M → 9.8M (was counting every tx where fee wallet appeared as any account)
  • Uses R4rNJHaffSUotNmqSKNEfDcJE8A7zJUkaoM5Jkd7cYX for Fomo (owner wallet, correct for token_balance_owner USDC matching)

VPS already running corrected query 8317516. This commit brings the repo in sync.

🤖 Generated with Claude Code

COUNT(DISTINCT tx_id) where fee wallet actually received SOL/USDC/WSOL.
Removes false positives from txs where fee wallet appears as program/account
without balance change (was: pump.fun 108M, now: 9.8M).
@Flotapponnier
Flotapponnier merged commit a561811 into devAug 13, 2026
1 check failed
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@Flotapponnier