Query editor
WITH allocation_list AS (SELECTwalletaddress as wallet,round / 1e6 as allocationFROM dune.w4vy.dataset_outputwithallo),-- Get DBR token claims with correct decimal conversiondbr_claims AS (SELECTt.to_owner as wallet,t.tx_id,t.block_time,t.amount / 1e6 as dbr_received, -- Correct: 6 decimalst.from_owner as source_addressFROM tokens_solana.transfers tINNER JOIN allocation_list al ON t.to_owner = al.walletWHERE t.token_mint_address = 'DBRiDgJAMsM95moTzJs7M9LnkGErpbv9v6CUR1DXnUu5'AND t.block_time >= TIMESTAMP '2025-11-19 00:00:00'-- AND t.block_time <= TIMESTAMP '2025-12-19 12:00:00'AND t.amount > 0)-- Show each claim transaction with accurate amountsSELECTal.wallet,al.allocation as expected_allocation,dc.dbr_received as actual_dbr_received,dc.source_address,dc.tx_id,dc.block_timeFROM allocation_list alLEFT JOIN dbr_claims dc ON al.wallet = dc.walletWHERE al.allocation <= 50000AND al.allocation > 0ORDER BY al.wallet, dc.block_time ASC;