updated send node #172

Merged
carlos merged 24 commits from send-node into master 2024-11-18 14:19:44 +01:00

24 Commits

Author SHA1 Message Date
alfred-mk
1ba90a8b78 updated the test 2024-11-16 14:52:24 +03:00
alfred-mk
5dd4f2a3fb scale down the balance according to the decimals 2024-11-16 14:52:02 +03:00
alfred-mk
b40ad78294 add the GetVoucherDetails function 2024-11-15 21:03:57 +03:00
alfred-mk
11bb194f26 add a struct to access the tokenDetails 2024-11-15 21:03:29 +03:00
alfred-mk
c0ccdce0a9 add the voucher details node 2024-11-15 21:02:44 +03:00
alfred-mk
7d16b710d8 set the TokenDecimals as int to match the API response 2024-11-15 20:50:07 +03:00
alfred-mk
c8fc32a4e7 cleaned up models 2024-11-15 18:50:06 +03:00
alfred-mk
baeb5e0ccb use a single doRequest and updated the structs for TokenHoldings and Transfers 2024-11-15 18:37:20 +03:00
alfred-mk
51bf2534b8 use a single bearer token 2024-11-15 18:35:49 +03:00
alfred-mk
d3fae34290 modified the send node traversal 2024-11-15 13:24:54 +03:00
alfred-mk
1a77092ccb updated the menuhandler tests 2024-11-15 13:12:30 +03:00
alfred-mk
36846c2587 added TestReadTransactionData 2024-11-15 12:13:09 +03:00
alfred-mk
222d801ecc added TestParseAndScaleAmount 2024-11-15 11:49:47 +03:00
alfred-mk
1a0b4deab3 added the TransactionData struct to organiza the data 2024-11-15 09:20:19 +03:00
alfred-mk
cb13b09291 remove commented code 2024-11-15 08:42:44 +03:00
alfred-mk
de5ecc5fe7 add the tokens functionality to the common package 2024-11-14 21:21:04 +03:00
alfred-mk
5773305785 parse data and initialize a transaction 2024-11-14 20:10:48 +03:00
alfred-mk
7985b20200 added message string for failed transaction 2024-11-14 20:09:50 +03:00
alfred-mk
c34906cb1f added the TokenTransfer functionality and mocks 2024-11-14 20:02:48 +03:00
alfred-mk
c10e1a6a1b added the TokenTransferResponse model 2024-11-14 19:36:30 +03:00
alfred-mk
fabcccfa60 added the tokenTransfer url 2024-11-14 19:35:44 +03:00
alfred-mk
f3e3badff6 save the entire voucher data when setting the default voucher 2024-11-14 17:31:17 +03:00
alfred-mk
9d2d01e3e2 save the recipient number in DATA_TEMPORARY_VALUE 2024-11-14 17:30:13 +03:00
alfred-mk
93df6a6a08 validate recipients and invite valid ones 2024-11-14 14:59:39 +03:00