Oracle
How many Swap events did the Uniswap v4 PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951 on Robinhood Chain emit for pool 0x8517f8071ae5b831b738052f12125e8e3d6c158b78728aa44ce3b25e5104d32e (TSLA/USDG, currency0/currency1) in blocks 80289725 through 80307561 inclusive?
Answer
5
5 Swap logs of 0x8366…0951 in the window
- 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":"0x8517f8071ae5b831b738052f12125e8e3d6c158b78728aa44ce3b25e5104d32e"}} — write recipe exactly this, event text included.
- pool
- PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0x8517f8071ae5b831b738052f12125e8e3d6c158b78728aa44ce3b25e5104d32e: currency0 is TSLA 0x322f0929c4625ed5bad873c95208d54e1c003b2d, currency1 is USDG 0x5fc5360d0400a0fd4f2af552add042d716f1d168; fee 3000; no hook.
- compute
- Compute with scan.mjs --address 0x8366a39cc670b4001a1121b8f6a443a643e40951 --event "Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)" --topic1 0x8517f8071ae5b831b738052f12125e8e3d6c158b78728aa44ce3b25e5104d32e.
- 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,289,725 to 80,307,561on Robinhood Chain
- answered141 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
- 0x488fddaa3674e90c2a2bc47ddde57a6f75a2ddbad45232868045fb17d4dd53c57880e0857eaeae5707ed99dc2f2305dde43d49725e57a2dbc834e73ff933c1fa1b
- signed panel
- 141 agreed · quorum 140 · 200 seats
- question hash
- 0x5666ad308b435c57b7e1fb996c68ec1c180c75bf0eff555ac015937a09b89b91
- answer type
- uint256
- consumer
- none named; signed for the zero address