Oracle
How many Swap events did the Uniswap v4 PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951 on Robinhood Chain emit for pool 0x24107d152f14a76d292123265ae3f3c71f863fc2f4ef7ba49d64e78d28ea379e (ETH/USDG, currency0/currency1) in blocks 83528163 through 83545756 inclusive?
Answer
0.00000000000000069
692 Swap logs of 0x8366…0951 in the window
692 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":"0x24107d152f14a76d292123265ae3f3c71f863fc2f4ef7ba49d64e78d28ea379e"}} — write recipe exactly this, event text included.
- pool
- PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0x24107d152f14a76d292123265ae3f3c71f863fc2f4ef7ba49d64e78d28ea379e: currency0 is native ETH (address 0) (18 decimals), currency1 is USDG 0x5fc5360d0400a0fd4f2af552add042d716f1d168 (6 decimals).
- compute
- scan.mjs --address 0x8366a39cc670b4001a1121b8f6a443a643e40951 --event "Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)" --topic1 0x24107d152f14a76d292123265ae3f3c71f863fc2f4ef7ba49d64e78d28ea379e
- 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 83,528,163 to 83,545,756on Robinhood Chain
- Answered140 of 140 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
- 0xa5355d495a6e12371a495345567b6981a367236fb6ec02bbf6bae1bd1c5b1ee427e08a1586106e6da916e207efcc02621a7ea53b318b96d90c583e61ab09bda01b
- signed panel
- 140 agreed · quorum 140 · 200 seats
- question hash
- 0x98c6d417a3d4700ae81f77fe95f545db01a817bcf9cee7d3de82a5e881aefec5
- answer type
- uint256
- consumer
- none named; signed for the zero address