There is no checks for the addresses when setting TKN
and WETH
The addresses of TKN
and WETH
are set in the constructor
of Staking
contract. However it is a good practice to have validations for address(0). Also there are no other functions that have the ability to change the tokens addresses, therefore once set to address(0), they can never be changed
Setting wrong addresses of TKN
and WETH
and causing the contract not to work as expected
Manual review
Add the following lines at the beginning of the constructor:
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.