Dether Token Logo

DTH [Dether] Token

About DTH

Listings

Token 19 months
CoinGecko 4 years
CoinMarketCap 4 years

Website

white paper

Dether is a decentralized and user friendly mobile app that enables to trade ether for cash. Dether is building a P2P ecosystem of crypto buyers, sellers and physical shops willing to trade ether and tokens for fiat currency without any middleman.

Laser Scorebeta Last Audit: 9 April 2022

report
Token is either risky or in presale. For presale 30+ is a fine score.

Anti-Scam

Links


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


Contract ownership is not renounced (belongs to a wallet)

AnyswapV4ERC20.delay (#146) should be constant
AnyswapV4ERC20.delayDelay (#163) should be constant
AnyswapV4ERC20.pendingDelay (#162) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

SafeERC20.safeApprove(IERC20,address,uint256) (#103-108) is never used and should be removed
Remove unused functions.

Additional information: link

Pragma version0.8.2 (#11) allows old versions
solc-0.8.2 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 SafeERC20.callOptionalReturn(IERC20,bytes) (#109-120):
- (success,returndata) = address(token).call(data) (#113)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

AnyswapV4ERC20.depositWithTransferPermit(address,uint256,uint256,uint8,bytes32,bytes32,address) (#327-330) ignores return value by IERC20(underlying).transferWithPermit(target,address(this),value,deadline,v,r,s) (#328)
Ensure that all the return values of the function calls are used.

Additional information: link

AnyswapV4ERC20.initVault(address)._vault (#191) lacks a zero-check on :
- vault = _vault (#193)
- pendingVault = _vault (#194)
AnyswapV4ERC20.setMinter(address)._auth (#201) lacks a zero-check on :
- pendingMinter = _auth (#202)
AnyswapV4ERC20.setVault(address)._vault (#206) lacks a zero-check on :
- pendingVault = _vault (#207)
AnyswapV4ERC20.constructor(string,string,uint8,address,address)._underlying (#286) lacks a zero-check on :
- underlying = _underlying (#290)
AnyswapV4ERC20.constructor(string,string,uint8,address,address)._vault (#286) lacks a zero-check on :
- vault = _vault (#301)
- pendingVault = _vault (#302)
Check that the address is not zero.

Additional information: link

Reentrancy in AnyswapV4ERC20.deposit() (#332-336):
External calls:
- IERC20(underlying).safeTransferFrom(msg.sender,address(this),_amount) (#334)
State variables written after the call(s):
- _deposit(_amount,msg.sender) (#335)
- _totalSupply += amount (#392)
- _deposit(_amount,msg.sender) (#335)
- balanceOf[account] += amount (#393)
Reentrancy in AnyswapV4ERC20.deposit(uint256) (#338-341):
External calls:
- IERC20(underlying).safeTransferFrom(msg.sender,address(this),amount) (#339)
State variables written after the call(s):
- _deposit(amount,msg.sender) (#340)
- _totalSupply += amount (#392)
- _deposit(amount,msg.sender) (#340)
- balanceOf[account] += amount (#393)
Reentrancy in AnyswapV4ERC20.deposit(uint256,address) (#343-346):
External calls:
- IERC20(underlying).safeTransferFrom(msg.sender,address(this),amount) (#344)
State variables written after the call(s):
- _deposit(amount,to) (#345)
- _totalSupply += amount (#392)
- _deposit(amount,to) (#345)
- balanceOf[account] += amount (#393)
Reentrancy in AnyswapV4ERC20.depositWithPermit(address,uint256,uint256,uint8,bytes32,bytes32,address) (#321-325):
External calls:
- IERC20(underlying).permit(target,address(this),value,deadline,v,r,s) (#322)
- IERC20(underlying).safeTransferFrom(target,address(this),value) (#323)
State variables written after the call(s):
- _deposit(value,to) (#324)
- _totalSupply += amount (#392)
- _deposit(value,to) (#324)
- balanceOf[account] += amount (#393)
Reentrancy in AnyswapV4ERC20.depositWithTransferPermit(address,uint256,uint256,uint8,bytes32,bytes32,address) (#327-330):
External calls:
- IERC20(underlying).transferWithPermit(target,address(this),value,deadline,v,r,s) (#328)
State variables written after the call(s):
- _deposit(value,to) (#329)
- _totalSupply += amount (#392)
- _deposit(value,to) (#329)
- balanceOf[account] += amount (#393)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in AnyswapV4ERC20.deposit() (#332-336):
External calls:
- IERC20(underlying).safeTransferFrom(msg.sender,address(this),_amount) (#334)
Event emitted after the call(s):
- Transfer(address(0),account,amount) (#394)
- _deposit(_amount,msg.sender) (#335)
Reentrancy in AnyswapV4ERC20.deposit(uint256) (#338-341):
External calls:
- IERC20(underlying).safeTransferFrom(msg.sender,address(this),amount) (#339)
Event emitted after the call(s):
- Transfer(address(0),account,amount) (#394)
- _deposit(amount,msg.sender) (#340)
Reentrancy in AnyswapV4ERC20.deposit(uint256,address) (#343-346):
External calls:
- IERC20(underlying).safeTransferFrom(msg.sender,address(this),amount) (#344)
Event emitted after the call(s):
- Transfer(address(0),account,amount) (#394)
- _deposit(amount,to) (#345)
Reentrancy in AnyswapV4ERC20.depositWithPermit(address,uint256,uint256,uint8,bytes32,bytes32,address) (#321-325):
External calls:
- IERC20(underlying).permit(target,address(this),value,deadline,v,r,s) (#322)
- IERC20(underlying).safeTransferFrom(target,address(this),value) (#323)
Event emitted after the call(s):
- Transfer(address(0),account,amount) (#394)
- _deposit(value,to) (#324)
Reentrancy in AnyswapV4ERC20.depositWithTransferPermit(address,uint256,uint256,uint8,bytes32,bytes32,address) (#327-330):
External calls:
- IERC20(underlying).transferWithPermit(target,address(this),value,deadline,v,r,s) (#328)
Event emitted after the call(s):
- Transfer(address(0),account,amount) (#394)
- _deposit(value,to) (#329)
Apply the check-effects-interactions pattern.

Additional information: link

AnyswapV4ERC20.mpc() (#180-185) uses timestamp for comparisons
Dangerous comparisons:
- block.timestamp >= delayVault (#181)
AnyswapV4ERC20.applyVault() (#211-214) uses timestamp for comparisons
Dangerous comparisons:
- require(bool)(block.timestamp >= delayVault) (#212)
AnyswapV4ERC20.applyMinter() (#216-220) uses timestamp for comparisons
Dangerous comparisons:
- require(bool)(block.timestamp >= delayMinter) (#217)
AnyswapV4ERC20.permit(address,address,uint256,uint256,uint8,bytes32,bytes32) (#449-466) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp <= deadline,AnyswapV3ERC20: Expired permit) (#450)
AnyswapV4ERC20.transferWithPermit(address,address,uint256,uint256,uint8,bytes32,bytes32) (#468-492) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp <= deadline,AnyswapV3ERC20: Expired permit) (#469)
Avoid relying on block.timestamp.

Additional information: link

Address.isContract(address) (#83-89) uses assembly
- INLINE ASM (#87)
AnyswapV4ERC20.constructor(string,string,uint8,address,address) (#286-314) uses assembly
- INLINE ASM (#306)
Do not use evm assembly.

Additional information: link

Parameter AnyswapV4ERC20.initVault(address)._vault (#191) is not in mixedCase
Parameter AnyswapV4ERC20.setMinter(address)._auth (#201) is not in mixedCase
Parameter AnyswapV4ERC20.setVault(address)._vault (#206) is not in mixedCase
Parameter AnyswapV4ERC20.revokeMinter(address)._auth (#223) is not in mixedCase
Function AnyswapV4ERC20.Swapin(bytes32,address,uint256) (#259-263) is not in mixedCase
Function AnyswapV4ERC20.Swapout(uint256,address) (#265-271) is not in mixedCase
Variable AnyswapV4ERC20.DOMAIN_SEPARATOR (#133) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

owner() should be declared external:
- AnyswapV4ERC20.owner() (#176-178)
changeMPCOwner(address) should be declared external:
- AnyswapV4ERC20.changeMPCOwner(address) (#240-246)
Swapin(bytes32,address,uint256) should be declared external:
- AnyswapV4ERC20.Swapin(bytes32,address,uint256) (#259-263)
Swapout(uint256,address) should be declared external:
- AnyswapV4ERC20.Swapout(uint256,address) (#265-271)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.


Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.


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


Average 30d PancakeSwap liquidity is low.


Number of Binance Smart Chain (BSC) token holders is low.


Last post in Twitter was more than 180 days ago


Telegram account has relatively few subscribers


Unable to find Youtube account


BscScan page for the token does not contain additional info: website, socials, description, etc.

Additional information: link


Unable to find token contract audit


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 Telegram link on the website


Unable to find token on CoinHunt

Additional information: link


Alexa traffic rank is very low

Additional information: link


Token has a considerable age, but average PancakeSwap 30d trading volume is low

Price for DTH

News for DTH