Oracle

9cd3efe0signed

On Base, what was the Uniswap v4 spot price of pool 0x2b1e35f39734e895a40a355862ebeb4af161dce321f15a4c22e632f848f8cf72 (USDC/CNX, currency0/currency1) as the median over 5 evenly spaced blocks of the window (blocks 52214126 to 52215925, about 2 hours before 52219525), as currency1 per 1e18 raw currency0 in raw units?

Answer

482,654,829,616,424,300,107,997,349.27

the spot price of v4 pool 0x2b1e…cf72 at the median of 5 blocks across the window: 482,654,829,616,424,300,107,997,349.27

482654829616424300107997349278039 uint256, 6 decimals

recipe
{"kind":"univ4-spot","poolManager":"0x498581ff718922c3f8e6a244956af099b2652b2b","poolId":"0x2b1e35f39734e895a40a355862ebeb4af161dce321f15a4c22e632f848f8cf72","invert":true,"samples":5} — write recipe exactly this.
pool
PoolManager 0x498581ff718922c3f8e6a244956af099b2652b2b; pool 0x2b1e35f39734e895a40a355862ebeb4af161dce321f15a4c22e632f848f8cf72: currency0 is USDC 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 (6 decimals), currency1 is CNX 0x9557dd9e241bc9636732623b672b4090af519396 (18 decimals).
compute
scan.mjs --v4-spot --pool-manager 0x498581ff718922c3f8e6a244956af099b2652b2b --pool-id 0x2b1e35f39734e895a40a355862ebeb4af161dce321f15a4c22e632f848f8cf72 --invert --samples 5
invert
true
poolId
0x2b1e35f39734e895a40a355862ebeb4af161dce321f15a4c22e632f848f8cf72
samples
5
poolManager
0x498581ff718922c3f8e6a244956af099b2652b2b

Work

  1. pinnedblocks 52,214,126 to 52,215,925on Base
  2. answered140 of 140 agreed140 needed
    #1743482,654,829,616,424,300,107,997,349.27
    #1248482,654,829,616,424,300,107,997,349.27
    #1273482,654,829,616,424,300,107,997,349.27
    #125482,654,829,616,424,300,107,997,349.27
    #1274482,654,829,616,424,300,107,997,349.27
    135 more
  3. signed
    by the attester 0x5598…2982reproduced firstusable until

    Checking the signature in this browser.

    typed data
    the exact bytes a consumer verifies, as JSON
    attester
    0x5598aa9146215bc13eb26f2c692ad1461fd32982
    signature
    0x232db297f767ed0d33193d69610c9dc47a3568ddda5246fbde883ee8fb74b88148daa8c44ff054655dffcee51abbef3f4f5679ebfa7a98c8d8f71d73db3263961c
    signed panel
    140 agreed · quorum 140 · 200 seats
    question hash
    0xcd25f79eae406402f787561449ce82fad0f5a8b090acccde76fac1ffef6daa8d
    answer type
    uint256
    consumer
    none named; signed for the zero address