Metagwara is a Web 3.0 driven token in the meta ecosystem, created with the purpose of bringing into reality the GWARAVERSE, connecting her community through tokenization via the metaverse ecosystem., a whole new world of possibilities.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
METAGWARA.addLiquidity(uint256,uint256) (#1264-1278) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#1270-1277)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in METAGWARA._transfer(address,address,uint256) (#1138-1195):
External calls:
- sendToFee(marketingTokens) (#1165)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1254-1260)
- (success) = address(_marketingWalletAddress).call{value: newBalance}() (#1204)
- sendToBuyback(buybackTokens) (#1169)
- (success) = address(_buybackWalletAddress).call{value: newBalance}() (#1216)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1254-1260)
- swapAndLiquify(swapTokens) (#1172)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#1270-1277)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1254-1260)
External calls sending eth:
- sendToFee(marketingTokens) (#1165)
- (success) = address(_marketingWalletAddress).call{value: newBalance}() (#1204)
- sendToBuyback(buybackTokens) (#1169)
- (success) = address(_buybackWalletAddress).call{value: newBalance}() (#1216)
- swapAndLiquify(swapTokens) (#1172)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#1270-1277)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1190)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#886)
- _balances[recipient] = _balances[recipient].add(amount) (#887)
- super._transfer(from,to,amount) (#1193)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#886)
- _balances[recipient] = _balances[recipient].add(amount) (#887)
- swapping = false (#1175)
Apply the check-effects-interactions pattern.
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.
Contract ticker ($MGT) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.
METAGWARA.addLiquidity(uint256,uint256) (#1264-1278) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#1270-1277)
Ensure that all the return values of the function calls are used.
Additional information: link
METAGWARA.setSwapTokensAtAmount(uint256) (#1093-1095) should emit an event for:
- swapTokensAtAmount = amount (#1094)
METAGWARA.setLiquiditFee(uint256) (#1104-1108) should emit an event for:
- liquidityFee = value (#1105)
- totalFees = liquidityFee.add(marketingFee).add(buybackFee) (#1106)
METAGWARA.setMarketingFee(uint256) (#1110-1114) should emit an event for:
- marketingFee = value (#1111)
- totalFees = liquidityFee.add(marketingFee).add(buybackFee) (#1112)
METAGWARA.setBuybackFee(uint256) (#1115-1119) should emit an event for:
- buybackFee = value (#1116)
- totalFees = liquidityFee.add(marketingFee).add(buybackFee) (#1117)
Emit an event for critical parameter changes.
Additional information: link
Ownable.constructor().msgSender (#297) lacks a zero-check on :
- _owner = msgSender (#298)
METAGWARA.updateUniswapV2Router(address)._uniswapV2Pair (#1073-1074) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (#1075)
METAGWARA.setMarketingWallet(address).wallet (#1097) lacks a zero-check on :
- _marketingWalletAddress = wallet (#1098)
METAGWARA.setBuybackWallet(address).wallet (#1100) lacks a zero-check on :
- _buybackWalletAddress = wallet (#1101)
Check that the address is not zero.
Additional information: link
Reentrancy in METAGWARA._transfer(address,address,uint256) (#1138-1195):
External calls:
- sendToFee(marketingTokens) (#1165)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1254-1260)
- (success) = address(_marketingWalletAddress).call{value: newBalance}() (#1204)
- sendToBuyback(buybackTokens) (#1169)
- (success) = address(_buybackWalletAddress).call{value: newBalance}() (#1216)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1254-1260)
External calls sending eth:
- sendToFee(marketingTokens) (#1165)
- (success) = address(_marketingWalletAddress).call{value: newBalance}() (#1204)
- sendToBuyback(buybackTokens) (#1169)
- (success) = address(_buybackWalletAddress).call{value: newBalance}() (#1216)
State variables written after the call(s):
- sendToBuyback(buybackTokens) (#1169)
- _allowances[owner][spender] = amount (#952)
Reentrancy in METAGWARA._transfer(address,address,uint256) (#1138-1195):
External calls:
- sendToFee(marketingTokens) (#1165)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1254-1260)
- (success) = address(_marketingWalletAddress).call{value: newBalance}() (#1204)
- sendToBuyback(buybackTokens) (#1169)
- (success) = address(_buybackWalletAddress).call{value: newBalance}() (#1216)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1254-1260)
- swapAndLiquify(swapTokens) (#1172)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#1270-1277)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1254-1260)
External calls sending eth:
- sendToFee(marketingTokens) (#1165)
- (success) = address(_marketingWalletAddress).call{value: newBalance}() (#1204)
- sendToBuyback(buybackTokens) (#1169)
- (success) = address(_buybackWalletAddress).call{value: newBalance}() (#1216)
- swapAndLiquify(swapTokens) (#1172)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#1270-1277)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (#1172)
- _allowances[owner][spender] = amount (#952)
Reentrancy in METAGWARA.constructor(address) (#1038-1062):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1042-1043)
State variables written after the call(s):
- _mint(_newOwner,500000000000000 * (10 ** 9)) (#1061)
- _balances[account] = _balances[account].add(amount) (#906)
- excludeFromFees(_newOwner,true) (#1054)
- _isExcludedFromFees[account] = excluded (#1080)
- excludeFromFees(address(this),true) (#1055)
- _isExcludedFromFees[account] = excluded (#1080)
- _mint(_newOwner,500000000000000 * (10 ** 9)) (#1061)
- _totalSupply = _totalSupply.add(amount) (#905)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1049)
- automatedMarketMakerPairs[pair] = value (#1130)
- uniswapV2Pair = _uniswapV2Pair (#1046)
- uniswapV2Router = _uniswapV2Router (#1045)
Reentrancy in METAGWARA.swapAndLiquify(uint256) (#1222-1243):
External calls:
- swapTokensForEth(half) (#1234)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1254-1260)
- addLiquidity(otherHalf,newBalance) (#1240)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#1270-1277)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1240)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#1270-1277)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1240)
- _allowances[owner][spender] = amount (#952)
Reentrancy in METAGWARA.updateUniswapV2Router(address) (#1069-1076):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#1073-1074)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#1075)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in METAGWARA._transfer(address,address,uint256) (#1138-1195):
External calls:
- sendToFee(marketingTokens) (#1165)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1254-1260)
- (success) = address(_marketingWalletAddress).call{value: newBalance}() (#1204)
- sendToBuyback(buybackTokens) (#1169)
- (success) = address(_buybackWalletAddress).call{value: newBalance}() (#1216)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1254-1260)
External calls sending eth:
- sendToFee(marketingTokens) (#1165)
- (success) = address(_marketingWalletAddress).call{value: newBalance}() (#1204)
- sendToBuyback(buybackTokens) (#1169)
- (success) = address(_buybackWalletAddress).call{value: newBalance}() (#1216)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#953)
- sendToBuyback(buybackTokens) (#1169)
Reentrancy in METAGWARA._transfer(address,address,uint256) (#1138-1195):
External calls:
- sendToFee(marketingTokens) (#1165)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1254-1260)
- (success) = address(_marketingWalletAddress).call{value: newBalance}() (#1204)
- sendToBuyback(buybackTokens) (#1169)
- (success) = address(_buybackWalletAddress).call{value: newBalance}() (#1216)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1254-1260)
- swapAndLiquify(swapTokens) (#1172)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#1270-1277)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1254-1260)
External calls sending eth:
- sendToFee(marketingTokens) (#1165)
- (success) = address(_marketingWalletAddress).call{value: newBalance}() (#1204)
- sendToBuyback(buybackTokens) (#1169)
- (success) = address(_buybackWalletAddress).call{value: newBalance}() (#1216)
- swapAndLiquify(swapTokens) (#1172)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#1270-1277)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#953)
- swapAndLiquify(swapTokens) (#1172)
- SwapAndLiquify(half,newBalance,otherHalf) (#1242)
- swapAndLiquify(swapTokens) (#1172)
- Transfer(sender,recipient,amount) (#888)
- super._transfer(from,address(this),fees) (#1190)
- Transfer(sender,recipient,amount) (#888)
- super._transfer(from,to,amount) (#1193)
Reentrancy in METAGWARA.constructor(address) (#1038-1062):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1042-1043)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#1082)
- excludeFromFees(_newOwner,true) (#1054)
- ExcludeFromFees(account,excluded) (#1082)
- excludeFromFees(address(this),true) (#1055)
- SetAutomatedMarketMakerPair(pair,value) (#1133)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1049)
- Transfer(address(0),account,amount) (#907)
- _mint(_newOwner,500000000000000 * (10 ** 9)) (#1061)
Reentrancy in METAGWARA.swapAndLiquify(uint256) (#1222-1243):
External calls:
- swapTokensForEth(half) (#1234)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1254-1260)
- addLiquidity(otherHalf,newBalance) (#1240)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#1270-1277)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1240)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#1270-1277)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#953)
- addLiquidity(otherHalf,newBalance) (#1240)
- SwapAndLiquify(half,newBalance,otherHalf) (#1242)
Apply the check-effects-interactions pattern.
Additional information: link
Different versions of Solidity is used:
- Version used: ['^0.6.12', '^0.6.2']
- ^0.6.12 (#1)
- ^0.6.2 (#25)
- ^0.6.2 (#70)
- ^0.6.2 (#138)
- ^0.6.2 (#283)
- ^0.6.2 (#343)
- ^0.6.2 (#486)
- ^0.6.2 (#541)
- ^0.6.2 (#559)
- ^0.6.2 (#643)
- ^0.6.2 (#674)
- ^0.6.2 (#978)
Use one Solidity version.
Additional information: link
Context._msgData() (#20-23) is never used and should be removed
ERC20._burn(address,uint256) (#921-929) is never used and should be removed
SafeMath.mod(uint256,uint256) (#261-263) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#277-280) is never used and should be removed
SafeMathInt.abs(int256) (#124-127) is never used and should be removed
SafeMathInt.add(int256,int256) (#115-119) is never used and should be removed
SafeMathInt.div(int256,int256) (#95-101) is never used and should be removed
SafeMathInt.mul(int256,int256) (#83-90) is never used and should be removed
SafeMathInt.sub(int256,int256) (#106-110) is never used and should be removed
SafeMathInt.toUint256Safe(int256) (#130-133) is never used and should be removed
SafeMathUint.toInt256Safe(uint256) (#33-37) is never used and should be removed
Remove unused functions.
Additional information: link
METAGWARA.totalFees (#1000) is set pre-construction with a non-constant function or state variable:
- liquidityFee.add(buybackFee).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 (#25) allows old versions
Pragma version^0.6.2 (#70) allows old versions
Pragma version^0.6.2 (#138) allows old versions
Pragma version^0.6.2 (#283) allows old versions
Pragma version^0.6.2 (#343) allows old versions
Pragma version^0.6.2 (#486) allows old versions
Pragma version^0.6.2 (#541) allows old versions
Pragma version^0.6.2 (#559) allows old versions
Pragma version^0.6.2 (#643) allows old versions
Pragma version^0.6.2 (#674) allows old versions
Pragma version^0.6.2 (#978) 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 METAGWARA.sendToFee(uint256) (#1198-1208):
- (success) = address(_marketingWalletAddress).call{value: newBalance}() (#1204)
Low level call in METAGWARA.sendToBuyback(uint256) (#1210-1220):
- (success) = address(_buybackWalletAddress).call{value: newBalance}() (#1216)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Router01.WETH() (#347) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#503) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#504) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#521) is not in mixedCase
Variable METAGWARA._marketingWalletAddress (#1003) is not in mixedCase
Variable METAGWARA._buybackWalletAddress (#1004) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#21)" inContext (#15-24)
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 (#352) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#353)
Prevent variables from having similar names.
Additional information: link
METAGWARA.constructor(address) (#1038-1062) uses literals with too many digits:
- _mint(_newOwner,500000000000000 * (10 ** 9)) (#1061)
METAGWARA.slitherConstructorVariables() (#982-1282) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (#990)
METAGWARA.slitherConstructorVariables() (#982-1282) uses literals with too many digits:
- swapTokensAtAmount = 20000000000 * (10 ** 9) (#994)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (#78) is never used in SafeMathInt (#76-134)
Remove unused state variables.
Additional information: link
METAGWARA.deadWallet (#990) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#324-327)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#333-337)
name() should be declared external:
- ERC20.name() (#728-730)
symbol() should be declared external:
- ERC20.symbol() (#736-738)
decimals() should be declared external:
- ERC20.decimals() (#753-755)
totalSupply() should be declared external:
- ERC20.totalSupply() (#760-762)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#779-782)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#787-789)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#798-801)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#816-824)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#838-841)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#857-860)
updateUniswapV2Router(address) should be declared external:
- METAGWARA.updateUniswapV2Router(address) (#1069-1076)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- METAGWARA.excludeMultipleAccountsFromFees(address[],bool) (#1085-1091)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- METAGWARA.setAutomatedMarketMakerPair(address,bool) (#1120-1124)
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 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
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account