Oracle

cb70aabdsigned

On Base, what was the Uniswap v4 spot price of pool 0xbd527a988d4fb24ef4dc04e83bd082cbc1624f679c0799e9eba79dc2ad757f7c (eUSD/USDC, currency0/currency1) the median over 9 evenly spaced blocks of the window (blocks 52172948 to 52174747, about 1 hour before 52176547), as currency1 per 1e18 raw currency0 in raw units?

Answer

1,000,010,223,066,515,470

the spot price of v4 pool 0xbd52…7f7c at the median of 9 blocks across the window: 1,000,010,223,066,515,470

1000010223066515470 uint256

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

Work

  1. pinnedblocks 52,172,948 to 52,174,747on Base
  2. answered140 of 140 agreed140 needed
    #11121,000,010,223,066,515,470
    #11931,000,010,223,066,515,470
    #5591,000,010,223,066,515,470
    #5281,000,010,223,066,515,470
    #8121,000,010,223,066,515,470
    135 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
    0xe5d4be89aa543538fa80534818410bb51f829014ca366363dd8f34ec1d25819955a2c432cc83e331ece295359788597cff8d3e0d021eb52b5b84073b352482041b
    signed panel
    140 agreed · quorum 140 · 200 seats
    question hash
    0x54e698d89270db2bb2f345d97dbddd0277b1d698bbb7ae31a790f047aa0b9355
    answer type
    uint256
    consumer
    none named; signed for the zero address