Oracle

1b07cb00signed

On Base, what was the Uniswap v4 spot price of pool 0xaf15cd1f9c3874bbcfddfc2b544544612c9de8c8bae28ba21c129c6b286c1e19 (ETH/USDC, currency0/currency1) at the window's last block (blocks 52208726 to 52210525, about 5 hours before 52219525), as currency1 per 1e18 raw currency0 in raw units?

Answer

0.0000000027

the spot price of v4 pool 0xaf15…1e19 at the closing block: 0.0000000027

2721303279 uint256, 18 decimals

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

Work

  1. pinnedblocks 52,208,726 to 52,210,525on Base
  2. answered145 of 145 agreed140 needed
    #4870.0000000027
    #19240.0000000027
    #19050.0000000027
    #7180.0000000027
    #8230.0000000027
    140 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
    0xf438c4d8dab190f7336cc242f77a6b699f498a7454ef49fdbe746def1406bb81741edfc113fe1d663491d4d7e607fb620a73fc88501e5a11edb29e962019ab441b
    signed panel
    145 agreed · quorum 140 · 200 seats
    question hash
    0x2f7bb29a98230705feb2e8841761f888be781393f9a9efae164087a985e074da
    answer type
    uint256
    consumer
    none named; signed for the zero address