A platform where musicians can mint their music and sell them as limited edition NFT’s. Cosmic also gives users an easy way to search for music NFT’s as well as buy and communicate with creators. As an artist you will be able to easily upload your music and market it as an NFT. Artists will also earn royalties on every sale thereafter.The platform will be intuitive and developed with ease of use in mind.
A decentralized platform for musicians to mint and sell their music without a large fee taken out & showcase new and popular NFT musicians. Cosmic is a worldwide music NFT platform connecting artists, producers, scouts and listeners.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in CosmicMusic._transfer(address,address,uint256) (#1367-1416):
External calls:
- swapAndLiquify(contractTokenBalance) (#1406)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1493-1500)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1479-1485)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1406)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1493-1500)
- recipient.transfer(amount) (#1506)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1415)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1313)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1526)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1527)
- _tokenTransfer(from,to,amount,takeFee) (#1415)
- _rTotal = _rTotal.sub(rFee) (#1217)
- _tokenTransfer(from,to,amount,takeFee) (#1415)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1315)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1530)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1532)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1534)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1535)
- _tokenTransfer(from,to,amount,takeFee) (#1415)
- _totalLiqFee = _prevTotalLiqFee (#1336)
- _totalLiqFee = 0 (#1331)
Apply the check-effects-interactions pattern.
Additional information: link
CosmicMusic.swapAndLiquify(uint256) (#1435-1468) performs a multiplication on the result of a division:
-charityShare = newBalance_scope_1.div(walletFee).mul(_teamFee) (#1459)
Consider ordering multiplication before division.
Additional information: link
CosmicMusic.addLiquidity(uint256,uint256) (#1488-1501) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1493-1500)
Ensure that all the return values of the function calls are used.
Additional information: link
CosmicMusic._approve(address,address,uint256).owner (#1356) shadows:
- Ownable.owner() (#459-461) (function)
Rename the local variables that shadow another component.
Additional information: link
CosmicMusic.prepareForLaunch(uint256,uint256,uint256,uint256,uint256,uint256) (#1554-1577) should emit an event for:
- _taxFee = newRewardFee (#1565)
- _liquidityFee = newLiquidityFee (#1566)
- _marketingFee = newMarketingfee (#1567)
- _devFee = newDevFee (#1568)
- _teamFee = newTeamFee (#1569)
- _totalLiqFee = newLiquidityFee.add(newMarketingfee).add(newDevFee).add(newTeamFee) (#1571-1573)
- _prevTotalLiqFee = _totalLiqFee (#1574)
- _snipeBlockAmount = snipeBlockCount (#1576)
Emit an event for critical parameter changes.
Additional information: link
CosmicMusic.setTeamWalletAddress(address).newAddress (#1351) lacks a zero-check on :
- teamWalletAddress = address(newAddress) (#1352)
Check that the address is not zero.
Additional information: link
Reentrancy in CosmicMusic.transferFrom(address,address,uint256) (#1019-1034):
External calls:
- _transfer(sender,recipient,amount) (#1024)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1493-1500)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1479-1485)
External calls sending eth:
- _transfer(sender,recipient,amount) (#1024)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1493-1500)
- recipient.transfer(amount) (#1506)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#1025-1032)
- _allowances[owner][spender] = amount (#1363)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in CosmicMusic.transferFrom(address,address,uint256) (#1019-1034):
External calls:
- _transfer(sender,recipient,amount) (#1024)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1493-1500)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1479-1485)
External calls sending eth:
- _transfer(sender,recipient,amount) (#1024)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1493-1500)
- recipient.transfer(amount) (#1506)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1364)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#1025-1032)
Apply the check-effects-interactions pattern.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#412-440) uses assembly
- INLINE ASM (#432-435)
Do not use evm assembly.
Additional information: link
SafeMath.mod(uint256,uint256,string) (#244-251) is never used and should be removed
Remove unused functions.
Additional information: link
CosmicMusic._prevTotalLiqFee (#899) is set pre-construction with a non-constant function or state variable:
- _totalLiqFee
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
solc-0.8.7 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 Address._functionCallWithValue(address,bytes,uint256,string) (#412-440):
- (success,returndata) = target.call{value: weiValue}(data) (#421-423)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable CosmicMusic._numTokensSellToAddToLiquidity (#921) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#260)" inContext (#254-263)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in CosmicMusic.transferFrom(address,address,uint256) (#1019-1034):
External calls:
- _transfer(sender,recipient,amount) (#1024)
- recipient.transfer(amount) (#1506)
External calls sending eth:
- _transfer(sender,recipient,amount) (#1024)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1493-1500)
- recipient.transfer(amount) (#1506)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#1025-1032)
- _allowances[owner][spender] = amount (#1363)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1364)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#1025-1032)
Apply the check-effects-interactions pattern.
Additional information: link
Variable CosmicMusic._tokenTransfer(address,address,uint256,bool).rTransferAmount (#1520) is too similar to CosmicMusic._getTValues(uint256).tTransferAmount (#1265)
Prevent variables from having similar names.
Additional information: link
CosmicMusic._tTotal (#886) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
isExcludedFromFee(address) should be declared external:
- CosmicMusic.isExcludedFromFee(address) (#1339-1341)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap volume is low.
Average PancakeSwap trading volume, liqudity, number of swaps are low. Token seems to be inactive.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute number of swaps.
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 scam / price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Token has relatively low CoinMarketCap rank
Twitter account link seems to be invalid
Unable to find Discord account