Assessment reportsPublic findings
Back to Zellic siteBack
↗
Assessment reports>Anzen and protocol-v2>Threat Model>finalizeEpoch
GeneralOverview
Findings
High (1)
Medium (3)
Low (2)
Informational (4)
DiscussionLack of test flows
Threat ModelWhat are threat models?AnzenGaugeControllerBaseUpg.sol
AnzenVotingControllerUpg.soladdPoolapplyPoolSlopeChangesbroadcastResultsfinalizeEpochforceBroadcastResultsremovePoolsetAnzenPerSecsetOwnerHelperupdatePoolWeightConfigvote
LockedUsdzMarket.solLockingToken.solMainnetUSDzMarket.solStakePool.solVotingEscrowAnzenMainchain.solVotingEscrowAnzenSidechain.solVotingResultBroadcaster.sol
Audit ResultsAssessment Results

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 ↑