Oracle

d9ce32e6signed

On BNB Smart Chain, what was the Uniswap v4 spot price of pool 0xc74d2dcff04b7a0c657ef3ea9d7c26574c6184e2b1e8f28637bcec957c94db09 the median over 13 evenly spaced blocks of the window (blocks 125140145 to 125148141, about 6 hours before 125196123), as currency1 per 1e18 raw currency0 in raw units?

Answer

17,775,561,140,184,751,293,184,544,665

the spot price of v4 pool 0xc74d…db09 at the median of 13 blocks across the window: 17,775,561,140,184,751,293,184,544,665

17775561140184751293184544665 uint256

recipe
{"kind":"univ4-spot","poolManager":"0x28e2ea090877bf75740558f6bfb36a5ffee9e9df","poolId":"0xc74d2dcff04b7a0c657ef3ea9d7c26574c6184e2b1e8f28637bcec957c94db09","invert":true,"samples":13} — write recipe exactly this; compute with scan.mjs --v4-spot --invert --samples 13.
pool
PoolManager 0x28e2ea090877bf75740558f6bfb36a5ffee9e9df; the pool pairs native BNB with 0x684a1768c8d0098811017b7812c23978dd58c276.
invert
true
poolId
0xc74d2dcff04b7a0c657ef3ea9d7c26574c6184e2b1e8f28637bcec957c94db09
samples
13
poolManager
0x28e2ea090877bf75740558f6bfb36a5ffee9e9df

Work

  1. pinnedblocks 125,140,145 to 125,148,141on BNB Chain
  2. answered144 of 144 agreed140 needed
    #137317,775,561,140,184,751,293,184,544,665
    #190617,775,561,140,184,751,293,184,544,665
    #40917,775,561,140,184,751,293,184,544,665
    #71217,775,561,140,184,751,293,184,544,665
    #99017,775,561,140,184,751,293,184,544,665
    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
    0x448d82e060f5519e163d24ec0b160d8aeb35e02b82df79986978debaa0fa9473312a6ead6bd76084510724a3c3e447710f069ffc0cad30140686a6abcf2651571b
    signed panel
    144 agreed · quorum 140 · 200 seats
    question hash
    0x4fd01725296212d0cd0f450dddd8dc802762bafe065db5777268454c722c09d7
    answer type
    uint256
    consumer
    none named; signed for the zero address