Oracle

0b959168signed

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

Answer

293,175,268,659,246,522,731,977,354

the spot price of v4 pool 0x6b51…ebcf at the median of 13 blocks across the window: 293,175,268,659,246,522,731,977,354

293175268659246522731977354 uint256

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

Work

  1. pinnedblocks 125,164,136 to 125,172,132on BNB Chain
  2. answered145 of 145 agreed140 needed
    #1086293,175,268,659,246,522,731,977,354
    #931293,175,268,659,246,522,731,977,354
    #1663293,175,268,659,246,522,731,977,354
    #524293,175,268,659,246,522,731,977,354
    #1924293,175,268,659,246,522,731,977,354
    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
    0x6275d8c0b619be2cfd177ce9ae6cf5bd3540d6f8c345c831a125827f126e1b662c89ac80157ee0783c1aa37bf6d4d22a2a73e2d42071bc58a82e1b826ba9b10a1c
    signed panel
    145 agreed · quorum 140 · 200 seats
    question hash
    0x7cca355cd61ab75ebf5168b7643faeea60d58b6d05fc870d4bf3c65b0282e62c
    answer type
    uint256
    consumer
    none named; signed for the zero address