@keepkey/device-protocol 7.10.1 → 7.11.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 +22 -28
- 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/proto.json +3 -3
- package/lib/types_pb.d.ts +843 -0
- package/lib/types_pb.js +1 -7
- package/package.json +2 -2
package/lib/messages-eos_pb.js
CHANGED
@@ -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
|
goog.exportSymbol('proto.EosActionBuyRam', null, global);
|
25
19
|
goog.exportSymbol('proto.EosActionBuyRamBytes', null, global);
|
@@ -0,0 +1,530 @@
|
|
1
|
+
// package:
|
2
|
+
// file: messages-ethereum.proto
|
3
|
+
|
4
|
+
import * as jspb from "google-protobuf";
|
5
|
+
import * as types_pb from "./types_pb";
|
6
|
+
|
7
|
+
export class EthereumGetAddress 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
|
+
serializeBinary(): Uint8Array;
|
19
|
+
toObject(includeInstance?: boolean): EthereumGetAddress.AsObject;
|
20
|
+
static toObject(includeInstance: boolean, msg: EthereumGetAddress): EthereumGetAddress.AsObject;
|
21
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
22
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
23
|
+
static serializeBinaryToWriter(message: EthereumGetAddress, writer: jspb.BinaryWriter): void;
|
24
|
+
static deserializeBinary(bytes: Uint8Array): EthereumGetAddress;
|
25
|
+
static deserializeBinaryFromReader(message: EthereumGetAddress, reader: jspb.BinaryReader): EthereumGetAddress;
|
26
|
+
}
|
27
|
+
|
28
|
+
export namespace EthereumGetAddress {
|
29
|
+
export type AsObject = {
|
30
|
+
addressNList: Array<number>,
|
31
|
+
showDisplay?: boolean,
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
export class EthereumAddress extends jspb.Message {
|
36
|
+
hasAddress(): boolean;
|
37
|
+
clearAddress(): void;
|
38
|
+
getAddress(): Uint8Array | string;
|
39
|
+
getAddress_asU8(): Uint8Array;
|
40
|
+
getAddress_asB64(): string;
|
41
|
+
setAddress(value: Uint8Array | string): void;
|
42
|
+
|
43
|
+
hasAddressStr(): boolean;
|
44
|
+
clearAddressStr(): void;
|
45
|
+
getAddressStr(): string | undefined;
|
46
|
+
setAddressStr(value: string): void;
|
47
|
+
|
48
|
+
serializeBinary(): Uint8Array;
|
49
|
+
toObject(includeInstance?: boolean): EthereumAddress.AsObject;
|
50
|
+
static toObject(includeInstance: boolean, msg: EthereumAddress): EthereumAddress.AsObject;
|
51
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
52
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
53
|
+
static serializeBinaryToWriter(message: EthereumAddress, writer: jspb.BinaryWriter): void;
|
54
|
+
static deserializeBinary(bytes: Uint8Array): EthereumAddress;
|
55
|
+
static deserializeBinaryFromReader(message: EthereumAddress, reader: jspb.BinaryReader): EthereumAddress;
|
56
|
+
}
|
57
|
+
|
58
|
+
export namespace EthereumAddress {
|
59
|
+
export type AsObject = {
|
60
|
+
address: Uint8Array | string,
|
61
|
+
addressStr?: string,
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
export class EthereumSignTx extends jspb.Message {
|
66
|
+
clearAddressNList(): void;
|
67
|
+
getAddressNList(): Array<number>;
|
68
|
+
setAddressNList(value: Array<number>): void;
|
69
|
+
addAddressN(value: number, index?: number): number;
|
70
|
+
|
71
|
+
hasNonce(): boolean;
|
72
|
+
clearNonce(): void;
|
73
|
+
getNonce(): Uint8Array | string;
|
74
|
+
getNonce_asU8(): Uint8Array;
|
75
|
+
getNonce_asB64(): string;
|
76
|
+
setNonce(value: Uint8Array | string): void;
|
77
|
+
|
78
|
+
hasGasPrice(): boolean;
|
79
|
+
clearGasPrice(): void;
|
80
|
+
getGasPrice(): Uint8Array | string;
|
81
|
+
getGasPrice_asU8(): Uint8Array;
|
82
|
+
getGasPrice_asB64(): string;
|
83
|
+
setGasPrice(value: Uint8Array | string): void;
|
84
|
+
|
85
|
+
hasGasLimit(): boolean;
|
86
|
+
clearGasLimit(): void;
|
87
|
+
getGasLimit(): Uint8Array | string;
|
88
|
+
getGasLimit_asU8(): Uint8Array;
|
89
|
+
getGasLimit_asB64(): string;
|
90
|
+
setGasLimit(value: Uint8Array | string): void;
|
91
|
+
|
92
|
+
hasTo(): boolean;
|
93
|
+
clearTo(): void;
|
94
|
+
getTo(): Uint8Array | string;
|
95
|
+
getTo_asU8(): Uint8Array;
|
96
|
+
getTo_asB64(): string;
|
97
|
+
setTo(value: Uint8Array | string): void;
|
98
|
+
|
99
|
+
hasValue(): boolean;
|
100
|
+
clearValue(): void;
|
101
|
+
getValue(): Uint8Array | string;
|
102
|
+
getValue_asU8(): Uint8Array;
|
103
|
+
getValue_asB64(): string;
|
104
|
+
setValue(value: Uint8Array | string): void;
|
105
|
+
|
106
|
+
hasDataInitialChunk(): boolean;
|
107
|
+
clearDataInitialChunk(): void;
|
108
|
+
getDataInitialChunk(): Uint8Array | string;
|
109
|
+
getDataInitialChunk_asU8(): Uint8Array;
|
110
|
+
getDataInitialChunk_asB64(): string;
|
111
|
+
setDataInitialChunk(value: Uint8Array | string): void;
|
112
|
+
|
113
|
+
hasDataLength(): boolean;
|
114
|
+
clearDataLength(): void;
|
115
|
+
getDataLength(): number | undefined;
|
116
|
+
setDataLength(value: number): void;
|
117
|
+
|
118
|
+
clearToAddressNList(): void;
|
119
|
+
getToAddressNList(): Array<number>;
|
120
|
+
setToAddressNList(value: Array<number>): void;
|
121
|
+
addToAddressN(value: number, index?: number): number;
|
122
|
+
|
123
|
+
hasAddressType(): boolean;
|
124
|
+
clearAddressType(): void;
|
125
|
+
getAddressType(): types_pb.OutputAddressTypeMap[keyof types_pb.OutputAddressTypeMap] | undefined;
|
126
|
+
setAddressType(value: types_pb.OutputAddressTypeMap[keyof types_pb.OutputAddressTypeMap]): void;
|
127
|
+
|
128
|
+
hasChainId(): boolean;
|
129
|
+
clearChainId(): void;
|
130
|
+
getChainId(): number | undefined;
|
131
|
+
setChainId(value: number): void;
|
132
|
+
|
133
|
+
hasMaxFeePerGas(): boolean;
|
134
|
+
clearMaxFeePerGas(): void;
|
135
|
+
getMaxFeePerGas(): Uint8Array | string;
|
136
|
+
getMaxFeePerGas_asU8(): Uint8Array;
|
137
|
+
getMaxFeePerGas_asB64(): string;
|
138
|
+
setMaxFeePerGas(value: Uint8Array | string): void;
|
139
|
+
|
140
|
+
hasMaxPriorityFeePerGas(): boolean;
|
141
|
+
clearMaxPriorityFeePerGas(): void;
|
142
|
+
getMaxPriorityFeePerGas(): Uint8Array | string;
|
143
|
+
getMaxPriorityFeePerGas_asU8(): Uint8Array;
|
144
|
+
getMaxPriorityFeePerGas_asB64(): string;
|
145
|
+
setMaxPriorityFeePerGas(value: Uint8Array | string): void;
|
146
|
+
|
147
|
+
hasTokenValue(): boolean;
|
148
|
+
clearTokenValue(): void;
|
149
|
+
getTokenValue(): Uint8Array | string;
|
150
|
+
getTokenValue_asU8(): Uint8Array;
|
151
|
+
getTokenValue_asB64(): string;
|
152
|
+
setTokenValue(value: Uint8Array | string): void;
|
153
|
+
|
154
|
+
hasTokenTo(): boolean;
|
155
|
+
clearTokenTo(): void;
|
156
|
+
getTokenTo(): Uint8Array | string;
|
157
|
+
getTokenTo_asU8(): Uint8Array;
|
158
|
+
getTokenTo_asB64(): string;
|
159
|
+
setTokenTo(value: Uint8Array | string): void;
|
160
|
+
|
161
|
+
hasTokenShortcut(): boolean;
|
162
|
+
clearTokenShortcut(): void;
|
163
|
+
getTokenShortcut(): string | undefined;
|
164
|
+
setTokenShortcut(value: string): void;
|
165
|
+
|
166
|
+
hasTxType(): boolean;
|
167
|
+
clearTxType(): void;
|
168
|
+
getTxType(): number | undefined;
|
169
|
+
setTxType(value: number): void;
|
170
|
+
|
171
|
+
hasType(): boolean;
|
172
|
+
clearType(): void;
|
173
|
+
getType(): number | undefined;
|
174
|
+
setType(value: number): void;
|
175
|
+
|
176
|
+
serializeBinary(): Uint8Array;
|
177
|
+
toObject(includeInstance?: boolean): EthereumSignTx.AsObject;
|
178
|
+
static toObject(includeInstance: boolean, msg: EthereumSignTx): EthereumSignTx.AsObject;
|
179
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
180
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
181
|
+
static serializeBinaryToWriter(message: EthereumSignTx, writer: jspb.BinaryWriter): void;
|
182
|
+
static deserializeBinary(bytes: Uint8Array): EthereumSignTx;
|
183
|
+
static deserializeBinaryFromReader(message: EthereumSignTx, reader: jspb.BinaryReader): EthereumSignTx;
|
184
|
+
}
|
185
|
+
|
186
|
+
export namespace EthereumSignTx {
|
187
|
+
export type AsObject = {
|
188
|
+
addressNList: Array<number>,
|
189
|
+
nonce: Uint8Array | string,
|
190
|
+
gasPrice: Uint8Array | string,
|
191
|
+
gasLimit: Uint8Array | string,
|
192
|
+
to: Uint8Array | string,
|
193
|
+
value: Uint8Array | string,
|
194
|
+
dataInitialChunk: Uint8Array | string,
|
195
|
+
dataLength?: number,
|
196
|
+
toAddressNList: Array<number>,
|
197
|
+
addressType?: types_pb.OutputAddressTypeMap[keyof types_pb.OutputAddressTypeMap],
|
198
|
+
chainId?: number,
|
199
|
+
maxFeePerGas: Uint8Array | string,
|
200
|
+
maxPriorityFeePerGas: Uint8Array | string,
|
201
|
+
tokenValue: Uint8Array | string,
|
202
|
+
tokenTo: Uint8Array | string,
|
203
|
+
tokenShortcut?: string,
|
204
|
+
txType?: number,
|
205
|
+
type?: number,
|
206
|
+
}
|
207
|
+
}
|
208
|
+
|
209
|
+
export class EthereumTxRequest extends jspb.Message {
|
210
|
+
hasDataLength(): boolean;
|
211
|
+
clearDataLength(): void;
|
212
|
+
getDataLength(): number | undefined;
|
213
|
+
setDataLength(value: number): void;
|
214
|
+
|
215
|
+
hasSignatureV(): boolean;
|
216
|
+
clearSignatureV(): void;
|
217
|
+
getSignatureV(): number | undefined;
|
218
|
+
setSignatureV(value: number): void;
|
219
|
+
|
220
|
+
hasSignatureR(): boolean;
|
221
|
+
clearSignatureR(): void;
|
222
|
+
getSignatureR(): Uint8Array | string;
|
223
|
+
getSignatureR_asU8(): Uint8Array;
|
224
|
+
getSignatureR_asB64(): string;
|
225
|
+
setSignatureR(value: Uint8Array | string): void;
|
226
|
+
|
227
|
+
hasSignatureS(): boolean;
|
228
|
+
clearSignatureS(): void;
|
229
|
+
getSignatureS(): Uint8Array | string;
|
230
|
+
getSignatureS_asU8(): Uint8Array;
|
231
|
+
getSignatureS_asB64(): string;
|
232
|
+
setSignatureS(value: Uint8Array | string): void;
|
233
|
+
|
234
|
+
hasHash(): boolean;
|
235
|
+
clearHash(): void;
|
236
|
+
getHash(): Uint8Array | string;
|
237
|
+
getHash_asU8(): Uint8Array;
|
238
|
+
getHash_asB64(): string;
|
239
|
+
setHash(value: Uint8Array | string): void;
|
240
|
+
|
241
|
+
hasSignatureDer(): boolean;
|
242
|
+
clearSignatureDer(): void;
|
243
|
+
getSignatureDer(): Uint8Array | string;
|
244
|
+
getSignatureDer_asU8(): Uint8Array;
|
245
|
+
getSignatureDer_asB64(): string;
|
246
|
+
setSignatureDer(value: Uint8Array | string): void;
|
247
|
+
|
248
|
+
serializeBinary(): Uint8Array;
|
249
|
+
toObject(includeInstance?: boolean): EthereumTxRequest.AsObject;
|
250
|
+
static toObject(includeInstance: boolean, msg: EthereumTxRequest): EthereumTxRequest.AsObject;
|
251
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
252
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
253
|
+
static serializeBinaryToWriter(message: EthereumTxRequest, writer: jspb.BinaryWriter): void;
|
254
|
+
static deserializeBinary(bytes: Uint8Array): EthereumTxRequest;
|
255
|
+
static deserializeBinaryFromReader(message: EthereumTxRequest, reader: jspb.BinaryReader): EthereumTxRequest;
|
256
|
+
}
|
257
|
+
|
258
|
+
export namespace EthereumTxRequest {
|
259
|
+
export type AsObject = {
|
260
|
+
dataLength?: number,
|
261
|
+
signatureV?: number,
|
262
|
+
signatureR: Uint8Array | string,
|
263
|
+
signatureS: Uint8Array | string,
|
264
|
+
hash: Uint8Array | string,
|
265
|
+
signatureDer: Uint8Array | string,
|
266
|
+
}
|
267
|
+
}
|
268
|
+
|
269
|
+
export class EthereumTxAck extends jspb.Message {
|
270
|
+
hasDataChunk(): boolean;
|
271
|
+
clearDataChunk(): void;
|
272
|
+
getDataChunk(): Uint8Array | string;
|
273
|
+
getDataChunk_asU8(): Uint8Array;
|
274
|
+
getDataChunk_asB64(): string;
|
275
|
+
setDataChunk(value: Uint8Array | string): void;
|
276
|
+
|
277
|
+
serializeBinary(): Uint8Array;
|
278
|
+
toObject(includeInstance?: boolean): EthereumTxAck.AsObject;
|
279
|
+
static toObject(includeInstance: boolean, msg: EthereumTxAck): EthereumTxAck.AsObject;
|
280
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
281
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
282
|
+
static serializeBinaryToWriter(message: EthereumTxAck, writer: jspb.BinaryWriter): void;
|
283
|
+
static deserializeBinary(bytes: Uint8Array): EthereumTxAck;
|
284
|
+
static deserializeBinaryFromReader(message: EthereumTxAck, reader: jspb.BinaryReader): EthereumTxAck;
|
285
|
+
}
|
286
|
+
|
287
|
+
export namespace EthereumTxAck {
|
288
|
+
export type AsObject = {
|
289
|
+
dataChunk: Uint8Array | string,
|
290
|
+
}
|
291
|
+
}
|
292
|
+
|
293
|
+
export class EthereumSignMessage extends jspb.Message {
|
294
|
+
clearAddressNList(): void;
|
295
|
+
getAddressNList(): Array<number>;
|
296
|
+
setAddressNList(value: Array<number>): void;
|
297
|
+
addAddressN(value: number, index?: number): number;
|
298
|
+
|
299
|
+
hasMessage(): boolean;
|
300
|
+
clearMessage(): void;
|
301
|
+
getMessage(): Uint8Array | string;
|
302
|
+
getMessage_asU8(): Uint8Array;
|
303
|
+
getMessage_asB64(): string;
|
304
|
+
setMessage(value: Uint8Array | string): void;
|
305
|
+
|
306
|
+
serializeBinary(): Uint8Array;
|
307
|
+
toObject(includeInstance?: boolean): EthereumSignMessage.AsObject;
|
308
|
+
static toObject(includeInstance: boolean, msg: EthereumSignMessage): EthereumSignMessage.AsObject;
|
309
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
310
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
311
|
+
static serializeBinaryToWriter(message: EthereumSignMessage, writer: jspb.BinaryWriter): void;
|
312
|
+
static deserializeBinary(bytes: Uint8Array): EthereumSignMessage;
|
313
|
+
static deserializeBinaryFromReader(message: EthereumSignMessage, reader: jspb.BinaryReader): EthereumSignMessage;
|
314
|
+
}
|
315
|
+
|
316
|
+
export namespace EthereumSignMessage {
|
317
|
+
export type AsObject = {
|
318
|
+
addressNList: Array<number>,
|
319
|
+
message: Uint8Array | string,
|
320
|
+
}
|
321
|
+
}
|
322
|
+
|
323
|
+
export class EthereumVerifyMessage extends jspb.Message {
|
324
|
+
hasAddress(): boolean;
|
325
|
+
clearAddress(): void;
|
326
|
+
getAddress(): Uint8Array | string;
|
327
|
+
getAddress_asU8(): Uint8Array;
|
328
|
+
getAddress_asB64(): string;
|
329
|
+
setAddress(value: Uint8Array | string): void;
|
330
|
+
|
331
|
+
hasSignature(): boolean;
|
332
|
+
clearSignature(): void;
|
333
|
+
getSignature(): Uint8Array | string;
|
334
|
+
getSignature_asU8(): Uint8Array;
|
335
|
+
getSignature_asB64(): string;
|
336
|
+
setSignature(value: Uint8Array | string): void;
|
337
|
+
|
338
|
+
hasMessage(): boolean;
|
339
|
+
clearMessage(): void;
|
340
|
+
getMessage(): Uint8Array | string;
|
341
|
+
getMessage_asU8(): Uint8Array;
|
342
|
+
getMessage_asB64(): string;
|
343
|
+
setMessage(value: Uint8Array | string): void;
|
344
|
+
|
345
|
+
serializeBinary(): Uint8Array;
|
346
|
+
toObject(includeInstance?: boolean): EthereumVerifyMessage.AsObject;
|
347
|
+
static toObject(includeInstance: boolean, msg: EthereumVerifyMessage): EthereumVerifyMessage.AsObject;
|
348
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
349
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
350
|
+
static serializeBinaryToWriter(message: EthereumVerifyMessage, writer: jspb.BinaryWriter): void;
|
351
|
+
static deserializeBinary(bytes: Uint8Array): EthereumVerifyMessage;
|
352
|
+
static deserializeBinaryFromReader(message: EthereumVerifyMessage, reader: jspb.BinaryReader): EthereumVerifyMessage;
|
353
|
+
}
|
354
|
+
|
355
|
+
export namespace EthereumVerifyMessage {
|
356
|
+
export type AsObject = {
|
357
|
+
address: Uint8Array | string,
|
358
|
+
signature: Uint8Array | string,
|
359
|
+
message: Uint8Array | string,
|
360
|
+
}
|
361
|
+
}
|
362
|
+
|
363
|
+
export class EthereumMessageSignature extends jspb.Message {
|
364
|
+
hasAddress(): boolean;
|
365
|
+
clearAddress(): void;
|
366
|
+
getAddress(): Uint8Array | string;
|
367
|
+
getAddress_asU8(): Uint8Array;
|
368
|
+
getAddress_asB64(): string;
|
369
|
+
setAddress(value: Uint8Array | string): void;
|
370
|
+
|
371
|
+
hasSignature(): boolean;
|
372
|
+
clearSignature(): void;
|
373
|
+
getSignature(): Uint8Array | string;
|
374
|
+
getSignature_asU8(): Uint8Array;
|
375
|
+
getSignature_asB64(): string;
|
376
|
+
setSignature(value: Uint8Array | string): void;
|
377
|
+
|
378
|
+
serializeBinary(): Uint8Array;
|
379
|
+
toObject(includeInstance?: boolean): EthereumMessageSignature.AsObject;
|
380
|
+
static toObject(includeInstance: boolean, msg: EthereumMessageSignature): EthereumMessageSignature.AsObject;
|
381
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
382
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
383
|
+
static serializeBinaryToWriter(message: EthereumMessageSignature, writer: jspb.BinaryWriter): void;
|
384
|
+
static deserializeBinary(bytes: Uint8Array): EthereumMessageSignature;
|
385
|
+
static deserializeBinaryFromReader(message: EthereumMessageSignature, reader: jspb.BinaryReader): EthereumMessageSignature;
|
386
|
+
}
|
387
|
+
|
388
|
+
export namespace EthereumMessageSignature {
|
389
|
+
export type AsObject = {
|
390
|
+
address: Uint8Array | string,
|
391
|
+
signature: Uint8Array | string,
|
392
|
+
}
|
393
|
+
}
|
394
|
+
|
395
|
+
export class EthereumSignTypedHash extends jspb.Message {
|
396
|
+
clearAddressNList(): void;
|
397
|
+
getAddressNList(): Array<number>;
|
398
|
+
setAddressNList(value: Array<number>): void;
|
399
|
+
addAddressN(value: number, index?: number): number;
|
400
|
+
|
401
|
+
hasDomainSeparatorHash(): boolean;
|
402
|
+
clearDomainSeparatorHash(): void;
|
403
|
+
getDomainSeparatorHash(): Uint8Array | string;
|
404
|
+
getDomainSeparatorHash_asU8(): Uint8Array;
|
405
|
+
getDomainSeparatorHash_asB64(): string;
|
406
|
+
setDomainSeparatorHash(value: Uint8Array | string): void;
|
407
|
+
|
408
|
+
hasMessageHash(): boolean;
|
409
|
+
clearMessageHash(): void;
|
410
|
+
getMessageHash(): Uint8Array | string;
|
411
|
+
getMessageHash_asU8(): Uint8Array;
|
412
|
+
getMessageHash_asB64(): string;
|
413
|
+
setMessageHash(value: Uint8Array | string): void;
|
414
|
+
|
415
|
+
serializeBinary(): Uint8Array;
|
416
|
+
toObject(includeInstance?: boolean): EthereumSignTypedHash.AsObject;
|
417
|
+
static toObject(includeInstance: boolean, msg: EthereumSignTypedHash): EthereumSignTypedHash.AsObject;
|
418
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
419
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
420
|
+
static serializeBinaryToWriter(message: EthereumSignTypedHash, writer: jspb.BinaryWriter): void;
|
421
|
+
static deserializeBinary(bytes: Uint8Array): EthereumSignTypedHash;
|
422
|
+
static deserializeBinaryFromReader(message: EthereumSignTypedHash, reader: jspb.BinaryReader): EthereumSignTypedHash;
|
423
|
+
}
|
424
|
+
|
425
|
+
export namespace EthereumSignTypedHash {
|
426
|
+
export type AsObject = {
|
427
|
+
addressNList: Array<number>,
|
428
|
+
domainSeparatorHash: Uint8Array | string,
|
429
|
+
messageHash: Uint8Array | string,
|
430
|
+
}
|
431
|
+
}
|
432
|
+
|
433
|
+
export class EthereumTypedDataSignature extends jspb.Message {
|
434
|
+
hasSignature(): boolean;
|
435
|
+
clearSignature(): void;
|
436
|
+
getSignature(): Uint8Array | string;
|
437
|
+
getSignature_asU8(): Uint8Array;
|
438
|
+
getSignature_asB64(): string;
|
439
|
+
setSignature(value: Uint8Array | string): void;
|
440
|
+
|
441
|
+
hasAddress(): boolean;
|
442
|
+
clearAddress(): void;
|
443
|
+
getAddress(): string | undefined;
|
444
|
+
setAddress(value: string): void;
|
445
|
+
|
446
|
+
hasDomainSeparatorHash(): boolean;
|
447
|
+
clearDomainSeparatorHash(): void;
|
448
|
+
getDomainSeparatorHash(): Uint8Array | string;
|
449
|
+
getDomainSeparatorHash_asU8(): Uint8Array;
|
450
|
+
getDomainSeparatorHash_asB64(): string;
|
451
|
+
setDomainSeparatorHash(value: Uint8Array | string): void;
|
452
|
+
|
453
|
+
hasHasMsgHash(): boolean;
|
454
|
+
clearHasMsgHash(): void;
|
455
|
+
getHasMsgHash(): boolean | undefined;
|
456
|
+
setHasMsgHash(value: boolean): void;
|
457
|
+
|
458
|
+
hasMessageHash(): boolean;
|
459
|
+
clearMessageHash(): void;
|
460
|
+
getMessageHash(): Uint8Array | string;
|
461
|
+
getMessageHash_asU8(): Uint8Array;
|
462
|
+
getMessageHash_asB64(): string;
|
463
|
+
setMessageHash(value: Uint8Array | string): void;
|
464
|
+
|
465
|
+
serializeBinary(): Uint8Array;
|
466
|
+
toObject(includeInstance?: boolean): EthereumTypedDataSignature.AsObject;
|
467
|
+
static toObject(includeInstance: boolean, msg: EthereumTypedDataSignature): EthereumTypedDataSignature.AsObject;
|
468
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
469
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
470
|
+
static serializeBinaryToWriter(message: EthereumTypedDataSignature, writer: jspb.BinaryWriter): void;
|
471
|
+
static deserializeBinary(bytes: Uint8Array): EthereumTypedDataSignature;
|
472
|
+
static deserializeBinaryFromReader(message: EthereumTypedDataSignature, reader: jspb.BinaryReader): EthereumTypedDataSignature;
|
473
|
+
}
|
474
|
+
|
475
|
+
export namespace EthereumTypedDataSignature {
|
476
|
+
export type AsObject = {
|
477
|
+
signature: Uint8Array | string,
|
478
|
+
address?: string,
|
479
|
+
domainSeparatorHash: Uint8Array | string,
|
480
|
+
hasMsgHash?: boolean,
|
481
|
+
messageHash: Uint8Array | string,
|
482
|
+
}
|
483
|
+
}
|
484
|
+
|
485
|
+
export class Ethereum712TypesValues extends jspb.Message {
|
486
|
+
clearAddressNList(): void;
|
487
|
+
getAddressNList(): Array<number>;
|
488
|
+
setAddressNList(value: Array<number>): void;
|
489
|
+
addAddressN(value: number, index?: number): number;
|
490
|
+
|
491
|
+
hasEip712types(): boolean;
|
492
|
+
clearEip712types(): void;
|
493
|
+
getEip712types(): string | undefined;
|
494
|
+
setEip712types(value: string): void;
|
495
|
+
|
496
|
+
hasEip712primetype(): boolean;
|
497
|
+
clearEip712primetype(): void;
|
498
|
+
getEip712primetype(): string | undefined;
|
499
|
+
setEip712primetype(value: string): void;
|
500
|
+
|
501
|
+
hasEip712data(): boolean;
|
502
|
+
clearEip712data(): void;
|
503
|
+
getEip712data(): string | undefined;
|
504
|
+
setEip712data(value: string): void;
|
505
|
+
|
506
|
+
hasEip712typevals(): boolean;
|
507
|
+
clearEip712typevals(): void;
|
508
|
+
getEip712typevals(): number | undefined;
|
509
|
+
setEip712typevals(value: number): void;
|
510
|
+
|
511
|
+
serializeBinary(): Uint8Array;
|
512
|
+
toObject(includeInstance?: boolean): Ethereum712TypesValues.AsObject;
|
513
|
+
static toObject(includeInstance: boolean, msg: Ethereum712TypesValues): Ethereum712TypesValues.AsObject;
|
514
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
515
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
516
|
+
static serializeBinaryToWriter(message: Ethereum712TypesValues, writer: jspb.BinaryWriter): void;
|
517
|
+
static deserializeBinary(bytes: Uint8Array): Ethereum712TypesValues;
|
518
|
+
static deserializeBinaryFromReader(message: Ethereum712TypesValues, reader: jspb.BinaryReader): Ethereum712TypesValues;
|
519
|
+
}
|
520
|
+
|
521
|
+
export namespace Ethereum712TypesValues {
|
522
|
+
export type AsObject = {
|
523
|
+
addressNList: Array<number>,
|
524
|
+
eip712types?: string,
|
525
|
+
eip712primetype?: string,
|
526
|
+
eip712data?: string,
|
527
|
+
eip712typevals?: number,
|
528
|
+
}
|
529
|
+
}
|
530
|
+
|
@@ -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);
|