@arbiwallet/contracts 1.0.269 → 1.0.271
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/gen/exchange_core.ts +14 -1
- package/gen/referral.ts +3 -0
- package/package.json +1 -1
- package/proto/exchange_core.proto +7 -0
- package/proto/referral.proto +3 -0
package/gen/exchange_core.ts
CHANGED
|
@@ -410,7 +410,20 @@ export interface GetExchangePaymentsItem {
|
|
|
410
410
|
customerName?: string | undefined;
|
|
411
411
|
managerName?: string | undefined;
|
|
412
412
|
calculationId?: string | undefined;
|
|
413
|
-
cryptoNetwork?:
|
|
413
|
+
cryptoNetwork?:
|
|
414
|
+
| string
|
|
415
|
+
| undefined;
|
|
416
|
+
/** Tx hash / provider track id for crypto payments. */
|
|
417
|
+
trackId?:
|
|
418
|
+
| string
|
|
419
|
+
| undefined;
|
|
420
|
+
/** Network fee in USDT (crypto), when stored. */
|
|
421
|
+
networkFee?:
|
|
422
|
+
| number
|
|
423
|
+
| undefined;
|
|
424
|
+
/** Base amount without network fee (crypto), when stored. */
|
|
425
|
+
amountBase?: number | undefined;
|
|
426
|
+
uuid?: string | undefined;
|
|
414
427
|
}
|
|
415
428
|
|
|
416
429
|
export interface GetExchangePaymentsResponse {
|
package/gen/referral.ts
CHANGED
|
@@ -98,6 +98,8 @@ export interface GetReferralSummaryResponse {
|
|
|
98
98
|
balances: ReferralBalanceItem[];
|
|
99
99
|
referralsCount: number;
|
|
100
100
|
totalUsdVolume: string;
|
|
101
|
+
totalUsdtBalance: string;
|
|
102
|
+
availableUsdtBalance: string;
|
|
101
103
|
}
|
|
102
104
|
|
|
103
105
|
export interface ListReferralsRequest {
|
|
@@ -238,6 +240,7 @@ export interface ReferralPayoutResponse {
|
|
|
238
240
|
comment?: string | undefined;
|
|
239
241
|
createdAt: string;
|
|
240
242
|
updatedAt: string;
|
|
243
|
+
walletUserId?: string | undefined;
|
|
241
244
|
}
|
|
242
245
|
|
|
243
246
|
export interface ListPayoutsRequest {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arbiwallet/contracts",
|
|
3
3
|
"descriptions": "Generate and manage smart contracts for ArbiWallet",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.271",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"generate": "protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit"
|
|
7
7
|
},
|
|
@@ -453,6 +453,13 @@ message GetExchangePaymentsItem {
|
|
|
453
453
|
optional string manager_name = 12;
|
|
454
454
|
optional string calculation_id = 13;
|
|
455
455
|
optional string crypto_network = 14;
|
|
456
|
+
/** Tx hash / provider track id for crypto payments. */
|
|
457
|
+
optional string track_id = 15;
|
|
458
|
+
/** Network fee in USDT (crypto), when stored. */
|
|
459
|
+
optional double network_fee = 16;
|
|
460
|
+
/** Base amount without network fee (crypto), when stored. */
|
|
461
|
+
optional double amount_base = 17;
|
|
462
|
+
optional string uuid = 18;
|
|
456
463
|
}
|
|
457
464
|
|
|
458
465
|
message GetExchangePaymentsResponse {
|
package/proto/referral.proto
CHANGED
|
@@ -106,6 +106,8 @@ message GetReferralSummaryResponse {
|
|
|
106
106
|
repeated ReferralBalanceItem balances = 2;
|
|
107
107
|
int32 referrals_count = 3;
|
|
108
108
|
string total_usd_volume = 4;
|
|
109
|
+
string total_usdt_balance = 5;
|
|
110
|
+
string available_usdt_balance = 6;
|
|
109
111
|
}
|
|
110
112
|
|
|
111
113
|
message ListReferralsRequest {
|
|
@@ -246,6 +248,7 @@ message ReferralPayoutResponse {
|
|
|
246
248
|
optional string comment = 8;
|
|
247
249
|
string created_at = 9;
|
|
248
250
|
string updated_at = 10;
|
|
251
|
+
optional string wallet_user_id = 11;
|
|
249
252
|
}
|
|
250
253
|
|
|
251
254
|
message ListPayoutsRequest {
|