Oracle

89759c5fsigned

On Base, what was the Uniswap v4 spot price of pool 0x381c95740e3e5a23d66b9757ade02d85e8810e3711f20aaa15c37e06963ab747 (STONKEX/USDC, currency0/currency1) the median over 13 evenly spaced blocks of the window (blocks 52163948 to 52165747, about 6 hours before 52176547), as currency0 per 1e18 raw currency1 in raw units?

Answer

141,750,407,594,018,731,866,106,651,829,060

the spot price of v4 pool 0x381c…b747 at the median of 13 blocks across the window: 141,750,407,594,018,731,866,106,651,829,060

141750407594018731866106651829060 uint256

recipe
{"kind":"univ4-spot","poolManager":"0x498581ff718922c3f8e6a244956af099b2652b2b","poolId":"0x381c95740e3e5a23d66b9757ade02d85e8810e3711f20aaa15c37e06963ab747","samples":13} — write recipe exactly this; compute with scan.mjs --v4-spot --samples 13.
pool
PoolManager 0x498581ff718922c3f8e6a244956af099b2652b2b; currency0 is STONKEX 0x5ab000ff9b9ffe0349ce5ffa5fd86f217c3680f5, currency1 is USDC 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913.
poolId
0x381c95740e3e5a23d66b9757ade02d85e8810e3711f20aaa15c37e06963ab747
samples
13
poolManager
0x498581ff718922c3f8e6a244956af099b2652b2b

Work

  1. pinnedblocks 52,163,948 to 52,165,747on Base
  2. answered142 of 142 agreed140 needed
    #40141,750,407,594,018,731,866,106,651,829,060
    #1578141,750,407,594,018,731,866,106,651,829,060
    #1548141,750,407,594,018,731,866,106,651,829,060
    #786141,750,407,594,018,731,866,106,651,829,060
    #1669141,750,407,594,018,731,866,106,651,829,060
    137 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
    0xf811ddd3ced2df621084ac87573e67cd20f783c8f7a051118a8213f13c516ce741b5eeaeba33f0ce0d13c09c47e4d8edc443a2d51239b89416419f5b5cd4188e1c
    signed panel
    142 agreed · quorum 140 · 200 seats
    question hash
    0x752a148e9ddabfb61b2591f51faa190df43f23cf1f7ddf1588d70e6e7d402fe1
    answer type
    uint256
    consumer
    none named; signed for the zero address