Commit Graph

126 Commits

Author SHA1 Message Date
alfred-mk
ee434dba69 added CheckTokenInPool to check whether a token can be swapped from in a pool 2025-05-17 14:37:06 +03:00
alfred-mk
f101ffd4c9 added a model for TokenInPoolResult 2025-05-17 14:36:26 +03:00
alfred-mk
8b2bd72143 format document 2025-05-17 14:35:53 +03:00
alfred-mk
3b85167ad8 Merge branch 'master' into pool-swap-endpoints 2025-05-16 12:43:26 +03:00
carlos
5d221b8d56 Merge pull request 'sms-address-pin-reset' (#14) from sms-address-pin-reset into master
Reviewed-on: #14
2025-04-28 10:27:11 +02:00
Carlosokumu
341901ec83 match new external sms endpoint 2025-04-28 11:26:13 +03:00
Carlosokumu
ed416c57c7 chore: rename EXTRA_SMS_BASE to EXTERNAL_SMS_BASE 2025-04-28 11:15:11 +03:00
Carlosokumu
6fc99661f7 chore: remove extra underscore in EXTRA_SMS_BASE env identifier 2025-04-28 11:08:39 +03:00
Carlosokumu
d509477de3 remove accidentallypushed bearer token 2025-04-28 11:03:34 +03:00
Carlosokumu
4ea8fd1f04 chore: rename extrasms prefixes to external sms 2025-04-28 10:56:05 +03:00
Carlosokumu
5c0ed48e67 add required sms methods 2025-04-17 23:14:42 +03:00
Carlosokumu
5ff139b649 add expected accountservice methods 2025-04-17 23:07:33 +03:00
Carlosokumu
86cfb9c020 match expected method signature 2025-04-17 22:18:30 +03:00
Carlosokumu
58366274c3 add required AccountService methods 2025-04-17 18:58:12 +03:00
Carlosokumu
b85511e436 implement SendPINResetSMS and SendAddressSMS 2025-04-17 18:57:24 +03:00
Carlosokumu
a243fe8c29 add SendAddressSMS and SendPINResetSMS 2025-04-17 18:57:02 +03:00
Carlosokumu
492b101aa4 setup extra sms api endpoints 2025-04-17 18:56:20 +03:00
34957e5b6f Merge pull request 'sms-upsell-api' (#10) from sms-api into master
Reviewed-on: #10
2025-04-11 10:06:08 +02:00
alfred-mk
6597d6b6a2 added the SendUpsellSMS to DevAccountService and MockApi 2025-04-11 11:02:23 +03:00
Carlosokumu
441e289854 implement SendUpsellSMs 2025-04-01 15:25:10 +03:00
Carlosokumu
5b41c8dc64 chore: rename SendSMS to SendUpsellSMS 2025-04-01 14:55:03 +03:00
Carlosokumu
417e7f0179 fix: correct sendSms response 2025-04-01 14:53:30 +03:00
Carlosokumu
2eed990921 Merge branch 'master' into sms-api 2025-04-01 14:18:04 +03:00
Carlosokumu
56ed9b2439 Merge branch 'multi-pool' into pool-swap-endpoints 2025-03-20 08:35:22 +03:00
Carlosokumu
064e749b04 Merge branch 'master' into pool-swap-endpoints 2025-03-19 15:22:30 +03:00
Carlosokumu
80c2493e80 implement get token pool limit,get all pool swappable vouchers 2025-03-19 12:09:52 +03:00
Carlosokumu
4444ac0255 add pool swap endpoints 2025-03-19 12:07:11 +03:00
Carlosokumu
720fa94b56 register pool endpoints 2025-03-17 20:40:56 +03:00
Carlosokumu
ee04552cbb feat: implement fetch top pools,retrieve pool details using a pool symbol 2025-03-17 20:40:19 +03:00
Carlosokumu
c09cb77e19 implement pool limit 2025-03-17 12:08:17 +03:00
Carlosokumu
e053d561c9 feat(pool): add multiple pools 2025-03-14 10:04:04 +03:00
Carlosokumu
b9cef2b578 Merge branch 'pool-swap-endpoints' into multi-pool 2025-03-14 09:03:09 +03:00
Carlosokumu
06a7ddea6f read persisted vouchers for a particular pool 2025-03-13 10:35:21 +03:00
alfred-mk
ba43610ff0 Added pool swap functions to the MockAccountService 2025-03-13 10:14:11 +03:00
alfred-mk
3c2889ac72 Added pool swap functions to the TestAccountService 2025-03-13 10:05:49 +03:00
Carlosokumu
5432365874 add logs,use same pool instance 2025-03-12 23:20:01 +03:00
alfred-mk
3244c717cb Added the MaxLimitResult struct model 2025-03-11 15:46:51 +03:00
alfred-mk
17e89e0b88 Added the GetSwapFromTokenMaxLimit 2025-03-11 15:46:17 +03:00
alfred-mk
3b39b86d09 pass the correct arguments to the swap functions 2025-03-10 17:12:05 +03:00
Carlosokumu
37a2006a0b feat: persist and load pool info 2025-03-10 16:50:29 +03:00
Carlosokumu
d4f27af7a7 add check for account when doing a pool deposit 2025-03-10 16:50:29 +03:00
alfred-mk
ba8d2a19c2 Use the DevAccountService functions to retrieve the data 2025-03-10 16:39:37 +03:00
alfred-mk
e3b6c25792 Added the swap functions to the accountService interface 2025-03-10 14:17:03 +03:00
alfred-mk
a04f7ee66c Remove unused model structs 2025-03-10 14:03:30 +03:00
alfred-mk
52e1be1104 Return an array of data instead of reading from the file 2025-03-10 14:00:16 +03:00
alfred-mk
d7ae1cc096 Include the account's public key 2025-03-10 13:59:05 +03:00
Carlosokumu
8145b4bd00 fix: remove formatting to fqdn 2025-03-10 12:39:12 +03:00
Carlosokumu
dda02852bf add alias resolve logs 2025-03-10 11:49:49 +03:00
Carlosokumu
6e437cb8e0 feat: sanitize alias hint before resolving 2025-03-07 16:10:40 +03:00
Carlosokumu
4af0e9709d fix: format alias to fqdn before request 2025-03-07 16:04:15 +03:00