2026-04-15 12:51:14 +02:00
|
|
|
{
|
|
|
|
|
"name": "amm_ui",
|
|
|
|
|
"version": "0.1.0",
|
|
|
|
|
"type": "ui_qml",
|
|
|
|
|
"category": "amm",
|
|
|
|
|
"description": "UI module for the AMM program",
|
2026-06-24 14:50:17 +02:00
|
|
|
"main": "amm_ui_plugin",
|
2026-04-22 10:08:43 +02:00
|
|
|
"view": "qml/Main.qml",
|
2026-04-15 12:51:14 +02:00
|
|
|
"icon": "icons/amm.png",
|
2026-06-24 14:50:17 +02:00
|
|
|
"dependencies": ["logos_execution_zone"],
|
2026-04-15 12:51:14 +02:00
|
|
|
|
|
|
|
|
"nix": {
|
|
|
|
|
"packages": {
|
feat(apps/amm): add create-pool / new liquidity position flow
Add a "Create Pool" flow to the AMM app that lets a user open a new
liquidity position — seeding a pool's initial liquidity — from token
selection and amount entry, through a confirmation dialog, to on-chain
submission.
- client crate (apps/amm/client): pure, testable protocol logic — account
decoding, pair/position modelling, and quote/plan computation — exposed to
the app over a C ABI (config/networks.json drives network selection).
- C++ runtime + backend: AmmClient, ActiveNetwork, and NewPositionRuntime,
wired into AmmUiBackend (new resolve/quote/submit slots).
- QML flow: NewPositionForm, NewPositionFlow state, NewPositionConfirmation-
Dialog, TokenSelectorModal, and reusable Amm* presentational components
(theme, surfaces, buttons) + AmountMath.js.
- tests: C++ (NewPositionRuntimeTest, ActiveNetworkTest) and QML
(tst_NewPositionForm, tst_LiquidityPage, tst_TokenAmountInput, …).
2026-06-26 09:22:42 +02:00
|
|
|
"build": ["pkg-config"],
|
|
|
|
|
"runtime": ["qt6.qtdeclarative", "zstd", "krb5", "abseil-cpp", "libbase58"]
|
2026-04-15 12:51:14 +02:00
|
|
|
},
|
2026-07-13 22:20:12 +02:00
|
|
|
"external_libraries": [
|
feat(apps/amm): add create-pool / new liquidity position flow
Add a "Create Pool" flow to the AMM app that lets a user open a new
liquidity position — seeding a pool's initial liquidity — from token
selection and amount entry, through a confirmation dialog, to on-chain
submission.
- client crate (apps/amm/client): pure, testable protocol logic — account
decoding, pair/position modelling, and quote/plan computation — exposed to
the app over a C ABI (config/networks.json drives network selection).
- C++ runtime + backend: AmmClient, ActiveNetwork, and NewPositionRuntime,
wired into AmmUiBackend (new resolve/quote/submit slots).
- QML flow: NewPositionForm, NewPositionFlow state, NewPositionConfirmation-
Dialog, TokenSelectorModal, and reusable Amm* presentational components
(theme, surfaces, buttons) + AmountMath.js.
- tests: C++ (NewPositionRuntimeTest, ActiveNetworkTest) and QML
(tst_NewPositionForm, tst_LiquidityPage, tst_TokenAmountInput, …).
2026-06-26 09:22:42 +02:00
|
|
|
{ "name": "amm_client_ffi" },
|
|
|
|
|
{ "name": "amm_client" }
|
2026-07-13 22:20:12 +02:00
|
|
|
],
|
2026-04-15 12:51:14 +02:00
|
|
|
"cmake": {
|
|
|
|
|
"find_packages": [],
|
|
|
|
|
"extra_sources": [],
|
2026-07-13 22:20:12 +02:00
|
|
|
"extra_include_dirs": ["lib"],
|
2026-04-15 12:51:14 +02:00
|
|
|
"extra_link_libraries": []
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|