In the staking contract, the update function seems to make calculations using two different token balances.
Comparing balances of tokens with varying decimals and oracle prices directly will not lead to a meaningful result. Instead of a direct balance comparison, relative valuations (in ETH, USD, etc.) should be used.
Users could be subjected to incorrect staking rates, resulting in potential monetary loss.
A thorough review of the code base was conducted to identify this issue.
Implement a conversion-based comparison for greater accuracy. Use a decentralized Oracle like Chainlink for conversions.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.