Oracle

1761b603signed

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

Answer

0.00000031

the spot price of v4 pool 0xbedf…a0a5 at the median of 13 blocks across the window: 0.00000031

318200620900 uint256, 18 decimals

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

Work

  1. pinnedblocks 52,210,526 to 52,212,325on Base
  2. answered141 of 141 agreed140 needed
    #2150.00000031
    #9890.00000031
    #6070.00000031
    #3180.00000031
    #1940.00000031
    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
    0x761623333ee17561031b9951cc044100dbce9417a383a4902c642f139115adc43f02a8cd922a49911a37f9e2fbc1e2d28e08113f10fb580f4146bb6c42426a141b
    signed panel
    141 agreed · quorum 140 · 200 seats
    question hash
    0xa499e89472afd9d3631449479c7ebe765167541f42802cbda9c472833d14792a
    answer type
    uint256
    consumer
    none named; signed for the zero address