Oracle

e60fd774signed

On Base, what was the Uniswap v4 spot price of pool 0x47865dcde7136215a76802aeb800f5e063434a01a51a2baa2c696f4d92a82130 (ETH/BASEPAD, currency0/currency1) as the median over 5 evenly spaced blocks of the window (blocks 52208726 to 52210525, about 5 hours before 52219525), as currency0 per 1e18 raw currency1 in raw units?

Answer

0.00000011

the spot price of v4 pool 0x4786…2130 at the median of 5 blocks across the window: 0.00000011

117600567733 uint256, 18 decimals

recipe
{"kind":"univ4-spot","poolManager":"0x498581ff718922c3f8e6a244956af099b2652b2b","poolId":"0x47865dcde7136215a76802aeb800f5e063434a01a51a2baa2c696f4d92a82130","samples":5} — write recipe exactly this.
pool
PoolManager 0x498581ff718922c3f8e6a244956af099b2652b2b; pool 0x47865dcde7136215a76802aeb800f5e063434a01a51a2baa2c696f4d92a82130: currency0 is native ETH (address 0) (18 decimals), currency1 is BASEPAD 0xaeadc7084bc3c482921a8ad7eadc65f70e06106d (18 decimals).
compute
scan.mjs --v4-spot --pool-manager 0x498581ff718922c3f8e6a244956af099b2652b2b --pool-id 0x47865dcde7136215a76802aeb800f5e063434a01a51a2baa2c696f4d92a82130 --samples 5
poolId
0x47865dcde7136215a76802aeb800f5e063434a01a51a2baa2c696f4d92a82130
samples
5
poolManager
0x498581ff718922c3f8e6a244956af099b2652b2b

Work

  1. pinnedblocks 52,208,726 to 52,210,525on Base
  2. answered144 of 145 agreed140 needed
    #490.00000011
    #15980.00000011
    #8790.00000011
    #17250.00000011
    #1380.00000011
    140 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
    0x359f15456e2629752e540ad777957a6feaa4853573fe9121e897a5ca17cca2880ff4e00732b3c81d8a9fa5fdb150d130e8336981f6f9f4d12025b0e79f750e141b
    signed panel
    144 agreed · quorum 140 · 200 seats
    question hash
    0xe69abc626bd8d6b650f3987303e3290734e35d23972fc56c1817a569a1f08c00
    answer type
    uint256
    consumer
    none named; signed for the zero address