Dynamix, The first token created with an evolving algorithm based on events. Increases Rewards system, Decreases Sell fees, Scalable buyback and burn system.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in Dynamix._transfer(address,address,uint256) (Dynamix.sol#79-115):
External calls:
- _sellAndBuy() (Dynamix.sol#108)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(token,0,path,address(this),block.timestamp) (Swap.sol#75-81)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnb}(0,path,deadAddress,block.timestamp.add(300)) (Swap.sol#95-100)
External calls sending eth:
- _sellAndBuy() (Dynamix.sol#108)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnb}(0,path,deadAddress,block.timestamp.add(300)) (Swap.sol#95-100)
State variables written after the call(s):
- amount = _transfer(sender,recipient,amount,rewardFee) (Dynamix.sol#112)
- _balances[sender].reward = _balances[sender].reward.sub(rewardAmount,reward sub rewardAmount) (Reward.sol#50)
- _balances[recipient].reward = _balances[recipient].reward.add(rewardToTransferAmount) (Reward.sol#51)
- _balances[sender].token = _balances[sender].token.sub(tokenAmount,token sub tokenAmount) (Reward.sol#55)
- _balances[recipient].token = _balances[recipient].token.add(tokenToTransfertAmount) (Reward.sol#58)
- amount = _transfer(sender,recipient,amount,rewardFee) (Dynamix.sol#112)
- _rewardSupply = _rewardSupply.sub(rewardFee,_rewardSupply sub rewardFee) (Reward.sol#61)
- amount = _transfer(sender,recipient,amount,rewardFee) (Dynamix.sol#112)
- holders ++ (Holder.sol#14)
- holders -- (Holder.sol#20)
Apply the check-effects-interactions pattern.
Additional information: link
Dynamix.decimals (Dynamix.sol#32) should be constant
Dynamix.name (Dynamix.sol#30) should be constant
Dynamix.symbol (Dynamix.sol#31) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
totalSupply() should be declared external:
- Dynamix.totalSupply() (Dynamix.sol#39-41)
transfer(address,uint256) should be declared external:
- Dynamix.transfer(address,uint256) (Dynamix.sol#50-53)
allowance(address,address) should be declared external:
- Dynamix.allowance(address,address) (Dynamix.sol#55-57)
approve(address,uint256) should be declared external:
- Dynamix.approve(address,uint256) (Dynamix.sol#59-62)
transferFrom(address,address,uint256) should be declared external:
- Dynamix.transferFrom(address,address,uint256) (Dynamix.sol#64-68)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (Ownable.sol#44-46)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (Ownable.sol#52-55)
Use the external attribute for functions never called from the contract.
Additional information: link
Reward.includeAccountInRewards(address) (Reward.sol#118-132) has costly operations inside a loop:
- _excludedFromRewardAddr.pop() (Reward.sol#124)
Use a local variable to hold the loop computation result.
Additional information: link
Fee._getSellFee(uint256,uint256) (Fee.sol#92-105) performs a multiplication on the result of a division:
-tokenToTeam = amount.mul(fee).div(100) (Fee.sol#98)
-tokenToBuyBack = tokenToTeam.mul(35).div(100) (Fee.sol#101)
Reward._transfer(address,address,uint256,uint256) (Reward.sol#36-66) performs a multiplication on the result of a division:
-tokenFee = tokenAmount.mul(fee).div(100) (Reward.sol#41)
-rewardFee = tokenFee.mul(rate) (Reward.sol#46)
Consider ordering multiplication before division.
Additional information: link
Dynamix._transfer(address,address,uint256).tokenToOwner_scope_1 (Dynamix.sol#98) is a local variable never initialized
Dynamix._transfer(address,address,uint256).tokenToTeam_scope_0 (Dynamix.sol#98) is a local variable never initialized
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.
Additional information: link
Dynamix.constructor(uint256).totalSupply (Dynamix.sol#34) shadows:
- Dynamix.totalSupply() (Dynamix.sol#39-41) (function)
- IERC20.totalSupply() (IERC20.sol#11) (function)
Dynamix.allowance(address,address).owner (Dynamix.sol#55) shadows:
- Ownable.owner() (Ownable.sol#25-27) (function)
Dynamix._approve(address,address,uint256).owner (Dynamix.sol#70) shadows:
- Ownable.owner() (Ownable.sol#25-27) (function)
Rename the local variables that shadow another component.
Additional information: link
Fee.setTeamAddress(address).addr (Fee.sol#122) lacks a zero-check on :
- teamAddress = addr (Fee.sol#123)
Check that the address is not zero.
Additional information: link
Variable 'Dynamix._transfer(address,address,uint256).tokenToOwner (Dynamix.sol#85)' in Dynamix._transfer(address,address,uint256) (Dynamix.sol#79-115) potentially used before declaration: (tokenToBuyBack,tokenToTeam,tokenToOwner) = _getSellFee(amount,_balances[sender].timestamp) (Dynamix.sol#98)
Variable 'Dynamix._transfer(address,address,uint256).tokenToTeam (Dynamix.sol#85)' in Dynamix._transfer(address,address,uint256) (Dynamix.sol#79-115) potentially used before declaration: (tokenToBuyBack,tokenToTeam,tokenToOwner) = _getSellFee(amount,_balances[sender].timestamp) (Dynamix.sol#98)
Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.
Additional information: link
Reentrancy in Dynamix._sellAndBuy() (Dynamix.sol#128-145):
External calls:
- _swapTokensForBNB(contractToken) (Dynamix.sol#135)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(token,0,path,address(this),block.timestamp) (Swap.sol#75-81)
State variables written after the call(s):
- _approve(address(this),address(uniswapV2Router),contractBnb) (Dynamix.sol#142)
- _allowances[owner][spender] = amount (Dynamix.sol#74)
Reentrancy in Swap.constructor() (Swap.sol#43-49):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (Swap.sol#47)
State variables written after the call(s):
- uniswapV2Router = _uniswapV2Router (Swap.sol#48)
Reentrancy in Dynamix.transferFrom(address,address,uint256) (Dynamix.sol#64-68):
External calls:
- _transfer(sender,recipient,amount) (Dynamix.sol#65)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(token,0,path,address(this),block.timestamp) (Swap.sol#75-81)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnb}(0,path,deadAddress,block.timestamp.add(300)) (Swap.sol#95-100)
External calls sending eth:
- _transfer(sender,recipient,amount) (Dynamix.sol#65)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnb}(0,path,deadAddress,block.timestamp.add(300)) (Swap.sol#95-100)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (Dynamix.sol#66)
- _allowances[owner][spender] = amount (Dynamix.sol#74)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Swap._buyBackAndBurnToken(uint256) (Swap.sol#88-103):
External calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnb}(0,path,deadAddress,block.timestamp.add(300)) (Swap.sol#95-100)
Event emitted after the call(s):
- BuyBackAndBurned(bnb,path) (Swap.sol#102)
Reentrancy in Dynamix._sellAndBuy() (Dynamix.sol#128-145):
External calls:
- _swapTokensForBNB(contractToken) (Dynamix.sol#135)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(token,0,path,address(this),block.timestamp) (Swap.sol#75-81)
Event emitted after the call(s):
- Approval(owner,spender,amount) (Dynamix.sol#75)
- _approve(address(this),address(uniswapV2Router),contractBnb) (Dynamix.sol#142)
Reentrancy in Dynamix._sellAndBuy() (Dynamix.sol#128-145):
External calls:
- _swapTokensForBNB(contractToken) (Dynamix.sol#135)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(token,0,path,address(this),block.timestamp) (Swap.sol#75-81)
- _buyBackAndBurnToken(contractBnb) (Dynamix.sol#143)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnb}(0,path,deadAddress,block.timestamp.add(300)) (Swap.sol#95-100)
External calls sending eth:
- _buyBackAndBurnToken(contractBnb) (Dynamix.sol#143)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnb}(0,path,deadAddress,block.timestamp.add(300)) (Swap.sol#95-100)
Event emitted after the call(s):
- BuyBackAndBurned(bnb,path) (Swap.sol#102)
- _buyBackAndBurnToken(contractBnb) (Dynamix.sol#143)
Reentrancy in Swap._swapTokensForBNB(uint256) (Swap.sol#70-85):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(token,0,path,address(this),block.timestamp) (Swap.sol#75-81)
Event emitted after the call(s):
- SwapTokensForBNB(token,address(this),path) (Swap.sol#83)
Reentrancy in Dynamix._transfer(address,address,uint256) (Dynamix.sol#79-115):
External calls:
- _sellAndBuy() (Dynamix.sol#108)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(token,0,path,address(this),block.timestamp) (Swap.sol#75-81)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnb}(0,path,deadAddress,block.timestamp.add(300)) (Swap.sol#95-100)
External calls sending eth:
- _sellAndBuy() (Dynamix.sol#108)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnb}(0,path,deadAddress,block.timestamp.add(300)) (Swap.sol#95-100)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (Dynamix.sol#114)
Reentrancy in Dynamix.transferFrom(address,address,uint256) (Dynamix.sol#64-68):
External calls:
- _transfer(sender,recipient,amount) (Dynamix.sol#65)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(token,0,path,address(this),block.timestamp) (Swap.sol#75-81)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnb}(0,path,deadAddress,block.timestamp.add(300)) (Swap.sol#95-100)
External calls sending eth:
- _transfer(sender,recipient,amount) (Dynamix.sol#65)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnb}(0,path,deadAddress,block.timestamp.add(300)) (Swap.sol#95-100)
Event emitted after the call(s):
- Approval(owner,spender,amount) (Dynamix.sol#75)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (Dynamix.sol#66)
Apply the check-effects-interactions pattern.
Additional information: link
Fee._getHoldFee(uint256) (Fee.sol#108-119) uses timestamp for comparisons
Dangerous comparisons:
- diff <= 604800 (Fee.sol#111)
- diff <= 2592000 (Fee.sol#113)
- diff <= 15552000 (Fee.sol#115)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (Address.sol#22-31) uses assembly
- INLINE ASM (Address.sol#29)
Address._functionCallWithValue(address,bytes,uint256,string) (Address.sol#115-136) uses assembly
- INLINE ASM (Address.sol#128-131)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (Address.sol#115-136) is never used and should be removed
Address.functionCall(address,bytes) (Address.sol#75-77) is never used and should be removed
Address.functionCall(address,bytes,string) (Address.sol#85-87) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (Address.sol#100-102) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (Address.sol#110-113) is never used and should be removed
Address.isContract(address) (Address.sol#22-31) is never used and should be removed
Address.sendValue(address,uint256) (Address.sol#49-55) is never used and should be removed
SafeMath.mod(uint256,uint256) (SafeMath.sol#47-49) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (SafeMath.sol#51-54) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version>=0.6.0<0.7.0 (Address.sol#2) allows old versions
Pragma version>=0.6.0<0.7.0 (Dynamix.sol#2) allows old versions
Pragma version>=0.6.0<0.7.0 (Fee.sol#2) allows old versions
Pragma version>=0.6.0<0.7.0 (Holder.sol#2) allows old versions
Pragma version>=0.6.0<0.7.0 (IERC20.sol#2) allows old versions
Pragma version>=0.6.0<0.7.0 (Ownable.sol#2) allows old versions
Pragma version>=0.6.0<0.7.0 (Reward.sol#2) allows old versions
Pragma version>=0.6.0<0.7.0 (SafeMath.sol#2) allows old versions
Pragma version>=0.6.0<0.7.0 (Swap.sol#2) allows old versions
Pragma version>=0.6.0<0.7.0 (Uniswap.sol#2) 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#49-55):
- (success) = recipient.call{value: amount}() (Address.sol#53)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (Address.sol#115-136):
- (success,returndata) = target.call{value: weiValue}(data) (Address.sol#119)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable Fee._pair (Fee.sol#12) is not in mixedCase
Variable Fee._excludedFromFee (Fee.sol#13) is not in mixedCase
Variable Reward._balances (Reward.sol#18) is not in mixedCase
Variable Reward._tokenSupply (Reward.sol#20) is not in mixedCase
Variable Reward._rewardSupply (Reward.sol#21) is not in mixedCase
Event SwapautoBuyBackChanged(bool,uint256,uint256) (Swap.sol#21-25) is not in CapWords
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (Uniswap.sol#40) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (Uniswap.sol#41) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (Uniswap.sol#57) is not in mixedCase
Function IUniswapV2Router01.WETH() (Uniswap.sol#78) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (Uniswap.sol#83) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (Uniswap.sol#84)
Prevent variables from having similar names.
Additional information: link
Swap._buyBackAndBurnToken(uint256) (Swap.sol#88-103) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (Swap.sol#89)
Fee.constructor() (Fee.sol#34-41) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (Fee.sol#35)
Fee._getRewardFee(uint256) (Fee.sol#78-89) uses literals with too many digits:
- holders <= 100000 (Fee.sol#85)
Reward.constructor(uint256) (Reward.sol#25-33) uses literals with too many digits:
- require(bool,string)(totalSupply <= 1000000000000000000000000,totalSupply is too high) (Reward.sol#26)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Unable to find token contract audit
Unable to find audit link on the website
Unable to find whitepaper link on the website
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
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Last post in Twitter was more than 30 days ago
Unable to find Youtube account
Unable to find Discord account