MAFIA DOGE Token Logo

MDoge [MAFIA DOGE] Token

About MDoge

Listings

Token 2 years
CoinMarketCap 2 years

MafiaDoge – a Gangster Doge who is a family member of an epic Doge’s gangster family in cryptocurrency. MafiaDoge is holding a mission to protect the crypto market as well as bringing peace to all altcoins and meme coins. Anyone who affects the Doge family or even the crypto market will be punished by the name of MafiaDoge.

Social

Laser Scorebeta Last Audit: 19 April 2022

report
Token is either risky or in presale. For presale 30+ is a fine score.

MAFIADOGE.sendETHToFee(uint256) (#301-304) sends eth to arbitrary user
Dangerous calls:
- _marketingAddress.transfer(amount.div(2)) (#303)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in MAFIADOGE._transfer(address,address,uint256) (#248-285):
External calls:
- swapTokensForEth(contractTokenBalance) (#260)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#292-298)
External calls sending eth:
- sendETHToFee(address(this).balance) (#263)
- _autoLiquidityReceiver.transfer(amount.div(2)) (#302)
- _marketingAddress.transfer(amount.div(2)) (#303)
State variables written after the call(s):
- _tokenTransfer(from,to,amount) (#284)
- _rOwned[address(this)] = _rOwned[address(this)].add(rTeam) (#336)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#326)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#327)
- _tokenTransfer(from,to,amount) (#284)
- _rTotal = _rTotal.sub(rFee) (#340)
Apply the check-effects-interactions pattern.

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.


Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains


Contract ownership is not renounced (belongs to a wallet)

MAFIADOGE.allowance(address,address).owner (#220) shadows:
- Ownable.owner() (#110-112) (function)
MAFIADOGE._approve(address,address,uint256).owner (#241) 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)
MAFIADOGE.setdevAddress(address).dev (#311) lacks a zero-check on :
- _developmentAddress = dev (#313)
MAFIADOGE.setmarketingAddress(address).markt (#318) lacks a zero-check on :
- _marketingAddress = markt (#320)
Check that the address is not zero.

Additional information: link

MAFIADOGE._autoLiquidityReceiver (#160) should be constant
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:
- MAFIADOGE.name() (#195-197)
symbol() should be declared external:
- MAFIADOGE.symbol() (#199-201)
decimals() should be declared external:
- MAFIADOGE.decimals() (#203-205)
totalSupply() should be declared external:
- MAFIADOGE.totalSupply() (#207-209)
transfer(address,uint256) should be declared external:
- MAFIADOGE.transfer(address,uint256) (#215-218)
allowance(address,address) should be declared external:
- MAFIADOGE.allowance(address,address) (#220-222)
approve(address,uint256) should be declared external:
- MAFIADOGE.approve(address,uint256) (#224-227)
transferFrom(address,address,uint256) should be declared external:
- MAFIADOGE.transferFrom(address,address,uint256) (#229-233)
setdevAddress(address) should be declared external:
- MAFIADOGE.setdevAddress(address) (#311-315)
setmarketingAddress(address) should be declared external:
- MAFIADOGE.setmarketingAddress(address) (#318-322)
setFee(uint256,uint256,uint256,uint256) should be declared external:
- MAFIADOGE.setFee(uint256,uint256,uint256,uint256) (#392-401)
toggleSwap(bool) should be declared external:
- MAFIADOGE.toggleSwap(bool) (#403-405)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- MAFIADOGE.excludeMultipleAccountsFromFees(address[],bool) (#407-411)
Use the external attribute for functions never called from the contract.

Additional information: link

Reentrancy in MAFIADOGE._transfer(address,address,uint256) (#248-285):
External calls:
- swapTokensForEth(contractTokenBalance) (#260)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#292-298)
External calls sending eth:
- sendETHToFee(address(this).balance) (#263)
- _autoLiquidityReceiver.transfer(amount.div(2)) (#302)
- _marketingAddress.transfer(amount.div(2)) (#303)
State variables written after the call(s):
- _redisFee = _redisFeeOnBuy (#268)
- _redisFee = _redisFeeOnSell (#273)
- _redisFee = 0 (#278)
- _tokenTransfer(from,to,amount) (#284)
- _tFeeTotal = _tFeeTotal.add(tFee) (#341)
- _taxFee = _taxFeeOnBuy (#269)
- _taxFee = _taxFeeOnSell (#274)
- _taxFee = 0 (#279)
Reentrancy in MAFIADOGE.constructor() (#173-188):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#178-179)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#181)
- _isExcludedFromFee[address(this)] = true (#182)
- _isExcludedFromFee[_developmentAddress] = true (#183)
- _isExcludedFromFee[_marketingAddress] = true (#184)
- _isExcludedFromFee[_autoLiquidityReceiver] = true (#185)
Reentrancy in MAFIADOGE.transferFrom(address,address,uint256) (#229-233):
External calls:
- _transfer(sender,recipient,amount) (#230)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#292-298)
External calls sending eth:
- _transfer(sender,recipient,amount) (#230)
- _autoLiquidityReceiver.transfer(amount.div(2)) (#302)
- _marketingAddress.transfer(amount.div(2)) (#303)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#231)
- _allowances[owner][spender] = amount (#244)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in MAFIADOGE._transfer(address,address,uint256) (#248-285):
External calls:
- swapTokensForEth(contractTokenBalance) (#260)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#292-298)
External calls sending eth:
- sendETHToFee(address(this).balance) (#263)
- _autoLiquidityReceiver.transfer(amount.div(2)) (#302)
- _marketingAddress.transfer(amount.div(2)) (#303)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#330)
- _tokenTransfer(from,to,amount) (#284)
Reentrancy in MAFIADOGE.constructor() (#173-188):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#178-179)
Event emitted after the call(s):
- Transfer(address(0x0000000000000000000000000000000000000000),_msgSender(),_tTotal) (#187)
Reentrancy in MAFIADOGE.transferFrom(address,address,uint256) (#229-233):
External calls:
- _transfer(sender,recipient,amount) (#230)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#292-298)
External calls sending eth:
- _transfer(sender,recipient,amount) (#230)
- _autoLiquidityReceiver.transfer(amount.div(2)) (#302)
- _marketingAddress.transfer(amount.div(2)) (#303)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#245)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#231)
Apply the check-effects-interactions pattern.

Additional information: link

Function IUniswapV2Router02.WETH() (#43) is not in mixedCase
Event MAFIADOGEdevAddressUpdated(address,address) (#310) is not in CapWords
Event MAFIADOGEmarketingAddressUpdated(address,address) (#317) is not in CapWords
Parameter MAFIADOGE.toggleSwap(bool)._feeSwap (#403) is not in mixedCase
Constant MAFIADOGE._tTotal (#141) is not in UPPER_CASE_WITH_UNDERSCORES
Constant MAFIADOGE._name (#154) is not in UPPER_CASE_WITH_UNDERSCORES
Constant MAFIADOGE._symbol (#155) is not in UPPER_CASE_WITH_UNDERSCORES
Constant MAFIADOGE._decimals (#156) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.

Additional information: link

Reentrancy in MAFIADOGE._transfer(address,address,uint256) (#248-285):
External calls:
- sendETHToFee(address(this).balance) (#263)
- _autoLiquidityReceiver.transfer(amount.div(2)) (#302)
- _marketingAddress.transfer(amount.div(2)) (#303)
State variables written after the call(s):
- _tokenTransfer(from,to,amount) (#284)
- _rOwned[address(this)] = _rOwned[address(this)].add(rTeam) (#336)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#326)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#327)
- _tokenTransfer(from,to,amount) (#284)
- _rTotal = _rTotal.sub(rFee) (#340)
- _redisFee = _redisFeeOnBuy (#268)
- _redisFee = _redisFeeOnSell (#273)
- _redisFee = 0 (#278)
- _tokenTransfer(from,to,amount) (#284)
- _tFeeTotal = _tFeeTotal.add(tFee) (#341)
- _taxFee = _taxFeeOnBuy (#269)
- _taxFee = _taxFeeOnSell (#274)
- _taxFee = 0 (#279)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#330)
- _tokenTransfer(from,to,amount) (#284)
Reentrancy in MAFIADOGE.transferFrom(address,address,uint256) (#229-233):
External calls:
- _transfer(sender,recipient,amount) (#230)
- _autoLiquidityReceiver.transfer(amount.div(2)) (#302)
- _marketingAddress.transfer(amount.div(2)) (#303)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#231)
- _allowances[owner][spender] = amount (#244)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#245)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#231)
Apply the check-effects-interactions pattern.

Additional information: link

Variable MAFIADOGE._getValues(uint256).rTransferAmount (#349) is too similar to MAFIADOGE._getTValues(uint256,uint256,uint256).tTransferAmount (#356)
Variable MAFIADOGE._getValues(uint256).rTransferAmount (#349) is too similar to MAFIADOGE._transferStandard(address,address,uint256).tTransferAmount (#325)
Variable MAFIADOGE._transferStandard(address,address,uint256).rTransferAmount (#325) is too similar to MAFIADOGE._transferStandard(address,address,uint256).tTransferAmount (#325)
Variable MAFIADOGE._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#364) is too similar to MAFIADOGE._getValues(uint256).tTransferAmount (#347)
Variable MAFIADOGE._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#364) is too similar to MAFIADOGE._transferStandard(address,address,uint256).tTransferAmount (#325)
Variable MAFIADOGE._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#364) is too similar to MAFIADOGE._getTValues(uint256,uint256,uint256).tTransferAmount (#356)
Variable MAFIADOGE._getValues(uint256).rTransferAmount (#349) is too similar to MAFIADOGE._getValues(uint256).tTransferAmount (#347)
Variable MAFIADOGE._transferStandard(address,address,uint256).rTransferAmount (#325) is too similar to MAFIADOGE._getValues(uint256).tTransferAmount (#347)
Variable MAFIADOGE._transferStandard(address,address,uint256).rTransferAmount (#325) is too similar to MAFIADOGE._getTValues(uint256,uint256,uint256).tTransferAmount (#356)
Prevent variables from having similar names.

Additional information: link

MAFIADOGE.constructor() (#173-188) uses literals with too many digits:
- Transfer(address(0x0000000000000000000000000000000000000000),_msgSender(),_tTotal) (#187)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

Ownable._previousOwner (#102) is never used in MAFIADOGE (#132-413)
MAFIADOGE._tOwned (#136) is never used in MAFIADOGE (#132-413)
Remove unused state variables.

Additional information: link

Holders:


Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.


Token seems to be untradeable: there is no PancakeSwap trading pair and no trading volumes. Ignore for presale.


Unable to find Youtube account


Unable to find Discord account


BscScan page for the token does not contain additional info: website, socials, description, etc.

Additional information: link


Unable to find token/project description on the website or on BscScan, CoinMarketCap


Unable to find whitepaper link on the website


Unable to find token on CoinGecko

Additional information: link


Unable to find token on CoinMarketCap

Additional information: link


Unable to find token on CoinHunt

Additional information: link


Alexa traffic rank is very low

Additional information: link


Young tokens have high risks of scam / price dump / death


Young tokens have high risks of scam / price dump / death


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank

Price for MDoge

News for MDoge