Commit Graph

758 Commits

Author SHA1 Message Date
alfred-mk
d2b4dcef36 match the updated function name in the test 2026-02-18 16:09:20 +03:00
alfred-mk
8d259683a1 fetch the DATA_RECIPIENT_INPUT instead of temporary value 2026-02-18 16:08:47 +03:00
alfred-mk
836ea3ce9d simplified the vis files by removing unused LOAD and RELOAD statements 2026-02-18 16:08:14 +03:00
alfred-mk
e03ca7fcae use the normal transaction preview and the translation 2026-02-18 16:06:40 +03:00
alfred-mk
81b56f6fed added a key to store the initial recipient input given by the user 2026-02-18 16:04:40 +03:00
alfred-mk
f869ff437e update the transaction for custom voucher selection 2026-02-17 16:10:31 +03:00
alfred-mk
d8a6535c6f added validation and storage of the selected custom voucher 2026-02-17 16:09:14 +03:00
alfred-mk
108d5bdc3e added a node for credit voucher selection 2026-02-17 16:08:22 +03:00
alfred-mk
2d6e7e81dd added a db key to store the state of the custom transaction voucher 2026-02-17 16:07:34 +03:00
alfred-mk
96ba48bcba only set the flag if the user has a single voucher 2026-02-17 14:04:17 +03:00
alfred-mk
a346adb8f9 display the default asset during the Mpesa topup 2026-02-17 13:36:38 +03:00
alfred-mk
c50c53c758 use the current balance as debt
Some checks failed
release / docker (push) Has been cancelled
v1.4.6-rc.6
2026-02-17 08:51:22 +03:00
alfred-mk
e7a3e63cd5 go back on 0 input for navigation 2026-02-17 08:42:58 +03:00
alfred-mk
fe534b1181 polished the withdraw mpesa flow to correctly work with the selected voucher
Some checks failed
release / docker (push) Has been cancelled
v1.4.6-rc.5
2026-02-16 14:28:30 +03:00
alfred-mk
a78639799d add a function for ReadSwapToVoucher 2026-02-16 14:14:50 +03:00
alfred-mk
09954d967f read the data entries directly from the store
Some checks failed
release / docker (push) Has been cancelled
v1.4.6-rc.4
2026-02-16 10:21:20 +03:00
alfred-mk
465b3b5604 use the default stable decimals to scale down the quote 2026-02-16 10:20:10 +03:00
alfred-mk
aacea81397 added the default stable voucher address and decimals 2026-02-16 10:14:41 +03:00
Alfred Kamanda
c2cfd0fe44 updated the credit and debt calculations 2026-02-16 09:08:13 +03:00
Alfred Kamanda
f6ecbcc79d remove lowercase conversion of voucher addresses 2026-02-16 09:06:53 +03:00
Alfred Kamanda
43b963995f refactored the code to send the correct pool deposit request 2026-02-13 16:36:20 +03:00
Alfred Kamanda
2e81ae58bc refactored the code for proper debt removal confirmation 2026-02-13 16:07:46 +03:00
Alfred Kamanda
8f66a46e76 added a function to ReadSwapFromVoucher 2026-02-13 16:04:00 +03:00
Alfred Kamanda
47a14555fb reordered vis statements to match updated menu flow 2026-02-13 14:50:39 +03:00
Alfred Kamanda
5c1b4ab002 refactored the CalculateMaxPayDebt to improve logic and correctness 2026-02-13 03:58:11 +03:00
Alfred Kamanda
5255671a3d added the data key for the swap from balance 2026-02-13 03:56:55 +03:00
Alfred Kamanda
c02aa99ed0 store the active swap from voucher data 2026-02-13 03:56:24 +03:00
Alfred Kamanda
ba2c06c00a process and store the vouchers as an ordered list 2026-02-13 03:54:09 +03:00
Alfred Kamanda
8b6f8b9a43 process all voucher lists as ordered, with stables at the top 2026-02-12 19:22:38 +03:00
Alfred Kamanda
80ea357e9c added a new line for clear separation between voucher list and menu inputs 2026-02-12 19:19:52 +03:00
Alfred Kamanda
504fcb67d3 renamed the mpesa menu nodes for clarity 2026-02-12 16:24:12 +03:00
Alfred Kamanda
0e38ef1d04 updated the withdraw mpesa flow to support selection of a voucher 2026-02-12 16:23:18 +03:00
Alfred Kamanda
115cf2fbc9 added the minimum mpesa withdrawal amount config 2026-02-12 15:04:42 +03:00
Alfred Kamanda
f4c8c45ed1 rename the function to match the ordered voucher data 2026-02-12 14:20:42 +03:00
Alfred Kamanda
1a61ea6de3 rename the function for reuse 2026-02-12 10:29:05 +03:00
Alfred Kamanda
50c2aff79e store the ordered list of vouchers with stables at the top 2026-02-12 10:25:53 +03:00
Alfred Kamanda
ea71c08143 rename the data keys to store ordered voucher lists 2026-02-12 10:24:54 +03:00
Alfred Kamanda
5ed7cbd40a update the Mpesa response once someone requests for a withdrawal 2026-02-09 14:14:44 +03:00
Alfred Kamanda
c4e2ed6db2 use the updated pool deposit URL
Some checks failed
release / docker (push) Has been cancelled
v1.4.6-rc.3
2026-02-07 18:10:19 +03:00
Alfred Kamanda
7f6be9258d updated the env example comment on stable voucher addresses 2026-02-07 18:00:47 +03:00
Alfred Kamanda
c548ea0700 added pool deposit functions 2026-02-07 17:57:46 +03:00
Alfred Kamanda
e14387a975 added a node for initializing the pool deposit 2026-02-07 17:33:01 +03:00
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