Oracle

e54b5679signed

On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0xb2b92b56988a4edbe255989792c6ea239b25eaf66b42093145cbf8f630db3a17 (EURC/USDC, currency0/currency1) the median over 5 evenly spaced blocks of the window (blocks 26120573 to 26120871, about 45 minutes before 26121095), as currency0 per 1e18 raw currency1 in raw units?

Answer

889,169,319,287,029,358

the spot price of v4 pool 0xb2b9…3a17 at the median of 5 blocks across the window: 889,169,319,287,029,358

889169319287029358 uint256

recipe
{"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0xb2b92b56988a4edbe255989792c6ea239b25eaf66b42093145cbf8f630db3a17","samples":5} — write recipe exactly this; compute with scan.mjs --v4-spot --samples 5.
pool
PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; currency0 is EURC 0x1abaea1f7c830bd89acc67ec4af516284b1bc33c, currency1 is USDC 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.
poolId
0xb2b92b56988a4edbe255989792c6ea239b25eaf66b42093145cbf8f630db3a17
samples
5
poolManager
0x000000000004444c5dc75cb358380d2e3de08a90

Work

  1. pinnedblocks 26,120,573 to 26,120,871 to · on Ethereum mainnet
  2. answered142 of 142 agreed140 needed
    #1275889,169,319,287,029,358
    #1112889,169,319,287,029,358
    #341889,169,319,287,029,358
    #1215889,169,319,287,029,358
    #1174889,169,319,287,029,358
    137 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
    0x407c08d2f65916fd33ad9ac1866290a2041008e6d35537ddfc1ae9133f702ed3480050f88965eb200413b7f623dc18d7e88e993958e3b397857245eedf1945701b
    signed panel
    142 agreed · quorum 140 · 200 seats
    question hash
    0x8f676f7b850b678e1e5778a2ec3d56faf9a81965b2b9e2bd3fe689d925260524
    answer type
    uint256
    consumer
    none named; signed for the zero address