Constructors can be made payable to save on gas
Constructor in Staking.sol line 31 is not payable
Constructor in Lender.sol line 73 is not payable
Constructor in Fees.sol line 19 is not payable
Constructor in Beedle.sol line 11 is not payable
By not making constructors not payable the compiler will have to do a check
if(msg.value != 0) so that is reverts if value is sent in. Therefore to save on gas make all constructors payable.
Gas Savings: Payable constructor avoids about 10 Opcodes e.g CALLVALUE DUP1 ISZERO PUSH1 JUMP1
PUSH1 DUP1 REVERT JUMPDEST POP. This reduces opcodes and reduces deployment costs
Manual Analysis
It is recommended to make constructors payable to save on deployment costs
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.