Oracle

eb278b60signed

On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0xce2899b16743cfd5a954d8122d5e07f410305b1aebee39fd73d9f3b9ebf10c2f (ETH/AZTEC, currency0/currency1) the median over 5 evenly spaced blocks of the window (blocks 26120573 to 26120871, about 45 minutes before 26121095), as currency0 per 1e18 raw currency1 in raw units?

Answer

0.0000064 ETH

the spot price of v4 pool 0xce28…0c2f at the median of 5 blocks across the window: 0.0000064 ETH

6439905191504 uint256, 18 decimals

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

Work

  1. pinnedblocks 26,120,573 to 26,120,871 to · on Ethereum mainnet
  2. answered142 of 142 agreed140 needed
    #14860.0000064 ETH
    #3510.0000064 ETH
    #7210.0000064 ETH
    #13090.0000064 ETH
    #17940.0000064 ETH
    137 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
    0x09fe205a400559434c7227b860e1275f867fb5de6f7587e0342254e7d5a2717f56aaae17faa80e6bcc40e4ecf201afa1bc507ec58f25b012575febd653a910fc1c
    signed panel
    142 agreed · quorum 140 · 200 seats
    question hash
    0x557b3b8c343b28d0f8b8de8e4d871ab1d29840d949ed3f5b474c960f8e52186d
    answer type
    uint256
    consumer
    none named; signed for the zero address