China will pay is a community token to expose all the Chinese government Crimes
Launch Feb 3rd at 7 PM UTC
💰 4% Busd Rewards
🎬 6% Marketing
🏧 2% Liquidity
🔏 2% Development
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
ChinaWillpay.swapBack() (#586-632) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#615)
- (tmpSuccess,None) = address(ecosystemfeeReceiver).call{gas: 30000,value: amountBNBDev}() (#616)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in ChinaWillpay._transferFrom(address,address,uint256) (#466-518):
External calls:
- BP.protect(sender,recipient,amount) (#468)
- swapBack() (#497)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#597-603)
- distributor.deposit{value: amountBNBReflection}() (#614)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#615)
- (tmpSuccess,None) = address(ecosystemfeeReceiver).call{gas: 30000,value: amountBNBDev}() (#616)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#622-629)
External calls sending eth:
- swapBack() (#497)
- distributor.deposit{value: amountBNBReflection}() (#614)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#615)
- (tmpSuccess,None) = address(ecosystemfeeReceiver).call{gas: 30000,value: amountBNBDev}() (#616)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#622-629)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#500)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#503)
- amountReceived = takeFee(sender,amount,(recipient == pair)) (#502)
- _balances[address(this)] = _balances[address(this)].add(contractTokens) (#543)
- _balances[burnFeeReceiver] = _balances[burnFeeReceiver].add(burnTokens) (#544)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.distributeDividend(address) (#280-291) ignores return value by RWRD.transfer(shareholder,amount) (#286)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Too many vulnerabilities (Unchecked transfer, Reentrancy vulnerability, etc.). High risk of a scam. DYOR & manual audit are advised.
ChinaWillpay.swapBack().tmpSuccess (#615) is written in both
(tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#615)
(tmpSuccess,None) = address(ecosystemfeeReceiver).call{gas: 30000,value: amountBNBDev}() (#616)
ChinaWillpay.swapBack().tmpSuccess (#615) is written in both
(tmpSuccess,None) = address(ecosystemfeeReceiver).call{gas: 30000,value: amountBNBDev}() (#616)
tmpSuccess = false (#619)
Fix or remove the writes.
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.
Combination 2: Unchecked transfer + 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.
Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Contract ticker ($CWP) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.
ChinaWillpay.takeFee(address,uint256,bool) (#535-552) performs a multiplication on the result of a division:
-feeAmount = amount.mul(totalFee).mul(multiplier).div(feeDenominator * 100) (#538)
-burnTokens = feeAmount.mul(burnFee).div(totalFee) (#540)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in DividendDistributor.distributeDividend(address) (#280-291):
External calls:
- RWRD.transfer(shareholder,amount) (#286)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#288)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#289)
Reentrancy in DividendDistributor.process(uint256) (#249-273):
External calls:
- distributeDividend(shareholders[currentIndex]) (#265)
- RWRD.transfer(shareholder,amount) (#286)
State variables written after the call(s):
- currentIndex ++ (#270)
Reentrancy in DividendDistributor.setShare(address,uint256) (#213-227):
External calls:
- distributeDividend(shareholder) (#215)
- RWRD.transfer(shareholder,amount) (#286)
State variables written after the call(s):
- shares[shareholder].amount = amount (#225)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#226)
Apply the check-effects-interactions pattern.
Additional information: link
ChinaWillpay.manage_blacklist(address[],bool).i (#650) 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
ChinaWillpay.swapBack() (#586-632) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#622-629)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendDistributor.setDistributionCriteria(uint256,uint256) (#208-211) should emit an event for:
- minPeriod = _minPeriod (#209)
- minDistribution = _minDistribution (#210)
ChinaWillpay.setMaxTxPercent_base1000(uint256) (#457-459) should emit an event for:
- _maxTxAmount = (_totalSupply * maxTXPercentage_base1000) / 1000 (#458)
ChinaWillpay.setTxLimit(uint256) (#461-463) should emit an event for:
- _maxTxAmount = amount (#462)
ChinaWillpay.set_sell_multiplier(uint256) (#571-573) should emit an event for:
- sellMultiplier = Multiplier (#572)
ChinaWillpay.setFees(uint256,uint256,uint256,uint256,uint256,uint256) (#668-677) should emit an event for:
- liquidityFee = _liquidityFee (#669)
- reflectionFee = _reflectionFee (#670)
- marketingFee = _marketingFee (#671)
- ecosystemfee = _ecosystemfee (#672)
- burnFee = _burnFee (#673)
- totalFee = _liquidityFee.add(_reflectionFee).add(_marketingFee).add(_ecosystemfee).add(_burnFee) (#674)
- feeDenominator = _feeDenominator (#675)
ChinaWillpay.setSwapBackSettings(bool,uint256) (#686-689) should emit an event for:
- swapThreshold = _amount (#688)
ChinaWillpay.setTargetLiquidity(uint256,uint256) (#691-694) should emit an event for:
- targetLiquidity = _target (#692)
- targetLiquidityDenominator = _denominator (#693)
Emit an event for critical parameter changes.
Additional information: link
Auth.transferOwnership(address).adr (#90) lacks a zero-check on :
- owner = adr (#91)
ChinaWillpay.setFeeReceivers(address,address,address,address)._autoLiquidityReceiver (#679) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#680)
ChinaWillpay.setFeeReceivers(address,address,address,address)._marketingFeeReceiver (#679) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#681)
ChinaWillpay.setFeeReceivers(address,address,address,address)._ecosystemfeeReceiver (#679) lacks a zero-check on :
- ecosystemfeeReceiver = _ecosystemfeeReceiver (#682)
ChinaWillpay.setFeeReceivers(address,address,address,address)._burnFeeReceiver (#679) lacks a zero-check on :
- burnFeeReceiver = _burnFeeReceiver (#683)
Check that the address is not zero.
Additional information: link
DividendDistributor.distributeDividend(address) (#280-291) has external calls inside a loop: RWRD.transfer(shareholder,amount) (#286)
ChinaWillpay.multiTransfer(address,address[],uint256[]) (#720-744) has external calls inside a loop: distributor.setShare(addresses[i_scope_0],_balances[addresses[i_scope_0]]) (#736)
ChinaWillpay.multiTransfer_fixed(address,address[],uint256) (#746-765) has external calls inside a loop: distributor.setShare(addresses[i],_balances[addresses[i]]) (#757)
Favor pull over push strategy for external calls.
Additional information: link
Reentrancy in ChinaWillpay._transferFrom(address,address,uint256) (#466-518):
External calls:
- BP.protect(sender,recipient,amount) (#468)
State variables written after the call(s):
- _basicTransfer(sender,recipient,amount) (#471)
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#521)
- _balances[recipient] = _balances[recipient].add(amount) (#522)
- cooldownTimer[recipient] = block.timestamp + cooldownTimerInterval (#491)
Reentrancy in ChinaWillpay.constructor() (#395-420):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#397)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = uint256(- 1) (#398)
- _balances[msg.sender] = _totalSupply (#418)
- autoLiquidityReceiver = msg.sender (#413)
- burnFeeReceiver = DEAD (#416)
- distributor = new DividendDistributor(address(router)) (#400)
- ecosystemfeeReceiver = 0x8765aCA16d5F621C951231D2688C456097c18488 (#415)
- isDividendExempt[pair] = true (#409)
- isDividendExempt[address(this)] = true (#410)
- isDividendExempt[DEAD] = true (#411)
- isFeeExempt[msg.sender] = true (#402)
- isTimelockExempt[msg.sender] = true (#405)
- isTimelockExempt[DEAD] = true (#406)
- isTimelockExempt[address(this)] = true (#407)
- isTxLimitExempt[msg.sender] = true (#403)
- marketingFeeReceiver = 0xCC1315f091C7c76f3245A00EE4dB919B52becAf2 (#414)
Reentrancy in DividendDistributor.deposit() (#229-247):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#236-241)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#246)
- totalDividends = totalDividends.add(amount) (#245)
Reentrancy in DividendDistributor.distributeDividend(address) (#280-291):
External calls:
- RWRD.transfer(shareholder,amount) (#286)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#287)
Reentrancy in DividendDistributor.setShare(address,uint256) (#213-227):
External calls:
- distributeDividend(shareholder) (#215)
- RWRD.transfer(shareholder,amount) (#286)
State variables written after the call(s):
- addShareholder(shareholder) (#219)
- shareholderIndexes[shareholder] = shareholders.length (#313)
- removeShareholder(shareholder) (#221)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#319)
- addShareholder(shareholder) (#219)
- shareholders.push(shareholder) (#314)
- removeShareholder(shareholder) (#221)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#318)
- shareholders.pop() (#320)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#224)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in ChinaWillpay._transferFrom(address,address,uint256) (#466-518):
External calls:
- BP.protect(sender,recipient,amount) (#468)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#523)
- _basicTransfer(sender,recipient,amount) (#471)
Reentrancy in ChinaWillpay._transferFrom(address,address,uint256) (#466-518):
External calls:
- BP.protect(sender,recipient,amount) (#468)
- swapBack() (#497)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#597-603)
- distributor.deposit{value: amountBNBReflection}() (#614)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#615)
- (tmpSuccess,None) = address(ecosystemfeeReceiver).call{gas: 30000,value: amountBNBDev}() (#616)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#622-629)
External calls sending eth:
- swapBack() (#497)
- distributor.deposit{value: amountBNBReflection}() (#614)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#615)
- (tmpSuccess,None) = address(ecosystemfeeReceiver).call{gas: 30000,value: amountBNBDev}() (#616)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#622-629)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#630)
- swapBack() (#497)
- Transfer(sender,address(this),contractTokens) (#545)
- amountReceived = takeFee(sender,amount,(recipient == pair)) (#502)
- Transfer(sender,burnFeeReceiver,burnTokens) (#548)
- amountReceived = takeFee(sender,amount,(recipient == pair)) (#502)
Reentrancy in ChinaWillpay._transferFrom(address,address,uint256) (#466-518):
External calls:
- BP.protect(sender,recipient,amount) (#468)
- swapBack() (#497)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#597-603)
- distributor.deposit{value: amountBNBReflection}() (#614)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#615)
- (tmpSuccess,None) = address(ecosystemfeeReceiver).call{gas: 30000,value: amountBNBDev}() (#616)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#622-629)
- distributor.setShare(sender,_balances[sender]) (#507)
- distributor.setShare(recipient,_balances[recipient]) (#511)
- distributor.process(distributorGas) (#514)
External calls sending eth:
- swapBack() (#497)
- distributor.deposit{value: amountBNBReflection}() (#614)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#615)
- (tmpSuccess,None) = address(ecosystemfeeReceiver).call{gas: 30000,value: amountBNBDev}() (#616)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#622-629)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived) (#516)
Reentrancy in ChinaWillpay.constructor() (#395-420):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#397)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#419)
Reentrancy in ChinaWillpay.swapBack() (#586-632):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#597-603)
- distributor.deposit{value: amountBNBReflection}() (#614)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#615)
- (tmpSuccess,None) = address(ecosystemfeeReceiver).call{gas: 30000,value: amountBNBDev}() (#616)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#622-629)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#614)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#615)
- (tmpSuccess,None) = address(ecosystemfeeReceiver).call{gas: 30000,value: amountBNBDev}() (#616)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#622-629)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#630)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.shouldDistribute(address) (#275-278) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#276-277)
ChinaWillpay._transferFrom(address,address,uint256) (#466-518) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(cooldownTimer[recipient] < block.timestamp,Please wait for 1min between two buys) (#490)
Avoid relying on block.timestamp.
Additional information: link
ChinaWillpay.setBotProtectionDisableForever() (#777-780) compares to a boolean constant:
-require(bool)(BPDisabledForever == false) (#778)
Remove the equality to the boolean constant.
Additional information: link
DividendDistributor.process(uint256) (#249-273) has costly operations inside a loop:
- currentIndex = 0 (#261)
DividendDistributor.distributeDividend(address) (#280-291) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#285)
DividendDistributor.process(uint256) (#249-273) has costly operations inside a loop:
- currentIndex ++ (#270)
Use a local variable to hold the loop computation result.
Additional information: link
ChinaWillpay._maxTxAmount (#341) is set pre-construction with a non-constant function or state variable:
- _totalSupply.mul(3).div(100)
ChinaWillpay._maxWalletToken (#342) is set pre-construction with a non-constant function or state variable:
- _totalSupply.mul(3).div(100)
ChinaWillpay.totalFee (#360) is set pre-construction with a non-constant function or state variable:
- marketingFee + reflectionFee + liquidityFee + ecosystemfee + burnFee
ChinaWillpay.swapThreshold (#386) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 10 / 10000
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.7.4 (#3) allows old versions
solc-0.7.4 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 ChinaWillpay.swapBack() (#586-632):
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#615)
- (tmpSuccess,None) = address(ecosystemfeeReceiver).call{gas: 30000,value: amountBNBDev}() (#616)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IDEXRouter.WETH() (#105) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minPeriod (#208) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minDistribution (#208) is not in mixedCase
Variable DividendDistributor._token (#161) is not in mixedCase
Variable DividendDistributor.RWRD (#169) is not in mixedCase
Variable DividendDistributor.WBNB (#170) is not in mixedCase
Function ChinaWillpay.setMaxWalletPercent_base1000(uint256) (#454-456) is not in mixedCase
Parameter ChinaWillpay.setMaxWalletPercent_base1000(uint256).maxWallPercent_base1000 (#454) is not in mixedCase
Function ChinaWillpay.setMaxTxPercent_base1000(uint256) (#457-459) is not in mixedCase
Parameter ChinaWillpay.setMaxTxPercent_base1000(uint256).maxTXPercentage_base1000 (#457) is not in mixedCase
Function ChinaWillpay.clearStuckBalance_sender(uint256) (#566-569) is not in mixedCase
Function ChinaWillpay.set_sell_multiplier(uint256) (#571-573) is not in mixedCase
Parameter ChinaWillpay.set_sell_multiplier(uint256).Multiplier (#571) is not in mixedCase
Parameter ChinaWillpay.tradingStatus(bool)._status (#576) is not in mixedCase
Parameter ChinaWillpay.cooldownEnabled(bool,uint8)._status (#581) is not in mixedCase
Parameter ChinaWillpay.cooldownEnabled(bool,uint8)._interval (#581) is not in mixedCase
Function ChinaWillpay.enable_blacklist(bool) (#645-647) is not in mixedCase
Parameter ChinaWillpay.enable_blacklist(bool)._status (#645) is not in mixedCase
Function ChinaWillpay.manage_blacklist(address[],bool) (#649-653) is not in mixedCase
Parameter ChinaWillpay.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._liquidityFee (#668) is not in mixedCase
Parameter ChinaWillpay.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._reflectionFee (#668) is not in mixedCase
Parameter ChinaWillpay.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._marketingFee (#668) is not in mixedCase
Parameter ChinaWillpay.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._ecosystemfee (#668) is not in mixedCase
Parameter ChinaWillpay.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._burnFee (#668) is not in mixedCase
Parameter ChinaWillpay.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._feeDenominator (#668) is not in mixedCase
Parameter ChinaWillpay.setFeeReceivers(address,address,address,address)._autoLiquidityReceiver (#679) is not in mixedCase
Parameter ChinaWillpay.setFeeReceivers(address,address,address,address)._marketingFeeReceiver (#679) is not in mixedCase
Parameter ChinaWillpay.setFeeReceivers(address,address,address,address)._ecosystemfeeReceiver (#679) is not in mixedCase
Parameter ChinaWillpay.setFeeReceivers(address,address,address,address)._burnFeeReceiver (#679) is not in mixedCase
Parameter ChinaWillpay.setSwapBackSettings(bool,uint256)._enabled (#686) is not in mixedCase
Parameter ChinaWillpay.setSwapBackSettings(bool,uint256)._amount (#686) is not in mixedCase
Parameter ChinaWillpay.setTargetLiquidity(uint256,uint256)._target (#691) is not in mixedCase
Parameter ChinaWillpay.setTargetLiquidity(uint256,uint256)._denominator (#691) is not in mixedCase
Parameter ChinaWillpay.setDistributionCriteria(uint256,uint256)._minPeriod (#696) is not in mixedCase
Parameter ChinaWillpay.setDistributionCriteria(uint256,uint256)._minDistribution (#696) is not in mixedCase
Function ChinaWillpay.multiTransfer_fixed(address,address[],uint256) (#746-765) is not in mixedCase
Parameter ChinaWillpay.setBPAddress(address)._bp (#770) is not in mixedCase
Parameter ChinaWillpay.setBpEnabled(bool)._enabled (#774) is not in mixedCase
Variable ChinaWillpay.WBNB (#331) is not in mixedCase
Variable ChinaWillpay.DEAD (#332) is not in mixedCase
Variable ChinaWillpay.ZERO (#333) is not in mixedCase
Constant ChinaWillpay._name (#335) is not in UPPER_CASE_WITH_UNDERSCORES
Constant ChinaWillpay._symbol (#336) is not in UPPER_CASE_WITH_UNDERSCORES
Constant ChinaWillpay._decimals (#337) is not in UPPER_CASE_WITH_UNDERSCORES
Variable ChinaWillpay._totalSupply (#339) is not in mixedCase
Variable ChinaWillpay._maxTxAmount (#341) is not in mixedCase
Variable ChinaWillpay._maxWalletToken (#342) is not in mixedCase
Variable ChinaWillpay._balances (#344) is not in mixedCase
Variable ChinaWillpay._allowances (#345) is not in mixedCase
Variable ChinaWillpay.BP (#389) is not in mixedCase
Variable ChinaWillpay.BPDisabledForever (#391) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#110) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#111)
Prevent variables from having similar names.
Additional information: link
ChinaWillpay.slitherConstructorVariables() (#328-782) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#332)
ChinaWillpay.slitherConstructorVariables() (#328-782) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#333)
ChinaWillpay.slitherConstructorVariables() (#328-782) uses literals with too many digits:
- distributorGas = 500000 (#379)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
ChinaWillpay.DEAD (#332) should be constant
ChinaWillpay.WBNB (#331) should be constant
ChinaWillpay.ZERO (#333) should be constant
ChinaWillpay._totalSupply (#339) should be constant
DividendDistributor.WBNB (#170) should be constant
DividendDistributor.dividendsPerShareAccuracyFactor (#183) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
authorize(address) should be declared external:
- Auth.authorize(address) (#74-76)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#78-80)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#90-94)
tradingStatus(bool) should be declared external:
- ChinaWillpay.tradingStatus(bool) (#576-578)
cooldownEnabled(bool,uint8) should be declared external:
- ChinaWillpay.cooldownEnabled(bool,uint8) (#581-584)
enable_blacklist(bool) should be declared external:
- ChinaWillpay.enable_blacklist(bool) (#645-647)
manage_blacklist(address[],bool) should be declared external:
- ChinaWillpay.manage_blacklist(address[],bool) (#649-653)
Use the external attribute for functions never called from the contract.
Additional information: link
Unable to find website, listings and other project-related information
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Twitter account
Telegram account has relatively few subscribers
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account