Oracle

eee1f26esigned

On BNB Smart Chain, what was the Uniswap v4 spot price of pool 0xeca1948e7998babc1f56a0d3b87fc0bc5ca25e73b54637d55fe1d01ea7bcce15 the median over 5 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

958,721,802,959,520

the spot price of v4 pool 0xeca1…ce15 at the median of 5 blocks across the window: 958,721,802,959,520

958721802959520 uint256

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

Work

  1. pinnedblocks 125,140,145 to 125,148,141on BNB Chain
  2. answered140 of 140 agreed140 needed
    #158958,721,802,959,520
    #709958,721,802,959,520
    #970958,721,802,959,520
    #1536958,721,802,959,520
    #197958,721,802,959,520
    135 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
    0xa4f00e18ea7d897c82610c0bde2ef2759c543810a9c96025659b3c42473bc7581cf61d08e2f3e52ee5ebda42bb5cbd1aee3531d51f63550f74dbb8bdde55138a1b
    signed panel
    140 agreed · quorum 140 · 200 seats
    question hash
    0xbcf70aaca0978fff4d6f0026d8c59b08894e56b635ada12d8c8650d2fd9e7fd2
    answer type
    uint256
    consumer
    none named; signed for the zero address