Oracle

3b44d1c2signed

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

Answer

0.0000000024

the spot price of v4 pool 0xbac3…e551 at the median of 5 blocks across the window: 0.0000000024

2447773371 uint256, 18 decimals

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

Work

  1. Pinnedblocks 83,528,163 to 83,563,349on Robinhood Chain
  2. Answered140 of 140 agreed140 needed
    #17430.0000000024
    #3430.0000000024
    #19700.0000000024
    #19530.0000000024
    #1630.0000000024
    135 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
    0x38b3f576d9274bf0ec85bda6ddb7de6a290da0c9b02e9325c8f6741b2340353c13e5d42d4e869ce785b0c71c95b6911893a3cffd4d8a339cdacd33666a775cac1c
    signed panel
    140 agreed · quorum 140 · 200 seats
    question hash
    0x39e0129940a4b557de3c793a9a78a06a6eef37e928bea4291acb3f2b8ce677d0
    answer type
    uint256
    consumer
    none named; signed for the zero address