Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Constant TrexFinance._tTotal (#848) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#16)" inContext (#5-19)
Remove redundant statements if they congest code but offer no value.
Additional information: link
TrexFinance._decimals (#860) should be constant
TrexFinance._name (#856) should be constant
TrexFinance._symbol (#858) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
TrexFinance._getTValues(uint256) (#1238-1246) performs a multiplication on the result of a division:
-tFee = tAmount.div(100).mul(reflectFees) (#1240)
Consider ordering multiplication before division.
Additional information: link
TrexFinance.allowance(address,address).owner (#928) shadows:
- Ownable.owner() (#754-758) (function)
TrexFinance._approve(address,address,uint256).owner (#1090) shadows:
- Ownable.owner() (#754-758) (function)
Rename the local variables that shadow another component.
Additional information: link
Address.isContract(address) (#486-504) uses assembly
- INLINE ASM (#500)
Address._functionCallWithValue(address,bytes,uint256,string) (#672-714) uses assembly
- INLINE ASM (#698-704)
Do not use evm assembly.
Additional information: link
TrexFinance.includeAccount(address) (#1064-1086) has costly operations inside a loop:
- _excluded.pop() (#1078)
Use a local variable to hold the loop computation result.
Additional information: link
Variable TrexFinance._transferStandard(address,address,uint256).rTransferAmount (#1144) is too similar to TrexFinance._transferStandard(address,address,uint256).tTransferAmount (#1144)
Variable TrexFinance._transferToExcluded(address,address,uint256).rTransferAmount (#1160) is too similar to TrexFinance._transferBothExcluded(address,address,uint256).tTransferAmount (#1196)
Variable TrexFinance._transferFromExcluded(address,address,uint256).rTransferAmount (#1178) is too similar to TrexFinance._transferBothExcluded(address,address,uint256).tTransferAmount (#1196)
Variable TrexFinance._transferToExcluded(address,address,uint256).rTransferAmount (#1160) is too similar to TrexFinance._transferToExcluded(address,address,uint256).tTransferAmount (#1160)
Variable TrexFinance._getValues(uint256).rTransferAmount (#1230) is too similar to TrexFinance._getTValues(uint256).tTransferAmount (#1242)
Variable TrexFinance._transferToExcluded(address,address,uint256).rTransferAmount (#1160) is too similar to TrexFinance._getValues(uint256).tTransferAmount (#1226)
Variable TrexFinance.reflectionFromToken(uint256,bool).rTransferAmount (#1024) is too similar to TrexFinance._transferBothExcluded(address,address,uint256).tTransferAmount (#1196)
Variable TrexFinance._transferFromExcluded(address,address,uint256).rTransferAmount (#1178) is too similar to TrexFinance._transferToExcluded(address,address,uint256).tTransferAmount (#1160)
Variable TrexFinance._getRValues(uint256,uint256,uint256).rTransferAmount (#1256) is too similar to TrexFinance._transferBothExcluded(address,address,uint256).tTransferAmount (#1196)
Variable TrexFinance._transferFromExcluded(address,address,uint256).rTransferAmount (#1178) is too similar to TrexFinance._getValues(uint256).tTransferAmount (#1226)
Variable TrexFinance._transferToExcluded(address,address,uint256).rTransferAmount (#1160) is too similar to TrexFinance._getTValues(uint256).tTransferAmount (#1242)
Variable TrexFinance._transferStandard(address,address,uint256).rTransferAmount (#1144) is too similar to TrexFinance._transferBothExcluded(address,address,uint256).tTransferAmount (#1196)
Variable TrexFinance._transferBothExcluded(address,address,uint256).rTransferAmount (#1196) is too similar to TrexFinance._transferBothExcluded(address,address,uint256).tTransferAmount (#1196)
Variable TrexFinance._transferFromExcluded(address,address,uint256).rTransferAmount (#1178) is too similar to TrexFinance._getTValues(uint256).tTransferAmount (#1242)
Variable TrexFinance._transferStandard(address,address,uint256).rTransferAmount (#1144) is too similar to TrexFinance._getValues(uint256).tTransferAmount (#1226)
Variable TrexFinance.reflectionFromToken(uint256,bool).rTransferAmount (#1024) is too similar to TrexFinance._getTValues(uint256).tTransferAmount (#1242)
Variable TrexFinance._transferToExcluded(address,address,uint256).rTransferAmount (#1160) is too similar to TrexFinance._transferStandard(address,address,uint256).tTransferAmount (#1144)
Variable TrexFinance._transferFromExcluded(address,address,uint256).rTransferAmount (#1178) is too similar to TrexFinance._transferFromExcluded(address,address,uint256).tTransferAmount (#1178)
Variable TrexFinance._transferStandard(address,address,uint256).rTransferAmount (#1144) is too similar to TrexFinance._getTValues(uint256).tTransferAmount (#1242)
Variable TrexFinance._transferFromExcluded(address,address,uint256).rTransferAmount (#1178) is too similar to TrexFinance._transferStandard(address,address,uint256).tTransferAmount (#1144)
Variable TrexFinance._getValues(uint256).rTransferAmount (#1230) is too similar to TrexFinance._transferBothExcluded(address,address,uint256).tTransferAmount (#1196)
Variable TrexFinance._getRValues(uint256,uint256,uint256).rTransferAmount (#1256) is too similar to TrexFinance._getTValues(uint256).tTransferAmount (#1242)
Variable TrexFinance._getValues(uint256).rTransferAmount (#1230) is too similar to TrexFinance._transferStandard(address,address,uint256).tTransferAmount (#1144)
Variable TrexFinance._getValues(uint256).rTransferAmount (#1230) is too similar to TrexFinance._transferFromExcluded(address,address,uint256).tTransferAmount (#1178)
Variable TrexFinance._getValues(uint256).rTransferAmount (#1230) is too similar to TrexFinance._transferToExcluded(address,address,uint256).tTransferAmount (#1160)
Variable TrexFinance.reflectionFromToken(uint256,bool).rTransferAmount (#1024) is too similar to TrexFinance._getValues(uint256).tTransferAmount (#1226)
Variable TrexFinance._transferBothExcluded(address,address,uint256).rTransferAmount (#1196) is too similar to TrexFinance._getValues(uint256).tTransferAmount (#1226)
Variable TrexFinance.reflectionFromToken(uint256,bool).rTransferAmount (#1024) is too similar to TrexFinance._transferStandard(address,address,uint256).tTransferAmount (#1144)
Variable TrexFinance._transferStandard(address,address,uint256).rTransferAmount (#1144) is too similar to TrexFinance._transferFromExcluded(address,address,uint256).tTransferAmount (#1178)
Variable TrexFinance._transferStandard(address,address,uint256).rTransferAmount (#1144) is too similar to TrexFinance._transferToExcluded(address,address,uint256).tTransferAmount (#1160)
Variable TrexFinance._transferBothExcluded(address,address,uint256).rTransferAmount (#1196) is too similar to TrexFinance._transferStandard(address,address,uint256).tTransferAmount (#1144)
Variable TrexFinance.reflectionFromToken(uint256,bool).rTransferAmount (#1024) is too similar to TrexFinance._transferToExcluded(address,address,uint256).tTransferAmount (#1160)
Variable TrexFinance.reflectionFromToken(uint256,bool).rTransferAmount (#1024) is too similar to TrexFinance._transferFromExcluded(address,address,uint256).tTransferAmount (#1178)
Variable TrexFinance._transferBothExcluded(address,address,uint256).rTransferAmount (#1196) is too similar to TrexFinance._transferFromExcluded(address,address,uint256).tTransferAmount (#1178)
Variable TrexFinance._transferBothExcluded(address,address,uint256).rTransferAmount (#1196) is too similar to TrexFinance._transferToExcluded(address,address,uint256).tTransferAmount (#1160)
Variable TrexFinance._transferBothExcluded(address,address,uint256).rTransferAmount (#1196) is too similar to TrexFinance._getTValues(uint256).tTransferAmount (#1242)
Variable TrexFinance._transferToExcluded(address,address,uint256).rTransferAmount (#1160) is too similar to TrexFinance._transferFromExcluded(address,address,uint256).tTransferAmount (#1178)
Variable TrexFinance._getRValues(uint256,uint256,uint256).rTransferAmount (#1256) is too similar to TrexFinance._getValues(uint256).tTransferAmount (#1226)
Variable TrexFinance._getRValues(uint256,uint256,uint256).rTransferAmount (#1256) is too similar to TrexFinance._transferStandard(address,address,uint256).tTransferAmount (#1144)
Variable TrexFinance._getRValues(uint256,uint256,uint256).rTransferAmount (#1256) is too similar to TrexFinance._transferFromExcluded(address,address,uint256).tTransferAmount (#1178)
Variable TrexFinance._getRValues(uint256,uint256,uint256).rTransferAmount (#1256) is too similar to TrexFinance._transferToExcluded(address,address,uint256).tTransferAmount (#1160)
Variable TrexFinance._getValues(uint256).rTransferAmount (#1230) is too similar to TrexFinance._getValues(uint256).tTransferAmount (#1226)
Prevent variables from having similar names.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#672-714) is never used and should be removed
Address.functionCall(address,bytes) (#592-596) is never used and should be removed
Address.functionCall(address,bytes,string) (#612-616) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#642-646) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#662-668) is never used and should be removed
Address.isContract(address) (#486-504) is never used and should be removed
Address.sendValue(address,uint256) (#540-552) is never used and should be removed
Context._msgData() (#14-17) is never used and should be removed
SafeMath.mod(uint256,uint256) (#406-410) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#438-444) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.6.5 (#1) allows old versions
solc-0.6.5 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
Low level call in Address.sendValue(address,uint256) (#540-552):
- (success) = recipient.call{value: amount}() (#548)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#672-714):
- (success,returndata) = target.call{value: weiValue}(data) (#680)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
owner() should be declared external:
- Ownable.owner() (#754-758)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#792-798)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#810-818)
name() should be declared external:
- TrexFinance.name() (#876-880)
symbol() should be declared external:
- TrexFinance.symbol() (#884-888)
decimals() should be declared external:
- TrexFinance.decimals() (#892-896)
totalSupply() should be declared external:
- TrexFinance.totalSupply() (#900-904)
balanceOf(address) should be declared external:
- TrexFinance.balanceOf(address) (#908-914)
transfer(address,uint256) should be declared external:
- TrexFinance.transfer(address,uint256) (#918-924)
allowance(address,address) should be declared external:
- TrexFinance.allowance(address,address) (#928-932)
approve(address,uint256) should be declared external:
- TrexFinance.approve(address,uint256) (#936-942)
transferFrom(address,address,uint256) should be declared external:
- TrexFinance.transferFrom(address,address,uint256) (#946-954)
increaseAllowance(address,uint256) should be declared external:
- TrexFinance.increaseAllowance(address,uint256) (#958-964)
decreaseAllowance(address,uint256) should be declared external:
- TrexFinance.decreaseAllowance(address,uint256) (#968-974)
isExcluded(address) should be declared external:
- TrexFinance.isExcluded(address) (#978-982)
totalFees() should be declared external:
- TrexFinance.totalFees() (#986-990)
reflect(uint256) should be declared external:
- TrexFinance.reflect(uint256) (#994-1008)
reflectionFromToken(uint256,bool) should be declared external:
- TrexFinance.reflectionFromToken(uint256,bool) (#1012-1030)
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 and Twitter accounts