Swarm-V1

Swarm-V1 Smart Contract Audit Report

Share
Share
SuiSui
Onchain Agents / AILicense SaleAirDrop & Token Lock
SuiSui
Onchain Agents / AILicense Sale+1

QuillAudits audited the Swarm-V1 smart contracts on Sui between Jan 16, 2025 and Jan 24, 2025. The audit found 5 issues: 1 high, 3 medium, 1 low, of which 4 resolved and 1 acknowledged.

Project Description

The Swarm License Sale system is built on the SUI blockchain and facilitates the sale of digital licenses while incentivizing referrals. It incorporates advanced features such as tiered pricing, referral incentives, and administrative controls, offering flexibility and scalability.

A notable feature of the Swarm License Sale contracts is the Referral Program, which incentivizes users to promote the platform. Referrers earn cashback rewards when their referral codes are used for purchases. The cashback rate is dynamic, increasing as the referrer successfully brings more participants into the system. This multi-tiered referral system encourages user engagement and helps in organic community expansion.

Timeline

S1
Jan 16, 2025
IA
Jan 23, 2025
S2
Jan 24, 2025

Scope of Audit

The scope of this Audit was to analyze the Swarm Smart Contracts for quality, security, and correctness.

Methodology: the QuillAudits smart contract audit process.

speedometer
0
50%
60%
70%
90%
100%
97.4%
AUDIT SCORE
icon

High

Medium

Low

Informational

open0000
acknowledged0100
partially resolved0000
resolved1210

High Severity Issues

Incorrect Total Distribution Update in Airdrop and Payment Functions Resolved

Resolved
arrow-right
Description

Both functions incorrectly update the total_distribution field. Instead of adding the
specific quantity to the total distribution, the code adds the entire accumulated airdrops or sales values. This can lead to Inaccurate tracking of total token distribution which leads to price increase.

Contract

swarm_license_sale.move

Recommendation

Modify both functions to directly add the quantity to total_distribution.
```treasury.airdrops = treasury.airdrops + quantity; treasury.total_distribution = treasury.total_distribution + quantity;
```

Medium Severity Issues

Low Severity Issues

Appendix

Disclaimer

Swarm-V1

Swarm-V1

High Severity Issues
Medium Severity Issues
Low Severity Issues
Appendix
Disclaimer
View Report PDF

Get an Audit done today for your Smart Contract

Join 1500+ leaders who secured themselves from losing Billion Dollars

cta-banner
cta-banner-bgcta-banner-bg-mobile

Related audits

WE SECURE EVERYTHING YOU BUILD.

From day-zero risk mapping to exchange-ready audits, QuillAudits helps projects grow with confidence. Smart contracts, dApps, infrastructure, compliance: secured end to end.

QuillAudits Logo


ISO 27001Circle Alliance Program
Uniswap FoundationAethiropt-collectivePolygon SPNBNB Chain Kickstart

All Rights Reserved. © 2026. QuillAudits - LLC