//id-staking-v2/contracts/IdentityStaking.sol

  function slash(
    address[] calldata selfStakers,
    address[] calldata communityStakers,
    address[] calldata communityStakees,
    uint88 percent
  ) external onlyRole(SLASHER_ROLE) whenNotPaused {
...
    for (uint256 i = 0; i < numSelfStakers; i++) {
...
|>      emit Slash(staker, slashedAmount, currentSlashRound);
    }
...
    for (uint256 i = 0; i < numCommunityStakers; i++) {
...
|>      emit Slash(staker, slashedAmount, currentSlashRound);
    }
  }
