qiibee - Token Sale

CertiKFiles named in the report

CertiK reviewed qiibee foundation $QBX (qiibee - Token Sale) on 10 Sep 2024: 6 findings, 1 critical; 3 marked fixed, 1 acknowledged, 2 open.

1 open critical finding
Open the reportOpen qiibee foundation $QBX’s security record

Report hosted on skynet.certik.com.

Trustblock does not review code.

Findings6

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

SeverityOpenAcknowledgedFixed
Critical100
High010
Medium000
Low103
LowDiscussion on `setEndTime` functionFixed

In the `setEndTime()` function, `endTime` can only be updated when `uint64(block.timestamp) > endTime`, indicating the token sale has ended. However, changing the `endTime` value to a smaller value `_endTime` after the token sale has concluded does not affect the status of the sale, as it remains ended.

LowInadequate Validation of Raffle Time Parameters iFixed

The constructor in the `Raffle` contract fails to ensure that the `startTime` is set in the future relative to the current `block.timestamp` and that `endTime` is greater than `startTime`. This oversight can lead to scenarios where the raffle is incorrectly initialized, potentially allowing immediate closure or incorrect operation of the raffle. ```solidity constructor( uint64 _startTime, uint64 _endTime, uint64 _ownerWithdrawAfter ) Ownable(msg.sender) { startTime = _startTime; endTime = _endTime; ownerWithdrawAfter = endTime + (_ownerWithdrawAfter * 1 days); allowWithdrawals = false; } ```

LowUnused Return ValueFixed

The smart contract does not check or store the return value of an external call in a local or state variable, which may introduce vulnerabilities due to the unhandled outcome. ```solidity=160 targetContract.setWinnersAndWithdrawFunds(transaction.winners, transaction.amountList); ```

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

  • contracts/Raffle.sol

Part of qiibee foundation $QBX’s security record

qiibee foundation $QBX
Audits3 audits by 1 firmLast audit Feb 2025, by CertiK.
Critical findings1 open critical findingReported in “qiibee - Token Sale” by CertiK, Sep 2024. Not marked fixed in that report.
Open qiibee foundation $QBX’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