Oracle
How many Swap events did the Uniswap v4 PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90 on Ethereum mainnet emit for pool 0xc2199cbdb5c9e69e0fc6a1530fca96c4f767c6191cb1c1fe15caa5ad50b1c4aa (CLAUS/USDC, currency0/currency1) in blocks 26127861 through 26128159 inclusive?
Answer
0.00000000000000028
281 Swap logs of 0x0000…8a90 in the window
281 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":"0xc2199cbdb5c9e69e0fc6a1530fca96c4f767c6191cb1c1fe15caa5ad50b1c4aa"}} — write recipe exactly this, event text included.
- pool
- PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; pool 0xc2199cbdb5c9e69e0fc6a1530fca96c4f767c6191cb1c1fe15caa5ad50b1c4aa: currency0 is CLAUS 0x1b54e762aa34cf6e28e9c082f2848e28e45da6b8 (18 decimals), currency1 is USDC 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 (6 decimals).
- compute
- scan.mjs --address 0x000000000004444c5dc75cb358380d2e3de08a90 --event "Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)" --topic1 0xc2199cbdb5c9e69e0fc6a1530fca96c4f767c6191cb1c1fe15caa5ad50b1c4aa
- 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,127,861 to 26,128,159 to · on Ethereum mainnet
- answered148 of 148 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
- 0x506dd317501aad4993518873926938ec7b1583d84a5ae41e1488c86b77baac1d26f65ec2ee9346b9c1b5648050d29d8153a5532e20004ee74555ac83bc94e5af1b
- signed panel
- 148 agreed · quorum 140 · 200 seats
- question hash
- 0x4e22105c36b480c0b00e2c8aee44bb4812efb92ae4213815e2dba376eb82ceb6
- answer type
- uint256
- consumer
- none named; signed for the zero address