Oracle
How many Swap events did the Uniswap v4 PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951 on Robinhood Chain emit for pool 0x24107d152f14a76d292123265ae3f3c71f863fc2f4ef7ba49d64e78d28ea379e (ETH/USDG, currency0/currency1) in blocks 81005542 through 81023242 inclusive?
Answer
0.00000000000000064
641 Swap logs of 0x8366…0951 in the window
641 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 81,005,542 to 81,023,242on Robinhood Chain
- answered140 of 141 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
- 0xa781f80175827278d30d7eb43defbe8db278df3bd364ca71a2d0e2ae39266dba2a4758548daf3f7ea1a6be3f11ff15d3800de1e5f26c2736f3a176b9402417ab1c
- signed panel
- 140 agreed · quorum 140 · 200 seats
- question hash
- 0x0917e4eabedefd668daa4cfe1bd7006fda1e287dd58bb1c37cabbf3c73ee8f10
- answer type
- uint256
- consumer
- none named; signed for the zero address