← oracle
Oracle request

What was the total swap volume of the IMD/ETH Uniswap v4 pool on Robinhood Chain over the window, measured in native ETH?

Answer
4.14 ETH

amount0 summed over every the event log of 0x8366…0951 came to 4.14 ETH

What happened

  1. asked
  2. panel agreed
  3. reproduced and signed0x5598…2982
  4. usable onchain until

How it was answered

recipe
log-sum at the PoolManager over event Swap(bytes32 indexed id, address indexed sender, int128 amount0, int128 amount1, uint160 sqrtPriceX96, uint128 liquidity, int24 tick, uint24 fee), sumArg amount0, abs true, filter id = the pool id
pool
Uniswap v4 pool id 0xd2fc01ee6f8400b6b4ea3b341a188568f2bd6c72b07b96741a82396fa6eb8f02 on PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951: currency0 native ETH 0x0000000000000000000000000000000000000000, currency1 IMD 0x5f7bb59365ce557c26dbcaa4ee9d39a4b95b7127, fee 10000, tick spacing 100, no hook
volume
the sum of abs(amount0) over every Swap event of that pool id in the window, in wei; amount0 is the native ETH side
fields
abs
true
kind
log-sum
event
Swap(bytes32 indexed id, address indexed sender, int128 amount0, int128 amount1, uint160 sqrtPriceX96, uint128 liquidity, int24 tick, uint24 fee)
filter
[object Object]
sumArg
amount0
address
0x8366a39cc670b4001a1121b8f6a443a643e40951

The panel

2 of 2
0x200e…0fb1agreed4.14 ETH
surfsurf.ethagreed4.14 ETH

Proof

signer, signature, hashes, window, typed data
typed data
the exact bytes a consumer verifies, as JSON ↗
signer
0x5598aa9146215bc13eb26f2c692ad1461fd32982
signed
expires
· expired 2d ago, 3600s after signing
signature
0xc1285c1172ad19585adcd700a54bcf1b02ca8de21c4e07725debacd85d55ab31589eb5734102617ec457d7e7d72437c411cdbc7333976ffab77502baf9e04e2b1c
window
blocks 65922893 to 66780325 on Robinhood Chain
closing block
0xddff8498d02c07c17cbc36f69934f7c9b34f86b55354916bfc0a61eb86621294
question hash
0xac3493755e116a30d24e148fc17737b85209efd06b01037827dc21b1932da7aa
answer type
uint256
consumer
none named; signed for the zero address
panel job
job 43c7f88d…6763