Oracle

56fe443csigned

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

Answer

999,801

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

999801 uint256

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

Work

  1. pinnedblocks 26,120,498 to 26,120,796 to · on Ethereum mainnet
  2. answered140 of 140 agreed140 needed
    #180999,801
    #1574999,801
    #443999,801
    #246999,801
    #1641999,801
    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
    0xb025f1ae0b48f78b59c6ab27629afd8c0dd57eb8aad6fcfae1340d47e3a9b88529d187798d25ac1ac78c540fb81f02296da9dfba74df6a318ba552fba7dfaef81b
    signed panel
    140 agreed · quorum 140 · 200 seats
    question hash
    0xdecf41122bf188fd0e1273b6b4e28430ee0895f35039053a9cb7d42fc34ca789
    answer type
    uint256
    consumer
    none named; signed for the zero address