Scorpion Casino Info

scorpion.casino

The SCORPION ecosystem is the one-stop play-to-earn decentralized gambling platform, providing more than 30,000 betting opportunities per month, 210 casino games, and 160 live games with a licensed, transparent, and provable platform.

Scorpion Casino Logo

Real-Time Threat Detection

Real-time threat detection, powered by Cyvers.io, is currently not activated for this project.

This advanced feature provides continuous monitoring and instant alerts to safeguard your assets from potential security threats. Real-time detection enhances your project's security by proactively identifying and mitigating risks. For more information, click here.

On-Chain Insights

Smart Contract Audit

Select the audit
Static Analysis Dynamic Analysis Symbolic Execution SWC Check Manual Review
Contract address
0x3780...19A7
Network BNB Smart Chain - Mainnet
License N/A
Compiler N/A N/A
Type N/A
Language Solidity
Onboard date 2022/12/12
Revision date In progress

Summary and Final Words

No crucial issues found

The contract does not contain issues of high or medium criticality. This means that no known vulnerabilities were found in the source code.

Contract owner cannot mint

It is not possible to mint new tokens.

Contract owner cannot blacklist addresses.

It is not possible to lock user funds by blacklisting addresses.

Contract owner cannot set high fees

The fees, if applicable, can be a maximum of 25% or lower. The contract can therefore not be locked. Please take a look in the comment section for more details.

Contract cannot be locked

Owner cannot lock any user funds.

Token cannot be burned

There is no burn function within the contract.

Ownership is not renounced

Contract can be manipulated by owner functions.

Scope of Work

This audit covered the following files listed below with a SHA-1 Hash. The Team mentioned above provided us with the files that need to be evaluated.

The auditing process follows a routine series of steps:
  1. Review the specifications, sources, and instructions provided to SolidProof to ensure we understand the smart contract's size, scope, and functionality.
  2. Manual review of code, which is the process of reading source code line-by-line in an attempt to identify potential vulnerabilities.
  3. Specification comparison checks whether the code does what the specifications, sources, and instructions provided to SolidProof describe.
  4. Test coverage analysis determines whether the test cases are actually covering the code and how much code is exercised when we run those test cases.
  5. Symbolic execution is analyzing a program to determine what inputs cause each part of a program to execute.
  6. Based on the established industry and academic practices, recommendations, and research, best practices review smart contracts to improve efficiency, effectiveness, clarity, maintainability, security, and control.
  7. Specific, itemized, actionable recommendations to help you take steps to secure your smart contracts.

A file with a different Hash has been intentionally or otherwise modified after the security review. A different Hash could be (but not necessarily) an indication of a changed condition or potential vulnerability that was not within the scope of this review.

Final Words

The following provides a concise summary of the audit report, accompanied by insightful comments from the auditor. This overview captures the key findings and observations, offering valuable context and clarity.


Ownership Privileges:
  • Include/Exclude accounts from rewards and fees
  • Set Marketing divisor, buyback upper limit, and the number of tokens to sell in order to add liquidity to any arbitrary value without any limitations.
  • Enable/Disable buyback, swap and liquify
  • Set marketing wallet
  • Prepare the contract for before and after the presale by removing and then setting up constant fees of 2 and 8 percent.

Files and details

Findings and Audit result

low Issues | 5 findings

Pending

#1 low Issue
Local variables shadowing (shadowing-local)
Scorpion.sol
L716
L859
Description

Rename the local variables that shadow another component.

Pending

#2 low Issue
Missing Events Arithmetic (events-maths)
Scorpion.sol
L1230-1232
L1234-1239
L1241-1243
Description

Emit an event for critical parameter changes.

Pending

#3 low Issue
Missing Zero Address Validation (missing-zero-check)
Scorpion.sol
L1245
Description

Check that the address is not zero.

Pending

#4 low Issue
Contract doesn't import npm packages from source (like OpenZeppelin etc.)
Scorpion.sol
-
Description

We recommend importing all packages from npm directly without flattening the contract. Functions could be modified or can be susceptible to vulnerabilities

Pending

#5 low Issue
Floating Pragma
Scorpion.sol
-
Description

The current pragma Solidity directive is “^0.8.0". Contracts should be deployed with the same compiler version and flags that they have been tested thoroughly. Locking the pragma helps to ensure that contracts do not accidentally get deployed using other versions.

optimization Issues | 2 findings

Pending

#1 optimization Issue
State variables that could be declared constant (constable-states)
Scorpion.sol
L211
L210
L630
L628
L629
L624
Description

Add the `constant` attributes to state variables that never change.

Pending

#2 optimization Issue
Public function that could be declared external (external-function)
Scorpion.sol
L233-236
L238-245
L247-249
L251-253
L686-688
L690-692
L694-696
L698-700
L707-714
L716-723
L725-732
L734-749
L751-762
L764-778
L780-782
L784-786
L788-790
L792-794
L796-806
L808-821
L836-843
L1218-1220
L1222-1224
L1226-1228
L1254-1257
Description

Use the `external` attribute for functions never called from the contract.

informational Issues | 4 findings

Pending

#1 informational Issue
Functions that are not used (dead-code)
Scorpion.sol
L182-205
L140-145
L147-153
L155-167
L169-180
L113-124
L126-138
L12-15
L98-100
L102-109
L969-982
Description

Remove unused functions.

Pending

#2 informational Issue
Function initializing state variables (function-init-state)
Scorpion.sol
L625
L633
L636
L647-651
Description

Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.

Pending

#3 informational Issue
Unused state variables (unused-state)
Scorpion.sol
L210
Description

Remove unused state variables.

Pending

#4 informational Issue
Unused return values (unused-return)
Scorpion.sol
L969-982
Description

Ensure that all the return values of the function calls are used.