1Doge is the First Doge Play To Earn NFT Gaming
1Doge is building a comprehensive platform with Static reflection and play to earn gaming mechanisms to enable gamers from all over the world experience Gaming and NFT on the blockchain
OUR STORY
Over the years, 1Doge, first son of Doge has watched his father and siblings try to attain the one dollar ($1) goal but none of the members of its clan have been able to achieve this, 1Doge is the youngest and yet bravest of this rare bloodline. 1Doge seeks to restore the last dollar hope to Daddy doge by showing his new improved transaction speeds and play to earn utility.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in OneDoge._transfer(address,address,uint256) (#908-979):
External calls:
- BP.protect(sender,recipient,amount) (#918)
- buyAndBurnToken() (#953)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: address(this).balance}(0,path,address(buybackWallet),block.timestamp) (#1087-1092)
- swapAndLiquify(contractTokenBalance) (#958)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1121-1128)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1073-1079)
External calls sending eth:
- buyAndBurnToken() (#953)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: address(this).balance}(0,path,address(buybackWallet),block.timestamp) (#1087-1092)
- swapAndLiquify(contractTokenBalance) (#958)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1121-1128)
State variables written after the call(s):
- transferAmount = collectFee(sender,recipient,amount,rate) (#963)
- _reflectionBalance[address(this)] = _reflectionBalance[address(this)].add(_liquidityFee.mul(rate)) (#997)
- _reflectionBalance[teamWallet] = _reflectionBalance[teamWallet].add(_sellFee.mul(rate)) (#1009)
- _reflectionBalance[sender] = _reflectionBalance[sender].sub(amount.mul(rate)) (#967)
- _reflectionBalance[recipient] = _reflectionBalance[recipient].add(transferAmount.mul(rate)) (#968)
- transferAmount = collectFee(sender,recipient,amount,rate) (#963)
- _reflectionTotal = _reflectionTotal.sub(_taxFee.mul(rate)) (#988)
- transferAmount = collectFee(sender,recipient,amount,rate) (#963)
- _tokenBalance[address(this)] = _tokenBalance[address(this)].add(_liquidityFee) (#999)
- _tokenBalance[teamWallet] = _tokenBalance[teamWallet].add(_sellFee) (#1011)
- _tokenBalance[sender] = _tokenBalance[sender].sub(amount) (#972)
- _tokenBalance[recipient] = _tokenBalance[recipient].add(transferAmount) (#975)
Apply the check-effects-interactions pattern.
Additional information: link
OneDoge.collectFee(address,address,uint256,uint256) (#981-1018) performs a multiplication on the result of a division:
-_sellFee = amount.mul(sellFee).div(10 ** (feeDecimal + 2)) (#1007)
-_reflectionBalance[teamWallet] = _reflectionBalance[teamWallet].add(_sellFee.mul(rate)) (#1009)
Consider ordering multiplication before division.
Additional information: link
OneDoge.addLiquidity(uint256,uint256) (#1116-1129) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1121-1128)
Ensure that all the return values of the function calls are used.
Additional information: link
OneDoge._approve(address,address,uint256).owner (#897) shadows:
- Ownable.owner() (#494-496) (function)
Rename the local variables that shadow another component.
Additional information: link
OneDoge.setAdmin(address) (#1174-1176) should emit an event for:
- admin = account (#1175)
Emit an event for critical parameter changes.
Additional information: link
OneDoge.setAdmin(address).account (#1174) lacks a zero-check on :
- admin = account (#1175)
Check that the address is not zero.
Additional information: link
Reentrancy in OneDoge.transferFrom(address,address,uint256) (#805-814):
External calls:
- _transfer(sender,recipient,amount) (#810)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1121-1128)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: address(this).balance}(0,path,address(buybackWallet),block.timestamp) (#1087-1092)
- BP.protect(sender,recipient,amount) (#918)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1073-1079)
External calls sending eth:
- _transfer(sender,recipient,amount) (#810)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1121-1128)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: address(this).balance}(0,path,address(buybackWallet),block.timestamp) (#1087-1092)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#812)
- _allowances[owner][spender] = amount (#904)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in OneDoge.transferFrom(address,address,uint256) (#805-814):
External calls:
- _transfer(sender,recipient,amount) (#810)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1121-1128)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: address(this).balance}(0,path,address(buybackWallet),block.timestamp) (#1087-1092)
- BP.protect(sender,recipient,amount) (#918)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1073-1079)
External calls sending eth:
- _transfer(sender,recipient,amount) (#810)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1121-1128)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: address(this).balance}(0,path,address(buybackWallet),block.timestamp) (#1087-1092)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#905)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#812)
Apply the check-effects-interactions pattern.
Additional information: link
OneDoge._transfer(address,address,uint256) (#908-979) uses timestamp for comparisons
Dangerous comparisons:
- lastVolumnTrack + 86400 < block.timestamp (#932)
- lastCooldownCycleStart[sender] + cooldownTime < block.timestamp (#941)
Avoid relying on block.timestamp.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#431-459) uses assembly
- INLINE ASM (#451-454)
Do not use evm assembly.
Additional information: link
SafeMath.mod(uint256,uint256,string) (#271-278) is never used and should be removed
Remove unused functions.
Additional information: link
OneDoge.cooldownAmount (#696) is set pre-construction with a non-constant function or state variable:
- _tokenTotal.mul(5).div(1000)
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.
Additional information: link
Pragma version^0.6.0 (#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._functionCallWithValue(address,bytes,uint256,string) (#431-459):
- (success,returndata) = target.call{value: weiValue}(data) (#440-442)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable OneDoge.BP (#661) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#21)" inContext (#15-24)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#547) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#548)
Prevent variables from having similar names.
Additional information: link
OneDoge.constructor() (#718-745) uses literals with too many digits:
- _excluded.push(0x0000000000000000000000000000000000000000) (#738)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
OneDoge.feeDecimal (#665) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
reflectionFromToken(uint256) should be declared external:
- OneDoge.reflectionFromToken(uint256) (#849-856)
Use the external attribute for functions never called from the contract.
Additional information: link
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
Unable to find token contract audit
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find token on CoinHunt
Additional information: link
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Token has relatively low CoinMarketCap rank
Twitter account link seems to be invalid
Unable to find Youtube account
Unable to find Discord account