|
|
5c1b4ab002
|
refactored the CalculateMaxPayDebt to improve logic and correctness
|
2026-02-13 03:58:11 +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 |
|
|
|
0e38ef1d04
|
updated the withdraw mpesa flow to support selection of a voucher
|
2026-02-12 16:23:18 +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 |
|
|
|
c548ea0700
|
added pool deposit functions
|
2026-02-07 17:57:46 +03:00 |
|
|
|
35692d2bfd
|
prevent users from inputting amounts less than 0.1
|
2026-02-07 17:29:40 +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 |
|
|
|
916ac11585
|
use the correct decimal when displaying the quote
release / docker (push) Has been cancelled
|
2026-02-05 19:58:14 +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 |
|
|
|
6a4909b8a1
|
separate the main balance from the credit and debt calculation and UI
|
2026-02-03 17:03:38 +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 |
|
|
|
9ef27fda14
|
reset the api_call_error flag
|
2026-02-03 13:36:14 +03:00 |
|
|
|
42f7b0f8a7
|
remove the api failure flag if no swappable vouchers are found
|
2026-02-03 13:34:05 +03:00 |
|
|
|
85b8775fd0
|
return nil instead of an error to prevent failure
|
2026-02-03 13:32:13 +03:00 |
|
|
|
3949959aa3
|
use the correct terms for clarity
release / docker (push) Has been cancelled
|
2026-01-30 16:41:44 +03:00 |
|
|
|
ca2a50375b
|
added functions to perform the debt removal
|
2026-01-30 15:13:33 +03:00 |
|
|
|
4dfccb3ff2
|
log the correct fields
|
2026-01-30 10:22:36 +03:00 |
|
|
|
88b5a33c2e
|
update the sym name to be more descriptive
|
2026-01-29 19:37:33 +03:00 |
|
|
|
ead5dd7b8c
|
store the filtered vouchers from the GetPoolSwappableFromVouchers
|
2026-01-29 17:10:20 +03:00 |
|
|
|
ea9875584f
|
added the calc_credit_debt to the main.vis and local handler
|
2026-01-29 16:59:02 +03:00 |
|
|
|
6bb87a7b33
|
added the CalculateCreditAndDebt function
|
2026-01-29 16:57:00 +03:00 |
|
|
|
cfc38402f0
|
display the credit and debt
|
2026-01-29 16:14:04 +03:00 |
|
|
|
e2ff3d20d5
|
updated the resolveActivePoolAddress to resolveActivePoolDetails
|
2026-01-26 13:28:31 +03:00 |
|
|
|
cbe5b211d8
|
added the local functions to the menu handler
|
2026-01-22 17:42:52 +03:00 |
|
|
|
523f680276
|
append the flag_swap_transaction once all checks pass
release / docker (push) Has been cancelled
|
2026-01-15 11:25:02 +03:00 |
|
|
|
b337c9260b
|
add a debug statement
|
2026-01-15 11:17:41 +03:00 |
|
|
|
7d8fd065f0
|
default to a normal send if an error occurs on calculateSendCreditLimits
|
2026-01-15 10:56:20 +03:00 |
|
|
|
a447f230ca
|
refactor the code to handle credit send or normal transactions
|
2026-01-13 12:45:27 +03:00 |
|
|
|
d586c41cca
|
add sleep for 1 second between requests
release / docker (push) Has been cancelled
|
2025-12-03 13:12:24 +03:00 |
|
|
|
1cb82e9099
|
call the mpesa rates API to get the rates
|
2025-12-02 12:28:28 +03:00 |
|
|
|
e658460845
|
Merge branch 'master' into mpesa-onramp-offramp
|
2025-11-28 11:54:29 +03:00 |
|
|
|
bbc5b8f82a
|
Merge branch 'master' into update-balance-on-empty-vouchers
|
2025-11-28 11:42:40 +03:00 |
|
|
|
17c9925b14
|
convert the amount to an int before calling the MpesaTriggerOnramp API
|
2025-11-28 10:40:43 +03:00 |
|
|
|
9b8c5a021b
|
added the send mpesa functionality with the use of config values
|
2025-11-27 16:45:56 +03:00 |
|
|
|
0da64b8565
|
added the send_mpesa symbols
|
2025-11-27 16:44:33 +03:00 |
|
|
|
98bc2dbac1
|
refactored the code for proper transaction flow for normal and swap transfers
|
2025-11-27 13:33:00 +03:00 |
|
|
|
c610f0c9c1
|
added the get mpesa symbols
|
2025-11-26 18:02:50 +03:00 |
|
|
|
edaf527aa1
|
added the get mpesa functionality
|
2025-11-26 18:02:28 +03:00 |
|
|
|
398610924b
|
removed the debug output
release / docker (push) Has been cancelled
|
2025-11-26 13:02:26 +03:00 |
|
|
|
3fdb0e3426
|
update the symbol to send_max_amount with debug output
|
2025-11-26 12:56:04 +03:00 |
|
|
|
c2cf8e91e5
|
removed the print debug statements
release / docker (push) Has been cancelled
|
2025-11-14 10:55:54 +03:00 |
|