Assessment reports>Anzen and protocol-v2>Threat Model>finalizeEpoch

Function: finalizeEpoch()

This function is used to finalize the voting results of all pools, up to the current epoch.

Branches and code coverage

Intended branches

  • Call applyPoolSlopeChanges() for all active pools.

  • Set all past epochs as finalized.

Zellic © 2025Back to top ↑