CertiK reviewed dHEDGE (dHEDGE - Ⅳ) on 1 Dec 2022: 17 findings, 0 critical; 12 marked fixed, 3 acknowledged, 2 open.
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 | 2 | 1 |
| Medium | 0 | 1 | 0 |
| Low | 2 | 0 | 11 |
At the linked locations, boolean variables are compared to boolean constants. Boolean constants can be used directly and do not need to be compared to true or false.
The following require statement: ```solidity require(dhtAmount > 0, "Must add some dht"); ``` is made two times inside `addDhtToStake()`: - at line 134 before calling `safeTransferFrom()`; - inside the call to `_addAdditionalDHTToStake()` at line 283. This duplication can be avoided by removing the require statement at line 134 and by moving the call to `safeTransferFrom()` after the call to `_addAdditionalDHTToStake()`.
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