Oracle

f7479669signed

On Base, what was the Uniswap v4 spot price of pool 0x68fe92766284b4d1598939a5e6b7b50c5fc6bda2fb721d0b3f1c59abd4ac215f (GROW/USDC, currency0/currency1) the median over 9 evenly spaced blocks of the window (blocks 52169348 to 52171147, about 3 hours before 52176547), as currency0 per 1e18 raw currency1 in raw units?

Answer

3,602,709,334,302,945,939,356,121,182,895,130

the spot price of v4 pool 0x68fe…215f at the median of 9 blocks across the window: 3,602,709,334,302,945,939,356,121,182,895,130

3602709334302945939356121182895130 uint256

recipe
{"kind":"univ4-spot","poolManager":"0x498581ff718922c3f8e6a244956af099b2652b2b","poolId":"0x68fe92766284b4d1598939a5e6b7b50c5fc6bda2fb721d0b3f1c59abd4ac215f","samples":9} — write recipe exactly this; compute with scan.mjs --v4-spot --samples 9.
pool
PoolManager 0x498581ff718922c3f8e6a244956af099b2652b2b; currency0 is GROW 0x1223334444a7466fbf985b14e1f4edaf3883bca6, currency1 is USDC 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913.
poolId
0x68fe92766284b4d1598939a5e6b7b50c5fc6bda2fb721d0b3f1c59abd4ac215f
samples
9
poolManager
0x498581ff718922c3f8e6a244956af099b2652b2b

Work

  1. pinnedblocks 52,169,348 to 52,171,147on Base
  2. answered144 of 144 agreed140 needed
    #11993,602,709,334,302,945,939,356,121,182,895,130
    #6163,602,709,334,302,945,939,356,121,182,895,130
    #18183,602,709,334,302,945,939,356,121,182,895,130
    #1263,602,709,334,302,945,939,356,121,182,895,130
    #4803,602,709,334,302,945,939,356,121,182,895,130
    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
    0xfda47d6ceda64dba0431c7498a17328e7695cbad7ff79fb3ce0b4afd548bd6ab5ffdfed2eae1b457e3cdb235bf358725e2cd562099b519f138a2efb0650aaa771b
    signed panel
    144 agreed · quorum 140 · 200 seats
    question hash
    0x9f79e70d1ca0dfda39323d9cb3477eaec6da21b25eb96188c78344e0d979409c
    answer type
    uint256
    consumer
    none named; signed for the zero address