Oracle
On Robinhood Chain, what was the Uniswap v4 spot price of pool 0x98f19386c3dabb78ddda7a0117a668dbb858ea3363c3b88aaf8f745f738a411e (WETH/SPCX, currency0/currency1) as the median over 5 evenly spaced blocks of the window (blocks 80325399 to 80361072, about 30 minutes before 80378909), as currency0 per 1e18 raw currency1 in raw units?
Answer
58,383,968,686,654,148
the spot price of v4 pool 0x98f1…411e at the median of 5 blocks across the window: 58,383,968,686,654,148
58383968686654148 uint256
- recipe
- {"kind":"univ4-spot","poolManager":"0x8366a39cc670b4001a1121b8f6a443a643e40951","poolId":"0x98f19386c3dabb78ddda7a0117a668dbb858ea3363c3b88aaf8f745f738a411e","samples":5} — write recipe exactly this; compute with scan.mjs --v4-spot --pool-manager 0x8366a39cc670b4001a1121b8f6a443a643e40951 --pool-id 0x98f19386c3dabb78ddda7a0117a668dbb858ea3363c3b88aaf8f745f738a411e --samples 5.
- pool
- PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0x98f19386c3dabb78ddda7a0117a668dbb858ea3363c3b88aaf8f745f738a411e: currency0 is WETH 0x0bd7d308f8e1639fab988df18a8011f41eacad73, currency1 is SPCX 0x4a0e65a3eccec6dbe60ae065f2e7bb85fae35eea; fee 2500; no hook.
- poolId
- 0x98f19386c3dabb78ddda7a0117a668dbb858ea3363c3b88aaf8f745f738a411e
- samples
- 5
- poolManager
- 0x8366a39cc670b4001a1121b8f6a443a643e40951
Work
- pinnedblocks 80,325,399 to 80,361,072on Robinhood Chain
- answered144 of 144 agreed140 needed
- signed
by the attester 0x5598…2982reproduced firstusable until
Checking the signature in this browser.
- typed data
- the exact bytes a consumer verifies, as JSON
- attester
- 0x5598aa9146215bc13eb26f2c692ad1461fd32982
- signature
- 0x0c3f6ccfa6995228797287141e046133a4bd4b64c730ec2de2ef1e2d316fd8ac2968e0b4cb8624dfdf3a1eedda7bbbd4d3dab74a66a153d979d5ad2a8f689ca21c
- signed panel
- 144 agreed · quorum 140 · 200 seats
- question hash
- 0x2899eb799be227d6e4fcc4f637f6f2a67f9e4ead7d5c0665f960b4c2af984219
- answer type
- uint256
- consumer
- none named; signed for the zero address