Building a secure DeFi ecosystem to help bring creative ideas to life and protect early investors' funds.
Reentrancy in GloryDoge._transfer(address,address,uint256) (contracts/GloryDoge.sol#593-682):
External calls:
- _swapTaxes() (contracts/GloryDoge.sol#602)
- _router.swapExactTokensForETH(marketingAmount,0,path,_marketingTaxAddress,block.timestamp) (contracts/GloryDoge.sol#737-743)
- _router.swapExactTokensForETH(teamAmount,0,path,_teamTaxAddress,block.timestamp) (contracts/GloryDoge.sol#745-751)
State variables written after the call(s):
- _excludedRewardPoints -= amountRewardPoints (contracts/GloryDoge.sol#639)
- _excludedRewardPoints += _getRewardPointsFromBalance(taxesToExclude,rate) (contracts/GloryDoge.sol#652-655)
- _excludedRewardPoints += afterTaxAmountRewardPoints (contracts/GloryDoge.sol#676)
- _excludedSupply -= amount (contracts/GloryDoge.sol#638)
- _excludedSupply += taxesToExclude (contracts/GloryDoge.sol#651)
- _excludedSupply += afterTaxAmount (contracts/GloryDoge.sol#675)
- _rewardPoints -= _getRewardPointsFromBalance(rewardsTaxAmount,rate) (contracts/GloryDoge.sol#661-664)
- _rewardPointsOwned[sender] = _getRewardPointsFromBalance(balanceOf(sender),rate) - amountRewardPoints (contracts/GloryDoge.sol#644-646)
- _rewardPointsOwned[recipient] += afterTaxAmountRewardPoints (contracts/GloryDoge.sol#678)
- (afterTaxAmount,rewardsTaxAmount,taxesToExclude) = _takeTaxes(amount) (contracts/GloryDoge.sol#626-628)
- _supplyOwned[address(this)] += marketingTaxAmount + teamTaxAmount (contracts/GloryDoge.sol#775)
- _supplyOwned[sender] -= amount (contracts/GloryDoge.sol#637)
- _supplyOwned[recipient] += afterTaxAmount (contracts/GloryDoge.sol#674)
Reentrancy in GloryDoge.constructor(string,string,uint256) (contracts/GloryDoge.sol#140-177):
External calls:
- addPair(_factory.createPair(address(this),_router.WETH())) (contracts/GloryDoge.sol#171)
- transfer(_deadAddress,_totalSupply / 2) (contracts/GloryDoge.sol#174)
- _router.swapExactTokensForETH(marketingAmount,0,path,_marketingTaxAddress,block.timestamp) (contracts/GloryDoge.sol#737-743)
- _router.swapExactTokensForETH(teamAmount,0,path,_teamTaxAddress,block.timestamp) (contracts/GloryDoge.sol#745-751)
State variables written after the call(s):
- transfer(_deadAddress,_totalSupply / 2) (contracts/GloryDoge.sol#174)
- _excludedRewardPoints -= amountRewardPoints (contracts/GloryDoge.sol#639)
- _excludedRewardPoints += _getRewardPointsFromBalance(taxesToExclude,rate) (contracts/GloryDoge.sol#652-655)
- _excludedRewardPoints += afterTaxAmountRewardPoints (contracts/GloryDoge.sol#676)
- transfer(_deadAddress,_totalSupply / 2) (contracts/GloryDoge.sol#174)
- _excludedSupply -= amount (contracts/GloryDoge.sol#638)
- _excludedSupply += taxesToExclude (contracts/GloryDoge.sol#651)
- _excludedSupply += afterTaxAmount (contracts/GloryDoge.sol#675)
- enableTransferLimit() (contracts/GloryDoge.sol#176)
- _maxTransferLimit = _totalSupply / 500 (contracts/GloryDoge.sol#554)
- transfer(_deadAddress,_totalSupply / 2) (contracts/GloryDoge.sol#174)
- _rewardPoints -= _getRewardPointsFromBalance(rewardsTaxAmount,rate) (contracts/GloryDoge.sol#661-664)
- transfer(_deadAddress,_totalSupply / 2) (contracts/GloryDoge.sol#174)
- _rewardPointsOwned[sender] = _getRewardPointsFromBalance(balanceOf(sender),rate) - amountRewardPoints (contracts/GloryDoge.sol#644-646)
- _rewardPointsOwned[recipient] += afterTaxAmountRewardPoints (contracts/GloryDoge.sol#678)
- transfer(_deadAddress,_totalSupply / 2) (contracts/GloryDoge.sol#174)
- _supplyOwned[sender] -= amount (contracts/GloryDoge.sol#709)
- _supplyOwned[recipient] += amount (contracts/GloryDoge.sol#710)
- _supplyOwned[address(this)] += marketingTaxAmount + teamTaxAmount (contracts/GloryDoge.sol#775)
- _supplyOwned[sender] -= amount (contracts/GloryDoge.sol#637)
- _supplyOwned[recipient] += afterTaxAmount (contracts/GloryDoge.sol#674)
Apply the check-effects-interactions pattern.
Additional information: link
GloryDoge._transfer(address,address,uint256).rewardsTaxAmount (contracts/GloryDoge.sol#607) is a local variable never initialized
GloryDoge._transfer(address,address,uint256).taxesToExclude (contracts/GloryDoge.sol#608) 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
GloryDoge._swapTaxes() (contracts/GloryDoge.sol#719-752) ignores return value by _router.swapExactTokensForETH(marketingAmount,0,path,_marketingTaxAddress,block.timestamp) (contracts/GloryDoge.sol#737-743)
GloryDoge._swapTaxes() (contracts/GloryDoge.sol#719-752) ignores return value by _router.swapExactTokensForETH(teamAmount,0,path,_teamTaxAddress,block.timestamp) (contracts/GloryDoge.sol#745-751)
Ensure that all the return values of the function calls are used.
Additional information: link
GloryDoge.allowance(address,address).owner (contracts/GloryDoge.sol#283) shadows:
- Ownable.owner() (@openzeppelin/contracts/access/Ownable.sol#34-36) (function)
GloryDoge._approve(address,address,uint256).owner (contracts/GloryDoge.sol#685) shadows:
- Ownable.owner() (@openzeppelin/contracts/access/Ownable.sol#34-36) (function)
Rename the local variables that shadow another component.
Additional information: link
GloryDoge.setMarketingTaxAddress(address).marketingTaxAddress (contracts/GloryDoge.sol#352) lacks a zero-check on :
- _marketingTaxAddress = marketingTaxAddress (contracts/GloryDoge.sol#364)
GloryDoge.setTeamTaxAddress(address).teamTaxAddress (contracts/GloryDoge.sol#376) lacks a zero-check on :
- _teamTaxAddress = teamTaxAddress (contracts/GloryDoge.sol#385)
Check that the address is not zero.
Additional information: link
Reentrancy in GloryDoge.constructor(string,string,uint256) (contracts/GloryDoge.sol#140-177):
External calls:
- addPair(_factory.createPair(address(this),_router.WETH())) (contracts/GloryDoge.sol#171)
- transfer(_deadAddress,_totalSupply / 2) (contracts/GloryDoge.sol#174)
- _router.swapExactTokensForETH(marketingAmount,0,path,_marketingTaxAddress,block.timestamp) (contracts/GloryDoge.sol#737-743)
- _router.swapExactTokensForETH(teamAmount,0,path,_teamTaxAddress,block.timestamp) (contracts/GloryDoge.sol#745-751)
State variables written after the call(s):
- transfer(_deadAddress,_totalSupply / 2) (contracts/GloryDoge.sol#174)
- _allowances[owner][spender] = amount (contracts/GloryDoge.sol#692)
Reentrancy in GloryDoge.transferFrom(address,address,uint256) (contracts/GloryDoge.sol#301-318):
External calls:
- _transfer(sender,recipient,amount) (contracts/GloryDoge.sol#306)
- _router.swapExactTokensForETH(marketingAmount,0,path,_marketingTaxAddress,block.timestamp) (contracts/GloryDoge.sol#737-743)
- _router.swapExactTokensForETH(teamAmount,0,path,_teamTaxAddress,block.timestamp) (contracts/GloryDoge.sol#745-751)
State variables written after the call(s):
- _approve(sender,_msgSender(),currentAllowance - amount) (contracts/GloryDoge.sol#314)
- _allowances[owner][spender] = amount (contracts/GloryDoge.sol#692)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in GloryDoge._transfer(address,address,uint256) (contracts/GloryDoge.sol#593-682):
External calls:
- _swapTaxes() (contracts/GloryDoge.sol#602)
- _router.swapExactTokensForETH(marketingAmount,0,path,_marketingTaxAddress,block.timestamp) (contracts/GloryDoge.sol#737-743)
- _router.swapExactTokensForETH(teamAmount,0,path,_teamTaxAddress,block.timestamp) (contracts/GloryDoge.sol#745-751)
Event emitted after the call(s):
- Transfer(sender,recipient,afterTaxAmount) (contracts/GloryDoge.sol#681)
Reentrancy in GloryDoge.constructor(string,string,uint256) (contracts/GloryDoge.sol#140-177):
External calls:
- addPair(_factory.createPair(address(this),_router.WETH())) (contracts/GloryDoge.sol#171)
- transfer(_deadAddress,_totalSupply / 2) (contracts/GloryDoge.sol#174)
- _router.swapExactTokensForETH(marketingAmount,0,path,_marketingTaxAddress,block.timestamp) (contracts/GloryDoge.sol#737-743)
- _router.swapExactTokensForETH(teamAmount,0,path,_teamTaxAddress,block.timestamp) (contracts/GloryDoge.sol#745-751)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/GloryDoge.sol#693)
- transfer(_deadAddress,_totalSupply / 2) (contracts/GloryDoge.sol#174)
- EnableTransferLimit(_maxTransferLimit) (contracts/GloryDoge.sol#556)
- enableTransferLimit() (contracts/GloryDoge.sol#176)
- Transfer(sender,recipient,amount) (contracts/GloryDoge.sol#712)
- transfer(_deadAddress,_totalSupply / 2) (contracts/GloryDoge.sol#174)
- Transfer(sender,recipient,afterTaxAmount) (contracts/GloryDoge.sol#681)
- transfer(_deadAddress,_totalSupply / 2) (contracts/GloryDoge.sol#174)
Reentrancy in GloryDoge.transferFrom(address,address,uint256) (contracts/GloryDoge.sol#301-318):
External calls:
- _transfer(sender,recipient,amount) (contracts/GloryDoge.sol#306)
- _router.swapExactTokensForETH(marketingAmount,0,path,_marketingTaxAddress,block.timestamp) (contracts/GloryDoge.sol#737-743)
- _router.swapExactTokensForETH(teamAmount,0,path,_teamTaxAddress,block.timestamp) (contracts/GloryDoge.sol#745-751)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/GloryDoge.sol#693)
- _approve(sender,_msgSender(),currentAllowance - amount) (contracts/GloryDoge.sol#314)
Apply the check-effects-interactions pattern.
Additional information: link
Different versions of Solidity is used:
- Version used: ['>=0.5.0', '>=0.6.2', '^0.8.0', '^0.8.7']
- ^0.8.0 (@openzeppelin/contracts/access/Ownable.sol#3)
- ^0.8.0 (@openzeppelin/contracts/token/ERC20/IERC20.sol#3)
- ^0.8.0 (@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol#3)
- ^0.8.0 (@openzeppelin/contracts/utils/Context.sol#3)
- >=0.5.0 (@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol#1)
- >=0.6.2 (@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router01.sol#1)
- >=0.6.2 (@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol#1)
- ^0.8.7 (contracts/GloryDoge.sol#63)
Use one Solidity version.
Additional information: link
Context._msgData() (@openzeppelin/contracts/utils/Context.sol#20-22) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.8.0 (@openzeppelin/contracts/access/Ownable.sol#3) allows old versions
Pragma version^0.8.0 (@openzeppelin/contracts/token/ERC20/IERC20.sol#3) allows old versions
Pragma version^0.8.0 (@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol#3) allows old versions
Pragma version^0.8.0 (@openzeppelin/contracts/utils/Context.sol#3) allows old versions
Pragma version>=0.5.0 (@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol#1) allows old versions
Pragma version>=0.6.2 (@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router01.sol#1) allows old versions
Pragma version>=0.6.2 (@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol#1) allows old versions
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.
Additional information: link
Function IUniswapV2Router01.WETH() (@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router01.sol#5) is not in mixedCase
Constant GloryDoge._factoryAddress (contracts/GloryDoge.sol#92-93) is not in UPPER_CASE_WITH_UNDERSCORES
Constant GloryDoge._routerAddress (contracts/GloryDoge.sol#94-95) is not in UPPER_CASE_WITH_UNDERSCORES
Constant GloryDoge._deadAddress (contracts/GloryDoge.sol#96-97) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router01.sol#10) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router01.sol#11)
Variable GloryDoge._marketingTax (contracts/GloryDoge.sol#109) is too similar to GloryDoge.setTaxes(uint256,uint256,uint256).marketingTax_ (contracts/GloryDoge.sol#399)
Variable GloryDoge._rewardsTax (contracts/GloryDoge.sol#108) is too similar to GloryDoge.setTaxes(uint256,uint256,uint256).rewardsTax_ (contracts/GloryDoge.sol#398)
Variable GloryDoge._totalSupply (contracts/GloryDoge.sol#99) is too similar to GloryDoge.constructor(string,string,uint256).totalSupply_ (contracts/GloryDoge.sol#143)
Prevent variables from having similar names.
Additional information: link
GloryDoge.slitherConstructorConstantVariables() (contracts/GloryDoge.sol#76-820) uses literals with too many digits:
- _deadAddress = 0x000000000000000000000000000000000000dEaD (contracts/GloryDoge.sol#96-97)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (@openzeppelin/contracts/access/Ownable.sol#53-55)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (@openzeppelin/contracts/access/Ownable.sol#61-64)
name() should be declared external:
- GloryDoge.name() (contracts/GloryDoge.sol#185-187)
symbol() should be declared external:
- GloryDoge.symbol() (contracts/GloryDoge.sol#189-191)
totalSupply() should be declared external:
- GloryDoge.totalSupply() (contracts/GloryDoge.sol#197-199)
rewardsTax() should be declared external:
- GloryDoge.rewardsTax() (contracts/GloryDoge.sol#204-206)
marketingTax() should be declared external:
- GloryDoge.marketingTax() (contracts/GloryDoge.sol#211-213)
teamTax() should be declared external:
- GloryDoge.teamTax() (contracts/GloryDoge.sol#218-220)
totalTaxes() should be declared external:
- GloryDoge.totalTaxes() (contracts/GloryDoge.sol#225-227)
taxSwapThreshold() should be declared external:
- GloryDoge.taxSwapThreshold() (contracts/GloryDoge.sol#232-234)
excludedFromRewards(address) should be declared external:
- GloryDoge.excludedFromRewards(address) (contracts/GloryDoge.sol#240-242)
excludedFromTaxes(address) should be declared external:
- GloryDoge.excludedFromTaxes(address) (contracts/GloryDoge.sol#248-250)
distributionAddress(address) should be declared external:
- GloryDoge.distributionAddress(address) (contracts/GloryDoge.sol#256-258)
pair(address) should be declared external:
- GloryDoge.pair(address) (contracts/GloryDoge.sol#264-266)
allowance(address,address) should be declared external:
- GloryDoge.allowance(address,address) (contracts/GloryDoge.sol#283-290)
approve(address,uint256) should be declared external:
- GloryDoge.approve(address,uint256) (contracts/GloryDoge.sol#292-299)
transferFrom(address,address,uint256) should be declared external:
- GloryDoge.transferFrom(address,address,uint256) (contracts/GloryDoge.sol#301-318)
increaseAllowance(address,uint256) should be declared external:
- GloryDoge.increaseAllowance(address,uint256) (contracts/GloryDoge.sol#320-330)
decreaseAllowance(address,uint256) should be declared external:
- GloryDoge.decreaseAllowance(address,uint256) (contracts/GloryDoge.sol#332-346)
setMarketingTaxAddress(address) should be declared external:
- GloryDoge.setMarketingTaxAddress(address) (contracts/GloryDoge.sol#352-370)
setTeamTaxAddress(address) should be declared external:
- GloryDoge.setTeamTaxAddress(address) (contracts/GloryDoge.sol#376-388)
setTaxes(uint256,uint256,uint256) should be declared external:
- GloryDoge.setTaxes(uint256,uint256,uint256) (contracts/GloryDoge.sol#397-412)
addDistributor(address) should be declared external:
- GloryDoge.addDistributor(address) (contracts/GloryDoge.sol#455-463)
removeDistributor(address) should be declared external:
- GloryDoge.removeDistributor(address) (contracts/GloryDoge.sol#469-474)
disableTransferLimit() should be declared external:
- GloryDoge.disableTransferLimit() (contracts/GloryDoge.sol#562-570)
setTaxSwapThreshold(uint256) should be declared external:
- GloryDoge.setTaxSwapThreshold(uint256) (contracts/GloryDoge.sol#587-591)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.
Token is deployed only at one blockchain
Contract has 10% buy tax and 10% sell tax.
Taxes are low and contract ownership is renounced.
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find whitepaper link on the website
Young tokens have high risks of scam / price dump / death
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
Token has relatively low CoinGecko rank
Token has relatively low CoinMarketCap rank
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