Oracle

06768fbbsigned

On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0xb07d640fd9e2eb9dc81b953c8e4fd006bdfeaf276010fb5418eb763ca15abfb3 (ETH/IMD, currency0/currency1) as the median over 13 evenly spaced blocks of the window (blocks 26127637 to 26127935, about 1 hour before 26128234), as currency1 per 1e18 raw currency0 in raw units?

Answer

226.42

the spot price of v4 pool 0xb07d…bfb3 at the median of 13 blocks across the window: 226.42

226424215441498969045 uint256, 18 decimals

recipe
{"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0xb07d640fd9e2eb9dc81b953c8e4fd006bdfeaf276010fb5418eb763ca15abfb3","invert":true,"samples":13} — write recipe exactly this.
pool
PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; pool 0xb07d640fd9e2eb9dc81b953c8e4fd006bdfeaf276010fb5418eb763ca15abfb3: currency0 is native ETH (address 0) (18 decimals), currency1 is IMD 0xd34a99bc0f67ae1bbd63c660e6d0b0dd03e263b7 (18 decimals).
compute
scan.mjs --v4-spot --pool-manager 0x000000000004444c5dc75cb358380d2e3de08a90 --pool-id 0xb07d640fd9e2eb9dc81b953c8e4fd006bdfeaf276010fb5418eb763ca15abfb3 --invert --samples 13
invert
true
poolId
0xb07d640fd9e2eb9dc81b953c8e4fd006bdfeaf276010fb5418eb763ca15abfb3
samples
13
poolManager
0x000000000004444c5dc75cb358380d2e3de08a90

Work

  1. pinnedblocks 26,127,637 to 26,127,935 to · on Ethereum mainnet
  2. answered141 of 142 agreed140 needed
    #174226.42
    #1959226.42
    #800226.42
    #460226.42
    #1242226.42
    137 more
  3. signed
    by the attester 0x5598…2982reproduced firstusable until

    Checking the signature in this browser.

    typed data
    the exact bytes a consumer verifies, as JSON
    attester
    0x5598aa9146215bc13eb26f2c692ad1461fd32982
    signature
    0x25630c1ba14e2c0c3a8da4914cf0fc305bb8ab972232b45ca538e75f5c8ee3b512faea6ed5f5dad85a9fae5bf45599fc112d05a950412ceb8c249eaf895ae0ae1c
    signed panel
    141 agreed · quorum 140 · 200 seats
    question hash
    0xe154d9c135b390b5a8483b8a503fc9b64fd4638af6fd60caf929648e792f554d
    answer type
    uint256
    consumer
    none named; signed for the zero address