The constructor of the FjordPoints
contract is documented to initialize the contract, but it fails to set the staking
address, which is essential for its operations.
Proper initialization of the staking address is crucial as it affects functions like onStaked
and onUnstaked
.
The contract relies on the staking address to record staked and unstaked tokens. Without setting this address, the contract cannot properly interact with the staking mechanism, leading to potential failures in token management, until it is set manually by calling setStakingContract()
function.
Manual review.
Modify the constructor to include initialization of the staking address.
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.