Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Not a direct threat, but may indicate unreliable intentions of developer. Widespread names (e.g. Elon, King, Moon, Doge) are common among meme-tokens and scams. The allow to gain free hype and attract unexperienced investors.
fBNB.deposit() (#590-605) performs a multiplication on the result of a division:
-df = fee / 8 (#595)
-rBnbBalance[op] += ((df * r) / t) (#601)
fBNB.withdraw(uint256) (#607-625) performs a multiplication on the result of a division:
-wf = fee / 8 (#611)
-rBnbBalance[op] += ((wf * r) / t) (#621)
fBNB._transfer(address,address,uint256) (#682-709) performs a multiplication on the result of a division:
-fee = amt / 100 (#687)
-rBnbSupply -= ((fee * r) / t) (#706)
Consider ordering multiplication before division.
Additional information: link
fBNB.constructor() (#523-528) ignores return value by EnumerableSet.add(excluded,address(0)) (#526)
fBNB.excludeFromFees(address) (#635-643) ignores return value by EnumerableSet.add(excluded,account) (#642)
fBNB.includeInFees(address) (#645-650) ignores return value by EnumerableSet.remove(excluded,account) (#649)
Ensure that all the return values of the function calls are used.
Additional information: link
fBNB.rBnbToEveryone(uint256) (#627-633) should emit an event for:
- rBnbSupply -= ((amt * r) / t) (#631)
- feesAccrued += amt (#632)
Emit an event for critical parameter changes.
Additional information: link
fBNB.setOp(address,address).opper (#724) lacks a zero-check on :
- op = opper (#726)
fBNB.setOp(address,address).opper2 (#724) lacks a zero-check on :
- op2 = opper2 (#727)
Check that the address is not zero.
Additional information: link
Address.isContract(address) (#377-386) uses assembly
- INLINE ASM (#384)
Address._functionCallWithValue(address,bytes,uint256,string) (#470-491) uses assembly
- INLINE ASM (#483-486)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#470-491) is never used and should be removed
Address.functionCall(address,bytes) (#430-432) is never used and should be removed
Address.functionCall(address,bytes,string) (#440-442) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#455-457) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#465-468) is never used and should be removed
Address.isContract(address) (#377-386) is never used and should be removed
Address.sendValue(address,uint256) (#404-410) is never used and should be removed
EnumerableSet.add(EnumerableSet.Bytes32Set,bytes32) (#123-125) is never used and should be removed
EnumerableSet.add(EnumerableSet.UintSet,uint256) (#232-234) is never used and should be removed
EnumerableSet.at(EnumerableSet.Bytes32Set,uint256) (#161-163) is never used and should be removed
EnumerableSet.at(EnumerableSet.UintSet,uint256) (#270-272) is never used and should be removed
EnumerableSet.contains(EnumerableSet.Bytes32Set,bytes32) (#140-142) is never used and should be removed
EnumerableSet.contains(EnumerableSet.UintSet,uint256) (#249-251) is never used and should be removed
EnumerableSet.length(EnumerableSet.Bytes32Set) (#147-149) is never used and should be removed
EnumerableSet.length(EnumerableSet.UintSet) (#256-258) is never used and should be removed
EnumerableSet.remove(EnumerableSet.Bytes32Set,bytes32) (#133-135) is never used and should be removed
EnumerableSet.remove(EnumerableSet.UintSet,uint256) (#242-244) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.8.1 (#4) allows old versions
solc-0.8.1 is not recommended for deployment
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#404-410):
- (success) = recipient.call{value: amount}() (#408)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#470-491):
- (success,returndata) = target.call{value: weiValue}(data) (#474)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Contract fBNB (#495-730) is not in CapWords
Follow the Solidity naming convention.
Additional information: link
Reentrancy in fBNB.withdraw(uint256) (#607-625):
External calls:
- address(msg.sender).transfer(net) (#623)
Event emitted after the call(s):
- Withdrawal(msg.sender,net) (#624)
Apply the check-effects-interactions pattern.
Additional information: link
Variable fBNB.rBnbBalance (#499) is too similar to fBNB.tBnbBalance (#500)
Prevent variables from having similar names.
Additional information: link
fBNB.currentSupply() (#711-722) uses literals with too many digits:
- (1000000000,1) (#712)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
fBNB._decimals (#511) should be constant
fBNB._name (#509) should be constant
fBNB._symbol (#510) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
name() should be declared external:
- fBNB.name() (#530-532)
symbol() should be declared external:
- fBNB.symbol() (#534-536)
decimals() should be declared external:
- fBNB.decimals() (#538-540)
transfer(address,uint256) should be declared external:
- fBNB.transfer(address,uint256) (#552-555)
allowance(address,address) should be declared external:
- fBNB.allowance(address,address) (#557-559)
approve(address,uint256) should be declared external:
- fBNB.approve(address,uint256) (#561-564)
transferFrom(address,address,uint256) should be declared external:
- fBNB.transferFrom(address,address,uint256) (#566-570)
increaseAllowance(address,uint256) should be declared external:
- fBNB.increaseAllowance(address,uint256) (#572-575)
decreaseAllowance(address,uint256) should be declared external:
- fBNB.decreaseAllowance(address,uint256) (#577-580)
totalFees() should be declared external:
- fBNB.totalFees() (#586-588)
withdraw(uint256) should be declared external:
- fBNB.withdraw(uint256) (#607-625)
rBnbToEveryone(uint256) should be declared external:
- fBNB.rBnbToEveryone(uint256) (#627-633)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.
Token is deployed only at one blockchain
Contract has 1% buy tax and 0% sell tax.
Taxes are low and contract ownership is renounced.
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token on CoinGecko
Additional information: link
Unable to find token contract audit
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find Telegram link on the website
Unable to find Twitter link on the website
Unable to find token on CoinHunt
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinHunt, CoinGecko, CoinMarketCap
Unable to find code repository for the project
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has a considerable age, but social accounts / website are missing or have few users
Young tokens have high risks of price dump / death
Token has relatively low CoinMarketCap rank
Unable to find Telegram and Twitter accounts