Oracle
How many Swap events did the Uniswap v4 PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951 on Robinhood Chain emit for pool 0x75f935c85b5c605531df0c0b0ed1768f4dad87b2bc90711c850f2bed6bfcee45 (ETH/CRH, currency0/currency1) in blocks 83528163 through 83545756 inclusive?
Answer
0.00000000000000077
770 Swap logs of 0x8366…0951 in the window
770 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":"0x75f935c85b5c605531df0c0b0ed1768f4dad87b2bc90711c850f2bed6bfcee45"}} — write recipe exactly this, event text included.
- pool
- PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0x75f935c85b5c605531df0c0b0ed1768f4dad87b2bc90711c850f2bed6bfcee45: currency0 is native ETH (address 0) (18 decimals), currency1 is CRH 0xfdc5754d112ec8702809f19c81ff9f55be70c400 (18 decimals).
- compute
- scan.mjs --address 0x8366a39cc670b4001a1121b8f6a443a643e40951 --event "Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)" --topic1 0x75f935c85b5c605531df0c0b0ed1768f4dad87b2bc90711c850f2bed6bfcee45
- 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 83,528,163 to 83,545,756on Robinhood Chain
- Answered140 of 140 agreed140 needed
Signedby 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
- 0x5ad8327f2fe6a6b5da0054e6be1f957bc11a565b118694f12e36249179e98f112e1906f55b2c5d11c741c57f635ef1402f42afbc7460f166e42f0e774bf60de31b
- signed panel
- 140 agreed · quorum 140 · 200 seats
- question hash
- 0xc29118fd2e2ae78b073563ad22419e738766dd0946635a140667240c52f0cee0
- answer type
- uint256
- consumer
- none named; signed for the zero address