Oracle

a41d3515signed

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

Answer

29,431,224,028,225

the spot price of v4 pool 0x52f5…b517 at the median of 13 blocks across the window: 29,431,224,028,225

29431224028225 uint256

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

Work

  1. pinnedblocks 125,156,139 to 125,164,135on BNB Chain
  2. answered145 of 145 agreed140 needed
    #156929,431,224,028,225
    #78329,431,224,028,225
    #187929,431,224,028,225
    #145029,431,224,028,225
    #43429,431,224,028,225
    140 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
    0xfdeb51a6f4d5c00d5d43fd1010f0644a87fcdab4c491ea313dc8524749ad048d00b313087a661bd8a92391cd7535e8118ab8d8617160ac6f48bd866bebca25541c
    signed panel
    145 agreed · quorum 140 · 200 seats
    question hash
    0xe1419c271ea6b1a7bf1b3c5d48faf6ddaaf4971822dae89f1d77bd47c0b5bca2
    answer type
    uint256
    consumer
    none named; signed for the zero address