Cryptotem Token Logo

TOTEM [Cryptotem] Token

About TOTEM

Listings

Token 2 years
CoinMarketCap 2 years
white paper

Cryptotem offer a power bank rental service for electronic devices users.

When someone rent a battery a transaction takes place in the blockchain, so investors receive their commission based on the percentage of token they hold

Social

Laser Scorebeta Last Audit: 2 March 2022

report
Token is either risky or in presale. For presale 30+ is a fine score.

Anti-Scam

Links


Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)

Reentrancy in TOTEMTOKEN._transfer(address,address,uint256) (#1214-1301):
External calls:
- swapAndSendToFee(marketingTokens) (#1251)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1347-1353)
- swapAndLiquify(swapTokens) (#1254)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1364-1371)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1347-1353)
- swapAndSendDividends(sellTokens) (#1257)
- (success) = address(dividendTracker).call{value: dividends}() (#1379)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1347-1353)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (#1251)
- address(_marketingWalletAddress).transfer(newBalance) (#1309)
- swapAndLiquify(swapTokens) (#1254)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1364-1371)
- swapAndSendDividends(sellTokens) (#1257)
- (success) = address(dividendTracker).call{value: dividends}() (#1379)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1283)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#407)
- _balances[recipient] = _balances[recipient].add(amount) (#408)
- super._transfer(from,to,amount) (#1286)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#407)
- _balances[recipient] = _balances[recipient].add(amount) (#408)
- setFeeOnSell() (#1273)
- liquidityFee = _sellFees._liquidFee (#1166)
- setFeeOnBuy() (#1276)
- liquidityFee = _buyFees._liquidFee (#1159)
- setFeeOnSell() (#1273)
- marketingFee = _sellFees._marketFee (#1165)
- setFeeOnBuy() (#1276)
- marketingFee = _buyFees._marketFee (#1158)
- swapping = false (#1259)
- setFeeOnSell() (#1273)
- totalFees = BNBRewardsFee.add(liquidityFee).add(marketingFee) (#1167)
- setFeeOnBuy() (#1276)
- totalFees = BNBRewardsFee.add(liquidityFee).add(marketingFee) (#1160)
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#1463-1479):
External calls:
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1468)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#1471)
Apply the check-effects-interactions pattern.

Additional information: link

TOTEMTOKEN._totalSupply (#855) shadows:
- ERC20._totalSupply (#227)
Remove the state variable shadowing.

Additional information: link

TOTEMTOKEN.addLiquidity(uint256,uint256) (#1358-1373) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1364-1371)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

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.

TOTEMTOKEN.claim() (#1201-1203) ignores return value by dividendTracker.processAccount(msg.sender,false) (#1202)
TOTEMTOKEN._transfer(address,address,uint256) (#1214-1301) ignores return value by dividendTracker.process(gas) (#1294-1299)
TOTEMTOKEN.addLiquidity(uint256,uint256) (#1358-1373) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1364-1371)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendPayingToken.constructor(string,string)._name (#1420) shadows:
- ERC20._name (#229) (state variable)
DividendPayingToken.constructor(string,string)._symbol (#1420) shadows:
- ERC20._symbol (#230) (state variable)
Rename the local variables that shadow another component.

Additional information: link

TOTEMTOKEN.setBNBRewardsFee(uint256) (#1023-1026) should emit an event for:
- BNBRewardsFee = value (#1024)
- totalFees = BNBRewardsFee.add(liquidityFee).add(marketingFee) (#1025)
TOTEMTOKEN.setLiquiditFee(uint256) (#1028-1031) should emit an event for:
- liquidityFee = value (#1029)
- totalFees = BNBRewardsFee.add(liquidityFee).add(marketingFee) (#1030)
TOTEMTOKEN.setMarketingFee(uint256) (#1033-1037) should emit an event for:
- marketingFee = value (#1034)
- totalFees = BNBRewardsFee.add(liquidityFee).add(marketingFee) (#1035)
TOTEMTOKEN.setmaxTransactionPercentage(uint256) (#1098-1100) should emit an event for:
- maxTxAmount = _totalSupply.mul(_percentage).div(1000) (#1099)
TOTEMTOKEN.setmaxTokensPerAddressPercentage(uint256) (#1102-1104) should emit an event for:
- maxTokensPerAddress = _totalSupply.mul(_percentage).div(1000) (#1103)
TOTEMTOKEN.setTransactionCooldownTime(uint256) (#1140-1142) should emit an event for:
- transactionLockTime = transactiontime (#1141)
Emit an event for critical parameter changes.

Additional information: link

TOTEMTOKEN.updateUniswapV2Router(address)._uniswapV2Pair (#999-1000) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (#1001)
TOTEMTOKEN.setMarketingWallet(address).wallet (#1019) lacks a zero-check on :
- _marketingWalletAddress = wallet (#1020)
Check that the address is not zero.

Additional information: link

Variable 'TOTEMTOKEN._transfer(address,address,uint256).iterations (#1294)' in TOTEMTOKEN._transfer(address,address,uint256) (#1214-1301) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1295)
Variable 'TOTEMTOKEN._transfer(address,address,uint256).lastProcessedIndex (#1294)' in TOTEMTOKEN._transfer(address,address,uint256) (#1214-1301) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1295)
Variable 'TOTEMTOKEN._transfer(address,address,uint256).claims (#1294)' in TOTEMTOKEN._transfer(address,address,uint256) (#1214-1301) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1295)
Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.

Additional information: link

Reentrancy in TOTEMTOKEN.updateDividendTracker(address) (#978-993):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#985)
- newDividendTracker.excludeFromDividends(address(this)) (#986)
- newDividendTracker.excludeFromDividends(owner()) (#987)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#988)
State variables written after the call(s):
- dividendTracker = newDividendTracker (#992)
Apply the check-effects-interactions pattern.

Additional information: link

TOTEMTOKEN._transfer(address,address,uint256).iterations (#1294) is a local variable never initialized
TOTEMTOKEN._transfer(address,address,uint256).lastProcessedIndex (#1294) is a local variable never initialized
TOTEMTOKEN._transfer(address,address,uint256).claims (#1294) is a local variable never initialized
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.

Additional information: link

Reentrancy in TOTEMTOKEN._transfer(address,address,uint256) (#1214-1301):
External calls:
- swapAndSendToFee(marketingTokens) (#1251)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1347-1353)
- swapAndLiquify(swapTokens) (#1254)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1364-1371)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1347-1353)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (#1251)
- address(_marketingWalletAddress).transfer(newBalance) (#1309)
- swapAndLiquify(swapTokens) (#1254)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1364-1371)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (#1254)
- _allowances[owner][spender] = amount (#473)
Reentrancy in TOTEMTOKEN._transfer(address,address,uint256) (#1214-1301):
External calls:
- swapAndSendToFee(marketingTokens) (#1251)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1347-1353)
- swapAndLiquify(swapTokens) (#1254)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1364-1371)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1347-1353)
- swapAndSendDividends(sellTokens) (#1257)
- (success) = address(dividendTracker).call{value: dividends}() (#1379)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1347-1353)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (#1251)
- address(_marketingWalletAddress).transfer(newBalance) (#1309)
- swapAndLiquify(swapTokens) (#1254)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1364-1371)
- swapAndSendDividends(sellTokens) (#1257)
- (success) = address(dividendTracker).call{value: dividends}() (#1379)
State variables written after the call(s):
- setFeeOnSell() (#1273)
- BNBRewardsFee = _sellFees._reflectFee (#1164)
- setFeeOnBuy() (#1276)
- BNBRewardsFee = _buyFees._reflectFee (#1157)
- swapAndSendDividends(sellTokens) (#1257)
- _allowances[owner][spender] = amount (#473)
Reentrancy in TOTEMTOKEN.constructor() (#910-972):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#917-918)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#921)
- uniswapV2Router = _uniswapV2Router (#920)
Reentrancy in TOTEMTOKEN.constructor() (#910-972):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#917-918)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#923)
- dividendTracker.excludeFromDividends(pair) (#1056)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#926)
- dividendTracker.excludeFromDividends(address(this)) (#927)
- dividendTracker.excludeFromDividends(owner()) (#928)
- dividendTracker.excludeFromDividends(deadWallet) (#929)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#930)
State variables written after the call(s):
- _mint(owner(),10000000000 * (10 ** 18)) (#971)
- _balances[account] = _balances[account].add(amount) (#427)
- _buyFees._reflectFee = 4 (#954)
- _buyFees._marketFee = 6 (#955)
- _buyFees._liquidFee = 4 (#956)
- excludeFromFees(owner(),true) (#963)
- _isExcludedFromFees[account] = excluded (#1006)
- excludeFromFees(_marketingWalletAddress,true) (#964)
- _isExcludedFromFees[account] = excluded (#1006)
- excludeFromFees(address(this),true) (#965)
- _isExcludedFromFees[account] = excluded (#1006)
- _sellFees._reflectFee = 4 (#958)
- _sellFees._marketFee = 6 (#959)
- _sellFees._liquidFee = 4 (#960)
- _mint(owner(),10000000000 * (10 ** 18)) (#971)
- _totalSupply = _totalSupply.add(amount) (#426)
- isExcludedFromAntiWhale[_uniswapV2Pair] = true (#932)
- isExcludedFromAntiWhale[owner()] = true (#933)
- isExcludedFromAntiWhale[deadWallet] = true (#934)
- isExcludedFromAntiWhale[address(this)] = true (#935)
- isExcludedFromAntiWhale[_marketingWalletAddress] = true (#936)
- isExcludedFromAntiWhale[address(_uniswapV2Router)] = true (#937)
- isExcludedFromTransactionlock[_uniswapV2Pair] = true (#939)
- isExcludedFromTransactionlock[owner()] = true (#940)
- isExcludedFromTransactionlock[address(this)] = true (#941)
- isExcludedFromTransactionlock[_marketingWalletAddress] = true (#942)
- isExcludedFromTransactionlock[address(_uniswapV2Router)] = true (#943)
- isExcludedFromTransactionlock[_marketingWalletAddress] = true (#944)
- isPremium[_uniswapV2Pair].premium = true (#949)
- isPremium[owner()].premium = true (#950)
- isPremium[address(this)].premium = true (#951)
- setIsPremium(owner(),true,0) (#952)
- isPremium[account].premium = premium (#1120)
- isPremium[account].balance = balance (#1121)
- isTxLimitExempt[owner()] = true (#946)
- isTxLimitExempt[address(this)] = true (#947)
- setIsPremium(owner(),true,0) (#952)
- listPremium.push(account) (#1124)
Reentrancy in TOTEMDividendTracker.processAccount(address,bool) (#1758-1768):
External calls:
- amount = _withdrawDividendOfUser(account) (#1759)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1468)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#1762)
Reentrancy in TOTEMTOKEN.swapAndLiquify(uint256) (#1312-1333):
External calls:
- swapTokensForEth(half) (#1324)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1347-1353)
- addLiquidity(otherHalf,newBalance) (#1330)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1364-1371)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1330)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1364-1371)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1330)
- _allowances[owner][spender] = amount (#473)
Reentrancy in TOTEMTOKEN.updateUniswapV2Router(address) (#995-1002):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#999-1000)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#1001)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in TOTEMTOKEN._setAutomatedMarketMakerPair(address,bool) (#1051-1060):
External calls:
- dividendTracker.excludeFromDividends(pair) (#1056)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1059)
Reentrancy in TOTEMTOKEN._transfer(address,address,uint256) (#1214-1301):
External calls:
- swapAndSendToFee(marketingTokens) (#1251)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1347-1353)
- swapAndLiquify(swapTokens) (#1254)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1364-1371)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1347-1353)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (#1251)
- address(_marketingWalletAddress).transfer(newBalance) (#1309)
- swapAndLiquify(swapTokens) (#1254)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1364-1371)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#474)
- swapAndLiquify(swapTokens) (#1254)
- SwapAndLiquify(half,newBalance,otherHalf) (#1332)
- swapAndLiquify(swapTokens) (#1254)
Reentrancy in TOTEMTOKEN._transfer(address,address,uint256) (#1214-1301):
External calls:
- swapAndSendToFee(marketingTokens) (#1251)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1347-1353)
- swapAndLiquify(swapTokens) (#1254)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1364-1371)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1347-1353)
- swapAndSendDividends(sellTokens) (#1257)
- (success) = address(dividendTracker).call{value: dividends}() (#1379)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1347-1353)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (#1251)
- address(_marketingWalletAddress).transfer(newBalance) (#1309)
- swapAndLiquify(swapTokens) (#1254)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1364-1371)
- swapAndSendDividends(sellTokens) (#1257)
- (success) = address(dividendTracker).call{value: dividends}() (#1379)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#474)
- swapAndSendDividends(sellTokens) (#1257)
- SendDividends(tokens,dividends) (#1382)
- swapAndSendDividends(sellTokens) (#1257)
- Transfer(sender,recipient,amount) (#409)
- super._transfer(from,to,amount) (#1286)
- Transfer(sender,recipient,amount) (#409)
- super._transfer(from,address(this),fees) (#1283)
Reentrancy in TOTEMTOKEN._transfer(address,address,uint256) (#1214-1301):
External calls:
- swapAndSendToFee(marketingTokens) (#1251)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1347-1353)
- swapAndLiquify(swapTokens) (#1254)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1364-1371)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1347-1353)
- swapAndSendDividends(sellTokens) (#1257)
- (success) = address(dividendTracker).call{value: dividends}() (#1379)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1347-1353)
- dividendTracker.setBalance(address(from),balanceOf(from)) (#1288)
- dividendTracker.setBalance(address(to),balanceOf(to)) (#1289)
- dividendTracker.process(gas) (#1294-1299)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (#1251)
- address(_marketingWalletAddress).transfer(newBalance) (#1309)
- swapAndLiquify(swapTokens) (#1254)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1364-1371)
- swapAndSendDividends(sellTokens) (#1257)
- (success) = address(dividendTracker).call{value: dividends}() (#1379)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1295)
Reentrancy in TOTEMTOKEN.constructor() (#910-972):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#917-918)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#923)
- dividendTracker.excludeFromDividends(pair) (#1056)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1059)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#923)
Reentrancy in TOTEMTOKEN.constructor() (#910-972):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#917-918)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#923)
- dividendTracker.excludeFromDividends(pair) (#1056)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#926)
- dividendTracker.excludeFromDividends(address(this)) (#927)
- dividendTracker.excludeFromDividends(owner()) (#928)
- dividendTracker.excludeFromDividends(deadWallet) (#929)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#930)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#1008)
- excludeFromFees(address(this),true) (#965)
- ExcludeFromFees(account,excluded) (#1008)
- excludeFromFees(_marketingWalletAddress,true) (#964)
- ExcludeFromFees(account,excluded) (#1008)
- excludeFromFees(owner(),true) (#963)
- Transfer(address(0),account,amount) (#428)
- _mint(owner(),10000000000 * (10 ** 18)) (#971)
Reentrancy in TOTEMDividendTracker.processAccount(address,bool) (#1758-1768):
External calls:
- amount = _withdrawDividendOfUser(account) (#1759)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1468)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#1763)
Reentrancy in TOTEMTOKEN.processDividendTracker(uint256) (#1196-1199):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (#1197)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (#1198)
Reentrancy in TOTEMTOKEN.swapAndLiquify(uint256) (#1312-1333):
External calls:
- swapTokensForEth(half) (#1324)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1347-1353)
- addLiquidity(otherHalf,newBalance) (#1330)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1364-1371)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1330)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1364-1371)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#474)
- addLiquidity(otherHalf,newBalance) (#1330)
- SwapAndLiquify(half,newBalance,otherHalf) (#1332)
Reentrancy in TOTEMTOKEN.swapAndSendDividends(uint256) (#1375-1384):
External calls:
- swapTokensForEth(tokens) (#1377)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1347-1353)
- (success) = address(dividendTracker).call{value: dividends}() (#1379)
External calls sending eth:
- (success) = address(dividendTracker).call{value: dividends}() (#1379)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (#1382)
Reentrancy in TOTEMTOKEN.updateDividendTracker(address) (#978-993):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#985)
- newDividendTracker.excludeFromDividends(address(this)) (#986)
- newDividendTracker.excludeFromDividends(owner()) (#987)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#988)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (#990)
Apply the check-effects-interactions pattern.

Additional information: link

TOTEMTOKEN._transfer(address,address,uint256) (#1214-1301) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(isExcludedFromTransactionlock[from] || block.timestamp >= _transactionCheckpoint[from] + transactionLockTime,Wait for transaction cooldown time to end before making a tansaction) (#1225-1226)
- require(bool,string)(isExcludedFromTransactionlock[to] || block.timestamp >= _transactionCheckpoint[to] + transactionLockTime,Wait for transaction cooldown time to end before making a tansaction) (#1227-1228)
TOTEMDividendTracker.getAccount(address) (#1622-1665) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (#1662-1664)
TOTEMDividendTracker.canAutoClaim(uint256) (#1686-1692) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1687)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1691)
Avoid relying on block.timestamp.

Additional information: link

TOTEMTOKEN.setIsPremium(address,bool,uint256) (#1118-1125) compares to a boolean constant:
-require(bool,string)(isPremium[account].premium != false,User must be premium before setting parameters) (#1119)
Remove the equality to the boolean constant.

Additional information: link

Context._msgData() (#122-125) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (#1519-1525) is never used and should be removed
SafeMath.mod(uint256,uint256) (#1892-1894) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#1908-1911) is never used and should be removed
SafeMathInt.abs(int256) (#1991-1994) is never used and should be removed
SafeMathInt.div(int256,int256) (#1962-1968) is never used and should be removed
SafeMathInt.mul(int256,int256) (#1950-1957) is never used and should be removed
Remove unused functions.

Additional information: link

TOTEMTOKEN.totalFees (#853) is set pre-construction with a non-constant function or state variable:
- BNBRewardsFee.add(liquidityFee).add(marketingFee)
TOTEMTOKEN.maxTxAmount (#856) is set pre-construction with a non-constant function or state variable:
- _totalSupply.mul(6).div(1000)
TOTEMTOKEN.maxTokensPerAddress (#857) is set pre-construction with a non-constant function or state variable:
- _totalSupply.mul(6).div(100)
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.

Additional information: link

Pragma version^0.6.2 (#3) allows old versions
solc-0.6.2 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 TOTEMTOKEN.swapAndSendDividends(uint256) (#1375-1384):
- (success) = address(dividendTracker).call{value: dividends}() (#1379)
Low level call in DividendPayingToken._withdrawDividendOfUser(address) (#1463-1479):
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1468)
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() (#590) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#591) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#608) is not in mixedCase
Function IUniswapV2Router01.WETH() (#628) is not in mixedCase
Parameter TOTEMTOKEN.setmaxTransactionPercentage(uint256)._percentage (#1098) is not in mixedCase
Parameter TOTEMTOKEN.setmaxTokensPerAddressPercentage(uint256)._percentage (#1102) is not in mixedCase
Variable TOTEMTOKEN._buyFees (#835) is not in mixedCase
Variable TOTEMTOKEN._sellFees (#836) is not in mixedCase
Variable TOTEMTOKEN._isBlacklisted (#844) is not in mixedCase
Variable TOTEMTOKEN.BNBRewardsFee (#850) is not in mixedCase
Variable TOTEMTOKEN._marketingWalletAddress (#859) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (#1485) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#1492) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#1499) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#1509) is not in mixedCase
Constant DividendPayingToken.magnitude (#1400) is not in UPPER_CASE_WITH_UNDERSCORES
Parameter TOTEMDividendTracker.getAccount(address)._account (#1622) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#123)" inContext (#117-126)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Reentrancy in TOTEMTOKEN._transfer(address,address,uint256) (#1214-1301):
External calls:
- swapAndSendToFee(marketingTokens) (#1251)
- address(_marketingWalletAddress).transfer(newBalance) (#1309)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (#1251)
- address(_marketingWalletAddress).transfer(newBalance) (#1309)
- swapAndLiquify(swapTokens) (#1254)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1364-1371)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (#1254)
- _allowances[owner][spender] = amount (#473)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#474)
- swapAndLiquify(swapTokens) (#1254)
- SwapAndLiquify(half,newBalance,otherHalf) (#1332)
- swapAndLiquify(swapTokens) (#1254)
Reentrancy in TOTEMTOKEN._transfer(address,address,uint256) (#1214-1301):
External calls:
- swapAndSendToFee(marketingTokens) (#1251)
- address(_marketingWalletAddress).transfer(newBalance) (#1309)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (#1251)
- address(_marketingWalletAddress).transfer(newBalance) (#1309)
- swapAndLiquify(swapTokens) (#1254)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1364-1371)
- swapAndSendDividends(sellTokens) (#1257)
- (success) = address(dividendTracker).call{value: dividends}() (#1379)
State variables written after the call(s):
- setFeeOnSell() (#1273)
- BNBRewardsFee = _sellFees._reflectFee (#1164)
- setFeeOnBuy() (#1276)
- BNBRewardsFee = _buyFees._reflectFee (#1157)
- swapAndSendDividends(sellTokens) (#1257)
- _allowances[owner][spender] = amount (#473)
- super._transfer(from,address(this),fees) (#1283)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#407)
- _balances[recipient] = _balances[recipient].add(amount) (#408)
- super._transfer(from,to,amount) (#1286)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#407)
- _balances[recipient] = _balances[recipient].add(amount) (#408)
- setFeeOnSell() (#1273)
- liquidityFee = _sellFees._liquidFee (#1166)
- setFeeOnBuy() (#1276)
- liquidityFee = _buyFees._liquidFee (#1159)
- setFeeOnSell() (#1273)
- marketingFee = _sellFees._marketFee (#1165)
- setFeeOnBuy() (#1276)
- marketingFee = _buyFees._marketFee (#1158)
- swapping = false (#1259)
- setFeeOnSell() (#1273)
- totalFees = BNBRewardsFee.add(liquidityFee).add(marketingFee) (#1167)
- setFeeOnBuy() (#1276)
- totalFees = BNBRewardsFee.add(liquidityFee).add(marketingFee) (#1160)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#474)
- swapAndSendDividends(sellTokens) (#1257)
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1295)
- SendDividends(tokens,dividends) (#1382)
- swapAndSendDividends(sellTokens) (#1257)
- Transfer(sender,recipient,amount) (#409)
- super._transfer(from,to,amount) (#1286)
- Transfer(sender,recipient,amount) (#409)
- super._transfer(from,address(this),fees) (#1283)
Apply the check-effects-interactions pattern.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#633) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#634)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#1464) is too similar to TOTEMDividendTracker.getAccount(address).withdrawableDividends (#1627)
Prevent variables from having similar names.

Additional information: link

TOTEMTOKEN.constructor() (#910-972) uses literals with too many digits:
- _mint(owner(),10000000000 * (10 ** 18)) (#971)
TOTEMTOKEN.updateGasForProcessing(uint256) (#1063-1068) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,TOTEM: gasForProcessing must be between 200,000 and 500,000) (#1064)
TOTEMTOKEN.slitherConstructorVariables() (#814-1385) uses literals with too many digits:
- _totalSupply = 10000000000 * (10 ** 18) (#855)
TOTEMTOKEN.slitherConstructorVariables() (#814-1385) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (#840)
TOTEMTOKEN.slitherConstructorVariables() (#814-1385) uses literals with too many digits:
- swapTokensAtAmount = 2000000 * (10 ** 18) (#842)
TOTEMTOKEN.slitherConstructorVariables() (#814-1385) uses literals with too many digits:
- gasForProcessing = 300000 (#863)
TOTEMDividendTracker.getAccountAtIndex(uint256) (#1667-1684) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#1678)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

SafeMathInt.MAX_INT256 (#1945) is never used in SafeMathInt (#1943-2001)
Remove unused state variables.

Additional information: link

TOTEMTOKEN._totalSupply (#855) should be constant
TOTEMTOKEN.deadWallet (#840) should be constant
TOTEMTOKEN.swapTokensAtAmount (#842) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

name() should be declared external:
- ERC20.name() (#249-251)
symbol() should be declared external:
- ERC20.symbol() (#257-259)
decimals() should be declared external:
- ERC20.decimals() (#274-276)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#300-303)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#308-310)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#319-322)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#337-345)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#359-362)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#378-381)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (#507-509)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (#511-516)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (#518-520)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (#524-526)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#798-801)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#807-811)
updateDividendTracker(address) should be declared external:
- TOTEMTOKEN.updateDividendTracker(address) (#978-993)
updateUniswapV2Router(address) should be declared external:
- TOTEMTOKEN.updateUniswapV2Router(address) (#995-1002)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- TOTEMTOKEN.excludeMultipleAccountsFromFees(address[],bool) (#1011-1017)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- TOTEMTOKEN.setAutomatedMarketMakerPair(address,bool) (#1040-1044)
updateGasForProcessing(uint256) should be declared external:
- TOTEMTOKEN.updateGasForProcessing(uint256) (#1063-1068)
isExcludedFromFees(address) should be declared external:
- TOTEMTOKEN.isExcludedFromFees(address) (#1082-1084)
withdrawableDividendOf(address) should be declared external:
- TOTEMTOKEN.withdrawableDividendOf(address) (#1086-1088)
dividendTokenBalanceOf(address) should be declared external:
- TOTEMTOKEN.dividendTokenBalanceOf(address) (#1090-1092)
setIsExcludedFromAntiWhale(address,bool) should be declared external:
- TOTEMTOKEN.setIsExcludedFromAntiWhale(address,bool) (#1110-1112)
setIsExcludedFromTransactionCooldown(address,bool) should be declared external:
- TOTEMTOKEN.setIsExcludedFromTransactionCooldown(address,bool) (#1114-1116)
deletePremiumListByAddress(address) should be declared external:
- TOTEMTOKEN.deletePremiumListByAddress(address) (#1127-1134)
getPremiumList() should be declared external:
- TOTEMTOKEN.getPremiumList() (#1136-1138)
setTransactionCooldownTime(uint256) should be declared external:
- TOTEMTOKEN.setTransactionCooldownTime(uint256) (#1140-1142)
setBuyFees(uint256,uint256,uint256) should be declared external:
- TOTEMTOKEN.setBuyFees(uint256,uint256,uint256) (#1144-1148)
setSellFees(uint256,uint256,uint256) should be declared external:
- TOTEMTOKEN.setSellFees(uint256,uint256,uint256) (#1150-1154)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (#1457-1459)
- TOTEMDividendTracker.withdrawDividend() (#1591-1593)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (#1485-1487)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (#1499-1501)
getAccountAtIndex(uint256) should be declared external:
- TOTEMDividendTracker.getAccountAtIndex(uint256) (#1667-1684)
process(uint256) should be declared external:
- TOTEMDividendTracker.process(uint256) (#1711-1756)
Use the external attribute for functions never called from the contract.

Additional information: link

DividendPayingToken._withdrawDividendOfUser(address) (#1463-1479) has external calls inside a loop: (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1468)
Favor pull over push strategy for external calls.

Additional information: link

TOTEMTOKEN.deletePremiumListByAddress(address) (#1127-1134) has costly operations inside a loop:
- delete listPremium[i] (#1130)
Use a local variable to hold the loop computation result.

Additional information: link

Holders:

Contract has 14% buy tax and 14% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.


Average 30d number of PancakeSwap swaps is low.


Token is deployed only at one blockchain


Token has only one trading pair


Last post in Twitter was more than 30 days ago


Unable to find Youtube account


Unable to find Discord account


Unable to find token contract audit


Unable to find audit link on the website


Unable to find Telegram link on the website


Unable to find Twitter link on the website


Unable to find token on CoinHunt

Additional information: link


Unable to find code repository for the project


Alexa traffic rank is very low

Additional information: link


Young tokens have high risks of price dump / death


Young tokens have high risks of scam / price dump / death


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

Price for TOTEM

News for TOTEM