Oracle

9d55cc4csigned

On Base, what was the Uniswap v4 spot price of pool 0x12d76c5c8ec8edffd3c143995b0aa43fe44a6d71eb9113796272909e54b8e078 (USDC/cbBTC, currency0/currency1) the median over 5 evenly spaced blocks of the window (blocks 52173848 to 52175647, about 30 minutes before 52176547), as currency1 per 1e18 raw currency0 in raw units?

Answer

1,172,426,839,413,863

the spot price of v4 pool 0x12d7…e078 at the median of 5 blocks across the window: 1,172,426,839,413,863

1172426839413863 uint256

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

Work

  1. pinnedblocks 52,173,848 to 52,175,647on Base
  2. answered140 of 140 agreed140 needed
    #1821,172,426,839,413,863
    #15131,172,426,839,413,863
    #1431,172,426,839,413,863
    #11371,172,426,839,413,863
    #18301,172,426,839,413,863
    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
    0x821381985ffd5c1fe6f7338bc3892644608f1a89cc1aec3ba7b8955ff69133fb659774a3a7ff953c79a65e32403f136847d79eddc425beff2ab829b8b446bf7a1b
    signed panel
    140 agreed · quorum 140 · 200 seats
    question hash
    0x3df7d6ab68e9c5f7d2b46f663ff86f79a2550da569086ba3a7c93b1adf91d60c
    answer type
    uint256
    consumer
    none named; signed for the zero address