Oracle

e0402326signed

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

Answer

5,909,027,591,303,602,738,116,549,853

the spot price of v4 pool 0x5d05…7710 at the median of 5 blocks across the window: 5,909,027,591,303,602,738,116,549,853

5909027591303602738116549853 uint256

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

Work

  1. pinnedblocks 26,098,929 to 26,099,227 to · on Ethereum mainnet
  2. answered149 of 149 agreed140 needed
    #15105,909,027,591,303,602,738,116,549,853
    #2485,909,027,591,303,602,738,116,549,853
    #155,909,027,591,303,602,738,116,549,853
    #4295,909,027,591,303,602,738,116,549,853
    #15365,909,027,591,303,602,738,116,549,853
    144 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
    0x507c52d98db08c12f5039f0012be3491721d37ad2569f01c08f0b2808ce45471493d67220ab75c2a597e42501197001aba174bb2c9149b26da9a09d4001431111c
    signed panel
    149 agreed · quorum 140 · 200 seats
    question hash
    0xa41438f22a068b84e047c04e647e71b163cf59af0ac9f9381e2ada13adae4216
    answer type
    uint256
    consumer
    none named; signed for the zero address