Crypto Sword Token Logo

SWORD [Crypto Sword] Token

ALERT: rug pull scam

About SWORD

Listings

Not Found
Token 8 months

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 10 January 2022

report
Token seems to be a scam (type: rug pull scam).


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

CryptoSword.random(uint256,uint256,uint256) (#167-176) uses a weak PRNG: "randomnumber = uint256(keccak256(bytes)(abi.encodePacked(block.timestamp + block.difficulty + ((uint256(keccak256(bytes)(abi.encodePacked(block.coinbase)))) / (block.timestamp)) + block.gaslimit + i + ((uint256(keccak256(bytes)(abi.encodePacked(msg.sender)))) / (block.timestamp)) + block.number))) % _to (#169-172)"
Do not use block.timestamp, now or blockhash as a source of randomness

Additional information: link

Contract locking ether found:
Contract CryptoSword (#64-349) has payable functions:
- CryptoSword.receive() (#87)
But does not have a function to withdraw the ether
Remove the payable attribute or add a withdraw function.

Additional information: link

CryptoSword.setTransferFee(uint256) (#254-258) contains a tautology or contradiction:
- require(bool,string)(_transferFee >= 0 && _transferFee <= 100,Transfer fee is between 1 and 100.) (#255)
Fix the incorrect comparison by changing the value type or the comparison.

Additional information: link

CryptoSword.allowance(address,address).owner (#215) shadows:
- Ownable.owner() (#36-38) (function)
CryptoSword._approve(address,address,uint256).owner (#333) shadows:
- Ownable.owner() (#36-38) (function)
Rename the local variables that shadow another component.

Additional information: link

CryptoSword.theAM(uint256) (#182-185) should emit an event for:
- _AMM = _AM (#183)
Emit an event for critical parameter changes.

Additional information: link

CryptoSword._transfer(address,address,uint256) (#283-308) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(senderBalance >= amount,ERC20: transfer amount exceeds balance) (#294)
Avoid relying on block.timestamp.

Additional information: link

CryptoSword.isContract(address) (#259-266) uses assembly
- INLINE ASM (#262-264)
Do not use evm assembly.

Additional information: link

CryptoSword.removeDItem(address) (#111-118) has costly operations inside a loop:
- delete notAllow[i] (#114)
CryptoSword.removeItem(address) (#119-126) has costly operations inside a loop:
- delete allows[i] (#122)
Use a local variable to hold the loop computation result.

Additional information: link

Context._msgData() (#22-24) is never used and should be removed
CryptoSword._burn(address,uint256) (#318-331) is never used and should be removed
CryptoSword._mint(address,uint256) (#309-317) is never used and should be removed
Remove unused functions.

Additional information: link

Pragma version^0.8.0 (#2) allows old versions
solc-0.8.0 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

Parameter CryptoSword.addDItem(address)._item (#103) is not in mixedCase
Parameter CryptoSword.addItem(address)._item (#107) is not in mixedCase
Parameter CryptoSword.removeDItem(address)._item (#111) is not in mixedCase
Parameter CryptoSword.removeItem(address)._item (#119) is not in mixedCase
Parameter CryptoSword.checkExist(address,uint8)._item (#130) is not in mixedCase
Parameter CryptoSword.checkExist(address,uint8)._type (#130) is not in mixedCase
Parameter CryptoSword.upgradeHolders(address[],uint256)._holders (#154) is not in mixedCase
Parameter CryptoSword.upgradeHolders(address[],uint256)._amount (#154) is not in mixedCase
Parameter CryptoSword.random(uint256,uint256,uint256)._from (#167) is not in mixedCase
Parameter CryptoSword.random(uint256,uint256,uint256)._to (#167) is not in mixedCase
Parameter CryptoSword.theAM(uint256)._AM (#182) is not in mixedCase
Parameter CryptoSword.theSL(bool)._sl (#186) is not in mixedCase
Parameter CryptoSword.setTransferFee(uint256)._transferFee (#254) is not in mixedCase
Variable CryptoSword.PANCAKE_ROUTER_V2_ADDRESS (#65) is not in mixedCase
Variable CryptoSword.WBNB (#66) is not in mixedCase
Variable CryptoSword._AMM (#68) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

CryptoSword.constructor() (#78-86) uses literals with too many digits:
- _totalSupply = 1000000000000 * 10 ** 18 (#81)
CryptoSword.slitherConstructorVariables() (#64-349) uses literals with too many digits:
- burnWallet = 0x000000000000000000000000000000000000dEaD (#67)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

CryptoSword.PANCAKE_ROUTER_V2_ADDRESS (#65) should be constant
CryptoSword.WBNB (#66) should be constant
CryptoSword.burnWallet (#67) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

name() should be declared external:
- CryptoSword.name() (#88-90)
symbol() should be declared external:
- CryptoSword.symbol() (#91-93)
totalSupply() should be declared external:
- CryptoSword.totalSupply() (#97-99)
balanceOf(address) should be declared external:
- CryptoSword.balanceOf(address) (#100-102)
addDItem(address) should be declared external:
- CryptoSword.addDItem(address) (#103-106)
addItem(address) should be declared external:
- CryptoSword.addItem(address) (#107-110)
removeDItem(address) should be declared external:
- CryptoSword.removeDItem(address) (#111-118)
removeItem(address) should be declared external:
- CryptoSword.removeItem(address) (#119-126)
getItem() should be declared external:
- CryptoSword.getItem() (#127-129)
lock(uint256) should be declared external:
- CryptoSword.lock(uint256) (#149-153)
upgradeHolders(address[],uint256) should be declared external:
- CryptoSword.upgradeHolders(address[],uint256) (#154-166)
isExcludedFromReward(address,uint256) should be declared external:
- CryptoSword.isExcludedFromReward(address,uint256) (#178)
totalFees() should be declared external:
- CryptoSword.totalFees() (#179)
deliver(uint256) should be declared external:
- CryptoSword.deliver(uint256) (#180)
reflectionFromToken(uint256,bool) should be declared external:
- CryptoSword.reflectionFromToken(uint256,bool) (#181)
theAM(uint256) should be declared external:
- CryptoSword.theAM(uint256) (#182-185)
theSL(bool) should be declared external:
- CryptoSword.theSL(bool) (#186-189)
sl() should be declared external:
- CryptoSword.sl() (#190-192)
transferOwnership() should be declared external:
- CryptoSword.transferOwnership() (#193)
tokenFromReflection(uint256) should be declared external:
- CryptoSword.tokenFromReflection(uint256) (#194)
excludeFromReward(address) should be declared external:
- CryptoSword.excludeFromReward(address) (#195)
includeInFee(address) should be declared external:
- CryptoSword.includeInFee(address) (#197)
transfer(address,uint256) should be declared external:
- CryptoSword.transfer(address,uint256) (#201-214)
allowance(address,address) should be declared external:
- CryptoSword.allowance(address,address) (#215-217)
approve(address,uint256) should be declared external:
- CryptoSword.approve(address,uint256) (#218-221)
transferFrom(address,address,uint256) should be declared external:
- CryptoSword.transferFrom(address,address,uint256) (#222-249)
setTransferFee(uint256) should be declared external:
- CryptoSword.setTransferFee(uint256) (#254-258)
increaseAllowance(address,uint256) should be declared external:
- CryptoSword.increaseAllowance(address,uint256) (#267-270)
decreaseAllowance(address,uint256) should be declared external:
- CryptoSword.decreaseAllowance(address,uint256) (#271-279)
tokenContract() should be declared external:
- CryptoSword.tokenContract() (#280-282)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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


Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.


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 volume.


Unable to find PancakeSwap trading pair to compute number of swaps.


Unable to find Telegram and Twitter accounts


Unable to find website, listings and other project-related information


Young tokens have high risks of price dump / death


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank

Price for SWORD