Oracle

420a32e6signed

On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0x50b00c1a5a8e582ec808e97e71598cd135206a9f9c548eab2ed73659e7ee5fa8 (ETH/USDT, currency0/currency1) at the window's last block (blocks 26120498 to 26120796, about 1 hour before 26121095), as currency0 per 1e18 raw currency1 in raw units?

Answer

370,586,527.91 ETH

the spot price of v4 pool 0x50b0…5fa8 at the closing block: 370,586,527.91 ETH

370586527917183909223788996 uint256, 18 decimals

recipe
{"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x50b00c1a5a8e582ec808e97e71598cd135206a9f9c548eab2ed73659e7ee5fa8"} — write recipe exactly this; compute with scan.mjs --v4-spot.
pool
PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; currency0 is native ETH (address 0), currency1 is USDT 0xdac17f958d2ee523a2206206994597c13d831ec7.
poolId
0x50b00c1a5a8e582ec808e97e71598cd135206a9f9c548eab2ed73659e7ee5fa8
poolManager
0x000000000004444c5dc75cb358380d2e3de08a90

Work

  1. pinnedblocks 26,120,498 to 26,120,796 to · on Ethereum mainnet
  2. answered144 of 144 agreed140 needed
    #295370,586,527.91 ETH
    #1479370,586,527.91 ETH
    #1689370,586,527.91 ETH
    #451370,586,527.91 ETH
    #1545370,586,527.91 ETH
    139 more
  3. 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
    0x6a64542b6a7b53df5a423b82b07b96698b53a66e2ff83c3dfbef12612397f94936d4ae6434b04ce67a34737bd106a9d65b9a027677542cfe9fedada8e92057da1c
    signed panel
    144 agreed · quorum 140 · 200 seats
    question hash
    0xfef1be893ec572ef9711e3c38acc5a1378d3965411ee0387115f65d42ea03700
    answer type
    uint256
    consumer
    none named; signed for the zero address