Oracle
On Robinhood Chain, what was the Uniswap v4 spot price of pool 0x319bac87e616a89e241c10aeb8afd4892a852cdd8b373cd9765ecddc40b87cfe (USDG/MSTR, currency0/currency1) as the median over 5 evenly spaced blocks of the window (blocks 80236214 to 80271887, about 3 hours before 80378909), as currency0 per 1e18 raw currency1 in raw units?
Answer
163,481,358
the spot price of v4 pool 0x319b…7cfe at the median of 5 blocks across the window: 163,481,358
163481358 uint256
- recipe
- {"kind":"univ4-spot","poolManager":"0x8366a39cc670b4001a1121b8f6a443a643e40951","poolId":"0x319bac87e616a89e241c10aeb8afd4892a852cdd8b373cd9765ecddc40b87cfe","samples":5} — write recipe exactly this; compute with scan.mjs --v4-spot --pool-manager 0x8366a39cc670b4001a1121b8f6a443a643e40951 --pool-id 0x319bac87e616a89e241c10aeb8afd4892a852cdd8b373cd9765ecddc40b87cfe --samples 5.
- pool
- PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0x319bac87e616a89e241c10aeb8afd4892a852cdd8b373cd9765ecddc40b87cfe: currency0 is USDG 0x5fc5360d0400a0fd4f2af552add042d716f1d168, currency1 is MSTR 0xec262a75e413fafd0df80480274532c79d42da09; fee 2500; no hook.
- poolId
- 0x319bac87e616a89e241c10aeb8afd4892a852cdd8b373cd9765ecddc40b87cfe
- samples
- 5
- poolManager
- 0x8366a39cc670b4001a1121b8f6a443a643e40951
Work
- pinnedblocks 80,236,214 to 80,271,887on Robinhood Chain
- answered140 of 140 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
- 0x41673b6878aa5a629fb93b0568e846a4cac7c8035470e2bd7a9da86c0244f7152c3a22261c77a1c3b108a4d3364aa6e76cee9746b544500b9b3148f1a42e627d1b
- signed panel
- 140 agreed · quorum 140 · 200 seats
- question hash
- 0x3a008d3cbb1797747b7358871196460853aaab54bca107d149f2190640343764
- answer type
- uint256
- consumer
- none named; signed for the zero address