SafeDog X Solid Group: Audit Results

Solidgroup
4 min readMay 8, 2021

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

SafeDog Contract:

https://bscscan.com/address/0xCC551A78Bc19900D7908B854f98e1993dC189647#code

Tokenomics

Tokenomics:
- 90% of the raised BNB is allocated for liquidity and will be locked on Unicrypt for 11 months.
- 57% of the total tokens are allocated for the ILO event
- 31% are allocated for private investors.
- 8% of the total tokens are unlocked on listing.
- 23% are locked on team.finance.

— — — — — — — — — — — — — — — — — — — —
Unlock dates 🔓
1️⃣ 05/23/21– 4650000000 tokens
2️⃣ 06/6/21– 4650000000
3️⃣ 06/20/21– 4650000000 tokens

The tokens are locked on team.finance, the recipient of the unlocked token is the owner of the contract.

⚠️ Please note that a malicious owner can sell the unlocked tokens and take a significant amount of BNB out from the pool.

Highlights of the process

✅BEP-20’s Conformance

✅ No external mint function

✅ No volatile code

Audit Findings

  • Issue 1| Owner Capabilities |Severity 🟡 Low| Fixed ✅

Description:

Refers to the Centralization Issue/ Privilege issue in the Owner Capabilities found above.

Recommendation:

Our recommendation is to remove the lock() and unlock() functions if they are not needed.

  • Issue 2| Gas Optimization | Severity 🟢 Informational| Not Fixed ❌

Description:

The variables _decimals, _name, _symbol, _tTotal, numTokensSellToAddToLiquidity could be declared as constant since these state variables are never changed.

  • Issue 3|Severity 🟢 Informational| Fixed ✅

Description:

The owner of the contract can control the number of tokens sold for bnb for liquidity addition.

When swapAndLiquify() takes place, it causes a decrease in the price of the token.

Recommendation:

Our recommendation is to limit the impact of this operation (limit the % impact).

Updated Code

Summary

SafeDog pre-mints all the tokens when the contract is deployed. In other words, there is no mint function to worry about. The only issue that was found is informational, which does not affect the code itself.

About SafeDog

SafeDog protocol is a project inspired by SafeMoon protocol that aims to provide solutions to the existing dilemma SafeMoon is facing right now.

🌏 Website |🗣Telegram |📣Twitter |🅜Medium

About Solid Group

Solid Group is a team of hard-seasoned crypto developers and smart contract auditors. In essence, Solid is a blockchain consulting and auditing service provider that 3 cybersecurity experts founded 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 team found many high severity issues in the production code and always love to support the customers in finding the best solution.

📣 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 does not cover testing or auditing the integration with external contracts 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 an indication of the technology 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.

--

--

Solidgroup

We are a group 3 software developers with combined experience of over 15years in various fields such as Software design, Operating systems, and solidity.