Oracle
How many Swap events did the Uniswap v4 PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951 on Robinhood Chain emit for pool 0x319bac87e616a89e241c10aeb8afd4892a852cdd8b373cd9765ecddc40b87cfe (USDG/MSTR, currency0/currency1) in blocks 80182703 through 80200539 inclusive?
Answer
1
1 Swap log 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":"0x319bac87e616a89e241c10aeb8afd4892a852cdd8b373cd9765ecddc40b87cfe"}} — write recipe exactly this, event text included.
- pool
- PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0x319bac87e616a89e241c10aeb8afd4892a852cdd8b373cd9765ecddc40b87cfe: currency0 is USDG 0x5fc5360d0400a0fd4f2af552add042d716f1d168, currency1 is MSTR 0xec262a75e413fafd0df80480274532c79d42da09; fee 2500; no hook.
- compute
- Compute with scan.mjs --address 0x8366a39cc670b4001a1121b8f6a443a643e40951 --event "Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)" --topic1 0x319bac87e616a89e241c10aeb8afd4892a852cdd8b373cd9765ecddc40b87cfe.
- 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,182,703 to 80,200,539on Robinhood Chain
- answered140 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
- 0x3d0f13feef35001e76cc10dd5f8e7f9408c95a2236253f11beda68830862521872d9775a7f8a5365de2b605af8de292f88ca2251f24426593eaa3701b031c9e11b
- signed panel
- 140 agreed · quorum 140 · 200 seats
- question hash
- 0xc4e20e209206df2ec6c0a6ab3fb6708bda6b9ff760ec84635af416c060d8e09e
- answer type
- uint256
- consumer
- none named; signed for the zero address