dHEDGE - Ⅳ

CertiKFiles named in the report

CertiK reviewed dHEDGE (dHEDGE - Ⅳ) on 1 Dec 2022: 17 findings, 0 critical; 12 marked fixed, 3 acknowledged, 2 open.

No open critical findings
Open the reportOpen dHEDGE’s security record

Report hosted on skynet.certik.com.

Trustblock does not review code.

Findings17

Statuses are the security firm’s own, from its report.

SeverityOpenAcknowledgedFixed
Critical000
High021
Medium010
Low2011
LowComparison to A Boolean ConstantOpen

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.

LowRedundant Check under certain assumptionsOpen

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()`.

Contracts in scope

No deployed address is recorded for this audit.

The report names a repository or files. Open the report to see its scope.

Repository and files the report names (6)

  • contracts/stakingv2/Base64.sol
  • contracts/stakingv2/DhedgeStakingV2.sol
  • contracts/stakingv2/DhedgeStakingV2VDHTCalculator.sol
  • contracts/stakingv2/DhedgeStakingV2RewardsCalculator.sol
  • contracts/stakingv2/DhedgeStakingV2Storage.sol
  • contracts/stakingv2/interfaces/IDhedgeStakingV2.sol

Part of dHEDGE’s security record

dHEDGE
Audits1 audit by 1 firmLast audit Dec 2022, by CertiK.
Critical findingsNo open critical findingsIn 1 report.
Open dHEDGE’s security record

Security firm

CertiK

1,044 projects reviewed · 1,375 reports · latest May 2025

See CertiK’s audits

Something 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