Oracle

dc2087bbsigned

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

Answer

413,009,054.87

the spot price of v4 pool 0x2410…379e at the median of 5 blocks across the window: 413,009,054.87

413009054877266304704711449 uint256, 18 decimals

recipe
{"kind":"univ4-spot","poolManager":"0x8366a39cc670b4001a1121b8f6a443a643e40951","poolId":"0x24107d152f14a76d292123265ae3f3c71f863fc2f4ef7ba49d64e78d28ea379e","samples":5} — write recipe exactly this.
pool
PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0x24107d152f14a76d292123265ae3f3c71f863fc2f4ef7ba49d64e78d28ea379e: currency0 is native ETH (address 0) (18 decimals), currency1 is USDG 0x5fc5360d0400a0fd4f2af552add042d716f1d168 (6 decimals).
compute
scan.mjs --v4-spot --pool-manager 0x8366a39cc670b4001a1121b8f6a443a643e40951 --pool-id 0x24107d152f14a76d292123265ae3f3c71f863fc2f4ef7ba49d64e78d28ea379e --samples 5
poolId
0x24107d152f14a76d292123265ae3f3c71f863fc2f4ef7ba49d64e78d28ea379e
samples
5
poolManager
0x8366a39cc670b4001a1121b8f6a443a643e40951

Work

  1. Pinnedblocks 83,492,976 to 83,528,162on Robinhood Chain
  2. Answered145 of 145 agreed140 needed
    #1800413,009,054.87
    #13413,009,054.87
    #592413,009,054.87
    #943413,009,054.87
    #1678413,009,054.87
    140 more
  3. Signedby 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
    0xfe03532abc7bd5ff93ea550b7da6421fafec0fc5222e72259118bd1c2ce48c093efa8f0d9f9348a1d5f820f0372484ea5758442fe5e0c8cb9ab97a1a62ee93f51c
    signed panel
    145 agreed · quorum 140 · 200 seats
    question hash
    0x4d6ff7b50b5a9fb065f48fb251ac18ca084b70f05ea1612123d36a9c89d7f89f
    answer type
    uint256
    consumer
    none named; signed for the zero address