Oracle

d578bb1dsigned

On Robinhood Chain, what was the Uniswap v4 spot price of pool 0xd0f36f913c83d95ab0e5f2cd2b991fc74bad741745ba9e7aeb6df8394c761f7b (COST/USDG, currency0/currency1) as the median over 9 evenly spaced blocks of the window (blocks 80334317 to 80369990, about 15 minutes before 80378909), as currency0 per 1e18 raw currency1 in raw units?

Answer

1,088,033,704,189,606,623,682,717,495

the spot price of v4 pool 0xd0f3…1f7b at the median of 9 blocks across the window: 1,088,033,704,189,606,623,682,717,495

1088033704189606623682717495 uint256

recipe
{"kind":"univ4-spot","poolManager":"0x8366a39cc670b4001a1121b8f6a443a643e40951","poolId":"0xd0f36f913c83d95ab0e5f2cd2b991fc74bad741745ba9e7aeb6df8394c761f7b","samples":9} — write recipe exactly this; compute with scan.mjs --v4-spot --pool-manager 0x8366a39cc670b4001a1121b8f6a443a643e40951 --pool-id 0xd0f36f913c83d95ab0e5f2cd2b991fc74bad741745ba9e7aeb6df8394c761f7b --samples 9.
pool
PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0xd0f36f913c83d95ab0e5f2cd2b991fc74bad741745ba9e7aeb6df8394c761f7b: currency0 is COST 0x4ea005168d7f09a7a0ba9d1def21a479950e44c2, currency1 is USDG 0x5fc5360d0400a0fd4f2af552add042d716f1d168; fee 880; no hook.
poolId
0xd0f36f913c83d95ab0e5f2cd2b991fc74bad741745ba9e7aeb6df8394c761f7b
samples
9
poolManager
0x8366a39cc670b4001a1121b8f6a443a643e40951

Work

  1. pinnedblocks 80,334,317 to 80,369,990on Robinhood Chain
  2. answered143 of 143 agreed140 needed
    #6161,088,033,704,189,606,623,682,717,495
    #151,088,033,704,189,606,623,682,717,495
    #1531,088,033,704,189,606,623,682,717,495
    #2931,088,033,704,189,606,623,682,717,495
    #18381,088,033,704,189,606,623,682,717,495
    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
    0x3b65f32988701307f3ef6d4edd6e345a0059fdc2f38ee656a333b226c44097c95c8b8b6b4bcf4dedf38f6281e348e2a8a9ac2c6603923159895f1ef6f813fb6a1c
    signed panel
    143 agreed · quorum 140 · 200 seats
    question hash
    0xa3ecc4d1a5cb0fd49ed77734717353c954685a4d1bfbb2030c7a36ef3f1639d7
    answer type
    uint256
    consumer
    none named; signed for the zero address