MamaDogeToken.sendETHToFee(uint256) (#289-291) sends eth to arbitrary user
Dangerous calls:
- _developmentAddress.transfer(amount) (#290)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in MamaDogeToken._transfer(address,address,uint256) (#242-273):
External calls:
- swapTokensForEth(contractTokenBalance) (#253)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#280-286)
External calls sending eth:
- sendETHToFee(address(this).balance) (#256)
- _developmentAddress.transfer(amount) (#290)
State variables written after the call(s):
- _tokenTransfer(from,to,amount) (#272)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#305)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#306)
- _rOwned[address(this)] = _rOwned[address(this)].add(rFee) (#307)
- _tokenTransfer(from,to,amount) (#272)
- _rTotal = _rTotal.sub(rFee) (#313)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
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.
Contract ownership is not renounced (belongs to a wallet)
MamaDogeToken.allowance(address,address).owner (#214) shadows:
- Ownable.owner() (#110-112) (function)
MamaDogeToken._approve(address,address,uint256).owner (#235) shadows:
- Ownable.owner() (#110-112) (function)
Rename the local variables that shadow another component.
Additional information: link
Ownable.transferOwnership(address).newOwner (#125) lacks a zero-check on :
- _owner = newOwner (#127)
MamaDogeToken.setNewDevAddress(address).dev (#297) lacks a zero-check on :
- _developmentAddress = dev (#299)
Check that the address is not zero.
Additional information: link
Reentrancy in MamaDogeToken._transfer(address,address,uint256) (#242-273):
External calls:
- swapTokensForEth(contractTokenBalance) (#253)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#280-286)
External calls sending eth:
- sendETHToFee(address(this).balance) (#256)
- _developmentAddress.transfer(amount) (#290)
State variables written after the call(s):
- _tokenTransfer(from,to,amount) (#272)
- _tFeeTotal = _tFeeTotal.add(tFee) (#314)
- _taxFee = _taxFeeOnBuy (#261)
- _taxFee = _taxFeeOnSell (#265)
- _taxFee = 0 (#269)
Reentrancy in MamaDogeToken.changeRouterVersion(address) (#317-331):
External calls:
- newPairAddress = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#325-326)
State variables written after the call(s):
- uniswapV2Pair = newPairAddress (#329)
- uniswapV2Router = _uniswapV2Router (#330)
Reentrancy in MamaDogeToken.constructor() (#167-182):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#174-175)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#177)
- _isExcludedFromFee[address(this)] = true (#178)
- _isExcludedFromFee[_developmentAddress] = true (#179)
Reentrancy in MamaDogeToken.transferFrom(address,address,uint256) (#223-227):
External calls:
- _transfer(sender,recipient,amount) (#224)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#280-286)
External calls sending eth:
- _transfer(sender,recipient,amount) (#224)
- _developmentAddress.transfer(amount) (#290)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#225)
- _allowances[owner][spender] = amount (#238)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in MamaDogeToken._transfer(address,address,uint256) (#242-273):
External calls:
- swapTokensForEth(contractTokenBalance) (#253)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#280-286)
External calls sending eth:
- sendETHToFee(address(this).balance) (#256)
- _developmentAddress.transfer(amount) (#290)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#309)
- _tokenTransfer(from,to,amount) (#272)
Reentrancy in MamaDogeToken.constructor() (#167-182):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#174-175)
Event emitted after the call(s):
- Transfer(address(0x0000000000000000000000000000000000000000),_msgSender(),_tTotal) (#181)
Reentrancy in MamaDogeToken.transferFrom(address,address,uint256) (#223-227):
External calls:
- _transfer(sender,recipient,amount) (#224)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#280-286)
External calls sending eth:
- _transfer(sender,recipient,amount) (#224)
- _developmentAddress.transfer(amount) (#290)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#239)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#225)
Apply the check-effects-interactions pattern.
Additional information: link
Function IUniswapV2Router02.WETH() (#43) is not in mixedCase
Event MamaDogeTokendevAddressUpdated(address,address) (#296) is not in CapWords
Parameter MamaDogeToken.toggleSwap(bool)._swapEnabled (#374) is not in mixedCase
Constant MamaDogeToken._tTotal (#140) is not in UPPER_CASE_WITH_UNDERSCORES
Variable MamaDogeToken._taxFeeOnBuy (#144) is not in mixedCase
Variable MamaDogeToken._taxFeeOnSell (#146) is not in mixedCase
Constant MamaDogeToken._name (#150) is not in UPPER_CASE_WITH_UNDERSCORES
Constant MamaDogeToken._symbol (#151) is not in UPPER_CASE_WITH_UNDERSCORES
Constant MamaDogeToken._decimals (#152) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.
Additional information: link
Reentrancy in MamaDogeToken._transfer(address,address,uint256) (#242-273):
External calls:
- sendETHToFee(address(this).balance) (#256)
- _developmentAddress.transfer(amount) (#290)
State variables written after the call(s):
- _tokenTransfer(from,to,amount) (#272)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#305)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#306)
- _rOwned[address(this)] = _rOwned[address(this)].add(rFee) (#307)
- _tokenTransfer(from,to,amount) (#272)
- _rTotal = _rTotal.sub(rFee) (#313)
- _tokenTransfer(from,to,amount) (#272)
- _tFeeTotal = _tFeeTotal.add(tFee) (#314)
- _taxFee = _taxFeeOnBuy (#261)
- _taxFee = _taxFeeOnSell (#265)
- _taxFee = 0 (#269)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#309)
- _tokenTransfer(from,to,amount) (#272)
Reentrancy in MamaDogeToken.transferFrom(address,address,uint256) (#223-227):
External calls:
- _transfer(sender,recipient,amount) (#224)
- _developmentAddress.transfer(amount) (#290)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#225)
- _allowances[owner][spender] = amount (#238)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#239)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#225)
Apply the check-effects-interactions pattern.
Additional information: link
Variable MamaDogeToken._getValues(uint256).rTransferAmount (#338) is too similar to MamaDogeToken._transferStandard(address,address,uint256).tTransferAmount (#304)
Variable MamaDogeToken._getRValues(uint256,uint256,uint256).rTransferAmount (#351) is too similar to MamaDogeToken._getValues(uint256).tTransferAmount (#336)
Variable MamaDogeToken._getRValues(uint256,uint256,uint256).rTransferAmount (#351) is too similar to MamaDogeToken._getTValues(uint256,uint256).tTransferAmount (#344)
Variable MamaDogeToken._getValues(uint256).rTransferAmount (#338) is too similar to MamaDogeToken._getTValues(uint256,uint256).tTransferAmount (#344)
Variable MamaDogeToken._transferStandard(address,address,uint256).rTransferAmount (#304) is too similar to MamaDogeToken._transferStandard(address,address,uint256).tTransferAmount (#304)
Variable MamaDogeToken._getRValues(uint256,uint256,uint256).rTransferAmount (#351) is too similar to MamaDogeToken._transferStandard(address,address,uint256).tTransferAmount (#304)
Variable MamaDogeToken._getValues(uint256).rTransferAmount (#338) is too similar to MamaDogeToken._getValues(uint256).tTransferAmount (#336)
Variable MamaDogeToken._transferStandard(address,address,uint256).rTransferAmount (#304) is too similar to MamaDogeToken._getTValues(uint256,uint256).tTransferAmount (#344)
Variable MamaDogeToken._transferStandard(address,address,uint256).rTransferAmount (#304) is too similar to MamaDogeToken._getValues(uint256).tTransferAmount (#336)
Prevent variables from having similar names.
Additional information: link
MamaDogeToken.constructor() (#167-182) uses literals with too many digits:
- Transfer(address(0x0000000000000000000000000000000000000000),_msgSender(),_tTotal) (#181)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Ownable._previousOwner (#102) is never used in MamaDogeToken (#132-384)
Remove unused state variables.
Additional information: link
Ownable._previousOwner (#102) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#119-122)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#125-128)
name() should be declared external:
- MamaDogeToken.name() (#189-191)
symbol() should be declared external:
- MamaDogeToken.symbol() (#193-195)
decimals() should be declared external:
- MamaDogeToken.decimals() (#197-199)
totalSupply() should be declared external:
- MamaDogeToken.totalSupply() (#201-203)
transfer(address,uint256) should be declared external:
- MamaDogeToken.transfer(address,uint256) (#209-212)
allowance(address,address) should be declared external:
- MamaDogeToken.allowance(address,address) (#214-216)
approve(address,uint256) should be declared external:
- MamaDogeToken.approve(address,uint256) (#218-221)
transferFrom(address,address,uint256) should be declared external:
- MamaDogeToken.transferFrom(address,address,uint256) (#223-227)
setNewDevAddress(address) should be declared external:
- MamaDogeToken.setNewDevAddress(address) (#297-301)
changeRouterVersion(address) should be declared external:
- MamaDogeToken.changeRouterVersion(address) (#317-331)
setFee(uint256,uint256) should be declared external:
- MamaDogeToken.setFee(uint256,uint256) (#367-372)
toggleSwap(bool) should be declared external:
- MamaDogeToken.toggleSwap(bool) (#374-376)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- MamaDogeToken.excludeMultipleAccountsFromFees(address[],bool) (#378-382)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap volume 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.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Contract has 3% buy tax and 3% sell tax.
Taxes are low but contract ownership is not renounced. Token has a high risk of becoming a honeypot.
Average 30d PancakeSwap liquidity is low.
Number of Binance Smart Chain (BSC) token holders is low.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find website, listings and other project-related information
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts