World's First Rewarding Platform built on the Binance SmartChain Network.
GeckoSwap.airdrop(address) (#1075-1088) sends eth to arbitrary user
Dangerous calls:
- address(address(uint160(_refer))).transfer(referEth) (#1084)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in GeckoSwap._transfer(address,address,uint256) (#606-658):
External calls:
- swapTokens(contractTokenBalance) (#629)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#681-687)
External calls sending eth:
- swapTokens(contractTokenBalance) (#629)
- recipient.transfer(amount) (#1000)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#657)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#840)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#765)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#786)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#776)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#767)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#777)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#788)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#754)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#755)
- _rOwned[deadAddress] = _rOwned[deadAddress].add(rBurnAmount) (#756)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- _rTotal = _rTotal.sub(rFee) (#795)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#842)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#775)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#785)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#766)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#787)
Apply the check-effects-interactions pattern.
Additional information: link
GeckoSwap.swapTokenForTokens(address,address,uint256) (#709-712) ignores return value by tokenC.transfer(account,amount) (#711)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
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.
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.
Contract ownership is not renounced (belongs to a wallet)
GeckoSwap._transferStandard(address,address,uint256) (#747-761) performs a multiplication on the result of a division:
-tBurnAmount = tAmount.div(100).mul(_burnFee) (#750)
Consider ordering multiplication before division.
Additional information: link
GeckoSwap.addLiquidity(uint256,uint256) (#714-727) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#719-726)
Ensure that all the return values of the function calls are used.
Additional information: link
GeckoSwap.allowance(address,address).owner (#502) shadows:
- Ownable.owner() (#155-157) (function)
GeckoSwap._approve(address,address,uint256).owner (#598) shadows:
- Ownable.owner() (#155-157) (function)
GeckoSwap.increaseSpenderAllowance(address,address,uint256).owner (#845) shadows:
- Ownable.owner() (#155-157) (function)
Rename the local variables that shadow another component.
Additional information: link
GeckoSwap.setTaxFeePercent(uint256) (#910-912) should emit an event for:
- _taxFee = taxFee (#911)
GeckoSwap.setLiquidityFeePercent(uint256) (#914-916) should emit an event for:
- _liquidityFee = liquidityFee (#915)
GeckoSwap.setBuyTaxFeePercent(uint256) (#918-920) should emit an event for:
- _buyTaxFee = buyTaxFee (#919)
GeckoSwap.setBuyLiquidityFeePercent(uint256) (#922-924) should emit an event for:
- _buyLiquidityFee = buyLiquidityFee (#923)
GeckoSwap.setSellTaxFeePercent(uint256) (#926-928) should emit an event for:
- _sellTaxFee = sellTaxFee (#927)
GeckoSwap.setSellLiquidityFeePercent(uint256) (#930-932) should emit an event for:
- _sellLiquidityFee = sellLiquidityFee (#931)
GeckoSwap.setBurnFeePercent(uint256) (#934-936) should emit an event for:
- _burnFee = burnTaxFee (#935)
GeckoSwap.setMaxTxAmount(uint256) (#938-940) should emit an event for:
- _maxTxAmount = maxTxAmount (#939)
GeckoSwap.setMarketingFeePercent(uint256) (#942-944) should emit an event for:
- marketingDivisor = divisor (#943)
GeckoSwap.setCharityFeePercent(uint256) (#946-948) should emit an event for:
- charityDivisor = divisor (#947)
GeckoSwap.setNumTokensSellToAddToLiquidity(uint256) (#950-952) should emit an event for:
- minimumTokensBeforeSwap = _minimumTokensBeforeSwap (#951)
GeckoSwap.setALLFeePercent(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256) (#954-964) should emit an event for:
- charityDivisor = charity (#955)
- marketingDivisor = marketting (#956)
- _burnFee = burnTaxFee (#957)
- _sellLiquidityFee = sellLiquidityFee (#958)
- _sellTaxFee = sellTaxFee (#959)
- _buyLiquidityFee = buyLiquidityFee (#960)
- _buyTaxFee = buyTaxFee (#961)
- _liquidityFee = liquidityFee (#962)
- _taxFee = taxFee (#963)
GeckoSwap.set(uint8,uint256) (#1045-1073) should emit an event for:
- _referEth = value (#1053)
- _referToken = value (#1055)
- _airdropEth = value (#1057)
- _airdropToken = value (#1059)
- salePrice = value (#1063)
- _airdorpBnb = value (#1066)
- _buyBnb = value (#1068)
Emit an event for critical parameter changes.
Additional information: link
GeckoSwap.setMarketingAddress(address)._marketingAddress (#966) lacks a zero-check on :
- marketingAddress = address(_marketingAddress) (#967)
GeckoSwap.setCharityAddress(address)._newaddress (#971) lacks a zero-check on :
- charityAddress = address(_newaddress) (#972)
Check that the address is not zero.
Additional information: link
Reentrancy in GeckoSwap._transfer(address,address,uint256) (#606-658):
External calls:
- swapTokens(contractTokenBalance) (#629)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#681-687)
External calls sending eth:
- swapTokens(contractTokenBalance) (#629)
- recipient.transfer(amount) (#1000)
State variables written after the call(s):
- removeAllFee() (#640)
- _burnFee = 0 (#873)
- _burnFee = _previousBurnFee (#643)
- removeAllFee() (#647)
- _burnFee = 0 (#873)
- _burnFee = _previousBurnFee (#650)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- _burnFee = _previousBurnFee (#879)
- _burnFee = 0 (#873)
- removeAllFee() (#640)
- _liquidityFee = 0 (#872)
- _liquidityFee = _buyLiquidityFee (#642)
- removeAllFee() (#647)
- _liquidityFee = 0 (#872)
- _liquidityFee = _sellLiquidityFee (#649)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- _liquidityFee = _previousLiquidityFee (#878)
- _liquidityFee = 0 (#872)
- removeAllFee() (#640)
- _previousBurnFee = _burnFee (#870)
- removeAllFee() (#647)
- _previousBurnFee = _burnFee (#870)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- _previousBurnFee = _burnFee (#870)
- removeAllFee() (#640)
- _previousLiquidityFee = _liquidityFee (#869)
- removeAllFee() (#647)
- _previousLiquidityFee = _liquidityFee (#869)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- _previousLiquidityFee = _liquidityFee (#869)
- removeAllFee() (#640)
- _previousTaxFee = _taxFee (#868)
- removeAllFee() (#647)
- _previousTaxFee = _taxFee (#868)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- _previousTaxFee = _taxFee (#868)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- _tFeeTotal = _tFeeTotal.add(tFee) (#796)
- removeAllFee() (#640)
- _taxFee = 0 (#871)
- _taxFee = _buyTaxFee (#641)
- removeAllFee() (#647)
- _taxFee = 0 (#871)
- _taxFee = _sellTaxFee (#648)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- _taxFee = _previousTaxFee (#877)
- _taxFee = 0 (#871)
Reentrancy in GeckoSwap.constructor() (#464-474):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#468-469)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#471)
- _isExcludedFromFee[address(this)] = true (#472)
- uniswapV2Router = _uniswapV2Router (#470)
Reentrancy in GeckoSwap.transferFrom(address,address,uint256) (#511-515):
External calls:
- _transfer(sender,recipient,amount) (#512)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#681-687)
External calls sending eth:
- _transfer(sender,recipient,amount) (#512)
- recipient.transfer(amount) (#1000)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#513)
- _allowances[owner][spender] = amount (#602)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in GeckoSwap._transfer(address,address,uint256) (#606-658):
External calls:
- swapTokens(contractTokenBalance) (#629)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#681-687)
External calls sending eth:
- swapTokens(contractTokenBalance) (#629)
- recipient.transfer(amount) (#1000)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#770)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- Transfer(sender,recipient,tTransferAmount) (#780)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- Transfer(sender,recipient,tTransferAmount) (#791)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- Transfer(sender,recipient,tTransferAmount) (#759)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- Transfer(sender,deadAddress,tBurnAmount) (#760)
- _tokenTransfer(from,to,amount,takeFee) (#657)
Reentrancy in GeckoSwap.constructor() (#464-474):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#468-469)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#473)
Reentrancy in GeckoSwap.swapETHForTokens(uint256) (#692-707):
External calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#699-704)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#706)
Reentrancy in GeckoSwap.swapTokensForEth(uint256) (#672-690):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#681-687)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#689)
Reentrancy in GeckoSwap.transferFrom(address,address,uint256) (#511-515):
External calls:
- _transfer(sender,recipient,amount) (#512)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#681-687)
External calls sending eth:
- _transfer(sender,recipient,amount) (#512)
- recipient.transfer(amount) (#1000)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#603)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#513)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#190-195) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 7 days) (#192)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#85-94) uses assembly
- INLINE ASM (#92)
Address._functionCallWithValue(address,bytes,uint256,string) (#122-139) uses assembly
- INLINE ASM (#131-134)
Do not use evm assembly.
Additional information: link
GeckoSwap._transfer(address,address,uint256) (#606-658) compares to a boolean constant:
-require(bool,string)(_isBlocked[from] == false,Transfer can not be done for blocked users) (#614)
GeckoSwap._transfer(address,address,uint256) (#606-658) compares to a boolean constant:
-require(bool,string)(_isBlocked[to] == false,Transfer can not be done for blocked users) (#615)
GeckoSwap._transfer(address,address,uint256) (#606-658) compares to a boolean constant:
-_isOperator[from] == false (#617)
Remove the equality to the boolean constant.
Additional information: link
GeckoSwap.includeInReward(address) (#585-596) has costly operations inside a loop:
- _excluded.pop() (#592)
Use a local variable to hold the loop computation result.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#122-139) is never used and should be removed
Address.functionCall(address,bytes) (#105-107) is never used and should be removed
Address.functionCall(address,bytes,string) (#109-111) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#113-115) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#117-120) is never used and should be removed
Address.isContract(address) (#85-94) is never used and should be removed
Address.sendValue(address,uint256) (#96-102) is never used and should be removed
Context._msgData() (#18-21) is never used and should be removed
GeckoSwap.addLiquidity(uint256,uint256) (#714-727) is never used and should be removed
GeckoSwap.swapETHForTokens(uint256) (#692-707) is never used and should be removed
SafeMath.mod(uint256,uint256) (#73-75) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#77-80) is never used and should be removed
Remove unused functions.
Additional information: link
GeckoSwap._rTotal (#416) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
GeckoSwap._previousTaxFee (#425) is set pre-construction with a non-constant function or state variable:
- _taxFee
GeckoSwap._previousLiquidityFee (#428) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
GeckoSwap._buyTaxFee (#430) is set pre-construction with a non-constant function or state variable:
- _taxFee
GeckoSwap._buyLiquidityFee (#431) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
GeckoSwap._sellTaxFee (#433) is set pre-construction with a non-constant function or state variable:
- _taxFee
GeckoSwap._sellLiquidityFee (#434) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
GeckoSwap._previousBurnFee (#437) is set pre-construction with a non-constant function or state variable:
- _burnFee
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.8.11 (#10) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.11 is not recommended for deployment
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
Low level call in Address.sendValue(address,uint256) (#96-102):
- (success) = recipient.call{value: amount}() (#100)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#122-139):
- (success,returndata) = target.call{value: weiValue}(data) (#125)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable Ownable._owner (#143) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#228) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#229) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#238) is not in mixedCase
Function IUniswapV2Router01.WETH() (#258) is not in mixedCase
Parameter GeckoSwap.calculateTaxFee(uint256)._amount (#852) is not in mixedCase
Parameter GeckoSwap.calculateLiquidityFee(uint256)._amount (#858) is not in mixedCase
Parameter GeckoSwap.setNumTokensSellToAddToLiquidity(uint256)._minimumTokensBeforeSwap (#950) is not in mixedCase
Parameter GeckoSwap.setMarketingAddress(address)._marketingAddress (#966) is not in mixedCase
Parameter GeckoSwap.setCharityAddress(address)._newaddress (#971) is not in mixedCase
Parameter GeckoSwap.setSwapAndLiquifyEnabled(bool)._enabled (#975) is not in mixedCase
Parameter GeckoSwap.airdrop(address)._refer (#1075) is not in mixedCase
Parameter GeckoSwap.buy(address)._refer (#1090) is not in mixedCase
Variable GeckoSwap._taxFee (#424) is not in mixedCase
Variable GeckoSwap._liquidityFee (#427) is not in mixedCase
Variable GeckoSwap._buyTaxFee (#430) is not in mixedCase
Variable GeckoSwap._buyLiquidityFee (#431) is not in mixedCase
Variable GeckoSwap._sellTaxFee (#433) is not in mixedCase
Variable GeckoSwap._sellLiquidityFee (#434) is not in mixedCase
Variable GeckoSwap._burnFee (#436) is not in mixedCase
Variable GeckoSwap._maxTxAmount (#443) is not in mixedCase
Variable GeckoSwap._swAuth (#1022) is not in mixedCase
Modifier GeckoSwap.OnlyOwner() (#454-457) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#19)" inContext (#12-22)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in GeckoSwap._transfer(address,address,uint256) (#606-658):
External calls:
- swapTokens(contractTokenBalance) (#629)
- recipient.transfer(amount) (#1000)
State variables written after the call(s):
- removeAllFee() (#640)
- _burnFee = 0 (#873)
- _burnFee = _previousBurnFee (#643)
- removeAllFee() (#647)
- _burnFee = 0 (#873)
- _burnFee = _previousBurnFee (#650)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- _burnFee = _previousBurnFee (#879)
- _burnFee = 0 (#873)
- removeAllFee() (#640)
- _liquidityFee = 0 (#872)
- _liquidityFee = _buyLiquidityFee (#642)
- removeAllFee() (#647)
- _liquidityFee = 0 (#872)
- _liquidityFee = _sellLiquidityFee (#649)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- _liquidityFee = _previousLiquidityFee (#878)
- _liquidityFee = 0 (#872)
- removeAllFee() (#640)
- _previousBurnFee = _burnFee (#870)
- removeAllFee() (#647)
- _previousBurnFee = _burnFee (#870)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- _previousBurnFee = _burnFee (#870)
- removeAllFee() (#640)
- _previousLiquidityFee = _liquidityFee (#869)
- removeAllFee() (#647)
- _previousLiquidityFee = _liquidityFee (#869)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- _previousLiquidityFee = _liquidityFee (#869)
- removeAllFee() (#640)
- _previousTaxFee = _taxFee (#868)
- removeAllFee() (#647)
- _previousTaxFee = _taxFee (#868)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- _previousTaxFee = _taxFee (#868)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#840)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#765)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#786)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#776)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#767)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#777)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#788)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#754)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#755)
- _rOwned[deadAddress] = _rOwned[deadAddress].add(rBurnAmount) (#756)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- _rTotal = _rTotal.sub(rFee) (#795)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- _tFeeTotal = _tFeeTotal.add(tFee) (#796)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#842)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#775)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#785)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#766)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#787)
- removeAllFee() (#640)
- _taxFee = 0 (#871)
- _taxFee = _buyTaxFee (#641)
- removeAllFee() (#647)
- _taxFee = 0 (#871)
- _taxFee = _sellTaxFee (#648)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- _taxFee = _previousTaxFee (#877)
- _taxFee = 0 (#871)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#770)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- Transfer(sender,recipient,tTransferAmount) (#780)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- Transfer(sender,recipient,tTransferAmount) (#791)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- Transfer(sender,recipient,tTransferAmount) (#759)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- Transfer(sender,deadAddress,tBurnAmount) (#760)
- _tokenTransfer(from,to,amount,takeFee) (#657)
Reentrancy in GeckoSwap.transferFrom(address,address,uint256) (#511-515):
External calls:
- _transfer(sender,recipient,amount) (#512)
- recipient.transfer(amount) (#1000)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#513)
- _allowances[owner][spender] = amount (#602)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#603)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#513)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#263) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#264)
Variable GeckoSwap._transferToExcluded(address,address,uint256).rTransferAmount (#764) is too similar to GeckoSwap._transferFromExcluded(address,address,uint256).tTransferAmount (#774)
Variable GeckoSwap._transferStandard(address,address,uint256).rTransferAmount (#749) is too similar to GeckoSwap._getValues(uint256).tTransferAmount (#800)
Variable GeckoSwap._transferFromExcluded(address,address,uint256).rTransferAmount (#774) is too similar to GeckoSwap._getTValues(uint256).tTransferAmount (#808)
Variable GeckoSwap._transferFromExcluded(address,address,uint256).rTransferAmount (#774) is too similar to GeckoSwap._transferStandard(address,address,uint256).tTransferAmount (#749)
Variable GeckoSwap._transferFromExcluded(address,address,uint256).rTransferAmount (#774) is too similar to GeckoSwap._transferBothExcluded(address,address,uint256).tTransferAmount (#784)
Variable GeckoSwap._transferStandard(address,address,uint256).rTransferAmount (#749) is too similar to GeckoSwap._getTValues(uint256).tTransferAmount (#808)
Variable GeckoSwap.reflectionFromToken(uint256,bool).rTransferAmount (#564) is too similar to GeckoSwap._getValues(uint256).tTransferAmount (#800)
Variable GeckoSwap._transferBothExcluded(address,address,uint256).rTransferAmount (#784) is too similar to GeckoSwap._getTValues(uint256).tTransferAmount (#808)
Variable GeckoSwap._transferStandard(address,address,uint256).rTransferAmount (#749) is too similar to GeckoSwap._transferStandard(address,address,uint256).tTransferAmount (#749)
Variable GeckoSwap._transferStandard(address,address,uint256).rTransferAmount (#749) is too similar to GeckoSwap._transferBothExcluded(address,address,uint256).tTransferAmount (#784)
Variable GeckoSwap._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#816) is too similar to GeckoSwap._getTValues(uint256).tTransferAmount (#808)
Variable GeckoSwap._transferToExcluded(address,address,uint256).rTransferAmount (#764) is too similar to GeckoSwap._getValues(uint256).tTransferAmount (#800)
Variable GeckoSwap.reflectionFromToken(uint256,bool).rTransferAmount (#564) is too similar to GeckoSwap._getTValues(uint256).tTransferAmount (#808)
Variable GeckoSwap._transferBothExcluded(address,address,uint256).rTransferAmount (#784) is too similar to GeckoSwap._transferBothExcluded(address,address,uint256).tTransferAmount (#784)
Variable GeckoSwap.reflectionFromToken(uint256,bool).rTransferAmount (#564) is too similar to GeckoSwap._transferBothExcluded(address,address,uint256).tTransferAmount (#784)
Variable GeckoSwap.reflectionFromToken(uint256,bool).rTransferAmount (#564) is too similar to GeckoSwap._transferStandard(address,address,uint256).tTransferAmount (#749)
Variable GeckoSwap._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#816) is too similar to GeckoSwap._transferBothExcluded(address,address,uint256).tTransferAmount (#784)
Variable GeckoSwap._transferToExcluded(address,address,uint256).rTransferAmount (#764) is too similar to GeckoSwap._getTValues(uint256).tTransferAmount (#808)
Variable GeckoSwap._transferFromExcluded(address,address,uint256).rTransferAmount (#774) is too similar to GeckoSwap._transferToExcluded(address,address,uint256).tTransferAmount (#764)
Variable GeckoSwap._transferToExcluded(address,address,uint256).rTransferAmount (#764) is too similar to GeckoSwap._transferStandard(address,address,uint256).tTransferAmount (#749)
Variable GeckoSwap._transferFromExcluded(address,address,uint256).rTransferAmount (#774) is too similar to GeckoSwap._transferFromExcluded(address,address,uint256).tTransferAmount (#774)
Variable GeckoSwap._transferToExcluded(address,address,uint256).rTransferAmount (#764) is too similar to GeckoSwap._transferBothExcluded(address,address,uint256).tTransferAmount (#784)
Variable GeckoSwap._transferStandard(address,address,uint256).rTransferAmount (#749) is too similar to GeckoSwap._transferToExcluded(address,address,uint256).tTransferAmount (#764)
Variable GeckoSwap._getValues(uint256).rTransferAmount (#801) is too similar to GeckoSwap._getTValues(uint256).tTransferAmount (#808)
Variable GeckoSwap.reflectionFromToken(uint256,bool).rTransferAmount (#564) is too similar to GeckoSwap._transferToExcluded(address,address,uint256).tTransferAmount (#764)
Variable GeckoSwap._getValues(uint256).rTransferAmount (#801) is too similar to GeckoSwap._transferBothExcluded(address,address,uint256).tTransferAmount (#784)
Variable GeckoSwap.reflectionFromToken(uint256,bool).rTransferAmount (#564) is too similar to GeckoSwap._transferFromExcluded(address,address,uint256).tTransferAmount (#774)
Variable GeckoSwap._transferToExcluded(address,address,uint256).rTransferAmount (#764) is too similar to GeckoSwap._transferToExcluded(address,address,uint256).tTransferAmount (#764)
Variable GeckoSwap._transferFromExcluded(address,address,uint256).rTransferAmount (#774) is too similar to GeckoSwap._getValues(uint256).tTransferAmount (#800)
Variable GeckoSwap._transferStandard(address,address,uint256).rBurnAmount (#751) is too similar to GeckoSwap._transferStandard(address,address,uint256).tBurnAmount (#750)
Variable GeckoSwap._getValues(uint256).rTransferAmount (#801) is too similar to GeckoSwap._transferToExcluded(address,address,uint256).tTransferAmount (#764)
Variable GeckoSwap._transferBothExcluded(address,address,uint256).rTransferAmount (#784) is too similar to GeckoSwap._getValues(uint256).tTransferAmount (#800)
Variable GeckoSwap._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#816) is too similar to GeckoSwap._getValues(uint256).tTransferAmount (#800)
Variable GeckoSwap._transferStandard(address,address,uint256).rTransferAmount (#749) is too similar to GeckoSwap._transferFromExcluded(address,address,uint256).tTransferAmount (#774)
Variable GeckoSwap._transferBothExcluded(address,address,uint256).rTransferAmount (#784) is too similar to GeckoSwap._transferFromExcluded(address,address,uint256).tTransferAmount (#774)
Variable GeckoSwap._getValues(uint256).rTransferAmount (#801) is too similar to GeckoSwap._getValues(uint256).tTransferAmount (#800)
Variable GeckoSwap._transferBothExcluded(address,address,uint256).rTransferAmount (#784) is too similar to GeckoSwap._transferStandard(address,address,uint256).tTransferAmount (#749)
Variable GeckoSwap._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#816) is too similar to GeckoSwap._transferFromExcluded(address,address,uint256).tTransferAmount (#774)
Variable GeckoSwap._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#816) is too similar to GeckoSwap._transferStandard(address,address,uint256).tTransferAmount (#749)
Variable GeckoSwap._getValues(uint256).rTransferAmount (#801) is too similar to GeckoSwap._transferFromExcluded(address,address,uint256).tTransferAmount (#774)
Variable GeckoSwap._transferBothExcluded(address,address,uint256).rTransferAmount (#784) is too similar to GeckoSwap._transferToExcluded(address,address,uint256).tTransferAmount (#764)
Variable GeckoSwap._getValues(uint256).rTransferAmount (#801) is too similar to GeckoSwap._transferStandard(address,address,uint256).tTransferAmount (#749)
Variable GeckoSwap._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#816) is too similar to GeckoSwap._transferToExcluded(address,address,uint256).tTransferAmount (#764)
Prevent variables from having similar names.
Additional information: link
GeckoSwap.prepareForPreSale() (#981-987) uses literals with too many digits:
- _maxTxAmount = 100000000000 * 10 ** 18 (#986)
GeckoSwap.afterPreSale() (#989-995) uses literals with too many digits:
- _maxTxAmount = 100000000000 * 10 ** 18 (#994)
GeckoSwap.slitherConstructorVariables() (#395-1109) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#402)
GeckoSwap.slitherConstructorVariables() (#395-1109) uses literals with too many digits:
- _tTotal = 1000000000000000 * 10 ** 18 (#415)
GeckoSwap.slitherConstructorVariables() (#395-1109) uses literals with too many digits:
- _maxTxAmount = 1000000000000000 * 10 ** 18 (#443)
GeckoSwap.slitherConstructorVariables() (#395-1109) uses literals with too many digits:
- minimumTokensBeforeSwap = 1000000000 * 10 ** 18 (#444)
GeckoSwap.slitherConstructorVariables() (#395-1109) uses literals with too many digits:
- _airdropEth = 2000000000000000 (#1025)
GeckoSwap.slitherConstructorVariables() (#395-1109) uses literals with too many digits:
- _airdropToken = 500000000000000000000000000 (#1026)
GeckoSwap.slitherConstructorVariables() (#395-1109) uses literals with too many digits:
- salePrice = 1000000000000 (#1034)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
GeckoSwap._auth (#1027) is never used in GeckoSwap (#395-1109)
GeckoSwap._auth2 (#1028) is never used in GeckoSwap (#395-1109)
GeckoSwap._authNum (#1029) is never used in GeckoSwap (#395-1109)
Remove unused state variables.
Additional information: link
GeckoSwap._auth (#1027) should be constant
GeckoSwap._auth2 (#1028) should be constant
GeckoSwap._authNum (#1029) should be constant
GeckoSwap._decimals (#421) should be constant
GeckoSwap._name (#419) should be constant
GeckoSwap._symbol (#420) should be constant
GeckoSwap._tTotal (#415) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#164-167)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#169-173)
getUnlockTime() should be declared external:
- Ownable.getUnlockTime() (#175-177)
getTime() should be declared external:
- Ownable.getTime() (#179-181)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#183-188)
unlock() should be declared external:
- Ownable.unlock() (#190-195)
name() should be declared external:
- GeckoSwap.name() (#476-478)
symbol() should be declared external:
- GeckoSwap.symbol() (#480-482)
decimals() should be declared external:
- GeckoSwap.decimals() (#484-486)
totalSupply() should be declared external:
- GeckoSwap.totalSupply() (#488-490)
transfer(address,uint256) should be declared external:
- GeckoSwap.transfer(address,uint256) (#497-500)
allowance(address,address) should be declared external:
- GeckoSwap.allowance(address,address) (#502-504)
approve(address,uint256) should be declared external:
- GeckoSwap.approve(address,uint256) (#506-509)
transferFrom(address,address,uint256) should be declared external:
- GeckoSwap.transferFrom(address,address,uint256) (#511-515)
increaseAllowance(address,uint256) should be declared external:
- GeckoSwap.increaseAllowance(address,uint256) (#517-520)
decreaseAllowance(address,uint256) should be declared external:
- GeckoSwap.decreaseAllowance(address,uint256) (#522-525)
isExcludedFromReward(address) should be declared external:
- GeckoSwap.isExcludedFromReward(address) (#527-529)
isOperator(address) should be declared external:
- GeckoSwap.isOperator(address) (#531-533)
isBlocked(address) should be declared external:
- GeckoSwap.isBlocked(address) (#535-537)
totalFees() should be declared external:
- GeckoSwap.totalFees() (#539-541)
minimumTokensBeforeSwapAmount() should be declared external:
- GeckoSwap.minimumTokensBeforeSwapAmount() (#543-545)
deliver(uint256) should be declared external:
- GeckoSwap.deliver(uint256) (#548-555)
reflectionFromToken(uint256,bool) should be declared external:
- GeckoSwap.reflectionFromToken(uint256,bool) (#558-567)
excludeFromReward(address) should be declared external:
- GeckoSwap.excludeFromReward(address) (#575-583)
swapTokenForTokens(address,address,uint256) should be declared external:
- GeckoSwap.swapTokenForTokens(address,address,uint256) (#709-712)
increaseSpenderAllowance(address,address,uint256) should be declared external:
- GeckoSwap.increaseSpenderAllowance(address,address,uint256) (#845-850)
isExcludedFromFee(address) should be declared external:
- GeckoSwap.isExcludedFromFee(address) (#882-884)
excludeFromFee(address) should be declared external:
- GeckoSwap.excludeFromFee(address) (#886-888)
includeOperator(address) should be declared external:
- GeckoSwap.includeOperator(address) (#890-892)
excludeOperator(address) should be declared external:
- GeckoSwap.excludeOperator(address) (#893-895)
includeBlocked(address) should be declared external:
- GeckoSwap.includeBlocked(address) (#897-899)
excludeBlocked(address) should be declared external:
- GeckoSwap.excludeBlocked(address) (#900-902)
includeInFee(address) should be declared external:
- GeckoSwap.includeInFee(address) (#906-908)
recoverBalance(uint256) should be declared external:
- GeckoSwap.recoverBalance(uint256) (#1003-1005)
doManualSwapTokens(uint256) should be declared external:
- GeckoSwap.doManualSwapTokens(uint256) (#1008-1011)
clearAllETH() should be declared external:
- GeckoSwap.clearAllETH() (#1038-1041)
set(uint8,uint256) should be declared external:
- GeckoSwap.set(uint8,uint256) (#1045-1073)
airdrop(address) should be declared external:
- GeckoSwap.airdrop(address) (#1075-1088)
buy(address) should be declared external:
- GeckoSwap.buy(address) (#1090-1106)
Use the external attribute for functions never called from the contract.
Additional information: link
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 token contract audit
Unable to verify that token and website are owned by the same team (no listings + unable to find contract on website)
Unable to verify token contract address on the website
Unable to find audit link on the website
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
Token is not listed at Mobula.Finance
Additional information: link
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Young tokens have high risks of scam / price dump / death
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
Telegram account has less than 100 subscribers
Twitter account has less than 100 followers
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account
Twitter account has few posts