Oracle
On Robinhood Chain, what was the Uniswap v4 spot price of pool 0xbac3aa3b91584a53a579b3c999a56756e954e59247e497bad1d25a4334bde551 (ETH/USDG, currency0/currency1) the median over 5 evenly spaced blocks of the window (blocks 80009875 to 80045537, about 4 hours before 80188189), as currency0 per 1e18 raw currency1 in raw units?
Answer
370,482,460.42 ETH
the spot price of v4 pool 0xbac3…e551 at the median of 5 blocks across the window: 370,482,460.42 ETH
370482460425148434925395805 uint256, 18 decimals
- recipe
- {"kind":"univ4-spot","poolManager":"0x8366a39cc670b4001a1121b8f6a443a643e40951","poolId":"0xbac3aa3b91584a53a579b3c999a56756e954e59247e497bad1d25a4334bde551","samples":5} — write recipe exactly this; compute with scan.mjs --v4-spot --samples 5.
- pool
- PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; currency0 is native ETH (address 0), currency1 is USDG 0x5fc5360d0400a0fd4f2af552add042d716f1d168.
- poolId
- 0xbac3aa3b91584a53a579b3c999a56756e954e59247e497bad1d25a4334bde551
- samples
- 5
- poolManager
- 0x8366a39cc670b4001a1121b8f6a443a643e40951
Work
- pinnedblocks 80,009,875 to 80,045,537on Robinhood Chain
- answered142 of 142 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
- 0xd3c0fcebf2da99c0f60e74008c9a4a33b968753ec019b58610cc63a43d5a39c16eedf299cbcc580b97f4c41659bb3abf4b7d286f4c34073228d646af7e923b701c
- signed panel
- 142 agreed · quorum 140 · 200 seats
- question hash
- 0x72ee69950a18fe1dce50998b1f1942eaa2c44ab36d19c481b63e2fced54779f4
- answer type
- uint256
- consumer
- none named; signed for the zero address