MiniDOGE Token Logo

MiniDOGE Token

About MiniDOGE

Listings

Token 12 months
CoinGecko 11 months
CoinMarketCap 11 months
white paper

MiniDoge is a hyper deflationary token through the use of Autoboost. MiniDoge tokens are converted to BNB based on trade volume and reflections, the BNB is then sent to liquidity and the Buyback. Autoboost buys back a variable amount of MiniDoge tokens with the BNB anytime someone decides to sell, 100% of the MiniDoge tokens bought back are then burned immediately.

MiniDoge holders will receive 40% of the revenue generated from MiniPets and all MiniGames in the form of BNB.

MiniPets is a Play2Earn/Hold2Earn NFT adventure game where you begin your journey within Doge City which resides in Doge World. Create and develop your NFT pet, complete missions, adventure and earn NFT's. MiniGames are developed based off of the top mobile games, Hold MiniDoge to earn BNB as a reflection from Revenue.

DogeEx, the exchange that brings you all the top trusted Doge tokens on the market. MiniDoge holders will also be able to stake their tokens.

Social

Laser Scorebeta Last Audit: 17 April 2022

report
Token seems to be (relatively) fine. It still become a scam, but probability is moderate.

Anti-Scam

Links

MiniDOGE.swapETHForTokens(uint256) (#829-844) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#836-841)
MiniDOGE.addLiquidity(uint256,uint256) (#846-859) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#851-858)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

MiniDOGE._transfer(address,address,uint256) (#672-789) uses a weak PRNG: "_bBSLimit = _bBSLimitMin + uint256(keccak256(bytes)(abi.encodePacked(block.timestamp,block.difficulty))) % (_bBSLimitMax - _bBSLimitMin + 1) (#733)"
Do not use block.timestamp, now or blockhash as a source of randomness

Additional information: link

Reentrancy in MiniDOGE._transfer(address,address,uint256) (#672-789):
External calls:
- swapTokens(contractTokenBalance) (#701)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#818-824)
External calls sending eth:
- swapTokens(contractTokenBalance) (#701)
- recipient.transfer(amount) (#1142)
State variables written after the call(s):
- _removeOldSellHistories() (#728)
- _sellHistories[i].time = _sellHistories[j].time (#1029)
- _sellHistories[i].bnbAmount = _sellHistories[j].bnbAmount (#1030)
- _sellHistories.pop() (#1040)
Reentrancy in MiniDOGE._transfer(address,address,uint256) (#672-789):
External calls:
- swapTokens(contractTokenBalance) (#701)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#818-824)
- buyBackTokens(_bBSLimit) (#736)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#836-841)
External calls sending eth:
- swapTokens(contractTokenBalance) (#701)
- recipient.transfer(amount) (#1142)
- buyBackTokens(_bBSLimit) (#736)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#836-841)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#788)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#965)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#881)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#890)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#901)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#911)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#882)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#892)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#902)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#913)
- _tokenTransfer(from,to,amount,takeFee) (#788)
- _rTotal = _rTotal.sub(rFee) (#920)
- _tokenTransfer(from,to,amount,takeFee) (#788)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#967)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#910)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#900)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#891)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#912)
- buyBackTokens(_bBSLimit) (#736)
- inSwapAndLiquify = true (#518)
- inSwapAndLiquify = false (#520)
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)

MiniDOGE._decimals (#438) should be constant
MiniDOGE._isEnabledBuyBackAndBurn (#495) should be constant
MiniDOGE._name (#436) should be constant
MiniDOGE._symbol (#437) should be constant
MiniDOGE._tTotal (#432) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

MiniDOGE._rTotal (#433) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
MiniDOGE._previousTaxFee (#456) is set pre-construction with a non-constant function or state variable:
- _taxFee
MiniDOGE._previousLiquidityFee (#459) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
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) (#104-110):
- (success) = recipient.call{value: amount}() (#108)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#130-147):
- (success,returndata) = target.call{value: weiValue}(data) (#133)
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() (#243) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#244) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#260) is not in mixedCase
Function IUniswapV2Router01.WETH() (#281) is not in mixedCase
Parameter MiniDOGE.calculateTaxFee(uint256)._amount (#970) is not in mixedCase
Parameter MiniDOGE.calculateLiquidityFee(uint256)._amount (#976) is not in mixedCase
Function MiniDOGE.SetBuyBackMaxTimeForHistories(uint256) (#1045-1047) is not in mixedCase
Function MiniDOGE.SetBuyBackDivisor(uint256) (#1049-1051) is not in mixedCase
Function MiniDOGE.GetBuyBackTimeInterval() (#1053-1055) is not in mixedCase
Function MiniDOGE.SetBuyBackTimeInterval(uint256) (#1057-1059) is not in mixedCase
Function MiniDOGE.SetBuyBackRangeRate(uint256) (#1061-1064) is not in mixedCase
Function MiniDOGE.GetSwapMinutes() (#1066-1068) is not in mixedCase
Function MiniDOGE.SetSwapMinutes(uint256) (#1070-1072) is not in mixedCase
Parameter MiniDOGE.setNumTokensSellToAddToBuyBack(uint256)._minimumTokensBeforeSwap (#1104) is not in mixedCase
Parameter MiniDOGE.setMarketingAddress(address)._marketingAddress (#1108) is not in mixedCase
Parameter MiniDOGE.setSwapAndLiquifyEnabled(bool)._enabled (#1112) is not in mixedCase
Parameter MiniDOGE.setBuyBackEnabled(bool)._enabled (#1117) is not in mixedCase
Parameter MiniDOGE.setAutoBuyBackEnabled(bool)._enabled (#1122) is not in mixedCase
Parameter MiniDOGE.changeRouterVersion(address)._router (#1145) is not in mixedCase
Parameter MiniDOGE.transferForeignToken(address,address)._token (#1164) is not in mixedCase
Parameter MiniDOGE.transferForeignToken(address,address)._to (#1164) is not in mixedCase
Function MiniDOGE.Sweep() (#1170-1173) is not in mixedCase
Parameter MiniDOGE.setAddressFee(address,bool,uint256,uint256)._address (#1175) is not in mixedCase
Parameter MiniDOGE.setAddressFee(address,bool,uint256,uint256)._enable (#1175) is not in mixedCase
Parameter MiniDOGE.setAddressFee(address,bool,uint256,uint256)._addressTaxFee (#1175) is not in mixedCase
Parameter MiniDOGE.setAddressFee(address,bool,uint256,uint256)._addressLiquidityFee (#1175) is not in mixedCase
Parameter MiniDOGE.setBuyAddressFee(address,bool,uint256,uint256)._address (#1181) is not in mixedCase
Parameter MiniDOGE.setBuyAddressFee(address,bool,uint256,uint256)._enable (#1181) is not in mixedCase
Parameter MiniDOGE.setBuyAddressFee(address,bool,uint256,uint256)._addressTaxFee (#1181) is not in mixedCase
Parameter MiniDOGE.setBuyAddressFee(address,bool,uint256,uint256)._addressLiquidityFee (#1181) is not in mixedCase
Parameter MiniDOGE.setSellAddressFee(address,bool,uint256,uint256)._address (#1187) is not in mixedCase
Parameter MiniDOGE.setSellAddressFee(address,bool,uint256,uint256)._enable (#1187) is not in mixedCase
Parameter MiniDOGE.setSellAddressFee(address,bool,uint256,uint256)._addressTaxFee (#1187) is not in mixedCase
Parameter MiniDOGE.setSellAddressFee(address,bool,uint256,uint256)._addressLiquidityFee (#1187) is not in mixedCase
Variable MiniDOGE._taxFee (#455) is not in mixedCase
Variable MiniDOGE._liquidityFee (#458) is not in mixedCase
Variable MiniDOGE._buyTaxFee (#461) is not in mixedCase
Variable MiniDOGE._buyLiquidityFee (#462) is not in mixedCase
Variable MiniDOGE._sellTaxFee (#464) is not in mixedCase
Variable MiniDOGE._sellLiquidityFee (#465) is not in mixedCase
Variable MiniDOGE._startTimeForSwap (#467) is not in mixedCase
Variable MiniDOGE._intervalMinutesForSwap (#468) is not in mixedCase
Variable MiniDOGE._buyBackRangeRate (#470) is not in mixedCase
Variable MiniDOGE._addressFees (#473) is not in mixedCase
Variable MiniDOGE._maxTxAmount (#477) is not in mixedCase
Variable MiniDOGE._sellHistories (#482) is not in mixedCase
Variable MiniDOGE._isAutoBuyBack (#483) is not in mixedCase
Variable MiniDOGE._buyBackDivisor (#484) is not in mixedCase
Variable MiniDOGE._buyBackTimeInterval (#485) is not in mixedCase
Variable MiniDOGE._buyBackMaxTimeForHistories (#486) is not in mixedCase
Variable MiniDOGE._isEnabledBuyBackAndBurn (#495) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#17)" inContext (#11-20)
Remove redundant statements if they congest code but offer no value.

Additional information: link

MiniDOGE._transfer(address,address,uint256).sellHistory (#688) is a local variable never initialized
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.

Additional information: link

MiniDOGE.addLiquidity(uint256,uint256) (#846-859) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#851-858)
Ensure that all the return values of the function calls are used.

Additional information: link

MiniDOGE.allowance(address,address).owner (#573) shadows:
- Ownable.owner() (#163-165) (function)
MiniDOGE._approve(address,address,uint256).owner (#664) shadows:
- Ownable.owner() (#163-165) (function)
Rename the local variables that shadow another component.

Additional information: link

MiniDOGE.SetBuyBackMaxTimeForHistories(uint256) (#1045-1047) should emit an event for:
- _buyBackMaxTimeForHistories = newMinutes * 60 (#1046)
MiniDOGE.SetBuyBackDivisor(uint256) (#1049-1051) should emit an event for:
- _buyBackDivisor = newDivisor (#1050)
MiniDOGE.SetBuyBackTimeInterval(uint256) (#1057-1059) should emit an event for:
- _buyBackTimeInterval = newMinutes * 60 (#1058)
MiniDOGE.SetBuyBackRangeRate(uint256) (#1061-1064) should emit an event for:
- _buyBackRangeRate = newPercent (#1063)
MiniDOGE.SetSwapMinutes(uint256) (#1070-1072) should emit an event for:
- _intervalMinutesForSwap = newMinutes * 60 (#1071)
MiniDOGE.setTaxFeePercent(uint256) (#1074-1076) should emit an event for:
- _taxFee = taxFee (#1075)
MiniDOGE.setBuyFee(uint256,uint256) (#1078-1081) should emit an event for:
- _buyTaxFee = buyTaxFee (#1079)
- _buyLiquidityFee = buyLiquidityFee (#1080)
MiniDOGE.setSellFee(uint256,uint256) (#1083-1086) should emit an event for:
- _sellTaxFee = sellTaxFee (#1084)
- _sellLiquidityFee = sellLiquidityFee (#1085)
MiniDOGE.setLiquidityFeePercent(uint256) (#1088-1090) should emit an event for:
- _liquidityFee = liquidityFee (#1089)
MiniDOGE.setBuyBackSellLimit(uint256) (#1092-1094) should emit an event for:
- buyBackSellLimit = buyBackSellSetLimit (#1093)
MiniDOGE.setMaxTxAmount(uint256) (#1096-1098) should emit an event for:
- _maxTxAmount = maxTxAmount (#1097)
MiniDOGE.setMarketingDivisor(uint256) (#1100-1102) should emit an event for:
- marketingDivisor = divisor (#1101)
MiniDOGE.setNumTokensSellToAddToBuyBack(uint256) (#1104-1106) should emit an event for:
- minimumTokensBeforeSwap = _minimumTokensBeforeSwap (#1105)
Emit an event for critical parameter changes.

Additional information: link

MiniDOGE.setMarketingAddress(address)._marketingAddress (#1108) lacks a zero-check on :
- marketingAddress = address(_marketingAddress) (#1109)
Check that the address is not zero.

Additional information: link

Reentrancy in MiniDOGE._transfer(address,address,uint256) (#672-789):
External calls:
- swapTokens(contractTokenBalance) (#701)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#818-824)
- buyBackTokens(_bBSLimit) (#736)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#836-841)
External calls sending eth:
- swapTokens(contractTokenBalance) (#701)
- recipient.transfer(amount) (#1142)
- buyBackTokens(_bBSLimit) (#736)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#836-841)
State variables written after the call(s):
- removeAllFee() (#752)
- _liquidityFee = 0 (#989)
- _liquidityFee = _buyLiquidityFee (#754)
- removeAllFee() (#758)
- _liquidityFee = 0 (#989)
- _liquidityFee = _sellLiquidityFee (#760)
- removeAllFee() (#765)
- _liquidityFee = 0 (#989)
- _liquidityFee = _addressFees[from]._liquidityFee (#767)
- _liquidityFee = _addressFees[from]._sellLiquidityFee (#772)
- removeAllFee() (#779)
- _liquidityFee = 0 (#989)
- _liquidityFee = _addressFees[to]._buyLiquidityFee (#782)
- _tokenTransfer(from,to,amount,takeFee) (#788)
- _liquidityFee = _previousLiquidityFee (#994)
- _liquidityFee = 0 (#989)
- removeAllFee() (#752)
- _previousLiquidityFee = _liquidityFee (#986)
- removeAllFee() (#758)
- _previousLiquidityFee = _liquidityFee (#986)
- removeAllFee() (#765)
- _previousLiquidityFee = _liquidityFee (#986)
- removeAllFee() (#779)
- _previousLiquidityFee = _liquidityFee (#986)
- _tokenTransfer(from,to,amount,takeFee) (#788)
- _previousLiquidityFee = _liquidityFee (#986)
- removeAllFee() (#752)
- _previousTaxFee = _taxFee (#985)
- removeAllFee() (#758)
- _previousTaxFee = _taxFee (#985)
- removeAllFee() (#765)
- _previousTaxFee = _taxFee (#985)
- removeAllFee() (#779)
- _previousTaxFee = _taxFee (#985)
- _tokenTransfer(from,to,amount,takeFee) (#788)
- _previousTaxFee = _taxFee (#985)
- _tokenTransfer(from,to,amount,takeFee) (#788)
- _tFeeTotal = _tFeeTotal.add(tFee) (#921)
- removeAllFee() (#752)
- _taxFee = 0 (#988)
- _taxFee = _buyTaxFee (#753)
- removeAllFee() (#758)
- _taxFee = 0 (#988)
- _taxFee = _sellTaxFee (#759)
- removeAllFee() (#765)
- _taxFee = 0 (#988)
- _taxFee = _addressFees[from]._taxFee (#766)
- _taxFee = _addressFees[from]._sellTaxFee (#771)
- removeAllFee() (#779)
- _taxFee = 0 (#988)
- _taxFee = _addressFees[to]._buyTaxFee (#781)
- _tokenTransfer(from,to,amount,takeFee) (#788)
- _taxFee = _previousTaxFee (#993)
- _taxFee = 0 (#988)
Reentrancy in MiniDOGE.changeRouterVersion(address) (#1145-1158):
External calls:
- _pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1151-1152)
State variables written after the call(s):
- uniswapV2Pair = _pair (#1154)
- uniswapV2Router = _uniswapV2Router (#1157)
Reentrancy in MiniDOGE.constructor() (#523-545):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#533-534)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#539)
- _isExcludedFromFee[address(this)] = true (#540)
- _startTimeForSwap = block.timestamp (#542)
- uniswapV2Router = _uniswapV2Router (#536)
Reentrancy in MiniDOGE.transferFrom(address,address,uint256) (#582-586):
External calls:
- _transfer(sender,recipient,amount) (#583)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#836-841)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#818-824)
External calls sending eth:
- _transfer(sender,recipient,amount) (#583)
- recipient.transfer(amount) (#1142)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#836-841)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#584)
- _allowances[owner][spender] = amount (#668)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in MiniDOGE._transfer(address,address,uint256) (#672-789):
External calls:
- swapTokens(contractTokenBalance) (#701)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#818-824)
- buyBackTokens(_bBSLimit) (#736)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#836-841)
External calls sending eth:
- swapTokens(contractTokenBalance) (#701)
- recipient.transfer(amount) (#1142)
- buyBackTokens(_bBSLimit) (#736)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#836-841)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#843)
- buyBackTokens(_bBSLimit) (#736)
- Transfer(sender,recipient,tTransferAmount) (#885)
- _tokenTransfer(from,to,amount,takeFee) (#788)
- Transfer(sender,recipient,tTransferAmount) (#905)
- _tokenTransfer(from,to,amount,takeFee) (#788)
- Transfer(sender,recipient,tTransferAmount) (#895)
- _tokenTransfer(from,to,amount,takeFee) (#788)
- Transfer(sender,recipient,tTransferAmount) (#916)
- _tokenTransfer(from,to,amount,takeFee) (#788)
Reentrancy in MiniDOGE.constructor() (#523-545):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#533-534)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#544)
Reentrancy in MiniDOGE.swapETHForTokens(uint256) (#829-844):
External calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#836-841)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#843)
Reentrancy in MiniDOGE.swapTokensForEth(uint256) (#809-827):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#818-824)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#826)
Reentrancy in MiniDOGE.transferFrom(address,address,uint256) (#582-586):
External calls:
- _transfer(sender,recipient,amount) (#583)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#836-841)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#818-824)
External calls sending eth:
- _transfer(sender,recipient,amount) (#583)
- recipient.transfer(amount) (#1142)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#836-841)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#669)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#584)
Apply the check-effects-interactions pattern.

Additional information: link

Ownable.unlock() (#198-203) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 7 days) (#200)
MiniDOGE._transfer(address,address,uint256) (#672-789) uses timestamp for comparisons
Dangerous comparisons:
- overMinimumTokenBalance && _startTimeForSwap + _intervalMinutesForSwap <= block.timestamp (#698)
- _sellHistories[i].time >= startTime (#718)
- balance > _bBSLimit (#735)
MiniDOGE.buyBackTokens(uint256) (#803-807) uses timestamp for comparisons
Dangerous comparisons:
- amount > 0 (#804)
MiniDOGE._removeOldSellHistories() (#1021-1043) uses timestamp for comparisons
Dangerous comparisons:
- _sellHistories[j].time >= maxStartTimeForHistories (#1027)
Avoid relying on block.timestamp.

Additional information: link

Address.isContract(address) (#93-102) uses assembly
- INLINE ASM (#100)
Address._functionCallWithValue(address,bytes,uint256,string) (#130-147) uses assembly
- INLINE ASM (#139-142)
Do not use evm assembly.

Additional information: link

Address._functionCallWithValue(address,bytes,uint256,string) (#130-147) is never used and should be removed
Address.functionCall(address,bytes) (#113-115) is never used and should be removed
Address.functionCall(address,bytes,string) (#117-119) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#121-123) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#125-128) is never used and should be removed
Address.isContract(address) (#93-102) is never used and should be removed
Address.sendValue(address,uint256) (#104-110) is never used and should be removed
Context._msgData() (#16-19) is never used and should be removed
MiniDOGE.addLiquidity(uint256,uint256) (#846-859) is never used and should be removed
SafeMath.mod(uint256,uint256) (#81-83) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#85-88) is never used and should be removed
Remove unused functions.

Additional information: link

Reentrancy in MiniDOGE._transfer(address,address,uint256) (#672-789):
External calls:
- swapTokens(contractTokenBalance) (#701)
- recipient.transfer(amount) (#1142)
State variables written after the call(s):
- _removeOldSellHistories() (#728)
- _sellHistories[i].time = _sellHistories[j].time (#1029)
- _sellHistories[i].bnbAmount = _sellHistories[j].bnbAmount (#1030)
- _sellHistories.pop() (#1040)
Reentrancy in MiniDOGE._transfer(address,address,uint256) (#672-789):
External calls:
- swapTokens(contractTokenBalance) (#701)
- recipient.transfer(amount) (#1142)
External calls sending eth:
- swapTokens(contractTokenBalance) (#701)
- recipient.transfer(amount) (#1142)
- buyBackTokens(_bBSLimit) (#736)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#836-841)
State variables written after the call(s):
- removeAllFee() (#752)
- _liquidityFee = 0 (#989)
- _liquidityFee = _buyLiquidityFee (#754)
- removeAllFee() (#758)
- _liquidityFee = 0 (#989)
- _liquidityFee = _sellLiquidityFee (#760)
- removeAllFee() (#765)
- _liquidityFee = 0 (#989)
- _liquidityFee = _addressFees[from]._liquidityFee (#767)
- _liquidityFee = _addressFees[from]._sellLiquidityFee (#772)
- removeAllFee() (#779)
- _liquidityFee = 0 (#989)
- _liquidityFee = _addressFees[to]._buyLiquidityFee (#782)
- _tokenTransfer(from,to,amount,takeFee) (#788)
- _liquidityFee = _previousLiquidityFee (#994)
- _liquidityFee = 0 (#989)
- removeAllFee() (#752)
- _previousLiquidityFee = _liquidityFee (#986)
- removeAllFee() (#758)
- _previousLiquidityFee = _liquidityFee (#986)
- removeAllFee() (#765)
- _previousLiquidityFee = _liquidityFee (#986)
- removeAllFee() (#779)
- _previousLiquidityFee = _liquidityFee (#986)
- _tokenTransfer(from,to,amount,takeFee) (#788)
- _previousLiquidityFee = _liquidityFee (#986)
- removeAllFee() (#752)
- _previousTaxFee = _taxFee (#985)
- removeAllFee() (#758)
- _previousTaxFee = _taxFee (#985)
- removeAllFee() (#765)
- _previousTaxFee = _taxFee (#985)
- removeAllFee() (#779)
- _previousTaxFee = _taxFee (#985)
- _tokenTransfer(from,to,amount,takeFee) (#788)
- _previousTaxFee = _taxFee (#985)
- _tokenTransfer(from,to,amount,takeFee) (#788)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#965)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#881)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#890)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#901)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#911)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#882)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#892)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#902)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#913)
- _tokenTransfer(from,to,amount,takeFee) (#788)
- _rTotal = _rTotal.sub(rFee) (#920)
- _tokenTransfer(from,to,amount,takeFee) (#788)
- _tFeeTotal = _tFeeTotal.add(tFee) (#921)
- _tokenTransfer(from,to,amount,takeFee) (#788)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#967)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#910)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#900)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#891)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#912)
- removeAllFee() (#752)
- _taxFee = 0 (#988)
- _taxFee = _buyTaxFee (#753)
- removeAllFee() (#758)
- _taxFee = 0 (#988)
- _taxFee = _sellTaxFee (#759)
- removeAllFee() (#765)
- _taxFee = 0 (#988)
- _taxFee = _addressFees[from]._taxFee (#766)
- _taxFee = _addressFees[from]._sellTaxFee (#771)
- removeAllFee() (#779)
- _taxFee = 0 (#988)
- _taxFee = _addressFees[to]._buyTaxFee (#781)
- _tokenTransfer(from,to,amount,takeFee) (#788)
- _taxFee = _previousTaxFee (#993)
- _taxFee = 0 (#988)
- buyBackTokens(_bBSLimit) (#736)
- inSwapAndLiquify = true (#518)
- inSwapAndLiquify = false (#520)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#843)
- buyBackTokens(_bBSLimit) (#736)
- Transfer(sender,recipient,tTransferAmount) (#885)
- _tokenTransfer(from,to,amount,takeFee) (#788)
- Transfer(sender,recipient,tTransferAmount) (#895)
- _tokenTransfer(from,to,amount,takeFee) (#788)
- Transfer(sender,recipient,tTransferAmount) (#905)
- _tokenTransfer(from,to,amount,takeFee) (#788)
- Transfer(sender,recipient,tTransferAmount) (#916)
- _tokenTransfer(from,to,amount,takeFee) (#788)
Reentrancy in MiniDOGE.transferFrom(address,address,uint256) (#582-586):
External calls:
- _transfer(sender,recipient,amount) (#583)
- recipient.transfer(amount) (#1142)
External calls sending eth:
- _transfer(sender,recipient,amount) (#583)
- recipient.transfer(amount) (#1142)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#836-841)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#584)
- _allowances[owner][spender] = amount (#668)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#669)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#584)
Apply the check-effects-interactions pattern.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#286) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#287)
Variable MiniDOGE._transferStandard(address,address,uint256).rTransferAmount (#880) is too similar to MiniDOGE._transferToExcluded(address,address,uint256).tTransferAmount (#889)
Variable MiniDOGE._transferStandard(address,address,uint256).rTransferAmount (#880) is too similar to MiniDOGE._transferBothExcluded(address,address,uint256).tTransferAmount (#909)
Variable MiniDOGE._getValues(uint256).rTransferAmount (#926) is too similar to MiniDOGE._getValues(uint256).tTransferAmount (#925)
Variable MiniDOGE._transferBothExcluded(address,address,uint256).rTransferAmount (#909) is too similar to MiniDOGE._transferFromExcluded(address,address,uint256).tTransferAmount (#899)
Variable MiniDOGE._transferStandard(address,address,uint256).rTransferAmount (#880) is too similar to MiniDOGE._getValues(uint256).tTransferAmount (#925)
Variable MiniDOGE._transferBothExcluded(address,address,uint256).rTransferAmount (#909) is too similar to MiniDOGE._transferToExcluded(address,address,uint256).tTransferAmount (#889)
Variable MiniDOGE.reflectionFromToken(uint256,bool).rTransferAmount (#630) is too similar to MiniDOGE._transferFromExcluded(address,address,uint256).tTransferAmount (#899)
Variable MiniDOGE._transferBothExcluded(address,address,uint256).rTransferAmount (#909) is too similar to MiniDOGE._transferBothExcluded(address,address,uint256).tTransferAmount (#909)
Variable MiniDOGE.reflectionFromToken(uint256,bool).rTransferAmount (#630) is too similar to MiniDOGE._transferToExcluded(address,address,uint256).tTransferAmount (#889)
Variable MiniDOGE.reflectionFromToken(uint256,bool).rTransferAmount (#630) is too similar to MiniDOGE._transferBothExcluded(address,address,uint256).tTransferAmount (#909)
Variable MiniDOGE._transferStandard(address,address,uint256).rTransferAmount (#880) is too similar to MiniDOGE._transferStandard(address,address,uint256).tTransferAmount (#880)
Variable MiniDOGE._getValues(uint256).rTransferAmount (#926) is too similar to MiniDOGE._getTValues(uint256).tTransferAmount (#933)
Variable MiniDOGE._transferBothExcluded(address,address,uint256).rTransferAmount (#909) is too similar to MiniDOGE._getValues(uint256).tTransferAmount (#925)
Variable MiniDOGE._transferStandard(address,address,uint256).rTransferAmount (#880) is too similar to MiniDOGE._getTValues(uint256).tTransferAmount (#933)
Variable MiniDOGE._transferFromExcluded(address,address,uint256).rTransferAmount (#899) is too similar to MiniDOGE._transferFromExcluded(address,address,uint256).tTransferAmount (#899)
Variable MiniDOGE._transferToExcluded(address,address,uint256).rTransferAmount (#889) is too similar to MiniDOGE._transferToExcluded(address,address,uint256).tTransferAmount (#889)
Variable MiniDOGE.reflectionFromToken(uint256,bool).rTransferAmount (#630) is too similar to MiniDOGE._getValues(uint256).tTransferAmount (#925)
Variable MiniDOGE._transferFromExcluded(address,address,uint256).rTransferAmount (#899) is too similar to MiniDOGE._transferBothExcluded(address,address,uint256).tTransferAmount (#909)
Variable MiniDOGE._transferFromExcluded(address,address,uint256).rTransferAmount (#899) is too similar to MiniDOGE._transferToExcluded(address,address,uint256).tTransferAmount (#889)
Variable MiniDOGE._getValues(uint256).rTransferAmount (#926) is too similar to MiniDOGE._transferFromExcluded(address,address,uint256).tTransferAmount (#899)
Variable MiniDOGE._getValues(uint256).rTransferAmount (#926) is too similar to MiniDOGE._transferToExcluded(address,address,uint256).tTransferAmount (#889)
Variable MiniDOGE._getValues(uint256).rTransferAmount (#926) is too similar to MiniDOGE._transferBothExcluded(address,address,uint256).tTransferAmount (#909)
Variable MiniDOGE._transferFromExcluded(address,address,uint256).rTransferAmount (#899) is too similar to MiniDOGE._getValues(uint256).tTransferAmount (#925)
Variable MiniDOGE._transferStandard(address,address,uint256).rTransferAmount (#880) is too similar to MiniDOGE._transferFromExcluded(address,address,uint256).tTransferAmount (#899)
Variable MiniDOGE._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#941) is too similar to MiniDOGE._transferToExcluded(address,address,uint256).tTransferAmount (#889)
Variable MiniDOGE._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#941) is too similar to MiniDOGE._transferStandard(address,address,uint256).tTransferAmount (#880)
Variable MiniDOGE.reflectionFromToken(uint256,bool).rTransferAmount (#630) is too similar to MiniDOGE._transferStandard(address,address,uint256).tTransferAmount (#880)
Variable MiniDOGE._transferFromExcluded(address,address,uint256).rTransferAmount (#899) is too similar to MiniDOGE._transferStandard(address,address,uint256).tTransferAmount (#880)
Variable MiniDOGE._transferBothExcluded(address,address,uint256).rTransferAmount (#909) is too similar to MiniDOGE._transferStandard(address,address,uint256).tTransferAmount (#880)
Variable MiniDOGE._transferToExcluded(address,address,uint256).rTransferAmount (#889) is too similar to MiniDOGE._transferStandard(address,address,uint256).tTransferAmount (#880)
Variable MiniDOGE._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#941) is too similar to MiniDOGE._transferBothExcluded(address,address,uint256).tTransferAmount (#909)
Variable MiniDOGE._transferToExcluded(address,address,uint256).rTransferAmount (#889) is too similar to MiniDOGE._transferBothExcluded(address,address,uint256).tTransferAmount (#909)
Variable MiniDOGE._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#941) is too similar to MiniDOGE._getValues(uint256).tTransferAmount (#925)
Variable MiniDOGE._transferToExcluded(address,address,uint256).rTransferAmount (#889) is too similar to MiniDOGE._getValues(uint256).tTransferAmount (#925)
Variable MiniDOGE._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#941) is too similar to MiniDOGE._getTValues(uint256).tTransferAmount (#933)
Variable MiniDOGE._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#941) is too similar to MiniDOGE._transferFromExcluded(address,address,uint256).tTransferAmount (#899)
Variable MiniDOGE.reflectionFromToken(uint256,bool).rTransferAmount (#630) is too similar to MiniDOGE._getTValues(uint256).tTransferAmount (#933)
Variable MiniDOGE._transferFromExcluded(address,address,uint256).rTransferAmount (#899) is too similar to MiniDOGE._getTValues(uint256).tTransferAmount (#933)
Variable MiniDOGE._transferToExcluded(address,address,uint256).rTransferAmount (#889) is too similar to MiniDOGE._getTValues(uint256).tTransferAmount (#933)
Variable MiniDOGE._transferBothExcluded(address,address,uint256).rTransferAmount (#909) is too similar to MiniDOGE._getTValues(uint256).tTransferAmount (#933)
Variable MiniDOGE._transferToExcluded(address,address,uint256).rTransferAmount (#889) is too similar to MiniDOGE._transferFromExcluded(address,address,uint256).tTransferAmount (#899)
Variable MiniDOGE._getValues(uint256).rTransferAmount (#926) is too similar to MiniDOGE._transferStandard(address,address,uint256).tTransferAmount (#880)
Prevent variables from having similar names.

Additional information: link

MiniDOGE.prepareForPreSale() (#1127-1132) uses literals with too many digits:
- _maxTxAmount = 1000000000 * 10 ** 6 * 10 ** 9 (#1131)
MiniDOGE.afterPreSale() (#1134-1139) uses literals with too many digits:
- _maxTxAmount = 3000000 * 10 ** 6 * 10 ** 9 (#1138)
MiniDOGE.slitherConstructorVariables() (#416-1194) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#421)
MiniDOGE.slitherConstructorVariables() (#416-1194) uses literals with too many digits:
- _tTotal = 1000000000 * 10 ** 6 * 10 ** 9 (#432)
MiniDOGE.slitherConstructorVariables() (#416-1194) uses literals with too many digits:
- _maxTxAmount = 3000000 * 10 ** 6 * 10 ** 9 (#477)
MiniDOGE.slitherConstructorVariables() (#416-1194) uses literals with too many digits:
- minimumTokensBeforeSwap = 200000 * 10 ** 6 * 10 ** 9 (#478)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#172-175)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#177-181)
getUnlockTime() should be declared external:
- Ownable.getUnlockTime() (#183-185)
getTime() should be declared external:
- Ownable.getTime() (#187-189)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#191-196)
unlock() should be declared external:
- Ownable.unlock() (#198-203)
name() should be declared external:
- MiniDOGE.name() (#547-549)
symbol() should be declared external:
- MiniDOGE.symbol() (#551-553)
decimals() should be declared external:
- MiniDOGE.decimals() (#555-557)
totalSupply() should be declared external:
- MiniDOGE.totalSupply() (#559-561)
transfer(address,uint256) should be declared external:
- MiniDOGE.transfer(address,uint256) (#568-571)
allowance(address,address) should be declared external:
- MiniDOGE.allowance(address,address) (#573-575)
approve(address,uint256) should be declared external:
- MiniDOGE.approve(address,uint256) (#577-580)
transferFrom(address,address,uint256) should be declared external:
- MiniDOGE.transferFrom(address,address,uint256) (#582-586)
increaseAllowance(address,uint256) should be declared external:
- MiniDOGE.increaseAllowance(address,uint256) (#588-591)
decreaseAllowance(address,uint256) should be declared external:
- MiniDOGE.decreaseAllowance(address,uint256) (#593-596)
isExcludedFromReward(address) should be declared external:
- MiniDOGE.isExcludedFromReward(address) (#598-600)
totalFees() should be declared external:
- MiniDOGE.totalFees() (#602-604)
minimumTokensBeforeSwapAmount() should be declared external:
- MiniDOGE.minimumTokensBeforeSwapAmount() (#606-608)
buyBackSellLimitAmount() should be declared external:
- MiniDOGE.buyBackSellLimitAmount() (#610-612)
deliver(uint256) should be declared external:
- MiniDOGE.deliver(uint256) (#614-621)
reflectionFromToken(uint256,bool) should be declared external:
- MiniDOGE.reflectionFromToken(uint256,bool) (#624-633)
excludeFromReward(address) should be declared external:
- MiniDOGE.excludeFromReward(address) (#641-649)
isExcludedFromFee(address) should be declared external:
- MiniDOGE.isExcludedFromFee(address) (#997-999)
excludeFromFee(address) should be declared external:
- MiniDOGE.excludeFromFee(address) (#1001-1003)
includeInFee(address) should be declared external:
- MiniDOGE.includeInFee(address) (#1005-1007)
GetBuyBackTimeInterval() should be declared external:
- MiniDOGE.GetBuyBackTimeInterval() (#1053-1055)
GetSwapMinutes() should be declared external:
- MiniDOGE.GetSwapMinutes() (#1066-1068)
setBuyBackEnabled(bool) should be declared external:
- MiniDOGE.setBuyBackEnabled(bool) (#1117-1120)
setAutoBuyBackEnabled(bool) should be declared external:
- MiniDOGE.setAutoBuyBackEnabled(bool) (#1122-1125)
changeRouterVersion(address) should be declared external:
- MiniDOGE.changeRouterVersion(address) (#1145-1158)
transferForeignToken(address,address) should be declared external:
- MiniDOGE.transferForeignToken(address,address) (#1164-1168)
Use the external attribute for functions never called from the contract.

Additional information: link

MiniDOGE.includeInReward(address) (#651-662) has costly operations inside a loop:
- _excluded.pop() (#658)
Use a local variable to hold the loop computation result.

Additional information: link

Holders:

Contract has 12% buy tax and 12% sell tax.
Taxes are suspiciously high (over 10%) and contract ownership is not renounced. Token has a high risk of becoming a honeypot.


Swap operations require suspiciously high gas. Contract logic is complex and may disguise some form of scam.


Token is deployed only at one blockchain


Unable to find Discord account


Unable to find token contract audit


Unable to find audit link on the website


Unable to find code repository for the project


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death

Price for MiniDOGE

News for MiniDOGE