Query editor
-- Independent check: ZEC credited to the distributor in txs that also touch ZCAT.-- Dune parameters: HcRLc9VDgjLeK154xDawfb1dmVJ98DoSqcwTHGqiDeJR A7bdiYdS5GjqGFtxf17ppRHtDKPkkRqbKtR27dxvQXaS 5KXDF6QnqhBj72hDtJNkkpFaQVUfbFXNybMsp3DiK6tD 2026-08-30---- Payouts leaving the distributor name no reward coin. Credits arriving do: a-- Jupiter swap carries the coin being sold, and a Lockr fee claim carries the-- coin whose withheld tax was harvested. Summing inbound ZEC on those-- transactions never looks at holder sets or the 0.5 threshold, so a total near-- the payout-side figure is independent confirmation.---- This will undercount credits that land in a tx with no ZCAT transfer (a-- two-hop swap, an internal move). It will overcount a tx that both funds the-- pot and pays it out. Treat the result as a band, not a point estimate.WITH credits AS (SELECTtx_id,amount_display AS amount,block_timeFROM tokens_solana.transfersWHERE token_mint_address = 'A7bdiYdS5GjqGFtxf17ppRHtDKPkkRqbKtR27dxvQXaS'AND to_owner = '5KXDF6QnqhBj72hDtJNkkpFaQVUfbFXNybMsp3DiK6tD'AND action = 'transfer'AND block_time >= TIMESTAMP '2026-08-30'),reward_txs AS (SELECT DISTINCT tx_idFROM tokens_solana.transfersWHERE token_mint_address = 'HcRLc9VDgjLeK154xDawfb1dmVJ98DoSqcwTHGqiDeJR'AND block_time >= TIMESTAMP '2026-08-30')SELECTcount(*) AS credit_txs,count(DISTINCT c.tx_id) AS distinct_txs,sum(c.amount) AS quote_inFROM credits cJOIN reward_txs r ON r.tx_id = c.tx_id