Oracle
On Robinhood Chain, what was the Uniswap v4 spot price of pool 0x0108de740b4320640a47a391bd5765884020b2fe9ed72ddbd37d10c27221deec (ETH/belly, currency0/currency1) as the median over 9 evenly spaced blocks of the window (blocks 80978991 to 81014392, about 30 minutes before 81032093), as currency1 per 1e18 raw currency0 in raw units?
Answer
10,728,913.41
the spot price of v4 pool 0x0108…deec at the median of 9 blocks across the window: 10,728,913.41
10728913418850014370377992 uint256, 18 decimals
- recipe
- {"kind":"univ4-spot","poolManager":"0x8366a39cc670b4001a1121b8f6a443a643e40951","poolId":"0x0108de740b4320640a47a391bd5765884020b2fe9ed72ddbd37d10c27221deec","invert":true,"samples":9} — write recipe exactly this.
- pool
- PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0x0108de740b4320640a47a391bd5765884020b2fe9ed72ddbd37d10c27221deec: currency0 is native ETH (address 0) (18 decimals), currency1 is belly 0xb60568c2b7ef8f89e7cbac1b950603212bf21bee (18 decimals).
- compute
- scan.mjs --v4-spot --pool-manager 0x8366a39cc670b4001a1121b8f6a443a643e40951 --pool-id 0x0108de740b4320640a47a391bd5765884020b2fe9ed72ddbd37d10c27221deec --invert --samples 9
- invert
- true
- poolId
- 0x0108de740b4320640a47a391bd5765884020b2fe9ed72ddbd37d10c27221deec
- samples
- 9
- poolManager
- 0x8366a39cc670b4001a1121b8f6a443a643e40951
Work
- pinnedblocks 80,978,991 to 81,014,392on Robinhood Chain
- answered141 of 141 agreed140 needed
- 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
- 0xc3364c456940d75ff16b54225e7b368b63b6a8a47f29b9066bbe739e6bebc06533e87270286b71fabbc0db0394564d637dc8f6ee58b7b0026a142036ab9a8cf21b
- signed panel
- 141 agreed · quorum 140 · 200 seats
- question hash
- 0x61d4f57b7bf645213764f70be401ca932eee5e0e51084fa8da222eef5669cb2a
- answer type
- uint256
- consumer
- none named; signed for the zero address