Oracle

c92d7292signed

On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0x599326d9cd5e1ea0893305c87d5ec3199e7f05e94d72159f35dea381479a615e (ETH/WBTC, currency0/currency1) as the median over 5 evenly spaced blocks of the window (blocks 26148731 to 26149029, about 4 hours before 26150225), as currency1 per 1e18 raw currency0 in raw units?

Answer

0.0000000000029

the spot price of v4 pool 0x5993…615e at the median of 5 blocks across the window: 0.0000000000029

2992642 uint256, 18 decimals

recipe
{"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x599326d9cd5e1ea0893305c87d5ec3199e7f05e94d72159f35dea381479a615e","invert":true,"samples":5} — write recipe exactly this.
pool
PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; pool 0x599326d9cd5e1ea0893305c87d5ec3199e7f05e94d72159f35dea381479a615e: currency0 is native ETH (address 0) (18 decimals), currency1 is WBTC 0x2260fac5e5542a773aa44fbcfedf7c193bc2c599 (8 decimals).
compute
scan.mjs --v4-spot --pool-manager 0x000000000004444c5dc75cb358380d2e3de08a90 --pool-id 0x599326d9cd5e1ea0893305c87d5ec3199e7f05e94d72159f35dea381479a615e --invert --samples 5
invert
true
poolId
0x599326d9cd5e1ea0893305c87d5ec3199e7f05e94d72159f35dea381479a615e
samples
5
poolManager
0x000000000004444c5dc75cb358380d2e3de08a90

Work

  1. Pinnedblocks 26,148,731 to 26,149,029 to on Ethereum mainnet
  2. Answered140 of 140 agreed140 needed
    #5910.0000000000029
    #9050.0000000000029
    #7150.0000000000029
    #15070.0000000000029
    #7980.0000000000029
    135 more
  3. Signedby 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
    0x91bfbe4d21fd975655dd101321e63f9f838627ee1f71761205bde10a7e0ac4816c1a7a3369391739603cfa6d92256e6e66284d1e82bc152f6533d1941661b9ab1c
    signed panel
    140 agreed · quorum 140 · 200 seats
    question hash
    0xbb51892a323a9ad6fc7523c58471f78194814bca6f3bda347f3fab1b6c7f3703
    answer type
    uint256
    consumer
    none named; signed for the zero address