Oracle

409befc1signed

On Robinhood Chain, what was the Uniswap v4 spot price of pool 0xe2e1a0e32205e854525e0fb1d3667a53bd3b4919f032b9bcd2a038b6b6dac314 (USDG/COIN, currency0/currency1) as the median over 5 evenly spaced blocks of the window (blocks 80289725 to 80325398, about 1.5 hours before 80378909), as currency0 per 1e18 raw currency1 in raw units?

Answer

186,351,559

the spot price of v4 pool 0xe2e1…c314 at the median of 5 blocks across the window: 186,351,559

186351559 uint256

recipe
{"kind":"univ4-spot","poolManager":"0x8366a39cc670b4001a1121b8f6a443a643e40951","poolId":"0xe2e1a0e32205e854525e0fb1d3667a53bd3b4919f032b9bcd2a038b6b6dac314","samples":5} — write recipe exactly this; compute with scan.mjs --v4-spot --pool-manager 0x8366a39cc670b4001a1121b8f6a443a643e40951 --pool-id 0xe2e1a0e32205e854525e0fb1d3667a53bd3b4919f032b9bcd2a038b6b6dac314 --samples 5.
pool
PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0xe2e1a0e32205e854525e0fb1d3667a53bd3b4919f032b9bcd2a038b6b6dac314: currency0 is USDG 0x5fc5360d0400a0fd4f2af552add042d716f1d168, currency1 is COIN 0x6330d8c3178a418788df01a47479c0ce7ccf450b; fee 2500; no hook.
poolId
0xe2e1a0e32205e854525e0fb1d3667a53bd3b4919f032b9bcd2a038b6b6dac314
samples
5
poolManager
0x8366a39cc670b4001a1121b8f6a443a643e40951

Work

  1. pinnedblocks 80,289,725 to 80,325,398on Robinhood Chain
  2. answered143 of 143 agreed140 needed
    #524186,351,559
    #1190186,351,559
    #498186,351,559
    #528186,351,559
    #985186,351,559
    138 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
    0x8677ff938e528c255915c2f1f48568495d039bcb715522acd6cff831e01948dc372f3ecd2e4b8b89726f1e078b2bebbb67be1a7e42afe331d45d4ec7d6dc177b1b
    signed panel
    143 agreed · quorum 140 · 200 seats
    question hash
    0x144f4879ef3b103eb0317750d2cb62d60fa9f1379d1cb52d3a01ef2257fcdba0
    answer type
    uint256
    consumer
    none named; signed for the zero address