Oracle

3054eed4signed

On BNB Smart Chain, what was the Uniswap v4 spot price of pool 0x3e476dae1d08218428f96d8ffb1b29131a6f890898e8ac6655628a1b75b80a30 the median over 5 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,860,531,504,459,779,140

the spot price of v4 pool 0x3e47…0a30 at the median of 5 blocks across the window: 109,860,531,504,459,779,140

109860531504459779140 uint256

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

Work

  1. pinnedblocks 125,180,130 to 125,188,126on BNB Chain
  2. answered140 of 140 agreed140 needed
    #705109,860,531,504,459,779,140
    #1513109,860,531,504,459,779,140
    #495109,860,531,504,459,779,140
    #503109,860,531,504,459,779,140
    #297109,860,531,504,459,779,140
    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
    0x9b18997ca52f5889cd4c6027b50a299f142c0a6d1132be01feb22034793cc42f51b1588886ac2496656bf98a4635d133d9ee0a0c788a5bcfa25ddc14f0d7ad531c
    signed panel
    140 agreed · quorum 140 · 200 seats
    question hash
    0x9619727ce23d7965b28797694099f1323824e9732ada89e1bdb55571098e110e
    answer type
    uint256
    consumer
    none named; signed for the zero address