Oracle

34ea7affsigned

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

Answer

2,803,655

the spot price of v4 pool 0x7499…1d9d at the median of 9 blocks across the window: 2,803,655

2803655 uint256

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

Work

  1. pinnedblocks 80,289,725 to 80,325,398on Robinhood Chain
  2. answered140 of 140 agreed140 needed
    #3342,803,655
    #1832,803,655
    #3092,803,655
    #19152,803,655
    #15332,803,655
    135 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
    0x7198a845cb8e20d52772cd5fc9f19d3eebba223367fccb7d734302fa557b34bb4451b746b8e7bfeda235ef991bed57cb4ed0815332d48a12decb902534e738921c
    signed panel
    140 agreed · quorum 140 · 200 seats
    question hash
    0xb57be40d45ced555351c8f0b7a881d1d3422bfe50e5ab880dcfc2ac4ecedc670
    answer type
    uint256
    consumer
    none named; signed for the zero address