Skip to content

Conversation

@SynnekOG
Copy link

Pull Request

Summary

This PR introduces foundational data structures to support advanced liquidity management in LiquidityManagerV2.

Changes

  • Added LiquidityProvider struct
    • Tracks contributions, rewards, vesting status, and emergency withdrawal times.
  • Added PoolInfo struct
    • Stores pool state, thresholds, vesting duration, creator, and provider mappings.
  • Added LiquidityPosition struct
    • Represents active liquidity positions with token pair details, fee tier, tick range, liquidity amounts, and timestamps.

Motivation

These structs establish the backbone for:

  • Managing individual liquidity providers and their states.
  • Tracking pool-wide metrics, thresholds, and emergency controls.
  • Representing positions in a standardized way compatible with AMM-style mechanics.

This prepares the contract for more complex features such as reward distribution, vesting enforcement, and multi-pool support.

@Neros0 Neros0 self-requested a review September 14, 2025 18:50
@Neros0 Neros0 added documentation Improvements or additions to documentation enhancement New feature or request labels Sep 14, 2025
@Neros0 Neros0 merged commit 1872cb6 into CraftMeme:main Sep 14, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants