Oracle

0abb3321signed

On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0x3b1b1f2e775a6db1664f8e7d59ad568605ea2406312c11aef03146c0cf89d5b9 (USDT/USDS, currency0/currency1) at the window's last block (blocks 26120348 to 26120646, about 1.5 hours before 26121095), as currency1 per 1e18 raw currency0 in raw units?

Answer

999,886,887,700,227,845,209,840,663,099

the spot price of v4 pool 0x3b1b…d5b9 at the closing block: 999,886,887,700,227,845,209,840,663,099

999886887700227845209840663099 uint256

recipe
{"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x3b1b1f2e775a6db1664f8e7d59ad568605ea2406312c11aef03146c0cf89d5b9","invert":true} — write recipe exactly this; compute with scan.mjs --v4-spot --invert.
pool
PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; currency0 is USDT 0xdac17f958d2ee523a2206206994597c13d831ec7, currency1 is USDS 0xdc035d45d973e3ec169d2276ddab16f1e407384f.
invert
true
poolId
0x3b1b1f2e775a6db1664f8e7d59ad568605ea2406312c11aef03146c0cf89d5b9
poolManager
0x000000000004444c5dc75cb358380d2e3de08a90

Work

  1. pinnedblocks 26,120,348 to 26,120,646 to · on Ethereum mainnet
  2. answered140 of 140 agreed140 needed
    #712999,886,887,700,227,845,209,840,663,099
    #1814999,886,887,700,227,845,209,840,663,099
    #222999,886,887,700,227,845,209,840,663,099
    #463999,886,887,700,227,845,209,840,663,099
    #1201999,886,887,700,227,845,209,840,663,099
    135 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
    0x6ebb826ddc7525db4d67856ec90a0983d8623be8b436a5604868534b1a0f90ce0489b0bc5582aa2fc8b2e3c454dff04abff613f710fcf00f45d26bee96cb6f001c
    signed panel
    140 agreed · quorum 140 · 200 seats
    question hash
    0xb3309941aed2ef1fb338efaccd4fa3196ff6d313b172887cca9130be457e4f85
    answer type
    uint256
    consumer
    none named; signed for the zero address