Oracle

3eb3d0c1signed

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

Answer

148,854.57

the spot price of v4 pool 0x590d…5fdf at the median of 5 blocks across the window: 148,854.57

148854579577296842730477 uint256, 18 decimals

recipe
{"kind":"univ4-spot","poolManager":"0x8366a39cc670b4001a1121b8f6a443a643e40951","poolId":"0x590dcb6a87828bf688b48089a62239b693378f1fb64d2286e6a399ed8c005fdf","invert":true,"samples":5} — 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 --invert --samples 5
invert
true
poolId
0x590dcb6a87828bf688b48089a62239b693378f1fb64d2286e6a399ed8c005fdf
samples
5
poolManager
0x8366a39cc670b4001a1121b8f6a443a643e40951

Work

  1. pinnedblocks 80,943,589 to 80,978,990on Robinhood Chain
  2. answered143 of 143 agreed140 needed
    #1518148,854.57
    #293148,854.57
    #108148,854.57
    #953148,854.57
    #248148,854.57
    138 more
  3. signed
    by the attester 0x5598…2982reproduced firstexpired

    Checking the signature in this browser.

    typed data
    the exact bytes a consumer verifies, as JSON
    attester
    0x5598aa9146215bc13eb26f2c692ad1461fd32982
    signature
    0xb19004afbc9fca85f8620be712adaecbbb894d69322fa21d3e52da340e3a8e85771166c2b8df50ab7324de054f7039158ce8f5e623e9fe79efc9e14491d20e131c
    signed panel
    143 agreed · quorum 140 · 200 seats
    question hash
    0x99b702bd3c2a45a5a522ee53041a812bb919b894f0e0d33470b801eedf4d9029
    answer type
    uint256
    consumer
    none named; signed for the zero address