@keepkey/device-protocol 7.10.0 → 7.10.2
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/lib/messages-binance_pb.d.ts +428 -0
- package/lib/messages-binance_pb.js +1 -7
- package/lib/messages-cosmos_pb.d.ts +466 -0
- package/lib/messages-cosmos_pb.js +1 -7
- package/lib/messages-eos_pb.d.ts +1057 -0
- package/lib/messages-eos_pb.js +1 -7
- package/lib/messages-ethereum_pb.d.ts +530 -0
- package/lib/messages-ethereum_pb.js +1 -7
- package/lib/messages-nano_pb.d.ts +207 -0
- package/lib/messages-nano_pb.js +1 -7
- package/lib/messages-osmosis_pb.d.ts +774 -0
- package/lib/messages-osmosis_pb.js +1 -7
- package/lib/messages-ripple_pb.d.ts +173 -0
- package/lib/messages-ripple_pb.js +1 -7
- package/lib/messages-tendermint_pb.d.ts +526 -0
- package/lib/messages-tendermint_pb.js +1 -7
- package/lib/messages-thorchain_pb.d.ts +288 -0
- package/lib/messages-thorchain_pb.js +1 -7
- package/lib/messages_pb.d.ts +2357 -0
- package/lib/messages_pb.js +1 -7
- package/lib/types_pb.d.ts +843 -0
- package/lib/types_pb.js +1 -7
- package/package.json +2 -2
@@ -0,0 +1,288 @@
|
|
1
|
+
// package:
|
2
|
+
// file: messages-thorchain.proto
|
3
|
+
|
4
|
+
import * as jspb from "google-protobuf";
|
5
|
+
import * as types_pb from "./types_pb";
|
6
|
+
|
7
|
+
export class ThorchainGetAddress extends jspb.Message {
|
8
|
+
clearAddressNList(): void;
|
9
|
+
getAddressNList(): Array<number>;
|
10
|
+
setAddressNList(value: Array<number>): void;
|
11
|
+
addAddressN(value: number, index?: number): number;
|
12
|
+
|
13
|
+
hasShowDisplay(): boolean;
|
14
|
+
clearShowDisplay(): void;
|
15
|
+
getShowDisplay(): boolean | undefined;
|
16
|
+
setShowDisplay(value: boolean): void;
|
17
|
+
|
18
|
+
hasTestnet(): boolean;
|
19
|
+
clearTestnet(): void;
|
20
|
+
getTestnet(): boolean | undefined;
|
21
|
+
setTestnet(value: boolean): void;
|
22
|
+
|
23
|
+
serializeBinary(): Uint8Array;
|
24
|
+
toObject(includeInstance?: boolean): ThorchainGetAddress.AsObject;
|
25
|
+
static toObject(includeInstance: boolean, msg: ThorchainGetAddress): ThorchainGetAddress.AsObject;
|
26
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
27
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
28
|
+
static serializeBinaryToWriter(message: ThorchainGetAddress, writer: jspb.BinaryWriter): void;
|
29
|
+
static deserializeBinary(bytes: Uint8Array): ThorchainGetAddress;
|
30
|
+
static deserializeBinaryFromReader(message: ThorchainGetAddress, reader: jspb.BinaryReader): ThorchainGetAddress;
|
31
|
+
}
|
32
|
+
|
33
|
+
export namespace ThorchainGetAddress {
|
34
|
+
export type AsObject = {
|
35
|
+
addressNList: Array<number>,
|
36
|
+
showDisplay?: boolean,
|
37
|
+
testnet?: boolean,
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
export class ThorchainAddress extends jspb.Message {
|
42
|
+
hasAddress(): boolean;
|
43
|
+
clearAddress(): void;
|
44
|
+
getAddress(): string | undefined;
|
45
|
+
setAddress(value: string): void;
|
46
|
+
|
47
|
+
serializeBinary(): Uint8Array;
|
48
|
+
toObject(includeInstance?: boolean): ThorchainAddress.AsObject;
|
49
|
+
static toObject(includeInstance: boolean, msg: ThorchainAddress): ThorchainAddress.AsObject;
|
50
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
51
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
52
|
+
static serializeBinaryToWriter(message: ThorchainAddress, writer: jspb.BinaryWriter): void;
|
53
|
+
static deserializeBinary(bytes: Uint8Array): ThorchainAddress;
|
54
|
+
static deserializeBinaryFromReader(message: ThorchainAddress, reader: jspb.BinaryReader): ThorchainAddress;
|
55
|
+
}
|
56
|
+
|
57
|
+
export namespace ThorchainAddress {
|
58
|
+
export type AsObject = {
|
59
|
+
address?: string,
|
60
|
+
}
|
61
|
+
}
|
62
|
+
|
63
|
+
export class ThorchainSignTx extends jspb.Message {
|
64
|
+
clearAddressNList(): void;
|
65
|
+
getAddressNList(): Array<number>;
|
66
|
+
setAddressNList(value: Array<number>): void;
|
67
|
+
addAddressN(value: number, index?: number): number;
|
68
|
+
|
69
|
+
hasAccountNumber(): boolean;
|
70
|
+
clearAccountNumber(): void;
|
71
|
+
getAccountNumber(): string | undefined;
|
72
|
+
setAccountNumber(value: string): void;
|
73
|
+
|
74
|
+
hasChainId(): boolean;
|
75
|
+
clearChainId(): void;
|
76
|
+
getChainId(): string | undefined;
|
77
|
+
setChainId(value: string): void;
|
78
|
+
|
79
|
+
hasFeeAmount(): boolean;
|
80
|
+
clearFeeAmount(): void;
|
81
|
+
getFeeAmount(): number | undefined;
|
82
|
+
setFeeAmount(value: number): void;
|
83
|
+
|
84
|
+
hasGas(): boolean;
|
85
|
+
clearGas(): void;
|
86
|
+
getGas(): number | undefined;
|
87
|
+
setGas(value: number): void;
|
88
|
+
|
89
|
+
hasMemo(): boolean;
|
90
|
+
clearMemo(): void;
|
91
|
+
getMemo(): string | undefined;
|
92
|
+
setMemo(value: string): void;
|
93
|
+
|
94
|
+
hasSequence(): boolean;
|
95
|
+
clearSequence(): void;
|
96
|
+
getSequence(): string | undefined;
|
97
|
+
setSequence(value: string): void;
|
98
|
+
|
99
|
+
hasMsgCount(): boolean;
|
100
|
+
clearMsgCount(): void;
|
101
|
+
getMsgCount(): number | undefined;
|
102
|
+
setMsgCount(value: number): void;
|
103
|
+
|
104
|
+
hasTestnet(): boolean;
|
105
|
+
clearTestnet(): void;
|
106
|
+
getTestnet(): boolean | undefined;
|
107
|
+
setTestnet(value: boolean): void;
|
108
|
+
|
109
|
+
serializeBinary(): Uint8Array;
|
110
|
+
toObject(includeInstance?: boolean): ThorchainSignTx.AsObject;
|
111
|
+
static toObject(includeInstance: boolean, msg: ThorchainSignTx): ThorchainSignTx.AsObject;
|
112
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
113
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
114
|
+
static serializeBinaryToWriter(message: ThorchainSignTx, writer: jspb.BinaryWriter): void;
|
115
|
+
static deserializeBinary(bytes: Uint8Array): ThorchainSignTx;
|
116
|
+
static deserializeBinaryFromReader(message: ThorchainSignTx, reader: jspb.BinaryReader): ThorchainSignTx;
|
117
|
+
}
|
118
|
+
|
119
|
+
export namespace ThorchainSignTx {
|
120
|
+
export type AsObject = {
|
121
|
+
addressNList: Array<number>,
|
122
|
+
accountNumber?: string,
|
123
|
+
chainId?: string,
|
124
|
+
feeAmount?: number,
|
125
|
+
gas?: number,
|
126
|
+
memo?: string,
|
127
|
+
sequence?: string,
|
128
|
+
msgCount?: number,
|
129
|
+
testnet?: boolean,
|
130
|
+
}
|
131
|
+
}
|
132
|
+
|
133
|
+
export class ThorchainMsgRequest extends jspb.Message {
|
134
|
+
serializeBinary(): Uint8Array;
|
135
|
+
toObject(includeInstance?: boolean): ThorchainMsgRequest.AsObject;
|
136
|
+
static toObject(includeInstance: boolean, msg: ThorchainMsgRequest): ThorchainMsgRequest.AsObject;
|
137
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
138
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
139
|
+
static serializeBinaryToWriter(message: ThorchainMsgRequest, writer: jspb.BinaryWriter): void;
|
140
|
+
static deserializeBinary(bytes: Uint8Array): ThorchainMsgRequest;
|
141
|
+
static deserializeBinaryFromReader(message: ThorchainMsgRequest, reader: jspb.BinaryReader): ThorchainMsgRequest;
|
142
|
+
}
|
143
|
+
|
144
|
+
export namespace ThorchainMsgRequest {
|
145
|
+
export type AsObject = {
|
146
|
+
}
|
147
|
+
}
|
148
|
+
|
149
|
+
export class ThorchainMsgAck extends jspb.Message {
|
150
|
+
hasSend(): boolean;
|
151
|
+
clearSend(): void;
|
152
|
+
getSend(): ThorchainMsgSend | undefined;
|
153
|
+
setSend(value?: ThorchainMsgSend): void;
|
154
|
+
|
155
|
+
hasDeposit(): boolean;
|
156
|
+
clearDeposit(): void;
|
157
|
+
getDeposit(): ThorchainMsgDeposit | undefined;
|
158
|
+
setDeposit(value?: ThorchainMsgDeposit): void;
|
159
|
+
|
160
|
+
serializeBinary(): Uint8Array;
|
161
|
+
toObject(includeInstance?: boolean): ThorchainMsgAck.AsObject;
|
162
|
+
static toObject(includeInstance: boolean, msg: ThorchainMsgAck): ThorchainMsgAck.AsObject;
|
163
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
164
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
165
|
+
static serializeBinaryToWriter(message: ThorchainMsgAck, writer: jspb.BinaryWriter): void;
|
166
|
+
static deserializeBinary(bytes: Uint8Array): ThorchainMsgAck;
|
167
|
+
static deserializeBinaryFromReader(message: ThorchainMsgAck, reader: jspb.BinaryReader): ThorchainMsgAck;
|
168
|
+
}
|
169
|
+
|
170
|
+
export namespace ThorchainMsgAck {
|
171
|
+
export type AsObject = {
|
172
|
+
send?: ThorchainMsgSend.AsObject,
|
173
|
+
deposit?: ThorchainMsgDeposit.AsObject,
|
174
|
+
}
|
175
|
+
}
|
176
|
+
|
177
|
+
export class ThorchainMsgSend extends jspb.Message {
|
178
|
+
hasFromAddress(): boolean;
|
179
|
+
clearFromAddress(): void;
|
180
|
+
getFromAddress(): string | undefined;
|
181
|
+
setFromAddress(value: string): void;
|
182
|
+
|
183
|
+
hasToAddress(): boolean;
|
184
|
+
clearToAddress(): void;
|
185
|
+
getToAddress(): string | undefined;
|
186
|
+
setToAddress(value: string): void;
|
187
|
+
|
188
|
+
hasAmount(): boolean;
|
189
|
+
clearAmount(): void;
|
190
|
+
getAmount(): string | undefined;
|
191
|
+
setAmount(value: string): void;
|
192
|
+
|
193
|
+
hasAddressType(): boolean;
|
194
|
+
clearAddressType(): void;
|
195
|
+
getAddressType(): types_pb.OutputAddressTypeMap[keyof types_pb.OutputAddressTypeMap] | undefined;
|
196
|
+
setAddressType(value: types_pb.OutputAddressTypeMap[keyof types_pb.OutputAddressTypeMap]): void;
|
197
|
+
|
198
|
+
serializeBinary(): Uint8Array;
|
199
|
+
toObject(includeInstance?: boolean): ThorchainMsgSend.AsObject;
|
200
|
+
static toObject(includeInstance: boolean, msg: ThorchainMsgSend): ThorchainMsgSend.AsObject;
|
201
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
202
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
203
|
+
static serializeBinaryToWriter(message: ThorchainMsgSend, writer: jspb.BinaryWriter): void;
|
204
|
+
static deserializeBinary(bytes: Uint8Array): ThorchainMsgSend;
|
205
|
+
static deserializeBinaryFromReader(message: ThorchainMsgSend, reader: jspb.BinaryReader): ThorchainMsgSend;
|
206
|
+
}
|
207
|
+
|
208
|
+
export namespace ThorchainMsgSend {
|
209
|
+
export type AsObject = {
|
210
|
+
fromAddress?: string,
|
211
|
+
toAddress?: string,
|
212
|
+
amount?: string,
|
213
|
+
addressType?: types_pb.OutputAddressTypeMap[keyof types_pb.OutputAddressTypeMap],
|
214
|
+
}
|
215
|
+
}
|
216
|
+
|
217
|
+
export class ThorchainMsgDeposit extends jspb.Message {
|
218
|
+
hasAsset(): boolean;
|
219
|
+
clearAsset(): void;
|
220
|
+
getAsset(): string | undefined;
|
221
|
+
setAsset(value: string): void;
|
222
|
+
|
223
|
+
hasAmount(): boolean;
|
224
|
+
clearAmount(): void;
|
225
|
+
getAmount(): string | undefined;
|
226
|
+
setAmount(value: string): void;
|
227
|
+
|
228
|
+
hasMemo(): boolean;
|
229
|
+
clearMemo(): void;
|
230
|
+
getMemo(): string | undefined;
|
231
|
+
setMemo(value: string): void;
|
232
|
+
|
233
|
+
hasSigner(): boolean;
|
234
|
+
clearSigner(): void;
|
235
|
+
getSigner(): string | undefined;
|
236
|
+
setSigner(value: string): void;
|
237
|
+
|
238
|
+
serializeBinary(): Uint8Array;
|
239
|
+
toObject(includeInstance?: boolean): ThorchainMsgDeposit.AsObject;
|
240
|
+
static toObject(includeInstance: boolean, msg: ThorchainMsgDeposit): ThorchainMsgDeposit.AsObject;
|
241
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
242
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
243
|
+
static serializeBinaryToWriter(message: ThorchainMsgDeposit, writer: jspb.BinaryWriter): void;
|
244
|
+
static deserializeBinary(bytes: Uint8Array): ThorchainMsgDeposit;
|
245
|
+
static deserializeBinaryFromReader(message: ThorchainMsgDeposit, reader: jspb.BinaryReader): ThorchainMsgDeposit;
|
246
|
+
}
|
247
|
+
|
248
|
+
export namespace ThorchainMsgDeposit {
|
249
|
+
export type AsObject = {
|
250
|
+
asset?: string,
|
251
|
+
amount?: string,
|
252
|
+
memo?: string,
|
253
|
+
signer?: string,
|
254
|
+
}
|
255
|
+
}
|
256
|
+
|
257
|
+
export class ThorchainSignedTx extends jspb.Message {
|
258
|
+
hasPublicKey(): boolean;
|
259
|
+
clearPublicKey(): void;
|
260
|
+
getPublicKey(): Uint8Array | string;
|
261
|
+
getPublicKey_asU8(): Uint8Array;
|
262
|
+
getPublicKey_asB64(): string;
|
263
|
+
setPublicKey(value: Uint8Array | string): void;
|
264
|
+
|
265
|
+
hasSignature(): boolean;
|
266
|
+
clearSignature(): void;
|
267
|
+
getSignature(): Uint8Array | string;
|
268
|
+
getSignature_asU8(): Uint8Array;
|
269
|
+
getSignature_asB64(): string;
|
270
|
+
setSignature(value: Uint8Array | string): void;
|
271
|
+
|
272
|
+
serializeBinary(): Uint8Array;
|
273
|
+
toObject(includeInstance?: boolean): ThorchainSignedTx.AsObject;
|
274
|
+
static toObject(includeInstance: boolean, msg: ThorchainSignedTx): ThorchainSignedTx.AsObject;
|
275
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
276
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
277
|
+
static serializeBinaryToWriter(message: ThorchainSignedTx, writer: jspb.BinaryWriter): void;
|
278
|
+
static deserializeBinary(bytes: Uint8Array): ThorchainSignedTx;
|
279
|
+
static deserializeBinaryFromReader(message: ThorchainSignedTx, reader: jspb.BinaryReader): ThorchainSignedTx;
|
280
|
+
}
|
281
|
+
|
282
|
+
export namespace ThorchainSignedTx {
|
283
|
+
export type AsObject = {
|
284
|
+
publicKey: Uint8Array | string,
|
285
|
+
signature: Uint8Array | string,
|
286
|
+
}
|
287
|
+
}
|
288
|
+
|
@@ -13,13 +13,7 @@
|
|
13
13
|
|
14
14
|
var jspb = require('google-protobuf');
|
15
15
|
var goog = jspb;
|
16
|
-
var global = (function() {
|
17
|
-
if (this) { return this; }
|
18
|
-
if (typeof window !== 'undefined') { return window; }
|
19
|
-
if (typeof global !== 'undefined') { return global; }
|
20
|
-
if (typeof self !== 'undefined') { return self; }
|
21
|
-
return Function('return this')();
|
22
|
-
}.call(null));
|
16
|
+
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
|
23
17
|
|
24
18
|
var types_pb = require('./types_pb.js');
|
25
19
|
goog.object.extend(proto, types_pb);
|