Skip to content
RED SAGSkills
hard20 pts · first answer countssmart-contract-securitydefi

Reward rate from the token balance

A staking contract computes reward per staked token from token.balanceOf(address(this)) instead of its own totalStaked variable. Why is this risky?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions