Cloudpay Token Logo

CPY [Cloudpay] Token

About CPY

Listings

Token 17 months
white paper

CloudPay mission is to provide a global solution to cryptocurrency holders by enabling real world transactional use for their currencies and tokens.
💰💰💰 Huge Global Marketing campaigns is starting together with presale. CG listing is right after launch 🚀🚀🚀

Social

Laser Scorebeta Last Audit: 19 June 2022

report
Token has too many issues. Scam probability is high.

Cloudpay.buyTokens(uint256,address) (#1010-1020) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#1017-1019)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in Cloudpay._transfer(address,address,uint256) (#918-982):
External calls:
- swapBack(contractTokenBalance) (#947)
- (success) = recipient.call{value: amount}() (#748)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#1017-1019)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1040-1046)
External calls sending eth:
- swapBack(contractTokenBalance) (#947)
- (success) = recipient.call{value: amount}() (#748)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#1017-1019)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#978)
- _balances[sender] = senderBalance - amount (#230)
- _balances[recipient] += amount (#232)
- super._transfer(from,to,amount) (#981)
- _balances[sender] = senderBalance - amount (#230)
- _balances[recipient] += amount (#232)
- swapping = false (#949)
Apply the check-effects-interactions pattern.

Additional information: link

Cloudpay.claimStuckTokens(address) (#718-730) ignores return value by ERC20token.transfer(msg.sender,balance) (#729)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

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.


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


Contract ownership is not renounced (belongs to a wallet)

Cloudpay.setSwapTokensAtAmount(uint256) (#1049-1058) should emit an event for:
- swapTokensAtAmount = newAmount (#1057)
Emit an event for critical parameter changes.

Additional information: link

Cloudpay.updateUniswapV2Router(address)._uniswapV2Pair (#765-766) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (#767)
Check that the address is not zero.

Additional information: link

Reentrancy in Cloudpay._transfer(address,address,uint256) (#918-982):
External calls:
- swapBack(contractTokenBalance) (#947)
- (success) = recipient.call{value: amount}() (#748)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#1017-1019)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1040-1046)
External calls sending eth:
- swapBack(contractTokenBalance) (#947)
- (success) = recipient.call{value: amount}() (#748)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#1017-1019)
State variables written after the call(s):
- setFeesOnBuy() (#969)
- _autoBuyBackFee = autoBuyBackFeeOnBuy (#860)
- setFeesOnSell() (#971)
- _autoBuyBackFee = autoBuyBackFeeOnSell (#869)
- setFeesOnBuy() (#969)
- _developmentFee = developmentFeeOnBuy (#862)
- setFeesOnSell() (#971)
- _developmentFee = developmentFeeOnSell (#871)
- setFeesOnBuy() (#969)
- _marketingFee = marketingFeeOnBuy (#861)
- setFeesOnSell() (#971)
- _marketingFee = marketingFeeOnSell (#870)
- setFeesOnBuy() (#969)
- _totalFees = _autoBuyBackFee + _marketingFee + _developmentFee (#863)
- setFeesOnSell() (#971)
- _totalFees = _autoBuyBackFee + _marketingFee + _developmentFee (#872)
Reentrancy in Cloudpay.constructor() (#683-707):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#687-688)
State variables written after the call(s):
- _approve(address(this),address(uniswapV2Router),type()(uint256).max) (#693)
- _allowances[owner][spender] = amount (#276)
- _mint(owner(),2e7 * (10 ** 18)) (#705)
- _balances[account] += amount (#245)
- _isExcludedFromFees[owner()] = true (#697)
- _isExcludedFromFees[marketingWallet] = true (#698)
- _isExcludedFromFees[developmentWallet] = true (#699)
- _isExcludedFromFees[DEAD] = true (#700)
- _isExcludedFromFees[address(this)] = true (#701)
- _isWhiteListedContract[address(this)] = true (#703)
- _mint(owner(),2e7 * (10 ** 18)) (#705)
- _totalSupply += amount (#244)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#695)
- automatedMarketMakerPairs[pair] = value (#789)
- swapTokensAtAmount = totalSupply() / 5000 (#706)
- uniswapV2Pair = _uniswapV2Pair (#691)
- uniswapV2Router = _uniswapV2Router (#690)
Reentrancy in Cloudpay.updateUniswapV2Router(address) (#755-768):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#765-766)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#767)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in Cloudpay._transfer(address,address,uint256) (#918-982):
External calls:
- swapBack(contractTokenBalance) (#947)
- (success) = recipient.call{value: amount}() (#748)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#1017-1019)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1040-1046)
External calls sending eth:
- swapBack(contractTokenBalance) (#947)
- (success) = recipient.call{value: amount}() (#748)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#1017-1019)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#234)
- super._transfer(from,to,amount) (#981)
- Transfer(sender,recipient,amount) (#234)
- super._transfer(from,address(this),fees) (#978)
Reentrancy in Cloudpay.constructor() (#683-707):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#687-688)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#277)
- _approve(address(this),address(uniswapV2Router),type()(uint256).max) (#693)
- SetAutomatedMarketMakerPair(pair,value) (#791)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#695)
- Transfer(address(0),account,amount) (#246)
- _mint(owner(),2e7 * (10 ** 18)) (#705)
Apply the check-effects-interactions pattern.

Additional information: link

Context._msgData() (#48-51) is never used and should be removed
ERC20._burn(address,uint256) (#251-266) is never used and should be removed
Remove unused functions.

Additional information: link

Pragma version0.8.14 (#3) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.14 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 Cloudpay.sendBNB(address,uint256) (#740-753):
- (success) = recipient.call{value: amount}() (#748)
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() (#356) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#358) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#389) is not in mixedCase
Function IUniswapV2Router01.WETH() (#435) is not in mixedCase
Parameter Cloudpay.updateBuyFees(uint256,uint256,uint256)._autoBuyBackFeeOnBuy (#831) is not in mixedCase
Parameter Cloudpay.updateBuyFees(uint256,uint256,uint256)._marketingFeeOnBuy (#831) is not in mixedCase
Parameter Cloudpay.updateBuyFees(uint256,uint256,uint256)._developmentFeeOnBuy (#831) is not in mixedCase
Parameter Cloudpay.updateSellFees(uint256,uint256,uint256)._autoBuyBackFeeOnSell (#844) is not in mixedCase
Parameter Cloudpay.updateSellFees(uint256,uint256,uint256)._marketingFeeOnSell (#844) is not in mixedCase
Parameter Cloudpay.updateSellFees(uint256,uint256,uint256)._developmentFeeOnSell (#844) is not in mixedCase
Parameter Cloudpay.changeMarketingWallet(address)._marketingWallet (#886) is not in mixedCase
Parameter Cloudpay.changeDevelopmentWallet(address)._developmentWallet (#902) is not in mixedCase
Variable Cloudpay.DEAD (#663) is not in mixedCase
Variable Cloudpay._isWhiteListedContract (#670) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#49)" inContext (#43-52)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#440) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#441)
Prevent variables from having similar names.

Additional information: link

Cloudpay.setSwapTokensAtAmount(uint256) (#1049-1058) uses literals with too many digits:
- require(bool,string)(newAmount > totalSupply() / 100000,SwapTokensAtAmount must be greater than 0.001% of total supply) (#1053-1056)
Cloudpay.slitherConstructorVariables() (#638-1060) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#663)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

Cloudpay.DEAD (#663) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#77-80)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#82-89)
name() should be declared external:
- ERC20.name() (#107-109)
symbol() should be declared external:
- ERC20.symbol() (#111-113)
decimals() should be declared external:
- ERC20.decimals() (#115-117)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#133-141)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#143-151)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#153-161)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#163-182)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#184-195)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#197-212)
isExcludedFromFees(address) should be declared external:
- Cloudpay.isExcludedFromFees(address) (#808-814)
isContractWhiteListed(address) should be declared external:
- Cloudpay.isContractWhiteListed(address) (#816-822)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Token seems to be untradeable: there is no PancakeSwap trading pair and no trading volumes. Ignore for presale.


Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.


Telegram account has less than 100 subscribers


Twitter account has less than 100 followers


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


Unable to find Discord account


Twitter account has few posts


BscScan page for the token does not contain additional info: website, socials, description, etc.

Additional information: link


Unable to find KYC or doxxing proof


Unable to find token on CoinGecko

Additional information: link


Unable to find token on CoinMarketCap

Additional information: link


Token is not listed at Mobula.Finance

Additional information: link


Unable to find token on CoinHunt

Additional information: link


Unable to find code repository for the project


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


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


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


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank

Price for CPY

News for CPY