Oracle

739b95fesigned

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

Answer

1,931,736,888,939,287,321,673,405,762

the spot price of v4 pool 0xdd04…c6a8 at the median of 9 blocks across the window: 1,931,736,888,939,287,321,673,405,762

1931736888939287321673405762 uint256

recipe
{"kind":"univ4-spot","poolManager":"0x8366a39cc670b4001a1121b8f6a443a643e40951","poolId":"0xdd04fe28b7f5fcb07b492cfd434286ff1a54b12eaa69ff00a2807fa1f2adc6a8","invert":true,"samples":9} — write recipe exactly this; compute with scan.mjs --v4-spot --pool-manager 0x8366a39cc670b4001a1121b8f6a443a643e40951 --pool-id 0xdd04fe28b7f5fcb07b492cfd434286ff1a54b12eaa69ff00a2807fa1f2adc6a8 --invert --samples 9.
pool
PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0xdd04fe28b7f5fcb07b492cfd434286ff1a54b12eaa69ff00a2807fa1f2adc6a8: currency0 is USDG 0x5fc5360d0400a0fd4f2af552add042d716f1d168, currency1 is MSFT 0xe93237c50d904957cf27e7b1133b510c669c2e74; fee 900; no hook.
invert
true
poolId
0xdd04fe28b7f5fcb07b492cfd434286ff1a54b12eaa69ff00a2807fa1f2adc6a8
samples
9
poolManager
0x8366a39cc670b4001a1121b8f6a443a643e40951

Work

  1. pinnedblocks 80,164,866 to 80,200,539on Robinhood Chain
  2. answered143 of 143 agreed140 needed
    #8071,931,736,888,939,287,321,673,405,762
    #5101,931,736,888,939,287,321,673,405,762
    #7151,931,736,888,939,287,321,673,405,762
    #16221,931,736,888,939,287,321,673,405,762
    #17431,931,736,888,939,287,321,673,405,762
    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
    0xf77824095344a97ef1bc77131f0c99488876c5e4f11057cd67adf8f0c97dd48f51cb8e8383b831436e2e3dd424e1a185449047bb88d15b41159b6c094b32ac931c
    signed panel
    143 agreed · quorum 140 · 200 seats
    question hash
    0x97a25d7876173029b5703276b4bc1d100668ee85de95b893b16129f4a27bcf00
    answer type
    uint256
    consumer
    none named; signed for the zero address