Raum Network

Raum Network Smart Contract Audit Report

Share
Share
StellarStellar
Uniswap v2AMM
StellarStellar
Uniswap v2AMM

QuillAudits audited the Raum Network smart contracts on Stellar between Jul 8, 2024 and Jul 19, 2024. The audit found 3 issues: 2 low, 1 informational, of which 1 resolved and 2 acknowledged.

Project Description

The smart contracts for RaumFi Core, encompassing its AMM, Factory, and Router functionalities, are crafted in Rust and utilize the Soroban SDK.

1. Factory Contract - Factory Contract That includes the functionality of related to the pair    address and pair contract.

2. Route Contractr - Router Contract is the main contract from which all the pair related functions like add , remove and swap on the tokens will be implemented.

Timeline

S1
Jul 8, 2024
S2
Jul 19, 2024

Scope of Audit

The scope of this audit was to analyze the raum-network for quality, security, and correctness.

Methodology: the QuillAudits smart contract audit process.

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

High

Medium

Low

Informational

open0000
acknowledged0011
partially resolved0000
resolved0010
Raum Network

Raum Network

Low Severity Issues

Possibility of overflow and underflow when performing arithmetic operations

Resolved
arrow-right
Description

In the current codebase, using native arithmetic operations raises the potential for overflow and underflow issues. To mitigate these risks, consider implementing checked safe methods for arithmetic operations. This oversight could lead to unpredictable behavior or errors if the counter exceeds its maximum allowable value. It is crucial to implement safeguards to ensure that the counter does not overflow.

Contract

balance.rs, storage.rs

Recommendation

Consider using the checked_add/checked_sub method instead of the native arithmetic addition operation

Inconsistent fee calculation

Acknowledged
arrow-right
Description

Based on the calculations and the original implementation of the fork, the fee calculation should deduct only 0.3% of fees based on the swapped amount. However, the current implementation in the checked_ceiling_div function appears to be inconsistent with this expectation.Suppose the amount_0 is 1001, the fee calculation according to function checked_ceiling_div is going to be 4, which is not correct as expected value should be 3.

Contract

math.rs

Recommendation

Consider fixing the function checked_ceiling_div to ensure consistent computation of the fees.

Informational Issues

Appendix

Disclaimer

Raum Network

Raum Network

Low Severity Issues
Informational 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

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