6bc9247acb
updated the data keys on the test to match the retrieved data
2026-02-18 17:08:11 +03:00
f6c613abd6
rename the func to match updated functionality
2026-02-18 17:07:38 +03:00
75caed5f08
added a key to store the actual transaction voucher
2026-02-18 16:58:28 +03:00
5650629ae4
update the db key name for clarity
2026-02-18 16:56:40 +03:00
8d259683a1
fetch the DATA_RECIPIENT_INPUT instead of temporary value
2026-02-18 16:08:47 +03:00
81b56f6fed
added a key to store the initial recipient input given by the user
2026-02-18 16:04:40 +03:00
2d6e7e81dd
added a db key to store the state of the custom transaction voucher
2026-02-17 16:07:34 +03:00
a78639799d
add a function for ReadSwapToVoucher
2026-02-16 14:14:50 +03:00
8f66a46e76
added a function to ReadSwapFromVoucher
2026-02-13 16:04:00 +03:00
5255671a3d
added the data key for the swap from balance
2026-02-13 03:56:55 +03:00
c02aa99ed0
store the active swap from voucher data
2026-02-13 03:56:24 +03:00
f4c8c45ed1
rename the function to match the ordered voucher data
2026-02-12 14:20:42 +03:00
ea71c08143
rename the data keys to store ordered voucher lists
2026-02-12 10:24:54 +03:00
ab8d1535c4
added GetStableVoucherData
2026-02-06 16:40:57 +03:00
16adfdaa8a
added data keys to easily manage a user's stable coins
2026-02-06 16:18:14 +03:00
7783ba8835
removed unused data keys
2026-02-03 17:02:44 +03:00
99893eac5c
include the ActiveSwapToDecimal on the SwapData
2026-01-30 16:34:52 +03:00
0a69e04229
added helper functions to add scaled down balances
2026-01-29 17:00:24 +03:00
07e0e877d5
added data keys for the credit and debt values
2026-01-29 16:08:53 +03:00
4c80606b56
properly handle formatting, preventing rounding errors for the case of 2.1 -> 2.09
release / docker (push) Has been cancelled
2025-10-29 10:55:42 +03:00
38ab1ecdd1
added an edge-case test for precision
2025-10-29 10:53:11 +03:00
a49257657e
switch the order to match the TokenHoldings struct
release / docker (push) Has been cancelled
2025-10-28 17:20:31 +03:00
34271cba23
Merge branch 'master' into send-with-swap
release / docker (push) Has been cancelled
2025-10-09 14:32:31 +03:00
606a551f60
use the correct data keys on the test
2025-10-09 13:31:55 +03:00
0e5454ae5d
added a test case for the invalid symbol replacement
2025-10-03 16:57:04 +03:00
8585203c0a
added a mapping to replace invalid characters on voucher symbols
2025-10-03 16:56:48 +03:00
5a09d33be0
removed unused DATA_RECIPIENT_ACTIVE_TOKEN key
2025-08-25 17:21:23 +03:00
Alfred Kamanda
5b82afa768
added the DATA_RECIPIENT_PHONE_NUMBER to store the formatted phone number
2025-08-04 13:50:21 +03:00
Alfred Kamanda
758463ee8c
add transaction data keys
2025-08-04 11:19:22 +03:00
a543569236
add a helper function FormatVoucherList to combine the voucher symbols with their balances
2025-06-30 13:14:34 +03:00
02fd02dc21
add a test for the TruncateDecimalString
2025-06-26 12:26:49 +03:00
b884b82197
add test cases with high decimals for the ParseAndScaleAmount func
2025-06-26 12:20:34 +03:00
280c382a3d
add a helper function 'TruncateDecimalString' to format amounts to specified decimal places
2025-06-26 12:19:13 +03:00
88926480dc
Return finalAmount as a string with 0 decimal places (rounded)
2025-06-24 15:11:15 +03:00
d758b37065
use the correct TokenHoldings struct instead of TokenDetails
release / docker (push) Has been cancelled
2025-06-23 11:09:47 +03:00
5263af46d8
use a single ProcessVouchers due to similar data struct
release / docker (push) Has been cancelled
2025-06-23 10:09:39 +03:00
383ef51134
use the TokenAddress instead of ContractAddress
2025-06-23 10:07:53 +03:00
5479580230
use the TokenHoldings instead of TokenDetails in getting the pool swappable vouchers
release / docker (push) Has been cancelled
2025-06-23 09:50:13 +03:00
23f1068402
Use InfoCtxf instead of TraceCtxf
2025-06-19 14:17:08 +03:00
e803048b13
Added more logging and display the actual activePoolSymbol
release / docker (push) Has been cancelled
2025-06-19 12:54:33 +03:00
42dadb5eea
add-pool-selection ( #79 )
...
release / docker (push) Has been cancelled
- Add pool selection under "Select vouchers" node
- Use the set pool contract address in the swap, or fall back to the default
Reviewed-on: #79
Co-authored-by: alfred-mk <alfredmwaik@gmail.com>
Co-committed-by: alfred-mk <alfredmwaik@gmail.com>
2025-06-09 13:38:19 +02:00
8dc203d111
use the TemporaryValue to store the user's swap amount input
release / docker (push) Has been cancelled
2025-05-22 15:18:52 +03:00
dcadea8737
Convert TokenDecimals (uint8) to string before storing it
2025-05-22 15:09:46 +03:00
043c79384c
correctly process TokenDetails
2025-05-21 18:39:45 +03:00
1cc1d00ffe
added a function to ProcessTokens from the GetPoolSwappableVouchers
2025-05-21 18:19:23 +03:00
c8146ea211
alfred/pool-swap ( #33 )
...
release / docker (push) Has been cancelled
Pool swap functionality
Resolves issue #24
Reviewed-on: #33
Co-authored-by: alfred-mk <alfredmwaik@gmail.com>
Co-committed-by: alfred-mk <alfredmwaik@gmail.com>
2025-05-19 15:44:50 +02:00
af5537abfc
updated the description of DATA_SELF_PIN_RESET
2025-04-28 11:37:45 +03:00
1b2f3bb046
added a DATA_SELF_PIN_RESET to track when a user's PIN is reset by an admin
2025-04-28 11:34:24 +03:00
f4804546d9
add log db struct with associated methods
2025-04-09 14:52:57 +03:00
43d91f84f6
use a different key for the suggested aliases
2025-03-28 10:49:31 +03:00