Smart Max — One-click balanced adds for CL liquidity

What it does

When you create a new position or increase liquidity on an existing one, Smart Max automatically:

  1. reads your wallet balances of the two tokens,

  2. uses the usage preset you choose (25% / 50% / 100% of your balances),

  3. factors in your selected price range, then computes the optimal token ratio for that range, and—if needed—swaps a portion of one token to the other via liqd.ag or the Hybra native router. You’ll see a swap preview first. After you confirm, Smart Max executes the swap and adds liquidity in one go—no manual math, no manual swap.

VIP benefit (Hybra native)

  • Swaps routed via the Hybra native router count toward VIP progress and unlock VIP-tier fee benefits:

Points Boost
  • You can opt to prefer Hybra native when quotes are comparable to capture VIP.


How it works

  1. Select position → New position or “Increase liquidity.”

  2. Choose usage preset → 25% / 50% / 100% of current wallet balances.

  3. Set price range → The app calculates the required token ratio for that range at current price.

  4. Preview → Modal shows:

    • From/To token, estimated received, min received, router (liqd.ag / Hybra), fees & price impact.

  5. Confirm → Smart Max performs the swap (if needed) and supplies both tokens at the right ratio.

  6. Done → Position is created/updated with balanced amounts.


Examples

1) 100% usage — USDT-heavy → swap USDT→HYPE (swap required)

  • Wallet: a = 50 HYPE, b = 20,000 USDT

  • V_total = 50·45 + 20,000 = 22,250V_target = 22,250

  • Targets: U_target = 11,125 USDT; H_target = 11,125/45 ≈ 247.22 HYPE

  • Since b = 20,000 > U_target, swap 20,000 − 11,125 = 8,875 USDT → HYPE

    • Est. HYPE from swap: 8,875/45 ≈ 197.22 HYPE

    • New HYPE: 50 + 197.22 = 247.22; New USDT: 11,125

  • Supply ≈ 247.22 HYPE + 11,125 USDT


2) 50% usage — HYPE-heavy → swap HYPE→USDT (swap required) — fixed math

  • Wallet: a = 1,500 HYPE, b = 100 USDT

  • V_total = 1,500·45 + 100 = 67,600V_target = 33,800

  • Targets: U_target = 16,900 USDT; H_target = 16,900/45 ≈ 375.56 HYPE

  • Since b = 100 < U_target, swap 16,900 − 100 = 16,800 USDT worth from HYPE

    • Sell 16,800/45 ≈ 373.33 HYPE → USDT

    • Post-swap you can supply ≈ 375.56 HYPE + 16,900 USDT; extra HYPE stays in wallet.


3) 50% usage — already 50/50 by value (no swap)

  • Wallet: a = 200 HYPE (=$9,000), b = 9,000 USDT

  • V_total = 18,000V_target = 9,000

  • Targets: U_target = 4,500 USDT; H_target = 4,500/45 = 100 HYPE

  • a ≥ H_target and b ≥ U_targetno swap

  • Supply ≈ 100 HYPE + 4,500 USDT


Notes & tips

  • Routers: Smart Max automatically picks liqd.ag or the Hybra native router based on best route/quotes.

  • Slippage / min received: Always shown in the preview for transparency.

  • Approvals: If a token isn’t approved, you’ll be prompted once.

  • Price moves: If the market moves between preview and confirm, the app will re-quote or fail safely; just re-try.

Last updated