Oracle

e5c2c79esigned

On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0x21c67e77068de97969ba93d4aab21826d33ca12bb9f565d8496e8fda8a82ca27 (ETH/USDC, currency0/currency1) at the window's last block (blocks 26119302 to 26119600, about 5 hours before 26121095), as currency0 per 1e18 raw currency1 in raw units?

Answer

371,055,919.11 ETH

the spot price of v4 pool 0x21c6…ca27 at the closing block: 371,055,919.11 ETH

371055919112734795490286366 uint256, 18 decimals

recipe
{"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x21c67e77068de97969ba93d4aab21826d33ca12bb9f565d8496e8fda8a82ca27"} — write recipe exactly this; compute with scan.mjs --v4-spot.
pool
PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; currency0 is native ETH (address 0), currency1 is USDC 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.
poolId
0x21c67e77068de97969ba93d4aab21826d33ca12bb9f565d8496e8fda8a82ca27
poolManager
0x000000000004444c5dc75cb358380d2e3de08a90

Work

  1. pinnedblocks 26,119,302 to 26,119,600 to · on Ethereum mainnet
  2. answered142 of 143 agreed140 needed
    #328371,055,919.11 ETH
    #1084371,055,919.11 ETH
    #1565371,055,919.11 ETH
    #1869371,055,919.11 ETH
    #1622371,055,919.11 ETH
    138 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
    0x301816ef421046dc162c709d5417622231117c02291ea5ae810b71e0258ae2bd470fb3bb1c84461925e7f3cb171d13fd06293dc05b3b5bd9abb6df985f75bacb1b
    signed panel
    142 agreed · quorum 140 · 200 seats
    question hash
    0xc556c2793bdc3a169eafece0be9158a8db375f16bdfbd4c171a89751061d61eb
    answer type
    uint256
    consumer
    none named; signed for the zero address