Commit Graph

780 Commits

Author SHA1 Message Date
alfred-mk
bfef77e20e add a CATCH for low amounts and API errors 2026-02-20 09:41:03 +03:00
alfred-mk
3108cb2f22 set a default content of 0 if rates are not found for the selected voucher 2026-02-20 09:34:58 +03:00
alfred-mk
320d10890c improve the error message when one has a low swap amount 2026-02-19 20:09:24 +03:00
alfred-mk
3595ff0d61 include the active symbol in the displayed limit 2026-02-19 20:08:57 +03:00
alfred-mk
29cc4c63eb correctly CATCH error flags 2026-02-19 20:02:44 +03:00
alfred-mk
0280211197 set a default value of 0 on an API error 2026-02-19 20:01:58 +03:00
alfred-mk
2e48fbad00 update the vis files to CATCH the low amount flag 2026-02-19 19:51:50 +03:00
alfred-mk
cdd83dfd73 update the credit and debt calculations 2026-02-19 19:36:23 +03:00
alfred-mk
0ef706a47e include the word pool and update the translation
Some checks failed
release / docker (push) Has been cancelled
v1.4.6-rc.8
2026-02-19 09:15:09 +03:00
alfred-mk
dec8fbc3f0 use the pool symbol in place of the pool name 2026-02-19 09:04:52 +03:00
alfred-mk
29863d385d remove unused OutputAmount 2026-02-19 08:43:03 +03:00
alfred-mk
da8c8c711f Merge branch 'master' into debt-menu 2026-02-19 08:40:51 +03:00
0d76b970d2 Merge pull request 'credit-send-pool-selection-hotfix' (#117) from credit-send-pool-selection-hotfix into master
Reviewed-on: #117
2026-02-19 06:31:21 +01:00
alfred-mk
3ebb4611ca use the correct data keys for the credit send
Some checks failed
release / docker (push) Has been cancelled
v1.4.6-rc.7
2026-02-18 18:07:49 +03:00
alfred-mk
6bc9247acb updated the data keys on the test to match the retrieved data 2026-02-18 17:08:11 +03:00
alfred-mk
f6c613abd6 rename the func to match updated functionality 2026-02-18 17:07:38 +03:00
alfred-mk
4660527e66 updated the send logic to work with a custom voucher 2026-02-18 16:59:37 +03:00
alfred-mk
75caed5f08 added a key to store the actual transaction voucher 2026-02-18 16:58:28 +03:00
alfred-mk
5650629ae4 update the db key name for clarity 2026-02-18 16:56:40 +03:00
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
f32f93dff2 retain the original amount and use it for the transfer once the swap is performed 2026-02-18 13:15:41 +03:00
alfred-mk
5ee99cdcd8 convert the user input to uppercase before calling the pool Details API 2026-02-18 12:42:25 +03:00
alfred-mk
6abcb97f3a multiply the final amount by 1.015 to slightly increase the swapped amount 2026-02-18 12:27:22 +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