DXB is the utility token that will power the DXBPay ecosystem for all future DeFi products. The DXB token is a specialized cryptocurrency with a plan to encompass multiple technologies like DeFi, merchant payment channels, incentives, and charity.
DXBPay is building a payment model that utilizes cross-chain capabilities to serve the needs of merchants, and offer a safe payment gateway that allows a wider sector of clients to shop online and pay using their crypto currency.
The final product of DXBPay will be adopted by merchants who perform large-scale and high-speed transactions and wish to expand their client's reach by accepting crypto currency as a form of payment without jeopardizing their profits and loosing on transaction fees.
It is a cost effective, fast and safe method for accepting cryptocurrency payments and can be incorporated by anyone.
In such, DXB Pay is building a complete eco-system that truly bridges the crypto universe with the real world.
The token has an intelligent contract that rewards investors in a whole new way, and a smart burning mechanisms.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
DXB.addLiquidity(uint256,uint256) (#942-955) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#947-954)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in DXB._transfer(address,address,uint256) (#824-866):
External calls:
- monitorLiquidityAndEnableSwap() (#827)
- cycleBurn(CycleBurn).updatelpSupply(_reserveDXB) (#1038)
- cycleBurn(CycleBurn).updateStartBlock(block.timestamp) (#1039)
- swapAndLiquify(contractTokenBalance) (#842)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#947-954)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#928-934)
- _swap(_fLiquidity) (#844)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1015-1021)
- IRewardPool(rewardPool).updatePool(_rewardPoolValue) (#996)
- _swap(_fLiquidity) (#847)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1015-1021)
- IRewardPool(rewardPool).updatePool(_rewardPoolValue) (#996)
- IRewardPool(rewardPool).updateHolderLiquidity(from,1) (#854)
- IRewardPool(rewardPool).updateHolderLiquidity(to,2) (#857)
- cycleBurn(CycleBurn)._updateLPSupplyAndBurn() (#861)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#842)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#947-954)
- _swap(_fLiquidity) (#844)
- require(bool,string)(address(_charityFeeWallet).send(_feeCharity),Transfer 10% BNB to charity) (#988)
- require(bool,string)(address(_marketFeeWallet).send(_feeMarket),Transfer 10% BNB to marketing) (#989)
- require(bool,string)(address(_useCaseFeeWallet).send(_feeUseCase),Transfer 10% BNB to Usecase) (#990)
- require(bool,string)(address(rewardPool).send(_rewardPoolValue),Transfer BNB to reward pool) (#995)
- _swap(_fLiquidity) (#847)
- require(bool,string)(address(_charityFeeWallet).send(_feeCharity),Transfer 10% BNB to charity) (#988)
- require(bool,string)(address(_marketFeeWallet).send(_feeMarket),Transfer 10% BNB to marketing) (#989)
- require(bool,string)(address(_useCaseFeeWallet).send(_feeUseCase),Transfer 10% BNB to Usecase) (#990)
- require(bool,string)(address(rewardPool).send(_rewardPoolValue),Transfer BNB to reward pool) (#995)
State variables written after the call(s):
- resotreAllFees() (#863)
- _addLPFee = _restoreAddLPFee (#894)
- resotreAllFees() (#863)
- _burnFee = _restoreBurnFee (#893)
- resotreAllFees() (#863)
- _liquidityFee = _restoreLiquidityFee (#892)
- resotreAllFees() (#863)
- _taxFee = _restoreTaxFee (#891)
Apply the check-effects-interactions pattern.
Additional information: link
DXB._swap(uint256) (#973-1000) uses a dangerous strict equality:
- _rewardPoolValue == 0 (#993)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
Combination 1: Reentrancy vulnerabilities + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
DXB._updateUseCaseWallet(address).usecaseWallet (#786) lacks a zero-check on :
- _useCaseFeeWallet = usecaseWallet (#786)
Check that the address is not zero.
Additional information: link
Reentrancy in DXB.updateRouter(address) (#798-802):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#800)
State variables written after the call(s):
- uniswapV2Router = _uniswapV2Router (#801)
Apply the check-effects-interactions pattern.
Additional information: link
DXB._computeFee(uint256) (#961-967) performs a multiplication on the result of a division:
-_ftax = _amount.mul(_taxFee).div(100) (#962)
-_fburn = _ftax.mul(_burnFee).div(100) (#965)
Consider ordering multiplication before division.
Additional information: link
DXB._swap(uint256) (#973-1000) ignores return value by IRewardPool(rewardPool).updatePool(_rewardPoolValue) (#996)
Ensure that all the return values of the function calls are used.
Additional information: link
DXB._approve(address,address,uint256).owner (#810) shadows:
- Ownable.owner() (#248-250) (function)
Rename the local variables that shadow another component.
Additional information: link
DXB._updateAddLPDelay(uint256) (#792) should emit an event for:
- addLPDelay = _addLPDelay (#792)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in DXB.transferFrom(address,address,uint256) (#675-680):
External calls:
- _transfer(from,to,value) (#677)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#947-954)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#928-934)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1015-1021)
- cycleBurn(CycleBurn).updatelpSupply(_reserveDXB) (#1038)
- cycleBurn(CycleBurn).updateStartBlock(block.timestamp) (#1039)
- IRewardPool(rewardPool).updatePool(_rewardPoolValue) (#996)
- IRewardPool(rewardPool).updateHolderLiquidity(from,1) (#854)
- IRewardPool(rewardPool).updateHolderLiquidity(to,2) (#857)
- cycleBurn(CycleBurn)._updateLPSupplyAndBurn() (#861)
External calls sending eth:
- _transfer(from,to,value) (#677)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#947-954)
- require(bool,string)(address(_charityFeeWallet).send(_feeCharity),Transfer 10% BNB to charity) (#988)
- require(bool,string)(address(_marketFeeWallet).send(_feeMarket),Transfer 10% BNB to marketing) (#989)
- require(bool,string)(address(_useCaseFeeWallet).send(_feeUseCase),Transfer 10% BNB to Usecase) (#990)
- require(bool,string)(address(rewardPool).send(_rewardPoolValue),Transfer BNB to reward pool) (#995)
Event emitted after the call(s):
- Approval(from,msg.sender,_allowed[from][msg.sender]) (#678)
Apply the check-effects-interactions pattern.
Additional information: link
DXB._transfer(address,address,uint256) (#824-866) uses timestamp for comparisons
Dangerous comparisons:
- (isSwapEnable) && (lastAddLPTimestamp.add(addLPDelay) <= block.timestamp) && (! inSwapAndLiquifyLP) && (from != uniswapV2Pair) && (contractTokenBalance > 0) (#840)
Avoid relying on block.timestamp.
Additional information: link
SafeMath.mod(uint256,uint256,string) (#213-216) is never used and should be removed
Remove unused functions.
Additional information: link
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
Variable DXB._maxAmountPerTx (#567) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#225)" inContext (#219-228)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in DXB.transferFrom(address,address,uint256) (#675-680):
External calls:
- _transfer(from,to,value) (#677)
- require(bool,string)(address(_charityFeeWallet).send(_feeCharity),Transfer 10% BNB to charity) (#988)
- require(bool,string)(address(_marketFeeWallet).send(_feeMarket),Transfer 10% BNB to marketing) (#989)
- require(bool,string)(address(_useCaseFeeWallet).send(_feeUseCase),Transfer 10% BNB to Usecase) (#990)
- require(bool,string)(address(rewardPool).send(_rewardPoolValue),Transfer BNB to reward pool) (#995)
External calls sending eth:
- _transfer(from,to,value) (#677)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#947-954)
- require(bool,string)(address(_charityFeeWallet).send(_feeCharity),Transfer 10% BNB to charity) (#988)
- require(bool,string)(address(_marketFeeWallet).send(_feeMarket),Transfer 10% BNB to marketing) (#989)
- require(bool,string)(address(_useCaseFeeWallet).send(_feeUseCase),Transfer 10% BNB to Usecase) (#990)
- require(bool,string)(address(rewardPool).send(_rewardPoolValue),Transfer BNB to reward pool) (#995)
Event emitted after the call(s):
- Approval(from,msg.sender,_allowed[from][msg.sender]) (#678)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#357) is too similar to IUniswapV2Router.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#358)
Prevent variables from having similar names.
Additional information: link
DXB.slitherConstructorVariables() (#514-1084) uses literals with too many digits:
- _maxAmountPerTx = 5000000 * 10 ** 18 (#567)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Ownable._previousOwner (#232) is never used in DXB (#514-1084)
Remove unused state variables.
Additional information: link
Ownable._previousOwner (#232) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
updateRouter(address) should be declared external:
- DXB.updateRouter(address) (#798-802)
Use the external attribute for functions never called from the contract.
Additional information: link
Unable to crawl data from the website
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 Twitter link on the website
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
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Twitter account link seems to be invalid