Part of CertiK’s series
CertiK reviewed SquidGrow (SGS Token Registry) on 13 Apr 2023: 3 findings, 0 critical; none marked fixed.
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 | 0 | 0 | 0 |
| Medium | 0 | 0 | 0 |
| Low | 3 | 0 | 0 |
When the same Token is added more than once in the function `addToken()`, the existing token data will be overwritten. The current implementation is relying on the operation correctness to avoid repeatedly adding the same pool, as the admin will only call the function.
One or more parameters with `memory` data location are never modified in their functions and those functions are never called internally within the contract. Thus, their data location can be changed to `calldata` to avoid the gas consumption copying from calldata to memory. ```solidity=25 function addToken(string memory names, address tokensAddress, uint256 id) public { ``` `addToken` has memory location parameters: `names`. --- ```solidity=32 function removeToken(string memory name) public { ``` `removeToken` has memory location parameters: `name`.
Addresses should be checked before assignment or external call to make sure they are not zero addresses. ```solidity=59 owner = _owner; ``` - `_owner` is not zero-checked before being used.
| Address | Chain | Source code |
|---|---|---|
| 0xc3e4…48430xc3e4b224d2174edfd6a4360bee67e4cf8f674843 | Chain: BNB Chain | Source code: Verified source |
| 0xc3e4…48430xc3e4b224d2174edfd6a4360bee67e4cf8f674843 | Chain: Ethereum | Source code: Verified source |
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