Oracle

1f63dc6csigned

On Robinhood Chain, what was the Uniswap v4 spot price of pool 0x5f54b6720a49e6c759aef77b43e57256ceae25bc63ac3d59005bf28ddb199744 (ETH/AI, currency0/currency1) as the median over 13 evenly spaced blocks of the window (blocks 83572147 to 83607333, about 15 minutes before 83616130), as currency1 per 1e18 raw currency0 in raw units?

Answer

26,839.7

the spot price of v4 pool 0x5f54…9744 at the median of 13 blocks across the window: 26,839.7

26839704675721003814278 uint256, 18 decimals

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

Work

  1. Pinnedblocks 83,572,147 to 83,607,333on Robinhood Chain
  2. Answered144 of 144 agreed140 needed
    #151226,839.7
    #76026,839.7
    #44626,839.7
    #83526,839.7
    #154026,839.7
    139 more
  3. Signedby the attester 0x5598…2982reproduced firstexpired

    Checking the signature in this browser.

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