Oracle

bb7be804signed

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

Answer

999,762

the spot price of v4 pool 0x56fc…48c1 at the median of 9 blocks across the window: 999,762

999762 uint256

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

Work

  1. pinnedblocks 26,120,573 to 26,120,871 to · on Ethereum mainnet
  2. answered140 of 140 agreed140 needed
    #197999,762
    #1937999,762
    #1705999,762
    #606999,762
    #545999,762
    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
    0x72eddb773570124c9c7f8a0e22ba036bbbc066450578fd8dff9001079afabeda098a547effcd11ba2d12366cf6b18c32358b6ecc3849dcc3054d5ee9899ba08f1b
    signed panel
    140 agreed · quorum 140 · 200 seats
    question hash
    0xa27e5be4d714ed39d3e3767bfcaa3bd5be622088c7e40bf84beb66cfd6e8b3f1
    answer type
    uint256
    consumer
    none named; signed for the zero address