Outer Space Doge (OSD) is a metaverse outer space explorer platform that integrates the multi-faceted ecological application of blockchain with the metaverse as the background. The decentralized community autonomous system makes the project more open and transparent. On the platform, players can drive space The Explorer spacecraft digs minerals from outer space and a fixed lottery mode, let us look forward to the Explorer platform!
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
OSDcoin._transfer(address,address,uint256) (#613-650) uses a dangerous strict equality:
- shouldSetInviter = balanceOf(to) == 0 && inviter[to] == address(0) && from != uniswapV2Pair (#632-634)
OSDcoin.setShare(address) (#684-692) uses a dangerous strict equality:
- IERC20(uniswapV2Pair).balanceOf(shareholder) == 0 (#686)
OSDcoin.setShare(address) (#684-692) uses a dangerous strict equality:
- IERC20(uniswapV2Pair).balanceOf(shareholder) == 0 (#689)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
Contract locking ether found:
Contract OSDcoin (#413-782) has payable functions:
- OSDcoin.receive() (#568)
But does not have a function to withdraw the ether
Remove the payable attribute or add a withdraw function.
Additional information: link
Not a direct threat, but may indicate unreliable intentions of developer. Widespread names (e.g. Elon, King, Moon, Doge) are common among meme-tokens and scams. The allow to gain free hype and attract unexperienced investors.
OSDcoin._takeInviterFee(address,address,uint256) (#729-765) performs a multiplication on the result of a division:
-_tOwned[address(0)] = _tOwned[address(0)].add(tAmount.div(10000).mul(_inviterFee)) (#735)
OSDcoin._takeInviterFee(address,address,uint256) (#729-765) performs a multiplication on the result of a division:
-Transfer(sender,address(0),tAmount.div(10000).mul(_inviterFee)) (#736)
OSDcoin._takeInviterFee(address,address,uint256) (#729-765) performs a multiplication on the result of a division:
-_tOwned[address(0)] = _tOwned[address(0)].add(tAmount.div(10000).mul(_inviterFee.sub(accurRate))) (#763)
OSDcoin._takeInviterFee(address,address,uint256) (#729-765) performs a multiplication on the result of a division:
-Transfer(sender,address(0),tAmount.div(10000).mul(_inviterFee.sub(accurRate))) (#764)
OSDcoin._takeInviterFee(address,address,uint256) (#729-765) performs a multiplication on the result of a division:
-curTAmount = tAmount.div(10000).mul(rate) (#759)
OSDcoin._transferStandard(address,address,uint256) (#767-780) performs a multiplication on the result of a division:
-_takeburnFee(sender,tAmount.div(10000).mul(_burnFee)) (#769)
OSDcoin._transferStandard(address,address,uint256) (#767-780) performs a multiplication on the result of a division:
-_takeLPFee(sender,tAmount.div(10000).mul(_LPFee)) (#770)
OSDcoin._transferStandard(address,address,uint256) (#767-780) performs a multiplication on the result of a division:
-_takeMarketFee(sender,tAmount.div(10000).mul(_marketFee)) (#772)
OSDcoin._transferStandard(address,address,uint256) (#767-780) performs a multiplication on the result of a division:
-_tOwned[recipient] = _tOwned[recipient].add(tAmount.div(10000).mul(recipientRate)) (#778)
OSDcoin._transferStandard(address,address,uint256) (#767-780) performs a multiplication on the result of a division:
-Transfer(sender,recipient,tAmount.div(10000).mul(recipientRate)) (#779)
Consider ordering multiplication before division.
Additional information: link
OSDcoin.allowance(address,address).owner (#526) shadows:
- Ownable.owner() (#30-32) (function)
OSDcoin._approve(address,address,uint256).owner (#605) shadows:
- Ownable.owner() (#30-32) (function)
Rename the local variables that shadow another component.
Additional information: link
Reentrancy in OSDcoin.constructor() (#461-479):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#466)
State variables written after the call(s):
- _isExcludedFromFee[msg.sender] = true (#472)
- _isExcludedFromFee[marketAddress] = true (#473)
- _isExcludedFromFee[address(this)] = true (#474)
- isDividendExempt[address(this)] = true (#475)
- isDividendExempt[address(0)] = true (#476)
- uniswapV2Router = _uniswapV2Router (#469)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in OSDcoin.constructor() (#461-479):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#466)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_tTotal) (#478)
Apply the check-effects-interactions pattern.
Additional information: link
OSDcoin._transfer(address,address,uint256) (#613-650) uses timestamp for comparisons
Dangerous comparisons:
- _tOwned[address(this)] >= 1 * 10 ** 5 * 10 ** 9 && from != address(this) && LPFeefenhong.add(minPeriod) <= block.timestamp (#646)
Avoid relying on block.timestamp.
Additional information: link
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#149) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#151) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#165) is not in mixedCase
Function IUniswapV2Router01.WETH() (#211) is not in mixedCase
Variable OSDcoin._burnFee (#426) is not in mixedCase
Variable OSDcoin._LPFee (#429) is not in mixedCase
Variable OSDcoin._marketFee (#432) is not in mixedCase
Variable OSDcoin._inviterFee (#435) is not in mixedCase
Variable OSDcoin.LPFeefenhong (#441) is not in mixedCase
Variable OSDcoin._stopSwap (#446) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#216) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#217)
Prevent variables from having similar names.
Additional information: link
OSDcoin._takeburnFee(address,uint256) (#712-718) uses literals with too many digits:
- _tFeeTotal >= 24975000000 * 10 ** 9 (#714)
OSDcoin.slitherConstructorVariables() (#413-782) uses literals with too many digits:
- _tTotal = 25000000000 * 10 ** 9 (#438)
OSDcoin.slitherConstructorVariables() (#413-782) uses literals with too many digits:
- distributorGas = 500000 (#439)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Ownable._previousOwner (#19) is never used in OSDcoin (#413-782)
Ownable._lockTime (#20) is never used in OSDcoin (#413-782)
Remove unused state variables.
Additional information: link
OSDcoin._decimals (#424) should be constant
OSDcoin._name (#422) should be constant
OSDcoin._symbol (#423) should be constant
OSDcoin._tTotal (#438) should be constant
OSDcoin.distributorGas (#439) should be constant
OSDcoin.marketAddress (#420) should be constant
OSDcoin.minPeriod (#440) should be constant
OSDcoin.swapWhiteAddr (#447) should be constant
Ownable._lockTime (#20) should be constant
Ownable._previousOwner (#19) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
owner() should be declared external:
- Ownable.owner() (#30-32)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#39-42)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#44-48)
name() should be declared external:
- OSDcoin.name() (#481-483)
symbol() should be declared external:
- OSDcoin.symbol() (#485-487)
decimals() should be declared external:
- OSDcoin.decimals() (#489-491)
totalSupply() should be declared external:
- OSDcoin.totalSupply() (#493-495)
burn(uint256) should be declared external:
- OSDcoin.burn(uint256) (#508-510)
burnFrom(address,uint256) should be declared external:
- OSDcoin.burnFrom(address,uint256) (#512-519)
transfer(address,uint256) should be declared external:
- OSDcoin.transfer(address,uint256) (#521-524)
approve(address,uint256) should be declared external:
- OSDcoin.approve(address,uint256) (#530-533)
transferFrom(address,address,uint256) should be declared external:
- OSDcoin.transferFrom(address,address,uint256) (#535-539)
increaseAllowance(address,uint256) should be declared external:
- OSDcoin.increaseAllowance(address,uint256) (#541-544)
decreaseAllowance(address,uint256) should be declared external:
- OSDcoin.decreaseAllowance(address,uint256) (#546-550)
totalFees() should be declared external:
- OSDcoin.totalFees() (#552-554)
isExcludedFromFee(address) should be declared external:
- OSDcoin.isExcludedFromFee(address) (#556-558)
excludeFromFee(address) should be declared external:
- OSDcoin.excludeFromFee(address) (#559-561)
includeInFee(address) should be declared external:
- OSDcoin.includeInFee(address) (#563-565)
stopSwap(bool) should be declared external:
- OSDcoin.stopSwap(bool) (#570-572)
Use the external attribute for functions never called from the contract.
Additional information: link
Unable to find website, listings and other project-related information
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram account
Twitter account has relatively few followers
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account
Twitter account has few posts