WAGMI DEFENSE, phase one of WAGMI GAMES, is currently in development to be a PVP tower defense battle game on Android and IOS platforms (desktop in future phase). Users will battle against each other using units "NFTs" within the game. These NFT cards are collectable cards you can purchase off of the "WAGMI Network" Each card will use a different amount of energy and have a different cool down.
The goal in the game "WAGMI Defense" is for users to push and strategically destroy the other teams main bases by strategically placing down traps, offensive moves, as well as defensive moves.
Users will win WAGMI tokens for winner competitions within the game. These tokens are available to withdraw to your blockchain wallet and redeem them for real digital currency. There will also be leaderboards in which larger winnings can be earned.
Users are able to play the game for free with a "base set" of cards. If the player wants to get into a higher ranked and higher rewarding gameplay they will have to purchase NFTs from the "WAGMI Network" which will cost real digital currency to buy.
WAGMI._addLiquidity(uint256,uint256) (#892-907) sends eth to arbitrary user
Dangerous calls:
- (tokenAmountSent,ethAmountSent,liquidity) = router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#897-904)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in WAGMI._beforeTokenTransfer(address) (#849-865):
External calls:
- swapBack() (#859)
- (tokenAmountSent,ethAmountSent,liquidity) = router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#897-904)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#918-924)
External calls sending eth:
- swapBack() (#859)
- recipient.transfer(amount) (#930)
- (tokenAmountSent,ethAmountSent,liquidity) = router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#897-904)
State variables written after the call(s):
- swapping = false (#861)
Reentrancy in WAGMI._transfer(address,address,uint256) (#811-847):
External calls:
- _beforeTokenTransfer(recipient) (#844)
- (tokenAmountSent,ethAmountSent,liquidity) = router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#897-904)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#918-924)
External calls sending eth:
- _beforeTokenTransfer(recipient) (#844)
- recipient.transfer(amount) (#930)
- (tokenAmountSent,ethAmountSent,liquidity) = router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#897-904)
State variables written after the call(s):
- _transferTokens(sender,recipient,amount,_isTakeFee) (#845)
- _balances[sender] = _balances[sender].sub(tAmount) (#796)
- _balances[recipient] = _balances[recipient].add(tAmount) (#759)
- _balances[recipient] = _balances[recipient].add(tTransferAmount) (#797)
- _transferTokens(sender,recipient,amount,_isTakeFee) (#845)
- _reflectedBalances[sender] = _reflectedBalances[sender].sub(rAmount) (#790)
- _reflectedBalances[recipient] = _reflectedBalances[recipient].add(rTransferAmount) (#791)
- _reflectedBalances[recipient] = _reflectedBalances[recipient].add(rAmount) (#757)
- _transferTokens(sender,recipient,amount,_isTakeFee) (#845)
- _reflectedSupply = _reflectedSupply.sub(rFee) (#597)
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 ownership is not renounced (belongs to a wallet)
Not a direct threat, but may indicate unreliable intentions of developer. Widespread names (e.g. Elon, King, Moon, Doge) are common among meme-tokens and scams. The allow to gain free hype and attract unexperienced investors.
WAGMI.antiBotFee (#321) should be constant
WAGMI.deadAddress (#292) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
WAGMI._getValues(uint256,uint256) (#550-560) performs a multiplication on the result of a division:
-tTotalFees = tAmount.mul(feesSum).div(FEES_DIVISOR) (#552)
-rTotalFees = tTotalFees.mul(currentRate) (#556)
WAGMI._redistribute(uint256,uint256,uint256) (#593-600) performs a multiplication on the result of a division:
-tFee = amount.mul(fee).div(FEES_DIVISOR) (#594)
-rFee = tFee.mul(currentRate) (#595)
WAGMI._burn(uint256,uint256,uint256) (#602-609) performs a multiplication on the result of a division:
-tBurn = amount.mul(fee).div(FEES_DIVISOR) (#603)
-rBurn = tBurn.mul(currentRate) (#604)
WAGMI._takeFee(uint256,uint256,uint256,address) (#753-762) performs a multiplication on the result of a division:
-tAmount = amount.mul(fee).div(FEES_DIVISOR) (#754)
-rAmount = tAmount.mul(currentRate) (#755)
WAGMI.swapBack() (#867-890) performs a multiplication on the result of a division:
-splitLiquidityPortion = lpPortionOfSwap.div(2) (#868)
-amountToLiquify = balanceOf(address(this)).mul(splitLiquidityPortion).div(FEES_DIVISOR) (#869)
WAGMI.swapBack() (#867-890) performs a multiplication on the result of a division:
-splitLiquidityPortion = lpPortionOfSwap.div(2) (#868)
-amountBNBLiquidity = amountBNB.mul(splitLiquidityPortion).div(FEES_DIVISOR) (#881)
Consider ordering multiplication before division.
Additional information: link
WAGMI.allowance(address,address).owner (#420) shadows:
- Ownable.owner() (#192-194) (function)
WAGMI._approve(address,address,uint256).owner (#485) shadows:
- Ownable.owner() (#192-194) (function)
Rename the local variables that shadow another component.
Additional information: link
WAGMI.updateSwapTokensAt(uint256) (#657-659) should emit an event for:
- swapTokensAtAmount = _swaptokens * (10 ** 18) (#658)
WAGMI.updateWalletMax(uint256) (#661-663) should emit an event for:
- maxWalletBalance = _walletMax * (10 ** 18) (#662)
WAGMI.updateTransactionMax(uint256) (#665-667) should emit an event for:
- maxTxAmount = _txMax * (10 ** 18) (#666)
WAGMI.updateRfiFee(uint256) (#673-676) should emit an event for:
- rfiFee = newFee (#674)
WAGMI.updateMarketingFee(uint256) (#678-681) should emit an event for:
- marketingFee = newFee (#679)
WAGMI.updateDevFee(uint256) (#683-686) should emit an event for:
- devFee = newFee (#684)
WAGMI.updateTeamFee(uint256) (#688-691) should emit an event for:
- teamFee = newFee (#689)
WAGMI.updateLpFee(uint256) (#693-696) should emit an event for:
- lpFee = newFee (#694)
WAGMI.updatePortionsOfSwap(uint256,uint256,uint256,uint256) (#719-729) should emit an event for:
- marketingPortionOfSwap = marketingPortion (#725)
- devPortionOfSwap = devPortion (#726)
- lpPortionOfSwap = lpPortion (#727)
- teamPortionOfSwap = teamPortion (#728)
WAGMI.setFeesDivisor(uint256) (#731-733) should emit an event for:
- FEES_DIVISOR = divisor (#732)
Emit an event for critical parameter changes.
Additional information: link
WAGMI.whitelistDxSale(address,address)._presaleAddress (#623) lacks a zero-check on :
- presaleAddress = _presaleAddress (#624)
Check that the address is not zero.
Additional information: link
Reentrancy in WAGMI._transfer(address,address,uint256) (#811-847):
External calls:
- _beforeTokenTransfer(recipient) (#844)
- (tokenAmountSent,ethAmountSent,liquidity) = router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#897-904)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#918-924)
External calls sending eth:
- _beforeTokenTransfer(recipient) (#844)
- recipient.transfer(amount) (#930)
- (tokenAmountSent,ethAmountSent,liquidity) = router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#897-904)
State variables written after the call(s):
- _transferTokens(sender,recipient,amount,_isTakeFee) (#845)
- collectedFeeTotal = collectedFeeTotal.add(tFee) (#599)
- collectedFeeTotal = collectedFeeTotal.add(tAmount) (#761)
Reentrancy in WAGMI.constructor() (#368-390):
External calls:
- pair = IPancakeV2Factory(_newPancakeRouter.factory()).createPair(address(this),_newPancakeRouter.WETH()) (#372)
State variables written after the call(s):
- _approve(owner(),address(router),~ uint256(0)) (#387)
- _allowances[owner][spender] = amount (#489)
- _exclude(owner()) (#380)
- _balances[account] = tokenFromReflection(_reflectedBalances[account]) (#527)
- _exclude(address(this)) (#381)
- _balances[account] = tokenFromReflection(_reflectedBalances[account]) (#527)
- _exclude(pair) (#384)
- _balances[account] = tokenFromReflection(_reflectedBalances[account]) (#527)
- _exclude(deadAddress) (#385)
- _balances[account] = tokenFromReflection(_reflectedBalances[account]) (#527)
- _exclude(owner()) (#380)
- _excluded.push(account) (#530)
- _exclude(address(this)) (#381)
- _excluded.push(account) (#530)
- _exclude(pair) (#384)
- _excluded.push(account) (#530)
- _exclude(deadAddress) (#385)
- _excluded.push(account) (#530)
- _isExcludedFromFee[owner()] = true (#376)
- _isExcludedFromFee[address(this)] = true (#377)
- _exclude(owner()) (#380)
- _isExcludedFromRewards[account] = true (#529)
- _exclude(address(this)) (#381)
- _isExcludedFromRewards[account] = true (#529)
- _exclude(pair) (#384)
- _isExcludedFromRewards[account] = true (#529)
- _exclude(deadAddress) (#385)
- _isExcludedFromRewards[account] = true (#529)
- router = _newPancakeRouter (#373)
Reentrancy in WAGMI.swapBack() (#867-890):
External calls:
- swapTokensForETH(amountToSwap) (#874)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#918-924)
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#889)
- (tokenAmountSent,ethAmountSent,liquidity) = router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#897-904)
External calls sending eth:
- transferToAddress(address(marketingWallet),amountBNBMarketing) (#884)
- recipient.transfer(amount) (#930)
- transferToAddress(address(devWallet),amountBNBDev) (#885)
- recipient.transfer(amount) (#930)
- transferToAddress(address(teamWallet),amountBNBTeam) (#886)
- recipient.transfer(amount) (#930)
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#889)
- (tokenAmountSent,ethAmountSent,liquidity) = router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#897-904)
State variables written after the call(s):
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#889)
- _allowances[owner][spender] = amount (#489)
Reentrancy in WAGMI.transferFrom(address,address,uint256) (#429-433):
External calls:
- _transfer(sender,recipient,amount) (#430)
- (tokenAmountSent,ethAmountSent,liquidity) = router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#897-904)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#918-924)
External calls sending eth:
- _transfer(sender,recipient,amount) (#430)
- recipient.transfer(amount) (#930)
- (tokenAmountSent,ethAmountSent,liquidity) = router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#897-904)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#431)
- _allowances[owner][spender] = amount (#489)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in WAGMI._addLiquidity(uint256,uint256) (#892-907):
External calls:
- (tokenAmountSent,ethAmountSent,liquidity) = router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#897-904)
Event emitted after the call(s):
- LiquidityAdded(tokenAmountSent,ethAmountSent,liquidity) (#906)
Reentrancy in WAGMI._transfer(address,address,uint256) (#811-847):
External calls:
- _beforeTokenTransfer(recipient) (#844)
- (tokenAmountSent,ethAmountSent,liquidity) = router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#897-904)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#918-924)
External calls sending eth:
- _beforeTokenTransfer(recipient) (#844)
- recipient.transfer(amount) (#930)
- (tokenAmountSent,ethAmountSent,liquidity) = router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#897-904)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#784)
- _transferTokens(sender,recipient,amount,_isTakeFee) (#845)
Reentrancy in WAGMI.constructor() (#368-390):
External calls:
- pair = IPancakeV2Factory(_newPancakeRouter.factory()).createPair(address(this),_newPancakeRouter.WETH()) (#372)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#490)
- _approve(owner(),address(router),~ uint256(0)) (#387)
- Transfer(address(0),owner(),_totalSupply) (#389)
Reentrancy in WAGMI.swapBack() (#867-890):
External calls:
- swapTokensForETH(amountToSwap) (#874)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#918-924)
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#889)
- (tokenAmountSent,ethAmountSent,liquidity) = router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#897-904)
External calls sending eth:
- transferToAddress(address(marketingWallet),amountBNBMarketing) (#884)
- recipient.transfer(amount) (#930)
- transferToAddress(address(devWallet),amountBNBDev) (#885)
- recipient.transfer(amount) (#930)
- transferToAddress(address(teamWallet),amountBNBTeam) (#886)
- recipient.transfer(amount) (#930)
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#889)
- (tokenAmountSent,ethAmountSent,liquidity) = router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#897-904)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#490)
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#889)
- LiquidityAdded(tokenAmountSent,ethAmountSent,liquidity) (#906)
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#889)
Reentrancy in WAGMI.swapTokensForETH(uint256) (#909-927):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#918-924)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#926)
Reentrancy in WAGMI.transferFrom(address,address,uint256) (#429-433):
External calls:
- _transfer(sender,recipient,amount) (#430)
- (tokenAmountSent,ethAmountSent,liquidity) = router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#897-904)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#918-924)
External calls sending eth:
- _transfer(sender,recipient,amount) (#430)
- recipient.transfer(amount) (#930)
- (tokenAmountSent,ethAmountSent,liquidity) = router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#897-904)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#490)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#431)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#227-232) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 7 days) (#229)
WAGMI._transferTokens(address,address,uint256,bool) (#764-773) uses timestamp for comparisons
Dangerous comparisons:
- antiBotEnabled && block.timestamp <= _startTimeForSwap (#767)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#126-128) uses assembly
- INLINE ASM (#127)
Address._verifyCallResult(bool,bytes,string) (#167-176) uses assembly
- INLINE ASM (#170-173)
Do not use evm assembly.
Additional information: link
WAGMI.includeInReward(address) (#533-544) has costly operations inside a loop:
- _excluded.pop() (#540)
Use a local variable to hold the loop computation result.
Additional information: link
Address._verifyCallResult(bool,bytes,string) (#167-176) is never used and should be removed
Address.functionCall(address,bytes) (#133-136) is never used and should be removed
Address.functionCall(address,bytes,string) (#137-140) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#141-144) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#145-150) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#159-161) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#162-166) is never used and should be removed
Address.functionStaticCall(address,bytes) (#151-153) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#154-158) is never used and should be removed
Address.isContract(address) (#126-128) is never used and should be removed
Address.sendValue(address,uint256) (#129-132) is never used and should be removed
Context._msgData() (#122) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#84-91) is never used and should be removed
SafeMath.mod(uint256,uint256) (#68-71) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#93-100) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#15-19) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#34-37) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#39-42) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#26-31) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#21-24) is never used and should be removed
WAGMI._burn(uint256,uint256,uint256) (#602-609) is never used and should be removed
Remove unused functions.
Additional information: link
WAGMI.totalFee (#331) is set pre-construction with a non-constant function or state variable:
- rfiFee.add(marketingFee).add(devFee).add(teamFee).add(lpFee)
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
Low level call in Address.sendValue(address,uint256) (#129-132):
- (success) = recipient.call{value: amount}() (#130)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#145-150):
- (success,returndata) = target.call{value: value}(data) (#148)
Low level call in Address.functionStaticCall(address,bytes,string) (#154-158):
- (success,returndata) = target.staticcall(data) (#156)
Low level call in Address.functionDelegateCall(address,bytes,string) (#162-166):
- (success,returndata) = target.delegatecall(data) (#164)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IPancakeV2Router.WETH() (#242) is not in mixedCase
Parameter WAGMI.whitelistDxSale(address,address)._presaleAddress (#623) is not in mixedCase
Parameter WAGMI.whitelistDxSale(address,address)._routerAddress (#623) is not in mixedCase
Parameter WAGMI.setSwapEnabled(bool)._enabled (#653) is not in mixedCase
Parameter WAGMI.updateSwapTokensAt(uint256)._swaptokens (#657) is not in mixedCase
Parameter WAGMI.updateWalletMax(uint256)._walletMax (#661) is not in mixedCase
Parameter WAGMI.updateTransactionMax(uint256)._txMax (#665) is not in mixedCase
Function WAGMI.TransferETH(address,uint256) (#933-936) is not in mixedCase
Constant WAGMI._name (#299) is not in UPPER_CASE_WITH_UNDERSCORES
Constant WAGMI._symbol (#300) is not in UPPER_CASE_WITH_UNDERSCORES
Constant WAGMI._decimals (#301) is not in UPPER_CASE_WITH_UNDERSCORES
Constant WAGMI._totalSupply (#304) is not in UPPER_CASE_WITH_UNDERSCORES
Variable WAGMI._reflectedSupply (#305) is not in mixedCase
Variable WAGMI._startTimeForSwap (#322) is not in mixedCase
Variable WAGMI.FEES_DIVISOR (#324) is not in mixedCase
Variable WAGMI._reflectedBalances (#343) is not in mixedCase
Variable WAGMI._balances (#344) is not in mixedCase
Variable WAGMI._allowances (#345) is not in mixedCase
Variable WAGMI._isBlacklisted (#347) is not in mixedCase
Variable WAGMI._isExcludedFromFee (#349) is not in mixedCase
Variable WAGMI._isExcludedFromRewards (#350) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#122)" inContext (#120-123)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in WAGMI._beforeTokenTransfer(address) (#849-865):
External calls:
- swapBack() (#859)
- recipient.transfer(amount) (#930)
External calls sending eth:
- swapBack() (#859)
- recipient.transfer(amount) (#930)
- (tokenAmountSent,ethAmountSent,liquidity) = router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#897-904)
State variables written after the call(s):
- swapping = false (#861)
Reentrancy in WAGMI._transfer(address,address,uint256) (#811-847):
External calls:
- _beforeTokenTransfer(recipient) (#844)
- recipient.transfer(amount) (#930)
External calls sending eth:
- _beforeTokenTransfer(recipient) (#844)
- recipient.transfer(amount) (#930)
- (tokenAmountSent,ethAmountSent,liquidity) = router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#897-904)
State variables written after the call(s):
- _transferTokens(sender,recipient,amount,_isTakeFee) (#845)
- _balances[sender] = _balances[sender].sub(tAmount) (#796)
- _balances[recipient] = _balances[recipient].add(tAmount) (#759)
- _balances[recipient] = _balances[recipient].add(tTransferAmount) (#797)
- _transferTokens(sender,recipient,amount,_isTakeFee) (#845)
- _reflectedBalances[sender] = _reflectedBalances[sender].sub(rAmount) (#790)
- _reflectedBalances[recipient] = _reflectedBalances[recipient].add(rTransferAmount) (#791)
- _reflectedBalances[recipient] = _reflectedBalances[recipient].add(rAmount) (#757)
- _transferTokens(sender,recipient,amount,_isTakeFee) (#845)
- _reflectedSupply = _reflectedSupply.sub(rFee) (#597)
- _transferTokens(sender,recipient,amount,_isTakeFee) (#845)
- collectedFeeTotal = collectedFeeTotal.add(tFee) (#599)
- collectedFeeTotal = collectedFeeTotal.add(tAmount) (#761)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#784)
- _transferTokens(sender,recipient,amount,_isTakeFee) (#845)
Reentrancy in WAGMI.swapBack() (#867-890):
External calls:
- transferToAddress(address(marketingWallet),amountBNBMarketing) (#884)
- recipient.transfer(amount) (#930)
- transferToAddress(address(devWallet),amountBNBDev) (#885)
- recipient.transfer(amount) (#930)
- transferToAddress(address(teamWallet),amountBNBTeam) (#886)
- recipient.transfer(amount) (#930)
External calls sending eth:
- transferToAddress(address(marketingWallet),amountBNBMarketing) (#884)
- recipient.transfer(amount) (#930)
- transferToAddress(address(devWallet),amountBNBDev) (#885)
- recipient.transfer(amount) (#930)
- transferToAddress(address(teamWallet),amountBNBTeam) (#886)
- recipient.transfer(amount) (#930)
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#889)
- (tokenAmountSent,ethAmountSent,liquidity) = router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#897-904)
State variables written after the call(s):
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#889)
- _allowances[owner][spender] = amount (#489)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#490)
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#889)
- LiquidityAdded(tokenAmountSent,ethAmountSent,liquidity) (#906)
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#889)
Reentrancy in WAGMI.transferFrom(address,address,uint256) (#429-433):
External calls:
- _transfer(sender,recipient,amount) (#430)
- recipient.transfer(amount) (#930)
External calls sending eth:
- _transfer(sender,recipient,amount) (#430)
- recipient.transfer(amount) (#930)
- (tokenAmountSent,ethAmountSent,liquidity) = router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#897-904)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#431)
- _allowances[owner][spender] = amount (#489)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#490)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#431)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IPancakeV2Router.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#247) is too similar to IPancakeV2Router.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#248)
Variable WAGMI.theReflection(address,address,uint256,uint256,uint256,uint256).rTransferAmount (#787) is too similar to WAGMI.theReflection(address,address,uint256,uint256,uint256,uint256).tTransferAmount (#788)
Variable WAGMI.theReflection(address,address,uint256,uint256,uint256,uint256).rTransferAmount (#787) is too similar to WAGMI.processReflectedBal(address,address,uint256,uint256).tTransferAmount (#778)
Variable WAGMI.reflectionFromToken(uint256,bool).rTransferAmount (#506) is too similar to WAGMI.processReflectedBal(address,address,uint256,uint256).tTransferAmount (#778)
Variable WAGMI.reflectionFromToken(uint256,bool).rTransferAmount (#506) is too similar to WAGMI._getValues(uint256,uint256).tTransferAmount (#553)
Variable WAGMI.theReflection(address,address,uint256,uint256,uint256,uint256).rTransferAmount (#787) is too similar to WAGMI._getValues(uint256,uint256).tTransferAmount (#553)
Variable WAGMI._getValues(uint256,uint256).rTransferAmount (#557) is too similar to WAGMI.processReflectedBal(address,address,uint256,uint256).tTransferAmount (#778)
Variable WAGMI.reflectionFromToken(uint256,bool).rTransferAmount (#506) is too similar to WAGMI.theReflection(address,address,uint256,uint256,uint256,uint256).tTransferAmount (#788)
Variable WAGMI._getValues(uint256,uint256).rTransferAmount (#557) is too similar to WAGMI._getValues(uint256,uint256).tTransferAmount (#553)
Variable WAGMI.processReflectedBal(address,address,uint256,uint256).rTransferAmount (#777) is too similar to WAGMI._getValues(uint256,uint256).tTransferAmount (#553)
Variable WAGMI.processReflectedBal(address,address,uint256,uint256).rTransferAmount (#777) is too similar to WAGMI.processReflectedBal(address,address,uint256,uint256).tTransferAmount (#778)
Variable WAGMI.processReflectedBal(address,address,uint256,uint256).rTransferAmount (#777) is too similar to WAGMI.theReflection(address,address,uint256,uint256,uint256,uint256).tTransferAmount (#788)
Variable WAGMI._getValues(uint256,uint256).rTransferAmount (#557) is too similar to WAGMI.theReflection(address,address,uint256,uint256,uint256,uint256).tTransferAmount (#788)
Prevent variables from having similar names.
Additional information: link
WAGMI.slitherConstructorVariables() (#288-939) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#292)
WAGMI.slitherConstructorVariables() (#288-939) uses literals with too many digits:
- swapTokensAtAmount = 10000000 * (10 ** 18) (#318)
WAGMI.slitherConstructorConstantVariables() (#288-939) uses literals with too many digits:
- _totalSupply = 1000000000000 * (10 ** 18) (#304)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#201-204)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#206-210)
getUnlockTime() should be declared external:
- Ownable.getUnlockTime() (#212-214)
getTime() should be declared external:
- Ownable.getTime() (#216-218)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#220-225)
unlock() should be declared external:
- Ownable.unlock() (#227-232)
increaseAllowance(address,uint256) should be declared external:
- WAGMI.increaseAllowance(address,uint256) (#475-478)
decreaseAllowance(address,uint256) should be declared external:
- WAGMI.decreaseAllowance(address,uint256) (#480-483)
isExcludedFromFee(address) should be declared external:
- WAGMI.isExcludedFromFee(address) (#619-621)
Use the external attribute for functions never called from the contract.
Additional information: link
Unable to find whitepaper link on the website
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death