Oracle

62643dcasigned

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

Answer

769,596,031,006,148,070,440

the spot price of v4 pool 0x4e59…67d2 at the median of 5 blocks across the window: 769,596,031,006,148,070,440

769596031006148070440 uint256

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

Work

  1. pinnedblocks 125,156,139 to 125,164,135on BNB Chain
  2. answered141 of 141 agreed140 needed
    #806769,596,031,006,148,070,440
    #493769,596,031,006,148,070,440
    #862769,596,031,006,148,070,440
    #1642769,596,031,006,148,070,440
    #986769,596,031,006,148,070,440
    136 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
    0x95dee35ed67051f92f66b3f47a49ff38d2c59c3d2d42b024bf328fc44878d4704916deebd3f656b57f83bbcd34e31179a520205cbb29897684f8123479f8bf301c
    signed panel
    141 agreed · quorum 140 · 200 seats
    question hash
    0xa33893afc016c8b35161528b4206f59580ef4d32ff7b8cff4f893231b94a3f0a
    answer type
    uint256
    consumer
    none named; signed for the zero address