Oracle

a8318e34signed

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

Answer

219,850,253,238,389,480

the spot price of v4 pool 0xf6c0…9357 at the median of 13 blocks across the window: 219,850,253,238,389,480

219850253238389480 uint256

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

Work

  1. pinnedblocks 125,140,145 to 125,148,141on BNB Chain
  2. answered146 of 146 agreed140 needed
    #368219,850,253,238,389,480
    #1616219,850,253,238,389,480
    #827219,850,253,238,389,480
    #1818219,850,253,238,389,480
    #1649219,850,253,238,389,480
    141 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
    0xffe687121925591ea18089515bf96e75b6418163204d6e264f38f9325423ed65636582badb74c1043c839ff396ca477ca35199f80bbc1dbc7f36203da00a63b41c
    signed panel
    146 agreed · quorum 140 · 200 seats
    question hash
    0x546a2fa1ed31db3e2720ffee8fc2574e4f1447799dfe0af9f82a739182dfef2f
    answer type
    uint256
    consumer
    none named; signed for the zero address