XEL Crypto

CertiKFiles named in the report

CertiK reviewed XEL Crypto on 7 Apr 2023: 9 findings, 0 critical; 8 marked fixed, 1 open.

No open critical findings
Open the reportOpen XEL Crypto’s security record

Report hosted on skynet.certik.com.

Trustblock does not review code.

Findings9

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

SeverityOpenAcknowledgedFixed
Critical000
High000
Medium001
Low107
MediumLogical issue of using `averageTerm` to calculateFixed

Using `averageTerm` to determine the term of several wallets could be manipulated by the user. In the case that a user could create wallets with a very short term with a large amount, and a long term with a quite small amount, the user could get more tokens when claiming these wallets at one time than doing it separately.

LowIncorrect `finalWeek` checkFixed

In the function `getRewardMultiplier()`, the check should be ```solidity require(finalWeek - 1 >= termWeeks, "Incorrect term format"); ``` to avoid underflow.

LowMissing Emit EventsFixed

There should always be events emitted in the sensitive functions that are controlled by centralization roles.

LowMissing Zero Address ValidationFixed

Addresses should be checked before assignment or external calls to ensure they are not zero addresses.

LowThe `endId` should be checkedFixed

The `endId` should be checked not over the length of `unmintedWallets[owner]`.

LowThe financial model of `XENWalletManager`Fixed

In the `XENWalletManager` contract, the users can create wallets and claim rewards by the wallet information calculated by the term, reward multiplier, and amount. Besides, the `owner` could get the rewards that expired. However, there are some details that are not found in this contract. For example: How to guarantee enough tokens have been transferred into the contract when creating wallets?

LowUnchecked ERC-20 `transfer()`/`transferFrom()` CaFixed

The return value of the transfer()/transferFrom() call is not checked. ```solidity=300 xenCrypto.transfer(owner, rescued - xenFee); ``` --- ```solidity=301 xenCrypto.transfer(feeReceiver, xenFee); ```

LowUnlocked Compiler VersionFixed

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.

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

  • contracts/XELCrypto.sol
  • contracts/XENWalletManager.sol

Part of XEL Crypto’s security record

XEL Crypto
Audits1 audit by 1 firmLast audit Apr 2023, by CertiK.
Critical findingsNo open critical findingsIn 1 report.
Open XEL Crypto’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