Dankswap Finance aims to offer AMM and yield farming platform with its native token Weed. Dankswap users will be also able to stake WEED to farm more WEED in the DAB Dankpool.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
WeedToken._writeCheckpoint(address,uint32,uint256,uint256) (WeedToken.sol#226-244) uses a dangerous strict equality:
- nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber (WeedToken.sol#236)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
Contract ownership is semi-renounced (passed to a contract)
BEP20.constructor(string,string).name (BEP20.sol#58) shadows:
- BEP20.name() (BEP20.sol#74-76) (function)
- IBEP20.name() (IBEP20.sol#24) (function)
BEP20.constructor(string,string).symbol (BEP20.sol#58) shadows:
- BEP20.symbol() (BEP20.sol#88-90) (function)
- IBEP20.symbol() (IBEP20.sol#19) (function)
BEP20.allowance(address,address).owner (BEP20.sol#122) shadows:
- Ownable.owner() (Ownable.sol#36-38) (function)
BEP20._approve(address,address,uint256).owner (BEP20.sol#294) shadows:
- Ownable.owner() (Ownable.sol#36-38) (function)
Rename the local variables that shadow another component.
Additional information: link
WeedToken.constructor(address)._treasury (WeedToken.sol#20) lacks a zero-check on :
- treasury = _treasury (WeedToken.sol#22)
Check that the address is not zero.
Additional information: link
WeedToken.delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32) (WeedToken.sol#92-133) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now <= expiry,WEED::delegateBySig: signature expired) (WeedToken.sol#131)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (Address.sol#26-37) uses assembly
- INLINE ASM (Address.sol#33-35)
Address._functionCallWithValue(address,bytes,uint256,string) (Address.sol#134-160) uses assembly
- INLINE ASM (Address.sol#152-155)
WeedToken.getChainId() (WeedToken.sol#251-255) uses assembly
- INLINE ASM (WeedToken.sol#253)
Do not use evm assembly.
Additional information: link
Different versions of Solidity is used:
- Version used: ['0.6.12', '>=0.4.0', '^0.6.2']
- ^0.6.2 (Address.sol#3)
- >=0.4.0 (BEP20.sol#3)
- >=0.4.0 (Context.sol#3)
- >=0.4.0 (IBEP20.sol#3)
- >=0.4.0 (Ownable.sol#3)
- >=0.4.0 (SafeMath.sol#3)
- 0.6.12 (WeedToken.sol#1)
Use one Solidity version.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (Address.sol#134-160) is never used and should be removed
Address.functionCall(address,bytes) (Address.sol#81-83) is never used and should be removed
Address.functionCall(address,bytes,string) (Address.sol#91-97) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (Address.sol#110-116) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (Address.sol#124-132) is never used and should be removed
Address.isContract(address) (Address.sol#26-37) is never used and should be removed
Address.sendValue(address,uint256) (Address.sol#55-61) is never used and should be removed
BEP20._burn(address,uint256) (BEP20.sol#272-278) is never used and should be removed
BEP20._burnFrom(address,uint256) (BEP20.sol#311-318) is never used and should be removed
Context._msgData() (Context.sol#24-27) is never used and should be removed
SafeMath.div(uint256,uint256) (SafeMath.sol#107-109) is never used and should be removed
SafeMath.div(uint256,uint256,string) (SafeMath.sol#123-133) is never used and should be removed
SafeMath.min(uint256,uint256) (SafeMath.sol#172-174) is never used and should be removed
SafeMath.mod(uint256,uint256) (SafeMath.sol#147-149) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (SafeMath.sol#163-170) is never used and should be removed
SafeMath.mul(uint256,uint256) (SafeMath.sol#81-93) is never used and should be removed
SafeMath.sqrt(uint256) (SafeMath.sol#177-188) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.6.2 (Address.sol#3) allows old versions
Pragma version>=0.4.0 (BEP20.sol#3) allows old versions
Pragma version>=0.4.0 (Context.sol#3) allows old versions
Pragma version>=0.4.0 (IBEP20.sol#3) allows old versions
Pragma version>=0.4.0 (Ownable.sol#3) allows old versions
Pragma version>=0.4.0 (SafeMath.sol#3) 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
Low level call in Address.sendValue(address,uint256) (Address.sol#55-61):
- (success) = recipient.call{value: amount}() (Address.sol#59)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (Address.sol#134-160):
- (success,returndata) = target.call{value: weiValue}(data) (Address.sol#143)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Parameter WeedToken.mint(address,uint256)._to (WeedToken.sol#12) is not in mixedCase
Parameter WeedToken.mint(address,uint256)._amount (WeedToken.sol#12) is not in mixedCase
Variable WeedToken._delegates (WeedToken.sol#34) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (Context.sol#25)" inContext (Context.sol#15-28)
Remove redundant statements if they congest code but offer no value.
Additional information: link
decimals() should be declared external:
- BEP20.decimals() (BEP20.sol#81-83)
symbol() should be declared external:
- BEP20.symbol() (BEP20.sol#88-90)
totalSupply() should be declared external:
- BEP20.totalSupply() (BEP20.sol#95-97)
transfer(address,uint256) should be declared external:
- BEP20.transfer(address,uint256) (BEP20.sol#114-117)
allowance(address,address) should be declared external:
- BEP20.allowance(address,address) (BEP20.sol#122-124)
approve(address,uint256) should be declared external:
- BEP20.approve(address,uint256) (BEP20.sol#133-136)
transferFrom(address,address,uint256) should be declared external:
- BEP20.transferFrom(address,address,uint256) (BEP20.sol#150-162)
increaseAllowance(address,uint256) should be declared external:
- BEP20.increaseAllowance(address,uint256) (BEP20.sol#176-179)
decreaseAllowance(address,uint256) should be declared external:
- BEP20.decreaseAllowance(address,uint256) (BEP20.sol#195-202)
mint(uint256) should be declared external:
- BEP20.mint(uint256) (BEP20.sol#212-215)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (Ownable.sol#55-58)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (Ownable.sol#64-66)
mint(address,uint256) should be declared external:
- WeedToken.mint(address,uint256) (WeedToken.sol#12-15)
Use the external attribute for functions never called from the contract.
Additional information: link
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 website, listings and other project-related information
Token has a considerable age, but we're still unable to find its website
Token is marked as risky (blacklisted creator, fake name, dead project, etc.)
Additional information: link
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Token has a considerable age, but social accounts / website are missing or have few users
Token has a considerable age, but average PancakeSwap 30d trading volume is low
Telegram account link seems to be invalid
Twitter account link seems to be invalid
Unable to find Youtube account
Unable to find Discord account