Oracle

d893d43bsigned

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

Answer

1,620,120,636,740,763,203

the spot price of v4 pool 0x4c86…5754 at the median of 9 blocks across the window: 1,620,120,636,740,763,203

1620120636740763203 uint256

recipe
{"kind":"univ4-spot","poolManager":"0x8366a39cc670b4001a1121b8f6a443a643e40951","poolId":"0x4c862e5846659b086fe73896bbb9058513417e4e6938a1be93aeb7a768fa5754","invert":true,"samples":9} — write recipe exactly this; compute with scan.mjs --v4-spot --pool-manager 0x8366a39cc670b4001a1121b8f6a443a643e40951 --pool-id 0x4c862e5846659b086fe73896bbb9058513417e4e6938a1be93aeb7a768fa5754 --invert --samples 9.
pool
PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0x4c862e5846659b086fe73896bbb9058513417e4e6938a1be93aeb7a768fa5754: currency0 is SPY 0x117cc2133c37b721f49de2a7a74833232b3b4c0c, currency1 is TSM 0x58ffe4a942d3885baa22d7520691f611ef09e7aa; fee 500; no hook.
invert
true
poolId
0x4c862e5846659b086fe73896bbb9058513417e4e6938a1be93aeb7a768fa5754
samples
9
poolManager
0x8366a39cc670b4001a1121b8f6a443a643e40951

Work

  1. pinnedblocks 80,307,562 to 80,343,235on Robinhood Chain
  2. answered141 of 141 agreed140 needed
    #401,620,120,636,740,763,203
    #13761,620,120,636,740,763,203
    #3681,620,120,636,740,763,203
    #4701,620,120,636,740,763,203
    #18301,620,120,636,740,763,203
    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
    0x2eb9a01ffb3607249febd5a168c5d94ac5c4a29bb312d47d8e5189a3b6021b0d2b5e0e46a3a54a11abe46313a15c822b6dd8bb3008c6743a3f5ce03863818a441c
    signed panel
    141 agreed · quorum 140 · 200 seats
    question hash
    0xdbe77f38cfa69f2ddf9e79804606b1a7beef2b890f9517023c4b7ada35a30a3b
    answer type
    uint256
    consumer
    none named; signed for the zero address