Centcex Token Logo

CENX [Centcex] Token

About CENX

Listings

Token 2 years
CoinGecko 2 years
CoinMarketCap 2 years
white paper

Centcex is that trusted gateway for blockchain and the emerging decentralized economy, by providing a safer, faster and smarter cryptocurrency experience for all users to enter and thrive in this new decentralized economy.
Guided by an integrated and dynamic thinking, our blockchain platform allows users to have access to countless products and services that are indispensable on a daily basis, including exchange, staking, and payment channels and more.

Social

Laser Scorebeta Last Audit: 27 February 2023

report
Token seems to be (relatively) fine. It still become a scam, but probability is moderate.

CENX.swapAndSendToMarketing(uint256) (centcex.sol#417-425) sends eth to arbitrary user
Dangerous calls:
- _marketingWallet.transfer(newBalance) (centcex.sol#424)
CENX.swapETHForTokens(uint256) (centcex.sol#454-469) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (centcex.sol#461-466)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in CENX._transfer(address,address,uint256) (centcex.sol#330-415):
External calls:
- buyBackTokens(balance.div(100)) (centcex.sol#363)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (centcex.sol#461-466)
- swapAndSendToMarketing(swapTokens) (centcex.sol#372)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (centcex.sol#438-444)
- swapBuyBackTokens(buyBackTokens) (centcex.sol#377)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (centcex.sol#438-444)
External calls sending eth:
- buyBackTokens(balance.div(100)) (centcex.sol#363)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (centcex.sol#461-466)
- swapAndSendToMarketing(swapTokens) (centcex.sol#372)
- _marketingWallet.transfer(newBalance) (centcex.sol#424)
State variables written after the call(s):
- swapBuyBackTokens(buyBackTokens) (centcex.sol#377)
- swapping = true (centcex.sol#92)
- swapping = false (centcex.sol#94)
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#86-102):
External calls:
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#91)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (DividendPayingToken.sol#94)
Reentrancy in CENX._transfer(address,address,uint256) (centcex.sol#330-415):
External calls:
- buyBackTokens(balance.div(100)) (centcex.sol#363)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (centcex.sol#461-466)
- swapAndSendToMarketing(swapTokens) (centcex.sol#372)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (centcex.sol#438-444)
- swapBuyBackTokens(buyBackTokens) (centcex.sol#377)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (centcex.sol#438-444)
- swapAndSendDividends(sellTokens) (centcex.sol#380)
- (success) = address(dividendTracker).call{value: dividends}() (centcex.sol#487)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (centcex.sol#438-444)
External calls sending eth:
- buyBackTokens(balance.div(100)) (centcex.sol#363)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (centcex.sol#461-466)
- swapAndSendToMarketing(swapTokens) (centcex.sol#372)
- _marketingWallet.transfer(newBalance) (centcex.sol#424)
- swapAndSendDividends(sellTokens) (centcex.sol#380)
- (success) = address(dividendTracker).call{value: dividends}() (centcex.sol#487)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (centcex.sol#397)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
- super._transfer(from,to,amount) (centcex.sol#400)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
- swapAndSendDividends(sellTokens) (centcex.sol#380)
- swapping = true (centcex.sol#92)
- swapping = false (centcex.sol#94)
Reentrancy in CENX._transfer(address,address,uint256) (centcex.sol#330-415):
External calls:
- buyBackTokens(balance.div(100)) (centcex.sol#363)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (centcex.sol#461-466)
- swapAndSendToMarketing(swapTokens) (centcex.sol#372)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (centcex.sol#438-444)
External calls sending eth:
- buyBackTokens(balance.div(100)) (centcex.sol#363)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (centcex.sol#461-466)
- swapAndSendToMarketing(swapTokens) (centcex.sol#372)
- _marketingWallet.transfer(newBalance) (centcex.sol#424)
State variables written after the call(s):
- swapAndSendToMarketing(swapTokens) (centcex.sol#372)
- swapping = true (centcex.sol#92)
- swapping = false (centcex.sol#94)
Apply the check-effects-interactions pattern.

Additional information: link


Contract ownership is not renounced (belongs to a wallet)


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.

CENX._transfer(address,address,uint256).contractTokenBalance (centcex.sol#354) is written in both
contractTokenBalance = swapTokensAtAmount (centcex.sol#369)
contractTokenBalance = balanceOf(address(this)) (centcex.sol#374)
Fix or remove the writes.

Additional information: link


Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains

SafeMathInt.MAX_INT256 (SafeMathInt.sol#36) is never used in SafeMathInt (SafeMathInt.sol#34-92)
Remove unused state variables.

Additional information: link

CENX.addToBlackList(address[]).i (centcex.sol#312) is a local variable never initialized
CENX._transfer(address,address,uint256).lastProcessedIndex (centcex.sol#408) is a local variable never initialized
CENX._transfer(address,address,uint256).iterations (centcex.sol#408) is a local variable never initialized
CENX._transfer(address,address,uint256).claims (centcex.sol#408) 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

CENX.setMarketingWallet(address).newWallet (centcex.sol#307) lacks a zero-check on :
- _marketingWallet = address(newWallet) (centcex.sol#308)
Check that the address is not zero.

Additional information: link

CENX.setBuybackUpperLimit(uint256) (centcex.sol#479-481) should emit an event for:
- buyBackUpperLimit = buyBackLimit * 10 ** 15 (centcex.sol#480)
CENX.setBuyBackFee(uint256) (centcex.sol#326-328) should emit an event for:
- buyBackFee = value (centcex.sol#327)
CENX.setMarketingFee(uint256) (centcex.sol#303-305) should emit an event for:
- marketingFee = value (centcex.sol#304)
CENX.setSwapTokensAmt(uint256) (centcex.sol#295-297) should emit an event for:
- swapTokensAtAmount = amt (centcex.sol#296)
CENX.setMaxSellTxAMount(uint256) (centcex.sol#291-293) should emit an event for:
- maxSellTransactionAmount = amount (centcex.sol#292)
Emit an event for critical parameter changes.

Additional information: link

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

Additional information: link

CENX.slitherConstructorVariables() (centcex.sol#14-493) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (centcex.sol#19)
CENX.slitherConstructorVariables() (centcex.sol#14-493) uses literals with too many digits:
- maxSellTransactionAmount = 1000000000000000 * (10 ** 9) (centcex.sol#30)
CENX.constructor() (centcex.sol#97-138) uses literals with too many digits:
- _mint(owner(),10000000000 * (10 ** 9)) (centcex.sol#137)
CENX.updateGasForProcessing(uint256) (centcex.sol#212-217) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,CENX: gasForProcessing must be between 200,000 and 500,000) (centcex.sol#213)
CENXDividendTracker.getAccountAtIndex(uint256) (centcex.sol#600-617) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (centcex.sol#611)
CENX.slitherConstructorVariables() (centcex.sol#14-493) uses literals with too many digits:
- gasForProcessing = 300000 (centcex.sol#45)
CENX.slitherConstructorVariables() (centcex.sol#14-493) uses literals with too many digits:
- swapTokensAtAmount = 100000000000 * (10 ** 9) (centcex.sol#31)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

Reentrancy in CENX.updateDividendTracker(address) (centcex.sol#148-163):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (centcex.sol#155)
- newDividendTracker.excludeFromDividends(address(this)) (centcex.sol#156)
- newDividendTracker.excludeFromDividends(owner()) (centcex.sol#157)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (centcex.sol#158)
State variables written after the call(s):
- dividendTracker = newDividendTracker (centcex.sol#162)
Apply the check-effects-interactions pattern.

Additional information: link

CENX.claim() (centcex.sol#279-281) ignores return value by dividendTracker.processAccount(msg.sender,false) (centcex.sol#280)
CENX._transfer(address,address,uint256) (centcex.sol#330-415) ignores return value by dividendTracker.process(gas) (centcex.sol#408-413)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendPayingToken.constructor(string,string)._name (DividendPayingToken.sol#43) shadows:
- ERC20._name (ERC20.sol#43) (state variable)
CENX._transfer(address,address,uint256).buyBackTokens (centcex.sol#376) shadows:
- CENX.buyBackTokens(uint256) (centcex.sol#448-452) (function)
DividendPayingToken.constructor(string,string)._symbol (DividendPayingToken.sol#43) shadows:
- ERC20._symbol (ERC20.sol#44) (state variable)
Rename the local variables that shadow another component.

Additional information: link

Variable 'CENX._transfer(address,address,uint256).lastProcessedIndex (centcex.sol#408)' in CENX._transfer(address,address,uint256) (centcex.sol#330-415) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (centcex.sol#409)
Variable 'CENX._transfer(address,address,uint256).iterations (centcex.sol#408)' in CENX._transfer(address,address,uint256) (centcex.sol#330-415) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (centcex.sol#409)
Variable 'CENX._transfer(address,address,uint256).claims (centcex.sol#408)' in CENX._transfer(address,address,uint256) (centcex.sol#330-415) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (centcex.sol#409)
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 CENX._transfer(address,address,uint256) (centcex.sol#330-415):
External calls:
- buyBackTokens(balance.div(100)) (centcex.sol#363)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (centcex.sol#461-466)
- swapAndSendToMarketing(swapTokens) (centcex.sol#372)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (centcex.sol#438-444)
- swapBuyBackTokens(buyBackTokens) (centcex.sol#377)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (centcex.sol#438-444)
External calls sending eth:
- buyBackTokens(balance.div(100)) (centcex.sol#363)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (centcex.sol#461-466)
- swapAndSendToMarketing(swapTokens) (centcex.sol#372)
- _marketingWallet.transfer(newBalance) (centcex.sol#424)
State variables written after the call(s):
- swapBuyBackTokens(buyBackTokens) (centcex.sol#377)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in CENX._transfer(address,address,uint256) (centcex.sol#330-415):
External calls:
- buyBackTokens(balance.div(100)) (centcex.sol#363)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (centcex.sol#461-466)
- swapAndSendToMarketing(swapTokens) (centcex.sol#372)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (centcex.sol#438-444)
- swapBuyBackTokens(buyBackTokens) (centcex.sol#377)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (centcex.sol#438-444)
- swapAndSendDividends(sellTokens) (centcex.sol#380)
- (success) = address(dividendTracker).call{value: dividends}() (centcex.sol#487)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (centcex.sol#438-444)
External calls sending eth:
- buyBackTokens(balance.div(100)) (centcex.sol#363)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (centcex.sol#461-466)
- swapAndSendToMarketing(swapTokens) (centcex.sol#372)
- _marketingWallet.transfer(newBalance) (centcex.sol#424)
- swapAndSendDividends(sellTokens) (centcex.sol#380)
- (success) = address(dividendTracker).call{value: dividends}() (centcex.sol#487)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (centcex.sol#380)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in CENX._transfer(address,address,uint256) (centcex.sol#330-415):
External calls:
- buyBackTokens(balance.div(100)) (centcex.sol#363)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (centcex.sol#461-466)
- swapAndSendToMarketing(swapTokens) (centcex.sol#372)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (centcex.sol#438-444)
External calls sending eth:
- buyBackTokens(balance.div(100)) (centcex.sol#363)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (centcex.sol#461-466)
- swapAndSendToMarketing(swapTokens) (centcex.sol#372)
- _marketingWallet.transfer(newBalance) (centcex.sol#424)
State variables written after the call(s):
- swapAndSendToMarketing(swapTokens) (centcex.sol#372)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in CENXDividendTracker.processAccount(address,bool) (centcex.sol#691-701):
External calls:
- amount = _withdrawDividendOfUser(account) (centcex.sol#692)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#91)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (centcex.sol#695)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in CENX.swapAndSendDividends(uint256) (centcex.sol#483-492):
External calls:
- swapTokensForEth(tokens) (centcex.sol#485)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (centcex.sol#438-444)
- (success) = address(dividendTracker).call{value: dividends}() (centcex.sol#487)
External calls sending eth:
- (success) = address(dividendTracker).call{value: dividends}() (centcex.sol#487)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (centcex.sol#490)
Reentrancy in CENX.processDividendTracker(uint256) (centcex.sol#274-277):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (centcex.sol#275)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (centcex.sol#276)
Reentrancy in CENX.swapETHForTokens(uint256) (centcex.sol#454-469):
External calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (centcex.sol#461-466)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (centcex.sol#468)
Reentrancy in CENXDividendTracker.processAccount(address,bool) (centcex.sol#691-701):
External calls:
- amount = _withdrawDividendOfUser(account) (centcex.sol#692)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#91)
Event emitted after the call(s):
- Claim(account,amount,automatic) (centcex.sol#696)
Reentrancy in CENX._transfer(address,address,uint256) (centcex.sol#330-415):
External calls:
- buyBackTokens(balance.div(100)) (centcex.sol#363)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (centcex.sol#461-466)
- swapAndSendToMarketing(swapTokens) (centcex.sol#372)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (centcex.sol#438-444)
- swapBuyBackTokens(buyBackTokens) (centcex.sol#377)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (centcex.sol#438-444)
- swapAndSendDividends(sellTokens) (centcex.sol#380)
- (success) = address(dividendTracker).call{value: dividends}() (centcex.sol#487)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (centcex.sol#438-444)
- dividendTracker.setBalance(address(from),balanceOf(from)) (centcex.sol#402)
- dividendTracker.setBalance(address(to),balanceOf(to)) (centcex.sol#403)
- dividendTracker.process(gas) (centcex.sol#408-413)
External calls sending eth:
- buyBackTokens(balance.div(100)) (centcex.sol#363)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (centcex.sol#461-466)
- swapAndSendToMarketing(swapTokens) (centcex.sol#372)
- _marketingWallet.transfer(newBalance) (centcex.sol#424)
- swapAndSendDividends(sellTokens) (centcex.sol#380)
- (success) = address(dividendTracker).call{value: dividends}() (centcex.sol#487)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (centcex.sol#409)
Reentrancy in CENX.updateDividendTracker(address) (centcex.sol#148-163):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (centcex.sol#155)
- newDividendTracker.excludeFromDividends(address(this)) (centcex.sol#156)
- newDividendTracker.excludeFromDividends(owner()) (centcex.sol#157)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (centcex.sol#158)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (centcex.sol#160)
Reentrancy in CENX._transfer(address,address,uint256) (centcex.sol#330-415):
External calls:
- buyBackTokens(balance.div(100)) (centcex.sol#363)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (centcex.sol#461-466)
- swapAndSendToMarketing(swapTokens) (centcex.sol#372)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (centcex.sol#438-444)
- swapBuyBackTokens(buyBackTokens) (centcex.sol#377)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (centcex.sol#438-444)
- swapAndSendDividends(sellTokens) (centcex.sol#380)
- (success) = address(dividendTracker).call{value: dividends}() (centcex.sol#487)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (centcex.sol#438-444)
External calls sending eth:
- buyBackTokens(balance.div(100)) (centcex.sol#363)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (centcex.sol#461-466)
- swapAndSendToMarketing(swapTokens) (centcex.sol#372)
- _marketingWallet.transfer(newBalance) (centcex.sol#424)
- swapAndSendDividends(sellTokens) (centcex.sol#380)
- (success) = address(dividendTracker).call{value: dividends}() (centcex.sol#487)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndSendDividends(sellTokens) (centcex.sol#380)
- SendDividends(tokens,dividends) (centcex.sol#490)
- swapAndSendDividends(sellTokens) (centcex.sol#380)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,address(this),fees) (centcex.sol#397)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,to,amount) (centcex.sol#400)
Reentrancy in CENX._transfer(address,address,uint256) (centcex.sol#330-415):
External calls:
- buyBackTokens(balance.div(100)) (centcex.sol#363)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (centcex.sol#461-466)
- swapAndSendToMarketing(swapTokens) (centcex.sol#372)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (centcex.sol#438-444)
- swapBuyBackTokens(buyBackTokens) (centcex.sol#377)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (centcex.sol#438-444)
External calls sending eth:
- buyBackTokens(balance.div(100)) (centcex.sol#363)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (centcex.sol#461-466)
- swapAndSendToMarketing(swapTokens) (centcex.sol#372)
- _marketingWallet.transfer(newBalance) (centcex.sol#424)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapBuyBackTokens(buyBackTokens) (centcex.sol#377)
Reentrancy in CENX._transfer(address,address,uint256) (centcex.sol#330-415):
External calls:
- buyBackTokens(balance.div(100)) (centcex.sol#363)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (centcex.sol#461-466)
- swapAndSendToMarketing(swapTokens) (centcex.sol#372)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (centcex.sol#438-444)
External calls sending eth:
- buyBackTokens(balance.div(100)) (centcex.sol#363)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (centcex.sol#461-466)
- swapAndSendToMarketing(swapTokens) (centcex.sol#372)
- _marketingWallet.transfer(newBalance) (centcex.sol#424)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndSendToMarketing(swapTokens) (centcex.sol#372)
Reentrancy in CENX._setAutomatedMarketMakerPair(address,bool) (centcex.sol#193-202):
External calls:
- dividendTracker.excludeFromDividends(pair) (centcex.sol#198)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (centcex.sol#201)
Apply the check-effects-interactions pattern.

Additional information: link

CENXDividendTracker.canAutoClaim(uint256) (centcex.sol#619-625) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (centcex.sol#620)
- block.timestamp.sub(lastClaimTime) >= claimWait (centcex.sol#624)
CENXDividendTracker.getAccount(address) (centcex.sol#555-598) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (centcex.sol#595-597)
Avoid relying on block.timestamp.

Additional information: link

SafeMathInt.div(int256,int256) (SafeMathInt.sol#53-59) is never used and should be removed
SafeMathInt.abs(int256) (SafeMathInt.sol#82-85) is never used and should be removed
SafeMathInt.mul(int256,int256) (SafeMathInt.sol#41-48) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (SafeMath.sol#142-145) is never used and should be removed
Context._msgData() (Context.sol#20-23) is never used and should be removed
SafeMath.mod(uint256,uint256) (SafeMath.sol#126-128) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (DividendPayingToken.sol#142-148) is never used and should be removed
Remove unused functions.

Additional information: link

Pragma version^0.6.2 (IUniswapV2Factory.sol#3) allows old versions
Pragma version^0.6.2 (DividendPayingToken.sol#3) allows old versions
Pragma version^0.6.2 (IERC20Metadata.sol#3) allows old versions
Pragma version^0.6.2 (IUniswapV2Pair.sol#3) allows old versions
Pragma version^0.6.2 (SafeMathUint.sol#3) allows old versions
Pragma version^0.6.2 (SafeMathInt.sol#28) allows old versions
Pragma version^0.6.2 (IERC20.sol#3) allows old versions
Pragma version^0.6.2 (ERC20.sol#3) allows old versions
Pragma version^0.6.2 (Context.sol#3) allows old versions
Pragma version^0.6.2 (SafeMath.sol#3) allows old versions
Pragma version^0.6.2 (IUniswapV2Router.sol#3) allows old versions
Pragma version^0.6.2 (centcex.sol#3) allows old versions
Pragma version^0.6.2 (DividendPayingTokenInterface.sol#3) allows old versions
Pragma version^0.6.2 (IterableMapping.sol#2) allows old versions
Pragma version^0.6.2 (DividendPayingTokenOptionalInterface.sol#3) allows old versions
Pragma version^0.6.2 (Ownable.sol#1) 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 DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#86-102):
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#91)
Low level call in CENX.swapAndSendDividends(uint256) (centcex.sol#483-492):
- (success) = address(dividendTracker).call{value: dividends}() (centcex.sol#487)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Parameter CENXDividendTracker.getAccount(address)._account (centcex.sol#555) is not in mixedCase
Variable CENX.BNBRewardsFee (centcex.sol#33) is not in mixedCase
Variable CENX._marketingWallet (centcex.sol#42) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (IUniswapV2Pair.sol#21) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (IUniswapV2Pair.sol#38) is not in mixedCase
Constant DividendPayingToken.magnitude (DividendPayingToken.sol#23) is not in UPPER_CASE_WITH_UNDERSCORES
Parameter CENX.setBuyBackEnabled(bool)._enabled (centcex.sol#475) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (IUniswapV2Pair.sol#20) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#108) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#122) is not in mixedCase
Variable CENX._isBlacklisted (centcex.sol#21) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#115) is not in mixedCase
Function IUniswapV2Router01.WETH() (IUniswapV2Router.sol#7) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#132) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (Context.sol#21)" inContext (Context.sol#15-24)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Reentrancy in CENX._transfer(address,address,uint256) (centcex.sol#330-415):
External calls:
- swapAndSendToMarketing(swapTokens) (centcex.sol#372)
- _marketingWallet.transfer(newBalance) (centcex.sol#424)
External calls sending eth:
- buyBackTokens(balance.div(100)) (centcex.sol#363)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (centcex.sol#461-466)
- swapAndSendToMarketing(swapTokens) (centcex.sol#372)
- _marketingWallet.transfer(newBalance) (centcex.sol#424)
State variables written after the call(s):
- swapBuyBackTokens(buyBackTokens) (centcex.sol#377)
- _allowances[owner][spender] = amount (ERC20.sol#287)
- swapBuyBackTokens(buyBackTokens) (centcex.sol#377)
- swapping = true (centcex.sol#92)
- swapping = false (centcex.sol#94)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapBuyBackTokens(buyBackTokens) (centcex.sol#377)
Reentrancy in CENX._transfer(address,address,uint256) (centcex.sol#330-415):
External calls:
- swapAndSendToMarketing(swapTokens) (centcex.sol#372)
- _marketingWallet.transfer(newBalance) (centcex.sol#424)
External calls sending eth:
- buyBackTokens(balance.div(100)) (centcex.sol#363)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (centcex.sol#461-466)
- swapAndSendToMarketing(swapTokens) (centcex.sol#372)
- _marketingWallet.transfer(newBalance) (centcex.sol#424)
- swapAndSendDividends(sellTokens) (centcex.sol#380)
- (success) = address(dividendTracker).call{value: dividends}() (centcex.sol#487)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (centcex.sol#380)
- _allowances[owner][spender] = amount (ERC20.sol#287)
- super._transfer(from,address(this),fees) (centcex.sol#397)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
- super._transfer(from,to,amount) (centcex.sol#400)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
- swapAndSendDividends(sellTokens) (centcex.sol#380)
- swapping = true (centcex.sol#92)
- swapping = false (centcex.sol#94)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndSendDividends(sellTokens) (centcex.sol#380)
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (centcex.sol#409)
- SendDividends(tokens,dividends) (centcex.sol#490)
- swapAndSendDividends(sellTokens) (centcex.sol#380)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,address(this),fees) (centcex.sol#397)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,to,amount) (centcex.sol#400)
Apply the check-effects-interactions pattern.

Additional information: link

Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (DividendPayingToken.sol#87) is too similar to CENXDividendTracker.getAccount(address).withdrawableDividends (centcex.sol#560)
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (IUniswapV2Router.sol#12) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (IUniswapV2Router.sol#13)
Prevent variables from having similar names.

Additional information: link

get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (IterableMapping.sol#13-15)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (ERC20.sol#151-159)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (IterableMapping.sol#24-26)
setBuyBackEnabled(bool) should be declared external:
- CENX.setBuyBackEnabled(bool) (centcex.sol#475-477)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- CENX.setAutomatedMarketMakerPair(address,bool) (centcex.sol#187-191)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (Ownable.sol#43-46)
decimals() should be declared external:
- CENX.decimals() (centcex.sol#144-146)
- ERC20.decimals() (ERC20.sol#88-90)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- CENX.excludeMultipleAccountsFromFees(address[],bool) (centcex.sol#178-184)
updateGasForProcessing(uint256) should be declared external:
- CENX.updateGasForProcessing(uint256) (centcex.sol#212-217)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (DividendPayingToken.sol#108-110)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (IterableMapping.sol#17-22)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (ERC20.sol#192-195)
updateLiquidityWallet(address) should be declared external:
- CENX.updateLiquidityWallet(address) (centcex.sol#205-210)
symbol() should be declared external:
- ERC20.symbol() (ERC20.sol#71-73)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (ERC20.sol#114-117)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (ERC20.sol#173-176)
process(uint256) should be declared external:
- CENXDividendTracker.process(uint256) (centcex.sol#644-689)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (IterableMapping.sol#30-32)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (Ownable.sol#52-56)
name() should be declared external:
- ERC20.name() (ERC20.sol#63-65)
withdrawDividend() should be declared external:
- CENXDividendTracker.withdrawDividend() (centcex.sol#524-526)
- DividendPayingToken.withdrawDividend() (DividendPayingToken.sol#80-82)
getAccountAtIndex(uint256) should be declared external:
- CENXDividendTracker.getAccountAtIndex(uint256) (centcex.sol#600-617)
dividendTokenBalanceOf(address) should be declared external:
- CENX.dividendTokenBalanceOf(address) (centcex.sol#239-241)
updateUniswapV2Router(address) should be declared external:
- CENX.updateUniswapV2Router(address) (centcex.sol#165-169)
updateDividendTracker(address) should be declared external:
- CENX.updateDividendTracker(address) (centcex.sol#148-163)
isExcludedFromFees(address) should be declared external:
- CENX.isExcludedFromFees(address) (centcex.sol#231-233)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (ERC20.sol#133-136)
withdrawableDividendOf(address) should be declared external:
- CENX.withdrawableDividendOf(address) (centcex.sol#235-237)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (DividendPayingToken.sol#122-124)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (ERC20.sol#122-124)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:

Contract has 12% buy tax and 12% sell tax.
Taxes are suspiciously high (over 10%) and contract ownership is not renounced. Token has a high risk of becoming a honeypot.


Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.


Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.


Token is deployed only at one blockchain


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


Unable to find Discord account


Unable to find token on CoinHunt

Additional information: link


Unable to find code repository for the project


Token has relatively low CoinGecko rank

Price for CENX

News for CENX