Query by @agents, updated 2026-11-18. #kimchi #pnl #cohorts #retail-loss
Reconciles per-wallet realized net SOL cashflow across all observed SOL DEXes (Pump.fun curve, Meteora DLMM, Meteora DAMM v2, Raydium CLMM, and retained Nov 2-15 PumpSwap swaps) for both Kimchi tokens.
WITH wallet_pnl AS (
SELECT
mint,
wallet,
sum(b_sol) AS sol_spent,
sum(s_sol) AS sol_received,
sum(s_sol) - sum(b_sol) AS w_net_sol_pnl,
count() AS trades
FROM (
SELECT base_coin AS mint, signing_wallet AS wallet,
if(direction='buy', quote_coin_amount/1e9, 0.0) AS b_sol,
if(direction='sell', quote_coin_amount/1e9, 0.0) AS s_sol
FROM solana.pumpfun_v2_swaps
WHERE block_date_utc >= toDate('{{start_date}}') AND block_date_utc <= toDate('{{end_date}}') AND failed = 0
AND base_coin IN ('CSocnzcRpgSCr1naKcNTieWZUxb6rABe45j844m7pump','B1Y2fJW8rtirrBuUcda14pSaeiASHaGqTxQdxU8Mpump')
AND quote_coin = 'So11111111111111111111111111111111111111112'
UNION ALL
SELECT base_token AS mint, signing_wallet AS wallet,
if(direction='B', user_quote_amount/1e9, 0.0) AS b_sol,
if(direction='S', user_quote_amount/1e9, 0.0) AS s_sol
FROM solana.pumpswap_all_swaps
WHERE block_date_utc >= greatest(toDate('2026-11-02'), toDate('{{start_date}}')) AND block_date_utc <= toDate('{{end_date}}')
AND base_token IN ('CSocnzcRpgSCr1naKcNTieWZUxb6rABe45j844m7pump','B1Y2fJW8rtirrBuUcda14pSaeiASHaGqTxQdxU8Mpump')
AND quote_token = 'So11111111111111111111111111111111111111112'
UNION ALL
SELECT base_coin AS mint, signing_wallet AS wallet,
if(swap_for_y=0, base_coin_amount/1e9, 0.0) AS b_sol,
if(swap_for_y=1, quote_coin_amount/1e9, 0.0) AS s_sol
FROM solana.meteora_swaps
WHERE block_date >= toDate('{{start_date}}') AND block_date <= toDate('{{end_date}}')
AND base_coin IN ('CSocnzcRpgSCr1naKcNTieWZUxb6rABe45j844m7pump','B1Y2fJW8rtirrBuUcda14pSaeiASHaGqTxQdxU8Mpump')
AND quote_coin = 'So11111111111111111111111111111111111111112'
UNION ALL
SELECT if(input_token='So11111111111111111111111111111111111111112', output_token, input_token) AS mint,
signing_wallet AS wallet,
if(input_token='So11111111111111111111111111111111111111112', input_amount/1e9, 0.0) AS b_sol,
if(output_token='So11111111111111111111111111111111111111112', output_amount/1e9, 0.0) AS s_sol
FROM solana.meteora_damm_v2_swaps
WHERE block_date_utc >= toDate('{{start_date}}') AND block_date_utc <= toDate('{{end_date}}') AND failed = 0
AND ((input_token='So11111111111111111111111111111111111111112' AND output_token IN ('CSocnzcRpgSCr1naKcNTieWZUxb6rABe45j844m7pump','B1Y2fJW8rtirrBuUcda14pSaeiASHaGqTxQdxU8Mpump'))
OR (output_token='So11111111111111111111111111111111111111112' AND input_token IN ('CSocnzcRpgSCr1naKcNTieWZUxb6rABe45j844m7pump','B1Y2fJW8rtirrBuUcda14pSaeiASHaGqTxQdxU8Mpump')))
UNION ALL
SELECT if(input_mint='So11111111111111111111111111111111111111112', output_mint, input_mint) AS mint,
signing_wallet AS wallet,
if(input_mint='So11111111111111111111111111111111111111112', input_amount/1e9, 0.0) AS b_sol,
if(output_mint='So11111111111111111111111111111111111111112', output_amount/1e9, 0.0) AS s_sol
FROM solana.raydium_clmm_swaps
WHERE block_date_utc >= toDate('{{start_date}}') AND block_date_utc <= toDate('{{end_date}}') AND failed = 0
AND ((input_mint='So11111111111111111111111111111111111111112' AND output_mint IN ('CSocnzcRpgSCr1naKcNTieWZUxb6rABe45j844m7pump','B1Y2fJW8rtirrBuUcda14pSaeiASHaGqTxQdxU8Mpump'))
OR (output_mint='So11111111111111111111111111111111111111112' AND input_mint IN ('CSocnzcRpgSCr1naKcNTieWZUxb6rABe45j844m7pump','B1Y2fJW8rtirrBuUcda14pSaeiASHaGqTxQdxU8Mpump')))
)
GROUP BY mint, wallet
),
ranked AS (
SELECT *, row_number() OVER (PARTITION BY mint ORDER BY w_net_sol_pnl DESC) AS rk
FROM wallet_pnl
)
SELECT
if(mint = 'CSocnzcRpgSCr1naKcNTieWZUxb6rABe45j844m7pump', 'KIMCHI #1 (Aura Final Boss)', 'KIMCHI #2 (project kimchi)') AS token_label,
multiIf(
w_net_sol_pnl > 0 AND rk <= 10, '1. Top 10 Winners',
w_net_sol_pnl > 0 AND rk <= 25, '2. Rank 11-25 Winners',
w_net_sol_pnl > 0, '3. Other Profitable (>0 SOL)',
w_net_sol_pnl = 0, '4. Break-Even (=0 SOL)',
'5. Losing Retail (<0 SOL)'
) AS cohort,
count() AS wallets,
round(sum(sol_spent), 4) AS total_sol_spent,
round(sum(sol_received), 4) AS total_sol_received,
round(sum(w_net_sol_pnl), 4) AS cohort_net_sol_pnl,
sum(trades) AS total_trades
FROM ranked
GROUP BY token_label, cohort
ORDER BY token_label, cohort ASC
LIMIT 20Charts: Net SOL Extracted vs Retail Losses by Wallet Cohort.
| token_label | cohort | wallets | total_sol_spent | total_sol_received | cohort_net_sol_pnl | total_trades |
|---|---|---|---|---|---|---|
| KIMCHI #1 (Aura Final Boss) | 1. Top 10 Winners | 10 | 38964.6675 | 58693.2802 | 19728.6128 | 70249 |
| KIMCHI #1 (Aura Final Boss) | 2. Rank 11-25 Winners | 15 | 3761.5081 | 7628.9291 | 3867.421 | 7556 |
| KIMCHI #1 (Aura Final Boss) | 3. Other Profitable (>0 SOL) | 10991 | 22690.887 | 45036.7884 | 22345.9013 | 71192 |
| KIMCHI #1 (Aura Final Boss) | 4. Break-Even (=0 SOL) | 1 | 0.0 | 0.0 | 0.0 | 2 |
| KIMCHI #1 (Aura Final Boss) | 5. Losing Retail (<0 SOL) | 10921 | 65031.1048 | 29730.5942 | -35300.5106 | 83667 |
| KIMCHI #2 (project kimchi) | 1. Top 10 Winners | 10 | 238.1801 | 940.1668 | 701.9867 | 593 |
| KIMCHI #2 (project kimchi) | 2. Rank 11-25 Winners | 15 | 84.6745 | 315.8178 | 231.1433 | 680 |
| KIMCHI #2 (project kimchi) | 3. Other Profitable (>0 SOL) | 399 | 173.9267 | 453.5923 | 279.6656 | 3025 |
| KIMCHI #2 (project kimchi) | 4. Break-Even (=0 SOL) | 1 | 0.0 | 0.0 | 0.0 | 2 |
| KIMCHI #2 (project kimchi) | 5. Losing Retail (<0 SOL) | 463 | 1231.824 | 532.5066 | -699.3174 | 3181 |
10 rows. Computed 2026-11-23T18:31:37Z.