Oracle

1f0a5ef6signed

On Base, what was the Uniswap v4 spot price of pool 0x61837b458644cddfafd6fb95a2c52574adf64e03d647d077c3f99aefdeaa85b3 (boar/USDC, currency0/currency1) at the window's last block (blocks 52210526 to 52212325, about 4 hours before 52219525), as currency0 per 1e18 raw currency1 in raw units?

Answer

91,147,490,358,013,075.52

the spot price of v4 pool 0x6183…85b3 at the closing block: 91,147,490,358,013,075.52

91147490358013075522237619195861029 uint256, 18 decimals

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

Work

  1. pinnedblocks 52,210,526 to 52,212,325on Base
  2. answered144 of 144 agreed140 needed
    #63791,147,490,358,013,075.52
    #35191,147,490,358,013,075.52
    #18391,147,490,358,013,075.52
    #46391,147,490,358,013,075.52
    #59691,147,490,358,013,075.52
    139 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
    0x0906abdc0b1dc3cb54fb0d7afcab7346afc41cea482ad44c89e0ed610971d28c19adf4ac003eb9f88dd5f1ae6fd390bef209439a6101624caa7090ca31d830391b
    signed panel
    144 agreed · quorum 140 · 200 seats
    question hash
    0xec448ee01dcf3d6a4826fb5b2863246bf7a5ea292e481f5bfebc3b801e53272d
    answer type
    uint256
    consumer
    none named; signed for the zero address