Assessment reports>Symbiotic>Threat Model>executeSlash

Function: executeSlash(uint256 slashIndex)

This function executes a queued slash request at slashIndex.

Inputs

  • slashIndex

    • Control: Completely controlled by the caller.

    • Constraints: Must be a valid index into the slashRequests array.

    • Impact: Index of the slash request.

Branches and code coverage (including function calls)

Intended branches

  • Vault is slashed.

  • Hook on delegator is called if it is set.

Negative behavior

  • Reverts if slashedAmount is an invalid index.

  • Reverts if vote window is still active.

  • Reverts if captureTimestamp of request is not in the current epoch.

  • Reverts if request is already completed.

Zellic © 2025Back to top ↑