Skip to content

Wayfinder: New Position pool status and preview model #219

Description

@3esmit

Question

What state model should represent pool status, reserves, existing-position balances, deposit inputs, and LP preview for Issue 30?

Answer should cover:

  • active pool vs missing pool vs invalid/inactive/unreadable pool
  • current-main active definition (PoolDefinition.liquidity_pool_supply, reserves, account existence)
  • AddLiquidity ratio-lock math and min LP from slippage
  • NewDefinition independent amount entry, initial LP calculation, MINIMUM_LIQUIDITY, and invalid low-liquidity cases
  • fee-tier selection and unsupported fee rejection
  • account preview rows for created/updated accounts

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions