Skip to main content

IDelegatorHook

Git Source

Methods

onSlash

function onSlash(bytes32 subnetwork, address operator, uint256 amount, uint48 captureTimestamp, bytes data) external nonpayable

Called when a slash happens.

Parameters

NameTypeDescription
subnetworkbytes32full identifier of the subnetwork (address of the network concatenated with the uint96 identifier)
operatoraddressaddress of the operator
amountuint256amount of the collateral to be slashed
captureTimestampuint48time point when the stake was captured
databytessome additional data