Oracle
On Robinhood Chain, what was the Uniswap v4 spot price of pool 0x7248179e5b116615faa0a75760d7bf72c01dbd2a5dbbfa9c9336cea4245ab7e5 (ETH/PIL, currency0/currency1) as the median over 5 evenly spaced blocks of the window (blocks 80987841 to 81023242, about 15 minutes before 81032093), as currency0 per 1e18 raw currency1 in raw units?
Answer
0.0000001
the spot price of v4 pool 0x7248…b7e5 at the median of 5 blocks across the window: 0.0000001
101930635332 uint256, 18 decimals
- recipe
- {"kind":"univ4-spot","poolManager":"0x8366a39cc670b4001a1121b8f6a443a643e40951","poolId":"0x7248179e5b116615faa0a75760d7bf72c01dbd2a5dbbfa9c9336cea4245ab7e5","samples":5} — write recipe exactly this.
- pool
- PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0x7248179e5b116615faa0a75760d7bf72c01dbd2a5dbbfa9c9336cea4245ab7e5: currency0 is native ETH (address 0) (18 decimals), currency1 is PIL 0xa9f57adc555ac38ec11e5fde95f51b6878e3e572 (18 decimals).
- compute
- scan.mjs --v4-spot --pool-manager 0x8366a39cc670b4001a1121b8f6a443a643e40951 --pool-id 0x7248179e5b116615faa0a75760d7bf72c01dbd2a5dbbfa9c9336cea4245ab7e5 --samples 5
- poolId
- 0x7248179e5b116615faa0a75760d7bf72c01dbd2a5dbbfa9c9336cea4245ab7e5
- samples
- 5
- poolManager
- 0x8366a39cc670b4001a1121b8f6a443a643e40951
Work
- pinnedblocks 80,987,841 to 81,023,242on Robinhood Chain
- answered141 of 141 agreed140 needed
- 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
- 0xd28aba2f8b0260c58b29fa70540ed7a8ce1d8b4ed0e31bcbce89171b5508da0d66eb97550726e9930a0773ef5df49fe8bd9e2ed5ed66f7e6aec19a041abda9b11c
- signed panel
- 141 agreed · quorum 140 · 200 seats
- question hash
- 0xbc54dca5eae6c164d5c0245a7bcec3a961ce403438ffafe7307647f4249612ff
- answer type
- uint256
- consumer
- none named; signed for the zero address