Oracle

d31d986esigned

On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0x5d0ed52610c76d7bf729130ce7ddc0488b2f4bd0a0db1f12adbe6a32deaff893 (BOLD/USDC, currency0/currency1) the median over 9 evenly spaced blocks of the window (blocks 26120498 to 26120796, about 1 hour before 26121095), as currency0 per 1e18 raw currency1 in raw units?

Answer

1,004,487,194,912,430,614,309,201,601,939

the spot price of v4 pool 0x5d0e…f893 at the median of 9 blocks across the window: 1,004,487,194,912,430,614,309,201,601,939

1004487194912430614309201601939 uint256

recipe
{"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x5d0ed52610c76d7bf729130ce7ddc0488b2f4bd0a0db1f12adbe6a32deaff893","samples":9} — write recipe exactly this; compute with scan.mjs --v4-spot --samples 9.
pool
PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; currency0 is BOLD 0x6440f144b7e50d6a8439336510312d2f54beb01d, currency1 is USDC 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.
poolId
0x5d0ed52610c76d7bf729130ce7ddc0488b2f4bd0a0db1f12adbe6a32deaff893
samples
9
poolManager
0x000000000004444c5dc75cb358380d2e3de08a90

Work

  1. pinnedblocks 26,120,498 to 26,120,796 to · on Ethereum mainnet
  2. answered145 of 145 agreed140 needed
    #7561,004,487,194,912,430,614,309,201,601,939
    #17631,004,487,194,912,430,614,309,201,601,939
    #9691,004,487,194,912,430,614,309,201,601,939
    #19741,004,487,194,912,430,614,309,201,601,939
    #3681,004,487,194,912,430,614,309,201,601,939
    140 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
    0x0a1f8d4378af6cab397f26ca6f2d7ab10df45cb6c77b6f4a1f1ae7c05eb2635634dc956aba2ecf1b8606b6688beeaaaa5c7218ae64fad98181326a251ef0198c1b
    signed panel
    145 agreed · quorum 140 · 200 seats
    question hash
    0x26ad0919d216ac696801127ab0a505d57535be093e96bc6b1d193c4c3cef7269
    answer type
    uint256
    consumer
    none named; signed for the zero address