CertiK reviewed Lithium Finance (Lithium Finance Ⅳ) on 13 Dec 2022: 14 findings, 0 critical; 5 marked fixed, 9 acknowledged.
Report hosted on skynet.certik.com.
Trustblock does not review code.
Statuses are the security firm’s own, from its report.
| Severity | Open | Acknowledged | Fixed |
|---|---|---|---|
| Critical | 0 | 0 | 0 |
| High | 0 | 1 | 0 |
| Medium | 0 | 1 | 0 |
| Low | 0 | 7 | 5 |
The variable `_burnRate` and `maxRewardRp` could be set without reasonable boundaries, hence they could be set arbitrarily.
Whether the price expert's answer is correct or not, the corresponding stake token and RP_TOKEN can always be refunded. Therefore, the staked token cannot restrict malicious quotations, and as a winner, the staked token cannot affect the reward obtained. Hence we would like to know the role of the staked token.
When the values of `_stakeToken` and `_rp` are both greater than their respective thresholds (`tokenStakeThreshold` and `rpStakeThreshold`), the `maxRPMultiplier` should ensure that the result of `(_rp * enquiries[_enquiryId].maxRPMultiplier) / precision` is greater than the `tokenStakeThreshold`, or the transaction will be reverted. This condition is necessary to prevent potential issues with the stake thresholds.
When invoking `refundEnquiry()`, all of the reward tokens are transferred to the `treasury` instead of the seeker who initially provide the fund.
The contracts cited have an unlocked compiler version. An unlocked compiler version in the source code of the contract permits the user to compile it at or above a particular version. This, in turn, leads to differences in the generated bytecode between compilations due to differing compiler version numbers. This can lead to ambiguity when debugging, as compiler-specific bugs may occur in the codebase that would be hard to identify over a span of multiple compiler versions rather than a specific one.
The report names a repository or files. Open the report to see its scope.
Repository and files the report names (6)
1,044 projects reviewed · 1,375 reports · latest May 2025
See CertiK’s auditsSomething wrong on this page? A missing report, a wrong date, a finding that was fixed since. Tell us and we check it against its source.
Tell us