GarudaSwap.Finance is a brand new, audited, next generation yield farm on BSC.
Highlighted features of GarudaSwap are Innovative tokenomics, Anti whale, Harvest lock-up to prevent token dumping, migrator code removed and 3% referral programme.
GarudaSwap.finance aim to be long live project, with low initial supply, Automatic Liquidity with 8% reflection tax, and safe to user as audited by Techrate and Certik (processing).
GarudaToken.addLiquidity(uint256,uint256) (#1321-1334) sends eth to arbitrary user
Dangerous calls:
- garudaSwapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (#1326-1333)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in GarudaToken._transfer(address,address,uint256) (#1235-1266):
External calls:
- swapAndLiquify() (#1245)
- garudaSwapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (#1326-1333)
- garudaSwapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1311-1317)
External calls sending eth:
- swapAndLiquify() (#1245)
- garudaSwapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (#1326-1333)
State variables written after the call(s):
- super._transfer(sender,recipient,amount) (#1249)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#1056)
- _balances[recipient] = _balances[recipient].add(amount) (#1057)
- super._transfer(sender,BURN_ADDRESS,burnAmount) (#1261)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#1056)
- _balances[recipient] = _balances[recipient].add(amount) (#1057)
- super._transfer(sender,address(this),liquidityAmount) (#1262)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#1056)
- _balances[recipient] = _balances[recipient].add(amount) (#1057)
- super._transfer(sender,recipient,sendAmount) (#1263)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#1056)
- _balances[recipient] = _balances[recipient].add(amount) (#1057)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
GarudaToken._writeCheckpoint(address,uint32,uint256,uint256) (#1636-1654) uses a dangerous strict equality:
- nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber (#1646)
Don't use strict equality to determine if an account has enough Ether or tokens.
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.
GarudaToken._transfer(address,address,uint256) (#1235-1266) performs a multiplication on the result of a division:
-taxAmount = amount.mul(transferTaxRate).div(10000) (#1252)
-burnAmount = taxAmount.mul(burnRate).div(100) (#1253)
Consider ordering multiplication before division.
Additional information: link
GarudaToken.addLiquidity(uint256,uint256) (#1321-1334) ignores return value by garudaSwapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (#1326-1333)
Ensure that all the return values of the function calls are used.
Additional information: link
BEP20.constructor(string,string).name (#875) shadows:
- BEP20.name() (#891-893) (function)
- IBEP20.name() (#650) (function)
BEP20.constructor(string,string).symbol (#875) shadows:
- BEP20.symbol() (#905-907) (function)
- IBEP20.symbol() (#645) (function)
BEP20.allowance(address,address).owner (#939) shadows:
- Ownable.owner() (#784-786) (function)
BEP20._approve(address,address,uint256).owner (#1111) shadows:
- Ownable.owner() (#784-786) (function)
GarudaToken.swapAndLiquify().maxTransferAmount (#1271) shadows:
- GarudaToken.maxTransferAmount() (#1339-1341) (function)
Rename the local variables that shadow another component.
Additional information: link
Reentrancy in GarudaToken.swapAndLiquify() (#1269-1299):
External calls:
- swapTokensForEth(half) (#1289)
- garudaSwapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1311-1317)
- addLiquidity(otherHalf,newBalance) (#1295)
- garudaSwapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (#1326-1333)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1295)
- garudaSwapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (#1326-1333)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1295)
- _allowances[owner][spender] = amount (#1118)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in GarudaToken._transfer(address,address,uint256) (#1235-1266):
External calls:
- swapAndLiquify() (#1245)
- garudaSwapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (#1326-1333)
- garudaSwapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1311-1317)
External calls sending eth:
- swapAndLiquify() (#1245)
- garudaSwapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (#1326-1333)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#1058)
- super._transfer(sender,recipient,amount) (#1249)
- Transfer(sender,recipient,amount) (#1058)
- super._transfer(sender,recipient,sendAmount) (#1263)
- Transfer(sender,recipient,amount) (#1058)
- super._transfer(sender,address(this),liquidityAmount) (#1262)
- Transfer(sender,recipient,amount) (#1058)
- super._transfer(sender,BURN_ADDRESS,burnAmount) (#1261)
Reentrancy in GarudaToken.swapAndLiquify() (#1269-1299):
External calls:
- swapTokensForEth(half) (#1289)
- garudaSwapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1311-1317)
- addLiquidity(otherHalf,newBalance) (#1295)
- garudaSwapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (#1326-1333)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1295)
- garudaSwapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (#1326-1333)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1119)
- addLiquidity(otherHalf,newBalance) (#1295)
- SwapAndLiquify(half,newBalance,otherHalf) (#1297)
Apply the check-effects-interactions pattern.
Additional information: link
GarudaToken.delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32) (#1502-1543) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now <= expiry,GARUDA::delegateBySig: signature expired) (#1541)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#247-256) uses assembly
- INLINE ASM (#254)
Address._verifyCallResult(bool,bytes,string) (#392-409) uses assembly
- INLINE ASM (#401-404)
GarudaToken.getChainId() (#1661-1665) uses assembly
- INLINE ASM (#1663)
Do not use evm assembly.
Additional information: link
GarudaToken._transfer(address,address,uint256) (#1235-1266) compares to a boolean constant:
-swapAndLiquifyEnabled == true && _inSwapAndLiquify == false && address(garudaSwapRouter) != address(0) && garudaSwapPair != address(0) && sender != garudaSwapPair && sender != owner() (#1238-1243)
GarudaToken.antiWhale(address,address,uint256) (#1190-1200) compares to a boolean constant:
-_excludedFromAntiWhale[sender] == false && _excludedFromAntiWhale[recipient] == false (#1193-1194)
Remove the equality to the boolean constant.
Additional information: link
Different versions of Solidity is used:
- Version used: ['0.6.12', '>=0.4.0', '>=0.5.0', '>=0.6.0<0.8.0', '>=0.6.2', '>=0.6.2<0.8.0']
- >=0.5.0 (#5)
- >=0.5.0 (#25)
- >=0.6.2 (#80)
- >=0.6.2 (#178)
- >=0.6.2<0.8.0 (#224)
- >=0.6.0<0.8.0 (#414)
- >=0.4.0 (#629)
- >=0.6.0<0.8.0 (#728)
- >=0.6.0<0.8.0 (#753)
- >=0.4.0 (#821)
- 0.6.12 (#1140)
Use one Solidity version.
Additional information: link
Address._verifyCallResult(bool,bytes,string) (#392-409) is never used and should be removed
Address.functionCall(address,bytes) (#300-302) is never used and should be removed
Address.functionCall(address,bytes,string) (#310-312) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#325-327) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#335-342) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#374-376) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#384-390) is never used and should be removed
Address.functionStaticCall(address,bytes) (#350-352) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#360-366) is never used and should be removed
Address.isContract(address) (#247-256) is never used and should be removed
Address.sendValue(address,uint256) (#274-280) is never used and should be removed
BEP20._burn(address,uint256) (#1089-1095) is never used and should be removed
BEP20._burnFrom(address,uint256) (#1128-1135) is never used and should be removed
Context._msgData() (#745-748) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#601-604) is never used and should be removed
SafeMath.mod(uint256,uint256) (#563-566) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#621-624) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#435-439) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#471-474) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#481-484) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#456-464) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#446-449) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version>=0.5.0 (#5) allows old versions
Pragma version>=0.5.0 (#25) allows old versions
Pragma version>=0.6.2 (#80) allows old versions
Pragma version>=0.6.2 (#178) allows old versions
Pragma version>=0.6.2<0.8.0 (#224) is too complex
Pragma version>=0.6.0<0.8.0 (#414) is too complex
Pragma version>=0.4.0 (#629) allows old versions
Pragma version>=0.6.0<0.8.0 (#728) is too complex
Pragma version>=0.6.0<0.8.0 (#753) is too complex
Pragma version>=0.4.0 (#821) 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
Low level call in Address.sendValue(address,uint256) (#274-280):
- (success) = recipient.call{value: amount}() (#278)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#335-342):
- (success,returndata) = target.call{value: value}(data) (#340)
Low level call in Address.functionStaticCall(address,bytes,string) (#360-366):
- (success,returndata) = target.staticcall(data) (#364)
Low level call in Address.functionDelegateCall(address,bytes,string) (#384-390):
- (success,returndata) = target.delegatecall(data) (#388)
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() (#42) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#43) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#60) is not in mixedCase
Function IUniswapV2Router01.WETH() (#84) is not in mixedCase
Parameter GarudaToken.mint(address,uint256)._to (#1229) is not in mixedCase
Parameter GarudaToken.mint(address,uint256)._amount (#1229) is not in mixedCase
Parameter GarudaToken.isExcludedFromAntiWhale(address)._account (#1346) is not in mixedCase
Parameter GarudaToken.updateTransferTaxRate(uint16)._transferTaxRate (#1357) is not in mixedCase
Parameter GarudaToken.updateBurnRate(uint16)._burnRate (#1367) is not in mixedCase
Parameter GarudaToken.updateMaxTransferAmountRate(uint16)._maxTransferAmountRate (#1377) is not in mixedCase
Parameter GarudaToken.updateMinAmountToLiquify(uint256)._minAmount (#1387) is not in mixedCase
Parameter GarudaToken.setExcludedFromAntiWhale(address,bool)._account (#1396) is not in mixedCase
Parameter GarudaToken.setExcludedFromAntiWhale(address,bool)._excluded (#1396) is not in mixedCase
Parameter GarudaToken.updateSwapAndLiquifyEnabled(bool)._enabled (#1404) is not in mixedCase
Parameter GarudaToken.updateGarudaSwapRouter(address)._router (#1413) is not in mixedCase
Variable GarudaToken._delegates (#1444) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#746)" inContext (#740-749)
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 (#89) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#90)
Prevent variables from having similar names.
Additional information: link
GarudaToken.slitherConstructorConstantVariables() (#1147-1667) uses literals with too many digits:
- BURN_ADDRESS = 0x000000000000000000000000000000000000dEaD (#1155)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#803-806)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#812-816)
decimals() should be declared external:
- BEP20.decimals() (#898-900)
symbol() should be declared external:
- BEP20.symbol() (#905-907)
transfer(address,uint256) should be declared external:
- BEP20.transfer(address,uint256) (#931-934)
allowance(address,address) should be declared external:
- BEP20.allowance(address,address) (#939-941)
approve(address,uint256) should be declared external:
- BEP20.approve(address,uint256) (#950-953)
transferFrom(address,address,uint256) should be declared external:
- BEP20.transferFrom(address,address,uint256) (#967-979)
increaseAllowance(address,uint256) should be declared external:
- BEP20.increaseAllowance(address,uint256) (#993-996)
decreaseAllowance(address,uint256) should be declared external:
- BEP20.decreaseAllowance(address,uint256) (#1012-1019)
mint(uint256) should be declared external:
- BEP20.mint(uint256) (#1029-1032)
mint(address,uint256) should be declared external:
- GarudaToken.mint(address,uint256) (#1229-1232)
isExcludedFromAntiWhale(address) should be declared external:
- GarudaToken.isExcludedFromAntiWhale(address) (#1346-1348)
updateTransferTaxRate(uint16) should be declared external:
- GarudaToken.updateTransferTaxRate(uint16) (#1357-1361)
updateBurnRate(uint16) should be declared external:
- GarudaToken.updateBurnRate(uint16) (#1367-1371)
updateMaxTransferAmountRate(uint16) should be declared external:
- GarudaToken.updateMaxTransferAmountRate(uint16) (#1377-1381)
updateMinAmountToLiquify(uint256) should be declared external:
- GarudaToken.updateMinAmountToLiquify(uint256) (#1387-1390)
setExcludedFromAntiWhale(address,bool) should be declared external:
- GarudaToken.setExcludedFromAntiWhale(address,bool) (#1396-1398)
updateSwapAndLiquifyEnabled(bool) should be declared external:
- GarudaToken.updateSwapAndLiquifyEnabled(bool) (#1404-1407)
updateGarudaSwapRouter(address) should be declared external:
- GarudaToken.updateGarudaSwapRouter(address) (#1413-1418)
transferOperator(address) should be declared external:
- GarudaToken.transferOperator(address) (#1431-1435)
Use the external attribute for functions never called from the contract.
Additional information: link
Contract ownership is semi-renounced (passed to a contract)
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Token is deployed only at one blockchain
Token has only one trading pair
Average 30d number of PancakeSwap swaps is low.
Contract has 8% buy tax and 5% sell tax.
Taxes are low and contract ownership is renounced.
Token has a considerable age, but average PancakeSwap 30d trading volume is low
Token has no active CoinGecko listing / rank
Token has relatively low CoinMarketCap rank
Last post in Twitter was more than 30 days ago
Unable to find Youtube account
Unable to find Discord account