Mammon is a token with buy and transaction 0.5% tax and on a certain time of everyday, there will be a draw opens with the ability to sell during that period for the lucky 20% of holders.
MAMMON.addLiquidity(uint256,uint256) (#1300-1312) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1304-1311)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in MAMMON._transfer(address,address,uint256) (#1149-1213):
External calls:
- checkFomo(from,to) (#1175)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1304-1311)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1292-1298)
- swapAndLiquidity(contractTokenBalance) (#1196)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1304-1311)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1292-1298)
External calls sending eth:
- checkFomo(from,to) (#1175)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1304-1311)
- swapAndLiquidity(contractTokenBalance) (#1196)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1304-1311)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1208)
- _burnFee = _previousBurnFee (#1117)
- _burnFee = 0 (#1109)
- nextTime() (#1211)
- _endTime = _frontKeccak.mod(_floatTime) + _fixedTime + block.timestamp (#1250)
- _tokenTransfer(from,to,amount,takeFee) (#1208)
- _fomoFee = _previousFomoFee (#1118)
- _fomoFee = 0 (#1110)
- nextTime() (#1211)
- _frontKeccak = uint256(keccak256(bytes)(abi.encodePacked(block.difficulty,block.timestamp,_frontKeccak))) (#1249)
- nextTime() (#1211)
- _gameRound = 1 (#1254)
- _gameRound ++ (#1256)
- _tokenTransfer(from,to,amount,takeFee) (#1208)
- _liquidityFee = _previousLiquidityFee (#1119)
- _liquidityFee = 0 (#1111)
- _tokenTransfer(from,to,amount,takeFee) (#1208)
- _marketingFee = _previousMarketingFee (#1116)
- _marketingFee = 0 (#1108)
- _tokenTransfer(from,to,amount,takeFee) (#1208)
- _previousBurnFee = _burnFee (#1103)
- _tokenTransfer(from,to,amount,takeFee) (#1208)
- _previousFomoFee = _fomoFee (#1104)
- _tokenTransfer(from,to,amount,takeFee) (#1208)
- _previousLiquidityFee = _liquidityFee (#1105)
- _tokenTransfer(from,to,amount,takeFee) (#1208)
- _previousMarketingFee = _marketingFee (#1102)
- _tokenTransfer(from,to,amount,takeFee) (#1208)
- _previousTxgoldFee = _txgoldFee (#1101)
- nextTime() (#1211)
- _randomNumber_0 = (block.difficulty & MAX255) + uint64(_frontKeccak.div(2 ** 64)) (#1263)
- nextTime() (#1211)
- _randomNumber_1 = (block.timestamp & MAX255) + uint64(_frontKeccak) (#1264)
- _tokenTransfer(from,to,amount,takeFee) (#1208)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1326)
- _tOwned[_fomoWallet] = _tOwned[_fomoWallet].add(tFomo) (#1055)
- _tOwned[_txgoldWallet] = _tOwned[_txgoldWallet].add(tTxgold) (#1030)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1064)
- _tOwned[_marketingWallet] = _tOwned[_marketingWallet].add(tMarketing) (#1038)
- _tOwned[_burnPool] = _tOwned[_burnPool].add(tBurn) (#1047)
- _tOwned[recipient] = _tOwned[recipient].add(tData.tTransferAmount) (#1331)
- _tokenTransfer(from,to,amount,takeFee) (#1208)
- _tTotal = _tTotal.sub(tBurn) (#1046)
- _tokenTransfer(from,to,amount,takeFee) (#1208)
- _txgoldFee = _previousTxgoldFee (#1115)
- _txgoldFee = 0 (#1107)
- swapAndLiquidity(contractTokenBalance) (#1196)
- inSwapAndLiquidity = true (#761)
- inSwapAndLiquidity = false (#763)
Reentrancy in MAMMON.checkFomo(address,address) (#1225-1240):
External calls:
- _transfer(_fomoWallet,to,fomoBalance) (#1230)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1304-1311)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1292-1298)
External calls sending eth:
- _transfer(_fomoWallet,to,fomoBalance) (#1230)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1304-1311)
State variables written after the call(s):
- ++ _fomoCount (#1233)
- _fomoEndTime = block.timestamp + _fomoSpacedTime (#1236)
- _totalFomo = _totalFomo.add(fomoBalance) (#1232)
Apply the check-effects-interactions pattern.
Additional information: link
MAMMON.rescueWBNB(uint256) (#966-971) ignores return value by wbnb.transfer(_msgSender(),amount) (#969)
MAMMON.rescueUSDT(uint256) (#973-978) ignores return value by usdt.transfer(_msgSender(),amount) (#976)
MAMMON.rescueBUSD(uint256) (#980-985) ignores return value by busd.transfer(_msgSender(),amount) (#983)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Combination 1: Reentrancy vulnerabilities + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Combination 2: Unchecked transfer + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
MAMMON.addLiquidity(uint256,uint256) (#1300-1312) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1304-1311)
Ensure that all the return values of the function calls are used.
Additional information: link
MAMMON.allowance(address,address).owner (#816) shadows:
- Ownable.owner() (#407-409) (function)
MAMMON._approve(address,address,uint256).owner (#1143) shadows:
- Ownable.owner() (#407-409) (function)
Rename the local variables that shadow another component.
Additional information: link
MAMMON.setTxgoldFeePercent(uint256) (#881-884) should emit an event for:
- _txgoldFee = txgoldFee (#883)
MAMMON.setMarketingFeePercent(uint256) (#885-888) should emit an event for:
- _marketingFee = marketingFee (#887)
MAMMON.setBurnFeePercent(uint256) (#889-892) should emit an event for:
- _burnFee = burnFee (#891)
MAMMON.setFomoFeePercent(uint256) (#893-896) should emit an event for:
- _fomoFee = fomoFee (#895)
MAMMON.setNumTokensSellToAddToLiquidity(uint256) (#902-904) should emit an event for:
- _numTokensSellToAddToLiquidity = numTokensSellToAddToLiquidity (#903)
MAMMON.setLiquidityFeePercent(uint256) (#923-925) should emit an event for:
- _liquidityFee = liquidityFee (#924)
MAMMON.setMaxTxPercent(uint256) (#931-935) should emit an event for:
- _maxTxAmount = _tTotal.mul(maxTxPercent).div(10 ** 4) (#932-934)
MAMMON.setAntiWhaleThreshold(uint256) (#943-945) should emit an event for:
- _antiWhaleThreshold = amount (#944)
MAMMON.setDrawNumerator(uint8) (#952-956) should emit an event for:
- _drawNumerator = drawNumerator (#955)
MAMMON.setDrawTime(uint256,uint256) (#957-961) should emit an event for:
- _fixedTime = fixedTime (#958)
- _floatTime = floatTime (#959)
MAMMON.setDaySellNumber(uint256) (#962-964) should emit an event for:
- _daySellNumber = daySellNumber (#963)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in MAMMON._transfer(address,address,uint256) (#1149-1213):
External calls:
- checkFomo(from,to) (#1175)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1304-1311)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1292-1298)
- swapAndLiquidity(contractTokenBalance) (#1196)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1304-1311)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1292-1298)
External calls sending eth:
- checkFomo(from,to) (#1175)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1304-1311)
- swapAndLiquidity(contractTokenBalance) (#1196)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1304-1311)
State variables written after the call(s):
- swapAndLiquidity(contractTokenBalance) (#1196)
- _allowances[owner][spender] = amount (#1146)
Reentrancy in MAMMON.checkFomo(address,address) (#1225-1240):
External calls:
- _transfer(_fomoWallet,to,fomoBalance) (#1230)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1304-1311)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1292-1298)
External calls sending eth:
- _transfer(_fomoWallet,to,fomoBalance) (#1230)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1304-1311)
State variables written after the call(s):
- _lastFomoAmount = fomoBalance (#1231)
Reentrancy in MAMMON.constructor() (#766-796):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#770-771)
State variables written after the call(s):
- _isExcludedFromAntiWhale[owner()] = true (#782)
- _isExcludedFromAntiWhale[address(this)] = true (#783)
- _isExcludedFromAntiWhale[address(uniswapV2Router)] = true (#784)
- _isExcludedFromAntiWhale[uniswapV2Pair] = true (#785)
- _isExcludedFromAntiWhale[address(1)] = true (#786)
- _isExcludedFromFee[owner()] = true (#779)
- _isExcludedFromFee[address(this)] = true (#780)
- _isExcludedSendDraw[owner()] = true (#788)
- _isExcludedSendDraw[address(this)] = true (#789)
- _isExcludedSendDraw[address(uniswapV2Router)] = true (#790)
- _isExcludedSendDraw[address(uniswapV2Pair)] = true (#791)
- _isExcludedSendDraw[_fomoWallet] = true (#792)
- _marketingWallet = address(owner()) (#776)
- _txgoldWallet = address(owner()) (#775)
- uniswapV2Router = _uniswapV2Router (#773)
Reentrancy in MAMMON.swapAndLiquidity(uint256) (#1267-1284):
External calls:
- swapTokensForEth(half) (#1277)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1292-1298)
- addLiquidity(otherHalf,newBalance) (#1281)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1304-1311)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1281)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1304-1311)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1281)
- _allowances[owner][spender] = amount (#1146)
Reentrancy in MAMMON.transferFrom(address,address,uint256) (#823-827):
External calls:
- _transfer(sender,recipient,amount) (#824)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1304-1311)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1292-1298)
External calls sending eth:
- _transfer(sender,recipient,amount) (#824)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1304-1311)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (#825)
- _allowances[owner][spender] = amount (#1146)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in MAMMON._transfer(address,address,uint256) (#1149-1213):
External calls:
- checkFomo(from,to) (#1175)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1304-1311)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1292-1298)
- swapAndLiquidity(contractTokenBalance) (#1196)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1304-1311)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1292-1298)
External calls sending eth:
- checkFomo(from,to) (#1175)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1304-1311)
- swapAndLiquidity(contractTokenBalance) (#1196)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1304-1311)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1147)
- swapAndLiquidity(contractTokenBalance) (#1196)
- SwapAndLiquidity(half,newBalance,otherHalf) (#1283)
- swapAndLiquidity(contractTokenBalance) (#1196)
- Transfer(from,_marketingWallet,tMarketing) (#1039)
- _tokenTransfer(from,to,amount,takeFee) (#1208)
- Transfer(from,_txgoldWallet,tTxgold) (#1031)
- _tokenTransfer(from,to,amount,takeFee) (#1208)
- Transfer(from,_fomoWallet,tFomo) (#1056)
- _tokenTransfer(from,to,amount,takeFee) (#1208)
- Transfer(from,address(this),tLiquidity) (#1065)
- _tokenTransfer(from,to,amount,takeFee) (#1208)
- Transfer(from,_burnPool,tBurn) (#1048)
- _tokenTransfer(from,to,amount,takeFee) (#1208)
- Transfer(sender,recipient,tData.tTransferAmount) (#1338)
- _tokenTransfer(from,to,amount,takeFee) (#1208)
- TriggerNextTimeRound(_endTime,_gameRound.sub(1)) (#1258)
- nextTime() (#1211)
Reentrancy in MAMMON.checkFomo(address,address) (#1225-1240):
External calls:
- _transfer(_fomoWallet,to,fomoBalance) (#1230)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1304-1311)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1292-1298)
External calls sending eth:
- _transfer(_fomoWallet,to,fomoBalance) (#1230)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1304-1311)
Event emitted after the call(s):
- DrawFomo(fomoBalance,_fomoCount) (#1234)
- FomoEndTime(_fomoEndTime) (#1237)
Reentrancy in MAMMON.constructor() (#766-796):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#770-771)
Event emitted after the call(s):
- FomoState(true) (#795)
- Transfer(address(0),owner(),_tTotal) (#794)
Reentrancy in MAMMON.swapAndLiquidity(uint256) (#1267-1284):
External calls:
- swapTokensForEth(half) (#1277)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1292-1298)
- addLiquidity(otherHalf,newBalance) (#1281)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1304-1311)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1281)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1304-1311)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1147)
- addLiquidity(otherHalf,newBalance) (#1281)
- SwapAndLiquidity(half,newBalance,otherHalf) (#1283)
Reentrancy in MAMMON.transferFrom(address,address,uint256) (#823-827):
External calls:
- _transfer(sender,recipient,amount) (#824)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1304-1311)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1292-1298)
External calls sending eth:
- _transfer(sender,recipient,amount) (#824)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1304-1311)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1147)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (#825)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#458-464) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 7 days) (#460)
MAMMON.isLuckAddress(address) (#845-862) uses timestamp for comparisons
Dangerous comparisons:
- block.timestamp > _endTime (#846)
MAMMON.judgeRoundAndSetState(address) (#1122-1135) uses timestamp for comparisons
Dangerous comparisons:
- luck = (luckyNumber < _drawNumerator) (#1126)
MAMMON._transfer(address,address,uint256) (#1149-1213) uses timestamp for comparisons
Dangerous comparisons:
- block.timestamp > _endTime (#1210)
MAMMON.checkFomo(address,address) (#1225-1240) uses timestamp for comparisons
Dangerous comparisons:
- block.timestamp > _fomoEndTime (#1229)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#272-281) uses assembly
- INLINE ASM (#279)
Address._functionCallWithValue(address,bytes,uint256,string) (#358-377) uses assembly
- INLINE ASM (#369-372)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#358-377) is never used and should be removed
Address.functionCall(address,bytes) (#322-324) is never used and should be removed
Address.functionCall(address,bytes,string) (#331-333) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#345-347) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#354-357) is never used and should be removed
Address.isContract(address) (#272-281) is never used and should be removed
Address.sendValue(address,uint256) (#298-303) is never used and should be removed
Context._msgData() (#246-249) is never used and should be removed
Remove unused functions.
Additional information: link
MAMMON._previousLiquidityFee (#701) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
MAMMON._previousTxgoldFee (#704) is set pre-construction with a non-constant function or state variable:
- _txgoldFee
MAMMON._previousMarketingFee (#707) is set pre-construction with a non-constant function or state variable:
- _marketingFee
MAMMON._previousBurnFee (#710) is set pre-construction with a non-constant function or state variable:
- _burnFee
MAMMON._previousFomoFee (#713) is set pre-construction with a non-constant function or state variable:
- _fomoFee
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#298-303):
- (success) = recipient.call{value: amount}() (#301)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#358-377):
- (success,returndata) = target.call{value: weiValue}(data) (#361)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#491) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#492) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#506) is not in mixedCase
Function IUniswapV2Router01.WETH() (#524) is not in mixedCase
Parameter MAMMON.setSwapAndLiquidityEnabled(bool)._enabled (#936) is not in mixedCase
Parameter MAMMON.calculateTxgoldFee(uint256)._amount (#1068) is not in mixedCase
Parameter MAMMON.calculateMarketingFee(uint256)._amount (#1074) is not in mixedCase
Parameter MAMMON.calculateBurnFee(uint256)._amount (#1080) is not in mixedCase
Parameter MAMMON.calculateFomoFee(uint256)._amount (#1086) is not in mixedCase
Parameter MAMMON.calculateLiquidityFee(uint256)._amount (#1092) is not in mixedCase
Variable MAMMON._isExcludedFromAntiWhale (#659) is not in mixedCase
Variable MAMMON._addressState (#661) is not in mixedCase
Variable MAMMON._lastFomoAmount (#664) is not in mixedCase
Variable MAMMON._totalFomo (#665) is not in mixedCase
Variable MAMMON._fomoCount (#666) is not in mixedCase
Variable MAMMON._sendFomoEnable (#667) is not in mixedCase
Constant MAMMON._fomoWallet (#672) is not in UPPER_CASE_WITH_UNDERSCORES
Constant MAMMON._burnPool (#673) is not in UPPER_CASE_WITH_UNDERSCORES
Constant MAMMON._name (#678) is not in UPPER_CASE_WITH_UNDERSCORES
Constant MAMMON._symbol (#679) is not in UPPER_CASE_WITH_UNDERSCORES
Constant MAMMON._decimals (#680) is not in UPPER_CASE_WITH_UNDERSCORES
Variable MAMMON._drawNumerator (#685) is not in mixedCase
Variable MAMMON._fixedTime (#689) is not in mixedCase
Variable MAMMON._floatTime (#690) is not in mixedCase
Variable MAMMON._fomoSpacedTime (#693) is not in mixedCase
Variable MAMMON._fomoEndTime (#694) is not in mixedCase
Variable MAMMON._randomNumber_0 (#696) is not in mixedCase
Variable MAMMON._randomNumber_1 (#697) is not in mixedCase
Variable MAMMON._liquidityFee (#700) is not in mixedCase
Variable MAMMON._txgoldFee (#703) is not in mixedCase
Variable MAMMON._marketingFee (#706) is not in mixedCase
Variable MAMMON._burnFee (#709) is not in mixedCase
Variable MAMMON._fomoFee (#712) is not in mixedCase
Variable MAMMON._gameRound (#715) is not in mixedCase
Variable MAMMON._daySellNumber (#716) is not in mixedCase
Variable MAMMON._maxTxAmount (#724) is not in mixedCase
Variable MAMMON._numTokensSellToAddToLiquidity (#725) is not in mixedCase
Variable MAMMON._isAntiWhaleEnabled (#727) is not in mixedCase
Variable MAMMON._antiWhaleThreshold (#728) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#247)" inContext (#242-250)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#528) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#529)
Variable MAMMON._randomNumber_0 (#696) is too similar to MAMMON._randomNumber_1 (#697)
Variable MAMMON.checkFomo(address,address).fomoBalance (#1226) is too similar to MAMMON._transfer(address,address,uint256).fromBalance (#1154)
Prevent variables from having similar names.
Additional information: link
MAMMON.slitherConstructorVariables() (#653-1341) uses literals with too many digits:
- _tTotal = 100000 * 10 ** 6 * 10 ** _decimals (#681)
MAMMON.slitherConstructorVariables() (#653-1341) uses literals with too many digits:
- _maxTxAmount = 100000 * 10 ** 6 * 10 ** _decimals (#724)
MAMMON.slitherConstructorConstantVariables() (#653-1341) uses literals with too many digits:
- _burnPool = address(0x000000000000000000000000000000000000dEaD) (#673)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
MAMMON._excluded (#662) is never used in MAMMON (#653-1341)
Remove unused state variables.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#424-427)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#432-436)
getUnlockTime() should be declared external:
- Ownable.getUnlockTime() (#437-439)
lockShortTime(uint256) should be declared external:
- Ownable.lockShortTime(uint256) (#441-447)
lockLongTime(uint256) should be declared external:
- Ownable.lockLongTime(uint256) (#449-455)
unlock() should be declared external:
- Ownable.unlock() (#458-464)
name() should be declared external:
- MAMMON.name() (#797-799)
symbol() should be declared external:
- MAMMON.symbol() (#800-802)
decimals() should be declared external:
- MAMMON.decimals() (#803-805)
totalSupply() should be declared external:
- MAMMON.totalSupply() (#806-808)
transfer(address,uint256) should be declared external:
- MAMMON.transfer(address,uint256) (#812-815)
allowance(address,address) should be declared external:
- MAMMON.allowance(address,address) (#816-818)
approve(address,uint256) should be declared external:
- MAMMON.approve(address,uint256) (#819-822)
transferFrom(address,address,uint256) should be declared external:
- MAMMON.transferFrom(address,address,uint256) (#823-827)
increaseAllowance(address,uint256) should be declared external:
- MAMMON.increaseAllowance(address,uint256) (#828-831)
decreaseAllowance(address,uint256) should be declared external:
- MAMMON.decreaseAllowance(address,uint256) (#832-835)
isExcludedFromFee(address) should be declared external:
- MAMMON.isExcludedFromFee(address) (#836-838)
isExcludedFromAntiWhale(address) should be declared external:
- MAMMON.isExcludedFromAntiWhale(address) (#839-841)
isExcludedSendDraw(address) should be declared external:
- MAMMON.isExcludedSendDraw(address) (#842-844)
isLuckAddress(address) should be declared external:
- MAMMON.isLuckAddress(address) (#845-862)
excludeFromFee(address) should be declared external:
- MAMMON.excludeFromFee(address) (#873-875)
includeInFee(address) should be declared external:
- MAMMON.includeInFee(address) (#877-879)
setTxgoldAddress(address) should be declared external:
- MAMMON.setTxgoldAddress(address) (#905-913)
setMarketingAddress(address) should be declared external:
- MAMMON.setMarketingAddress(address) (#914-922)
setSwapAndLiquidityEnabled(bool) should be declared external:
- MAMMON.setSwapAndLiquidityEnabled(bool) (#936-939)
setDrawNumerator(uint8) should be declared external:
- MAMMON.setDrawNumerator(uint8) (#952-956)
setDrawTime(uint256,uint256) should be declared external:
- MAMMON.setDrawTime(uint256,uint256) (#957-961)
setDaySellNumber(uint256) should be declared external:
- MAMMON.setDaySellNumber(uint256) (#962-964)
rescueWBNB(uint256) should be declared external:
- MAMMON.rescueWBNB(uint256) (#966-971)
rescueUSDT(uint256) should be declared external:
- MAMMON.rescueUSDT(uint256) (#973-978)
rescueBUSD(uint256) should be declared external:
- MAMMON.rescueBUSD(uint256) (#980-985)
recoverTokens(uint256) should be declared external:
- MAMMON.recoverTokens(uint256) (#1000-1005)
Use the external attribute for functions never called from the contract.
Additional information: link
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Twitter account has less than 100 followers
Telegram account has relatively few subscribers
Last post in Twitter was more than 30 days ago
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account
Twitter account has few posts