Commit Graph

84 Commits

Author SHA1 Message Date
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
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
31eb30de0f
add dev api logs 2025-02-06 14:29:44 +03:00
2181388f5b Merge pull request 'dev-api-aliases-v2' (#6) from dev-api-aliases-v2 into master
Reviewed-on: #6
2025-01-23 15:28:05 +01:00
448fdffbd0
untie session id to saved aliases 2025-01-23 12:05:23 +03:00
4ae0a484f4
run go mod tidy 2025-01-23 10:43:19 +03:00
3f9dc89a40
resolve alias address based on UseApi field 2025-01-22 17:19:46 +03:00
bc7afa50a4
dep: downgrade vise-driver 2025-01-22 15:53:28 +03:00
9c75109b75
use dev storage service 2025-01-22 15:35:16 +03:00
lash
ee574908d4
Gofmt 2025-01-21 15:30:22 +00:00
lash
e0b5398098 Merge remote-tracking branch 'origin/master' into lash/alias-deps 2025-01-21 13:51:50 +00:00
lash
b7e53609a9
Upgrade deps 2025-01-21 13:51:07 +00:00
a4cc7d2a98 Merge pull request 'dev-api-aliases' (#5) from dev-api-aliases into master
Reviewed-on: #5
2025-01-21 07:17:09 +01:00
a63164bcf5
fix failing test 2025-01-21 08:45:03 +03:00
fa355e3729
handle accounts created via the api,add getter for the account aliases 2025-01-20 22:28:16 +03:00
99c704f6ff
implement request alias based on dev implementation 2025-01-20 20:12:56 +03:00
ed549cba70
bind session id for aliases,soft code voucher balance 2025-01-20 20:11:08 +03:00
8a47d1d674
implement request alias 2025-01-20 17:28:03 +03:00
23b4180e50
persist aliases,construct the fqdn 2025-01-20 17:27:19 +03:00
b22ff1e7f0 Merge pull request 'Implement alias handling dev api' (#3) from lash/alias into master
Reviewed-on: #3
2025-01-15 08:37:53 +01:00
lash
bca7c5de96
Make prefix settable in dev api 2025-01-15 07:22:14 +00:00
lash
c128678f4a
Upgrade dep 2025-01-15 00:33:59 +00:00
lash
7001d1f828
Use storage service and db dumper in dev api 2025-01-15 00:12:38 +00:00
lash
9645a2af7b
Correct result structs for mock/test api implementations 2025-01-14 14:20:51 +00:00
lash
7a96b85b28
Correct alias result struct 2025-01-14 13:57:18 +00:00
lash
18a30a0065
Add dev api for alias handling' 2025-01-14 13:53:29 +00:00
lash
a4976e6c52
Move api mock from sarafu vise events 2025-01-14 07:29:12 +00:00