TradeStars is a Fantasy Sports Game powered by blockchain technology. Connects a DeFi “trading” layer with a DFS “gaming” layer in a play-to-earn model.
Users Trade fantasy stocks that represent real-life athlete’s performances, Compete against each other on different types of DFS contests, and Earn monetary and digital rewards.
TSX is the native utility token that is used for:
- Ingame staking rewards .
- Used for governance votes to determine how product resources are allocated.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
LGEWhitelisted._applyLGEWhitelist(address,address,uint256) (#1849-1880) uses a dangerous strict equality:
- _lgeTimestamp == 0 && sender != _lgePairAddress && recipient == _lgePairAddress && amount > 0 (#1854)
Don't use strict equality to determine if an account has enough Ether or tokens.
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.
AccessControlEnumerable.grantRole(bytes32,address) (#1524-1527) ignores return value by _roleMembers[role].add(account) (#1526)
AccessControlEnumerable.revokeRole(bytes32,address) (#1532-1535) ignores return value by _roleMembers[role].remove(account) (#1534)
AccessControlEnumerable.renounceRole(bytes32,address) (#1540-1543) ignores return value by _roleMembers[role].remove(account) (#1542)
AccessControlEnumerable._setupRole(bytes32,address) (#1548-1551) ignores return value by _roleMembers[role].add(account) (#1550)
Ensure that all the return values of the function calls are used.
Additional information: link
LGEWhitelisted.createLGEWhitelist(address,uint256[],uint256[]).pairAddress (#1766) lacks a zero-check on :
- _lgePairAddress = pairAddress (#1769)
Check that the address is not zero.
Additional information: link
LGEWhitelisted.getLGEWhitelistRound() (#1824-1842) uses timestamp for comparisons
Dangerous comparisons:
- _lgeTimestamp > 0 (#1826)
- block.timestamp <= wlCloseTimestampLast (#1835)
LGEWhitelisted._applyLGEWhitelist(address,address,uint256) (#1849-1880) uses timestamp for comparisons
Dangerous comparisons:
- _lgeTimestamp == 0 && sender != _lgePairAddress && recipient == _lgePairAddress && amount > 0 (#1854)
- wlRoundNumber > 0 (#1862)
Avoid relying on block.timestamp.
Additional information: link
AccessControl._setRoleAdmin(bytes32,bytes32) (#1144-1147) is never used and should be removed
Context._msgData() (#109-112) is never used and should be removed
Counters.decrement(Counters.Counter) (#537-543) is never used and should be removed
ERC20Snapshot._beforeTokenTransfer(address,address,uint256) (#654-670) is never used and should be removed
ERC20Snapshot._lastSnapshotId(uint256[]) (#718-724) is never used and should be removed
ERC20Snapshot._updateAccountSnapshot(address) (#702-704) is never used and should be removed
ERC20Snapshot._updateSnapshot(ERC20Snapshot.Snapshots,uint256) (#710-716) is never used and should be removed
ERC20Snapshot._updateTotalSupplySnapshot() (#706-708) is never used and should be removed
EnumerableSet.add(EnumerableSet.Bytes32Set,bytes32) (#1313-1315) is never used and should be removed
EnumerableSet.add(EnumerableSet.UintSet,uint256) (#1422-1424) is never used and should be removed
EnumerableSet.at(EnumerableSet.Bytes32Set,uint256) (#1351-1353) is never used and should be removed
EnumerableSet.at(EnumerableSet.UintSet,uint256) (#1460-1462) is never used and should be removed
EnumerableSet.contains(EnumerableSet.AddressSet,address) (#1384-1386) is never used and should be removed
EnumerableSet.contains(EnumerableSet.Bytes32Set,bytes32) (#1330-1332) is never used and should be removed
EnumerableSet.contains(EnumerableSet.UintSet,uint256) (#1439-1441) is never used and should be removed
EnumerableSet.length(EnumerableSet.Bytes32Set) (#1337-1339) is never used and should be removed
EnumerableSet.length(EnumerableSet.UintSet) (#1446-1448) is never used and should be removed
EnumerableSet.remove(EnumerableSet.Bytes32Set,bytes32) (#1323-1325) is never used and should be removed
EnumerableSet.remove(EnumerableSet.UintSet,uint256) (#1432-1434) is never used and should be removed
Math.max(uint256,uint256) (#434-436) is never used and should be removed
Math.min(uint256,uint256) (#441-443) is never used and should be removed
SafeMath.div(uint256,uint256) (#1652-1654) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#1667-1674) is never used and should be removed
SafeMath.mod(uint256,uint256) (#1687-1689) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#1702-1705) is never used and should be removed
SafeMath.mul(uint256,uint256) (#1627-1639) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.8.0 (#11) allows old versions
Pragma version^0.8.0 (#92) allows old versions
Pragma version^0.8.0 (#120) allows old versions
Pragma version^0.8.0 (#425) allows old versions
Pragma version^0.8.0 (#460) allows old versions
Pragma version^0.8.0 (#509) allows old versions
Pragma version^0.8.0 (#551) allows old versions
Pragma version^0.8.0 (#732) allows old versions
Pragma version^0.8.0 (#774) allows old versions
Pragma version^0.8.0 (#866) allows old versions
Pragma version^0.8.0 (#896) allows old versions
Pragma version^0.8.0 (#924) allows old versions
Pragma version^0.8.0 (#954) allows old versions
Pragma version^0.8.0 (#1169) allows old versions
Pragma version^0.8.0 (#1470) allows old versions
Pragma version^0.8.0 (#1557) allows old versions
Pragma version^0.8.0 (#1711) allows old versions
Pragma version^0.8.0 (#1888) allows old versions
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 LGEWhitelisted._lgeWhitelistRounds (#1724) is not in mixedCase
Variable LGEWhitelisted._lgeTimestamp (#1726) is not in mixedCase
Variable LGEWhitelisted._lgePairAddress (#1727) is not in mixedCase
Variable LGEWhitelisted._whitelister (#1729) is not in mixedCase
Parameter TSX.mint(address,uint256)._to (#1936) is not in mixedCase
Parameter TSX.mint(address,uint256)._value (#1936) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#110)" inContext (#104-113)
Remove redundant statements if they congest code but offer no value.
Additional information: link
name() should be declared external:
- ERC20.name() (#174-176)
symbol() should be declared external:
- ERC20.symbol() (#182-184)
decimals() should be declared external:
- ERC20.decimals() (#199-201)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#225-228)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#244-247)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#262-270)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#284-287)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#303-309)
balanceOfAt(address,uint256) should be declared external:
- ERC20Snapshot.balanceOfAt(address,uint256) (#636-640)
totalSupplyAt(uint256) should be declared external:
- ERC20Snapshot.totalSupplyAt(uint256) (#645-649)
burn(uint256) should be declared external:
- ERC20Burnable.burn(uint256) (#746-748)
burnFrom(address,uint256) should be declared external:
- ERC20Burnable.burnFrom(address,uint256) (#761-766)
getRoleMember(bytes32,uint256) should be declared external:
- AccessControlEnumerable.getRoleMember(bytes32,uint256) (#1509-1511)
getRoleMemberCount(bytes32) should be declared external:
- AccessControlEnumerable.getRoleMemberCount(bytes32) (#1517-1519)
snapshot() should be declared external:
- TSX.snapshot() (#1926-1929)
mint(address,uint256) should be declared external:
- TSX.mint(address,uint256) (#1936-1939)
pause() should be declared external:
- TSX.pause() (#1944-1947)
unpause() should be declared external:
- TSX.unpause() (#1952-1955)
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 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 token on CoinHunt
Additional information: link
Young tokens have high risks of scam / 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