AI Odessey Info

The AI Odyssey is a social experiment involving AI and blockchain technology. Starting from a simple idea and evolving into a grand narrative, the entire process is jointly accomplished by AI and blockchain, ultimately abstracting into a single NFT. This NFT contains a piece of artwork, a short story, and a chatbot, which then continuously evolve into a song, a film, and an independent game.

AI Odessey Logo

TrustNet Score

The TrustNet Score evaluates crypto projects based on audit results, security, KYC verification, and social media presence. This score offers a quick, transparent view of a project's credibility, helping users make informed decisions in the Web3 space.

43.21
Poor Excellent

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.

Security Assessments

Static Analysis Dynamic Analysis Symbolic Execution SWC Check Manual Review
Contract address
0x00C7...0620
Network
BNB Smart Chain - Mainnet
License N/A
Compiler N/A
Type N/A
Language Solidity
Onboard date 2023/05/06
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 can mint

It is 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.

Token transfer can be locked

Owner can lock user funds with owner functions.

Token cannot be burned

There is no burning within the contract without any allowances

Ownership is not renounced

The owner retains significant control, which could potentially be used to modify key contract parameters.

Scope of Work

This audit encompasses the evaluation of the files listed below, each verified with a SHA-1 Hash. The team referenced above has provided the necessary files for assessment.

The auditing process consists of the following systematic steps:

  1. Specification Review: Analyze the provided specifications, source code, and instructions to fully understand the smart contract's size, scope, and functionality.
  2. Manual Code Examination: Conduct a thorough line-by-line review of the source code to identify potential vulnerabilities and areas for improvement.
  3. Specification Alignment: Ensure that the code accurately implements the provided specifications and intended functionalities.
  4. Test Coverage Assessment: Evaluate the extent and effectiveness of test cases in covering the codebase, identifying any gaps in testing.
  5. Symbolic Execution: Analyze the smart contract to determine how various inputs affect execution paths, identifying potential edge cases and vulnerabilities.
  6. Best Practices Evaluation: Assess the smart contracts against established industry and academic best practices to enhance efficiency, maintainability, and security.
  7. Actionable Recommendations: Provide detailed, specific, and actionable steps to secure and optimize the smart contracts.

A file with a different Hash has been intentionally or otherwise modified after the security review. A different Hash may indicate 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
  • The owner can grant Minter Role to wallets and those addresses can mint unlimited AINFT tokens.
  • Withdraw any type of tokens from the NFT contract balance
  • Update signer address, that can batch mint NFTs
  • Configure Token Distribution values
  • Set base URI
  • Pause/Unpause the contract and stop the transfer of tokens. This may result in the lock of user funds

Note - This Audit report consists of a security analysis of the AiOdessey smart contracts. This analysis did not include functional testing (or unit testing) of the contract’s logic. Moreover, we only audited one ERC20 token and one NFT contract for the AiOdessey team, other contracts associated with the project were not audited by our team. We recommend investors to do their own research before investing

Files and details

Functions
public

/

State variables
public

/

Total lines
of code

/

Capabilities
Hover on items

/

Findings and Audit result

medium Issues | 1 findings

Pending

#1 medium Issue
Owner/Authority can Mint
AIOdysseyNFTV2.sol
L3071
Description

The Minter Role addresses, that are controlled by the deployer/owner address can mint unlimited tokens which is not recommended, as this can be used to manipulate the price of the tokens.

low Issues | 2 findings

Pending

#1 low Issue
Missing Zero Address Validation (missing-zero-check)
AIOdysseyNFTV2.sol
L4549
L4625
Description

Check that the address is not zero.

Pending

#2 low Issue
Local variables used prior their declaration (variable-scope)
AIOdysseyNFTV2.sol
L2442
L2444
L2444
L4114
L4117
L4117
Description

Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.

optimization Issues | 1 findings

Pending

#1 optimization Issue
Public function that could be declared external (external-function)
AIOdysseyNFTV2.sol
L747-749
L762-764
L782-786
L913-915
L921-924
L1222-1224
L1230-1232
L1247-1249
L1254-1256
L1261-1263
L1273-1277
L1296-1300
L1318-1327
L1341-1345
L1361-1370
L2085-2087
L2092-2094
L2118-2128
L2142-2144
L2156-2165
L2170-2176
L2582-2585
L2597-2600
L3071-3073
L3579-3585
L3612-3615
L3683-3685
L3690-3692
L3834-3844
L3853-3857
L3870-3873
L4015-4021
Description

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

informational Issues | 3 findings

Pending

#1 informational Issue
Functions that are not used (dead-code)
AIOdysseyNFTV2.sol
L4678-4684
L817-821
L808-810
L1991-2003
L1845-1847
L1855-1861
L1874-1880
L1888-1897
L1930-1932
L1940-1947
L1905-1907
L1915-1922
L1979-1989
L1955-1971
L117-119
L3100-3102
L3110-3116
L3104-3108
L3118-3120
L2793-2803
L2858-2862
L2886-2894
L2934-2943
L2953-2957
L2980-2982
L2871-2879
L1445-1461
L2509-2511
L2327-2348
L2292-2314
L2260-2262
L2268-2278
L3709-3711
L4312-4314
L4326-4392
L3634-3636
L3746-3750
L4229-4261
L3627-3629
L3620-3622
L3739-3741
L3732-3734
L4301-4303
L4276-4296
L3642-3651
L4401-4411
L3601-3603
L3590-3596
L3786-3791
L2761-2767
L2751-2754
L218-221
L229-232
L480-485
L389-425
L431-436
L493-517
L523-528
L203-205
L210-212
L239-319
L324-335
L342-373
L378-383
L574-578
Description

Remove unused functions.

Pending

#2 informational Issue
Unused state variables (unused-state)
AIOdysseyNFTV2.sol
L4527
Description

Remove unused state variables.

Pending

#3 informational Issue
Unused return values (unused-return)
AIOdysseyNFTV2.sol
L2435-2457
L4107-4126
Description

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