Oracle

3e974f60signed

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

Answer

367,630,316.95

the spot price of v4 pool 0xbac3…e551 at the median of 9 blocks across the window: 367,630,316.95

367630316955824321805764057 uint256, 18 decimals

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

Work

  1. pinnedblocks 80,819,682 to 80,855,083on Robinhood Chain
  2. answered140 of 140 agreed140 needed
    #442367,630,316.95
    #182367,630,316.95
    #309367,630,316.95
    #729367,630,316.95
    #798367,630,316.95
    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
    0xab23e9fa5e901d79e43f5ef0d012a63bd7637e6f688e57ba4268ff22118b3d423e2454341902a6f1de5428ea0dac0b86392947a3a8caf936a131b8524453c97e1c
    signed panel
    140 agreed · quorum 140 · 200 seats
    question hash
    0x080aa959c0eb68bedb0eb9a0411422beb9f882d22b979aa0190538b8b2e6560e
    answer type
    uint256
    consumer
    none named; signed for the zero address