@arbiwallet/contracts 1.0.232 → 1.0.233
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_rates.ts +5 -0
- package/package.json +1 -1
- package/proto/exchange_rates.proto +20 -14
package/gen/exchange_rates.ts
CHANGED
|
@@ -32,6 +32,10 @@ export enum ExchangeCalculationAllowedAction {
|
|
|
32
32
|
export interface CurrencySetting {
|
|
33
33
|
id: string;
|
|
34
34
|
shortName: string;
|
|
35
|
+
name?: string | undefined;
|
|
36
|
+
currencyType?: string | undefined;
|
|
37
|
+
currencyTypeId?: string | undefined;
|
|
38
|
+
symbol?: string | undefined;
|
|
35
39
|
priorityBuy?: number | undefined;
|
|
36
40
|
prioritySell?: number | undefined;
|
|
37
41
|
priceBuy?: string | undefined;
|
|
@@ -46,6 +50,7 @@ export interface CurrencySetting {
|
|
|
46
50
|
}
|
|
47
51
|
|
|
48
52
|
export interface GetCurrencySettingsRequest {
|
|
53
|
+
search?: string | undefined;
|
|
49
54
|
}
|
|
50
55
|
|
|
51
56
|
export interface GetCurrencySettingsResponse {
|
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.233",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"generate": "protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit"
|
|
7
7
|
},
|
|
@@ -38,20 +38,26 @@ service ExchangeRatesService {
|
|
|
38
38
|
message CurrencySetting {
|
|
39
39
|
string id = 1;
|
|
40
40
|
string short_name = 2;
|
|
41
|
-
optional
|
|
42
|
-
optional
|
|
43
|
-
optional string
|
|
44
|
-
optional string
|
|
45
|
-
|
|
46
|
-
optional
|
|
47
|
-
optional string
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
optional string
|
|
51
|
-
optional
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
41
|
+
optional string name = 3;
|
|
42
|
+
optional string currency_type = 4;
|
|
43
|
+
optional string currency_type_id = 5;
|
|
44
|
+
optional string symbol = 6;
|
|
45
|
+
optional double priority_buy = 7;
|
|
46
|
+
optional double priority_sell = 8;
|
|
47
|
+
optional string price_buy = 9;
|
|
48
|
+
optional string price_sell = 10;
|
|
49
|
+
bool one_price_for_variations_buy = 11;
|
|
50
|
+
optional string one_price_buy_type_id = 12;
|
|
51
|
+
optional string one_price_buy_type = 13;
|
|
52
|
+
bool one_price_for_variations_sell = 14;
|
|
53
|
+
optional string one_price_sell_type_id = 15;
|
|
54
|
+
optional string one_price_sell_type = 16;
|
|
55
|
+
optional int32 output_rounding = 17;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
message GetCurrencySettingsRequest {
|
|
59
|
+
optional string search = 1;
|
|
60
|
+
}
|
|
55
61
|
|
|
56
62
|
message GetCurrencySettingsResponse {
|
|
57
63
|
bool exist = 1;
|