@meshtrade/api-old 1.37.0 → 1.38.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.
|
@@ -8,11 +8,6 @@ export class MintTokenOptions extends jspb.Message {
|
|
|
8
8
|
hasStellarMintOptions(): boolean;
|
|
9
9
|
clearStellarMintOptions(): MintTokenOptions;
|
|
10
10
|
|
|
11
|
-
getSolanaMintOptions(): SolanaMintOptions | undefined;
|
|
12
|
-
setSolanaMintOptions(value?: SolanaMintOptions): MintTokenOptions;
|
|
13
|
-
hasSolanaMintOptions(): boolean;
|
|
14
|
-
clearSolanaMintOptions(): MintTokenOptions;
|
|
15
|
-
|
|
16
11
|
getMintTokenOptionsCase(): MintTokenOptions.MintTokenOptionsCase;
|
|
17
12
|
|
|
18
13
|
serializeBinary(): Uint8Array;
|
|
@@ -26,13 +21,11 @@ export class MintTokenOptions extends jspb.Message {
|
|
|
26
21
|
export namespace MintTokenOptions {
|
|
27
22
|
export type AsObject = {
|
|
28
23
|
stellarMintOptions?: StellarMintOptions.AsObject,
|
|
29
|
-
solanaMintOptions?: SolanaMintOptions.AsObject,
|
|
30
24
|
}
|
|
31
25
|
|
|
32
26
|
export enum MintTokenOptionsCase {
|
|
33
27
|
MINT_TOKEN_OPTIONS_NOT_SET = 0,
|
|
34
28
|
STELLAR_MINT_OPTIONS = 1,
|
|
35
|
-
SOLANA_MINT_OPTIONS = 2,
|
|
36
29
|
}
|
|
37
30
|
}
|
|
38
31
|
|
|
@@ -101,73 +94,3 @@ export namespace StellarMintTokenWithMemo {
|
|
|
101
94
|
}
|
|
102
95
|
}
|
|
103
96
|
|
|
104
|
-
export class SolanaMintOptions extends jspb.Message {
|
|
105
|
-
getOptionsList(): Array<SolanaMintOption>;
|
|
106
|
-
setOptionsList(value: Array<SolanaMintOption>): SolanaMintOptions;
|
|
107
|
-
clearOptionsList(): SolanaMintOptions;
|
|
108
|
-
addOptions(value?: SolanaMintOption, index?: number): SolanaMintOption;
|
|
109
|
-
|
|
110
|
-
serializeBinary(): Uint8Array;
|
|
111
|
-
toObject(includeInstance?: boolean): SolanaMintOptions.AsObject;
|
|
112
|
-
static toObject(includeInstance: boolean, msg: SolanaMintOptions): SolanaMintOptions.AsObject;
|
|
113
|
-
static serializeBinaryToWriter(message: SolanaMintOptions, writer: jspb.BinaryWriter): void;
|
|
114
|
-
static deserializeBinary(bytes: Uint8Array): SolanaMintOptions;
|
|
115
|
-
static deserializeBinaryFromReader(message: SolanaMintOptions, reader: jspb.BinaryReader): SolanaMintOptions;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
export namespace SolanaMintOptions {
|
|
119
|
-
export type AsObject = {
|
|
120
|
-
optionsList: Array<SolanaMintOption.AsObject>,
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
export class SolanaMintOption extends jspb.Message {
|
|
125
|
-
getSolanaMintTokenOption(): SolanaMintTokenOption | undefined;
|
|
126
|
-
setSolanaMintTokenOption(value?: SolanaMintTokenOption): SolanaMintOption;
|
|
127
|
-
hasSolanaMintTokenOption(): boolean;
|
|
128
|
-
clearSolanaMintTokenOption(): SolanaMintOption;
|
|
129
|
-
|
|
130
|
-
getSolanaMintOptionCase(): SolanaMintOption.SolanaMintOptionCase;
|
|
131
|
-
|
|
132
|
-
serializeBinary(): Uint8Array;
|
|
133
|
-
toObject(includeInstance?: boolean): SolanaMintOption.AsObject;
|
|
134
|
-
static toObject(includeInstance: boolean, msg: SolanaMintOption): SolanaMintOption.AsObject;
|
|
135
|
-
static serializeBinaryToWriter(message: SolanaMintOption, writer: jspb.BinaryWriter): void;
|
|
136
|
-
static deserializeBinary(bytes: Uint8Array): SolanaMintOption;
|
|
137
|
-
static deserializeBinaryFromReader(message: SolanaMintOption, reader: jspb.BinaryReader): SolanaMintOption;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
export namespace SolanaMintOption {
|
|
141
|
-
export type AsObject = {
|
|
142
|
-
solanaMintTokenOption?: SolanaMintTokenOption.AsObject,
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
export enum SolanaMintOptionCase {
|
|
146
|
-
SOLANA_MINT_OPTION_NOT_SET = 0,
|
|
147
|
-
SOLANA_MINT_TOKEN_OPTION = 1,
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
export class SolanaMintTokenOption extends jspb.Message {
|
|
152
|
-
getToken(): SolanaMintToken;
|
|
153
|
-
setToken(value: SolanaMintToken): SolanaMintTokenOption;
|
|
154
|
-
|
|
155
|
-
serializeBinary(): Uint8Array;
|
|
156
|
-
toObject(includeInstance?: boolean): SolanaMintTokenOption.AsObject;
|
|
157
|
-
static toObject(includeInstance: boolean, msg: SolanaMintTokenOption): SolanaMintTokenOption.AsObject;
|
|
158
|
-
static serializeBinaryToWriter(message: SolanaMintTokenOption, writer: jspb.BinaryWriter): void;
|
|
159
|
-
static deserializeBinary(bytes: Uint8Array): SolanaMintTokenOption;
|
|
160
|
-
static deserializeBinaryFromReader(message: SolanaMintTokenOption, reader: jspb.BinaryReader): SolanaMintTokenOption;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
export namespace SolanaMintTokenOption {
|
|
164
|
-
export type AsObject = {
|
|
165
|
-
token: SolanaMintToken,
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
export enum SolanaMintToken {
|
|
170
|
-
SOLANA_MINT_TOKEN_UNSPECIFIED = 0,
|
|
171
|
-
SOLANA_MINT_TOKEN_LEGACY = 1,
|
|
172
|
-
SOLANA_MINT_TOKEN_2022 = 2,
|
|
173
|
-
}
|
|
@@ -23,11 +23,6 @@ var global =
|
|
|
23
23
|
|
|
24
24
|
goog.exportSymbol('proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions', null, global);
|
|
25
25
|
goog.exportSymbol('proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.MintTokenOptionsCase', null, global);
|
|
26
|
-
goog.exportSymbol('proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption', null, global);
|
|
27
|
-
goog.exportSymbol('proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.SolanaMintOptionCase', null, global);
|
|
28
|
-
goog.exportSymbol('proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions', null, global);
|
|
29
|
-
goog.exportSymbol('proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintToken', null, global);
|
|
30
|
-
goog.exportSymbol('proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption', null, global);
|
|
31
26
|
goog.exportSymbol('proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption', null, global);
|
|
32
27
|
goog.exportSymbol('proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption.StellarMintOptionCase', null, global);
|
|
33
28
|
goog.exportSymbol('proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOptions', null, global);
|
|
@@ -116,69 +111,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
116
111
|
*/
|
|
117
112
|
proto.meshtrade.testing.ledger.token_tap.v1.StellarMintTokenWithMemo.displayName = 'proto.meshtrade.testing.ledger.token_tap.v1.StellarMintTokenWithMemo';
|
|
118
113
|
}
|
|
119
|
-
/**
|
|
120
|
-
* Generated by JsPbCodeGenerator.
|
|
121
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
122
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
123
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
124
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
125
|
-
* valid.
|
|
126
|
-
* @extends {jspb.Message}
|
|
127
|
-
* @constructor
|
|
128
|
-
*/
|
|
129
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions = function(opt_data) {
|
|
130
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions.repeatedFields_, null);
|
|
131
|
-
};
|
|
132
|
-
goog.inherits(proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions, jspb.Message);
|
|
133
|
-
if (goog.DEBUG && !COMPILED) {
|
|
134
|
-
/**
|
|
135
|
-
* @public
|
|
136
|
-
* @override
|
|
137
|
-
*/
|
|
138
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions.displayName = 'proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions';
|
|
139
|
-
}
|
|
140
|
-
/**
|
|
141
|
-
* Generated by JsPbCodeGenerator.
|
|
142
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
143
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
144
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
145
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
146
|
-
* valid.
|
|
147
|
-
* @extends {jspb.Message}
|
|
148
|
-
* @constructor
|
|
149
|
-
*/
|
|
150
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption = function(opt_data) {
|
|
151
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.oneofGroups_);
|
|
152
|
-
};
|
|
153
|
-
goog.inherits(proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption, jspb.Message);
|
|
154
|
-
if (goog.DEBUG && !COMPILED) {
|
|
155
|
-
/**
|
|
156
|
-
* @public
|
|
157
|
-
* @override
|
|
158
|
-
*/
|
|
159
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.displayName = 'proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption';
|
|
160
|
-
}
|
|
161
|
-
/**
|
|
162
|
-
* Generated by JsPbCodeGenerator.
|
|
163
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
164
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
165
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
166
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
167
|
-
* valid.
|
|
168
|
-
* @extends {jspb.Message}
|
|
169
|
-
* @constructor
|
|
170
|
-
*/
|
|
171
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption = function(opt_data) {
|
|
172
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
173
|
-
};
|
|
174
|
-
goog.inherits(proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption, jspb.Message);
|
|
175
|
-
if (goog.DEBUG && !COMPILED) {
|
|
176
|
-
/**
|
|
177
|
-
* @public
|
|
178
|
-
* @override
|
|
179
|
-
*/
|
|
180
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption.displayName = 'proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption';
|
|
181
|
-
}
|
|
182
114
|
|
|
183
115
|
/**
|
|
184
116
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -188,15 +120,14 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
188
120
|
* @private {!Array<!Array<number>>}
|
|
189
121
|
* @const
|
|
190
122
|
*/
|
|
191
|
-
proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.oneofGroups_ = [[1
|
|
123
|
+
proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.oneofGroups_ = [[1]];
|
|
192
124
|
|
|
193
125
|
/**
|
|
194
126
|
* @enum {number}
|
|
195
127
|
*/
|
|
196
128
|
proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.MintTokenOptionsCase = {
|
|
197
129
|
MINT_TOKEN_OPTIONS_NOT_SET: 0,
|
|
198
|
-
STELLAR_MINT_OPTIONS: 1
|
|
199
|
-
SOLANA_MINT_OPTIONS: 2
|
|
130
|
+
STELLAR_MINT_OPTIONS: 1
|
|
200
131
|
};
|
|
201
132
|
|
|
202
133
|
/**
|
|
@@ -237,8 +168,7 @@ proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.prototype.toObject
|
|
|
237
168
|
*/
|
|
238
169
|
proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.toObject = function(includeInstance, msg) {
|
|
239
170
|
var f, obj = {
|
|
240
|
-
stellarMintOptions: (f = msg.getStellarMintOptions()) && proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOptions.toObject(includeInstance, f)
|
|
241
|
-
solanaMintOptions: (f = msg.getSolanaMintOptions()) && proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions.toObject(includeInstance, f)
|
|
171
|
+
stellarMintOptions: (f = msg.getStellarMintOptions()) && proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOptions.toObject(includeInstance, f)
|
|
242
172
|
};
|
|
243
173
|
|
|
244
174
|
if (includeInstance) {
|
|
@@ -280,11 +210,6 @@ proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.deserializeBinaryFr
|
|
|
280
210
|
reader.readMessage(value,proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOptions.deserializeBinaryFromReader);
|
|
281
211
|
msg.setStellarMintOptions(value);
|
|
282
212
|
break;
|
|
283
|
-
case 2:
|
|
284
|
-
var value = new proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions;
|
|
285
|
-
reader.readMessage(value,proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions.deserializeBinaryFromReader);
|
|
286
|
-
msg.setSolanaMintOptions(value);
|
|
287
|
-
break;
|
|
288
213
|
default:
|
|
289
214
|
reader.skipField();
|
|
290
215
|
break;
|
|
@@ -322,14 +247,6 @@ proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.serializeBinaryToWr
|
|
|
322
247
|
proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOptions.serializeBinaryToWriter
|
|
323
248
|
);
|
|
324
249
|
}
|
|
325
|
-
f = message.getSolanaMintOptions();
|
|
326
|
-
if (f != null) {
|
|
327
|
-
writer.writeMessage(
|
|
328
|
-
2,
|
|
329
|
-
f,
|
|
330
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions.serializeBinaryToWriter
|
|
331
|
-
);
|
|
332
|
-
}
|
|
333
250
|
};
|
|
334
251
|
|
|
335
252
|
|
|
@@ -370,43 +287,6 @@ proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.prototype.hasStella
|
|
|
370
287
|
};
|
|
371
288
|
|
|
372
289
|
|
|
373
|
-
/**
|
|
374
|
-
* optional SolanaMintOptions solana_mint_options = 2;
|
|
375
|
-
* @return {?proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions}
|
|
376
|
-
*/
|
|
377
|
-
proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.prototype.getSolanaMintOptions = function() {
|
|
378
|
-
return /** @type{?proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions} */ (
|
|
379
|
-
jspb.Message.getWrapperField(this, proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions, 2));
|
|
380
|
-
};
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
/**
|
|
384
|
-
* @param {?proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions|undefined} value
|
|
385
|
-
* @return {!proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions} returns this
|
|
386
|
-
*/
|
|
387
|
-
proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.prototype.setSolanaMintOptions = function(value) {
|
|
388
|
-
return jspb.Message.setOneofWrapperField(this, 2, proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.oneofGroups_[0], value);
|
|
389
|
-
};
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
/**
|
|
393
|
-
* Clears the message field making it undefined.
|
|
394
|
-
* @return {!proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions} returns this
|
|
395
|
-
*/
|
|
396
|
-
proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.prototype.clearSolanaMintOptions = function() {
|
|
397
|
-
return this.setSolanaMintOptions(undefined);
|
|
398
|
-
};
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
/**
|
|
402
|
-
* Returns whether this field is set.
|
|
403
|
-
* @return {boolean}
|
|
404
|
-
*/
|
|
405
|
-
proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.prototype.hasSolanaMintOptions = function() {
|
|
406
|
-
return jspb.Message.getField(this, 2) != null;
|
|
407
|
-
};
|
|
408
|
-
|
|
409
|
-
|
|
410
290
|
|
|
411
291
|
/**
|
|
412
292
|
* List of repeated fields within this message type.
|
|
@@ -873,479 +753,4 @@ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintTokenWithMemo.prototype.s
|
|
|
873
753
|
};
|
|
874
754
|
|
|
875
755
|
|
|
876
|
-
|
|
877
|
-
/**
|
|
878
|
-
* List of repeated fields within this message type.
|
|
879
|
-
* @private {!Array<number>}
|
|
880
|
-
* @const
|
|
881
|
-
*/
|
|
882
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions.repeatedFields_ = [1];
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
887
|
-
/**
|
|
888
|
-
* Creates an object representation of this proto.
|
|
889
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
890
|
-
* Optional fields that are not set will be set to undefined.
|
|
891
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
892
|
-
* For the list of reserved names please see:
|
|
893
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
894
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
895
|
-
* JSPB instance for transitional soy proto support:
|
|
896
|
-
* http://goto/soy-param-migration
|
|
897
|
-
* @return {!Object}
|
|
898
|
-
*/
|
|
899
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions.prototype.toObject = function(opt_includeInstance) {
|
|
900
|
-
return proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions.toObject(opt_includeInstance, this);
|
|
901
|
-
};
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
/**
|
|
905
|
-
* Static version of the {@see toObject} method.
|
|
906
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
907
|
-
* the JSPB instance for transitional soy proto support:
|
|
908
|
-
* http://goto/soy-param-migration
|
|
909
|
-
* @param {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions} msg The msg instance to transform.
|
|
910
|
-
* @return {!Object}
|
|
911
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
912
|
-
*/
|
|
913
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions.toObject = function(includeInstance, msg) {
|
|
914
|
-
var f, obj = {
|
|
915
|
-
optionsList: jspb.Message.toObjectList(msg.getOptionsList(),
|
|
916
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.toObject, includeInstance)
|
|
917
|
-
};
|
|
918
|
-
|
|
919
|
-
if (includeInstance) {
|
|
920
|
-
obj.$jspbMessageInstance = msg;
|
|
921
|
-
}
|
|
922
|
-
return obj;
|
|
923
|
-
};
|
|
924
|
-
}
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
/**
|
|
928
|
-
* Deserializes binary data (in protobuf wire format).
|
|
929
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
930
|
-
* @return {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions}
|
|
931
|
-
*/
|
|
932
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions.deserializeBinary = function(bytes) {
|
|
933
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
934
|
-
var msg = new proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions;
|
|
935
|
-
return proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions.deserializeBinaryFromReader(msg, reader);
|
|
936
|
-
};
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
/**
|
|
940
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
941
|
-
* given reader into the given message object.
|
|
942
|
-
* @param {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions} msg The message object to deserialize into.
|
|
943
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
944
|
-
* @return {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions}
|
|
945
|
-
*/
|
|
946
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions.deserializeBinaryFromReader = function(msg, reader) {
|
|
947
|
-
while (reader.nextField()) {
|
|
948
|
-
if (reader.isEndGroup()) {
|
|
949
|
-
break;
|
|
950
|
-
}
|
|
951
|
-
var field = reader.getFieldNumber();
|
|
952
|
-
switch (field) {
|
|
953
|
-
case 1:
|
|
954
|
-
var value = new proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption;
|
|
955
|
-
reader.readMessage(value,proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.deserializeBinaryFromReader);
|
|
956
|
-
msg.addOptions(value);
|
|
957
|
-
break;
|
|
958
|
-
default:
|
|
959
|
-
reader.skipField();
|
|
960
|
-
break;
|
|
961
|
-
}
|
|
962
|
-
}
|
|
963
|
-
return msg;
|
|
964
|
-
};
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
/**
|
|
968
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
969
|
-
* @return {!Uint8Array}
|
|
970
|
-
*/
|
|
971
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions.prototype.serializeBinary = function() {
|
|
972
|
-
var writer = new jspb.BinaryWriter();
|
|
973
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions.serializeBinaryToWriter(this, writer);
|
|
974
|
-
return writer.getResultBuffer();
|
|
975
|
-
};
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
/**
|
|
979
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
980
|
-
* format), writing to the given BinaryWriter.
|
|
981
|
-
* @param {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions} message
|
|
982
|
-
* @param {!jspb.BinaryWriter} writer
|
|
983
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
984
|
-
*/
|
|
985
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions.serializeBinaryToWriter = function(message, writer) {
|
|
986
|
-
var f = undefined;
|
|
987
|
-
f = message.getOptionsList();
|
|
988
|
-
if (f.length > 0) {
|
|
989
|
-
writer.writeRepeatedMessage(
|
|
990
|
-
1,
|
|
991
|
-
f,
|
|
992
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.serializeBinaryToWriter
|
|
993
|
-
);
|
|
994
|
-
}
|
|
995
|
-
};
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
/**
|
|
999
|
-
* repeated SolanaMintOption options = 1;
|
|
1000
|
-
* @return {!Array<!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption>}
|
|
1001
|
-
*/
|
|
1002
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions.prototype.getOptionsList = function() {
|
|
1003
|
-
return /** @type{!Array<!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption>} */ (
|
|
1004
|
-
jspb.Message.getRepeatedWrapperField(this, proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption, 1));
|
|
1005
|
-
};
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
/**
|
|
1009
|
-
* @param {!Array<!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption>} value
|
|
1010
|
-
* @return {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions} returns this
|
|
1011
|
-
*/
|
|
1012
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions.prototype.setOptionsList = function(value) {
|
|
1013
|
-
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
1014
|
-
};
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
/**
|
|
1018
|
-
* @param {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption=} opt_value
|
|
1019
|
-
* @param {number=} opt_index
|
|
1020
|
-
* @return {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption}
|
|
1021
|
-
*/
|
|
1022
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions.prototype.addOptions = function(opt_value, opt_index) {
|
|
1023
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption, opt_index);
|
|
1024
|
-
};
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
/**
|
|
1028
|
-
* Clears the list making it empty but non-null.
|
|
1029
|
-
* @return {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions} returns this
|
|
1030
|
-
*/
|
|
1031
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions.prototype.clearOptionsList = function() {
|
|
1032
|
-
return this.setOptionsList([]);
|
|
1033
|
-
};
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
/**
|
|
1038
|
-
* Oneof group definitions for this message. Each group defines the field
|
|
1039
|
-
* numbers belonging to that group. When of these fields' value is set, all
|
|
1040
|
-
* other fields in the group are cleared. During deserialization, if multiple
|
|
1041
|
-
* fields are encountered for a group, only the last value seen will be kept.
|
|
1042
|
-
* @private {!Array<!Array<number>>}
|
|
1043
|
-
* @const
|
|
1044
|
-
*/
|
|
1045
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.oneofGroups_ = [[1]];
|
|
1046
|
-
|
|
1047
|
-
/**
|
|
1048
|
-
* @enum {number}
|
|
1049
|
-
*/
|
|
1050
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.SolanaMintOptionCase = {
|
|
1051
|
-
SOLANA_MINT_OPTION_NOT_SET: 0,
|
|
1052
|
-
SOLANA_MINT_TOKEN_OPTION: 1
|
|
1053
|
-
};
|
|
1054
|
-
|
|
1055
|
-
/**
|
|
1056
|
-
* @return {proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.SolanaMintOptionCase}
|
|
1057
|
-
*/
|
|
1058
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.prototype.getSolanaMintOptionCase = function() {
|
|
1059
|
-
return /** @type {proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.SolanaMintOptionCase} */(jspb.Message.computeOneofCase(this, proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.oneofGroups_[0]));
|
|
1060
|
-
};
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1065
|
-
/**
|
|
1066
|
-
* Creates an object representation of this proto.
|
|
1067
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1068
|
-
* Optional fields that are not set will be set to undefined.
|
|
1069
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1070
|
-
* For the list of reserved names please see:
|
|
1071
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1072
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1073
|
-
* JSPB instance for transitional soy proto support:
|
|
1074
|
-
* http://goto/soy-param-migration
|
|
1075
|
-
* @return {!Object}
|
|
1076
|
-
*/
|
|
1077
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.prototype.toObject = function(opt_includeInstance) {
|
|
1078
|
-
return proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.toObject(opt_includeInstance, this);
|
|
1079
|
-
};
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
/**
|
|
1083
|
-
* Static version of the {@see toObject} method.
|
|
1084
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1085
|
-
* the JSPB instance for transitional soy proto support:
|
|
1086
|
-
* http://goto/soy-param-migration
|
|
1087
|
-
* @param {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption} msg The msg instance to transform.
|
|
1088
|
-
* @return {!Object}
|
|
1089
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1090
|
-
*/
|
|
1091
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.toObject = function(includeInstance, msg) {
|
|
1092
|
-
var f, obj = {
|
|
1093
|
-
solanaMintTokenOption: (f = msg.getSolanaMintTokenOption()) && proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption.toObject(includeInstance, f)
|
|
1094
|
-
};
|
|
1095
|
-
|
|
1096
|
-
if (includeInstance) {
|
|
1097
|
-
obj.$jspbMessageInstance = msg;
|
|
1098
|
-
}
|
|
1099
|
-
return obj;
|
|
1100
|
-
};
|
|
1101
|
-
}
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
/**
|
|
1105
|
-
* Deserializes binary data (in protobuf wire format).
|
|
1106
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1107
|
-
* @return {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption}
|
|
1108
|
-
*/
|
|
1109
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.deserializeBinary = function(bytes) {
|
|
1110
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
1111
|
-
var msg = new proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption;
|
|
1112
|
-
return proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.deserializeBinaryFromReader(msg, reader);
|
|
1113
|
-
};
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
/**
|
|
1117
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
1118
|
-
* given reader into the given message object.
|
|
1119
|
-
* @param {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption} msg The message object to deserialize into.
|
|
1120
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1121
|
-
* @return {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption}
|
|
1122
|
-
*/
|
|
1123
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.deserializeBinaryFromReader = function(msg, reader) {
|
|
1124
|
-
while (reader.nextField()) {
|
|
1125
|
-
if (reader.isEndGroup()) {
|
|
1126
|
-
break;
|
|
1127
|
-
}
|
|
1128
|
-
var field = reader.getFieldNumber();
|
|
1129
|
-
switch (field) {
|
|
1130
|
-
case 1:
|
|
1131
|
-
var value = new proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption;
|
|
1132
|
-
reader.readMessage(value,proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption.deserializeBinaryFromReader);
|
|
1133
|
-
msg.setSolanaMintTokenOption(value);
|
|
1134
|
-
break;
|
|
1135
|
-
default:
|
|
1136
|
-
reader.skipField();
|
|
1137
|
-
break;
|
|
1138
|
-
}
|
|
1139
|
-
}
|
|
1140
|
-
return msg;
|
|
1141
|
-
};
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
/**
|
|
1145
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
1146
|
-
* @return {!Uint8Array}
|
|
1147
|
-
*/
|
|
1148
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.prototype.serializeBinary = function() {
|
|
1149
|
-
var writer = new jspb.BinaryWriter();
|
|
1150
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.serializeBinaryToWriter(this, writer);
|
|
1151
|
-
return writer.getResultBuffer();
|
|
1152
|
-
};
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
/**
|
|
1156
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
1157
|
-
* format), writing to the given BinaryWriter.
|
|
1158
|
-
* @param {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption} message
|
|
1159
|
-
* @param {!jspb.BinaryWriter} writer
|
|
1160
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1161
|
-
*/
|
|
1162
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.serializeBinaryToWriter = function(message, writer) {
|
|
1163
|
-
var f = undefined;
|
|
1164
|
-
f = message.getSolanaMintTokenOption();
|
|
1165
|
-
if (f != null) {
|
|
1166
|
-
writer.writeMessage(
|
|
1167
|
-
1,
|
|
1168
|
-
f,
|
|
1169
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption.serializeBinaryToWriter
|
|
1170
|
-
);
|
|
1171
|
-
}
|
|
1172
|
-
};
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
/**
|
|
1176
|
-
* optional SolanaMintTokenOption solana_mint_token_option = 1;
|
|
1177
|
-
* @return {?proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption}
|
|
1178
|
-
*/
|
|
1179
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.prototype.getSolanaMintTokenOption = function() {
|
|
1180
|
-
return /** @type{?proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption} */ (
|
|
1181
|
-
jspb.Message.getWrapperField(this, proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption, 1));
|
|
1182
|
-
};
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
/**
|
|
1186
|
-
* @param {?proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption|undefined} value
|
|
1187
|
-
* @return {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption} returns this
|
|
1188
|
-
*/
|
|
1189
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.prototype.setSolanaMintTokenOption = function(value) {
|
|
1190
|
-
return jspb.Message.setOneofWrapperField(this, 1, proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.oneofGroups_[0], value);
|
|
1191
|
-
};
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
/**
|
|
1195
|
-
* Clears the message field making it undefined.
|
|
1196
|
-
* @return {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption} returns this
|
|
1197
|
-
*/
|
|
1198
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.prototype.clearSolanaMintTokenOption = function() {
|
|
1199
|
-
return this.setSolanaMintTokenOption(undefined);
|
|
1200
|
-
};
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
/**
|
|
1204
|
-
* Returns whether this field is set.
|
|
1205
|
-
* @return {boolean}
|
|
1206
|
-
*/
|
|
1207
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.prototype.hasSolanaMintTokenOption = function() {
|
|
1208
|
-
return jspb.Message.getField(this, 1) != null;
|
|
1209
|
-
};
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1216
|
-
/**
|
|
1217
|
-
* Creates an object representation of this proto.
|
|
1218
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1219
|
-
* Optional fields that are not set will be set to undefined.
|
|
1220
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1221
|
-
* For the list of reserved names please see:
|
|
1222
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1223
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1224
|
-
* JSPB instance for transitional soy proto support:
|
|
1225
|
-
* http://goto/soy-param-migration
|
|
1226
|
-
* @return {!Object}
|
|
1227
|
-
*/
|
|
1228
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption.prototype.toObject = function(opt_includeInstance) {
|
|
1229
|
-
return proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption.toObject(opt_includeInstance, this);
|
|
1230
|
-
};
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
/**
|
|
1234
|
-
* Static version of the {@see toObject} method.
|
|
1235
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1236
|
-
* the JSPB instance for transitional soy proto support:
|
|
1237
|
-
* http://goto/soy-param-migration
|
|
1238
|
-
* @param {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption} msg The msg instance to transform.
|
|
1239
|
-
* @return {!Object}
|
|
1240
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1241
|
-
*/
|
|
1242
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption.toObject = function(includeInstance, msg) {
|
|
1243
|
-
var f, obj = {
|
|
1244
|
-
token: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
1245
|
-
};
|
|
1246
|
-
|
|
1247
|
-
if (includeInstance) {
|
|
1248
|
-
obj.$jspbMessageInstance = msg;
|
|
1249
|
-
}
|
|
1250
|
-
return obj;
|
|
1251
|
-
};
|
|
1252
|
-
}
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
/**
|
|
1256
|
-
* Deserializes binary data (in protobuf wire format).
|
|
1257
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1258
|
-
* @return {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption}
|
|
1259
|
-
*/
|
|
1260
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption.deserializeBinary = function(bytes) {
|
|
1261
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
1262
|
-
var msg = new proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption;
|
|
1263
|
-
return proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption.deserializeBinaryFromReader(msg, reader);
|
|
1264
|
-
};
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
/**
|
|
1268
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
1269
|
-
* given reader into the given message object.
|
|
1270
|
-
* @param {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption} msg The message object to deserialize into.
|
|
1271
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1272
|
-
* @return {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption}
|
|
1273
|
-
*/
|
|
1274
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption.deserializeBinaryFromReader = function(msg, reader) {
|
|
1275
|
-
while (reader.nextField()) {
|
|
1276
|
-
if (reader.isEndGroup()) {
|
|
1277
|
-
break;
|
|
1278
|
-
}
|
|
1279
|
-
var field = reader.getFieldNumber();
|
|
1280
|
-
switch (field) {
|
|
1281
|
-
case 1:
|
|
1282
|
-
var value = /** @type {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintToken} */ (reader.readEnum());
|
|
1283
|
-
msg.setToken(value);
|
|
1284
|
-
break;
|
|
1285
|
-
default:
|
|
1286
|
-
reader.skipField();
|
|
1287
|
-
break;
|
|
1288
|
-
}
|
|
1289
|
-
}
|
|
1290
|
-
return msg;
|
|
1291
|
-
};
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
/**
|
|
1295
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
1296
|
-
* @return {!Uint8Array}
|
|
1297
|
-
*/
|
|
1298
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption.prototype.serializeBinary = function() {
|
|
1299
|
-
var writer = new jspb.BinaryWriter();
|
|
1300
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption.serializeBinaryToWriter(this, writer);
|
|
1301
|
-
return writer.getResultBuffer();
|
|
1302
|
-
};
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
/**
|
|
1306
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
1307
|
-
* format), writing to the given BinaryWriter.
|
|
1308
|
-
* @param {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption} message
|
|
1309
|
-
* @param {!jspb.BinaryWriter} writer
|
|
1310
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1311
|
-
*/
|
|
1312
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption.serializeBinaryToWriter = function(message, writer) {
|
|
1313
|
-
var f = undefined;
|
|
1314
|
-
f = message.getToken();
|
|
1315
|
-
if (f !== 0.0) {
|
|
1316
|
-
writer.writeEnum(
|
|
1317
|
-
1,
|
|
1318
|
-
f
|
|
1319
|
-
);
|
|
1320
|
-
}
|
|
1321
|
-
};
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
/**
|
|
1325
|
-
* optional SolanaMintToken token = 1;
|
|
1326
|
-
* @return {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintToken}
|
|
1327
|
-
*/
|
|
1328
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption.prototype.getToken = function() {
|
|
1329
|
-
return /** @type {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintToken} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
1330
|
-
};
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
/**
|
|
1334
|
-
* @param {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintToken} value
|
|
1335
|
-
* @return {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption} returns this
|
|
1336
|
-
*/
|
|
1337
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption.prototype.setToken = function(value) {
|
|
1338
|
-
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
1339
|
-
};
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
/**
|
|
1343
|
-
* @enum {number}
|
|
1344
|
-
*/
|
|
1345
|
-
proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintToken = {
|
|
1346
|
-
SOLANA_MINT_TOKEN_UNSPECIFIED: 0,
|
|
1347
|
-
SOLANA_MINT_TOKEN_LEGACY: 1,
|
|
1348
|
-
SOLANA_MINT_TOKEN_2022: 2
|
|
1349
|
-
};
|
|
1350
|
-
|
|
1351
756
|
goog.object.extend(exports, proto.meshtrade.testing.ledger.token_tap.v1);
|