Oracle

9a906979signed

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

Answer

109,882,168,630,545,691,718

the spot price of v4 pool 0xc197…b59f at the median of 13 blocks across the window: 109,882,168,630,545,691,718

109882168630545691718 uint256

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

Work

  1. pinnedblocks 125,180,130 to 125,188,126on BNB Chain
  2. answered144 of 144 agreed140 needed
    #954109,882,168,630,545,691,718
    #1086109,882,168,630,545,691,718
    #1356109,882,168,630,545,691,718
    #1506109,882,168,630,545,691,718
    #1663109,882,168,630,545,691,718
    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
    0x740b071aa54f707b4481523355e66222f04138b0709e374a3a9d74433184b8a86a12f3aa1ef905f14a185274f4e626516b6f08bcec8d1d1243e27bac231410e91b
    signed panel
    144 agreed · quorum 140 · 200 seats
    question hash
    0x9c912f408ee98a4af53bec265f52cc3b58c525b2b8823a9d8812e301ae5e5ff1
    answer type
    uint256
    consumer
    none named; signed for the zero address