@ocap/proto 1.23.1 → 1.24.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/gen/spec.json +29 -0
- package/lib/gen/state_pb.js +110 -1
- package/lib/gen/trace-type_pb.js +60 -0
- package/lib/gen/tx_pb.js +30 -0
- package/lib/gen/type_pb.js +31 -1
- package/package.json +1 -1
- package/lib/gen/service.graphqls +0 -1827
- package/lib/gen/service.pb.graphqls +0 -2129
package/lib/gen/spec.json
CHANGED
|
@@ -1330,6 +1330,10 @@
|
|
|
1330
1330
|
"icon": {
|
|
1331
1331
|
"type": "string",
|
|
1332
1332
|
"id": 7
|
|
1333
|
+
},
|
|
1334
|
+
"maxTotalSupply": {
|
|
1335
|
+
"type": "string",
|
|
1336
|
+
"id": 8
|
|
1333
1337
|
}
|
|
1334
1338
|
}
|
|
1335
1339
|
},
|
|
@@ -2897,6 +2901,11 @@
|
|
|
2897
2901
|
"type": "VaultConfig",
|
|
2898
2902
|
"id": 9
|
|
2899
2903
|
},
|
|
2904
|
+
"reservedSymbols": {
|
|
2905
|
+
"rule": "repeated",
|
|
2906
|
+
"type": "string",
|
|
2907
|
+
"id": 10
|
|
2908
|
+
},
|
|
2900
2909
|
"data": {
|
|
2901
2910
|
"type": "google.protobuf.Any",
|
|
2902
2911
|
"id": 2047
|
|
@@ -3053,6 +3062,14 @@
|
|
|
3053
3062
|
"type": "string",
|
|
3054
3063
|
"id": 11
|
|
3055
3064
|
},
|
|
3065
|
+
"initialSupply": {
|
|
3066
|
+
"type": "string",
|
|
3067
|
+
"id": 12
|
|
3068
|
+
},
|
|
3069
|
+
"maxTotalSupply": {
|
|
3070
|
+
"type": "string",
|
|
3071
|
+
"id": 13
|
|
3072
|
+
},
|
|
3056
3073
|
"context": {
|
|
3057
3074
|
"type": "StateContext",
|
|
3058
3075
|
"id": 15
|
|
@@ -3822,6 +3839,10 @@
|
|
|
3822
3839
|
"type": "string",
|
|
3823
3840
|
"id": 9
|
|
3824
3841
|
},
|
|
3842
|
+
"maxTotalSupply": {
|
|
3843
|
+
"type": "string",
|
|
3844
|
+
"id": 10
|
|
3845
|
+
},
|
|
3825
3846
|
"foreignToken": {
|
|
3826
3847
|
"type": "ForeignToken",
|
|
3827
3848
|
"id": 16
|
|
@@ -5518,6 +5539,14 @@
|
|
|
5518
5539
|
"type": "string",
|
|
5519
5540
|
"id": 14
|
|
5520
5541
|
},
|
|
5542
|
+
"maxTotalSupply": {
|
|
5543
|
+
"type": "string",
|
|
5544
|
+
"id": 15
|
|
5545
|
+
},
|
|
5546
|
+
"initialSupply": {
|
|
5547
|
+
"type": "string",
|
|
5548
|
+
"id": 16
|
|
5549
|
+
},
|
|
5521
5550
|
"data": {
|
|
5522
5551
|
"type": "google.protobuf.Any",
|
|
5523
5552
|
"id": 50
|
package/lib/gen/state_pb.js
CHANGED
|
@@ -1720,7 +1720,7 @@ proto.ocap.AssetState.prototype.hasData = function() {
|
|
|
1720
1720
|
* @private {!Array<number>}
|
|
1721
1721
|
* @const
|
|
1722
1722
|
*/
|
|
1723
|
-
proto.ocap.ForgeState.repeatedFields_ = [8];
|
|
1723
|
+
proto.ocap.ForgeState.repeatedFields_ = [8,10];
|
|
1724
1724
|
|
|
1725
1725
|
|
|
1726
1726
|
|
|
@@ -1763,6 +1763,7 @@ proto.ocap.ForgeState.toObject = function(includeInstance, msg) {
|
|
|
1763
1763
|
accountConfigList: jspb.Message.toObjectList(msg.getAccountConfigList(),
|
|
1764
1764
|
type_pb.AccountConfig.toObject, includeInstance),
|
|
1765
1765
|
vaults: (f = msg.getVaults()) && type_pb.VaultConfig.toObject(includeInstance, f),
|
|
1766
|
+
reservedSymbolsList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f,
|
|
1766
1767
|
data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
|
|
1767
1768
|
};
|
|
1768
1769
|
|
|
@@ -1844,6 +1845,10 @@ proto.ocap.ForgeState.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
1844
1845
|
reader.readMessage(value,type_pb.VaultConfig.deserializeBinaryFromReader);
|
|
1845
1846
|
msg.setVaults(value);
|
|
1846
1847
|
break;
|
|
1848
|
+
case 10:
|
|
1849
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1850
|
+
msg.addReservedSymbols(value);
|
|
1851
|
+
break;
|
|
1847
1852
|
case 2047:
|
|
1848
1853
|
var value = new google_protobuf_any_pb.Any;
|
|
1849
1854
|
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
|
|
@@ -1944,6 +1949,13 @@ proto.ocap.ForgeState.serializeBinaryToWriter = function(message, writer) {
|
|
|
1944
1949
|
type_pb.VaultConfig.serializeBinaryToWriter
|
|
1945
1950
|
);
|
|
1946
1951
|
}
|
|
1952
|
+
f = message.getReservedSymbolsList();
|
|
1953
|
+
if (f.length > 0) {
|
|
1954
|
+
writer.writeRepeatedString(
|
|
1955
|
+
10,
|
|
1956
|
+
f
|
|
1957
|
+
);
|
|
1958
|
+
}
|
|
1947
1959
|
f = message.getData();
|
|
1948
1960
|
if (f != null) {
|
|
1949
1961
|
writer.writeMessage(
|
|
@@ -2236,6 +2248,43 @@ proto.ocap.ForgeState.prototype.hasVaults = function() {
|
|
|
2236
2248
|
};
|
|
2237
2249
|
|
|
2238
2250
|
|
|
2251
|
+
/**
|
|
2252
|
+
* repeated string reserved_symbols = 10;
|
|
2253
|
+
* @return {!Array<string>}
|
|
2254
|
+
*/
|
|
2255
|
+
proto.ocap.ForgeState.prototype.getReservedSymbolsList = function() {
|
|
2256
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 10));
|
|
2257
|
+
};
|
|
2258
|
+
|
|
2259
|
+
|
|
2260
|
+
/**
|
|
2261
|
+
* @param {!Array<string>} value
|
|
2262
|
+
* @return {!proto.ocap.ForgeState} returns this
|
|
2263
|
+
*/
|
|
2264
|
+
proto.ocap.ForgeState.prototype.setReservedSymbolsList = function(value) {
|
|
2265
|
+
return jspb.Message.setField(this, 10, value || []);
|
|
2266
|
+
};
|
|
2267
|
+
|
|
2268
|
+
|
|
2269
|
+
/**
|
|
2270
|
+
* @param {string} value
|
|
2271
|
+
* @param {number=} opt_index
|
|
2272
|
+
* @return {!proto.ocap.ForgeState} returns this
|
|
2273
|
+
*/
|
|
2274
|
+
proto.ocap.ForgeState.prototype.addReservedSymbols = function(value, opt_index) {
|
|
2275
|
+
return jspb.Message.addToRepeatedField(this, 10, value, opt_index);
|
|
2276
|
+
};
|
|
2277
|
+
|
|
2278
|
+
|
|
2279
|
+
/**
|
|
2280
|
+
* Clears the list making it empty but non-null.
|
|
2281
|
+
* @return {!proto.ocap.ForgeState} returns this
|
|
2282
|
+
*/
|
|
2283
|
+
proto.ocap.ForgeState.prototype.clearReservedSymbolsList = function() {
|
|
2284
|
+
return this.setReservedSymbolsList([]);
|
|
2285
|
+
};
|
|
2286
|
+
|
|
2287
|
+
|
|
2239
2288
|
/**
|
|
2240
2289
|
* optional google.protobuf.Any data = 2047;
|
|
2241
2290
|
* @return {?proto.google.protobuf.Any}
|
|
@@ -3438,6 +3487,8 @@ proto.ocap.TokenState.toObject = function(includeInstance, msg) {
|
|
|
3438
3487
|
totalSupply: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
3439
3488
|
foreignToken: (f = msg.getForeignToken()) && type_pb.ForeignToken.toObject(includeInstance, f),
|
|
3440
3489
|
tokenFactoryAddress: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
3490
|
+
initialSupply: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
3491
|
+
maxTotalSupply: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
3441
3492
|
context: (f = msg.getContext()) && type_pb.StateContext.toObject(includeInstance, f),
|
|
3442
3493
|
data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
|
|
3443
3494
|
};
|
|
@@ -3521,6 +3572,14 @@ proto.ocap.TokenState.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
3521
3572
|
var value = /** @type {string} */ (reader.readString());
|
|
3522
3573
|
msg.setTokenFactoryAddress(value);
|
|
3523
3574
|
break;
|
|
3575
|
+
case 12:
|
|
3576
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3577
|
+
msg.setInitialSupply(value);
|
|
3578
|
+
break;
|
|
3579
|
+
case 13:
|
|
3580
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3581
|
+
msg.setMaxTotalSupply(value);
|
|
3582
|
+
break;
|
|
3524
3583
|
case 15:
|
|
3525
3584
|
var value = new type_pb.StateContext;
|
|
3526
3585
|
reader.readMessage(value,type_pb.StateContext.deserializeBinaryFromReader);
|
|
@@ -3638,6 +3697,20 @@ proto.ocap.TokenState.serializeBinaryToWriter = function(message, writer) {
|
|
|
3638
3697
|
f
|
|
3639
3698
|
);
|
|
3640
3699
|
}
|
|
3700
|
+
f = message.getInitialSupply();
|
|
3701
|
+
if (f.length > 0) {
|
|
3702
|
+
writer.writeString(
|
|
3703
|
+
12,
|
|
3704
|
+
f
|
|
3705
|
+
);
|
|
3706
|
+
}
|
|
3707
|
+
f = message.getMaxTotalSupply();
|
|
3708
|
+
if (f.length > 0) {
|
|
3709
|
+
writer.writeString(
|
|
3710
|
+
13,
|
|
3711
|
+
f
|
|
3712
|
+
);
|
|
3713
|
+
}
|
|
3641
3714
|
f = message.getContext();
|
|
3642
3715
|
if (f != null) {
|
|
3643
3716
|
writer.writeMessage(
|
|
@@ -3874,6 +3947,42 @@ proto.ocap.TokenState.prototype.setTokenFactoryAddress = function(value) {
|
|
|
3874
3947
|
};
|
|
3875
3948
|
|
|
3876
3949
|
|
|
3950
|
+
/**
|
|
3951
|
+
* optional string initial_supply = 12;
|
|
3952
|
+
* @return {string}
|
|
3953
|
+
*/
|
|
3954
|
+
proto.ocap.TokenState.prototype.getInitialSupply = function() {
|
|
3955
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
3956
|
+
};
|
|
3957
|
+
|
|
3958
|
+
|
|
3959
|
+
/**
|
|
3960
|
+
* @param {string} value
|
|
3961
|
+
* @return {!proto.ocap.TokenState} returns this
|
|
3962
|
+
*/
|
|
3963
|
+
proto.ocap.TokenState.prototype.setInitialSupply = function(value) {
|
|
3964
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
3965
|
+
};
|
|
3966
|
+
|
|
3967
|
+
|
|
3968
|
+
/**
|
|
3969
|
+
* optional string max_total_supply = 13;
|
|
3970
|
+
* @return {string}
|
|
3971
|
+
*/
|
|
3972
|
+
proto.ocap.TokenState.prototype.getMaxTotalSupply = function() {
|
|
3973
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
3974
|
+
};
|
|
3975
|
+
|
|
3976
|
+
|
|
3977
|
+
/**
|
|
3978
|
+
* @param {string} value
|
|
3979
|
+
* @return {!proto.ocap.TokenState} returns this
|
|
3980
|
+
*/
|
|
3981
|
+
proto.ocap.TokenState.prototype.setMaxTotalSupply = function(value) {
|
|
3982
|
+
return jspb.Message.setProto3StringField(this, 13, value);
|
|
3983
|
+
};
|
|
3984
|
+
|
|
3985
|
+
|
|
3877
3986
|
/**
|
|
3878
3987
|
* optional StateContext context = 15;
|
|
3879
3988
|
* @return {?proto.ocap.StateContext}
|
package/lib/gen/trace-type_pb.js
CHANGED
|
@@ -6699,6 +6699,8 @@ proto.ocap.IndexedTokenState.toObject = function(includeInstance, msg) {
|
|
|
6699
6699
|
renaissanceTime: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
6700
6700
|
foreignToken: (f = msg.getForeignToken()) && type_pb.ForeignToken.toObject(includeInstance, f),
|
|
6701
6701
|
tokenFactoryAddress: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
6702
|
+
maxTotalSupply: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
6703
|
+
initialSupply: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
6702
6704
|
data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
|
|
6703
6705
|
};
|
|
6704
6706
|
|
|
@@ -6789,6 +6791,14 @@ proto.ocap.IndexedTokenState.deserializeBinaryFromReader = function(msg, reader)
|
|
|
6789
6791
|
var value = /** @type {string} */ (reader.readString());
|
|
6790
6792
|
msg.setTokenFactoryAddress(value);
|
|
6791
6793
|
break;
|
|
6794
|
+
case 15:
|
|
6795
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6796
|
+
msg.setMaxTotalSupply(value);
|
|
6797
|
+
break;
|
|
6798
|
+
case 16:
|
|
6799
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6800
|
+
msg.setInitialSupply(value);
|
|
6801
|
+
break;
|
|
6792
6802
|
case 50:
|
|
6793
6803
|
var value = new google_protobuf_any_pb.Any;
|
|
6794
6804
|
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
|
|
@@ -6915,6 +6925,20 @@ proto.ocap.IndexedTokenState.serializeBinaryToWriter = function(message, writer)
|
|
|
6915
6925
|
f
|
|
6916
6926
|
);
|
|
6917
6927
|
}
|
|
6928
|
+
f = message.getMaxTotalSupply();
|
|
6929
|
+
if (f.length > 0) {
|
|
6930
|
+
writer.writeString(
|
|
6931
|
+
15,
|
|
6932
|
+
f
|
|
6933
|
+
);
|
|
6934
|
+
}
|
|
6935
|
+
f = message.getInitialSupply();
|
|
6936
|
+
if (f.length > 0) {
|
|
6937
|
+
writer.writeString(
|
|
6938
|
+
16,
|
|
6939
|
+
f
|
|
6940
|
+
);
|
|
6941
|
+
}
|
|
6918
6942
|
f = message.getData();
|
|
6919
6943
|
if (f != null) {
|
|
6920
6944
|
writer.writeMessage(
|
|
@@ -7179,6 +7203,42 @@ proto.ocap.IndexedTokenState.prototype.setTokenFactoryAddress = function(value)
|
|
|
7179
7203
|
};
|
|
7180
7204
|
|
|
7181
7205
|
|
|
7206
|
+
/**
|
|
7207
|
+
* optional string max_total_supply = 15;
|
|
7208
|
+
* @return {string}
|
|
7209
|
+
*/
|
|
7210
|
+
proto.ocap.IndexedTokenState.prototype.getMaxTotalSupply = function() {
|
|
7211
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
7212
|
+
};
|
|
7213
|
+
|
|
7214
|
+
|
|
7215
|
+
/**
|
|
7216
|
+
* @param {string} value
|
|
7217
|
+
* @return {!proto.ocap.IndexedTokenState} returns this
|
|
7218
|
+
*/
|
|
7219
|
+
proto.ocap.IndexedTokenState.prototype.setMaxTotalSupply = function(value) {
|
|
7220
|
+
return jspb.Message.setProto3StringField(this, 15, value);
|
|
7221
|
+
};
|
|
7222
|
+
|
|
7223
|
+
|
|
7224
|
+
/**
|
|
7225
|
+
* optional string initial_supply = 16;
|
|
7226
|
+
* @return {string}
|
|
7227
|
+
*/
|
|
7228
|
+
proto.ocap.IndexedTokenState.prototype.getInitialSupply = function() {
|
|
7229
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
7230
|
+
};
|
|
7231
|
+
|
|
7232
|
+
|
|
7233
|
+
/**
|
|
7234
|
+
* @param {string} value
|
|
7235
|
+
* @return {!proto.ocap.IndexedTokenState} returns this
|
|
7236
|
+
*/
|
|
7237
|
+
proto.ocap.IndexedTokenState.prototype.setInitialSupply = function(value) {
|
|
7238
|
+
return jspb.Message.setProto3StringField(this, 16, value);
|
|
7239
|
+
};
|
|
7240
|
+
|
|
7241
|
+
|
|
7182
7242
|
/**
|
|
7183
7243
|
* optional google.protobuf.Any data = 50;
|
|
7184
7244
|
* @return {?proto.google.protobuf.Any}
|
package/lib/gen/tx_pb.js
CHANGED
|
@@ -4527,6 +4527,7 @@ proto.ocap.CreateTokenTx.toObject = function(includeInstance, msg) {
|
|
|
4527
4527
|
totalSupply: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
4528
4528
|
address: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
4529
4529
|
initialSupply: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
4530
|
+
maxTotalSupply: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
4530
4531
|
foreignToken: (f = msg.getForeignToken()) && type_pb.ForeignToken.toObject(includeInstance, f),
|
|
4531
4532
|
data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
|
|
4532
4533
|
};
|
|
@@ -4601,6 +4602,10 @@ proto.ocap.CreateTokenTx.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
4601
4602
|
var value = /** @type {string} */ (reader.readString());
|
|
4602
4603
|
msg.setInitialSupply(value);
|
|
4603
4604
|
break;
|
|
4605
|
+
case 10:
|
|
4606
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4607
|
+
msg.setMaxTotalSupply(value);
|
|
4608
|
+
break;
|
|
4604
4609
|
case 16:
|
|
4605
4610
|
var value = new type_pb.ForeignToken;
|
|
4606
4611
|
reader.readMessage(value,type_pb.ForeignToken.deserializeBinaryFromReader);
|
|
@@ -4703,6 +4708,13 @@ proto.ocap.CreateTokenTx.serializeBinaryToWriter = function(message, writer) {
|
|
|
4703
4708
|
f
|
|
4704
4709
|
);
|
|
4705
4710
|
}
|
|
4711
|
+
f = message.getMaxTotalSupply();
|
|
4712
|
+
if (f.length > 0) {
|
|
4713
|
+
writer.writeString(
|
|
4714
|
+
10,
|
|
4715
|
+
f
|
|
4716
|
+
);
|
|
4717
|
+
}
|
|
4706
4718
|
f = message.getForeignToken();
|
|
4707
4719
|
if (f != null) {
|
|
4708
4720
|
writer.writeMessage(
|
|
@@ -4884,6 +4896,24 @@ proto.ocap.CreateTokenTx.prototype.setInitialSupply = function(value) {
|
|
|
4884
4896
|
};
|
|
4885
4897
|
|
|
4886
4898
|
|
|
4899
|
+
/**
|
|
4900
|
+
* optional string max_total_supply = 10;
|
|
4901
|
+
* @return {string}
|
|
4902
|
+
*/
|
|
4903
|
+
proto.ocap.CreateTokenTx.prototype.getMaxTotalSupply = function() {
|
|
4904
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
4905
|
+
};
|
|
4906
|
+
|
|
4907
|
+
|
|
4908
|
+
/**
|
|
4909
|
+
* @param {string} value
|
|
4910
|
+
* @return {!proto.ocap.CreateTokenTx} returns this
|
|
4911
|
+
*/
|
|
4912
|
+
proto.ocap.CreateTokenTx.prototype.setMaxTotalSupply = function(value) {
|
|
4913
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
4914
|
+
};
|
|
4915
|
+
|
|
4916
|
+
|
|
4887
4917
|
/**
|
|
4888
4918
|
* optional ForeignToken foreign_token = 16;
|
|
4889
4919
|
* @return {?proto.ocap.ForeignToken}
|
package/lib/gen/type_pb.js
CHANGED
|
@@ -1637,7 +1637,8 @@ proto.ocap.TokenSymbol.toObject = function(includeInstance, msg) {
|
|
|
1637
1637
|
unit: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1638
1638
|
name: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1639
1639
|
description: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
1640
|
-
icon: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
1640
|
+
icon: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
1641
|
+
maxTotalSupply: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
1641
1642
|
};
|
|
1642
1643
|
|
|
1643
1644
|
if (includeInstance) {
|
|
@@ -1702,6 +1703,10 @@ proto.ocap.TokenSymbol.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
1702
1703
|
var value = /** @type {string} */ (reader.readString());
|
|
1703
1704
|
msg.setIcon(value);
|
|
1704
1705
|
break;
|
|
1706
|
+
case 8:
|
|
1707
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1708
|
+
msg.setMaxTotalSupply(value);
|
|
1709
|
+
break;
|
|
1705
1710
|
default:
|
|
1706
1711
|
reader.skipField();
|
|
1707
1712
|
break;
|
|
@@ -1780,6 +1785,13 @@ proto.ocap.TokenSymbol.serializeBinaryToWriter = function(message, writer) {
|
|
|
1780
1785
|
f
|
|
1781
1786
|
);
|
|
1782
1787
|
}
|
|
1788
|
+
f = message.getMaxTotalSupply();
|
|
1789
|
+
if (f.length > 0) {
|
|
1790
|
+
writer.writeString(
|
|
1791
|
+
8,
|
|
1792
|
+
f
|
|
1793
|
+
);
|
|
1794
|
+
}
|
|
1783
1795
|
};
|
|
1784
1796
|
|
|
1785
1797
|
|
|
@@ -1909,6 +1921,24 @@ proto.ocap.TokenSymbol.prototype.setIcon = function(value) {
|
|
|
1909
1921
|
};
|
|
1910
1922
|
|
|
1911
1923
|
|
|
1924
|
+
/**
|
|
1925
|
+
* optional string max_total_supply = 8;
|
|
1926
|
+
* @return {string}
|
|
1927
|
+
*/
|
|
1928
|
+
proto.ocap.TokenSymbol.prototype.getMaxTotalSupply = function() {
|
|
1929
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
1930
|
+
};
|
|
1931
|
+
|
|
1932
|
+
|
|
1933
|
+
/**
|
|
1934
|
+
* @param {string} value
|
|
1935
|
+
* @return {!proto.ocap.TokenSymbol} returns this
|
|
1936
|
+
*/
|
|
1937
|
+
proto.ocap.TokenSymbol.prototype.setMaxTotalSupply = function(value) {
|
|
1938
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
1939
|
+
};
|
|
1940
|
+
|
|
1941
|
+
|
|
1912
1942
|
|
|
1913
1943
|
|
|
1914
1944
|
|