🥇Gold Medal
🚩错过了冰墩墩,不要错过项目方第二个币Gold Medal
🚀庆祝冬奥开幕式!Gold Medal共识盘来了!
✅5b池子暴力拉升
✅大户站台护盘
✅多个社区联合推广
✅营销给力
✅安排热搜
✅无私募公平发射
💥机制:全部燃烧代币自动销毁,
合约:0xf5fF922642088CCCc9bde2cA21A21f37BB48437d
无分红!!无营销钱包!!项目方在国家获奖同时把剩余的代币销毁,同时也会回购销毁。代币总量越来越少,价值越来越高~100u🚀🚀🚀
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
GoldMedal.addLiquidity(uint256,uint256) (#1259-1274) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1265-1272)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in GoldMedal._transfer(address,address,uint256) (#1117-1188):
External calls:
- swapAndSendToFee(marketingTokens) (#1144)
- IERC20(USDT).transfer(_marketingWalletAddress,newBalance) (#1196)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1250-1256)
- swapAndLiquify(swapTokens) (#1147)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1265-1272)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1231-1237)
- swapAndSendDividends(sellTokens) (#1150)
- success = IERC20(USDT).transfer(address(dividendTracker),dividends) (#1279)
- dividendTracker.distributeUSDTDividends(dividends) (#1282)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1250-1256)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1147)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1265-1272)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1170)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#634)
- _balances[recipient] = _balances[recipient].add(amount) (#635)
- super._transfer(from,to,amount) (#1173)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#634)
- _balances[recipient] = _balances[recipient].add(amount) (#635)
- swapping = false (#1152)
Apply the check-effects-interactions pattern.
Additional information: link
GoldMedal.swapAndSendToFee(uint256) (#1190-1197) ignores return value by IERC20(USDT).transfer(_marketingWalletAddress,newBalance) (#1196)
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.
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#768-784):
External calls:
- success = IERC20(USDT).transfer(user,_withdrawableDividend) (#773)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#776)
Reentrancy in GoldMedal.updateDividendTracker(address) (#953-968):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#960)
- newDividendTracker.excludeFromDividends(address(this)) (#961)
- newDividendTracker.excludeFromDividends(owner()) (#962)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#963)
State variables written after the call(s):
- dividendTracker = newDividendTracker (#967)
Apply the check-effects-interactions pattern.
Additional information: link
GoldMedal._transfer(address,address,uint256).claims (#1181) is a local variable never initialized
GoldMedal._transfer(address,address,uint256).lastProcessedIndex (#1181) is a local variable never initialized
GoldMedal._transfer(address,address,uint256).iterations (#1181) 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
GoldMedal.claim() (#1104-1106) ignores return value by dividendTracker.processAccount(msg.sender,false) (#1105)
GoldMedal._transfer(address,address,uint256) (#1117-1188) ignores return value by dividendTracker.process(gas) (#1181-1186)
GoldMedal.addLiquidity(uint256,uint256) (#1259-1274) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1265-1272)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._name (#744) shadows:
- ERC20._name (#551) (state variable)
DividendPayingToken.constructor(string,string)._symbol (#744) shadows:
- ERC20._symbol (#552) (state variable)
DividendPayingToken.dividendOf(address)._owner (#788) shadows:
- Ownable._owner (#289) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (#793) shadows:
- Ownable._owner (#289) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (#798) shadows:
- Ownable._owner (#289) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (#804) shadows:
- Ownable._owner (#289) (state variable)
Rename the local variables that shadow another component.
Additional information: link
GoldMedal.setUSDTRewardsFee(uint256) (#998-1001) should emit an event for:
- USDTRewardsFee = value (#999)
- totalFees = USDTRewardsFee.add(liquidityFee).add(marketingFee) (#1000)
GoldMedal.setLiquiditFee(uint256) (#1003-1006) should emit an event for:
- liquidityFee = value (#1004)
- totalFees = USDTRewardsFee.add(liquidityFee).add(marketingFee) (#1005)
GoldMedal.setMarketingFee(uint256) (#1008-1012) should emit an event for:
- marketingFee = value (#1009)
- totalFees = USDTRewardsFee.add(liquidityFee).add(marketingFee) (#1010)
Emit an event for critical parameter changes.
Additional information: link
GoldMedal.updateUniswapV2Router(address)._uniswapV2Pair (#974-975) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (#976)
GoldMedal.setMarketingWallet(address).wallet (#994) lacks a zero-check on :
- _marketingWalletAddress = wallet (#995)
Check that the address is not zero.
Additional information: link
DividendPayingToken._withdrawDividendOfUser(address) (#768-784) has external calls inside a loop: success = IERC20(USDT).transfer(user,_withdrawableDividend) (#773)
Favor pull over push strategy for external calls.
Additional information: link
Variable 'GoldMedal._transfer(address,address,uint256).iterations (#1181)' in GoldMedal._transfer(address,address,uint256) (#1117-1188) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1182)
Variable 'GoldMedal._transfer(address,address,uint256).lastProcessedIndex (#1181)' in GoldMedal._transfer(address,address,uint256) (#1117-1188) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1182)
Variable 'GoldMedal._transfer(address,address,uint256).claims (#1181)' in GoldMedal._transfer(address,address,uint256) (#1117-1188) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1182)
Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.
Additional information: link
Reentrancy in GoldMedal._transfer(address,address,uint256) (#1117-1188):
External calls:
- swapAndSendToFee(marketingTokens) (#1144)
- IERC20(USDT).transfer(_marketingWalletAddress,newBalance) (#1196)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1250-1256)
- swapAndLiquify(swapTokens) (#1147)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1265-1272)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1231-1237)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1147)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1265-1272)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (#1147)
- _allowances[owner][spender] = amount (#670)
Reentrancy in GoldMedal._transfer(address,address,uint256) (#1117-1188):
External calls:
- swapAndSendToFee(marketingTokens) (#1144)
- IERC20(USDT).transfer(_marketingWalletAddress,newBalance) (#1196)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1250-1256)
- swapAndLiquify(swapTokens) (#1147)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1265-1272)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1231-1237)
- swapAndSendDividends(sellTokens) (#1150)
- success = IERC20(USDT).transfer(address(dividendTracker),dividends) (#1279)
- dividendTracker.distributeUSDTDividends(dividends) (#1282)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1250-1256)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1147)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1265-1272)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (#1150)
- _allowances[owner][spender] = amount (#670)
Reentrancy in GoldMedal.constructor() (#918-947):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#925-926)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#929)
- uniswapV2Router = _uniswapV2Router (#928)
Reentrancy in GoldMedal.constructor() (#918-947):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#925-926)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#931)
- dividendTracker.excludeFromDividends(pair) (#1031)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#934)
- dividendTracker.excludeFromDividends(address(this)) (#935)
- dividendTracker.excludeFromDividends(owner()) (#936)
- dividendTracker.excludeFromDividends(deadWallet) (#937)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#938)
State variables written after the call(s):
- _mint(owner(),100000000000 * (10 ** 18)) (#946)
- _balances[account] = _balances[account].add(amount) (#646)
- excludeFromFees(owner(),true) (#941)
- _isExcludedFromFees[account] = excluded (#981)
- excludeFromFees(_marketingWalletAddress,true) (#942)
- _isExcludedFromFees[account] = excluded (#981)
- excludeFromFees(address(this),true) (#943)
- _isExcludedFromFees[account] = excluded (#981)
- _mint(owner(),100000000000 * (10 ** 18)) (#946)
- _totalSupply = _totalSupply.add(amount) (#645)
Reentrancy in GoldMedalDividendTracker.processAccount(address,bool) (#1484-1494):
External calls:
- amount = _withdrawDividendOfUser(account) (#1485)
- success = IERC20(USDT).transfer(user,_withdrawableDividend) (#773)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#1488)
Reentrancy in GoldMedal.swapAndLiquify(uint256) (#1199-1217):
External calls:
- swapTokensForEth(half) (#1208)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1231-1237)
- addLiquidity(otherHalf,newBalance) (#1214)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1265-1272)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1214)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1265-1272)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1214)
- _allowances[owner][spender] = amount (#670)
Reentrancy in GoldMedal.updateUniswapV2Router(address) (#970-977):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#974-975)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#976)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in GoldMedal._setAutomatedMarketMakerPair(address,bool) (#1026-1035):
External calls:
- dividendTracker.excludeFromDividends(pair) (#1031)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1034)
Reentrancy in GoldMedal._transfer(address,address,uint256) (#1117-1188):
External calls:
- swapAndSendToFee(marketingTokens) (#1144)
- IERC20(USDT).transfer(_marketingWalletAddress,newBalance) (#1196)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1250-1256)
- swapAndLiquify(swapTokens) (#1147)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1265-1272)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1231-1237)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1147)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1265-1272)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#671)
- swapAndLiquify(swapTokens) (#1147)
- SwapAndLiquify(half,newBalance,otherHalf) (#1216)
- swapAndLiquify(swapTokens) (#1147)
Reentrancy in GoldMedal._transfer(address,address,uint256) (#1117-1188):
External calls:
- swapAndSendToFee(marketingTokens) (#1144)
- IERC20(USDT).transfer(_marketingWalletAddress,newBalance) (#1196)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1250-1256)
- swapAndLiquify(swapTokens) (#1147)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1265-1272)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1231-1237)
- swapAndSendDividends(sellTokens) (#1150)
- success = IERC20(USDT).transfer(address(dividendTracker),dividends) (#1279)
- dividendTracker.distributeUSDTDividends(dividends) (#1282)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1250-1256)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1147)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1265-1272)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#671)
- swapAndSendDividends(sellTokens) (#1150)
- SendDividends(tokens,dividends) (#1283)
- swapAndSendDividends(sellTokens) (#1150)
- Transfer(sender,recipient,amount) (#636)
- super._transfer(from,to,amount) (#1173)
- Transfer(sender,recipient,amount) (#636)
- super._transfer(from,address(this),fees) (#1170)
Reentrancy in GoldMedal._transfer(address,address,uint256) (#1117-1188):
External calls:
- swapAndSendToFee(marketingTokens) (#1144)
- IERC20(USDT).transfer(_marketingWalletAddress,newBalance) (#1196)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1250-1256)
- swapAndLiquify(swapTokens) (#1147)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1265-1272)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1231-1237)
- swapAndSendDividends(sellTokens) (#1150)
- success = IERC20(USDT).transfer(address(dividendTracker),dividends) (#1279)
- dividendTracker.distributeUSDTDividends(dividends) (#1282)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1250-1256)
- dividendTracker.setBalance(address(from),balanceOf(from)) (#1175)
- dividendTracker.setBalance(address(to),balanceOf(to)) (#1176)
- dividendTracker.process(gas) (#1181-1186)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1147)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1265-1272)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1182)
Reentrancy in GoldMedal.constructor() (#918-947):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#925-926)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#931)
- dividendTracker.excludeFromDividends(pair) (#1031)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1034)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#931)
Reentrancy in GoldMedal.constructor() (#918-947):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#925-926)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#931)
- dividendTracker.excludeFromDividends(pair) (#1031)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#934)
- dividendTracker.excludeFromDividends(address(this)) (#935)
- dividendTracker.excludeFromDividends(owner()) (#936)
- dividendTracker.excludeFromDividends(deadWallet) (#937)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#938)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#983)
- excludeFromFees(address(this),true) (#943)
- ExcludeFromFees(account,excluded) (#983)
- excludeFromFees(owner(),true) (#941)
- ExcludeFromFees(account,excluded) (#983)
- excludeFromFees(_marketingWalletAddress,true) (#942)
- Transfer(address(0),account,amount) (#647)
- _mint(owner(),100000000000 * (10 ** 18)) (#946)
Reentrancy in GoldMedalDividendTracker.processAccount(address,bool) (#1484-1494):
External calls:
- amount = _withdrawDividendOfUser(account) (#1485)
- success = IERC20(USDT).transfer(user,_withdrawableDividend) (#773)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#1489)
Reentrancy in GoldMedal.processDividendTracker(uint256) (#1099-1102):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (#1100)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (#1101)
Reentrancy in GoldMedal.swapAndLiquify(uint256) (#1199-1217):
External calls:
- swapTokensForEth(half) (#1208)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1231-1237)
- addLiquidity(otherHalf,newBalance) (#1214)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1265-1272)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1214)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1265-1272)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#671)
- addLiquidity(otherHalf,newBalance) (#1214)
- SwapAndLiquify(half,newBalance,otherHalf) (#1216)
Reentrancy in GoldMedal.swapAndSendDividends(uint256) (#1276-1285):
External calls:
- swapTokensForUSDT(tokens) (#1277)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1250-1256)
- success = IERC20(USDT).transfer(address(dividendTracker),dividends) (#1279)
- dividendTracker.distributeUSDTDividends(dividends) (#1282)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (#1283)
Reentrancy in GoldMedal.updateDividendTracker(address) (#953-968):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#960)
- newDividendTracker.excludeFromDividends(address(this)) (#961)
- newDividendTracker.excludeFromDividends(owner()) (#962)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#963)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (#965)
Apply the check-effects-interactions pattern.
Additional information: link
GoldMedalDividendTracker.getAccount(address) (#1348-1391) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (#1388-1390)
GoldMedalDividendTracker.canAutoClaim(uint256) (#1412-1418) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1413)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1417)
Avoid relying on block.timestamp.
Additional information: link
Context._msgData() (#70-73) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (#810-816) is never used and should be removed
SafeMath.mod(uint256,uint256) (#376-378) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#381-384) is never used and should be removed
SafeMathInt.abs(int256) (#454-457) is never used and should be removed
SafeMathInt.div(int256,int256) (#431-437) is never used and should be removed
SafeMathInt.mul(int256,int256) (#422-429) is never used and should be removed
Remove unused functions.
Additional information: link
GoldMedal.totalFees (#870) is set pre-construction with a non-constant function or state variable:
- USDTRewardsFee.add(liquidityFee).add(marketingFee)
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
Pragma version^0.6.2 (#3) allows old versions
Pragma version^0.6.2 (#38) allows old versions
Pragma version^0.6.2 (#53) allows old versions
Pragma version^0.6.2 (#76) allows old versions
Pragma version^0.6.2 (#129) allows old versions
Pragma version^0.6.2 (#147) allows old versions
Pragma version^0.6.2 (#286) allows old versions
Pragma version^0.6.2 (#323) allows old versions
Pragma version^0.6.2 (#412) allows old versions
Pragma version^0.6.2 (#466) allows old versions
Pragma version^0.6.2 (#476) allows old versions
Pragma version^0.6.2 (#539) allows old versions
Pragma version^0.6.2 (#682) allows old versions
Pragma version^0.6.2 (#706) allows old versions
Pragma version^0.6.2 (#722) allows old versions
Pragma version^0.6.2 (#847) 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 IUniswapV2Pair.DOMAIN_SEPARATOR() (#93) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#94) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#111) is not in mixedCase
Function IUniswapV2Router01.WETH() (#151) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (#788) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#793) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#798) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#804) is not in mixedCase
Variable DividendPayingToken.USDT (#730) is not in mixedCase
Constant DividendPayingToken.magnitude (#734) is not in UPPER_CASE_WITH_UNDERSCORES
Variable GoldMedal.USDT (#861) is not in mixedCase
Variable GoldMedal._isBlacklisted (#865) is not in mixedCase
Variable GoldMedal.USDTRewardsFee (#867) is not in mixedCase
Variable GoldMedal._marketingWalletAddress (#872) is not in mixedCase
Parameter GoldMedalDividendTracker.getAccount(address)._account (#1348) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#71)" inContext (#65-74)
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 (#156) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#157)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#769) is too similar to GoldMedalDividendTracker.getAccount(address).withdrawableDividends (#1353)
Prevent variables from having similar names.
Additional information: link
GoldMedal.constructor() (#918-947) uses literals with too many digits:
- _mint(owner(),100000000000 * (10 ** 18)) (#946)
GoldMedal.updateGasForProcessing(uint256) (#1038-1043) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,GoldMedal: gasForProcessing must be between 200,000 and 500,000) (#1039)
GoldMedal.slitherConstructorVariables() (#849-1286) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (#859)
GoldMedal.slitherConstructorVariables() (#849-1286) uses literals with too many digits:
- swapTokensAtAmount = 20000000 * (10 ** 18) (#863)
GoldMedal.slitherConstructorVariables() (#849-1286) uses literals with too many digits:
- gasForProcessing = 300000 (#876)
GoldMedalDividendTracker.constructor() (#1308-1311) uses literals with too many digits:
- minimumTokenBalanceForDividends = 5000000 * (10 ** 18) (#1310)
GoldMedalDividendTracker.getAccountAtIndex(uint256) (#1393-1410) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#1404)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (#417) is never used in SafeMathInt (#415-464)
Remove unused state variables.
Additional information: link
GoldMedal.deadWallet (#859) should be constant
GoldMedal.swapTokensAtAmount (#863) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#311-314)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#316-320)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (#487-489)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (#491-496)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (#498-500)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (#504-506)
name() should be declared external:
- ERC20.name() (#561-563)
symbol() should be declared external:
- ERC20.symbol() (#566-568)
decimals() should be declared external:
- ERC20.decimals() (#571-573)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#586-589)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#591-593)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#596-599)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#602-610)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#613-616)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#619-622)
distributeUSDTDividends(uint256) should be declared external:
- DividendPayingToken.distributeUSDTDividends(uint256) (#749-760)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (#763-765)
- GoldMedalDividendTracker.withdrawDividend() (#1317-1319)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (#788-790)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (#798-800)
updateDividendTracker(address) should be declared external:
- GoldMedal.updateDividendTracker(address) (#953-968)
updateUniswapV2Router(address) should be declared external:
- GoldMedal.updateUniswapV2Router(address) (#970-977)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- GoldMedal.excludeMultipleAccountsFromFees(address[],bool) (#986-992)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- GoldMedal.setAutomatedMarketMakerPair(address,bool) (#1015-1019)
updateGasForProcessing(uint256) should be declared external:
- GoldMedal.updateGasForProcessing(uint256) (#1038-1043)
isExcludedFromFees(address) should be declared external:
- GoldMedal.isExcludedFromFees(address) (#1057-1059)
withdrawableDividendOf(address) should be declared external:
- GoldMedal.withdrawableDividendOf(address) (#1061-1063)
dividendTokenBalanceOf(address) should be declared external:
- GoldMedal.dividendTokenBalanceOf(address) (#1065-1067)
getAccountAtIndex(uint256) should be declared external:
- GoldMedalDividendTracker.getAccountAtIndex(uint256) (#1393-1410)
process(uint256) should be declared external:
- GoldMedalDividendTracker.process(uint256) (#1437-1482)
Use the external attribute for functions never called from the contract.
Additional information: link
Unable to find website, listings and other project-related information
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Twitter account
Telegram account has relatively few subscribers
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account