DarkLight is an online game based on Binance Smart Chain (BSC). Players can create characters, challenge maps, and loot rare items. The game combines the gameplay of DEFI+NFT+RPG+Metauniverse. The token rewards obtained by players in the game can be sold in the cryptocurrency market, the heroes and other items obtained in the game can be directly traded in the market. Players can not only experience the fun of the game, but also make profit while playing in the game. All system will make $DK to be more valuable!!!!
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
DK.constructor(string,string,uint256) (#480-492) performs a multiplication on the result of a division:
-transfer(_deadAddress,totalSupply() / 10 * 4) (#487)
Consider ordering multiplication before division.
Additional information: link
DK.transfer(address,uint256).oiner (#593) shadows:
- Ownable.oiner() (#26-28) (function)
Rename the local variables that shadow another component.
Additional information: link
DK.setPairList(address)._address (#512) lacks a zero-check on :
- uniswapV2Pair = _address (#513)
Check that the address is not zero.
Additional information: link
DK.transfer(address,uint256) (#592-600) compares to a boolean constant:
-_release[oiner] == true (#594)
Remove the equality to the boolean constant.
Additional information: link
BEP20._afterTokenTransfer(address,address,uint256) (#421-425) is never used and should be removed
BEP20._beforeTokenTransfer(address,address,uint256) (#414-418) is never used and should be removed
Context._msgData() (#9-11) is never used and should be removed
DK._burn(address,uint256) (#456-467) is never used and should be removed
DK._transfer(address,address,uint256) (#438-454) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#136-145) is never used and should be removed
SafeMath.mod(uint256,uint256) (#119-121) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#148-157) is never used and should be removed
SafeMath.sub(uint256,uint256,string) (#124-133) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#58-64) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#83-88) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#91-96) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#73-81) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#66-71) 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
Event OwnableoinershipTransferred(address,address) (#19) is not in CapWords
Function Ownable.transferoinership_transferoinership(address) (#41-44) is not in mixedCase
Function IUniswapV2Router01.WETH() (#165) is not in mixedCase
Variable BEP20._totalSupply (#325) is not in mixedCase
Parameter DK.getRelease(address)._address (#507) is not in mixedCase
Parameter DK.setPairList(address)._address (#512) is not in mixedCase
Parameter DK.upS(uint256)._value (#517) is not in mixedCase
Parameter DK.setSfyyi(address,uint256)._address (#521) is not in mixedCase
Parameter DK.setSfyyi(address,uint256)._value (#521) is not in mixedCase
Parameter DK.getSfyyi(address)._address (#526) is not in mixedCase
Parameter DK.setMarketabbountfyyi(address,bool)._address (#531) is not in mixedCase
Parameter DK.setMarketabbountfyyi(address,bool)._value (#531) is not in mixedCase
Parameter DK.getMarketabbountfyyi(address)._address (#535) is not in mixedCase
Variable DK._Sfyyi (#502) is not in mixedCase
Constant DK._deadAddress (#503) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amnountADesired (#170) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amnountBDesired (#171)
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amnountAMin (#172) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amnountBMin (#173)
Variable IUniswapV2Router01.removeLiquidityWithPermit(address,address,uint256,uint256,uint256,address,uint256,bool,uint8,bytes32,bytes32).amnountAMin (#206) is too similar to IUniswapV2Router01.removeLiquidityWithPermit(address,address,uint256,uint256,uint256,address,uint256,bool,uint8,bytes32,bytes32).amnountBMin (#207)
Variable IUniswapV2Router01.removeLiquidity(address,address,uint256,uint256,uint256,address,uint256).amnountAMin (#189) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amnountBMin (#173)
Variable IUniswapV2Router01.removeLiquidity(address,address,uint256,uint256,uint256,address,uint256).amnountAMin (#189) is too similar to IUniswapV2Router01.removeLiquidityWithPermit(address,address,uint256,uint256,uint256,address,uint256,bool,uint8,bytes32,bytes32).amnountBMin (#207)
Variable IUniswapV2Router01.removeLiquidityWithPermit(address,address,uint256,uint256,uint256,address,uint256,bool,uint8,bytes32,bytes32).amnountAMin (#206) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amnountBMin (#173)
Variable IUniswapV2Router01.removeLiquidity(address,address,uint256,uint256,uint256,address,uint256).amnountAMin (#189) is too similar to IUniswapV2Router01.removeLiquidity(address,address,uint256,uint256,uint256,address,uint256).amnountBMin (#190)
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amnountAMin (#172) is too similar to IUniswapV2Router01.removeLiquidity(address,address,uint256,uint256,uint256,address,uint256).amnountBMin (#190)
Variable IUniswapV2Router01.removeLiquidityWithPermit(address,address,uint256,uint256,uint256,address,uint256,bool,uint8,bytes32,bytes32).amnountAMin (#206) is too similar to IUniswapV2Router01.removeLiquidity(address,address,uint256,uint256,uint256,address,uint256).amnountBMin (#190)
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amnountAMin (#172) is too similar to IUniswapV2Router01.removeLiquidityWithPermit(address,address,uint256,uint256,uint256,address,uint256,bool,uint8,bytes32,bytes32).amnountBMin (#207)
Variable BEP20._totalSupply (#325) is too similar to DK.constructor(string,string,uint256).totalSupply_ (#483)
Prevent variables from having similar names.
Additional information: link
DK.slitherConstructorConstantVariables() (#429-615) uses literals with too many digits:
- _deadAddress = 0x000000000000000000000000000000000000dEaD (#503)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
oiner() should be declared external:
- Ownable.oiner() (#26-28)
renounceoinership() should be declared external:
- Ownable.renounceoinership() (#36-38)
transferoinership_transferoinership(address) should be declared external:
- Ownable.transferoinership_transferoinership(address) (#41-44)
name() should be declared external:
- BEP20.name() (#341-343)
symbol() should be declared external:
- BEP20.symbol() (#345-347)
approve(address,uint256) should be declared external:
- BEP20.approve(address,uint256) (#364-368)
increaseAllowance(address,uint256) should be declared external:
- BEP20.increaseAllowance(address,uint256) (#371-375)
decreaseAllowance(address,uint256) should be declared external:
- BEP20.decreaseAllowance(address,uint256) (#377-386)
balanceOf(address) should be declared external:
- DK.balanceOf(address) (#434-436)
transferFrom(address,address,uint256) should be declared external:
- DK.transferFrom(address,address,uint256) (#603-613)
Use the external attribute for functions never called from the contract.
Additional information: link
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
Unable to verify that token and website are owned by the same team (no listings + unable to find contract on website)
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find whitepaper link on the website
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
Token is marked as scam (rug pull, honeypot, phishing, etc.)
Additional information: link
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Token is relatively young, but twitter if very old (probably it's fake).
Young tokens have high risks of price dump / death
Telegram account link seems to be invalid
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account