Oracle

1e61b696signed

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

Answer

333,407,009

the spot price of v4 pool 0xa234…0147 at the median of 13 blocks across the window: 333,407,009

333407009 uint256

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

Work

  1. pinnedblocks 80,200,540 to 80,236,213on Robinhood Chain
  2. answered144 of 144 agreed140 needed
    #1299333,407,009
    #209333,407,009
    #671333,407,009
    #153333,407,009
    #1113333,407,009
    139 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
    0xa4b6b9e078777a7aec711b219bcdba16e488f0a6875fbee721255dfe9fe6410c6b66d9fea61b151ef15215e99e312a9879f91d59e2511a488f4efd7cc8ade0ff1b
    signed panel
    144 agreed · quorum 140 · 200 seats
    question hash
    0xe5ebfae372780935588d43849fd33ddf830c057c703348c4f17d8722e476b605
    answer type
    uint256
    consumer
    none named; signed for the zero address