@keepkey/device-protocol 7.9.1 → 7.10.1

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.
@@ -1,170 +0,0 @@
1
- // package:
2
- // file: exchange.proto
3
-
4
- import * as jspb from "google-protobuf";
5
-
6
- export class ExchangeAddress extends jspb.Message {
7
- hasCoinType(): boolean;
8
- clearCoinType(): void;
9
- getCoinType(): string | undefined;
10
- setCoinType(value: string): void;
11
-
12
- hasAddress(): boolean;
13
- clearAddress(): void;
14
- getAddress(): string | undefined;
15
- setAddress(value: string): void;
16
-
17
- hasDestTag(): boolean;
18
- clearDestTag(): void;
19
- getDestTag(): string | undefined;
20
- setDestTag(value: string): void;
21
-
22
- serializeBinary(): Uint8Array;
23
- toObject(includeInstance?: boolean): ExchangeAddress.AsObject;
24
- static toObject(includeInstance: boolean, msg: ExchangeAddress): ExchangeAddress.AsObject;
25
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
26
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
27
- static serializeBinaryToWriter(message: ExchangeAddress, writer: jspb.BinaryWriter): void;
28
- static deserializeBinary(bytes: Uint8Array): ExchangeAddress;
29
- static deserializeBinaryFromReader(message: ExchangeAddress, reader: jspb.BinaryReader): ExchangeAddress;
30
- }
31
-
32
- export namespace ExchangeAddress {
33
- export type AsObject = {
34
- coinType?: string,
35
- address?: string,
36
- destTag?: string,
37
- }
38
- }
39
-
40
- export class ExchangeResponseV2 extends jspb.Message {
41
- hasDepositAddress(): boolean;
42
- clearDepositAddress(): void;
43
- getDepositAddress(): ExchangeAddress | undefined;
44
- setDepositAddress(value?: ExchangeAddress): void;
45
-
46
- hasDepositAmount(): boolean;
47
- clearDepositAmount(): void;
48
- getDepositAmount(): Uint8Array | string;
49
- getDepositAmount_asU8(): Uint8Array;
50
- getDepositAmount_asB64(): string;
51
- setDepositAmount(value: Uint8Array | string): void;
52
-
53
- hasExpiration(): boolean;
54
- clearExpiration(): void;
55
- getExpiration(): number | undefined;
56
- setExpiration(value: number): void;
57
-
58
- hasQuotedRate(): boolean;
59
- clearQuotedRate(): void;
60
- getQuotedRate(): Uint8Array | string;
61
- getQuotedRate_asU8(): Uint8Array;
62
- getQuotedRate_asB64(): string;
63
- setQuotedRate(value: Uint8Array | string): void;
64
-
65
- hasWithdrawalAddress(): boolean;
66
- clearWithdrawalAddress(): void;
67
- getWithdrawalAddress(): ExchangeAddress | undefined;
68
- setWithdrawalAddress(value?: ExchangeAddress): void;
69
-
70
- hasWithdrawalAmount(): boolean;
71
- clearWithdrawalAmount(): void;
72
- getWithdrawalAmount(): Uint8Array | string;
73
- getWithdrawalAmount_asU8(): Uint8Array;
74
- getWithdrawalAmount_asB64(): string;
75
- setWithdrawalAmount(value: Uint8Array | string): void;
76
-
77
- hasReturnAddress(): boolean;
78
- clearReturnAddress(): void;
79
- getReturnAddress(): ExchangeAddress | undefined;
80
- setReturnAddress(value?: ExchangeAddress): void;
81
-
82
- hasApiKey(): boolean;
83
- clearApiKey(): void;
84
- getApiKey(): Uint8Array | string;
85
- getApiKey_asU8(): Uint8Array;
86
- getApiKey_asB64(): string;
87
- setApiKey(value: Uint8Array | string): void;
88
-
89
- hasMinerFee(): boolean;
90
- clearMinerFee(): void;
91
- getMinerFee(): Uint8Array | string;
92
- getMinerFee_asU8(): Uint8Array;
93
- getMinerFee_asB64(): string;
94
- setMinerFee(value: Uint8Array | string): void;
95
-
96
- hasOrderId(): boolean;
97
- clearOrderId(): void;
98
- getOrderId(): Uint8Array | string;
99
- getOrderId_asU8(): Uint8Array;
100
- getOrderId_asB64(): string;
101
- setOrderId(value: Uint8Array | string): void;
102
-
103
- hasType(): boolean;
104
- clearType(): void;
105
- getType(): OrderTypeMap[keyof OrderTypeMap] | undefined;
106
- setType(value: OrderTypeMap[keyof OrderTypeMap]): void;
107
-
108
- serializeBinary(): Uint8Array;
109
- toObject(includeInstance?: boolean): ExchangeResponseV2.AsObject;
110
- static toObject(includeInstance: boolean, msg: ExchangeResponseV2): ExchangeResponseV2.AsObject;
111
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
112
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
113
- static serializeBinaryToWriter(message: ExchangeResponseV2, writer: jspb.BinaryWriter): void;
114
- static deserializeBinary(bytes: Uint8Array): ExchangeResponseV2;
115
- static deserializeBinaryFromReader(message: ExchangeResponseV2, reader: jspb.BinaryReader): ExchangeResponseV2;
116
- }
117
-
118
- export namespace ExchangeResponseV2 {
119
- export type AsObject = {
120
- depositAddress?: ExchangeAddress.AsObject,
121
- depositAmount: Uint8Array | string,
122
- expiration?: number,
123
- quotedRate: Uint8Array | string,
124
- withdrawalAddress?: ExchangeAddress.AsObject,
125
- withdrawalAmount: Uint8Array | string,
126
- returnAddress?: ExchangeAddress.AsObject,
127
- apiKey: Uint8Array | string,
128
- minerFee: Uint8Array | string,
129
- orderId: Uint8Array | string,
130
- type?: OrderTypeMap[keyof OrderTypeMap],
131
- }
132
- }
133
-
134
- export class SignedExchangeResponse extends jspb.Message {
135
- hasSignature(): boolean;
136
- clearSignature(): void;
137
- getSignature(): Uint8Array | string;
138
- getSignature_asU8(): Uint8Array;
139
- getSignature_asB64(): string;
140
- setSignature(value: Uint8Array | string): void;
141
-
142
- hasResponsev2(): boolean;
143
- clearResponsev2(): void;
144
- getResponsev2(): ExchangeResponseV2 | undefined;
145
- setResponsev2(value?: ExchangeResponseV2): void;
146
-
147
- serializeBinary(): Uint8Array;
148
- toObject(includeInstance?: boolean): SignedExchangeResponse.AsObject;
149
- static toObject(includeInstance: boolean, msg: SignedExchangeResponse): SignedExchangeResponse.AsObject;
150
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
151
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
152
- static serializeBinaryToWriter(message: SignedExchangeResponse, writer: jspb.BinaryWriter): void;
153
- static deserializeBinary(bytes: Uint8Array): SignedExchangeResponse;
154
- static deserializeBinaryFromReader(message: SignedExchangeResponse, reader: jspb.BinaryReader): SignedExchangeResponse;
155
- }
156
-
157
- export namespace SignedExchangeResponse {
158
- export type AsObject = {
159
- signature: Uint8Array | string,
160
- responsev2?: ExchangeResponseV2.AsObject,
161
- }
162
- }
163
-
164
- export interface OrderTypeMap {
165
- PRECISE: 0;
166
- QUICK: 1;
167
- }
168
-
169
- export const OrderType: OrderTypeMap;
170
-