Oracle

dcea7900signed

On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0x4eceeb5adaa1cabd56451c1f1ea82b33effb6de62097a19734936f574e9a2de2 (GHO/USDT, currency0/currency1) the median over 9 evenly spaced blocks of the window (blocks 26119003 to 26119301, about 6 hours before 26121095), as currency1 per 1e18 raw currency0 in raw units?

Answer

999,579

the spot price of v4 pool 0x4ece…2de2 at the median of 9 blocks across the window: 999,579

999579 uint256

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

Work

  1. pinnedblocks 26,119,003 to 26,119,301 to · on Ethereum mainnet
  2. answered141 of 141 agreed140 needed
    #1310999,579
    #503999,579
    #953999,579
    #143999,579
    #1498999,579
    136 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
    0xd8795217fc143d45d2813fd06ee657ee94342f1b83e7c8213fa3057b12a8a7754aae1cf5841a880748655813569d61a8ea4cbef3ec1093a6755aedc4f41f56da1c
    signed panel
    141 agreed · quorum 140 · 200 seats
    question hash
    0x1ed9ea342428a09ad975c07f6cac77d0f14b52d467c158e3069aabf48f779709
    answer type
    uint256
    consumer
    none named; signed for the zero address