Oracle
How many Swap events did the Uniswap v4 PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90 on Ethereum mainnet emit for pool 0x2b21c65d9a7dc6926ee330a1c6e5a8037fd81774f3dc066536f800128e39f634 (USDC/USDT, currency0/currency1) in blocks 26149030 through 26149328 inclusive?
Answer
0.00009
90 Swap logs of 0x0000…8a90 in the window
90 uint256, 6 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":"0x2b21c65d9a7dc6926ee330a1c6e5a8037fd81774f3dc066536f800128e39f634"}} — write recipe exactly this, event text included.
- pool
- PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; pool 0x2b21c65d9a7dc6926ee330a1c6e5a8037fd81774f3dc066536f800128e39f634: currency0 is USDC 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 (6 decimals), currency1 is USDT 0xdac17f958d2ee523a2206206994597c13d831ec7 (6 decimals).
- compute
- scan.mjs --address 0x000000000004444c5dc75cb358380d2e3de08a90 --event "Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)" --topic1 0x2b21c65d9a7dc6926ee330a1c6e5a8037fd81774f3dc066536f800128e39f634
- 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,149,030 to 26,149,328 to on Ethereum mainnet
- Answered141 of 141 agreed140 needed
Signedby the attester 0x5598…2982reproduced firstexpired
Checking the signature in this browser.
- typed data
- the exact bytes a consumer verifies, as JSON
- attester
- 0x5598aa9146215bc13eb26f2c692ad1461fd32982
- signature
- 0xee4c5bd957ff9936c518d4fdc305e059e18d6f27c389297ad9419c942582e07a7d9df7982ab2ea23543634ff7033bf510db1fd002e950646ba0ce3bef78d18e21c
- signed panel
- 141 agreed · quorum 140 · 200 seats
- question hash
- 0xabd55b447110e1107056477656e67bccba72a39fefed98b52d141d0e4cf304a3
- answer type
- uint256
- consumer
- none named; signed for the zero address