Oracle

fc40bfabsigned

On Base, what was the Uniswap v4 spot price of pool 0xec329ff2cfac8c2ebced2d9d988c74b3385e6d4cdde888aea0d74bb3737a6d50 (CGN/USDC, currency0/currency1) the median over 9 evenly spaced blocks of the window (blocks 52165748 to 52167547, about 5 hours before 52176547), as currency1 per 1e18 raw currency0 in raw units?

Answer

2,027

the spot price of v4 pool 0xec32…6d50 at the median of 9 blocks across the window: 2,027

2027 uint256

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

Work

  1. pinnedblocks 52,165,748 to 52,167,547on Base
  2. answered140 of 140 agreed140 needed
    #19272,027
    #5262,027
    #8972,027
    #3552,027
    #8632,027
    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
    0xb0a4b31eea9a85ebad59dea5bf91861bf2524dd92067fd6b75bec519ced84b9338bfecc7712ced819a202b3b12cebdc6681ecab7fbef88c6d5d74d7c2a147ab41b
    signed panel
    140 agreed · quorum 140 · 200 seats
    question hash
    0xf50b7376aee9bafb045aa130b2633040de3e4e3e9ab111f6cc38579bc0b9c540
    answer type
    uint256
    consumer
    none named; signed for the zero address