Oracle

6d526e08signed

On Robinhood Chain, what was the Uniswap v4 spot price of pool 0x590dcb6a87828bf688b48089a62239b693378f1fb64d2286e6a399ed8c005fdf (ETH/HOOKR, currency0/currency1) as the median over 13 evenly spaced blocks of the window (blocks 80925888 to 80961289, about 2 hours before 81032093), as currency0 per 1e18 raw currency1 in raw units?

Answer

0.0000069

the spot price of v4 pool 0x590d…5fdf at the median of 13 blocks across the window: 0.0000069

6901250971441 uint256, 18 decimals

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

Work

  1. pinnedblocks 80,925,888 to 80,961,289on Robinhood Chain
  2. answered140 of 140 agreed140 needed
    #1740.0000069
    #2150.0000069
    #2930.0000069
    #7760.0000069
    #15420.0000069
    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
    0x0c5ab0f1ab0f2ae0adfd80265c0d09202f84bde335f19957c590dbe2b8525686037073b6a7c7f1bee194a260cf9d9d4231422468c73f06ec173eb14151296ba01c
    signed panel
    140 agreed · quorum 140 · 200 seats
    question hash
    0x620348d87b95067cfb3d396b6d88ab4abfbcea848f48d7ce448451cd954b4a5d
    answer type
    uint256
    consumer
    none named; signed for the zero address