Commit Graph

716 Commits

Author SHA1 Message Date
Alfred Kamanda
4ce967967d added a node for confirming the pool deposit 2026-02-07 17:32:42 +03:00
Alfred Kamanda
f397d77989 added a CATCH for invalid pool deposit amounts 2026-02-07 17:31:53 +03:00
Alfred Kamanda
dc2f9fce44 change the order of vis statements for error handling 2026-02-07 17:30:32 +03:00
Alfred Kamanda
35692d2bfd prevent users from inputting amounts less than 0.1 2026-02-07 17:29:40 +03:00
Alfred Kamanda
857e237996 added translations for the pool deposit 2026-02-07 16:50:56 +03:00
Alfred Kamanda
ab8d1535c4 added GetStableVoucherData 2026-02-06 16:40:57 +03:00
Alfred Kamanda
eb25aca96d added pool deposit related functions to the local handler 2026-02-06 16:21:00 +03:00
Alfred Kamanda
601de0126a store the list of stable coins that the user has 2026-02-06 16:20:20 +03:00
Alfred Kamanda
f61b56407b rename the flag to flag_no_stable_vouchers 2026-02-06 16:19:45 +03:00
Alfred Kamanda
16adfdaa8a added data keys to easily manage a user's stable coins 2026-02-06 16:18:14 +03:00
Alfred Kamanda
f6dcc6db0e added the pool deposit amount node 2026-02-06 14:10:42 +03:00
Alfred Kamanda
1902ce226d added the pool deposit menu titles 2026-02-06 14:09:40 +03:00
Alfred Kamanda
7f2467873f added the pool deposit menu node 2026-02-06 14:05:54 +03:00
Alfred Kamanda
916ac11585 use the correct decimal when displaying the quote
Some checks failed
release / docker (push) Has been cancelled
v1.4.6-rc.2
2026-02-05 19:58:14 +03:00
Alfred Kamanda
8223a0b4d5 added translations for voucher selection
Some checks failed
release / docker (push) Has been cancelled
v1.4.6-rc.1
2026-02-04 17:02:50 +03:00
Alfred Kamanda
c57aa220e6 show a default message if the user only has 1 voucher 2026-02-04 17:02:24 +03:00
Alfred Kamanda
ce36e584dd check whether any of the users vouchers are stables or set a flag 2026-02-04 16:35:07 +03:00
Alfred Kamanda
3a4f824ab9 added a CATCH when no stable voucher exists during the pay debt 2026-02-04 16:31:32 +03:00
Alfred Kamanda
f77c82f418 added a flag for flag_no_pay_debt_vouchers 2026-02-04 16:21:25 +03:00
Alfred Kamanda
7b461d9b64 add the env example for the Stable vouchers addresses 2026-02-04 16:17:07 +03:00
Alfred Kamanda
0f7be3147e move the pay debt functionality to the mpesa menu 2026-02-03 17:04:58 +03:00
Alfred Kamanda
6a4909b8a1 separate the main balance from the credit and debt calculation and UI 2026-02-03 17:03:38 +03:00
Alfred Kamanda
7783ba8835 removed unused data keys 2026-02-03 17:02:44 +03:00
Alfred Kamanda
e4c10d23d3 reset the flags to clear out old states 2026-02-03 16:49:11 +03:00
Alfred Kamanda
70ae3c7818 debug: shorten the displayed content 2026-02-03 14:32:21 +03:00
Alfred Kamanda
94b2eca186 debug: change the size outputs 2026-02-03 14:23:21 +03:00
Alfred Kamanda
fd7b3af57c added next and prev inputs for long menus 2026-02-03 14:19:10 +03:00
Alfred Kamanda
9ef27fda14 reset the api_call_error flag 2026-02-03 13:36:14 +03:00
Alfred Kamanda
42f7b0f8a7 remove the api failure flag if no swappable vouchers are found 2026-02-03 13:34:05 +03:00
Alfred Kamanda
85b8775fd0 return nil instead of an error to prevent failure 2026-02-03 13:32:13 +03:00
Alfred Kamanda
0b3b407ab7 add a CATCH for users who do not have vouchers 2026-02-03 13:31:44 +03:00
Alfred Kamanda
3949959aa3 use the correct terms for clarity
Some checks failed
release / docker (push) Has been cancelled
v1.4.6-rc
2026-01-30 16:41:44 +03:00
Alfred Kamanda
99893eac5c include the ActiveSwapToDecimal on the SwapData 2026-01-30 16:34:52 +03:00
Alfred Kamanda
277e4e179d added a CATCH for a low amount response from the API 2026-01-30 16:33:44 +03:00
Alfred Kamanda
ca2a50375b added functions to perform the debt removal 2026-01-30 15:13:33 +03:00
Alfred Kamanda
4dfccb3ff2 log the correct fields 2026-01-30 10:22:36 +03:00
Alfred Kamanda
88b5a33c2e update the sym name to be more descriptive 2026-01-29 19:37:33 +03:00
Alfred Kamanda
a4f036c88d remove the amount as it is present in the response content 2026-01-29 19:29:35 +03:00
Alfred Kamanda
46e98b5b9e update the translations 2026-01-29 19:17:38 +03:00
Alfred Kamanda
ead5dd7b8c store the filtered vouchers from the GetPoolSwappableFromVouchers 2026-01-29 17:10:20 +03:00
Alfred Kamanda
0a69e04229 added helper functions to add scaled down balances 2026-01-29 17:00:24 +03:00
Alfred Kamanda
ea9875584f added the calc_credit_debt to the main.vis and local handler 2026-01-29 16:59:02 +03:00
Alfred Kamanda
6bb87a7b33 added the CalculateCreditAndDebt function 2026-01-29 16:57:00 +03:00
Alfred Kamanda
cfc38402f0 display the credit and debt 2026-01-29 16:14:04 +03:00
Alfred Kamanda
07e0e877d5 added data keys for the credit and debt values 2026-01-29 16:08:53 +03:00
Alfred Kamanda
f7de79f51a added option to go back to the main menu 2026-01-26 13:32:44 +03:00
Alfred Kamanda
e2ff3d20d5 updated the resolveActivePoolAddress to resolveActivePoolDetails 2026-01-26 13:28:31 +03:00
Alfred Kamanda
cbe5b211d8 added the local functions to the menu handler 2026-01-22 17:42:52 +03:00
Alfred Kamanda
101955c1b3 added a node to initialize the pay debt 2026-01-22 17:42:27 +03:00
Alfred Kamanda
d0f7692fa2 added a node for the pay debt confirmation 2026-01-22 17:42:10 +03:00