Oracle

6e24d1a6signed

On Base, what was the Uniswap v4 spot price of pool 0x508539372ea5da71498935e71a5f7759724fe6e5348053f5464274f49b8d2008 (ETH/TOSHI, currency0/currency1) the median over 5 evenly spaced blocks of the window (blocks 52173848 to 52175647, about 30 minutes before 52176547), as currency0 per 1e18 raw currency1 in raw units?

Answer

0.0000000043 ETH

the spot price of v4 pool 0x5085…2008 at the median of 5 blocks across the window: 0.0000000043 ETH

4357290154 uint256, 18 decimals

recipe
{"kind":"univ4-spot","poolManager":"0x498581ff718922c3f8e6a244956af099b2652b2b","poolId":"0x508539372ea5da71498935e71a5f7759724fe6e5348053f5464274f49b8d2008","samples":5} — write recipe exactly this; compute with scan.mjs --v4-spot --samples 5.
pool
PoolManager 0x498581ff718922c3f8e6a244956af099b2652b2b; currency0 is native ETH (address 0), currency1 is TOSHI 0x1543c40c665813a7df31240f78aac6c585441501.
poolId
0x508539372ea5da71498935e71a5f7759724fe6e5348053f5464274f49b8d2008
samples
5
poolManager
0x498581ff718922c3f8e6a244956af099b2652b2b

Work

  1. pinnedblocks 52,173,848 to 52,175,647on Base
  2. answered144 of 144 agreed140 needed
    #14500.0000000043 ETH
    #5450.0000000043 ETH
    #19370.0000000043 ETH
    #1150.0000000043 ETH
    #12510.0000000043 ETH
    139 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
    0x89b56f137eb626c3fa4c0c6468e85ec6d7ed6b8191c87c3e95bcd0fdbe7226f312fd3ac60264a0f47eea1c6010c144ceb35ec067869d0a51f9b47fcad0ef2d8f1c
    signed panel
    144 agreed · quorum 140 · 200 seats
    question hash
    0x565ff3d8e1bac751d56a928187344eec1776ff4cac0055c31c8402eb18f4eabb
    answer type
    uint256
    consumer
    none named; signed for the zero address