Oracle
How many Swap events did the Uniswap v4 PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951 on Robinhood Chain emit for pool 0x31a1b3d256eb634d1d75d43b91d4b7db0110a91a83a54816977b2b7510648586 (SPCX/MOONCOIN, currency0/currency1) in blocks 80334317 through 80352153 inclusive?
Answer
42
42 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":"0x31a1b3d256eb634d1d75d43b91d4b7db0110a91a83a54816977b2b7510648586"}} — write recipe exactly this, event text included.
- pool
- PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0x31a1b3d256eb634d1d75d43b91d4b7db0110a91a83a54816977b2b7510648586: currency0 is SPCX 0x4a0e65a3eccec6dbe60ae065f2e7bb85fae35eea, currency1 is MOONCOIN 0x6187fcb95dcc42a8d47c2f3906e523fee5bfd09e; fee 8388608; a LONG (long.xyz) stock-paired memecoin pool, hook 0x4e3468951d49f2eea976ed0d6e75ffcb44a9a544.
- compute
- Compute with scan.mjs --address 0x8366a39cc670b4001a1121b8f6a443a643e40951 --event "Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)" --topic1 0x31a1b3d256eb634d1d75d43b91d4b7db0110a91a83a54816977b2b7510648586.
- 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,334,317 to 80,352,153on Robinhood Chain
- answered139 of 140 agreed140 needed
- signed
by the attester 0x5598…2982reproduced firstexpired
Checking the signature in this browser.
- typed data
- the exact bytes a consumer verifies, as JSON
- attester
- 0x5598aa9146215bc13eb26f2c692ad1461fd32982
- signature
- 0xfc4da9fbf23daf37a2d4176353c42c7aa6a5a9ffd46ee1e15436ea91043e0ac13c736fb1de4e816ecbcff2e5306fb68cf11c229231b111d1556387d5a94a8f3e1c
- signed panel
- 139 agreed · quorum 140 · 200 seats
- question hash
- 0xfb665152e3a943091a3643f7049a4eb8d05e8de149c1b9aa98d84c592881f446
- answer type
- uint256
- consumer
- none named; signed for the zero address