Oracle

57effda3signed

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

Answer

0.0000000026

the spot price of v4 pool 0x2410…379e at the median of 9 blocks across the window: 0.0000000026

2694151833 uint256, 18 decimals

recipe
{"kind":"univ4-spot","poolManager":"0x8366a39cc670b4001a1121b8f6a443a643e40951","poolId":"0x24107d152f14a76d292123265ae3f3c71f863fc2f4ef7ba49d64e78d28ea379e","invert":true,"samples":9} — 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 --invert --samples 9
invert
true
poolId
0x24107d152f14a76d292123265ae3f3c71f863fc2f4ef7ba49d64e78d28ea379e
samples
9
poolManager
0x8366a39cc670b4001a1121b8f6a443a643e40951

Work

  1. pinnedblocks 80,925,888 to 80,961,289on Robinhood Chain
  2. answered143 of 143 agreed140 needed
    #3550.0000000026
    #2930.0000000026
    #5030.0000000026
    #5400.0000000026
    #10420.0000000026
    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
    0x741c892dcf5a386b266cdc079e64dbbf933ee30caadf315b22ccce86880de0923505c1680860b060a5b39217308206c8cf38c7158d1d31ae10836455486929d71c
    signed panel
    143 agreed · quorum 140 · 200 seats
    question hash
    0x54e6065990f283663fbb2d1d41ecd24f7c94251280ec38088bcc249609807472
    answer type
    uint256
    consumer
    none named; signed for the zero address