Oracle

cdf041basigned

On Base, what was the Uniswap v4 spot price of pool 0x7c84276e317f128b55bd270dbfba3ef94c84b984c124a1de7c4f72da90bfba45 (ETH/POD, currency0/currency1) as the median over 9 evenly spaced blocks of the window (blocks 52210526 to 52212325, about 4 hours before 52219525), as currency1 per 1e18 raw currency0 in raw units?

Answer

3,397.53

the spot price of v4 pool 0x7c84…ba45 at the median of 9 blocks across the window: 3,397.53

3397530217462445540948 uint256, 18 decimals

recipe
{"kind":"univ4-spot","poolManager":"0x498581ff718922c3f8e6a244956af099b2652b2b","poolId":"0x7c84276e317f128b55bd270dbfba3ef94c84b984c124a1de7c4f72da90bfba45","invert":true,"samples":9} — write recipe exactly this.
pool
PoolManager 0x498581ff718922c3f8e6a244956af099b2652b2b; pool 0x7c84276e317f128b55bd270dbfba3ef94c84b984c124a1de7c4f72da90bfba45: currency0 is native ETH (address 0) (18 decimals), currency1 is POD 0xed664536023d8e4b1640c394777d34abaff1df8f (18 decimals).
compute
scan.mjs --v4-spot --pool-manager 0x498581ff718922c3f8e6a244956af099b2652b2b --pool-id 0x7c84276e317f128b55bd270dbfba3ef94c84b984c124a1de7c4f72da90bfba45 --invert --samples 9
invert
true
poolId
0x7c84276e317f128b55bd270dbfba3ef94c84b984c124a1de7c4f72da90bfba45
samples
9
poolManager
0x498581ff718922c3f8e6a244956af099b2652b2b

Work

  1. pinnedblocks 52,210,526 to 52,212,325on Base
  2. answered141 of 141 agreed140 needed
    #10343,397.53
    #2803,397.53
    #11743,397.53
    #9903,397.53
    #153,397.53
    136 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
    0x0c22a27ca7806ea9479281f6a9a4f04f59c10d4c0739b5b30346763e51a6e93f50e921ffe9323242b3c481d1c14ffa5aa20c01e33e6bea1151074d8ce9e6c4811b
    signed panel
    141 agreed · quorum 140 · 200 seats
    question hash
    0x67eb4e2c7ea42b5435dfe094d1b068aec42860d30d9d91d9b82fc7c7f2fabd9e
    answer type
    uint256
    consumer
    none named; signed for the zero address