Assessment reportsPublic findings
Back to Zellic site
↗
Assessment reports>Staking>Threat Model>compound
GeneralOverview
Findings
High (1)
Medium (1)
Informational (2)
DiscussionDeployment failure could waste gasTesting coverage assessment
Threat ModelWhat are threat models?BonusDistributor.solRewardDistributor.solRewardTracker.solStakingAdmin.sol
StakingRouter.solclaimclaimPoolcompoundcompoundForAccountstakeEsGsstakeEsGsbstakeGsstakeGsForAccountstakeLoanstakeLoanForAccountstakeLpstakeLpForAccountunstakeEsGsunstakeEsGsbunstakeGsunstakeLoanunstakeLoanForAccountunstakeLpunstakeLpForAccountvestEsGsvestEsGsForPoolvestEsGsbwithdrawEsGswithdrawEsGsForPoolwithdrawEsGsb
Vester.solVesterNoReserve.sol
Audit ResultsSummary

Function: compound()

Allows a user to compound their rewards (i.e., claim -> stake).

Branches and code coverage (including function calls)

Intended branches

  • Should claim rewards and stake them back.

  • Assumes all other relevant checks are performed in each claimForAccount and stakeForAccount function.

Zellic © 2025Back to top ↑