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