Oracle

da024059signed

On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0x6195aa3314b9636b2a525114aeaa0d2c210d85a63e409c3f809b10ef153f10f5 (LIT/USDC, currency0/currency1) the median over 9 evenly spaced blocks of the window (blocks 26119003 to 26119301, about 6 hours before 26121095), as currency0 per 1e18 raw currency1 in raw units?

Answer

274,911,827,554,973,412,332,325,005,532

the spot price of v4 pool 0x6195…10f5 at the median of 9 blocks across the window: 274,911,827,554,973,412,332,325,005,532

274911827554973412332325005532 uint256

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

Work

  1. pinnedblocks 26,119,003 to 26,119,301 to · on Ethereum mainnet
  2. answered142 of 142 agreed140 needed
    #526274,911,827,554,973,412,332,325,005,532
    #1020274,911,827,554,973,412,332,325,005,532
    #368274,911,827,554,973,412,332,325,005,532
    #1649274,911,827,554,973,412,332,325,005,532
    #863274,911,827,554,973,412,332,325,005,532
    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
    0x9438470a1bfe26fd177245ffed4ea75dd99334655da6846bd3430ac520fd30fe34ef9b51d0c5a9b550bf8015fa4c22a76e21d07bf062a67f144358e278d0287c1b
    signed panel
    142 agreed · quorum 140 · 200 seats
    question hash
    0x3f007217feee15a99caf09844f9ae7e26ca77ff448c8c41100b1ccb4b7c355f1
    answer type
    uint256
    consumer
    none named; signed for the zero address