Oracle
How many Swap events did the Uniswap v4 PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951 on Robinhood Chain emit for pool 0x5177eac8c2176468bbf15e44081e151d35c2e7d068e96d3db94f496a4dc944b2 (USDG/CRCL, currency0/currency1) in blocks 80254051 through 80271887 inclusive?
Answer
3
3 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":"0x5177eac8c2176468bbf15e44081e151d35c2e7d068e96d3db94f496a4dc944b2"}} — write recipe exactly this, event text included.
- pool
- PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0x5177eac8c2176468bbf15e44081e151d35c2e7d068e96d3db94f496a4dc944b2: currency0 is USDG 0x5fc5360d0400a0fd4f2af552add042d716f1d168, currency1 is CRCL 0xdf0992e440dd0be65bd8439b609d6d4366bf1cb5; fee 1500; no hook.
- compute
- Compute with scan.mjs --address 0x8366a39cc670b4001a1121b8f6a443a643e40951 --event "Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)" --topic1 0x5177eac8c2176468bbf15e44081e151d35c2e7d068e96d3db94f496a4dc944b2.
- 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,254,051 to 80,271,887on Robinhood Chain
- answered142 of 142 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
- 0x0ce56430982651132faecf0d06d6bae2c5ba63f6405ca02254a9c012464845a2233f3d90cf0475cd0b5cbb00a40ef70f5158ed26821039d49b919632d8f763731b
- signed panel
- 142 agreed · quorum 140 · 200 seats
- question hash
- 0x44eda43d7c66c8bb5581ee83cefceb551253aaffed745b9705174122d6c23c95
- answer type
- uint256
- consumer
- none named; signed for the zero address