Oracle

2abbe087signed

What was the Uniswap v4 spot price in the ETH/ZC pool 0xca375e569f6424f058c48f84e62de5d64240e2c6fef7662791d209465ed7e0c4 on Ethereum mainnet at the median of 13 evenly spaced blocks across blocks 26106292–26106590 (about 1 hours ago), as currency1 per 1e18 raw currency0 in raw units?

Answer

162,154,138,323,171,584,115,861

the spot price of v4 pool 0xca37…e0c4 at the median of 13 blocks across the window: 162,154,138,323,171,584,115,861

162154138323171584115861 uint256

recipe
{"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0xca375e569f6424f058c48f84e62de5d64240e2c6fef7662791d209465ed7e0c4","invert":true,"samples":13} — write recipe exactly this; compute with scan.mjs --v4-spot --invert --samples 13.
pool
PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; the pool pairs ETH with ZC (0x4e67db19044549ff420860834c91b45bad298722).
invert
true
poolId
0xca375e569f6424f058c48f84e62de5d64240e2c6fef7662791d209465ed7e0c4
samples
13
poolManager
0x000000000004444c5dc75cb358380d2e3de08a90

Work

  1. Pinnedblocks 26,106,292 to 26,106,590 to on Ethereum mainnet
  2. Answered35 of 35 agreed35 needed
    #493162,154,138,323,171,584,115,861
    #1201162,154,138,323,171,584,115,861
    #1238162,154,138,323,171,584,115,861
    #905162,154,138,323,171,584,115,861
    #464162,154,138,323,171,584,115,861
    30 more
  3. Signedby the attester 0x5598…2982reproduced firstexpired

    Checking the signature in this browser.

    typed data
    the exact bytes a consumer verifies, as JSON
    attester
    0x5598aa9146215bc13eb26f2c692ad1461fd32982
    signature
    0x7a850b7e9a1a640e141d6fa3c4a4af4d48fceb827818cf353026c25357fd8d6035e4bf0179709e63e80defebb246a92ed42314f1016dcc73fab1707128474a0f1b
    signed panel
    35 agreed · quorum 35 · 50 seats
    question hash
    0xee535bd0b115a5f26f1df0818350f9b69988b6eb949d444981cd7aa31448d46a
    answer type
    uint256
    consumer
    none named; signed for the zero address