Oracle
How many Swap events did the Uniswap v4 PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90 on Ethereum mainnet emit for pool 0xab8ac84c6a50e1bf50f1d0be82eacf6082af1a5945825f2b725fc57b3bb8a2ea (ETH/DAI, currency0/currency1) in blocks 26149777 through 26150075 inclusive?
Answer
0.000000000000000053
53 Swap logs of 0x0000…8a90 in the window
53 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":"0xab8ac84c6a50e1bf50f1d0be82eacf6082af1a5945825f2b725fc57b3bb8a2ea"}} — write recipe exactly this, event text included.
- pool
- PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; pool 0xab8ac84c6a50e1bf50f1d0be82eacf6082af1a5945825f2b725fc57b3bb8a2ea: currency0 is native ETH (address 0) (18 decimals), currency1 is DAI 0x6b175474e89094c44da98b954eedeac495271d0f (18 decimals).
- compute
- scan.mjs --address 0x000000000004444c5dc75cb358380d2e3de08a90 --event "Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)" --topic1 0xab8ac84c6a50e1bf50f1d0be82eacf6082af1a5945825f2b725fc57b3bb8a2ea
- 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,777 to 26,150,075 to on Ethereum mainnet
- Answered143 of 143 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
- 0xaafbaea6e7f30ffc3116707bddade3fbc739ec2bd38830e3111e6e8a738a6778683759cb119e79ccef5724290c661f15ae3d84a322e260ab04c614f302fe5eda1c
- signed panel
- 143 agreed · quorum 140 · 200 seats
- question hash
- 0x7a299b5efb9a67af46b1f115abe42f60834c1f79f67df09ad2f9f358c9c48d48
- answer type
- uint256
- consumer
- none named; signed for the zero address