Assessment reportsPublic findings
Back to Zellic site
↗
Assessment reports>Prisma Finance>Threat Models>clearVote
GeneralOverview
Findings
Critical (1)
Low (1)
Informational (2)
DiscussionInaccurate require stringInconsistent update of `lastDefaultInterestUpdate`Unused codeDiscrepancy between interface and implementationMissing test suite
Threat ModelsWhat are threat models?AdminVoting.solAllocationVesting.solBorrowerOperations.solConvexDepositToken.solDebtToken.solFactory.sol
IncentiveVoting.solclearRegisteredWeightclearVoteregisterAccountWeightregisterAccountWeightAndVotevote
LiquidationManager.solPriceFeed.solPrismaToken.solSortedTroves.solStabilityPool.solTokenLocker.solTreasury.solTroveManager.sol
Audit ResultsSummary
AppendixAppendix

Function: clearVote(address account)

Remove all active votes for the caller.

Inputs

  • account

    • Control: Controlled by the user.

    • Constraints: N/A.

    • Impact: The account's vote will be cleared.

Branches and code coverage (including function calls)

Intended branches

  • Successfully clear votes.

Zellic © 2025Back to top ↑