Assessment reports>CetusProtocol>Informational findings>Redundant functions
Category: Business Logic

Redundant functions

Informational Impact
Informational Severity
N/A Likelihood

Description

The create_pool_with_liquidity function in the factory module appears to be deprecated. Yet the following functions in integrate/pool.move still depend on it:

  • create_pool_with_liquidity_with_all

  • create_pool_with_liquidity_only_a

  • create_pool_with_liquidity_only_b

Impact

Unnecessary functions could cause confusion when interacting with the pool module.

Recommendations

Remove the redundant functions.

Remediation

Zellic © 2025Back to top ↑