Oracle
On Base, what was the Uniswap v4 spot price of pool 0xc9786476d2492eb8ddb2ebf8b4b69e227e1f31397c790d877541ab0ed5cf5ee2 (BSTONK/USDC, currency0/currency1) at the window's last block (blocks 52215026 to 52216825, about 1.5 hours before 52219525), as currency0 per 1e18 raw currency1 in raw units?
Answer
703,711,804,713,681.41
the spot price of v4 pool 0xc978…5ee2 at the closing block: 703,711,804,713,681.41
703711804713681418209869477297817 uint256, 18 decimals
- recipe
- {"kind":"univ4-spot","poolManager":"0x498581ff718922c3f8e6a244956af099b2652b2b","poolId":"0xc9786476d2492eb8ddb2ebf8b4b69e227e1f31397c790d877541ab0ed5cf5ee2"} — write recipe exactly this.
- pool
- PoolManager 0x498581ff718922c3f8e6a244956af099b2652b2b; pool 0xc9786476d2492eb8ddb2ebf8b4b69e227e1f31397c790d877541ab0ed5cf5ee2: currency0 is BSTONK 0x0f61edbfe6cd86024c0f210c0695b08df55fdfc9 (18 decimals), currency1 is USDC 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 (6 decimals).
- compute
- scan.mjs --v4-spot --pool-manager 0x498581ff718922c3f8e6a244956af099b2652b2b --pool-id 0xc9786476d2492eb8ddb2ebf8b4b69e227e1f31397c790d877541ab0ed5cf5ee2
- poolId
- 0xc9786476d2492eb8ddb2ebf8b4b69e227e1f31397c790d877541ab0ed5cf5ee2
- poolManager
- 0x498581ff718922c3f8e6a244956af099b2652b2b
Work
- pinnedblocks 52,215,026 to 52,216,825on Base
- answered144 of 144 agreed140 needed
- 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
- 0x6c0c4578045386083816fb6aceb948ed57999c4c4605e8272bfc97d6f8499dd935c6de1d47d77f2ef13cb296f2c4ca5b8ea9496f7ca2706194ea647ba5b9a3d41b
- signed panel
- 144 agreed · quorum 140 · 200 seats
- question hash
- 0xcbf552d42ce0c44fa39317da9001e8612fbc10e31987e31e2758a57bbb7e386d
- answer type
- uint256
- consumer
- none named; signed for the zero address