WDIAMOND (DMDW)
Blockchain based new economy & storage of wealth solution
Get started with the easiest and most secure platform to buy, sell, trade, and earn cryptocurrencies.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Contract ownership is not renounced (belongs to a wallet)
WDIAMOND.clear(uint256)._owner (#722) lacks a zero-check on :
- _owner.transfer(amount) (#723)
Check that the address is not zero.
Additional information: link
Different versions of Solidity is used:
- Version used: ['^0.8.0', '^0.8.4']
- ^0.8.4 (#5)
- ^0.8.0 (#84)
- ^0.8.0 (#113)
- ^0.8.0 (#140)
- ^0.8.0 (#446)
- ^0.8.0 (#488)
- ^0.8.0 (#580)
- ^0.8.0 (#648)
Use one Solidity version.
Additional information: link
Context._msgData() (#130-133) is never used and should be removed
Pausable._pause() (#558-561) is never used and should be removed
Pausable._unpause() (#570-573) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.8.0 (#84) allows old versions
Pragma version^0.8.0 (#113) allows old versions
Pragma version^0.8.0 (#140) allows old versions
Pragma version^0.8.0 (#446) allows old versions
Pragma version^0.8.0 (#488) allows old versions
Pragma version^0.8.0 (#580) allows old versions
Pragma version^0.8.0 (#648) allows old versions
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 WDIAMOND.getAirdrop(address)._refer (#670) is not in mixedCase
Parameter WDIAMOND.tokenSale(address)._refer (#681) is not in mixedCase
Parameter WDIAMOND.startAirdrop(uint256,uint256,uint256,uint256)._aSBlock (#704) is not in mixedCase
Parameter WDIAMOND.startAirdrop(uint256,uint256,uint256,uint256)._aEBlock (#704) is not in mixedCase
Parameter WDIAMOND.startAirdrop(uint256,uint256,uint256,uint256)._aAmt (#704) is not in mixedCase
Parameter WDIAMOND.startAirdrop(uint256,uint256,uint256,uint256)._aCap (#704) is not in mixedCase
Parameter WDIAMOND.startSale(uint256,uint256,uint256,uint256,uint256)._sSBlock (#711) is not in mixedCase
Parameter WDIAMOND.startSale(uint256,uint256,uint256,uint256,uint256)._sEBlock (#711) is not in mixedCase
Parameter WDIAMOND.startSale(uint256,uint256,uint256,uint256,uint256)._sChunk (#711) is not in mixedCase
Parameter WDIAMOND.startSale(uint256,uint256,uint256,uint256,uint256)._sPrice (#711) is not in mixedCase
Parameter WDIAMOND.startSale(uint256,uint256,uint256,uint256,uint256)._sCap (#711) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#131)" inContext (#125-134)
Remove redundant statements if they congest code but offer no value.
Additional information: link
WDIAMOND.constructor() (#661-666) uses literals with too many digits:
- _mint(msg.sender,500000 * 10 ** decimals()) (#662)
WDIAMOND.constructor() (#661-666) uses literals with too many digits:
- _mint(address(this),4500000 * 10 ** decimals()) (#663)
WDIAMOND.constructor() (#661-666) uses literals with too many digits:
- startSale(block.number,999999999,0,5000 * 10 ** decimals(),2000000000000) (#664)
WDIAMOND.constructor() (#661-666) uses literals with too many digits:
- startAirdrop(block.number,999999999,10 * 10 ** decimals(),2000000000000) (#665)
WDIAMOND.getAirdrop(address) (#670-679) uses literals with too many digits:
- msg.sender != _refer && balanceOf(_refer) != 0 && _refer != 0x0000000000000000000000000000000000000000 (#674)
WDIAMOND.tokenSale(address) (#681-695) uses literals with too many digits:
- msg.sender != _refer && balanceOf(_refer) != 0 && _refer != 0x0000000000000000000000000000000000000000 (#688)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
WDIAMOND.startAirdrop(uint256,uint256,uint256,uint256) (#704-710) should emit an event for:
- aSBlock = _aSBlock (#705)
- aEBlock = _aEBlock (#706)
- aAmt = _aAmt (#707)
- aCap = _aCap (#708)
WDIAMOND.startSale(uint256,uint256,uint256,uint256,uint256) (#711-718) should emit an event for:
- sSBlock = _sSBlock (#712)
- sEBlock = _sEBlock (#713)
- sChunk = _sChunk (#714)
- sPrice = _sPrice (#715)
- sCap = _sCap (#716)
Emit an event for critical parameter changes.
Additional information: link
WDIAMOND.clear(uint256)._owner (#722) shadows:
- Ownable._owner (#595) (state variable)
Rename the local variables that shadow another component.
Additional information: link
name() should be declared external:
- ERC20.name() (#196-198)
symbol() should be declared external:
- ERC20.symbol() (#204-206)
totalSupply() should be declared external:
- ERC20.totalSupply() (#228-230)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#247-250)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#266-269)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#284-292)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#306-309)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#325-331)
burn(uint256) should be declared external:
- ERC20Burnable.burn(uint256) (#461-463)
burnFrom(address,uint256) should be declared external:
- ERC20Burnable.burnFrom(address,uint256) (#476-481)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#630-633)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#639-643)
getAirdrop(address) should be declared external:
- WDIAMOND.getAirdrop(address) (#670-679)
tokenSale(address) should be declared external:
- WDIAMOND.tokenSale(address) (#681-695)
viewAirdrop() should be declared external:
- WDIAMOND.viewAirdrop() (#697-699)
viewSale() should be declared external:
- WDIAMOND.viewSale() (#700-702)
clear(uint256) should be declared external:
- WDIAMOND.clear(uint256) (#721-724)
Use the external attribute for functions never called from the contract.
Additional information: link
Unable to find website, listings and other project-related information
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
Young tokens have high risks of price dump / death
Telegram account link seems to be invalid
Unable to find Twitter account
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account