Liquidity Roadmap

design note from Mar 1 2026 recap. scope: fix bostrom liquidity via cosmwasm progs, chain stays unchanged

1. Confirmed Problems

Fix now (frontend/contracts, chain stays unchanged)

Issue Problem Severity Status
#663 warp swap interface shows unpredictable prices/amounts (large amount overflow) high done — cyb #1379, #1382
#1380 swap rejects small amounts without user-friendly error medium done — cyb #1382
#1381 tx confirmation status bar hangs indefinitely medium done — cyb #1382
#803 Missing price/volume indexing medium open

Requires chain upgrade (hardening, later)

Issue Problem Severity Fix Path
#801 18-decimal ERC-style tokens malfunction in liquidity module pools high module-level arithmetic fix

2. Architecture

Layer teleport warp nebula hub
Frontend send, bridge, swap pools UI token discovery, mcap tokens, states, bridges
Contracts wrapper over x/liquidity market cap + volume 3 cosmwasm registries
Chain x/liquidity, IBC, x/bank x/liquidity x/bank queries tokenfactory, IBC

hub contracts: tokens registry (wraps tokenfactory), states (networks/chains with metadata), bridges (IBC connections between states)

Strategy: deploy CosmWasm proxy contracts → redirect users from module calls to contract calls → remove modules from core on future upgrade.

3. Delivery Plan

Phase 0: Quick wins (days, frontend bugfixes)

  1. Fix swap slippage display in teleport done — cyb #1379 (cyb #1196, #1195)
  2. Fix IBC transfer status glitch done — cyb 5a55413a (#1332)
  3. Fix teleport UI rendering (cyb #1113)
  4. Fix warp deposit for edge-case pairs (cyb #769)
  5. Fix sub-liquidity UX when pool absent (cyb #849)
  6. Show routed $A/$V on /robot (cyb #690)
  7. Block dust withdrawal on frontend — validate minimum pool coin amount before tx (cyb #1377)
  8. Restore IBC channel bostrom–space-pussy (#804)
  9. Document all liquidity bugs with reproduction steps
  10. Block swap below chain minimum (100 base units) done — cyb #1382 (#1380)
  11. Fix tx confirmation status bar timeout done — cyb #1382 (#1381)
  12. Fix swap status bar not updating after tx confirmation done — cyb #1384 (#1383)
  13. Display swap fee (0.3%) next to slippage done — cyb #1382
  14. Amount > 10% pool reserves shows warning (cyb #1382)
  15. Auto-refresh destination balance after IBC transfer completes on teleport done — cyb 343352fb (#1385)
  16. Fix IBC denom hash — sha256 received string instead of Uint8Array → wrong denom → balance always 0 done — cyb 343352fb (#1386)
  17. Dynamic RPC endpoints — chain registry + Keplr fallback + user-configurable per-chain RPC in settings (cyb #1387)

Phase 1: Contracts + features (weeks, dependencies between items)

  1. Finalize hub contracts — tokens, states, bridges (cw-cyber #38)
  2. Deploy warp contract wrapper over x/liquidity
  3. Deploy nebula — token discovery, market cap, volume analytics
  4. CW-20/CW-721 integration (cw-cyber #23) → unblocks LP with factory tokens (#30)
  5. APR computation contract (cw-cyber #39)
  6. Implement value tab — sigma/super-sigma portfolio valuation, switchable denominations (cyb #660)
  7. Restaking automation (cw-cyber #13)
  8. Integrate Osmosis swap subset into teleport for seamless exchange
  9. Stabilize Osmosis IBC send/bridge/swap

Phase 2: Chain upgrade (hardening, months)

  1. Fork mainnet state → testnet for upgrade testing
  2. Fix 18-decimal token handling (#801)
  3. Fix pool withdrawal overflow + dust rounding (#802)
  4. Update token denoms (#762)
  5. Fix x/liquidity RegisterCustomTypeURL codec — SDK fork exists for this, eliminate with type assertion on SDK v0.50+ (see go-cyber upgrade-plan.md)
  6. Native indexing plugin (ABCIListener) — replaces cyberindex for price/volume data, unblocks #803
  7. Configurable denoms from genesis — prerequisite for #762 and space-pussy unification (upgrade-plan.md item 1.6)
  8. Build cyber-maker for automated market making + data collection

x/liquidity module specification — done (go-cyber PR #800)

All items above ship as a single hardening upgrade bundled with SDK v0.50 migration. Testnet fork approach: snapshot mainnet state → apply upgraded code → validate → merge back. See go-cyber upgrade-plan.md for full SDK upgrade roadmap.

Source References

Local Graph