Oracle

8907b12fsigned

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

Answer

333,640,556

the spot price of v4 pool 0x845b…601a at the median of 5 blocks across the window: 333,640,556

333640556 uint256

recipe
{"kind":"univ4-spot","poolManager":"0x8366a39cc670b4001a1121b8f6a443a643e40951","poolId":"0x845b21902932be7f77f8ccbf793c17494f0ce7c6ffdcdb675d4dec701bc7601a","samples":5} — write recipe exactly this; compute with scan.mjs --v4-spot --pool-manager 0x8366a39cc670b4001a1121b8f6a443a643e40951 --pool-id 0x845b21902932be7f77f8ccbf793c17494f0ce7c6ffdcdb675d4dec701bc7601a --samples 5.
pool
PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0x845b21902932be7f77f8ccbf793c17494f0ce7c6ffdcdb675d4dec701bc7601a: currency0 is USDG 0x5fc5360d0400a0fd4f2af552add042d716f1d168, currency1 is AAPL 0xaf3d76f1834a1d425780943c99ea8a608f8a93f9; fee 8388608; hook 0x64e9ae1066c47ac4a3cc0a5bd7b135908590e088.
poolId
0x845b21902932be7f77f8ccbf793c17494f0ce7c6ffdcdb675d4dec701bc7601a
samples
5
poolManager
0x8366a39cc670b4001a1121b8f6a443a643e40951

Work

  1. pinnedblocks 80,254,051 to 80,289,724on Robinhood Chain
  2. answered144 of 144 agreed140 needed
    #386333,640,556
    #183333,640,556
    #420333,640,556
    #248333,640,556
    #791333,640,556
    139 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
    0x855407715190b119be3678489e8d5c3fbea3121243e5e5f4348b059e9b4407492db34a25f1f9ce2f547ec877a035a9480870396ab135e50037aa81873840ead61b
    signed panel
    144 agreed · quorum 140 · 200 seats
    question hash
    0xc9e1f90f9eaf62ae1687e6e02fa6c217cca6700c11f2a2bade07563e508978cc
    answer type
    uint256
    consumer
    none named; signed for the zero address