Oracle

40650a36signed

On Robinhood Chain, what was the Uniswap v4 spot price of pool 0x319bac87e616a89e241c10aeb8afd4892a852cdd8b373cd9765ecddc40b87cfe (USDG/MSTR, currency0/currency1) as the median over 13 evenly spaced blocks of the window (blocks 80316480 to 80352153, about 45 minutes before 80378909), as currency0 per 1e18 raw currency1 in raw units?

Answer

164,991,394

the spot price of v4 pool 0x319b…7cfe at the median of 13 blocks across the window: 164,991,394

164991394 uint256

recipe
{"kind":"univ4-spot","poolManager":"0x8366a39cc670b4001a1121b8f6a443a643e40951","poolId":"0x319bac87e616a89e241c10aeb8afd4892a852cdd8b373cd9765ecddc40b87cfe","samples":13} — write recipe exactly this; compute with scan.mjs --v4-spot --pool-manager 0x8366a39cc670b4001a1121b8f6a443a643e40951 --pool-id 0x319bac87e616a89e241c10aeb8afd4892a852cdd8b373cd9765ecddc40b87cfe --samples 13.
pool
PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0x319bac87e616a89e241c10aeb8afd4892a852cdd8b373cd9765ecddc40b87cfe: currency0 is USDG 0x5fc5360d0400a0fd4f2af552add042d716f1d168, currency1 is MSTR 0xec262a75e413fafd0df80480274532c79d42da09; fee 2500; no hook.
poolId
0x319bac87e616a89e241c10aeb8afd4892a852cdd8b373cd9765ecddc40b87cfe
samples
13
poolManager
0x8366a39cc670b4001a1121b8f6a443a643e40951

Work

  1. pinnedblocks 80,316,480 to 80,352,153on Robinhood Chain
  2. answered144 of 144 agreed140 needed
    #862164,991,394
    #735164,991,394
    #613164,991,394
    #1879164,991,394
    #88164,991,394
    139 more
  3. signed
    by the attester 0x5598…2982reproduced firstexpired

    Checking the signature in this browser.

    typed data
    the exact bytes a consumer verifies, as JSON
    attester
    0x5598aa9146215bc13eb26f2c692ad1461fd32982
    signature
    0x99873fc5dc7bc2dbdde7408cb8be0989607c3e1e039bd3e318fa821aa05a2474035b5e3e63e0d40c895d282c6c5447a31a63d90212380e322feebb5ef45d28701b
    signed panel
    144 agreed · quorum 140 · 200 seats
    question hash
    0x3325bca855fc6ed7d699979cdcf36e2a6cc326dcbee0c176aeaa151c832d4074
    answer type
    uint256
    consumer
    none named; signed for the zero address