Commit Graph

738 Commits

Author SHA1 Message Date
43b963995f
refactored the code to send the correct pool deposit request 2026-02-13 16:36:20 +03:00
2e81ae58bc
refactored the code for proper debt removal confirmation 2026-02-13 16:07:46 +03:00
8f66a46e76
added a function to ReadSwapFromVoucher 2026-02-13 16:04:00 +03:00
47a14555fb
reordered vis statements to match updated menu flow 2026-02-13 14:50:39 +03:00
5c1b4ab002
refactored the CalculateMaxPayDebt to improve logic and correctness 2026-02-13 03:58:11 +03:00
5255671a3d
added the data key for the swap from balance 2026-02-13 03:56:55 +03:00
c02aa99ed0
store the active swap from voucher data 2026-02-13 03:56:24 +03:00
ba2c06c00a
process and store the vouchers as an ordered list 2026-02-13 03:54:09 +03:00
8b6f8b9a43
process all voucher lists as ordered, with stables at the top 2026-02-12 19:22:38 +03:00
80ea357e9c
added a new line for clear separation between voucher list and menu inputs 2026-02-12 19:19:52 +03:00
504fcb67d3
renamed the mpesa menu nodes for clarity 2026-02-12 16:24:12 +03:00
0e38ef1d04
updated the withdraw mpesa flow to support selection of a voucher 2026-02-12 16:23:18 +03:00
115cf2fbc9
added the minimum mpesa withdrawal amount config 2026-02-12 15:04:42 +03:00
f4c8c45ed1
rename the function to match the ordered voucher data 2026-02-12 14:20:42 +03:00
1a61ea6de3
rename the function for reuse 2026-02-12 10:29:05 +03:00
50c2aff79e
store the ordered list of vouchers with stables at the top 2026-02-12 10:25:53 +03:00
ea71c08143
rename the data keys to store ordered voucher lists 2026-02-12 10:24:54 +03:00
5ed7cbd40a
update the Mpesa response once someone requests for a withdrawal 2026-02-09 14:14:44 +03:00
c4e2ed6db2
use the updated pool deposit URL
Some checks failed
release / docker (push) Has been cancelled
2026-02-07 18:10:19 +03:00
7f6be9258d
updated the env example comment on stable voucher addresses 2026-02-07 18:00:47 +03:00
c548ea0700
added pool deposit functions 2026-02-07 17:57:46 +03:00
e14387a975
added a node for initializing the pool deposit 2026-02-07 17:33:01 +03:00
4ce967967d
added a node for confirming the pool deposit 2026-02-07 17:32:42 +03:00
f397d77989
added a CATCH for invalid pool deposit amounts 2026-02-07 17:31:53 +03:00
dc2f9fce44
change the order of vis statements for error handling 2026-02-07 17:30:32 +03:00
35692d2bfd
prevent users from inputting amounts less than 0.1 2026-02-07 17:29:40 +03:00
857e237996
added translations for the pool deposit 2026-02-07 16:50:56 +03:00
ab8d1535c4
added GetStableVoucherData 2026-02-06 16:40:57 +03:00
eb25aca96d
added pool deposit related functions to the local handler 2026-02-06 16:21:00 +03:00
601de0126a
store the list of stable coins that the user has 2026-02-06 16:20:20 +03:00
f61b56407b
rename the flag to flag_no_stable_vouchers 2026-02-06 16:19:45 +03:00
16adfdaa8a
added data keys to easily manage a user's stable coins 2026-02-06 16:18:14 +03:00
f6dcc6db0e
added the pool deposit amount node 2026-02-06 14:10:42 +03:00
1902ce226d
added the pool deposit menu titles 2026-02-06 14:09:40 +03:00
7f2467873f
added the pool deposit menu node 2026-02-06 14:05:54 +03:00
916ac11585
use the correct decimal when displaying the quote
Some checks failed
release / docker (push) Has been cancelled
2026-02-05 19:58:14 +03:00
8223a0b4d5
added translations for voucher selection
Some checks failed
release / docker (push) Has been cancelled
2026-02-04 17:02:50 +03:00
c57aa220e6
show a default message if the user only has 1 voucher 2026-02-04 17:02:24 +03:00
ce36e584dd
check whether any of the users vouchers are stables or set a flag 2026-02-04 16:35:07 +03:00
3a4f824ab9
added a CATCH when no stable voucher exists during the pay debt 2026-02-04 16:31:32 +03:00
f77c82f418
added a flag for flag_no_pay_debt_vouchers 2026-02-04 16:21:25 +03:00
7b461d9b64
add the env example for the Stable vouchers addresses 2026-02-04 16:17:07 +03:00
0f7be3147e
move the pay debt functionality to the mpesa menu 2026-02-03 17:04:58 +03:00
6a4909b8a1
separate the main balance from the credit and debt calculation and UI 2026-02-03 17:03:38 +03:00
7783ba8835
removed unused data keys 2026-02-03 17:02:44 +03:00
e4c10d23d3
reset the flags to clear out old states 2026-02-03 16:49:11 +03:00
70ae3c7818
debug: shorten the displayed content 2026-02-03 14:32:21 +03:00
94b2eca186
debug: change the size outputs 2026-02-03 14:23:21 +03:00
fd7b3af57c
added next and prev inputs for long menus 2026-02-03 14:19:10 +03:00
9ef27fda14
reset the api_call_error flag 2026-02-03 13:36:14 +03:00