Oracle

1def747asigned

On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0xdb66b18431f00e001867c67c6022c36205abec136381cd0d3fa58068ec88ace6 the median over 5 evenly spaced blocks of the window (blocks 26100125 to 26100423, about 2 hours before 26101021), as currency0 per 1e18 raw currency1 in raw units?

Answer

5,817

the spot price of v4 pool 0xdb66…ace6 at the median of 5 blocks across the window: 5,817

5817 uint256

recipe
{"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0xdb66b18431f00e001867c67c6022c36205abec136381cd0d3fa58068ec88ace6","samples":5} — write recipe exactly this; compute with scan.mjs --v4-spot --samples 5.
pool
PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; the pool pairs USDC with 0xdef1b2d939edc0e4d35806c59b3166f790175afe.
poolId
0xdb66b18431f00e001867c67c6022c36205abec136381cd0d3fa58068ec88ace6
samples
5
poolManager
0x000000000004444c5dc75cb358380d2e3de08a90

Work

  1. pinnedblocks 26,100,125 to 26,100,423 to · on Ethereum mainnet
  2. answered141 of 141 agreed140 needed
    #7155,817
    #11265,817
    #19405,817
    #15405,817
    #14335,817
    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
    0x65298b21c661e359d79c86b8a2113bb65d96ecaa7c111f8c1ff96113de3df9fb23de05d5c1e1dee2ba3742b88d4acd694c2a95c2ac8191c5dda7c34f7d932a731c
    signed panel
    141 agreed · quorum 140 · 200 seats
    question hash
    0x35dadce6e18c458b668ae7e394d761f416a71862390f0ecbde1fdc862187a06e
    answer type
    uint256
    consumer
    none named; signed for the zero address