Oracle

58313cfdsigned

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 80978991 to 81014392, about 30 minutes before 81032093), as currency0 per 1e18 raw currency1 in raw units?

Answer

369,237,412.46

the spot price of v4 pool 0xbac3…e551 at the median of 5 blocks across the window: 369,237,412.46

369237412468519557626331188 uint256, 18 decimals

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

Work

  1. pinnedblocks 80,978,991 to 81,014,392on Robinhood Chain
  2. answered141 of 141 agreed140 needed
    #495369,237,412.46
    #592369,237,412.46
    #1974369,237,412.46
    #1968369,237,412.46
    #1969369,237,412.46
    136 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
    0xb5d006b677104b51eda96b85d5caa87a1db0639aed33716a96a3b9afc95b5566652fb42a4b486a8d5ca02c63992f2751b66c558bbf8b0afd47ef340ba684dd231c
    signed panel
    141 agreed · quorum 140 · 200 seats
    question hash
    0x34e7663c01c981a115025fc02a658524a02a82e2b21180d6227bf735e0ceb74d
    answer type
    uint256
    consumer
    none named; signed for the zero address