FEG Token is redesigning the way decentralized finance (DeFi) is structured. FEG Token is focused on reshaping and evolving how DeFi works completely while delivering the most robust ecosystem ever designed for DeFi's much-needed advancements.
FEG._getTValues(uint256) (#626-630) performs a multiplication on the result of a division:
-tFee = tAmount.div(100).mul(2) (#627)
Consider ordering multiplication before division.
Additional information: link
Address.isContract(address) (#250-259) uses assembly
- INLINE ASM (#257)
Address._functionCallWithValue(address,bytes,uint256,string) (#343-364) uses assembly
- INLINE ASM (#356-359)
Do not use evm assembly.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#277-283):
- (success) = recipient.call{value: amount}() (#281)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#343-364):
- (success,returndata) = target.call{value: weiValue}(data) (#347)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
FEG.allowance(address,address).owner (#472) shadows:
- Ownable.owner() (#384-386) (function)
FEG._approve(address,address,uint256).owner (#553) shadows:
- Ownable.owner() (#384-386) (function)
Rename the local variables that shadow another component.
Additional information: link
Constant FEG._tTotal (#433) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#343-364) is never used and should be removed
Address.functionCall(address,bytes) (#303-305) is never used and should be removed
Address.functionCall(address,bytes,string) (#313-315) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#328-330) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#338-341) is never used and should be removed
Address.isContract(address) (#250-259) is never used and should be removed
Address.sendValue(address,uint256) (#277-283) is never used and should be removed
Context._msgData() (#12-15) is never used and should be removed
SafeMath.mod(uint256,uint256) (#210-212) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#226-229) is never used and should be removed
Remove unused functions.
Additional information: link
Redundant expression "this (#13)" inContext (#7-16)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable FEG._transferFromExcluded(address,address,uint256).rTransferAmount (#596) is too similar to FEG._transferFromExcluded(address,address,uint256).tTransferAmount (#596)
Variable FEG._transferToExcluded(address,address,uint256).rTransferAmount (#587) is too similar to FEG._transferFromExcluded(address,address,uint256).tTransferAmount (#596)
Variable FEG._getValues(uint256).rTransferAmount (#622) is too similar to FEG._getTValues(uint256).tTransferAmount (#628)
Variable FEG._getValues(uint256).rTransferAmount (#622) is too similar to FEG._transferToExcluded(address,address,uint256).tTransferAmount (#587)
Variable FEG._transferBothExcluded(address,address,uint256).rTransferAmount (#605) is too similar to FEG._transferStandard(address,address,uint256).tTransferAmount (#579)
Variable FEG._transferStandard(address,address,uint256).rTransferAmount (#579) is too similar to FEG._transferStandard(address,address,uint256).tTransferAmount (#579)
Variable FEG._transferBothExcluded(address,address,uint256).rTransferAmount (#605) is too similar to FEG._transferFromExcluded(address,address,uint256).tTransferAmount (#596)
Variable FEG._transferStandard(address,address,uint256).rTransferAmount (#579) is too similar to FEG._transferFromExcluded(address,address,uint256).tTransferAmount (#596)
Variable FEG.reflectionFromToken(uint256,bool).rTransferAmount (#520) is too similar to FEG._getTValues(uint256).tTransferAmount (#628)
Variable FEG._transferToExcluded(address,address,uint256).rTransferAmount (#587) is too similar to FEG._transferToExcluded(address,address,uint256).tTransferAmount (#587)
Variable FEG._transferBothExcluded(address,address,uint256).rTransferAmount (#605) is too similar to FEG._getValues(uint256).tTransferAmount (#620)
Variable FEG.reflectionFromToken(uint256,bool).rTransferAmount (#520) is too similar to FEG._transferFromExcluded(address,address,uint256).tTransferAmount (#596)
Variable FEG._transferBothExcluded(address,address,uint256).rTransferAmount (#605) is too similar to FEG._transferBothExcluded(address,address,uint256).tTransferAmount (#605)
Variable FEG._transferStandard(address,address,uint256).rTransferAmount (#579) is too similar to FEG._getValues(uint256).tTransferAmount (#620)
Variable FEG._getValues(uint256).rTransferAmount (#622) is too similar to FEG._transferFromExcluded(address,address,uint256).tTransferAmount (#596)
Variable FEG._transferBothExcluded(address,address,uint256).rTransferAmount (#605) is too similar to FEG._transferToExcluded(address,address,uint256).tTransferAmount (#587)
Variable FEG._transferBothExcluded(address,address,uint256).rTransferAmount (#605) is too similar to FEG._getTValues(uint256).tTransferAmount (#628)
Variable FEG._transferStandard(address,address,uint256).rTransferAmount (#579) is too similar to FEG._transferToExcluded(address,address,uint256).tTransferAmount (#587)
Variable FEG._transferStandard(address,address,uint256).rTransferAmount (#579) is too similar to FEG._getTValues(uint256).tTransferAmount (#628)
Variable FEG._getRValues(uint256,uint256,uint256).rTransferAmount (#635) is too similar to FEG._transferFromExcluded(address,address,uint256).tTransferAmount (#596)
Variable FEG.reflectionFromToken(uint256,bool).rTransferAmount (#520) is too similar to FEG._transferToExcluded(address,address,uint256).tTransferAmount (#587)
Variable FEG._getRValues(uint256,uint256,uint256).rTransferAmount (#635) is too similar to FEG._transferBothExcluded(address,address,uint256).tTransferAmount (#605)
Variable FEG.reflectionFromToken(uint256,bool).rTransferAmount (#520) is too similar to FEG._transferStandard(address,address,uint256).tTransferAmount (#579)
Variable FEG._transferToExcluded(address,address,uint256).rTransferAmount (#587) is too similar to FEG._transferStandard(address,address,uint256).tTransferAmount (#579)
Variable FEG._getRValues(uint256,uint256,uint256).rTransferAmount (#635) is too similar to FEG._transferStandard(address,address,uint256).tTransferAmount (#579)
Variable FEG._transferToExcluded(address,address,uint256).rTransferAmount (#587) is too similar to FEG._getTValues(uint256).tTransferAmount (#628)
Variable FEG._transferFromExcluded(address,address,uint256).rTransferAmount (#596) is too similar to FEG._transferToExcluded(address,address,uint256).tTransferAmount (#587)
Variable FEG._getRValues(uint256,uint256,uint256).rTransferAmount (#635) is too similar to FEG._getTValues(uint256).tTransferAmount (#628)
Variable FEG._getValues(uint256).rTransferAmount (#622) is too similar to FEG._transferBothExcluded(address,address,uint256).tTransferAmount (#605)
Variable FEG._transferToExcluded(address,address,uint256).rTransferAmount (#587) is too similar to FEG._getValues(uint256).tTransferAmount (#620)
Variable FEG.reflectionFromToken(uint256,bool).rTransferAmount (#520) is too similar to FEG._getValues(uint256).tTransferAmount (#620)
Variable FEG._transferStandard(address,address,uint256).rTransferAmount (#579) is too similar to FEG._transferBothExcluded(address,address,uint256).tTransferAmount (#605)
Variable FEG._getValues(uint256).rTransferAmount (#622) is too similar to FEG._transferStandard(address,address,uint256).tTransferAmount (#579)
Variable FEG._getRValues(uint256,uint256,uint256).rTransferAmount (#635) is too similar to FEG._getValues(uint256).tTransferAmount (#620)
Variable FEG._transferFromExcluded(address,address,uint256).rTransferAmount (#596) is too similar to FEG._transferBothExcluded(address,address,uint256).tTransferAmount (#605)
Variable FEG._transferFromExcluded(address,address,uint256).rTransferAmount (#596) is too similar to FEG._transferStandard(address,address,uint256).tTransferAmount (#579)
Variable FEG._getValues(uint256).rTransferAmount (#622) is too similar to FEG._getValues(uint256).tTransferAmount (#620)
Variable FEG._getRValues(uint256,uint256,uint256).rTransferAmount (#635) is too similar to FEG._transferToExcluded(address,address,uint256).tTransferAmount (#587)
Variable FEG._transferFromExcluded(address,address,uint256).rTransferAmount (#596) is too similar to FEG._getTValues(uint256).tTransferAmount (#628)
Variable FEG._transferFromExcluded(address,address,uint256).rTransferAmount (#596) is too similar to FEG._getValues(uint256).tTransferAmount (#620)
Variable FEG.reflectionFromToken(uint256,bool).rTransferAmount (#520) is too similar to FEG._transferBothExcluded(address,address,uint256).tTransferAmount (#605)
Variable FEG._transferToExcluded(address,address,uint256).rTransferAmount (#587) is too similar to FEG._transferBothExcluded(address,address,uint256).tTransferAmount (#605)
Prevent variables from having similar names.
Additional information: link
FEG.slitherConstructorConstantVariables() (#421-656) uses literals with too many digits:
- _tTotal = 100000000000 * 10 ** 6 * 10 ** 9 (#433)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
FEG._decimals (#439) should be constant
FEG._name (#437) should be constant
FEG._symbol (#438) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
FEG.includeAccount(address) (#540-551) has costly operations inside a loop:
- _excluded.pop() (#547)
Use a local variable to hold the loop computation result.
Additional information: link
owner() should be declared external:
- Ownable.owner() (#384-386)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#403-406)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#412-416)
name() should be declared external:
- FEG.name() (#446-448)
symbol() should be declared external:
- FEG.symbol() (#450-452)
decimals() should be declared external:
- FEG.decimals() (#454-456)
totalSupply() should be declared external:
- FEG.totalSupply() (#458-460)
balanceOf(address) should be declared external:
- FEG.balanceOf(address) (#462-465)
transfer(address,uint256) should be declared external:
- FEG.transfer(address,uint256) (#467-470)
allowance(address,address) should be declared external:
- FEG.allowance(address,address) (#472-474)
approve(address,uint256) should be declared external:
- FEG.approve(address,uint256) (#476-479)
transferFrom(address,address,uint256) should be declared external:
- FEG.transferFrom(address,address,uint256) (#481-485)
increaseAllowance(address,uint256) should be declared external:
- FEG.increaseAllowance(address,uint256) (#487-490)
decreaseAllowance(address,uint256) should be declared external:
- FEG.decreaseAllowance(address,uint256) (#492-495)
isExcluded(address) should be declared external:
- FEG.isExcluded(address) (#497-499)
totalFees() should be declared external:
- FEG.totalFees() (#501-503)
reflect(uint256) should be declared external:
- FEG.reflect(uint256) (#505-512)
reflectionFromToken(uint256,bool) should be declared external:
- FEG.reflectionFromToken(uint256,bool) (#514-523)
Use the external attribute for functions never called from the contract.
Additional information: link