Wemix Retainer 94 DEX V3

CertiKFiles named in the report

Audit

Part of CertiK’s retainer series

CertiK reviewed WEMIX (Wemix Retainer 94 DEX V3) on 19 Mar 2024: 4 findings, 0 critical; none marked fixed.

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

Report hosted on skynet.certik.com.

Trustblock does not review code.

Findings4

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

SeverityOpenAcknowledgedFixed
Critical000
High200
Medium000
Low200
HighCentralization Related RisksOpen

In the contract `Router` the role `MANAGER_ROLE` has authority over the functions shown in the diagram below. Any compromise to the `MANAGER_ROLE` account may allow the hacker to take advantage of this authority and transfer the balance excluding the locked reserve and close the order. ![](https://accelerator-tasks-prod.acc.corp.certik.com/11ee-c5d1-65100710-b268-85204482fc7a/diagrams/centralization_Router-Router-MANAGER_ROLE.svg) In the contract `Router` the role `MASTER_ADMIN_ROLE` has authority over the functions shown in the diagram below. Any compromise to the `MASTER_ADMIN_ROLE` account may allow the hacker to take advantage of this authority and upgrade the contract. ![](https://accelerator-tasks-prod.acc.corp.certik.com/11ee-c5d1-65100710-b268-85204482fc7a/diagrams/centralization_Router-Router-MASTER_ADMIN_ROLE.svg) ----- In the contract `MileageAirDrop` the role `_owner` has authority over the functions shown in the diagram below. Any compromise to the `_owner` account may allow the hacker to take advantage of this authority and airdrop rewards for users and create new rounds. ![](https://accelerator-tasks-prod.acc.corp.certik.com/11ee-c5d1-65100710-b268-85204482fc7a/diagrams/centralization_MileageAirDrop-MileageAirDrop-_owner.svg)

HighCentralized Control of Contract UpgradeOpen

In the contract `Router`, the role `MASTER_ADMIN_ROLE` has the authority to update the implementation contract behind these contracts. Any compromise to the `MASTER_ADMIN_ROLE` account may allow a hacker to take advantage of this authority and change the implementation contract which is pointed by proxy and therefore execute potential malicious functionality in the implementation contract.

LowPotential Out-of-Gas ExceptionOpen

When a loop allows an arbitrary number of iterations or accesses state variables in its body, the function may run out of gas and revert the transaction. ```solidity=266 for (uint i = 0; i < _size; ) { ``` Function `Router.cancelOrders` contains a loop and its loop condition depends on parameters: `_ids`. --- ```solidity=90 while (_order.param.price == _price) { ``` Function `PairViewer.amountByPrice` contains a loop and its loop condition depends on external calls: `_pair.orderByID`.

LowUnused Return ValueOpen

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=270 _pair.closeOrder(_id, OrderRemoveType.Cancel); ```

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)

  • contracts/periphery/MileageAirDrop.sol
  • contracts/Router.sol
  • contracts/periphery/PairViewer.sol

Part of WEMIX’s security record

WEMIX
Audits75 audits by 1 firmLast audit Feb 2025, by CertiK.
Critical findingsNo open critical findingsAcross the 75 reports, 17 critical findings were reported. Each is marked fixed by the firm that reported it.
Open WEMIX’s security record

Security firm

CertiK

1,045 projects reviewed · 1,376 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