Oracle
How many Swap events did the Uniswap v4 PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90 on Ethereum mainnet emit for pool 0x9f2d9491277a9f2551c1f7533c1789aa6023bba0c5e9397e8a019cac5c10fe7f (apxUSD/USDC, currency0/currency1) in blocks 26148432 through 26148730 inclusive?
Answer
0.000000000000000001
1 Swap log of 0x0000…8a90 in the window
1 uint256, 18 decimals
- recipe
- {"kind":"log-count","address":"0x000000000004444c5dc75cb358380d2e3de08a90","event":"event Swap(bytes32 indexed id, address indexed sender, int128 amount0, int128 amount1, uint160 sqrtPriceX96, uint128 liquidity, int24 tick, uint24 fee)","filter":{"id":"0x9f2d9491277a9f2551c1f7533c1789aa6023bba0c5e9397e8a019cac5c10fe7f"}} — write recipe exactly this, event text included.
- pool
- PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; pool 0x9f2d9491277a9f2551c1f7533c1789aa6023bba0c5e9397e8a019cac5c10fe7f: currency0 is apxUSD 0x98a878b1cd98131b271883b390f68d2c90674665 (18 decimals), currency1 is USDC 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 (6 decimals).
- compute
- scan.mjs --address 0x000000000004444c5dc75cb358380d2e3de08a90 --event "Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)" --topic1 0x9f2d9491277a9f2551c1f7533c1789aa6023bba0c5e9397e8a019cac5c10fe7f
- event
- event Swap(bytes32 indexed id, address indexed sender, int128 amount0, int128 amount1, uint160 sqrtPriceX96, uint128 liquidity, int24 tick, uint24 fee)
- filter
- [object Object]
- address
- 0x000000000004444c5dc75cb358380d2e3de08a90
Work
- Pinnedblocks 26,148,432 to 26,148,730 to on Ethereum mainnet
- Answered144 of 144 agreed140 needed
Signedby 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
- 0xa905a52b0f30a35765b8484556fd191a6a299867e44ede1f25dd6bd1bc31d0514c02cb1e42f6abeaf1d4d53a4806773f01afd5aaf36ec802e842e374c7d630921c
- signed panel
- 144 agreed · quorum 140 · 200 seats
- question hash
- 0x49632e72fc18eba4de4166448f2188fa286509ca75cba5c07f320af525b758fc
- answer type
- uint256
- consumer
- none named; signed for the zero address