alfred-mk
d60f5461e6
Merge branch 'master' into alfred/pool-swap
2025-05-19 16:44:16 +03:00
alfred-mk
35d562ffdd
use a default pool and the active voucher to perform a swap
2025-05-19 03:13:09 +03:00
alfred-mk
7d8631fa87
use the userstore instead of the prefixdb
2025-05-19 02:30:12 +03:00
alfred-mk
c8159113f0
updated the correct swap data keys and use the userstore instead of the prefixdb
2025-05-19 02:29:47 +03:00
alfred-mk
126415050c
removed unused functions
2025-05-19 02:28:01 +03:00
alfred-mk
5b989d83e1
fix UI
2025-05-19 02:27:23 +03:00
alfred-mk
7199d0f3e0
add a message and translation for the missing voucher in the default pool
2025-05-19 02:26:37 +03:00
alfred-mk
feea74c2c9
add a RELOAD for the back navigation from swap_limit
2025-05-19 02:25:40 +03:00
alfred-mk
b6dcf65ea3
add a catch fow when the active voucher is not in the default pool
2025-05-19 02:24:42 +03:00
alfred-mk
da7b6e93e1
navigate directly to the swap_to_list
2025-05-19 02:21:56 +03:00
alfred-mk
97be43b9ec
use updated sarafu-api package
2025-05-19 02:00:40 +03:00
alfred-mk
a9ecb1bbae
removed unused vis files and templates
2025-05-19 01:59:59 +03:00
alfred-mk
7e2e3c3722
upgMerge branch 'master' into alfred/pool-swap
2025-05-14 12:15:40 +03:00
alfred-mk
724d11b4db
Added TestGetSwapToVoucherData
2025-03-13 17:09:00 +03:00
alfred-mk
2ace3606bc
Added TestUpdateSwapFromVoucherData
2025-03-13 13:19:58 +03:00
alfred-mk
ab5299fae2
Added TestGetSwapFromVoucherData
2025-03-13 13:15:38 +03:00
alfred-mk
c407dd1702
Added TestReadSwapPreviewData
2025-03-13 13:10:58 +03:00
alfred-mk
9729a6442b
Added TestReadSwapData
2025-03-13 13:05:51 +03:00
alfred-mk
fd0c9cbc68
Updated sarafu-api package
2025-03-13 10:17:16 +03:00
alfred-mk
2eef202a1a
Capitalize the Swap menu option
2025-03-13 09:30:57 +03:00
alfred-mk
1df102db9f
Updated the SwapMaxLimit func to use the GetSwapFromTokenMaxLimit and set a flag when the max limit is invalid
2025-03-12 10:48:36 +03:00
alfred-mk
8292f76334
Updated the sarafu-api package
2025-03-12 10:46:45 +03:00
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