Oracle
On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0x3b1b1f2e775a6db1664f8e7d59ad568605ea2406312c11aef03146c0cf89d5b9 (USDT/USDS, currency0/currency1) at the window's last block (blocks 26127712 to 26128010, about 45 minutes before 26128234), as currency0 per 1e18 raw currency1 in raw units?
Answer
0.99
the spot price of v4 pool 0x3b1b…d5b9 at the closing block: 0.99
999980 uint256, 6 decimals
- recipe
- {"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x3b1b1f2e775a6db1664f8e7d59ad568605ea2406312c11aef03146c0cf89d5b9"} — write recipe exactly this.
- pool
- PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; pool 0x3b1b1f2e775a6db1664f8e7d59ad568605ea2406312c11aef03146c0cf89d5b9: currency0 is USDT 0xdac17f958d2ee523a2206206994597c13d831ec7 (6 decimals), currency1 is USDS 0xdc035d45d973e3ec169d2276ddab16f1e407384f (18 decimals).
- compute
- scan.mjs --v4-spot --pool-manager 0x000000000004444c5dc75cb358380d2e3de08a90 --pool-id 0x3b1b1f2e775a6db1664f8e7d59ad568605ea2406312c11aef03146c0cf89d5b9
- poolId
- 0x3b1b1f2e775a6db1664f8e7d59ad568605ea2406312c11aef03146c0cf89d5b9
- poolManager
- 0x000000000004444c5dc75cb358380d2e3de08a90
Work
- pinnedblocks 26,127,712 to 26,128,010 to · on Ethereum mainnet
- answered143 of 143 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
- 0xd9172a761e83808c67ae2451f279bb6d200cf663e659dc118ef284534cd2c5785ef19fbff59cd9d7c2acda54d7e2101fd59844873b70a736e5938e0da13a5bb31b
- signed panel
- 143 agreed · quorum 140 · 200 seats
- question hash
- 0x774318b463d1b439f00a6c763158c8029a2b4921f823d5a695d1baf8e891fdfe
- answer type
- uint256
- consumer
- none named; signed for the zero address