CertiK reviewed Gays Inu (GaysInu) on 17 May 2023: 6 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 | 1 | 0 | 0 |
| Medium | 0 | 0 | 0 |
| Low | 5 | 0 | 0 |
After deploying the contract, all the `Gays Inu` tokens are sent to the contract deployer. This could be a centralization risk as the deployer can distribute `Gays Inu` tokens without obtaining the consensus of the community. Any compromise to the deployer account or EOAs may allow a hacker to steal and sell tokens on the market, resulting in severe damage to the project.
It is expected that calls of the form `transferFrom(from, dest, amount)` fail if the `from` address is zero.
The function `balanceOf()` does not require modifying the contract state, nor do they need to receive BNB. However, these functions are not labeled with `pure` or `view` modifiers.
The **require** can be used to check for conditions and throw an exception if the condition is not met. It is better to provide a string message containing details about the error that will be passed back to the caller.
The current token contract does not inherit from the IERC20 interface and does not follow the standard implementation of the ERC-20 contract from the [OpenZeppelin library](https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol). Since most decentralized exchanges, wallets, and other smart contracts expect tokens to conform to the ERC-20 standard, a token contract that does not inherit the IERC20 interface may not be compatible with some platforms and services.
State variables that never change should be declared as `constant` to save gas. ```solidity=6 uint public totalSupply = 1000000000000 * 10 ** 18; ``` - `totalSupply` should be declared `constant`. --- ```solidity=7 string public name = "Gays Inu"; ``` - `name` should be declared `constant`. --- ```solidity=8 string public symbol = "LGBTQ"; ``` - `symbol` should be declared `constant`. --- ```solidity=9 uint public decimals = 18; ``` - `decimals` should be declared `constant`.
| Address | Chain | Source code |
|---|---|---|
| 0x129d…e0680x129daac6e29145499d80a86e9ef3002e9b2de068 | 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