Commit Graph

244 Commits

Author SHA1 Message Date
alfred-mk
ec8dc2fb1d Added a catch for the flag_low_swap_amount 2025-03-12 10:46:11 +03:00
alfred-mk
6a91049ffb Added a flag_low_swap_amount and vis files for when the swap max limit is less than 0.1 2025-03-12 10:45:38 +03:00
alfred-mk
d13d24f032 Update the conflicting input numbers on main.vis 2025-03-12 10:44:09 +03:00
alfred-mk
46d5c2f035 pass the correct arguments to the swap functions 2025-03-10 17:16:44 +03:00
alfred-mk
69ea52d91c use data fetched from sarafu-api 2025-03-10 16:48:19 +03:00
alfred-mk
450cba07c7 Use the latest sarafu-api 2025-03-10 16:45:04 +03:00
alfred-mk
16380dbe49 Use the GetPoolSwapQuote and PoolSwap functions for live data 2025-03-06 18:58:25 +03:00
alfred-mk
2a46de9a6f Use the latest sarafu-api changes with pool swap functionality 2025-03-06 18:57:24 +03:00
alfred-mk
baff75da50 Add swap functionality using dummy data 2025-03-06 09:25:55 +03:00
alfred-mk
d6047827a4 link swap related functions 2025-03-06 09:24:48 +03:00
alfred-mk
6642fc0137 added the swap_initiated vis node 2025-03-06 09:23:53 +03:00
alfred-mk
c367984930 move the catch for flag_account_authorized to the swap_preview node 2025-03-06 09:23:28 +03:00
alfred-mk
21922e2b62 added translation for the swap request confirmation 2025-03-06 09:22:53 +03:00
alfred-mk
a21186bd59 use a single swap.go file for swap helper functions 2025-03-05 17:00:44 +03:00
alfred-mk
28eefb6197 make the ReadStringEntry func accessible 2025-03-05 16:36:37 +03:00
alfred-mk
3e9a67b34e added the swap preview vis files 2025-03-04 21:21:59 +03:00
alfred-mk
2a2d43c279 added the swap limit vis files 2025-03-04 21:21:40 +03:00
alfred-mk
a1f0e4dcfe added functions to process the pool data and match based on the provided input 2025-03-04 21:21:02 +03:00
alfred-mk
ee07bf11f8 added helper functions to process the swap to and swap from voucher data 2025-03-04 21:20:05 +03:00
alfred-mk
cb1d129eda added swap db keys 2025-03-04 21:18:25 +03:00
alfred-mk
e8978413a5 added pool db processing 2025-02-26 13:10:15 +03:00
alfred-mk
566503956d added pool_swap menu nodes 2025-02-26 13:09:29 +03:00
alfred-mk
c5dbe966c4 added flag_incorrect_pool flag 2025-02-26 13:08:00 +03:00
alfred-mk
1221372424 use latest ussd-data-service package 2025-02-26 13:07:11 +03:00
carlos
e2d5546de1 Merge pull request 'fix-pin-reset-bug' (#26) from fix-pin-reset-bug into master
Some checks failed
release / docker (push) Has been cancelled
Reviewed-on: #26
v0.12.0-beta.1
2025-02-21 10:31:45 +01:00
alfred-mk
95089875bf remove extra spacing 2025-02-21 12:30:28 +03:00
alfred-mk
4db25055ad Added a fix for invalid PIN in PIN reset 2025-02-21 12:29:28 +03:00
alfred-mk
e8e6f0e371 Added a fix to only hash valid PINs in SaveOthersTemporaryPin 2025-02-21 11:49:51 +03:00
Carlosokumu
91c4967efa check for back 2025-02-21 11:01:42 +03:00
Carlosokumu
7b1824f18c go back if account not unlocked 2025-02-21 11:01:31 +03:00
Carlosokumu
04c3f5ce65 repeat same node on invalid input 2025-02-21 11:01:14 +03:00
Carlosokumu
e646658f40 repeat same node on invalid input 2025-02-21 10:56:12 +03:00
Carlosokumu
c4cab444ad repeat same node on invalid input 2025-02-20 21:26:53 +03:00
Carlosokumu
b5ade9112e catch incorrect pin when resetting for others 2025-02-20 21:21:20 +03:00
Carlosokumu
3b9184e852 check for back 2025-02-20 21:20:41 +03:00
alfred-mk
07b85768d1 Merge branch 'master' into fix-pin-reset-bug 2025-02-20 20:00:21 +03:00
alfred-mk
c9678df152 reset the PIN using the formattedNumber 2025-02-20 19:59:52 +03:00
alfred-mk
c37fee5e54 have the secondarySessionId as a formatted phone number 2025-02-20 19:58:12 +03:00
alfred-mk
98b2a31655 remove extra space 2025-02-20 19:56:48 +03:00
d4fcf40b8d Merge pull request 'remove the sessionId from the ctx' (#25) from remove-session-id-from-ctx into master
Reviewed-on: #25
2025-02-20 17:28:54 +01:00
alfred-mk
83a10efcd9 remove the sessionId from the ctx to prevent double sessionId key (<sessionId>.<sessionId>) 2025-02-20 15:10:18 +03:00
0089d6f125 Merge pull request 'tests-menu-traversal' (#16) from tests-menu-traversal into master
Reviewed-on: #16
2025-02-13 10:00:42 +01:00
a7d13dc7c4 Merge branch 'master' into tests-menu-traversal 2025-02-13 09:59:11 +01:00
bed7f58e81 Merge pull request 'alfred/test-updates' (#15) from alfred/test-updates into master
Reviewed-on: #15
2025-02-13 09:58:45 +01:00
alfred-mk
07fd1110ed added documentation lines 2025-02-11 13:22:32 +03:00
alfred-mk
2f1dbb9147 added TestClearTemporaryValue 2025-02-11 13:10:56 +03:00
Carlosokumu
93f1897321 Merge branch 'master' into tests-menu-traversal 2025-02-11 13:07:07 +03:00
alfred-mk
c324e29aea added test case to the TestCheckVouchers 2025-02-11 13:00:23 +03:00
alfred-mk
f91056cca2 Merge branch 'master' into alfred/test-updates 2025-02-11 12:53:41 +03:00
Carlosokumu
7d11377ffd test empty input. 2025-02-11 12:45:52 +03:00