GYM NETWORK is a fully decentralized protocol operating on the Binance Smart Chain. It combines optimal yields with high rewards for its users and also provides an additional earnings mechanism through the built in affiliate system.
Contract ownership is not renounced (belongs to a wallet)
GymNetwork._writeCheckpoint(address,uint32,uint96,uint96) (contracts/GymToken.sol#463-478) uses a dangerous strict equality:
- nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber (contracts/GymToken.sol#471)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
GymNetwork.getChainId() (contracts/GymToken.sol#533-539) uses assembly
- INLINE ASM (contracts/GymToken.sol#535-537)
Do not use evm assembly.
Additional information: link
GymNetwork.updateGasPriceLimit(uint256) (contracts/GymToken.sol#607-609) should emit an event for:
- gasPriceLimit = _gasPrice (contracts/GymToken.sol#608)
GymNetwork.updateTaxOnSell(uint8) (contracts/GymToken.sol#541-544) should emit an event for:
- taxOnSell = _newTaxValue (contracts/GymToken.sol#543)
GymNetwork.updateLimitPeriod(uint256) (contracts/GymToken.sol#556-558) should emit an event for:
- limitPeriod = _newlimit (contracts/GymToken.sol#557)
GymNetwork.updateTaxOnPurchase(uint8) (contracts/GymToken.sol#546-549) should emit an event for:
- taxOnPurchase = _newTaxValue (contracts/GymToken.sol#548)
GymNetwork.updateDevTax(uint8) (contracts/GymToken.sol#551-554) should emit an event for:
- devFundTax = _newTaxValue (contracts/GymToken.sol#553)
Emit an event for critical parameter changes.
Additional information: link
GymNetwork.updateManagementAddress(address)._address (contracts/GymToken.sol#619) lacks a zero-check on :
- managementAddress = _address (contracts/GymToken.sol#620)
GymNetwork.updatePurchaseTaxAddress(address)._address (contracts/GymToken.sol#623) lacks a zero-check on :
- purchaseTaxAddress = _address (contracts/GymToken.sol#624)
GymNetwork.updateRouterAddress(address)._router (contracts/GymToken.sol#615) lacks a zero-check on :
- routerAddress = _router (contracts/GymToken.sol#616)
GymNetwork.updateSellTaxAddress(address)._address (contracts/GymToken.sol#627) lacks a zero-check on :
- sellTaxAddress = _address (contracts/GymToken.sol#628)
Check that the address is not zero.
Additional information: link
GymNetwork._withdrawnLastPeriod(address) (contracts/GymToken.sol#483-502) uses timestamp for comparisons
Dangerous comparisons:
- block.timestamp - withdrawalTimestamp < limitPeriod (contracts/GymToken.sol#493)
GymNetwork.delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32) (contracts/GymToken.sol#308-326) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp <= expiry,GymToken::delegateBySig: signature expired) (contracts/GymToken.sol#324)
Avoid relying on block.timestamp.
Additional information: link
Context._msgData() (@openzeppelin/contracts/utils/Context.sol#21-23) is never used and should be removed
Remove unused functions.
Additional information: link
solc-0.8.12 is not recommended for deployment
Pragma version0.8.12 (contracts/GymToken.sol#3) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
Pragma version^0.8.0 (@openzeppelin/contracts/access/Ownable.sol#4) allows old versions
Pragma version^0.8.0 (@openzeppelin/contracts/utils/Context.sol#4) 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
GymNetwork.slitherConstructorConstantVariables() (contracts/GymToken.sol#7-630) uses literals with too many digits:
- MAX_SUPPLY = 400000000000000000000000000 (contracts/GymToken.sol#33)
GymNetwork.slitherConstructorVariables() (contracts/GymToken.sol#7-630) uses literals with too many digits:
- gasPriceLimit = 20000000000 (contracts/GymToken.sol#27)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
GymNetwork.manageBlacklist(address[],bool[]).i (contracts/GymToken.sol#580) is a local variable never initialized
GymNetwork.manageLimitExcempt(address[],bool[]).i (contracts/GymToken.sol#572) is a local variable never initialized
GymNetwork._withdrawnLastPeriod(address).withdrawnAmount (contracts/GymToken.sol#485) is a local variable never initialized
GymNetwork.manageSellLimitExcempt(address[],bool[]).i (contracts/GymToken.sol#588) is a local variable never initialized
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.
Additional information: link
Different versions of Solidity are used:
- Version used: ['0.8.12', '^0.8.0']
- ^0.8.0 (@openzeppelin/contracts/access/Ownable.sol#4)
- ^0.8.0 (@openzeppelin/contracts/utils/Context.sol#4)
- 0.8.12 (contracts/GymToken.sol#3)
Use one Solidity version.
Additional information: link
Parameter GymNetwork.pauseTrading(bool)._isPaused (contracts/GymToken.sol#611) is not in mixedCase
Parameter GymNetwork.manageLimitExcempt(address[],bool[])._isUnlimited (contracts/GymToken.sol#569) is not in mixedCase
Parameter GymNetwork.updateRouterAddress(address)._router (contracts/GymToken.sol#615) is not in mixedCase
Parameter GymNetwork.updateDevTax(uint8)._newTaxValue (contracts/GymToken.sol#551) is not in mixedCase
Parameter GymNetwork.updateManagementAddress(address)._address (contracts/GymToken.sol#619) is not in mixedCase
Parameter GymNetwork.updateDexAddress(address,bool)._dex (contracts/GymToken.sol#560) is not in mixedCase
Parameter GymNetwork.manageSellLimitExcempt(address[],bool[])._toLimit (contracts/GymToken.sol#585) is not in mixedCase
Parameter GymNetwork.updateTaxOnPurchase(uint8)._newTaxValue (contracts/GymToken.sol#546) is not in mixedCase
Parameter GymNetwork.updateGasPriceLimit(uint256)._gasPrice (contracts/GymToken.sol#607) is not in mixedCase
Parameter GymNetwork.updateTaxExcemptAddress(address,bool)._isExcempt (contracts/GymToken.sol#565) is not in mixedCase
Parameter GymNetwork.updateTaxExcemptAddress(address,bool)._addr (contracts/GymToken.sol#565) is not in mixedCase
Parameter GymNetwork.updatePurchaseTaxAddress(address)._address (contracts/GymToken.sol#623) is not in mixedCase
Parameter GymNetwork.manageBlacklist(address[],bool[])._toBlackList (contracts/GymToken.sol#577) is not in mixedCase
Parameter GymNetwork.updateTaxOnSell(uint8)._newTaxValue (contracts/GymToken.sol#541) is not in mixedCase
Parameter GymNetwork.updateSellTaxAddress(address)._address (contracts/GymToken.sol#627) is not in mixedCase
Parameter GymNetwork.updateDexAddress(address,bool)._isDex (contracts/GymToken.sol#560) is not in mixedCase
Parameter GymNetwork.setSellLimitActive(bool)._isActive (contracts/GymToken.sol#603) is not in mixedCase
Parameter GymNetwork.updateLimitPeriod(uint256)._newlimit (contracts/GymToken.sol#556) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32) should be declared external:
- GymNetwork.delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32) (contracts/GymToken.sol#308-326)
updateGasPriceLimit(uint256) should be declared external:
- GymNetwork.updateGasPriceLimit(uint256) (contracts/GymToken.sol#607-609)
getPriorVotes(address,uint256) should be declared external:
- GymNetwork.getPriorVotes(address,uint256) (contracts/GymToken.sol#237-269)
updateDexAddress(address,bool) should be declared external:
- GymNetwork.updateDexAddress(address,bool) (contracts/GymToken.sol#560-563)
updateLimitPeriod(uint256) should be declared external:
- GymNetwork.updateLimitPeriod(uint256) (contracts/GymToken.sol#556-558)
approve(address,uint256) should be declared external:
- GymNetwork.approve(address,uint256) (contracts/GymToken.sol#154-166)
manageLimitExcempt(address[],bool[]) should be declared external:
- GymNetwork.manageLimitExcempt(address[],bool[]) (contracts/GymToken.sol#569-575)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (@openzeppelin/contracts/access/Ownable.sol#54-56)
mintFor(address,uint96) should be declared external:
- GymNetwork.mintFor(address,uint96) (contracts/GymToken.sol#593-601)
pauseTrading(bool) should be declared external:
- GymNetwork.pauseTrading(bool) (contracts/GymToken.sol#611-613)
updateSellTaxAddress(address) should be declared external:
- GymNetwork.updateSellTaxAddress(address) (contracts/GymToken.sol#627-629)
delegate(address) should be declared external:
- GymNetwork.delegate(address) (contracts/GymToken.sol#295-297)
updatePurchaseTaxAddress(address) should be declared external:
- GymNetwork.updatePurchaseTaxAddress(address) (contracts/GymToken.sol#623-625)
manageSellLimitExcempt(address[],bool[]) should be declared external:
- GymNetwork.manageSellLimitExcempt(address[],bool[]) (contracts/GymToken.sol#585-591)
updateTaxOnSell(uint8) should be declared external:
- GymNetwork.updateTaxOnSell(uint8) (contracts/GymToken.sol#541-544)
updateTaxExcemptAddress(address,bool) should be declared external:
- GymNetwork.updateTaxExcemptAddress(address,bool) (contracts/GymToken.sol#565-567)
updateTaxOnPurchase(uint8) should be declared external:
- GymNetwork.updateTaxOnPurchase(uint8) (contracts/GymToken.sol#546-549)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (@openzeppelin/contracts/access/Ownable.sol#62-65)
balanceOf(address) should be declared external:
- GymNetwork.balanceOf(address) (contracts/GymToken.sol#173-175)
burnFrom(address,uint256) should be declared external:
- GymNetwork.burnFrom(address,uint256) (contracts/GymToken.sol#283-289)
setSellLimitActive(bool) should be declared external:
- GymNetwork.setSellLimitActive(bool) (contracts/GymToken.sol#603-605)
manageBlacklist(address[],bool[]) should be declared external:
- GymNetwork.manageBlacklist(address[],bool[]) (contracts/GymToken.sol#577-583)
updateManagementAddress(address) should be declared external:
- GymNetwork.updateManagementAddress(address) (contracts/GymToken.sol#619-621)
updateDevTax(uint8) should be declared external:
- GymNetwork.updateDevTax(uint8) (contracts/GymToken.sol#551-554)
burn(uint256) should be declared external:
- GymNetwork.burn(uint256) (contracts/GymToken.sol#274-277)
updateRouterAddress(address) should be declared external:
- GymNetwork.updateRouterAddress(address) (contracts/GymToken.sol#615-617)
Use the external attribute for functions never called from the contract.
Additional information: link
Token is marked as scam (rug pull, honeypot, phishing, etc.)
Additional information: link
Token has no active CoinGecko listing / rank
Twitter account link seems to be invalid
Unable to find Discord account
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account