Alfred Kamanda Alfred-mk
  • Nairobi, Kenya
  • Joined on 2024-08-12
9234bfd579 update the TestGetVoucherList to the expected content
706b6fe629 include the balance next to each voucher
a543569236 add a helper function FormatVoucherList to combine the voucher symbols with their balances
Compare 2 commits »
Alfred-mk created branch add-balance-to-voucher-list in grassrootseconomics/sarafu-vise 2025-06-30 11:45:00 +02:00
Alfred-mk pushed tag v1.3.5-rc to grassrootseconomics/sarafu-vise 2025-06-26 14:09:28 +02:00
Alfred-mk pushed to master at grassrootseconomics/sarafu-vise 2025-06-26 14:07:31 +02:00
dd56d52f4c Merge pull request 'fix-amount-conversion' (#87) from fix-amount-conversion into master
3592e7747c add a test case with large decimal amount
7fe40faa9d use the TruncateDecimalString helper function to format amounts to 2 d.p
02fd02dc21 add a test for the TruncateDecimalString
b884b82197 add test cases with high decimals for the ParseAndScaleAmount func
Compare 10 commits »
Alfred-mk merged pull request grassrootseconomics/sarafu-vise#87 2025-06-26 14:07:29 +02:00
fix-amount-conversion
Alfred-mk commented on pull request grassrootseconomics/sarafu-vise#87 2025-06-26 11:35:33 +02:00
fix-amount-conversion

Add tests of 18 d.p. to TestParseAndScaleAmount and for the menu handler itself.

Generally the following should be the behaviour:

1.85 inputted for a 18d.p token - > 1850000000000…

Alfred-mk pushed to fix-amount-conversion at grassrootseconomics/sarafu-vise 2025-06-26 11:30:51 +02:00
3592e7747c add a test case with large decimal amount
7fe40faa9d use the TruncateDecimalString helper function to format amounts to 2 d.p
02fd02dc21 add a test for the TruncateDecimalString
b884b82197 add test cases with high decimals for the ParseAndScaleAmount func
Compare 4 commits »
Alfred-mk pushed to fix-amount-conversion at grassrootseconomics/sarafu-vise 2025-06-26 11:19:23 +02:00
280c382a3d add a helper function 'TruncateDecimalString' to format amounts to specified decimal places
Alfred-mk pushed to update-alias at grassrootseconomics/sarafu-vise 2025-06-26 09:03:03 +02:00
b497dde1e8 remove unused 'constructAccountAlias' func
Alfred-mk created pull request grassrootseconomics/sarafu-vise#88 2025-06-26 08:58:06 +02:00
WIP: add functionality to Update the Alias
Alfred-mk pushed to update-alias at grassrootseconomics/sarafu-vise 2025-06-26 08:56:37 +02:00
cedd55fd31 use updated sarafu-api that includes the UpdateAlias functionality
Alfred-mk created branch update-alias in grassrootseconomics/sarafu-vise 2025-06-26 08:54:44 +02:00
Alfred-mk pushed to update-alias at grassrootseconomics/sarafu-vise 2025-06-26 08:54:44 +02:00
Alfred-mk pushed to update-alias at grassrootseconomics/sarafu-api 2025-06-26 08:54:25 +02:00
57ee409f96 add UpdateAlias to the DevAccountService and mocks
49a8184d02 add the UpdateAlias function
9a6ab7e6e2 add the endpoint for updating the alias
Compare 3 commits »
Alfred-mk created branch update-alias in grassrootseconomics/sarafu-api 2025-06-26 08:29:43 +02:00
Alfred-mk pushed to update-alias at grassrootseconomics/sarafu-api 2025-06-26 08:29:43 +02:00
Alfred-mk pushed to master at grassrootseconomics/sarafu-api 2025-06-26 07:58:55 +02:00
d177942bd2 Merge pull request 'pool-swap-endpoints' (#11) from pool-swap-endpoints into master
339ba854c9 fix: correctly unmarshal nested pool details response in retrievePoolDeta
5aa032400c update the alias endpoints
7b42d509e6 log the request and response body
d945964b0b use the TokenAddress instead of ContractAddress
Compare 56 commits »
Alfred-mk merged pull request grassrootseconomics/sarafu-api#11 2025-06-26 07:58:54 +02:00
pool-swap-endpoints