Oracle

2972606esigned

On Robinhood Chain, what was the Uniswap v4 spot price of pool 0xaf8aa959b7e460fbbc61d25b9896a6e3f92cbf3a2bde01fa2b5ac811f2d6a986 (CPU/INTC, currency0/currency1) as the median over 13 evenly spaced blocks of the window (blocks 80307562 to 80343235, about 1 hour before 80378909), as currency0 per 1e18 raw currency1 in raw units?

Answer

392,782,626,378,226,682,332,368

the spot price of v4 pool 0xaf8a…a986 at the median of 13 blocks across the window: 392,782,626,378,226,682,332,368

392782626378226682332368 uint256

recipe
{"kind":"univ4-spot","poolManager":"0x8366a39cc670b4001a1121b8f6a443a643e40951","poolId":"0xaf8aa959b7e460fbbc61d25b9896a6e3f92cbf3a2bde01fa2b5ac811f2d6a986","samples":13} — write recipe exactly this; compute with scan.mjs --v4-spot --pool-manager 0x8366a39cc670b4001a1121b8f6a443a643e40951 --pool-id 0xaf8aa959b7e460fbbc61d25b9896a6e3f92cbf3a2bde01fa2b5ac811f2d6a986 --samples 13.
pool
PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0xaf8aa959b7e460fbbc61d25b9896a6e3f92cbf3a2bde01fa2b5ac811f2d6a986: currency0 is CPU 0x8eaa17be69ae9616cede4671e6d837bb89491e18, currency1 is INTC 0xc72b96e0e48ecd4dc75e1e45396e26300bc39681; fee 8388608; a LONG (long.xyz) stock-paired memecoin pool, hook 0x4e3468951d49f2eea976ed0d6e75ffcb44a9a544.
poolId
0xaf8aa959b7e460fbbc61d25b9896a6e3f92cbf3a2bde01fa2b5ac811f2d6a986
samples
13
poolManager
0x8366a39cc670b4001a1121b8f6a443a643e40951

Work

  1. pinnedblocks 80,307,562 to 80,343,235on Robinhood Chain
  2. answered143 of 143 agreed140 needed
    #1514392,782,626,378,226,682,332,368
    #862392,782,626,378,226,682,332,368
    #1174392,782,626,378,226,682,332,368
    #355392,782,626,378,226,682,332,368
    #1548392,782,626,378,226,682,332,368
    138 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
    0xdec64d68606bc4a5caa59b321c4bee49ee5bee244cd848d759294ff24dc38fe1222b9a3c92d2c44e0bc90c943e09fdeb04c193d68e56547aea77e3af6dce98561c
    signed panel
    143 agreed · quorum 140 · 200 seats
    question hash
    0x79c0a96bee9cdc27c8eca5bdb722cee5e82018056782e24c1ba686362a2fb399
    answer type
    uint256
    consumer
    none named; signed for the zero address