Oracle

6da9d388signed

On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0x9a5c1d2f4a7a7962a63259de6fcc1afb1d0aa1abdf5d19c23d22fd78953c5167 the median over 13 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

110,419,581,283,119,504,080,455,139,749

the spot price of v4 pool 0x9a5c…5167 at the median of 13 blocks across the window: 110,419,581,283,119,504,080,455,139,749

110419581283119504080455139749 uint256

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

Work

  1. pinnedblocks 26,100,125 to 26,100,423 to · on Ethereum mainnet
  2. answered148 of 148 agreed140 needed
    #402110,419,581,283,119,504,080,455,139,749
    #776110,419,581,283,119,504,080,455,139,749
    #1545110,419,581,283,119,504,080,455,139,749
    #1082110,419,581,283,119,504,080,455,139,749
    #1039110,419,581,283,119,504,080,455,139,749
    143 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
    0x6cf4edcd7c289299a20ace1926cfd8360e1b195b84f0d8cd6eae34ca4c27d93c18ec68987bb1b098ded25d1b6b7b34c9c4cc7b4089c96008be1192248d2773761c
    signed panel
    148 agreed · quorum 140 · 200 seats
    question hash
    0x6deed81361fb4546bec3e86f2c1a22adbbd89d068ee52764e4c840bb3839607e
    answer type
    uint256
    consumer
    none named; signed for the zero address