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
CriticalMisleading Function Name and Functionality in `seOpen

The `setWinners` function in the `Raffle` contract appears to perform actions that do not align with its name. Instead of setting or recording winners, the function transfers the specified amounts from each winner's balance to the contract owner, which is misleading and can lead to confusion or misuse. ```solidity function setWinners( address[] calldata winners, uint256[] calldata amountList ) external onlyOwner returns (uint256) { require(uint64(block.timestamp) > endTime, "Raffle is still open"); require( winners.length == amountList.length, "Array lengths should match" ); uint256 amountToWithdraw = 0; for (uint16 i = 0; i < winners.length; i++) { amountToWithdraw += amountList[i]; // debit user's amount amounts[winners[i]] -= amountList[i]; } payable(owner()).transfer(amountToWithdraw); return amountToWithdraw; } ```

LowUsage of `transfer`/`send` for Sending Native TokOpen

It is not recommended to use Solidity's `transfer()` and `send()` functions for transferring native tokens, since some contracts may not be able to receive the funds. Those functions forward only a fixed amount of gas (2300 specifically) and the receiving contracts may run out of gas before finishing the transfer. Also, EVM instructions' gas costs may increase in the future. Thus, some contracts that can receive now may stop working in the future due to the gas limitation. ```solidity=77 payable(owner()).transfer(amountToWithdraw); ``` - `Raffle.setWinners` uses `transfer()`.

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