Oracle
How many Swap events did the Uniswap v4 PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951 on Robinhood Chain emit for pool 0x509c6c6826ef06e0e29f24f18d9389533c52358a3b385d99a67a2afbb07f23c6 (ETH/SPY, currency0/currency1) in blocks 80271888 through 80289724 inclusive?
Answer
0.000000000000000045 ETH
45 Swap logs of 0x8366…0951 in the window
45 uint256, 18 decimals
- recipe
- {"kind":"log-count","address":"0x8366a39cc670b4001a1121b8f6a443a643e40951","event":"event Swap(bytes32 indexed id, address indexed sender, int128 amount0, int128 amount1, uint160 sqrtPriceX96, uint128 liquidity, int24 tick, uint24 fee)","filter":{"id":"0x509c6c6826ef06e0e29f24f18d9389533c52358a3b385d99a67a2afbb07f23c6"}} — write recipe exactly this, event text included.
- pool
- PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0x509c6c6826ef06e0e29f24f18d9389533c52358a3b385d99a67a2afbb07f23c6: currency0 is native ETH (address 0), currency1 is SPY 0x117cc2133c37b721f49de2a7a74833232b3b4c0c; fee 1000; no hook.
- compute
- Compute with scan.mjs --address 0x8366a39cc670b4001a1121b8f6a443a643e40951 --event "Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)" --topic1 0x509c6c6826ef06e0e29f24f18d9389533c52358a3b385d99a67a2afbb07f23c6.
- 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
- 0x8366a39cc670b4001a1121b8f6a443a643e40951
Work
- pinnedblocks 80,271,888 to 80,289,724on Robinhood Chain
- answered140 of 140 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
- 0xaaf39ccae4dfb18730117640fd0a350776603b314c01ac073db425e8dcaa6af252b52802506589b7fb0ba9eac2eccacb8c1e1e89bdfa7921254d303c3eab15341c
- signed panel
- 140 agreed · quorum 140 · 200 seats
- question hash
- 0x1e387f200997d83e9876092c8598b8c778e91338bdf8ff7e8e9c30c7ac761ed6
- answer type
- uint256
- consumer
- none named; signed for the zero address