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)
Fix swap slippage display in teleportdone — cyb #1379 (cyb #1196, #1195)Fix IBC transfer status glitchdone — cyb5a55413a(#1332)- Fix teleport UI rendering (cyb #1113)
- Fix warp deposit for edge-case pairs (cyb #769)
- Fix sub-liquidity UX when pool absent (cyb #849)
- Show routed $A/$V on /robot (cyb #690)
- Block dust withdrawal on frontend — validate minimum pool coin amount before tx (cyb #1377)
- Restore IBC channel bostrom–space-pussy (#804)
- Document all liquidity bugs with reproduction steps
Block swap below chain minimum (100 base units)done — cyb #1382 (#1380)Fix tx confirmation status bar timeoutdone — cyb #1382 (#1381)Fix swap status bar not updating after tx confirmationdone — cyb #1384 (#1383)Display swap fee (0.3%) next to slippagedone — cyb #1382- Amount > 10% pool reserves shows warning (cyb #1382)
Auto-refresh destination balance after IBC transfer completes on teleportdone — cyb343352fb(#1385)Fix IBC denom hash — sha256 received string instead of Uint8Array → wrong denom → balance always 0done — cyb343352fb(#1386)- Dynamic RPC endpoints — chain registry + Keplr fallback + user-configurable per-chain RPC in settings (cyb #1387)
Phase 1: Contracts + features (weeks, dependencies between items)
- Finalize hub contracts — tokens, states, bridges (cw-cyber #38)
- Deploy warp contract wrapper over x/liquidity
- Deploy nebula — token discovery, market cap, volume analytics
- CW-20/CW-721 integration (cw-cyber #23) → unblocks LP with factory tokens (#30)
- APR computation contract (cw-cyber #39)
- Implement value tab — sigma/super-sigma portfolio valuation, switchable denominations (cyb #660)
- Restaking automation (cw-cyber #13)
- Integrate Osmosis swap subset into teleport for seamless exchange
- Stabilize Osmosis IBC send/bridge/swap
Phase 2: Chain upgrade (hardening, months)
- Fork mainnet state → testnet for upgrade testing
- Fix 18-decimal token handling (#801)
- Fix pool withdrawal overflow + dust rounding (#802)
- Update token denoms (#762)
- Fix x/liquidity
RegisterCustomTypeURLcodec — SDK fork exists for this, eliminate with type assertion on SDK v0.50+ (see go-cyber upgrade-plan.md) - Native indexing plugin (ABCIListener) — replaces cyberindex for price/volume data, unblocks #803
- Configurable denoms from genesis — prerequisite for #762 and space-pussy unification (upgrade-plan.md item 1.6)
- 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
- bostrom/liquidity — module documentation
- aqua style dex — draft BIP for future module replacement
- liquidity subsidy — draft CIP for senate-funded pool subsidies
- market making — Osmosis pool data
- bostrom/infrastructure/ibc — IBC channel status
- tokenfactory — native token registry module
- go-cyber upgrade-plan.md — SDK v0.50 migration and hardening roadmap