Artery chain Info
Artery Chain is a next-generation Layer 1 blockchain built on Avalanche, purpose-built for AI-powered, immersive Web3 gaming. Artery Chain fuses rich storytelling, game-first mechanics, and intelligent AI systems to power a new breed of decentralized game worlds. At the core of Artery Chain lies the $ARTERY token designed to unify gameplay, creation, governance, and rewards across an intelligent, creator-driven ecosystem.
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.
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.
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 burning within the contract without any allowances
Ownership is renounced
The contract does not include owner functions that allow post-deployment modifications.
Contract is not upgradeable
The contract does not use proxy patterns or other mechanisms to allow future upgrades. Its behavior is locked in its current state.
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:
- Specification Review: Analyze the provided specifications, source code, and instructions to fully understand the smart contract's size, scope, and functionality.
- Manual Code Examination: Conduct a thorough line-by-line review of the source code to identify potential vulnerabilities and areas for improvement.
- Specification Alignment: Ensure that the code accurately implements the provided specifications and intended functionalities.
- Test Coverage Assessment: Evaluate the extent and effectiveness of test cases in covering the codebase, identifying any gaps in testing.
- Symbolic Execution: Analyze the smart contract to determine how various inputs affect execution paths, identifying potential edge cases and vulnerabilities.
- Best Practices Evaluation: Assess the smart contracts against established industry and academic best practices to enhance efficiency, maintainability, and security.
- 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 add/remove the liquidity pool from the contract.
- The owner can set the trading rules.
- The owner can enable/disable trading.
- The owner can enable/disable trading rules.
Note - This Audit report consists of a security analysis of the Artery chain smart contract. This analysis did not include functional testing (or unit testing) of the contract’s logic. Moreover, we only audited the mentioned contract for the Artery chain team. Other contracts associated with the project were not audited by our team. We recommend investors 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
high Issues | 1 findings
Resolved
#1 high Issue
Owner Can Unilaterally Halt All Trading
The enableTrading function gives the owner the absolute power to start and, more critically, stop all trading activity with liquidity pools at any moment. By calling the function with false, the tradingStartTimestamp is reset to zero, causing all subsequent buy or sell transactions to fail. This presents a severe centralization risk, as it can be used to manipulate the market or trap user funds by preventing them from selling their tokens. This functionality creates a single point of failure and undermines the trust and decentralization of the token's ecosystem.
medium Issues | 3 findings
Resolved
#1 medium Issue
Trading Can Be Effectively Halted by Owner
The setTradingRules function allows the owner to set the buyCap and sellCap to any value. If a very low number (e.g., 1 wei) is used, it acts as a "soft lock" on the token. Since virtually all transactions are for a value greater than 1 wei, the condition value > buyCap will almost always be true, causing all buy and sell transactions with liquidity pools to be reverted. This can be exploited by a malicious owner to trap user funds or can be set accidentally by an owner who misunderstands how token decimals work.
Resolved
#2 medium Issue
Owner can set an arbitrarily long cooldown, effectively limiting users to a single transaction.
The setTradingRules function allows the owner to set the cooldownSeconds to any value. If a very large number is used (e.g., equivalent to months or years), it creates a "soft lock" on user wallets after their first trade. Once a user buys or sells, they will be rate-limited and blocked from making any further transactions with a liquidity pool until the entire cooldown period has expired. This could be used maliciously by the owner to trap investors after they have bought into the token, preventing them from selling.
Resolved
#3 medium Issue
Owner Can Arbitrarily Redefine Trading Venues
The setLiquidityPool function grants the owner the exclusive power to designate which addresses are considered official liquidity pools. Since the contract's trading rules only apply to transactions involving an address on this list, this control can be abused. A malicious owner could effectively disable all trading rules for everyone by removing the legitimate liquidity pool address from the list, allowing whales or bots to trade without limits. Conversely, an owner could add a regular user's address to the list, unfairly subjecting them to restrictive caps and cooldowns. This creates a centralized point of failure where the owner can selectively and instantly alter the fundamental market rules for their own benefit.
low Issues | 2 findings
Pending
#1 low Issue
Missing events arithmetic
It is recommended to emit all the critical parameter changes.
Pending
#2 low Issue
Sell transactions that violate the sellCap revert with the wrong error message.
The _checkTradingRules function contains a bug in its error handling for sell-side transactions. When a user attempts to sell an amount of tokens that exceeds the established sellCap, the function correctly identifies the violation but reverts with an ExceedBuyLimit error instead of the appropriate ExceedSellLimit error. The issue does not lead to a loss of funds but creates a confusing and misleading experience for users and developers. It provides inaccurate feedback for failed transactions, which complicates off-chain interface development and makes debugging more difficult.
informational Issues | 1 findings
Pending
#1 informational Issue
Floating pragma solidity version.
Adding the constant version of solidity is recommended, as this prevents the unintentional deployment of a contract with an outdated compiler that contains unresolved bugs.