FootBallSport | FBS x Solid Group: Audit Results
Auditing Process
Solid Group’s auditing process goes in-depth and covers a wide range of token code characteristics. The main things the audit checks for are vulnerabilities and imminent risks to the safety and security of the code, Solid Group does an extensive auditing process intending to help their customers increase their code quality while reducing the high level of risk presented by cryptographic tokens and blockchain technology.
Contract
Highlights of the process
✅ERC-20’s Conformance
- All the functions are present
- All the events are present
- Functions return the correct type
- Functions that must be view are view
- Events parameters are correctly indexed
- The functions emit the events
- Derived contracts do not break the conformance.
✅ No mint function
Privileged Functions / Owner Capabilities
1️⃣ The contract contains the following privileged functions that are restricted by onlyOwner modifier:
excludeFromFee(address account)
includeInFee(address account)
2️⃣️⃣ The owner can set maxTxAmount which is the number of % of the total supply that can be swapped in one transaction.
function setMaxTxPercent(uint256 maxTxPercent, uint256 maxTxDecimals) external onlyOwner()
Findings
Issue #1 | 🔍 Location setMaxTxPercent |Owner Capabilities| 🔴 High Severity | Status: Fixed ✅
Description
The owner of the contract can make the token untradable. By calling setMaxTxPercent(0) or by setting _taxFee variable of _liquidityFee variable to 1000.
Recommendation
Our recommendation is to have a minimum or at least maximum limit for the setLiquidityFeePercent, and setTaxFeePercent setter function. Add a require statement that would restrict setting _maxTxAmount to 0.
The team fixed this issue in their new contract:
function setMaxTxPercent(uint256 maxTxPercent) external onlyOwner() {
require(maxTxPercent!=0, "can't set to zero");
_maxTxAmount = _tTotal.mul(maxTxPercent).div(
10**2
);
}
Summary
No issues were found.
About FootBallSport
“In just a few more days, the whole world will be hotter than ever with the UEFA EURO 2021. With the desire to create a prestigious and fair playing field for the cryptocurrency investment community. FootballSport is a pioneer in bringing the betting platform closer to the crypto community.”
✅ Pioneer in betting on Defi platform
✅ Fast liquidity, various types of betting
✅ The largest bookmaker in the cryptocurrency betting market
✅ Support and advice staff 24/24
🌏 Website |🗣 Telegram | 🐦 Twitter | Medium
About Solid Group
Solid Group is a blockchain consulting and auditing service provider, founded by 3 cybersecurity experts with a passion for thinking out of the box, learning, and sharing knowledge. Every project goes through a meticulous process and is viewed by at least two partners, thereby achieving a high level of credibility and professionalism. Our group is partnered with multiple organizations and launchpads that have a combined market cap of over 400 million USD.
📣 Telegram| 🗣Telegram discussion group |🐦 Twitter |🛡 Contact for audit
Disclaimer
SolidGroup reports are not, nor should be considered, an “endorsement” or “disapproval” of any particular project or team. These reports are not, nor should be considered, an indication of the economics or value of any “product” or “asset” created by any team. Solid Group do not cover testing or auditing the integration with external contract or services (such as Unicrypt, Uniswap, PancakeSwap etc’…)
SolidGroup Audits do not provide any warranty or guarantee regarding the absolute bug-free nature of the technology analyzed, nor do they provide any indication of the technologies proprietors. SolidGroup Audits should not be used in any way to make decisions around investment or involvement with any particular project. These reports in no way provide investment advice, nor should be leveraged as investment advice of any sort. SolidGroup Reports represent an extensive auditing process intending to help our customers increase the quality of their code while reducing the high level of risk presented by cryptographic tokens and blockchain technology. Blockchain technology and cryptographic assets present a high level of ongoing risk. SolidGroup’s position is that each company and individual are responsible for their own due diligence and continuous security. SolidGroup in no way claims any guarantee of security or functionality of the technology we agree to analyze.