BernaSwap New Generation Exchange (Trade & Earn & NFT Market)
BeraToken._writeCheckpoint(address,uint32,uint256,uint256) (#1066-1084) uses a dangerous strict equality:
- nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber (#1076)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
BeraToken.delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32) (#932-973) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now <= expiry,CAKE::delegateBySig: signature expired) (#971)
Avoid relying on block.timestamp.
Additional information: link
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#519-545):
- (success,returndata) = target.call{value: weiValue}(data) (#528)
Low level call in Address.sendValue(address,uint256) (#440-446):
- (success) = recipient.call{value: amount}() (#444)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
BEP20.allowance(address,address).owner (#660) shadows:
- Ownable.owner() (#64-66) (function)
BEP20.constructor(string,string).symbol (#596) shadows:
- BEP20.symbol() (#626-628) (function)
- IBEP20.symbol() (#121) (function)
BEP20._approve(address,address,uint256).owner (#832) shadows:
- Ownable.owner() (#64-66) (function)
BEP20.constructor(string,string).name (#596) shadows:
- BEP20.name() (#612-614) (function)
- IBEP20.name() (#126) (function)
Rename the local variables that shadow another component.
Additional information: link
BeraToken.getChainId() (#1091-1095) uses assembly
- INLINE ASM (#1093)
Address._functionCallWithValue(address,bytes,uint256,string) (#519-545) uses assembly
- INLINE ASM (#537-540)
Address.isContract(address) (#411-422) uses assembly
- INLINE ASM (#418-420)
Do not use evm assembly.
Additional information: link
Contract ownership is semi-renounced (passed to a contract)
Redundant expression "this (#29)" inContext (#19-32)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Parameter BeraToken.mint(address,uint256)._to (#862) is not in mixedCase
Parameter BeraToken.mint(address,uint256)._amount (#862) is not in mixedCase
Variable BeraToken._delegates (#874) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
SafeMath.mul(uint256,uint256) (#279-291) is never used and should be removed
Address.sendValue(address,uint256) (#440-446) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#495-501) is never used and should be removed
SafeMath.sqrt(uint256) (#375-386) is never used and should be removed
BEP20._burnFrom(address,uint256) (#849-856) is never used and should be removed
BEP20._burn(address,uint256) (#810-816) is never used and should be removed
SafeMath.min(uint256,uint256) (#370-372) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#361-368) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#509-517) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#321-331) is never used and should be removed
Context._msgData() (#28-31) is never used and should be removed
SafeMath.mod(uint256,uint256) (#345-347) is never used and should be removed
SafeMath.div(uint256,uint256) (#305-307) is never used and should be removed
Address._functionCallWithValue(address,bytes,uint256,string) (#519-545) is never used and should be removed
Address.isContract(address) (#411-422) is never used and should be removed
Address.functionCall(address,bytes,string) (#476-482) is never used and should be removed
Address.functionCall(address,bytes) (#466-468) is never used and should be removed
Remove unused functions.
Additional information: link
transfer(address,uint256) should be declared external:
- BEP20.transfer(address,uint256) (#652-655)
symbol() should be declared external:
- BEP20.symbol() (#626-628)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#83-86)
approve(address,uint256) should be declared external:
- BEP20.approve(address,uint256) (#671-674)
mint(address,uint256) should be declared external:
- BeraToken.mint(address,uint256) (#862-865)
transferFrom(address,address,uint256) should be declared external:
- BEP20.transferFrom(address,address,uint256) (#688-700)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#92-94)
mint(uint256) should be declared external:
- BEP20.mint(uint256) (#750-753)
allowance(address,address) should be declared external:
- BEP20.allowance(address,address) (#660-662)
totalSupply() should be declared external:
- BEP20.totalSupply() (#633-635)
decimals() should be declared external:
- BEP20.decimals() (#619-621)
increaseAllowance(address,uint256) should be declared external:
- BEP20.increaseAllowance(address,uint256) (#714-717)
decreaseAllowance(address,uint256) should be declared external:
- BEP20.decreaseAllowance(address,uint256) (#733-740)
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 PancakeSwap volume is less than $100. Token is either dead or inactive.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.
Token is deployed only at one blockchain
Number of Binance Smart Chain (BSC) token holders is low.
Token has a considerable age, but social accounts / website are missing or have few users
Token has no active CoinMarketCap listing / rank
Token has no active CoinGecko listing / rank
Token has a considerable age, but average PancakeSwap 30d trading volume is low
Twitter account link seems to be invalid
Telegram account link seems to be invalid