Oracle
How many Swap events did the Uniswap v4 PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951 on Robinhood Chain emit for pool 0xcf1738bb1cac79ca0623cf931b8e6536394942d896f3b0d9e33e8442cd40df6c (ETH/CUE, currency0/currency1) in blocks 80996692 through 81014392 inclusive?
Answer
0.00000000000000088
889 Swap logs of 0x8366…0951 in the window
889 uint256, 18 decimals
- 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":"0xcf1738bb1cac79ca0623cf931b8e6536394942d896f3b0d9e33e8442cd40df6c"}} — write recipe exactly this, event text included.
- pool
- PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0xcf1738bb1cac79ca0623cf931b8e6536394942d896f3b0d9e33e8442cd40df6c: currency0 is native ETH (address 0) (18 decimals), currency1 is CUE 0x915acb17d1d9a433d41376d95168fcd9cd962937 (18 decimals).
- compute
- scan.mjs --address 0x8366a39cc670b4001a1121b8f6a443a643e40951 --event "Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)" --topic1 0xcf1738bb1cac79ca0623cf931b8e6536394942d896f3b0d9e33e8442cd40df6c
- 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,996,692 to 81,014,392on Robinhood Chain
- answered143 of 143 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
- 0x3682ab65efed0e8709d75e40e7ba79b4779c8e5e07f4d0a49b8c34b81bfc551477360a656dc4cf2492a83e9a74101f40bed28352038481052532b9b84e874b111c
- signed panel
- 143 agreed · quorum 140 · 200 seats
- question hash
- 0x0e045fefe1767f1b0fc999fa598b5b53f1b696464ad90fac5b69129858f1a1cb
- answer type
- uint256
- consumer
- none named; signed for the zero address