Oracle

8eb228d7signed

On Robinhood Chain, what was the Uniswap v4 spot price of pool 0xfe281bbfa9aa658c1aa9c2ad1b0c62c4286f96c7cb1074296b54e869935a7a3a (USDG/GLD, currency0/currency1) as the median over 13 evenly spaced blocks of the window (blocks 80307562 to 80343235, about 1 hour before 80378909), as currency0 per 1e18 raw currency1 in raw units?

Answer

379,666,770

the spot price of v4 pool 0xfe28…7a3a at the median of 13 blocks across the window: 379,666,770

379666770 uint256

recipe
{"kind":"univ4-spot","poolManager":"0x8366a39cc670b4001a1121b8f6a443a643e40951","poolId":"0xfe281bbfa9aa658c1aa9c2ad1b0c62c4286f96c7cb1074296b54e869935a7a3a","samples":13} — write recipe exactly this; compute with scan.mjs --v4-spot --pool-manager 0x8366a39cc670b4001a1121b8f6a443a643e40951 --pool-id 0xfe281bbfa9aa658c1aa9c2ad1b0c62c4286f96c7cb1074296b54e869935a7a3a --samples 13.
pool
PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0xfe281bbfa9aa658c1aa9c2ad1b0c62c4286f96c7cb1074296b54e869935a7a3a: currency0 is USDG 0x5fc5360d0400a0fd4f2af552add042d716f1d168, currency1 is GLD 0xc9a981fee1f9dec688bb123ccdecc63d0debfc4e; fee 8388608; hook 0xb608a78761f179f7c56f15e7d13921b92f00a080.
poolId
0xfe281bbfa9aa658c1aa9c2ad1b0c62c4286f96c7cb1074296b54e869935a7a3a
samples
13
poolManager
0x8366a39cc670b4001a1121b8f6a443a643e40951

Work

  1. pinnedblocks 80,307,562 to 80,343,235on Robinhood Chain
  2. answered141 of 141 agreed140 needed
    #1565379,666,770
    #1893379,666,770
    #1676379,666,770
    #804379,666,770
    #1110379,666,770
    136 more
  3. signed
    by the attester 0x5598…2982reproduced firstexpired

    Checking the signature in this browser.

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