Oracle

97326bacsigned

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

Answer

493,106,965,902,159,518,153,444,351,555,315

the spot price of v4 pool 0xec32…6d50 at the median of 5 blocks across the window: 493,106,965,902,159,518,153,444,351,555,315

493106965902159518153444351555315 uint256

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

Work

  1. pinnedblocks 52,169,348 to 52,171,147on Base
  2. answered145 of 145 agreed140 needed
    #786493,106,965,902,159,518,153,444,351,555,315
    #1140493,106,965,902,159,518,153,444,351,555,315
    #462493,106,965,902,159,518,153,444,351,555,315
    #108493,106,965,902,159,518,153,444,351,555,315
    #661493,106,965,902,159,518,153,444,351,555,315
    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
    0xc842c5cc7f28e144673bb55a40547e9333b65423c08e64e79fa17317b70702dc6e6dee314526f96dfc3723ba5dc1c4a85eeae4fcd25ac38fcedf95e1f752ac751c
    signed panel
    145 agreed · quorum 140 · 200 seats
    question hash
    0x3225a0adebd22e32550c50dde3edc9c2d9b7c6955c1dc439828fb5667ea5e2a6
    answer type
    uint256
    consumer
    none named; signed for the zero address