CertiK reviewed Bitcointry (BTTY token audit) on 21 May 2024: 6 findings, 0 critical; 2 acknowledged, 4 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 | 2 | 0 |
| Medium | 0 | 0 | 0 |
| Low | 4 | 0 | 0 |
The contract allows the `owner` to `initialize()` and set `routerV2`/`pairV2` values. However, the function will fail if `Pair(address(this), routerV2.WETH()` already exists. That is the only way to set `routerV2` value.
The contract has a `receive()` function or payable functions, making it able to receive native tokens. However, it does not have a function to withdraw the funds, which can lead to permanently locked tokens within the contract. ```solidity=65 receive() external payable {} ```
State variable `_swapping` is never set and thus the check `if (!_swapping...` in `_transfer()` is redundant. --- ```sol=161 if (isPair) { } ``` The code in `_setAMMPair()` seems to be leftover. --- `totalFees` always consists of `stakingFees` only. So, transferring the non-`stakingPortion` of fees is redundant: ```sol=134 if (fees > 0) { super._transfer(from, address(this), fees); } ``` Also, the tokens transferred this way to the contract address can't be extracted. There is no need to exclude the contract address from fees: ```sol=55 excludeFromFees(address(this), true); ``` The `totalFees` state field can be eliminated. --- ```sol=65 receive() external payable {} ``` The contract is not supposed to receive native tokens, the `receive()` function is redundant.
Different magic numbers are used as-is in code.
| Address | Chain | Source code |
|---|---|---|
| 0x2024…be470x2024b9be6b03f2a57d3533ae33c7e1d0b0b4be47 | Chain: BNB Chain | 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