@arbiwallet/contracts 1.0.234 → 1.0.236
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 +23 -11
- package/package.json +1 -1
- package/proto/exchange_core.proto +23 -11
package/gen/exchange_core.ts
CHANGED
|
@@ -278,7 +278,7 @@ export interface WalletItem {
|
|
|
278
278
|
sort: number;
|
|
279
279
|
balance: number;
|
|
280
280
|
status: boolean;
|
|
281
|
-
|
|
281
|
+
currentManagerId?: string | undefined;
|
|
282
282
|
managerChanged?: string | undefined;
|
|
283
283
|
isGeneral: boolean;
|
|
284
284
|
showOnBalances: boolean;
|
|
@@ -304,18 +304,30 @@ export interface GetWalletsResponse {
|
|
|
304
304
|
}
|
|
305
305
|
|
|
306
306
|
export interface GetWalletsMonikaRequest {
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
307
|
+
currencyId?: string | undefined;
|
|
308
|
+
isActive?: string | undefined;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
export interface WalletMonikaCurrency {
|
|
312
|
+
id: number;
|
|
313
|
+
shortName: string;
|
|
314
|
+
name: string;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
export interface WalletMonikaItem {
|
|
318
|
+
id: number;
|
|
319
|
+
name: string;
|
|
320
|
+
currencies: WalletMonikaCurrency[];
|
|
321
|
+
balance: number;
|
|
322
|
+
status: boolean;
|
|
323
|
+
isActive: boolean;
|
|
324
|
+
cryptoAddress?: string | undefined;
|
|
325
|
+
cryptoNetwork?: number | undefined;
|
|
326
|
+
isGeneral: boolean;
|
|
312
327
|
}
|
|
313
328
|
|
|
314
329
|
export interface GetWalletsMonikaResponse {
|
|
315
|
-
|
|
316
|
-
next?: string | undefined;
|
|
317
|
-
previous?: string | undefined;
|
|
318
|
-
results: WalletItem[];
|
|
330
|
+
wallets: WalletMonikaItem[];
|
|
319
331
|
}
|
|
320
332
|
|
|
321
333
|
export interface CreateWalletRequest {
|
|
@@ -328,7 +340,7 @@ export interface CreateWalletRequest {
|
|
|
328
340
|
cryptoNetwork?: number | undefined;
|
|
329
341
|
isActive?: boolean | undefined;
|
|
330
342
|
status?: boolean | undefined;
|
|
331
|
-
|
|
343
|
+
currentManagerId?: string | undefined;
|
|
332
344
|
currencyIds: string[];
|
|
333
345
|
}
|
|
334
346
|
|
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.236",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"generate": "protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit"
|
|
7
7
|
},
|
|
@@ -301,7 +301,7 @@ message WalletItem {
|
|
|
301
301
|
int32 sort = 3;
|
|
302
302
|
double balance = 4;
|
|
303
303
|
bool status = 5;
|
|
304
|
-
optional string
|
|
304
|
+
optional string current_manager_id = 6;
|
|
305
305
|
optional string manager_changed = 7;
|
|
306
306
|
bool is_general = 8;
|
|
307
307
|
bool show_on_balances = 9;
|
|
@@ -327,18 +327,30 @@ message GetWalletsResponse {
|
|
|
327
327
|
}
|
|
328
328
|
|
|
329
329
|
message GetWalletsMonikaRequest {
|
|
330
|
-
|
|
331
|
-
optional string
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
330
|
+
optional string currency_id = 1;
|
|
331
|
+
optional string is_active = 2;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
message WalletMonikaCurrency {
|
|
335
|
+
int64 id = 1;
|
|
336
|
+
string short_name = 2;
|
|
337
|
+
string name = 3;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
message WalletMonikaItem {
|
|
341
|
+
int64 id = 1;
|
|
342
|
+
string name = 2;
|
|
343
|
+
repeated WalletMonikaCurrency currencies = 3;
|
|
344
|
+
double balance = 4;
|
|
345
|
+
bool status = 5;
|
|
346
|
+
bool is_active = 6;
|
|
347
|
+
optional string crypto_address = 7;
|
|
348
|
+
optional int32 crypto_network = 8;
|
|
349
|
+
bool is_general = 9;
|
|
335
350
|
}
|
|
336
351
|
|
|
337
352
|
message GetWalletsMonikaResponse {
|
|
338
|
-
|
|
339
|
-
optional string next = 2;
|
|
340
|
-
optional string previous = 3;
|
|
341
|
-
repeated WalletItem results = 4;
|
|
353
|
+
repeated WalletMonikaItem wallets = 2;
|
|
342
354
|
}
|
|
343
355
|
|
|
344
356
|
message CreateWalletRequest {
|
|
@@ -351,7 +363,7 @@ message CreateWalletRequest {
|
|
|
351
363
|
optional int32 crypto_network = 7;
|
|
352
364
|
optional bool is_active = 8;
|
|
353
365
|
optional bool status = 9;
|
|
354
|
-
optional string
|
|
366
|
+
optional string current_manager_id = 10;
|
|
355
367
|
repeated string currency_ids = 11;
|
|
356
368
|
}
|
|
357
369
|
|