Oracle
How many Swap events did the Uniswap v4 PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951 on Robinhood Chain emit for pool 0xbac3aa3b91584a53a579b3c999a56756e954e59247e497bad1d25a4334bde551 (ETH/USDG, currency0/currency1) in blocks 81005542 through 81023242 inclusive?
Answer
0.00000000000000019
198 Swap logs of 0x8366…0951 in the window
198 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":"0xbac3aa3b91584a53a579b3c999a56756e954e59247e497bad1d25a4334bde551"}} — write recipe exactly this, event text included.
- pool
- PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0xbac3aa3b91584a53a579b3c999a56756e954e59247e497bad1d25a4334bde551: 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 0xbac3aa3b91584a53a579b3c999a56756e954e59247e497bad1d25a4334bde551
- 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 81,005,542 to 81,023,242on 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
- 0x82c5895195144bdf3133e57195042b41f9e879def99045813d35dd5cfd1657e038cf7c582e5d63c7dbb3107a1b7755d71fb9db1a278725157cc461dc10c90e6c1c
- signed panel
- 140 agreed · quorum 140 · 200 seats
- question hash
- 0x507c31b54f83091fa65250a1c7ab94a1576eedea7966067ffd8aa67c82df3e41
- answer type
- uint256
- consumer
- none named; signed for the zero address