pool-swap-endpoints #11

Merged
Alfred-mk merged 55 commits from pool-swap-endpoints into master 2025-06-26 07:58:54 +02:00

55 Commits

Author SHA1 Message Date
339ba854c9
fix: correctly unmarshal nested pool details response in retrievePoolDeta 2025-06-24 12:07:44 +03:00
5aa032400c
update the alias endpoints 2025-06-24 10:48:30 +03:00
7b42d509e6
log the request and response body 2025-06-23 10:50:57 +03:00
d945964b0b
use the TokenAddress instead of ContractAddress 2025-06-23 10:00:26 +03:00
c1797e7a32
use the TokenHoldings instead of TokenDetails 2025-06-23 09:32:34 +03:00
54dfe037b4
updated the ussd-data-service to tag v1.5.0-beta 2025-06-23 09:31:53 +03:00
b5ccaea575
add the RetrievePoolDetails to the testutil and dev account service 2025-06-06 22:42:35 +03:00
bf830e92de
add the RetrievePoolDetails to the account_service 2025-06-05 20:41:08 +03:00
24224e553d
use the correct PoolSwapURL when performing the actual swap 2025-05-22 15:31:08 +03:00
6c3719e3b6
Fix: use the correct TokenDetails in the GetPoolSwappableVouchers 2025-05-21 17:12:46 +03:00
62cc5eed89
use the updated ussd-data-service 2025-05-21 17:10:25 +03:00
343d30a2f2
rename the variables and read the stables param from the config 2025-05-21 15:42:06 +03:00
a354371a94
add the IncludeStablesParam config 2025-05-21 15:40:56 +03:00
857f564aae
Fix: remove the unused publicKey from the GetPoolSwappableVouchers 2025-05-21 15:22:31 +03:00
f234d51104
Fix: update the getPoolSwappableVouchers to pass a 'stable' query parameter 2025-05-21 15:21:27 +03:00
81fbc2574c
Fix: use the correct getPoolSwappableVouchers 2025-05-20 15:50:35 +03:00
334aa07f9f
Fix: Correct JSON mapping for checkTokenInPool and getSwapFromTokenMaxLimit API responses 2025-05-20 15:48:13 +03:00
e6677015d9
use the latest ussd-data-service 2025-05-19 10:36:47 +03:00
050998ff82
added CheckTokenInPool to the account_service and test utils 2025-05-17 14:45:12 +03:00
ee434dba69
added CheckTokenInPool to check whether a token can be swapped from in a pool 2025-05-17 14:37:06 +03:00
f101ffd4c9
added a model for TokenInPoolResult 2025-05-17 14:36:26 +03:00
8b2bd72143
format document 2025-05-17 14:35:53 +03:00
3b85167ad8
Merge branch 'master' into pool-swap-endpoints 2025-05-16 12:43:26 +03:00
56ed9b2439
Merge branch 'multi-pool' into pool-swap-endpoints 2025-03-20 08:35:22 +03:00
064e749b04
Merge branch 'master' into pool-swap-endpoints 2025-03-19 15:22:30 +03:00
80c2493e80
implement get token pool limit,get all pool swappable vouchers 2025-03-19 12:09:52 +03:00
4444ac0255
add pool swap endpoints 2025-03-19 12:07:11 +03:00
720fa94b56
register pool endpoints 2025-03-17 20:40:56 +03:00
ee04552cbb
feat: implement fetch top pools,retrieve pool details using a pool symbol 2025-03-17 20:40:19 +03:00
c09cb77e19
implement pool limit 2025-03-17 12:08:17 +03:00
e053d561c9
feat(pool): add multiple pools 2025-03-14 10:04:04 +03:00
b9cef2b578
Merge branch 'pool-swap-endpoints' into multi-pool 2025-03-14 09:03:09 +03:00
06a7ddea6f
read persisted vouchers for a particular pool 2025-03-13 10:35:21 +03:00
ba43610ff0
Added pool swap functions to the MockAccountService 2025-03-13 10:14:11 +03:00
3c2889ac72
Added pool swap functions to the TestAccountService 2025-03-13 10:05:49 +03:00
5432365874
add logs,use same pool instance 2025-03-12 23:20:01 +03:00
3244c717cb
Added the MaxLimitResult struct model 2025-03-11 15:46:51 +03:00
17e89e0b88
Added the GetSwapFromTokenMaxLimit 2025-03-11 15:46:17 +03:00
3b39b86d09
pass the correct arguments to the swap functions 2025-03-10 17:12:05 +03:00
37a2006a0b
feat: persist and load pool info 2025-03-10 16:50:29 +03:00
d4f27af7a7
add check for account when doing a pool deposit 2025-03-10 16:50:29 +03:00
ba8d2a19c2
Use the DevAccountService functions to retrieve the data 2025-03-10 16:39:37 +03:00
e3b6c25792
Added the swap functions to the accountService interface 2025-03-10 14:17:03 +03:00
a04f7ee66c
Remove unused model structs 2025-03-10 14:03:30 +03:00
52e1be1104
Return an array of data instead of reading from the file 2025-03-10 14:00:16 +03:00
d7ae1cc096
Include the account's public key 2025-03-10 13:59:05 +03:00
4783e2dcb3
Merge branch 'pool-swap-endpoints-issue#9' into pool-swap-endpoints 2025-03-07 08:16:49 +03:00
e8c58a8f33
feat: implement fetch pools,pool swappable vouchers with dummy data 2025-03-07 08:13:15 +03:00
67d7ec1567
add pool structs 2025-03-07 08:11:33 +03:00
b05734f976
feat: add fetch pools,swappable pool vouchers 2025-03-07 08:11:04 +03:00
f723e0aa45
add sample test data 2025-03-07 08:09:41 +03:00
35f24b5183
Use the latest ussd-data-service 2025-03-06 18:14:34 +03:00
aef8efa2bf
add pool api responses 2025-03-05 16:42:55 +03:00
a1fe416f51
implement pool deposit,swap and quote endpoints 2025-03-05 16:41:54 +03:00
3473a4413b
add pool deposit,swap and quote endpoints 2025-03-05 16:40:55 +03:00