CertiK reviewed Empire (Empire v3) on 1 Mar 2023: 20 findings, 0 critical; 6 marked fixed, 7 acknowledged, 7 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 | 0 | 4 | 0 |
| Medium | 0 | 3 | 1 |
| Low | 7 | 0 | 5 |
The variables `fee`, `buyFee`, and `sellFee` do not have reasonable boundaries, so they can be given arbitrary values.
Function state mutability should be restricted to `view` instead of `pure` for the reason that `_name`, `_symbol`, `_tTotal`, and `_decimals` are all state variables.
There are several typos in the code and comments. 1. In the following code snippet, `tokensIntoLiqudity` should be `tokensIntoLiquidity`. ```solidity= event LogSwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity ); ``` 2. `recieve` should be `receive` in the line of comment `//to recieve ETH from uniswapV2Router when swapping.
The contract has unlocked compiler version. An unlocked compiler version in the source code of the contract permits the user to compile it at or above a particular version. This, in turn, leads to differences in the generated bytecode between compilations due to different compiler versions. This can lead to an ambiguity when debugging as compiler specific bugs may occur in the codebase that would be hard to identify over a span of multiple compiler versions rather than a specific one.
```solidity=150 event LogSetBurnWallet(address indexed setter, address burnWallet); ``` - `LogSetBurnWallet` is declared in `EmpireToken` but never emitted.
The linked variables assigned in the constructor can be declared as `immutable`. Immutable state variables can be assigned during contract creation but will remain constant throughout the lifetime of a deployed contract. A big advantage of immutable variables is that reading them is significantly cheaper than reading from regular state variables since they will not be stored in storage.
| Address | Chain | Source code |
|---|---|---|
| 0x51a1…15d40x51a183d8d79df6892ab7b8f57b33ba70599515d4 | Chain: BNB Chain | |
| 0x62ab…8bf40x62ab5437563fc655226239ca8146f727e1d28bf4 | Chain: BNB Chain | Source code: Verified source |
| 0x0ba7…b4f30x0ba7529fd0ea0ca208313f3fb280a91dfae1b4f3 | Chain: BNB Chain | Source code: Verified source |
1,044 projects reviewed · 1,375 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