Oracle

ccc3503bsigned

On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0x60446cf938c80775d2cf640580da230ca80d69de93f4683a23aa1abb7e47e57b (CLAUS/USDC, currency0/currency1) as the median over 5 evenly spaced blocks of the window (blocks 26126740 to 26127038, about 4 hours before 26128234), as currency0 per 1e18 raw currency1 in raw units?

Answer

319,676,298,135,969.79

the spot price of v4 pool 0x6044…e57b at the median of 5 blocks across the window: 319,676,298,135,969.79

319676298135969791834562053634908 uint256, 18 decimals

recipe
{"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x60446cf938c80775d2cf640580da230ca80d69de93f4683a23aa1abb7e47e57b","samples":5} — write recipe exactly this.
pool
PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; pool 0x60446cf938c80775d2cf640580da230ca80d69de93f4683a23aa1abb7e47e57b: currency0 is CLAUS 0x1b54e762aa34cf6e28e9c082f2848e28e45da6b8 (18 decimals), currency1 is USDC 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 (6 decimals).
compute
scan.mjs --v4-spot --pool-manager 0x000000000004444c5dc75cb358380d2e3de08a90 --pool-id 0x60446cf938c80775d2cf640580da230ca80d69de93f4683a23aa1abb7e47e57b --samples 5
poolId
0x60446cf938c80775d2cf640580da230ca80d69de93f4683a23aa1abb7e47e57b
samples
5
poolManager
0x000000000004444c5dc75cb358380d2e3de08a90

Work

  1. pinnedblocks 26,126,740 to 26,127,038 to · on Ethereum mainnet
  2. answered142 of 142 agreed140 needed
    #1929319,676,298,135,969.79
    #1968319,676,298,135,969.79
    #1723319,676,298,135,969.79
    #108319,676,298,135,969.79
    #215319,676,298,135,969.79
    137 more
  3. signed
    by the attester 0x5598…2982reproduced firstusable until

    Checking the signature in this browser.

    typed data
    the exact bytes a consumer verifies, as JSON
    attester
    0x5598aa9146215bc13eb26f2c692ad1461fd32982
    signature
    0x3c69f5af3d04296cd78ddb5762c6463bad1e20d1eaa19a3f40bcd6e092ca499235361b6964c3ee8bbd9f9882f1dcf163fd3dd5ac2828872e4377b758e93eee761b
    signed panel
    142 agreed · quorum 140 · 200 seats
    question hash
    0x44e4205b458fc0d41ef200300326002553b526090877aab9257c71e45e8f3f0f
    answer type
    uint256
    consumer
    none named; signed for the zero address