Edain-(Staking)

CertiKFiles named in the report

CertiK reviewed Edain (Edain-(Staking)) on 3 May 2022: 10 findings, 0 critical; 6 marked fixed, 2 acknowledged, 2 open.

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

Report hosted on skynet.certik.com.

Trustblock does not review code.

Findings10

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

SeverityOpenAcknowledgedFixed
Critical000
High200
Medium000
Low026
LowReturn value not handledAcknowledged

The return value of the global function `.transfer` in `_unstake()` is not handled. This is an issue because `_addressToStakedAmount[_validatorNode]` is set to `0` before the `transfer` function is called. Therefore the amount will be set 0 regardless if the `transfer` succeeds.

LowUsage of `transfer()` for sending EtherAcknowledged

After [EIP-1884](https://eips.ethereum.org/EIPS/eip-1884) was included in the Istanbul hard fork, it is not recommended to use `.transfer()` or `.send()` for transferring ether as these functions have a hard-coded value for gas costs making them obsolete as they are forwarding a fixed amount of gas, specifically `2300`. This can cause issues in case the linked statements are meant to be able to transfer funds to other contracts instead of EOAs.

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 (3)

  • staking-smart-contracts/contracts/XidenERC20.sol
  • staking-smart-contracts/contracts/ValidatorStaking.sol
  • staking-smart-contracts/contracts/Staking.sol

Part of Edain’s security record

Edain
Audits2 audits by 1 firmLast audit May 2022, by CertiK.
Critical findingsNo open critical findingsAcross 2 reports.
Open Edain’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