Skip to content

Commit 4247b0a

Browse files
Merge pull request #75 from dv-net/dev
Dev
2 parents 5a72f74 + b375320 commit 4247b0a

File tree

52 files changed

+1639
-271
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+1639
-271
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88
## Unreleased
9+
10+
## [0.9.11] - 2025-10-15
11+
- fix: fixed universal groups separation by blockchain [DV-3645]
12+
- fix: improve wallet address retrieval with mutex locking and retry logic
13+
- refactor: AML validation errors (unsupported currency, invalid address) [DV-2896]
14+
- fix: KuCoin minFunds incorrect behaviour on spot order creation [DV-3611]
15+
- fix: ByBit exchange balance duplicates causing incorrect total_usd calculation
16+
- update: Frontend update
17+
- feat: add endpoint to retrieve unconfirmed transfer transactions [DV-3733]
18+
19+
20+
## [0.9.10] - 2025-10-15
921
- fix: incorrect Binance spot order rules calculation [DV-3598]
1022
- fix: incorrect behaviour of logging [DV-3593]
1123
- fix: encode analytics data into byte array before forwarding to KV cache [DV-3599]

docs/docs.go

Lines changed: 126 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8346,6 +8346,54 @@ const docTemplate = `{
83468346
}
83478347
}
83488348
},
8349+
"/v1/external/transactions/unconfirmed/transfer": {
8350+
"get": {
8351+
"security": [
8352+
{
8353+
"XApiKey": []
8354+
}
8355+
],
8356+
"description": "Get unconfirmed transfer transactions",
8357+
"consumes": [
8358+
"application/json"
8359+
],
8360+
"produces": [
8361+
"application/json"
8362+
],
8363+
"tags": [
8364+
"Transactions"
8365+
],
8366+
"summary": "Get unconfirmed transfer transactions",
8367+
"parameters": [
8368+
{
8369+
"type": "string",
8370+
"description": "Store API key",
8371+
"name": "api_key",
8372+
"in": "query"
8373+
}
8374+
],
8375+
"responses": {
8376+
"200": {
8377+
"description": "OK",
8378+
"schema": {
8379+
"$ref": "#/definitions/JSONResponse-UnconfirmedTransactionResponse"
8380+
}
8381+
},
8382+
"401": {
8383+
"description": "Unauthorized",
8384+
"schema": {
8385+
"$ref": "#/definitions/APIErrors"
8386+
}
8387+
},
8388+
"500": {
8389+
"description": "Internal Server Error",
8390+
"schema": {
8391+
"$ref": "#/definitions/APIErrors"
8392+
}
8393+
}
8394+
}
8395+
}
8396+
},
83498397
"/v1/external/wallet": {
83508398
"get": {
83518399
"security": [
@@ -10233,6 +10281,9 @@ const docTemplate = `{
1023310281
"is_evm_like": {
1023410282
"type": "boolean"
1023510283
},
10284+
"is_stable_coin": {
10285+
"type": "boolean"
10286+
},
1023610287
"name": {
1023710288
"type": "string"
1023810289
},
@@ -12069,6 +12120,20 @@ const docTemplate = `{
1206912120
}
1207012121
}
1207112122
},
12123+
"JSONResponse-UnconfirmedTransactionResponse": {
12124+
"type": "object",
12125+
"properties": {
12126+
"code": {
12127+
"type": "integer"
12128+
},
12129+
"data": {
12130+
"$ref": "#/definitions/UnconfirmedTransactionResponse"
12131+
},
12132+
"message": {
12133+
"type": "string"
12134+
}
12135+
}
12136+
},
1207212137
"JSONResponse-VersionResponse": {
1207312138
"type": "object",
1207412139
"properties": {
@@ -13069,15 +13134,24 @@ const docTemplate = `{
1306913134
"code": {
1307013135
"type": "string"
1307113136
},
13137+
"contract_address": {
13138+
"type": "string"
13139+
},
1307213140
"currency_label": {
1307313141
"type": "string"
1307413142
},
1307513143
"id": {
1307613144
"type": "string"
1307713145
},
13146+
"is_native": {
13147+
"type": "boolean"
13148+
},
1307813149
"name": {
1307913150
"type": "string"
1308013151
},
13152+
"order": {
13153+
"type": "integer"
13154+
},
1308113155
"token_label": {
1308213156
"type": "string"
1308313157
}
@@ -14064,6 +14138,54 @@ const docTemplate = `{
1406414138
}
1406514139
}
1406614140
},
14141+
"UnconfirmedTransactionResponse": {
14142+
"type": "object",
14143+
"properties": {
14144+
"amount": {
14145+
"type": "number"
14146+
},
14147+
"amount_usd": {
14148+
"type": "number"
14149+
},
14150+
"bc_uniq_key": {
14151+
"type": "string"
14152+
},
14153+
"blockchain": {
14154+
"type": "string"
14155+
},
14156+
"created_at": {
14157+
"type": "string",
14158+
"format": "date-time"
14159+
},
14160+
"currency_id": {
14161+
"type": "string"
14162+
},
14163+
"from_address": {
14164+
"type": "string"
14165+
},
14166+
"id": {
14167+
"type": "string",
14168+
"format": "uuid"
14169+
},
14170+
"network_created_at": {
14171+
"type": "string",
14172+
"format": "date-time"
14173+
},
14174+
"to_address": {
14175+
"type": "string"
14176+
},
14177+
"tx_hash": {
14178+
"type": "string"
14179+
},
14180+
"type": {
14181+
"type": "string"
14182+
},
14183+
"updated_at": {
14184+
"type": "string",
14185+
"format": "date-time"
14186+
}
14187+
}
14188+
},
1406714189
"UniversalAddressGroupResponse": {
1406814190
"type": "object",
1406914191
"properties": {
@@ -15146,6 +15268,9 @@ const docTemplate = `{
1514615268
"github_com_dv-net_dv-merchant_internal_dto.LogDTO": {
1514715269
"type": "object",
1514815270
"properties": {
15271+
"fields": {
15272+
"type": "string"
15273+
},
1514915274
"level": {
1515015275
"type": "string"
1515115276
},
@@ -15262,9 +15387,6 @@ const docTemplate = `{
1526215387
"htx",
1526315388
"binance",
1526415389
"bitget",
15265-
"dv-min",
15266-
"dv-max",
15267-
"dv-avg",
1526815390
"kucoin",
1526915391
"bybit",
1527015392
"gate"
@@ -15274,9 +15396,6 @@ const docTemplate = `{
1527415396
"RateSourceHTX",
1527515397
"RateSourceBinance",
1527615398
"RateSourceBitGet",
15277-
"RateSourceDVMin",
15278-
"RateSourceDVMax",
15279-
"RateSourceDVAvg",
1528015399
"RateSourceKucoin",
1528115400
"RateSourceBybit",
1528215401
"RateSourceGateio"
@@ -15486,7 +15605,7 @@ const docTemplate = `{
1548615605
"type": "string"
1548715606
},
1548815607
"blockchain": {
15489-
"type": "string"
15608+
"$ref": "#/definitions/Blockchain"
1549015609
},
1549115610
"created_at": {
1549215611
"type": "string"

docs/external/docs.go

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,54 @@ const docTemplate = `{
242242
}
243243
}
244244
},
245+
"/v1/external/transactions/unconfirmed/transfer": {
246+
"get": {
247+
"security": [
248+
{
249+
"XApiKey": []
250+
}
251+
],
252+
"description": "Get unconfirmed transfer transactions",
253+
"consumes": [
254+
"application/json"
255+
],
256+
"produces": [
257+
"application/json"
258+
],
259+
"tags": [
260+
"Transactions"
261+
],
262+
"summary": "Get unconfirmed transfer transactions",
263+
"parameters": [
264+
{
265+
"type": "string",
266+
"description": "Store API key",
267+
"name": "api_key",
268+
"in": "query"
269+
}
270+
],
271+
"responses": {
272+
"200": {
273+
"description": "OK",
274+
"schema": {
275+
"$ref": "#/definitions/JSONResponse-UnconfirmedTransactionResponse"
276+
}
277+
},
278+
"401": {
279+
"description": "Unauthorized",
280+
"schema": {
281+
"$ref": "#/definitions/APIErrors"
282+
}
283+
},
284+
"500": {
285+
"description": "Internal Server Error",
286+
"schema": {
287+
"$ref": "#/definitions/APIErrors"
288+
}
289+
}
290+
}
291+
}
292+
},
245293
"/v1/external/wallet": {
246294
"get": {
247295
"security": [
@@ -909,6 +957,9 @@ const docTemplate = `{
909957
"is_evm_like": {
910958
"type": "boolean"
911959
},
960+
"is_stable_coin": {
961+
"type": "boolean"
962+
},
912963
"name": {
913964
"type": "string"
914965
},
@@ -1065,6 +1116,20 @@ const docTemplate = `{
10651116
}
10661117
}
10671118
},
1119+
"JSONResponse-UnconfirmedTransactionResponse": {
1120+
"type": "object",
1121+
"properties": {
1122+
"code": {
1123+
"type": "integer"
1124+
},
1125+
"data": {
1126+
"$ref": "#/definitions/UnconfirmedTransactionResponse"
1127+
},
1128+
"message": {
1129+
"type": "string"
1130+
}
1131+
}
1132+
},
10681133
"JSONResponse-WithdrawalFromProcessingDto": {
10691134
"type": "object",
10701135
"properties": {
@@ -1322,6 +1387,54 @@ const docTemplate = `{
13221387
}
13231388
}
13241389
},
1390+
"UnconfirmedTransactionResponse": {
1391+
"type": "object",
1392+
"properties": {
1393+
"amount": {
1394+
"type": "number"
1395+
},
1396+
"amount_usd": {
1397+
"type": "number"
1398+
},
1399+
"bc_uniq_key": {
1400+
"type": "string"
1401+
},
1402+
"blockchain": {
1403+
"type": "string"
1404+
},
1405+
"created_at": {
1406+
"type": "string",
1407+
"format": "date-time"
1408+
},
1409+
"currency_id": {
1410+
"type": "string"
1411+
},
1412+
"from_address": {
1413+
"type": "string"
1414+
},
1415+
"id": {
1416+
"type": "string",
1417+
"format": "uuid"
1418+
},
1419+
"network_created_at": {
1420+
"type": "string",
1421+
"format": "date-time"
1422+
},
1423+
"to_address": {
1424+
"type": "string"
1425+
},
1426+
"tx_hash": {
1427+
"type": "string"
1428+
},
1429+
"type": {
1430+
"type": "string"
1431+
},
1432+
"updated_at": {
1433+
"type": "string",
1434+
"format": "date-time"
1435+
}
1436+
}
1437+
},
13251438
"WalletAddressResponse": {
13261439
"type": "object",
13271440
"properties": {

0 commit comments

Comments
 (0)