IDelegatorHook
Methods
onSlash
function onSlash(bytes32 subnetwork, address operator, uint256 amount, uint48 captureTimestamp, bytes data) external nonpayable
Called when a slash happens.
Parameters
Name | Type | Description |
---|---|---|
subnetwork | bytes32 | full identifier of the subnetwork (address of the network concatenated with the uint96 identifier) |
operator | address | address of the operator |
amount | uint256 | amount of the collateral to be slashed |
captureTimestamp | uint48 | time point when the stake was captured |
data | bytes | some additional data |