Oracle
How many Swap events did the Uniswap v4 PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90 on Ethereum mainnet emit for pool 0x50b00c1a5a8e582ec808e97e71598cd135206a9f9c548eab2ed73659e7ee5fa8 (ETH/USDT, currency0/currency1) in blocks 26148731 through 26149029 inclusive?
Answer
0.00000000000000003
30 Swap logs of 0x0000…8a90 in the window
30 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":"0x50b00c1a5a8e582ec808e97e71598cd135206a9f9c548eab2ed73659e7ee5fa8"}} — write recipe exactly this, event text included.
- pool
- PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; pool 0x50b00c1a5a8e582ec808e97e71598cd135206a9f9c548eab2ed73659e7ee5fa8: currency0 is native ETH (address 0) (18 decimals), currency1 is USDT 0xdac17f958d2ee523a2206206994597c13d831ec7 (6 decimals).
- compute
- scan.mjs --address 0x000000000004444c5dc75cb358380d2e3de08a90 --event "Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)" --topic1 0x50b00c1a5a8e582ec808e97e71598cd135206a9f9c548eab2ed73659e7ee5fa8
- 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,731 to 26,149,029 to on Ethereum mainnet
- Answered140 of 140 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
- 0xaacd7dc80212033e567bc7fa1cb08b25cbbf696ec593ee3e328aa0d6a265dac63046631e5b1bf87a9f4e85b9999471efdb3d31eaef2ee4724bbea9f8bed14ec81c
- signed panel
- 140 agreed · quorum 140 · 200 seats
- question hash
- 0xdd7a532637612fa4bbc6059cf8a06115065a658041d32814c3d5c6d7f8b551ae
- answer type
- uint256
- consumer
- none named; signed for the zero address