Query editor
-- SPYdw, hourly (latest hour first, so counters read row 1), from the opening of the SPYdw/USDC pool.-- SPYdw price: SPYdw/USDC Uniswap v4 pool on Ethereum (0.05%, pool id 0x5766...d9be), last swap of the hour;-- the pool's opening price before the first swap. SPYdw has 18 decimals, USDC 6.-- SPY: Robinhood's tokenized SPY, hourly price from prices.hour. Tokenized SPY trades outside exchange-- hours, so it can differ slightly from SPY's exchange price.-- Change columns are measured from the hour the pool opened. Premium = SPYdw / SPY - 1.-- Supply: SPYdw minted minus burned.-- Floor value: Accountable credit vault shares held by the SPYdw contract x that vault's sharePrice().-- NAV: the operator's last NAV posted onchain (NavPosted, NavForced, or the new NAV of a Split), USDC per SPYdw.with hours as (select h from unnest(sequence(timestamp '2026-11-03 19:00:00', cast(date_trunc('hour', now()) as timestamp), interval '1' hour)) as t(h)),pool_px as (select cast(date_trunc('hour', block_time) as timestamp) as h,max_by(power(cast(bytearray_to_uint256(bytearray_substring(data,case when topic0 = 0x40e9cecb9f5f1f1c5b9c97dec2917b7ee92e57ba5563708daca94dd84ad7112f then 65 else 97 end, 32)) as double)/ power(2, 96), 2) * 1e12, block_number * 100000 + index) as pxfrom ethereum.logswhere contract_address = 0x000000000004444c5dc75cb358380d2e3de08a90and topic0 in (0x40e9cecb9f5f1f1c5b9c97dec2917b7ee92e57ba5563708daca94dd84ad7112f, -- Swap0xdd466e674ea557f56295e2d0218a125ea4b4f0f6f3307b95f85e6110838d6438) -- Initializeand topic1 = 0x5766db255032bca5d40222bf79278c05be827d8a37b316b6ec8042f34788d9beand block_date >= date '2026-11-06'group by 1),spy as (select cast(timestamp as timestamp) as h, max(price) as pxfrom prices.hourwhere blockchain = 'robinhood'and contract_address = 0x117cc2133c37b721f49de2a7a74833232b3b4c0cand timestamp >= timestamp '2026-11-03 00:00:00'group by 1),supply_hourly as (select cast(date_trunc('hour', block_time) as timestamp) as h,sum(case when bytearray_substring(topic1, 13, 20) = 0x0000000000000000000000000000000000000000 then 1when bytearray_substring(topic2, 13, 20) = 0x0000000000000000000000000000000000000000 then -1else 0 end * cast(bytearray_to_uint256(data) as double)) / 1e18 as deltafrom ethereum.logswhere contract_address = 0x88e570f58881d8b200ca58b5a050fb5c9bac8deband topic0 = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efand block_date >= date '2026-11-03'group by 1),collateral_hourly as (select cast(date_trunc('hour', block_time) as timestamp) as h,sum(case when bytearray_substring(topic2, 13, 20) = 0x88e570f58881d8b200ca58b5a050fb5c9bac8deb then 1 else -1 end* cast(bytearray_to_uint256(data) as double)) / 1e6 as deltafrom ethereum.logswhere contract_address = 0x2b5895b716311a1eac8f93fb88c56af9ec8c1a69and topic0 = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efand block_date >= date '2026-11-03'and (bytearray_substring(topic1, 13, 20) = 0x88e570f58881d8b200ca58b5a050fb5c9bac8debor bytearray_substring(topic2, 13, 20) = 0x88e570f58881d8b200ca58b5a050fb5c9bac8deb)group by 1),acc_px as (select cast(date_trunc('hour', call_block_time) as timestamp) as h,max_by(cast(output_price as double) / 1e36, call_block_number) as pxfrom accountable_v1_1_ethereum.accountableopenterm_call_shareprice