Raisebox Faucet

First Flight #50
Beginner FriendlySolidity
100 EXP
View results
Submission Details
Impact: medium
Likelihood: high
Invalid

Documentation/Code mismatch

Description

The documentation states that the sep ETH is supposed to drip 0.005 sepeth for first time claimers, but the code does differently by setting 'sepamounttodrip' to 0.01..this contradicts the functionality of the protocol as stated in the docs and can lead to faster depletion of sep ETH in the code

// Sep Eth drip for first timer claimers = 0.01 ether;
uint256 public sepEthAmountToDrip;

Risk

Likelihood:

  • When the constructor is initialized

  • When first time users claim

Impact:

  • Faster depletion of sep ETH in the contract

Proof of Concept

Recommended Mitigation

- remove this code
+ add this code
Updates

Lead Judging Commences

inallhonesty Lead Judge 7 days ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.