Oracle

4b2b68bbsigned

On Robinhood Chain, what was the Uniswap v4 spot price of pool 0xb81d873dfb2bb1aaf08804053f8940fd06bb30a2b5a0fafcdbcc7325544452b9 (SPCX/USDG, currency0/currency1) as the median over 13 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

6,282,316,722,858,894,636,397,669,382

the spot price of v4 pool 0xb81d…52b9 at the median of 13 blocks across the window: 6,282,316,722,858,894,636,397,669,382

6282316722858894636397669382 uint256

recipe
{"kind":"univ4-spot","poolManager":"0x8366a39cc670b4001a1121b8f6a443a643e40951","poolId":"0xb81d873dfb2bb1aaf08804053f8940fd06bb30a2b5a0fafcdbcc7325544452b9","samples":13} — write recipe exactly this; compute with scan.mjs --v4-spot --pool-manager 0x8366a39cc670b4001a1121b8f6a443a643e40951 --pool-id 0xb81d873dfb2bb1aaf08804053f8940fd06bb30a2b5a0fafcdbcc7325544452b9 --samples 13.
pool
PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0xb81d873dfb2bb1aaf08804053f8940fd06bb30a2b5a0fafcdbcc7325544452b9: currency0 is SPCX 0x4a0e65a3eccec6dbe60ae065f2e7bb85fae35eea, currency1 is USDG 0x5fc5360d0400a0fd4f2af552add042d716f1d168; fee 8388608; hook 0x5eb87f69be00df39981622fd60a8de4b7837e080.
poolId
0xb81d873dfb2bb1aaf08804053f8940fd06bb30a2b5a0fafcdbcc7325544452b9
samples
13
poolManager
0x8366a39cc670b4001a1121b8f6a443a643e40951

Work

  1. pinnedblocks 80,236,214 to 80,271,887on Robinhood Chain
  2. answered141 of 141 agreed140 needed
    #15896,282,316,722,858,894,636,397,669,382
    #1216,282,316,722,858,894,636,397,669,382
    #476,282,316,722,858,894,636,397,669,382
    #16226,282,316,722,858,894,636,397,669,382
    #10856,282,316,722,858,894,636,397,669,382
    136 more
  3. 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
    0x1592acaea0342ed08c7f55d43db338947181f766640689c48025461cafdf1eb015140e6c4a2c97535d2a34f14a2a68f576c61dcf7a32729f563e3a44ecfc0de31c
    signed panel
    141 agreed · quorum 140 · 200 seats
    question hash
    0x8515bdea7b1f96984f2f7521190cb7e8f408fe8607fd562e4a5b4118cf4f36de
    answer type
    uint256
    consumer
    none named; signed for the zero address