@bithighlander/device-protocol 6.3.2 → 7.14.0
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 +3238 -0
- package/lib/messages-binance_pb.js-e +3238 -0
- package/lib/messages-cosmos_pb.d.ts +466 -0
- package/lib/messages-cosmos_pb.js +3689 -0
- package/lib/messages-cosmos_pb.js-e +3689 -0
- package/lib/messages-eos_pb.js +1962 -1097
- package/lib/messages-eos_pb.js-e +8427 -0
- package/lib/messages-ethereum_pb.d.ts +530 -0
- package/lib/messages-ethereum_pb.js +4421 -0
- package/lib/messages-ethereum_pb.js-e +4421 -0
- package/lib/messages-mayachain_pb.d.ts +294 -0
- package/lib/messages-mayachain_pb.js +2325 -0
- package/lib/messages-mayachain_pb.js-e +2325 -0
- package/lib/messages-nano_pb.d.ts +0 -7
- package/lib/messages-nano_pb.js +366 -238
- package/lib/messages-nano_pb.js-e +1692 -0
- package/lib/messages-osmosis_pb.d.ts +762 -0
- package/lib/messages-osmosis_pb.js +6042 -0
- package/lib/messages-osmosis_pb.js-e +6042 -0
- package/lib/messages-ripple_pb.d.ts +173 -0
- package/lib/messages-ripple_pb.js +1377 -0
- package/lib/messages-ripple_pb.js-e +1377 -0
- package/lib/messages-solana_pb.d.ts +195 -0
- package/lib/messages-solana_pb.js +1578 -0
- package/lib/messages-solana_pb.js-e +1578 -0
- package/lib/messages-tendermint_pb.d.ts +526 -0
- package/lib/messages-tendermint_pb.js +4169 -0
- package/lib/messages-tendermint_pb.js-e +4169 -0
- package/lib/messages-thorchain_pb.d.ts +288 -0
- package/lib/messages-thorchain_pb.js +2277 -0
- package/lib/messages-thorchain_pb.js-e +2277 -0
- package/lib/messages-ton_pb.d.ts +175 -0
- package/lib/messages-ton_pb.js +1396 -0
- package/lib/messages-ton_pb.js-e +1396 -0
- package/lib/messages-tron_pb.d.ts +161 -0
- package/lib/messages-tron_pb.js +1300 -0
- package/lib/messages-tron_pb.js-e +1300 -0
- package/lib/messages-zcash_pb.d.ts +367 -0
- package/lib/messages-zcash_pb.js +3088 -0
- package/lib/messages-zcash_pb.js-e +3088 -0
- package/lib/messages_pb.d.ts +182 -752
- package/lib/messages_pb.js +7798 -11081
- package/lib/messages_pb.js-e +18219 -0
- package/lib/proto.json +2761 -778
- package/lib/types_pb.d.ts +11 -61
- package/lib/types_pb.js +1394 -1104
- package/lib/types_pb.js-e +6185 -0
- package/package.json +7 -5
- package/lib/.keep +0 -0
- package/lib/exchange_pb.d.ts +0 -249
- package/lib/exchange_pb.js +0 -1825
- package/yarn.lock +0 -122
|
@@ -0,0 +1,1396 @@
|
|
|
1
|
+
// source: messages-ton.proto
|
|
2
|
+
/**
|
|
3
|
+
* @fileoverview
|
|
4
|
+
* @enhanceable
|
|
5
|
+
* @suppress {missingRequire} reports error on implicit type usages.
|
|
6
|
+
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
7
|
+
* field starts with 'MSG_' and isn't a translatable message.
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
11
|
+
/* eslint-disable */
|
|
12
|
+
// @ts-nocheck
|
|
13
|
+
|
|
14
|
+
var jspb = require('google-protobuf');
|
|
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));
|
|
23
|
+
|
|
24
|
+
goog.exportSymbol('proto.TonAddress', null, global);
|
|
25
|
+
goog.exportSymbol('proto.TonGetAddress', null, global);
|
|
26
|
+
goog.exportSymbol('proto.TonSignTx', null, global);
|
|
27
|
+
goog.exportSymbol('proto.TonSignedTx', null, global);
|
|
28
|
+
/**
|
|
29
|
+
* Generated by JsPbCodeGenerator.
|
|
30
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
31
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
32
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
33
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
34
|
+
* valid.
|
|
35
|
+
* @extends {jspb.Message}
|
|
36
|
+
* @constructor
|
|
37
|
+
*/
|
|
38
|
+
proto.TonGetAddress = function(opt_data) {
|
|
39
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.TonGetAddress.repeatedFields_, null);
|
|
40
|
+
};
|
|
41
|
+
goog.inherits(proto.TonGetAddress, jspb.Message);
|
|
42
|
+
if (goog.DEBUG && !COMPILED) {
|
|
43
|
+
/**
|
|
44
|
+
* @public
|
|
45
|
+
* @override
|
|
46
|
+
*/
|
|
47
|
+
proto.TonGetAddress.displayName = 'proto.TonGetAddress';
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Generated by JsPbCodeGenerator.
|
|
51
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
52
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
53
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
54
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
55
|
+
* valid.
|
|
56
|
+
* @extends {jspb.Message}
|
|
57
|
+
* @constructor
|
|
58
|
+
*/
|
|
59
|
+
proto.TonAddress = function(opt_data) {
|
|
60
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
61
|
+
};
|
|
62
|
+
goog.inherits(proto.TonAddress, jspb.Message);
|
|
63
|
+
if (goog.DEBUG && !COMPILED) {
|
|
64
|
+
/**
|
|
65
|
+
* @public
|
|
66
|
+
* @override
|
|
67
|
+
*/
|
|
68
|
+
proto.TonAddress.displayName = 'proto.TonAddress';
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Generated by JsPbCodeGenerator.
|
|
72
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
73
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
74
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
75
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
76
|
+
* valid.
|
|
77
|
+
* @extends {jspb.Message}
|
|
78
|
+
* @constructor
|
|
79
|
+
*/
|
|
80
|
+
proto.TonSignTx = function(opt_data) {
|
|
81
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.TonSignTx.repeatedFields_, null);
|
|
82
|
+
};
|
|
83
|
+
goog.inherits(proto.TonSignTx, jspb.Message);
|
|
84
|
+
if (goog.DEBUG && !COMPILED) {
|
|
85
|
+
/**
|
|
86
|
+
* @public
|
|
87
|
+
* @override
|
|
88
|
+
*/
|
|
89
|
+
proto.TonSignTx.displayName = 'proto.TonSignTx';
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Generated by JsPbCodeGenerator.
|
|
93
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
94
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
95
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
96
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
97
|
+
* valid.
|
|
98
|
+
* @extends {jspb.Message}
|
|
99
|
+
* @constructor
|
|
100
|
+
*/
|
|
101
|
+
proto.TonSignedTx = function(opt_data) {
|
|
102
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
103
|
+
};
|
|
104
|
+
goog.inherits(proto.TonSignedTx, jspb.Message);
|
|
105
|
+
if (goog.DEBUG && !COMPILED) {
|
|
106
|
+
/**
|
|
107
|
+
* @public
|
|
108
|
+
* @override
|
|
109
|
+
*/
|
|
110
|
+
proto.TonSignedTx.displayName = 'proto.TonSignedTx';
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* List of repeated fields within this message type.
|
|
115
|
+
* @private {!Array<number>}
|
|
116
|
+
* @const
|
|
117
|
+
*/
|
|
118
|
+
proto.TonGetAddress.repeatedFields_ = [1];
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
123
|
+
/**
|
|
124
|
+
* Creates an object representation of this proto.
|
|
125
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
126
|
+
* Optional fields that are not set will be set to undefined.
|
|
127
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
128
|
+
* For the list of reserved names please see:
|
|
129
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
130
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
131
|
+
* JSPB instance for transitional soy proto support:
|
|
132
|
+
* http://goto/soy-param-migration
|
|
133
|
+
* @return {!Object}
|
|
134
|
+
*/
|
|
135
|
+
proto.TonGetAddress.prototype.toObject = function(opt_includeInstance) {
|
|
136
|
+
return proto.TonGetAddress.toObject(opt_includeInstance, this);
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* Static version of the {@see toObject} method.
|
|
142
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
143
|
+
* the JSPB instance for transitional soy proto support:
|
|
144
|
+
* http://goto/soy-param-migration
|
|
145
|
+
* @param {!proto.TonGetAddress} msg The msg instance to transform.
|
|
146
|
+
* @return {!Object}
|
|
147
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
148
|
+
*/
|
|
149
|
+
proto.TonGetAddress.toObject = function(includeInstance, msg) {
|
|
150
|
+
var f, obj = {
|
|
151
|
+
addressNList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
152
|
+
coinName: jspb.Message.getFieldWithDefault(msg, 2, "Ton"),
|
|
153
|
+
showDisplay: (f = jspb.Message.getBooleanField(msg, 3)) == null ? undefined : f,
|
|
154
|
+
bounceable: jspb.Message.getBooleanFieldWithDefault(msg, 4, true),
|
|
155
|
+
testnet: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
|
156
|
+
workchain: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
157
|
+
};
|
|
158
|
+
|
|
159
|
+
if (includeInstance) {
|
|
160
|
+
obj.$jspbMessageInstance = msg;
|
|
161
|
+
}
|
|
162
|
+
return obj;
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Deserializes binary data (in protobuf wire format).
|
|
169
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
170
|
+
* @return {!proto.TonGetAddress}
|
|
171
|
+
*/
|
|
172
|
+
proto.TonGetAddress.deserializeBinary = function(bytes) {
|
|
173
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
174
|
+
var msg = new proto.TonGetAddress;
|
|
175
|
+
return proto.TonGetAddress.deserializeBinaryFromReader(msg, reader);
|
|
176
|
+
};
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
181
|
+
* given reader into the given message object.
|
|
182
|
+
* @param {!proto.TonGetAddress} msg The message object to deserialize into.
|
|
183
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
184
|
+
* @return {!proto.TonGetAddress}
|
|
185
|
+
*/
|
|
186
|
+
proto.TonGetAddress.deserializeBinaryFromReader = function(msg, reader) {
|
|
187
|
+
while (reader.nextField()) {
|
|
188
|
+
if (reader.isEndGroup()) {
|
|
189
|
+
break;
|
|
190
|
+
}
|
|
191
|
+
var field = reader.getFieldNumber();
|
|
192
|
+
switch (field) {
|
|
193
|
+
case 1:
|
|
194
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedUint32() : [reader.readUint32()]);
|
|
195
|
+
for (var i = 0; i < values.length; i++) {
|
|
196
|
+
msg.addAddressN(values[i]);
|
|
197
|
+
}
|
|
198
|
+
break;
|
|
199
|
+
case 2:
|
|
200
|
+
var value = /** @type {string} */ (reader.readString());
|
|
201
|
+
msg.setCoinName(value);
|
|
202
|
+
break;
|
|
203
|
+
case 3:
|
|
204
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
205
|
+
msg.setShowDisplay(value);
|
|
206
|
+
break;
|
|
207
|
+
case 4:
|
|
208
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
209
|
+
msg.setBounceable(value);
|
|
210
|
+
break;
|
|
211
|
+
case 5:
|
|
212
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
213
|
+
msg.setTestnet(value);
|
|
214
|
+
break;
|
|
215
|
+
case 6:
|
|
216
|
+
var value = /** @type {number} */ (reader.readSint32());
|
|
217
|
+
msg.setWorkchain(value);
|
|
218
|
+
break;
|
|
219
|
+
default:
|
|
220
|
+
reader.skipField();
|
|
221
|
+
break;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
return msg;
|
|
225
|
+
};
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
230
|
+
* @return {!Uint8Array}
|
|
231
|
+
*/
|
|
232
|
+
proto.TonGetAddress.prototype.serializeBinary = function() {
|
|
233
|
+
var writer = new jspb.BinaryWriter();
|
|
234
|
+
proto.TonGetAddress.serializeBinaryToWriter(this, writer);
|
|
235
|
+
return writer.getResultBuffer();
|
|
236
|
+
};
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
241
|
+
* format), writing to the given BinaryWriter.
|
|
242
|
+
* @param {!proto.TonGetAddress} message
|
|
243
|
+
* @param {!jspb.BinaryWriter} writer
|
|
244
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
245
|
+
*/
|
|
246
|
+
proto.TonGetAddress.serializeBinaryToWriter = function(message, writer) {
|
|
247
|
+
var f = undefined;
|
|
248
|
+
f = message.getAddressNList();
|
|
249
|
+
if (f.length > 0) {
|
|
250
|
+
writer.writeRepeatedUint32(
|
|
251
|
+
1,
|
|
252
|
+
f
|
|
253
|
+
);
|
|
254
|
+
}
|
|
255
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
256
|
+
if (f != null) {
|
|
257
|
+
writer.writeString(
|
|
258
|
+
2,
|
|
259
|
+
f
|
|
260
|
+
);
|
|
261
|
+
}
|
|
262
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 3));
|
|
263
|
+
if (f != null) {
|
|
264
|
+
writer.writeBool(
|
|
265
|
+
3,
|
|
266
|
+
f
|
|
267
|
+
);
|
|
268
|
+
}
|
|
269
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 4));
|
|
270
|
+
if (f != null) {
|
|
271
|
+
writer.writeBool(
|
|
272
|
+
4,
|
|
273
|
+
f
|
|
274
|
+
);
|
|
275
|
+
}
|
|
276
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 5));
|
|
277
|
+
if (f != null) {
|
|
278
|
+
writer.writeBool(
|
|
279
|
+
5,
|
|
280
|
+
f
|
|
281
|
+
);
|
|
282
|
+
}
|
|
283
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
|
284
|
+
if (f != null) {
|
|
285
|
+
writer.writeSint32(
|
|
286
|
+
6,
|
|
287
|
+
f
|
|
288
|
+
);
|
|
289
|
+
}
|
|
290
|
+
};
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* repeated uint32 address_n = 1;
|
|
295
|
+
* @return {!Array<number>}
|
|
296
|
+
*/
|
|
297
|
+
proto.TonGetAddress.prototype.getAddressNList = function() {
|
|
298
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
299
|
+
};
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* @param {!Array<number>} value
|
|
304
|
+
* @return {!proto.TonGetAddress} returns this
|
|
305
|
+
*/
|
|
306
|
+
proto.TonGetAddress.prototype.setAddressNList = function(value) {
|
|
307
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
308
|
+
};
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* @param {number} value
|
|
313
|
+
* @param {number=} opt_index
|
|
314
|
+
* @return {!proto.TonGetAddress} returns this
|
|
315
|
+
*/
|
|
316
|
+
proto.TonGetAddress.prototype.addAddressN = function(value, opt_index) {
|
|
317
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
318
|
+
};
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
/**
|
|
322
|
+
* Clears the list making it empty but non-null.
|
|
323
|
+
* @return {!proto.TonGetAddress} returns this
|
|
324
|
+
*/
|
|
325
|
+
proto.TonGetAddress.prototype.clearAddressNList = function() {
|
|
326
|
+
return this.setAddressNList([]);
|
|
327
|
+
};
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* optional string coin_name = 2;
|
|
332
|
+
* @return {string}
|
|
333
|
+
*/
|
|
334
|
+
proto.TonGetAddress.prototype.getCoinName = function() {
|
|
335
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "Ton"));
|
|
336
|
+
};
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* @param {string} value
|
|
341
|
+
* @return {!proto.TonGetAddress} returns this
|
|
342
|
+
*/
|
|
343
|
+
proto.TonGetAddress.prototype.setCoinName = function(value) {
|
|
344
|
+
return jspb.Message.setField(this, 2, value);
|
|
345
|
+
};
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* Clears the field making it undefined.
|
|
350
|
+
* @return {!proto.TonGetAddress} returns this
|
|
351
|
+
*/
|
|
352
|
+
proto.TonGetAddress.prototype.clearCoinName = function() {
|
|
353
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
354
|
+
};
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
/**
|
|
358
|
+
* Returns whether this field is set.
|
|
359
|
+
* @return {boolean}
|
|
360
|
+
*/
|
|
361
|
+
proto.TonGetAddress.prototype.hasCoinName = function() {
|
|
362
|
+
return jspb.Message.getField(this, 2) != null;
|
|
363
|
+
};
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* optional bool show_display = 3;
|
|
368
|
+
* @return {boolean}
|
|
369
|
+
*/
|
|
370
|
+
proto.TonGetAddress.prototype.getShowDisplay = function() {
|
|
371
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
372
|
+
};
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* @param {boolean} value
|
|
377
|
+
* @return {!proto.TonGetAddress} returns this
|
|
378
|
+
*/
|
|
379
|
+
proto.TonGetAddress.prototype.setShowDisplay = function(value) {
|
|
380
|
+
return jspb.Message.setField(this, 3, value);
|
|
381
|
+
};
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* Clears the field making it undefined.
|
|
386
|
+
* @return {!proto.TonGetAddress} returns this
|
|
387
|
+
*/
|
|
388
|
+
proto.TonGetAddress.prototype.clearShowDisplay = function() {
|
|
389
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
390
|
+
};
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
/**
|
|
394
|
+
* Returns whether this field is set.
|
|
395
|
+
* @return {boolean}
|
|
396
|
+
*/
|
|
397
|
+
proto.TonGetAddress.prototype.hasShowDisplay = function() {
|
|
398
|
+
return jspb.Message.getField(this, 3) != null;
|
|
399
|
+
};
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
/**
|
|
403
|
+
* optional bool bounceable = 4;
|
|
404
|
+
* @return {boolean}
|
|
405
|
+
*/
|
|
406
|
+
proto.TonGetAddress.prototype.getBounceable = function() {
|
|
407
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, true));
|
|
408
|
+
};
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* @param {boolean} value
|
|
413
|
+
* @return {!proto.TonGetAddress} returns this
|
|
414
|
+
*/
|
|
415
|
+
proto.TonGetAddress.prototype.setBounceable = function(value) {
|
|
416
|
+
return jspb.Message.setField(this, 4, value);
|
|
417
|
+
};
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* Clears the field making it undefined.
|
|
422
|
+
* @return {!proto.TonGetAddress} returns this
|
|
423
|
+
*/
|
|
424
|
+
proto.TonGetAddress.prototype.clearBounceable = function() {
|
|
425
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
426
|
+
};
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* Returns whether this field is set.
|
|
431
|
+
* @return {boolean}
|
|
432
|
+
*/
|
|
433
|
+
proto.TonGetAddress.prototype.hasBounceable = function() {
|
|
434
|
+
return jspb.Message.getField(this, 4) != null;
|
|
435
|
+
};
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* optional bool testnet = 5;
|
|
440
|
+
* @return {boolean}
|
|
441
|
+
*/
|
|
442
|
+
proto.TonGetAddress.prototype.getTestnet = function() {
|
|
443
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
|
444
|
+
};
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
/**
|
|
448
|
+
* @param {boolean} value
|
|
449
|
+
* @return {!proto.TonGetAddress} returns this
|
|
450
|
+
*/
|
|
451
|
+
proto.TonGetAddress.prototype.setTestnet = function(value) {
|
|
452
|
+
return jspb.Message.setField(this, 5, value);
|
|
453
|
+
};
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
/**
|
|
457
|
+
* Clears the field making it undefined.
|
|
458
|
+
* @return {!proto.TonGetAddress} returns this
|
|
459
|
+
*/
|
|
460
|
+
proto.TonGetAddress.prototype.clearTestnet = function() {
|
|
461
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
462
|
+
};
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
/**
|
|
466
|
+
* Returns whether this field is set.
|
|
467
|
+
* @return {boolean}
|
|
468
|
+
*/
|
|
469
|
+
proto.TonGetAddress.prototype.hasTestnet = function() {
|
|
470
|
+
return jspb.Message.getField(this, 5) != null;
|
|
471
|
+
};
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* optional sint32 workchain = 6;
|
|
476
|
+
* @return {number}
|
|
477
|
+
*/
|
|
478
|
+
proto.TonGetAddress.prototype.getWorkchain = function() {
|
|
479
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
480
|
+
};
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* @param {number} value
|
|
485
|
+
* @return {!proto.TonGetAddress} returns this
|
|
486
|
+
*/
|
|
487
|
+
proto.TonGetAddress.prototype.setWorkchain = function(value) {
|
|
488
|
+
return jspb.Message.setField(this, 6, value);
|
|
489
|
+
};
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
/**
|
|
493
|
+
* Clears the field making it undefined.
|
|
494
|
+
* @return {!proto.TonGetAddress} returns this
|
|
495
|
+
*/
|
|
496
|
+
proto.TonGetAddress.prototype.clearWorkchain = function() {
|
|
497
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
498
|
+
};
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
/**
|
|
502
|
+
* Returns whether this field is set.
|
|
503
|
+
* @return {boolean}
|
|
504
|
+
*/
|
|
505
|
+
proto.TonGetAddress.prototype.hasWorkchain = function() {
|
|
506
|
+
return jspb.Message.getField(this, 6) != null;
|
|
507
|
+
};
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
514
|
+
/**
|
|
515
|
+
* Creates an object representation of this proto.
|
|
516
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
517
|
+
* Optional fields that are not set will be set to undefined.
|
|
518
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
519
|
+
* For the list of reserved names please see:
|
|
520
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
521
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
522
|
+
* JSPB instance for transitional soy proto support:
|
|
523
|
+
* http://goto/soy-param-migration
|
|
524
|
+
* @return {!Object}
|
|
525
|
+
*/
|
|
526
|
+
proto.TonAddress.prototype.toObject = function(opt_includeInstance) {
|
|
527
|
+
return proto.TonAddress.toObject(opt_includeInstance, this);
|
|
528
|
+
};
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
/**
|
|
532
|
+
* Static version of the {@see toObject} method.
|
|
533
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
534
|
+
* the JSPB instance for transitional soy proto support:
|
|
535
|
+
* http://goto/soy-param-migration
|
|
536
|
+
* @param {!proto.TonAddress} msg The msg instance to transform.
|
|
537
|
+
* @return {!Object}
|
|
538
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
539
|
+
*/
|
|
540
|
+
proto.TonAddress.toObject = function(includeInstance, msg) {
|
|
541
|
+
var f, obj = {
|
|
542
|
+
address: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
|
|
543
|
+
rawAddress: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f
|
|
544
|
+
};
|
|
545
|
+
|
|
546
|
+
if (includeInstance) {
|
|
547
|
+
obj.$jspbMessageInstance = msg;
|
|
548
|
+
}
|
|
549
|
+
return obj;
|
|
550
|
+
};
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
/**
|
|
555
|
+
* Deserializes binary data (in protobuf wire format).
|
|
556
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
557
|
+
* @return {!proto.TonAddress}
|
|
558
|
+
*/
|
|
559
|
+
proto.TonAddress.deserializeBinary = function(bytes) {
|
|
560
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
561
|
+
var msg = new proto.TonAddress;
|
|
562
|
+
return proto.TonAddress.deserializeBinaryFromReader(msg, reader);
|
|
563
|
+
};
|
|
564
|
+
|
|
565
|
+
|
|
566
|
+
/**
|
|
567
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
568
|
+
* given reader into the given message object.
|
|
569
|
+
* @param {!proto.TonAddress} msg The message object to deserialize into.
|
|
570
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
571
|
+
* @return {!proto.TonAddress}
|
|
572
|
+
*/
|
|
573
|
+
proto.TonAddress.deserializeBinaryFromReader = function(msg, reader) {
|
|
574
|
+
while (reader.nextField()) {
|
|
575
|
+
if (reader.isEndGroup()) {
|
|
576
|
+
break;
|
|
577
|
+
}
|
|
578
|
+
var field = reader.getFieldNumber();
|
|
579
|
+
switch (field) {
|
|
580
|
+
case 1:
|
|
581
|
+
var value = /** @type {string} */ (reader.readString());
|
|
582
|
+
msg.setAddress(value);
|
|
583
|
+
break;
|
|
584
|
+
case 2:
|
|
585
|
+
var value = /** @type {string} */ (reader.readString());
|
|
586
|
+
msg.setRawAddress(value);
|
|
587
|
+
break;
|
|
588
|
+
default:
|
|
589
|
+
reader.skipField();
|
|
590
|
+
break;
|
|
591
|
+
}
|
|
592
|
+
}
|
|
593
|
+
return msg;
|
|
594
|
+
};
|
|
595
|
+
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
599
|
+
* @return {!Uint8Array}
|
|
600
|
+
*/
|
|
601
|
+
proto.TonAddress.prototype.serializeBinary = function() {
|
|
602
|
+
var writer = new jspb.BinaryWriter();
|
|
603
|
+
proto.TonAddress.serializeBinaryToWriter(this, writer);
|
|
604
|
+
return writer.getResultBuffer();
|
|
605
|
+
};
|
|
606
|
+
|
|
607
|
+
|
|
608
|
+
/**
|
|
609
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
610
|
+
* format), writing to the given BinaryWriter.
|
|
611
|
+
* @param {!proto.TonAddress} message
|
|
612
|
+
* @param {!jspb.BinaryWriter} writer
|
|
613
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
614
|
+
*/
|
|
615
|
+
proto.TonAddress.serializeBinaryToWriter = function(message, writer) {
|
|
616
|
+
var f = undefined;
|
|
617
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
|
618
|
+
if (f != null) {
|
|
619
|
+
writer.writeString(
|
|
620
|
+
1,
|
|
621
|
+
f
|
|
622
|
+
);
|
|
623
|
+
}
|
|
624
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
625
|
+
if (f != null) {
|
|
626
|
+
writer.writeString(
|
|
627
|
+
2,
|
|
628
|
+
f
|
|
629
|
+
);
|
|
630
|
+
}
|
|
631
|
+
};
|
|
632
|
+
|
|
633
|
+
|
|
634
|
+
/**
|
|
635
|
+
* optional string address = 1;
|
|
636
|
+
* @return {string}
|
|
637
|
+
*/
|
|
638
|
+
proto.TonAddress.prototype.getAddress = function() {
|
|
639
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
640
|
+
};
|
|
641
|
+
|
|
642
|
+
|
|
643
|
+
/**
|
|
644
|
+
* @param {string} value
|
|
645
|
+
* @return {!proto.TonAddress} returns this
|
|
646
|
+
*/
|
|
647
|
+
proto.TonAddress.prototype.setAddress = function(value) {
|
|
648
|
+
return jspb.Message.setField(this, 1, value);
|
|
649
|
+
};
|
|
650
|
+
|
|
651
|
+
|
|
652
|
+
/**
|
|
653
|
+
* Clears the field making it undefined.
|
|
654
|
+
* @return {!proto.TonAddress} returns this
|
|
655
|
+
*/
|
|
656
|
+
proto.TonAddress.prototype.clearAddress = function() {
|
|
657
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
658
|
+
};
|
|
659
|
+
|
|
660
|
+
|
|
661
|
+
/**
|
|
662
|
+
* Returns whether this field is set.
|
|
663
|
+
* @return {boolean}
|
|
664
|
+
*/
|
|
665
|
+
proto.TonAddress.prototype.hasAddress = function() {
|
|
666
|
+
return jspb.Message.getField(this, 1) != null;
|
|
667
|
+
};
|
|
668
|
+
|
|
669
|
+
|
|
670
|
+
/**
|
|
671
|
+
* optional string raw_address = 2;
|
|
672
|
+
* @return {string}
|
|
673
|
+
*/
|
|
674
|
+
proto.TonAddress.prototype.getRawAddress = function() {
|
|
675
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
676
|
+
};
|
|
677
|
+
|
|
678
|
+
|
|
679
|
+
/**
|
|
680
|
+
* @param {string} value
|
|
681
|
+
* @return {!proto.TonAddress} returns this
|
|
682
|
+
*/
|
|
683
|
+
proto.TonAddress.prototype.setRawAddress = function(value) {
|
|
684
|
+
return jspb.Message.setField(this, 2, value);
|
|
685
|
+
};
|
|
686
|
+
|
|
687
|
+
|
|
688
|
+
/**
|
|
689
|
+
* Clears the field making it undefined.
|
|
690
|
+
* @return {!proto.TonAddress} returns this
|
|
691
|
+
*/
|
|
692
|
+
proto.TonAddress.prototype.clearRawAddress = function() {
|
|
693
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
694
|
+
};
|
|
695
|
+
|
|
696
|
+
|
|
697
|
+
/**
|
|
698
|
+
* Returns whether this field is set.
|
|
699
|
+
* @return {boolean}
|
|
700
|
+
*/
|
|
701
|
+
proto.TonAddress.prototype.hasRawAddress = function() {
|
|
702
|
+
return jspb.Message.getField(this, 2) != null;
|
|
703
|
+
};
|
|
704
|
+
|
|
705
|
+
|
|
706
|
+
|
|
707
|
+
/**
|
|
708
|
+
* List of repeated fields within this message type.
|
|
709
|
+
* @private {!Array<number>}
|
|
710
|
+
* @const
|
|
711
|
+
*/
|
|
712
|
+
proto.TonSignTx.repeatedFields_ = [1];
|
|
713
|
+
|
|
714
|
+
|
|
715
|
+
|
|
716
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
717
|
+
/**
|
|
718
|
+
* Creates an object representation of this proto.
|
|
719
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
720
|
+
* Optional fields that are not set will be set to undefined.
|
|
721
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
722
|
+
* For the list of reserved names please see:
|
|
723
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
724
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
725
|
+
* JSPB instance for transitional soy proto support:
|
|
726
|
+
* http://goto/soy-param-migration
|
|
727
|
+
* @return {!Object}
|
|
728
|
+
*/
|
|
729
|
+
proto.TonSignTx.prototype.toObject = function(opt_includeInstance) {
|
|
730
|
+
return proto.TonSignTx.toObject(opt_includeInstance, this);
|
|
731
|
+
};
|
|
732
|
+
|
|
733
|
+
|
|
734
|
+
/**
|
|
735
|
+
* Static version of the {@see toObject} method.
|
|
736
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
737
|
+
* the JSPB instance for transitional soy proto support:
|
|
738
|
+
* http://goto/soy-param-migration
|
|
739
|
+
* @param {!proto.TonSignTx} msg The msg instance to transform.
|
|
740
|
+
* @return {!Object}
|
|
741
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
742
|
+
*/
|
|
743
|
+
proto.TonSignTx.toObject = function(includeInstance, msg) {
|
|
744
|
+
var f, obj = {
|
|
745
|
+
addressNList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
746
|
+
coinName: jspb.Message.getFieldWithDefault(msg, 2, "Ton"),
|
|
747
|
+
rawTx: msg.getRawTx_asB64(),
|
|
748
|
+
expireAt: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f,
|
|
749
|
+
seqno: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f,
|
|
750
|
+
workchain: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
751
|
+
toAddress: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f,
|
|
752
|
+
amount: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f
|
|
753
|
+
};
|
|
754
|
+
|
|
755
|
+
if (includeInstance) {
|
|
756
|
+
obj.$jspbMessageInstance = msg;
|
|
757
|
+
}
|
|
758
|
+
return obj;
|
|
759
|
+
};
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
* Deserializes binary data (in protobuf wire format).
|
|
765
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
766
|
+
* @return {!proto.TonSignTx}
|
|
767
|
+
*/
|
|
768
|
+
proto.TonSignTx.deserializeBinary = function(bytes) {
|
|
769
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
770
|
+
var msg = new proto.TonSignTx;
|
|
771
|
+
return proto.TonSignTx.deserializeBinaryFromReader(msg, reader);
|
|
772
|
+
};
|
|
773
|
+
|
|
774
|
+
|
|
775
|
+
/**
|
|
776
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
777
|
+
* given reader into the given message object.
|
|
778
|
+
* @param {!proto.TonSignTx} msg The message object to deserialize into.
|
|
779
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
780
|
+
* @return {!proto.TonSignTx}
|
|
781
|
+
*/
|
|
782
|
+
proto.TonSignTx.deserializeBinaryFromReader = function(msg, reader) {
|
|
783
|
+
while (reader.nextField()) {
|
|
784
|
+
if (reader.isEndGroup()) {
|
|
785
|
+
break;
|
|
786
|
+
}
|
|
787
|
+
var field = reader.getFieldNumber();
|
|
788
|
+
switch (field) {
|
|
789
|
+
case 1:
|
|
790
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedUint32() : [reader.readUint32()]);
|
|
791
|
+
for (var i = 0; i < values.length; i++) {
|
|
792
|
+
msg.addAddressN(values[i]);
|
|
793
|
+
}
|
|
794
|
+
break;
|
|
795
|
+
case 2:
|
|
796
|
+
var value = /** @type {string} */ (reader.readString());
|
|
797
|
+
msg.setCoinName(value);
|
|
798
|
+
break;
|
|
799
|
+
case 3:
|
|
800
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
801
|
+
msg.setRawTx(value);
|
|
802
|
+
break;
|
|
803
|
+
case 4:
|
|
804
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
805
|
+
msg.setExpireAt(value);
|
|
806
|
+
break;
|
|
807
|
+
case 5:
|
|
808
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
809
|
+
msg.setSeqno(value);
|
|
810
|
+
break;
|
|
811
|
+
case 6:
|
|
812
|
+
var value = /** @type {number} */ (reader.readSint32());
|
|
813
|
+
msg.setWorkchain(value);
|
|
814
|
+
break;
|
|
815
|
+
case 7:
|
|
816
|
+
var value = /** @type {string} */ (reader.readString());
|
|
817
|
+
msg.setToAddress(value);
|
|
818
|
+
break;
|
|
819
|
+
case 8:
|
|
820
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
821
|
+
msg.setAmount(value);
|
|
822
|
+
break;
|
|
823
|
+
default:
|
|
824
|
+
reader.skipField();
|
|
825
|
+
break;
|
|
826
|
+
}
|
|
827
|
+
}
|
|
828
|
+
return msg;
|
|
829
|
+
};
|
|
830
|
+
|
|
831
|
+
|
|
832
|
+
/**
|
|
833
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
834
|
+
* @return {!Uint8Array}
|
|
835
|
+
*/
|
|
836
|
+
proto.TonSignTx.prototype.serializeBinary = function() {
|
|
837
|
+
var writer = new jspb.BinaryWriter();
|
|
838
|
+
proto.TonSignTx.serializeBinaryToWriter(this, writer);
|
|
839
|
+
return writer.getResultBuffer();
|
|
840
|
+
};
|
|
841
|
+
|
|
842
|
+
|
|
843
|
+
/**
|
|
844
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
845
|
+
* format), writing to the given BinaryWriter.
|
|
846
|
+
* @param {!proto.TonSignTx} message
|
|
847
|
+
* @param {!jspb.BinaryWriter} writer
|
|
848
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
849
|
+
*/
|
|
850
|
+
proto.TonSignTx.serializeBinaryToWriter = function(message, writer) {
|
|
851
|
+
var f = undefined;
|
|
852
|
+
f = message.getAddressNList();
|
|
853
|
+
if (f.length > 0) {
|
|
854
|
+
writer.writeRepeatedUint32(
|
|
855
|
+
1,
|
|
856
|
+
f
|
|
857
|
+
);
|
|
858
|
+
}
|
|
859
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
860
|
+
if (f != null) {
|
|
861
|
+
writer.writeString(
|
|
862
|
+
2,
|
|
863
|
+
f
|
|
864
|
+
);
|
|
865
|
+
}
|
|
866
|
+
f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 3));
|
|
867
|
+
if (f != null) {
|
|
868
|
+
writer.writeBytes(
|
|
869
|
+
3,
|
|
870
|
+
f
|
|
871
|
+
);
|
|
872
|
+
}
|
|
873
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
|
874
|
+
if (f != null) {
|
|
875
|
+
writer.writeUint32(
|
|
876
|
+
4,
|
|
877
|
+
f
|
|
878
|
+
);
|
|
879
|
+
}
|
|
880
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
|
881
|
+
if (f != null) {
|
|
882
|
+
writer.writeUint32(
|
|
883
|
+
5,
|
|
884
|
+
f
|
|
885
|
+
);
|
|
886
|
+
}
|
|
887
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
|
888
|
+
if (f != null) {
|
|
889
|
+
writer.writeSint32(
|
|
890
|
+
6,
|
|
891
|
+
f
|
|
892
|
+
);
|
|
893
|
+
}
|
|
894
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
895
|
+
if (f != null) {
|
|
896
|
+
writer.writeString(
|
|
897
|
+
7,
|
|
898
|
+
f
|
|
899
|
+
);
|
|
900
|
+
}
|
|
901
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 8));
|
|
902
|
+
if (f != null) {
|
|
903
|
+
writer.writeUint64(
|
|
904
|
+
8,
|
|
905
|
+
f
|
|
906
|
+
);
|
|
907
|
+
}
|
|
908
|
+
};
|
|
909
|
+
|
|
910
|
+
|
|
911
|
+
/**
|
|
912
|
+
* repeated uint32 address_n = 1;
|
|
913
|
+
* @return {!Array<number>}
|
|
914
|
+
*/
|
|
915
|
+
proto.TonSignTx.prototype.getAddressNList = function() {
|
|
916
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
917
|
+
};
|
|
918
|
+
|
|
919
|
+
|
|
920
|
+
/**
|
|
921
|
+
* @param {!Array<number>} value
|
|
922
|
+
* @return {!proto.TonSignTx} returns this
|
|
923
|
+
*/
|
|
924
|
+
proto.TonSignTx.prototype.setAddressNList = function(value) {
|
|
925
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
926
|
+
};
|
|
927
|
+
|
|
928
|
+
|
|
929
|
+
/**
|
|
930
|
+
* @param {number} value
|
|
931
|
+
* @param {number=} opt_index
|
|
932
|
+
* @return {!proto.TonSignTx} returns this
|
|
933
|
+
*/
|
|
934
|
+
proto.TonSignTx.prototype.addAddressN = function(value, opt_index) {
|
|
935
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
936
|
+
};
|
|
937
|
+
|
|
938
|
+
|
|
939
|
+
/**
|
|
940
|
+
* Clears the list making it empty but non-null.
|
|
941
|
+
* @return {!proto.TonSignTx} returns this
|
|
942
|
+
*/
|
|
943
|
+
proto.TonSignTx.prototype.clearAddressNList = function() {
|
|
944
|
+
return this.setAddressNList([]);
|
|
945
|
+
};
|
|
946
|
+
|
|
947
|
+
|
|
948
|
+
/**
|
|
949
|
+
* optional string coin_name = 2;
|
|
950
|
+
* @return {string}
|
|
951
|
+
*/
|
|
952
|
+
proto.TonSignTx.prototype.getCoinName = function() {
|
|
953
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "Ton"));
|
|
954
|
+
};
|
|
955
|
+
|
|
956
|
+
|
|
957
|
+
/**
|
|
958
|
+
* @param {string} value
|
|
959
|
+
* @return {!proto.TonSignTx} returns this
|
|
960
|
+
*/
|
|
961
|
+
proto.TonSignTx.prototype.setCoinName = function(value) {
|
|
962
|
+
return jspb.Message.setField(this, 2, value);
|
|
963
|
+
};
|
|
964
|
+
|
|
965
|
+
|
|
966
|
+
/**
|
|
967
|
+
* Clears the field making it undefined.
|
|
968
|
+
* @return {!proto.TonSignTx} returns this
|
|
969
|
+
*/
|
|
970
|
+
proto.TonSignTx.prototype.clearCoinName = function() {
|
|
971
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
972
|
+
};
|
|
973
|
+
|
|
974
|
+
|
|
975
|
+
/**
|
|
976
|
+
* Returns whether this field is set.
|
|
977
|
+
* @return {boolean}
|
|
978
|
+
*/
|
|
979
|
+
proto.TonSignTx.prototype.hasCoinName = function() {
|
|
980
|
+
return jspb.Message.getField(this, 2) != null;
|
|
981
|
+
};
|
|
982
|
+
|
|
983
|
+
|
|
984
|
+
/**
|
|
985
|
+
* optional bytes raw_tx = 3;
|
|
986
|
+
* @return {!(string|Uint8Array)}
|
|
987
|
+
*/
|
|
988
|
+
proto.TonSignTx.prototype.getRawTx = function() {
|
|
989
|
+
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
990
|
+
};
|
|
991
|
+
|
|
992
|
+
|
|
993
|
+
/**
|
|
994
|
+
* optional bytes raw_tx = 3;
|
|
995
|
+
* This is a type-conversion wrapper around `getRawTx()`
|
|
996
|
+
* @return {string}
|
|
997
|
+
*/
|
|
998
|
+
proto.TonSignTx.prototype.getRawTx_asB64 = function() {
|
|
999
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
1000
|
+
this.getRawTx()));
|
|
1001
|
+
};
|
|
1002
|
+
|
|
1003
|
+
|
|
1004
|
+
/**
|
|
1005
|
+
* optional bytes raw_tx = 3;
|
|
1006
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
1007
|
+
* @see http://caniuse.com/Uint8Array
|
|
1008
|
+
* This is a type-conversion wrapper around `getRawTx()`
|
|
1009
|
+
* @return {!Uint8Array}
|
|
1010
|
+
*/
|
|
1011
|
+
proto.TonSignTx.prototype.getRawTx_asU8 = function() {
|
|
1012
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
1013
|
+
this.getRawTx()));
|
|
1014
|
+
};
|
|
1015
|
+
|
|
1016
|
+
|
|
1017
|
+
/**
|
|
1018
|
+
* @param {!(string|Uint8Array)} value
|
|
1019
|
+
* @return {!proto.TonSignTx} returns this
|
|
1020
|
+
*/
|
|
1021
|
+
proto.TonSignTx.prototype.setRawTx = function(value) {
|
|
1022
|
+
return jspb.Message.setField(this, 3, value);
|
|
1023
|
+
};
|
|
1024
|
+
|
|
1025
|
+
|
|
1026
|
+
/**
|
|
1027
|
+
* Clears the field making it undefined.
|
|
1028
|
+
* @return {!proto.TonSignTx} returns this
|
|
1029
|
+
*/
|
|
1030
|
+
proto.TonSignTx.prototype.clearRawTx = function() {
|
|
1031
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
1032
|
+
};
|
|
1033
|
+
|
|
1034
|
+
|
|
1035
|
+
/**
|
|
1036
|
+
* Returns whether this field is set.
|
|
1037
|
+
* @return {boolean}
|
|
1038
|
+
*/
|
|
1039
|
+
proto.TonSignTx.prototype.hasRawTx = function() {
|
|
1040
|
+
return jspb.Message.getField(this, 3) != null;
|
|
1041
|
+
};
|
|
1042
|
+
|
|
1043
|
+
|
|
1044
|
+
/**
|
|
1045
|
+
* optional uint32 expire_at = 4;
|
|
1046
|
+
* @return {number}
|
|
1047
|
+
*/
|
|
1048
|
+
proto.TonSignTx.prototype.getExpireAt = function() {
|
|
1049
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
1050
|
+
};
|
|
1051
|
+
|
|
1052
|
+
|
|
1053
|
+
/**
|
|
1054
|
+
* @param {number} value
|
|
1055
|
+
* @return {!proto.TonSignTx} returns this
|
|
1056
|
+
*/
|
|
1057
|
+
proto.TonSignTx.prototype.setExpireAt = function(value) {
|
|
1058
|
+
return jspb.Message.setField(this, 4, value);
|
|
1059
|
+
};
|
|
1060
|
+
|
|
1061
|
+
|
|
1062
|
+
/**
|
|
1063
|
+
* Clears the field making it undefined.
|
|
1064
|
+
* @return {!proto.TonSignTx} returns this
|
|
1065
|
+
*/
|
|
1066
|
+
proto.TonSignTx.prototype.clearExpireAt = function() {
|
|
1067
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
1068
|
+
};
|
|
1069
|
+
|
|
1070
|
+
|
|
1071
|
+
/**
|
|
1072
|
+
* Returns whether this field is set.
|
|
1073
|
+
* @return {boolean}
|
|
1074
|
+
*/
|
|
1075
|
+
proto.TonSignTx.prototype.hasExpireAt = function() {
|
|
1076
|
+
return jspb.Message.getField(this, 4) != null;
|
|
1077
|
+
};
|
|
1078
|
+
|
|
1079
|
+
|
|
1080
|
+
/**
|
|
1081
|
+
* optional uint32 seqno = 5;
|
|
1082
|
+
* @return {number}
|
|
1083
|
+
*/
|
|
1084
|
+
proto.TonSignTx.prototype.getSeqno = function() {
|
|
1085
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
1086
|
+
};
|
|
1087
|
+
|
|
1088
|
+
|
|
1089
|
+
/**
|
|
1090
|
+
* @param {number} value
|
|
1091
|
+
* @return {!proto.TonSignTx} returns this
|
|
1092
|
+
*/
|
|
1093
|
+
proto.TonSignTx.prototype.setSeqno = function(value) {
|
|
1094
|
+
return jspb.Message.setField(this, 5, value);
|
|
1095
|
+
};
|
|
1096
|
+
|
|
1097
|
+
|
|
1098
|
+
/**
|
|
1099
|
+
* Clears the field making it undefined.
|
|
1100
|
+
* @return {!proto.TonSignTx} returns this
|
|
1101
|
+
*/
|
|
1102
|
+
proto.TonSignTx.prototype.clearSeqno = function() {
|
|
1103
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
1104
|
+
};
|
|
1105
|
+
|
|
1106
|
+
|
|
1107
|
+
/**
|
|
1108
|
+
* Returns whether this field is set.
|
|
1109
|
+
* @return {boolean}
|
|
1110
|
+
*/
|
|
1111
|
+
proto.TonSignTx.prototype.hasSeqno = function() {
|
|
1112
|
+
return jspb.Message.getField(this, 5) != null;
|
|
1113
|
+
};
|
|
1114
|
+
|
|
1115
|
+
|
|
1116
|
+
/**
|
|
1117
|
+
* optional sint32 workchain = 6;
|
|
1118
|
+
* @return {number}
|
|
1119
|
+
*/
|
|
1120
|
+
proto.TonSignTx.prototype.getWorkchain = function() {
|
|
1121
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
1122
|
+
};
|
|
1123
|
+
|
|
1124
|
+
|
|
1125
|
+
/**
|
|
1126
|
+
* @param {number} value
|
|
1127
|
+
* @return {!proto.TonSignTx} returns this
|
|
1128
|
+
*/
|
|
1129
|
+
proto.TonSignTx.prototype.setWorkchain = function(value) {
|
|
1130
|
+
return jspb.Message.setField(this, 6, value);
|
|
1131
|
+
};
|
|
1132
|
+
|
|
1133
|
+
|
|
1134
|
+
/**
|
|
1135
|
+
* Clears the field making it undefined.
|
|
1136
|
+
* @return {!proto.TonSignTx} returns this
|
|
1137
|
+
*/
|
|
1138
|
+
proto.TonSignTx.prototype.clearWorkchain = function() {
|
|
1139
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
1140
|
+
};
|
|
1141
|
+
|
|
1142
|
+
|
|
1143
|
+
/**
|
|
1144
|
+
* Returns whether this field is set.
|
|
1145
|
+
* @return {boolean}
|
|
1146
|
+
*/
|
|
1147
|
+
proto.TonSignTx.prototype.hasWorkchain = function() {
|
|
1148
|
+
return jspb.Message.getField(this, 6) != null;
|
|
1149
|
+
};
|
|
1150
|
+
|
|
1151
|
+
|
|
1152
|
+
/**
|
|
1153
|
+
* optional string to_address = 7;
|
|
1154
|
+
* @return {string}
|
|
1155
|
+
*/
|
|
1156
|
+
proto.TonSignTx.prototype.getToAddress = function() {
|
|
1157
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
1158
|
+
};
|
|
1159
|
+
|
|
1160
|
+
|
|
1161
|
+
/**
|
|
1162
|
+
* @param {string} value
|
|
1163
|
+
* @return {!proto.TonSignTx} returns this
|
|
1164
|
+
*/
|
|
1165
|
+
proto.TonSignTx.prototype.setToAddress = function(value) {
|
|
1166
|
+
return jspb.Message.setField(this, 7, value);
|
|
1167
|
+
};
|
|
1168
|
+
|
|
1169
|
+
|
|
1170
|
+
/**
|
|
1171
|
+
* Clears the field making it undefined.
|
|
1172
|
+
* @return {!proto.TonSignTx} returns this
|
|
1173
|
+
*/
|
|
1174
|
+
proto.TonSignTx.prototype.clearToAddress = function() {
|
|
1175
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
1176
|
+
};
|
|
1177
|
+
|
|
1178
|
+
|
|
1179
|
+
/**
|
|
1180
|
+
* Returns whether this field is set.
|
|
1181
|
+
* @return {boolean}
|
|
1182
|
+
*/
|
|
1183
|
+
proto.TonSignTx.prototype.hasToAddress = function() {
|
|
1184
|
+
return jspb.Message.getField(this, 7) != null;
|
|
1185
|
+
};
|
|
1186
|
+
|
|
1187
|
+
|
|
1188
|
+
/**
|
|
1189
|
+
* optional uint64 amount = 8;
|
|
1190
|
+
* @return {number}
|
|
1191
|
+
*/
|
|
1192
|
+
proto.TonSignTx.prototype.getAmount = function() {
|
|
1193
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
1194
|
+
};
|
|
1195
|
+
|
|
1196
|
+
|
|
1197
|
+
/**
|
|
1198
|
+
* @param {number} value
|
|
1199
|
+
* @return {!proto.TonSignTx} returns this
|
|
1200
|
+
*/
|
|
1201
|
+
proto.TonSignTx.prototype.setAmount = function(value) {
|
|
1202
|
+
return jspb.Message.setField(this, 8, value);
|
|
1203
|
+
};
|
|
1204
|
+
|
|
1205
|
+
|
|
1206
|
+
/**
|
|
1207
|
+
* Clears the field making it undefined.
|
|
1208
|
+
* @return {!proto.TonSignTx} returns this
|
|
1209
|
+
*/
|
|
1210
|
+
proto.TonSignTx.prototype.clearAmount = function() {
|
|
1211
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
1212
|
+
};
|
|
1213
|
+
|
|
1214
|
+
|
|
1215
|
+
/**
|
|
1216
|
+
* Returns whether this field is set.
|
|
1217
|
+
* @return {boolean}
|
|
1218
|
+
*/
|
|
1219
|
+
proto.TonSignTx.prototype.hasAmount = function() {
|
|
1220
|
+
return jspb.Message.getField(this, 8) != null;
|
|
1221
|
+
};
|
|
1222
|
+
|
|
1223
|
+
|
|
1224
|
+
|
|
1225
|
+
|
|
1226
|
+
|
|
1227
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1228
|
+
/**
|
|
1229
|
+
* Creates an object representation of this proto.
|
|
1230
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1231
|
+
* Optional fields that are not set will be set to undefined.
|
|
1232
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1233
|
+
* For the list of reserved names please see:
|
|
1234
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1235
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1236
|
+
* JSPB instance for transitional soy proto support:
|
|
1237
|
+
* http://goto/soy-param-migration
|
|
1238
|
+
* @return {!Object}
|
|
1239
|
+
*/
|
|
1240
|
+
proto.TonSignedTx.prototype.toObject = function(opt_includeInstance) {
|
|
1241
|
+
return proto.TonSignedTx.toObject(opt_includeInstance, this);
|
|
1242
|
+
};
|
|
1243
|
+
|
|
1244
|
+
|
|
1245
|
+
/**
|
|
1246
|
+
* Static version of the {@see toObject} method.
|
|
1247
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1248
|
+
* the JSPB instance for transitional soy proto support:
|
|
1249
|
+
* http://goto/soy-param-migration
|
|
1250
|
+
* @param {!proto.TonSignedTx} msg The msg instance to transform.
|
|
1251
|
+
* @return {!Object}
|
|
1252
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1253
|
+
*/
|
|
1254
|
+
proto.TonSignedTx.toObject = function(includeInstance, msg) {
|
|
1255
|
+
var f, obj = {
|
|
1256
|
+
signature: msg.getSignature_asB64()
|
|
1257
|
+
};
|
|
1258
|
+
|
|
1259
|
+
if (includeInstance) {
|
|
1260
|
+
obj.$jspbMessageInstance = msg;
|
|
1261
|
+
}
|
|
1262
|
+
return obj;
|
|
1263
|
+
};
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1266
|
+
|
|
1267
|
+
/**
|
|
1268
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1269
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1270
|
+
* @return {!proto.TonSignedTx}
|
|
1271
|
+
*/
|
|
1272
|
+
proto.TonSignedTx.deserializeBinary = function(bytes) {
|
|
1273
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1274
|
+
var msg = new proto.TonSignedTx;
|
|
1275
|
+
return proto.TonSignedTx.deserializeBinaryFromReader(msg, reader);
|
|
1276
|
+
};
|
|
1277
|
+
|
|
1278
|
+
|
|
1279
|
+
/**
|
|
1280
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1281
|
+
* given reader into the given message object.
|
|
1282
|
+
* @param {!proto.TonSignedTx} msg The message object to deserialize into.
|
|
1283
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1284
|
+
* @return {!proto.TonSignedTx}
|
|
1285
|
+
*/
|
|
1286
|
+
proto.TonSignedTx.deserializeBinaryFromReader = function(msg, reader) {
|
|
1287
|
+
while (reader.nextField()) {
|
|
1288
|
+
if (reader.isEndGroup()) {
|
|
1289
|
+
break;
|
|
1290
|
+
}
|
|
1291
|
+
var field = reader.getFieldNumber();
|
|
1292
|
+
switch (field) {
|
|
1293
|
+
case 1:
|
|
1294
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
1295
|
+
msg.setSignature(value);
|
|
1296
|
+
break;
|
|
1297
|
+
default:
|
|
1298
|
+
reader.skipField();
|
|
1299
|
+
break;
|
|
1300
|
+
}
|
|
1301
|
+
}
|
|
1302
|
+
return msg;
|
|
1303
|
+
};
|
|
1304
|
+
|
|
1305
|
+
|
|
1306
|
+
/**
|
|
1307
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1308
|
+
* @return {!Uint8Array}
|
|
1309
|
+
*/
|
|
1310
|
+
proto.TonSignedTx.prototype.serializeBinary = function() {
|
|
1311
|
+
var writer = new jspb.BinaryWriter();
|
|
1312
|
+
proto.TonSignedTx.serializeBinaryToWriter(this, writer);
|
|
1313
|
+
return writer.getResultBuffer();
|
|
1314
|
+
};
|
|
1315
|
+
|
|
1316
|
+
|
|
1317
|
+
/**
|
|
1318
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1319
|
+
* format), writing to the given BinaryWriter.
|
|
1320
|
+
* @param {!proto.TonSignedTx} message
|
|
1321
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1322
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1323
|
+
*/
|
|
1324
|
+
proto.TonSignedTx.serializeBinaryToWriter = function(message, writer) {
|
|
1325
|
+
var f = undefined;
|
|
1326
|
+
f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 1));
|
|
1327
|
+
if (f != null) {
|
|
1328
|
+
writer.writeBytes(
|
|
1329
|
+
1,
|
|
1330
|
+
f
|
|
1331
|
+
);
|
|
1332
|
+
}
|
|
1333
|
+
};
|
|
1334
|
+
|
|
1335
|
+
|
|
1336
|
+
/**
|
|
1337
|
+
* optional bytes signature = 1;
|
|
1338
|
+
* @return {!(string|Uint8Array)}
|
|
1339
|
+
*/
|
|
1340
|
+
proto.TonSignedTx.prototype.getSignature = function() {
|
|
1341
|
+
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1342
|
+
};
|
|
1343
|
+
|
|
1344
|
+
|
|
1345
|
+
/**
|
|
1346
|
+
* optional bytes signature = 1;
|
|
1347
|
+
* This is a type-conversion wrapper around `getSignature()`
|
|
1348
|
+
* @return {string}
|
|
1349
|
+
*/
|
|
1350
|
+
proto.TonSignedTx.prototype.getSignature_asB64 = function() {
|
|
1351
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
1352
|
+
this.getSignature()));
|
|
1353
|
+
};
|
|
1354
|
+
|
|
1355
|
+
|
|
1356
|
+
/**
|
|
1357
|
+
* optional bytes signature = 1;
|
|
1358
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
1359
|
+
* @see http://caniuse.com/Uint8Array
|
|
1360
|
+
* This is a type-conversion wrapper around `getSignature()`
|
|
1361
|
+
* @return {!Uint8Array}
|
|
1362
|
+
*/
|
|
1363
|
+
proto.TonSignedTx.prototype.getSignature_asU8 = function() {
|
|
1364
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
1365
|
+
this.getSignature()));
|
|
1366
|
+
};
|
|
1367
|
+
|
|
1368
|
+
|
|
1369
|
+
/**
|
|
1370
|
+
* @param {!(string|Uint8Array)} value
|
|
1371
|
+
* @return {!proto.TonSignedTx} returns this
|
|
1372
|
+
*/
|
|
1373
|
+
proto.TonSignedTx.prototype.setSignature = function(value) {
|
|
1374
|
+
return jspb.Message.setField(this, 1, value);
|
|
1375
|
+
};
|
|
1376
|
+
|
|
1377
|
+
|
|
1378
|
+
/**
|
|
1379
|
+
* Clears the field making it undefined.
|
|
1380
|
+
* @return {!proto.TonSignedTx} returns this
|
|
1381
|
+
*/
|
|
1382
|
+
proto.TonSignedTx.prototype.clearSignature = function() {
|
|
1383
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
1384
|
+
};
|
|
1385
|
+
|
|
1386
|
+
|
|
1387
|
+
/**
|
|
1388
|
+
* Returns whether this field is set.
|
|
1389
|
+
* @return {boolean}
|
|
1390
|
+
*/
|
|
1391
|
+
proto.TonSignedTx.prototype.hasSignature = function() {
|
|
1392
|
+
return jspb.Message.getField(this, 1) != null;
|
|
1393
|
+
};
|
|
1394
|
+
|
|
1395
|
+
|
|
1396
|
+
goog.object.extend(exports, proto);
|