Part of CertiK’s retainer series
CertiK reviewed WEMIX (Wemix Retainer 131 NightCrowTWAPV3) on 22 Aug 2024: 5 findings, 0 critical; 2 marked fixed, 3 open.
Report hosted on skynet.certik.com.
Trustblock does not review code.
Statuses are the security firm’s own, from its report.
| Severity | Open | Acknowledged | Fixed |
|---|---|---|---|
| Critical | 0 | 0 | 0 |
| High | 1 | 0 | 0 |
| Medium | 0 | 0 | 0 |
| Low | 2 | 0 | 2 |
Function `removeGameToken` is used for removing tokens from all mappings. However, mapping `cachedPrice` is not cleared. Note that the cached price cannot be fetched using getter functions implemented in the contract, but it can still be fetched by directly accessing the mapping `cachedPrice`.
After the editor calls `changeGameTokenMinter`, mapping `lockPrice` and `freezePeriod` remains unchanged. This will cause two potential issues: 1. The new minter may not have record in mapping `lockPrice` and `freezePeriod`. 2. `lockPrice` and `freezePeriod` value for the previous minter cannot be removed, as `removeGameToken` cannot fetch the minter via `tokenToTwap[gameToken]`. The first issue can be mitigated by calling `changeTargetInfo` subsequently, but this requires off-chain operations that falls out of the scope of the audit.
The report names a repository or files. Open the report to see its scope.
Repository and files the report names (1)
1,045 projects reviewed · 1,376 reports · latest May 2025
See CertiK’s auditsSomething 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