Query editor
-- Row-level paid-claim evidence for the independent July 2026 clean-room audit.-- Direct sources only: decoded MoodyMadnessAssets tables and canonical tokens.transfers.WITHpaid_calls AS (SELECTcall_tx_hash,call_tx_index,call_block_time,array_join(transform(call_trace_address, x -> CAST(x AS varchar)), '.') AS call_path,concat('0x', lower(to_hex(call_tx_hash)), ':', array_join(transform(call_trace_address, x -> CAST(x AS varchar)), '.')) AS call_id,call_tx_from,_receiver AS receiver,_tokenId AS token_id,_quantity AS quantity,CASE WHEN _currency = 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeTHEN 0x000000000000000000000000000000000000800aELSE _currency END AS transfer_currency,_pricePerToken AS price_per_token_raw,_pricePerToken * _quantity AS expected_amount_rawFROM moodymadness_abstract.moodymadnessassets_call_claimWHERE contract_address = 0x35ffe9d966e35bd1b0e79f0d91e438701ea1c644AND call_block_date >= DATE '2026-07-01'AND call_block_date < DATE '2026-08-01'AND call_block_time >= TIMESTAMP '2026-07-01 00:00:00'AND call_block_time < TIMESTAMP '2026-08-01 00:00:00'AND call_successAND _pricePerToken * _quantity > UINT256 '0'),ranked_calls AS (SELECT*,row_number() OVER (PARTITION BY call_tx_hash, receiver, token_id, quantityORDER BY call_path, call_tx_index) AS tuple_ordinal,row_number() OVER (PARTITION BY call_tx_hash, transfer_currency, expected_amount_rawORDER BY call_path, call_tx_index) AS payment_ordinal,count(*) OVER (PARTITION BY call_tx_hash) AS paid_claims_in_transaction,count(*) OVER (PARTITION BY call_id) AS duplicate_call_identity_countFROM paid_calls),ranked_events AS (SELECTevt_tx_hash,evt_index,claimer,receiver,tokenId AS token_id,quantityClaimed AS quantity,row_number() OVER (PARTITION BY evt_tx_hash, receiver, tokenId, quantityClaimedORDER BY evt_index) AS tuple_ordinalFROM moodymadness_abstract.moodymadnessassets_evt_tokensclaimedWHERE contract_address = 0x35ffe9d966e35bd1b0e79f0d91e438701ea1c644AND evt_block_date >= DATE '2026-07-01'AND evt_block_date < DATE '2026-08-01'