Oracle

69343e32signed

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

Answer

36,025,560,933,019,089,130,465,079,275

the spot price of v4 pool 0x632d…6be4 at the median of 5 blocks across the window: 36,025,560,933,019,089,130,465,079,275

36025560933019089130465079275 uint256

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

Work

  1. pinnedblocks 80,254,051 to 80,289,724on Robinhood Chain
  2. answered140 of 140 agreed140 needed
    #536,025,560,933,019,089,130,465,079,275
    #59536,025,560,933,019,089,130,465,079,275
    #197436,025,560,933,019,089,130,465,079,275
    #188436,025,560,933,019,089,130,465,079,275
    #78136,025,560,933,019,089,130,465,079,275
    135 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
    0xc568e7934e0024494b766af90538811ccf1a28f1def1c6f3e645210d439fa63a18b181775119499e73fb1b1d85da3368391b67d0672f8d7a6afc446f2e92d0bb1b
    signed panel
    140 agreed · quorum 140 · 200 seats
    question hash
    0x08b79cf73ac7f3e772c7b3aa4f388012b4171ad9e99df45e656e071917ebf681
    answer type
    uint256
    consumer
    none named; signed for the zero address