Skip to content

Conversation

@DeborahOlaboye
Copy link

Implements enhanced liquidity add workflow.

Description

  • Validates subnet existence early
  • Fetches current subnet price
  • Provides conditional prompts based on price range:
    • Alpha-only when price_low >= current_price
    • TAO-only when price_high <= current_price
    • Both tokens with max liquidity calculation otherwise
  • Displays available balances and max providable amounts
  • Validates requested amounts don't exceed available

Includes comprehensive unit tests for new utility functions.

Closes #532

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve btcli liquidity add logic

1 participant