Oracle

2e48b20esigned

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

Answer

370,013,490,987,886,490,893,567,403

the spot price of v4 pool 0xe500…a657 at the median of 9 blocks across the window: 370,013,490,987,886,490,893,567,403

370013490987886490893567403 uint256

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

Work

  1. pinnedblocks 26,120,199 to 26,120,497 to · on Ethereum mainnet
  2. answered141 of 141 agreed140 needed
    #901370,013,490,987,886,490,893,567,403
    #1968370,013,490,987,886,490,893,567,403
    #1663370,013,490,987,886,490,893,567,403
    #108370,013,490,987,886,490,893,567,403
    #1819370,013,490,987,886,490,893,567,403
    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
    0x23cc27d7cc74048f58f9b27105188229e3657185fbeeb971a7f392994b03385a668748c85aa8428a36a45efca21136605eaa9054483bb7a4e69000fcd7cb4fd81b
    signed panel
    141 agreed · quorum 140 · 200 seats
    question hash
    0x80ef7d173c4dc190da9b2d7db644b791b880d41cdcf0a33f99792c3bda90d77d
    answer type
    uint256
    consumer
    none named; signed for the zero address