Oracle

d8c09391signed

On Robinhood Chain, what was the Uniswap v4 spot price of pool 0xb06be9fba90efd3cdbb7b7477b856daaeda907decedee7fa5f69aebf4d304c96 (ETH/roscoe, currency0/currency1) as the median over 9 evenly spaced blocks of the window (blocks 80970140 to 81005541, about 45 minutes before 81032093), as currency1 per 1e18 raw currency0 in raw units?

Answer

9,415,654.49

the spot price of v4 pool 0xb06b…4c96 at the median of 9 blocks across the window: 9,415,654.49

9415654496905364111511879 uint256, 18 decimals

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

Work

  1. pinnedblocks 80,970,140 to 81,005,541on Robinhood Chain
  2. answered141 of 141 agreed140 needed
    #5959,415,654.49
    #18199,415,654.49
    #13149,415,654.49
    #4629,415,654.49
    #16739,415,654.49
    136 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
    0x4ea49217fd5c7ec842bbe2980f998a2d243c99746a4d5bbab41fe4ee00490ceb4813b7069802329f2aed373990fb5a35473de98bdc68b0adb11c6726dbd963061c
    signed panel
    141 agreed · quorum 140 · 200 seats
    question hash
    0xab848c5bd5a609f1a52ddd57c57029c05a2867e9b3de43677c45eaef300b725f
    answer type
    uint256
    consumer
    none named; signed for the zero address