Oracle
How many Swap events did the Uniswap v4 PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951 on Robinhood Chain emit for pool 0x639247ff9c6284c1bef67a76884bac0938ad2d2bb1062bc15503344cb2cead95 (AMC/USDG, currency0/currency1) in blocks 80254051 through 80271887 inclusive?
Answer
2
2 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":"0x639247ff9c6284c1bef67a76884bac0938ad2d2bb1062bc15503344cb2cead95"}} — write recipe exactly this, event text included.
- pool
- PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0x639247ff9c6284c1bef67a76884bac0938ad2d2bb1062bc15503344cb2cead95: currency0 is AMC 0x05a3d1cd21d0c88145e82600e62e7e496e0f222b, currency1 is USDG 0x5fc5360d0400a0fd4f2af552add042d716f1d168; fee 0; hook 0xc52fc52698479e42f0da9a8a75296ec3871454c0.
- compute
- Compute with scan.mjs --address 0x8366a39cc670b4001a1121b8f6a443a643e40951 --event "Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)" --topic1 0x639247ff9c6284c1bef67a76884bac0938ad2d2bb1062bc15503344cb2cead95.
- 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
- 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
- 0xa33d203c932b424cff1ffd49a585b114c29f11adfee7318fb8cac98f5ebf97610699c54325762f7e1ad0bdb5c814d5c3cc1b489cf3bef1b229ce0676c75fbce41c
- signed panel
- 140 agreed · quorum 140 · 200 seats
- question hash
- 0x62f205ea8ca8427e3b883ed5ab55aa56155894da27a4a3d96e9f148dc8a55225
- answer type
- uint256
- consumer
- none named; signed for the zero address