Oracle
How many Swap events did the Uniswap v4 PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951 on Robinhood Chain emit for pool 0xa5d2fa75a050327b6a0e3a6020994fea5a9df413e0e031045399411e1616b2e3 (ETH/U, currency0/currency1) in blocks 83510569 through 83528162 inclusive?
Answer
0.00000000000000021
218 Swap logs of 0x8366…0951 in the window
218 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":"0xa5d2fa75a050327b6a0e3a6020994fea5a9df413e0e031045399411e1616b2e3"}} — write recipe exactly this, event text included.
- pool
- PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0xa5d2fa75a050327b6a0e3a6020994fea5a9df413e0e031045399411e1616b2e3: currency0 is native ETH (address 0) (18 decimals), currency1 is U 0xce24439f2d9c6a2289f741120fe202248b666666 (18 decimals).
- compute
- scan.mjs --address 0x8366a39cc670b4001a1121b8f6a443a643e40951 --event "Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)" --topic1 0xa5d2fa75a050327b6a0e3a6020994fea5a9df413e0e031045399411e1616b2e3
- 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,510,569 to 83,528,162on Robinhood Chain
- Answered140 of 141 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
- 0x7910169e42587c0a7366bbd1301220889d415149416191aa70ad68562d3d8f8c2c2e1dc0e7986e0a8645ea63066475f03309f382a57d1a65551d22ba9488b1431b
- signed panel
- 140 agreed · quorum 140 · 200 seats
- question hash
- 0x1b807b5ceb7c492f90a05f1b7c831b0478e2602ba79e0b9042b98e68b930acb5
- answer type
- uint256
- consumer
- none named; signed for the zero address