@gnolang/gnonative 3.0.5 → 4.1.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.
Files changed (59) hide show
  1. package/Makefile +20 -3
  2. package/android/libs/gnocore-sources.jar +0 -0
  3. package/android/libs/gnocore.aar +0 -0
  4. package/android/src/main/java/land/gno/gnonative/GnonativeModule.kt +0 -13
  5. package/build/GoBridge.d.ts +0 -1
  6. package/build/GoBridge.d.ts.map +1 -1
  7. package/build/GoBridge.js +0 -3
  8. package/build/GoBridge.js.map +1 -1
  9. package/build/api/GnoNativeApi.d.ts +5 -5
  10. package/build/api/GnoNativeApi.d.ts.map +1 -1
  11. package/build/api/GnoNativeApi.js +15 -10
  12. package/build/api/GnoNativeApi.js.map +1 -1
  13. package/build/api/types.d.ts +4 -4
  14. package/build/api/types.d.ts.map +1 -1
  15. package/build/api/types.js.map +1 -1
  16. package/build/api/vendor/gnonativetypes_pb.d.ts +1513 -0
  17. package/build/api/vendor/gnonativetypes_pb.d.ts.map +1 -0
  18. package/build/api/vendor/gnonativetypes_pb.js +2506 -0
  19. package/build/api/vendor/gnonativetypes_pb.js.map +1 -0
  20. package/build/api/vendor/rpc_connect.d.ts +461 -0
  21. package/build/api/vendor/rpc_connect.d.ts.map +1 -0
  22. package/build/api/vendor/rpc_connect.js +465 -0
  23. package/build/api/vendor/rpc_connect.js.map +1 -0
  24. package/build/api/vendor/rpc_pb.d.ts +221 -0
  25. package/build/api/vendor/rpc_pb.d.ts.map +1 -0
  26. package/build/api/vendor/rpc_pb.js +277 -0
  27. package/build/api/vendor/rpc_pb.js.map +1 -0
  28. package/build/grpc/client.d.ts +1 -1
  29. package/build/grpc/client.d.ts.map +1 -1
  30. package/build/grpc/client.js +1 -1
  31. package/build/grpc/client.js.map +1 -1
  32. package/build/grpc/error.d.ts +1 -1
  33. package/build/grpc/error.d.ts.map +1 -1
  34. package/build/grpc/error.js +1 -1
  35. package/build/grpc/error.js.map +1 -1
  36. package/build/index.d.ts +2 -2
  37. package/build/index.d.ts.map +1 -1
  38. package/build/index.js +2 -2
  39. package/build/index.js.map +1 -1
  40. package/ios/Frameworks/GnoCore.xcframework/ios-arm64/GnoCore.framework/GnoCore +0 -0
  41. package/ios/Frameworks/GnoCore.xcframework/ios-arm64/GnoCore.framework/Headers/GnoGnonative.objc.h +0 -7
  42. package/ios/Frameworks/GnoCore.xcframework/ios-arm64/GnoCore.framework/Versions/A/GnoCore +0 -0
  43. package/ios/Frameworks/GnoCore.xcframework/ios-arm64/GnoCore.framework/Versions/A/Headers/GnoGnonative.objc.h +0 -7
  44. package/ios/Frameworks/GnoCore.xcframework/ios-arm64/GnoCore.framework/Versions/Current/GnoCore +0 -0
  45. package/ios/Frameworks/GnoCore.xcframework/ios-arm64/GnoCore.framework/Versions/Current/Headers/GnoGnonative.objc.h +0 -7
  46. package/ios/Frameworks/GnoCore.xcframework/ios-arm64_x86_64-simulator/GnoCore.framework/GnoCore +0 -0
  47. package/ios/Frameworks/GnoCore.xcframework/ios-arm64_x86_64-simulator/GnoCore.framework/Headers/GnoGnonative.objc.h +0 -7
  48. package/ios/GnonativeModule.swift +0 -12
  49. package/package.json +1 -3
  50. package/src/GoBridge.ts +0 -5
  51. package/src/api/GnoNativeApi.ts +33 -16
  52. package/src/api/types.ts +12 -5
  53. package/src/api/vendor/gnonativetypes_pb.ts +3074 -0
  54. package/src/api/vendor/rpc_connect.ts +467 -0
  55. package/src/api/vendor/rpc_pb.ts +321 -0
  56. package/src/grpc/client.ts +1 -1
  57. package/src/grpc/error.ts +2 -1
  58. package/src/index.ts +2 -2
  59. package/tsconfig.json +0 -1
@@ -0,0 +1,3074 @@
1
+ // @generated by protoc-gen-es v1.7.2 with parameter "target=ts"
2
+ // @generated from file gnonativetypes.proto (package land.gno.gnonative.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
+ import { Message, proto3, protoInt64 } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * messages
11
+ *
12
+ * @generated from message land.gno.gnonative.v1.SetRemoteRequest
13
+ */
14
+ export class SetRemoteRequest extends Message<SetRemoteRequest> {
15
+ /**
16
+ * @generated from field: string remote = 1;
17
+ */
18
+ remote = "";
19
+
20
+ constructor(data?: PartialMessage<SetRemoteRequest>) {
21
+ super();
22
+ proto3.util.initPartial(data, this);
23
+ }
24
+
25
+ static readonly runtime: typeof proto3 = proto3;
26
+ static readonly typeName = "land.gno.gnonative.v1.SetRemoteRequest";
27
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
28
+ { no: 1, name: "remote", kind: "scalar", T: 9 /* ScalarType.STRING */ },
29
+ ]);
30
+
31
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetRemoteRequest {
32
+ return new SetRemoteRequest().fromBinary(bytes, options);
33
+ }
34
+
35
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetRemoteRequest {
36
+ return new SetRemoteRequest().fromJson(jsonValue, options);
37
+ }
38
+
39
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetRemoteRequest {
40
+ return new SetRemoteRequest().fromJsonString(jsonString, options);
41
+ }
42
+
43
+ static equals(a: SetRemoteRequest | PlainMessage<SetRemoteRequest> | undefined, b: SetRemoteRequest | PlainMessage<SetRemoteRequest> | undefined): boolean {
44
+ return proto3.util.equals(SetRemoteRequest, a, b);
45
+ }
46
+ }
47
+
48
+ /**
49
+ * @generated from message land.gno.gnonative.v1.SetRemoteResponse
50
+ */
51
+ export class SetRemoteResponse extends Message<SetRemoteResponse> {
52
+ constructor(data?: PartialMessage<SetRemoteResponse>) {
53
+ super();
54
+ proto3.util.initPartial(data, this);
55
+ }
56
+
57
+ static readonly runtime: typeof proto3 = proto3;
58
+ static readonly typeName = "land.gno.gnonative.v1.SetRemoteResponse";
59
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
60
+ ]);
61
+
62
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetRemoteResponse {
63
+ return new SetRemoteResponse().fromBinary(bytes, options);
64
+ }
65
+
66
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetRemoteResponse {
67
+ return new SetRemoteResponse().fromJson(jsonValue, options);
68
+ }
69
+
70
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetRemoteResponse {
71
+ return new SetRemoteResponse().fromJsonString(jsonString, options);
72
+ }
73
+
74
+ static equals(a: SetRemoteResponse | PlainMessage<SetRemoteResponse> | undefined, b: SetRemoteResponse | PlainMessage<SetRemoteResponse> | undefined): boolean {
75
+ return proto3.util.equals(SetRemoteResponse, a, b);
76
+ }
77
+ }
78
+
79
+ /**
80
+ * @generated from message land.gno.gnonative.v1.GetRemoteRequest
81
+ */
82
+ export class GetRemoteRequest extends Message<GetRemoteRequest> {
83
+ constructor(data?: PartialMessage<GetRemoteRequest>) {
84
+ super();
85
+ proto3.util.initPartial(data, this);
86
+ }
87
+
88
+ static readonly runtime: typeof proto3 = proto3;
89
+ static readonly typeName = "land.gno.gnonative.v1.GetRemoteRequest";
90
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
91
+ ]);
92
+
93
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRemoteRequest {
94
+ return new GetRemoteRequest().fromBinary(bytes, options);
95
+ }
96
+
97
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRemoteRequest {
98
+ return new GetRemoteRequest().fromJson(jsonValue, options);
99
+ }
100
+
101
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRemoteRequest {
102
+ return new GetRemoteRequest().fromJsonString(jsonString, options);
103
+ }
104
+
105
+ static equals(a: GetRemoteRequest | PlainMessage<GetRemoteRequest> | undefined, b: GetRemoteRequest | PlainMessage<GetRemoteRequest> | undefined): boolean {
106
+ return proto3.util.equals(GetRemoteRequest, a, b);
107
+ }
108
+ }
109
+
110
+ /**
111
+ * @generated from message land.gno.gnonative.v1.GetRemoteResponse
112
+ */
113
+ export class GetRemoteResponse extends Message<GetRemoteResponse> {
114
+ /**
115
+ * @generated from field: string remote = 1;
116
+ */
117
+ remote = "";
118
+
119
+ constructor(data?: PartialMessage<GetRemoteResponse>) {
120
+ super();
121
+ proto3.util.initPartial(data, this);
122
+ }
123
+
124
+ static readonly runtime: typeof proto3 = proto3;
125
+ static readonly typeName = "land.gno.gnonative.v1.GetRemoteResponse";
126
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
127
+ { no: 1, name: "remote", kind: "scalar", T: 9 /* ScalarType.STRING */ },
128
+ ]);
129
+
130
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRemoteResponse {
131
+ return new GetRemoteResponse().fromBinary(bytes, options);
132
+ }
133
+
134
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRemoteResponse {
135
+ return new GetRemoteResponse().fromJson(jsonValue, options);
136
+ }
137
+
138
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRemoteResponse {
139
+ return new GetRemoteResponse().fromJsonString(jsonString, options);
140
+ }
141
+
142
+ static equals(a: GetRemoteResponse | PlainMessage<GetRemoteResponse> | undefined, b: GetRemoteResponse | PlainMessage<GetRemoteResponse> | undefined): boolean {
143
+ return proto3.util.equals(GetRemoteResponse, a, b);
144
+ }
145
+ }
146
+
147
+ /**
148
+ * @generated from message land.gno.gnonative.v1.SetChainIDRequest
149
+ */
150
+ export class SetChainIDRequest extends Message<SetChainIDRequest> {
151
+ /**
152
+ * @generated from field: string chain_id = 1;
153
+ */
154
+ chainId = "";
155
+
156
+ constructor(data?: PartialMessage<SetChainIDRequest>) {
157
+ super();
158
+ proto3.util.initPartial(data, this);
159
+ }
160
+
161
+ static readonly runtime: typeof proto3 = proto3;
162
+ static readonly typeName = "land.gno.gnonative.v1.SetChainIDRequest";
163
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
164
+ { no: 1, name: "chain_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
165
+ ]);
166
+
167
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetChainIDRequest {
168
+ return new SetChainIDRequest().fromBinary(bytes, options);
169
+ }
170
+
171
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetChainIDRequest {
172
+ return new SetChainIDRequest().fromJson(jsonValue, options);
173
+ }
174
+
175
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetChainIDRequest {
176
+ return new SetChainIDRequest().fromJsonString(jsonString, options);
177
+ }
178
+
179
+ static equals(a: SetChainIDRequest | PlainMessage<SetChainIDRequest> | undefined, b: SetChainIDRequest | PlainMessage<SetChainIDRequest> | undefined): boolean {
180
+ return proto3.util.equals(SetChainIDRequest, a, b);
181
+ }
182
+ }
183
+
184
+ /**
185
+ * @generated from message land.gno.gnonative.v1.SetChainIDResponse
186
+ */
187
+ export class SetChainIDResponse extends Message<SetChainIDResponse> {
188
+ constructor(data?: PartialMessage<SetChainIDResponse>) {
189
+ super();
190
+ proto3.util.initPartial(data, this);
191
+ }
192
+
193
+ static readonly runtime: typeof proto3 = proto3;
194
+ static readonly typeName = "land.gno.gnonative.v1.SetChainIDResponse";
195
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
196
+ ]);
197
+
198
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetChainIDResponse {
199
+ return new SetChainIDResponse().fromBinary(bytes, options);
200
+ }
201
+
202
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetChainIDResponse {
203
+ return new SetChainIDResponse().fromJson(jsonValue, options);
204
+ }
205
+
206
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetChainIDResponse {
207
+ return new SetChainIDResponse().fromJsonString(jsonString, options);
208
+ }
209
+
210
+ static equals(a: SetChainIDResponse | PlainMessage<SetChainIDResponse> | undefined, b: SetChainIDResponse | PlainMessage<SetChainIDResponse> | undefined): boolean {
211
+ return proto3.util.equals(SetChainIDResponse, a, b);
212
+ }
213
+ }
214
+
215
+ /**
216
+ * @generated from message land.gno.gnonative.v1.GetChainIDRequest
217
+ */
218
+ export class GetChainIDRequest extends Message<GetChainIDRequest> {
219
+ constructor(data?: PartialMessage<GetChainIDRequest>) {
220
+ super();
221
+ proto3.util.initPartial(data, this);
222
+ }
223
+
224
+ static readonly runtime: typeof proto3 = proto3;
225
+ static readonly typeName = "land.gno.gnonative.v1.GetChainIDRequest";
226
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
227
+ ]);
228
+
229
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetChainIDRequest {
230
+ return new GetChainIDRequest().fromBinary(bytes, options);
231
+ }
232
+
233
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetChainIDRequest {
234
+ return new GetChainIDRequest().fromJson(jsonValue, options);
235
+ }
236
+
237
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetChainIDRequest {
238
+ return new GetChainIDRequest().fromJsonString(jsonString, options);
239
+ }
240
+
241
+ static equals(a: GetChainIDRequest | PlainMessage<GetChainIDRequest> | undefined, b: GetChainIDRequest | PlainMessage<GetChainIDRequest> | undefined): boolean {
242
+ return proto3.util.equals(GetChainIDRequest, a, b);
243
+ }
244
+ }
245
+
246
+ /**
247
+ * @generated from message land.gno.gnonative.v1.GetChainIDResponse
248
+ */
249
+ export class GetChainIDResponse extends Message<GetChainIDResponse> {
250
+ /**
251
+ * @generated from field: string chain_id = 1;
252
+ */
253
+ chainId = "";
254
+
255
+ constructor(data?: PartialMessage<GetChainIDResponse>) {
256
+ super();
257
+ proto3.util.initPartial(data, this);
258
+ }
259
+
260
+ static readonly runtime: typeof proto3 = proto3;
261
+ static readonly typeName = "land.gno.gnonative.v1.GetChainIDResponse";
262
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
263
+ { no: 1, name: "chain_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
264
+ ]);
265
+
266
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetChainIDResponse {
267
+ return new GetChainIDResponse().fromBinary(bytes, options);
268
+ }
269
+
270
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetChainIDResponse {
271
+ return new GetChainIDResponse().fromJson(jsonValue, options);
272
+ }
273
+
274
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetChainIDResponse {
275
+ return new GetChainIDResponse().fromJsonString(jsonString, options);
276
+ }
277
+
278
+ static equals(a: GetChainIDResponse | PlainMessage<GetChainIDResponse> | undefined, b: GetChainIDResponse | PlainMessage<GetChainIDResponse> | undefined): boolean {
279
+ return proto3.util.equals(GetChainIDResponse, a, b);
280
+ }
281
+ }
282
+
283
+ /**
284
+ * @generated from message land.gno.gnonative.v1.SetPasswordRequest
285
+ */
286
+ export class SetPasswordRequest extends Message<SetPasswordRequest> {
287
+ /**
288
+ * @generated from field: string password = 1;
289
+ */
290
+ password = "";
291
+
292
+ /**
293
+ * The address of the account to set the password
294
+ *
295
+ * @generated from field: bytes address = 2;
296
+ */
297
+ address = new Uint8Array(0);
298
+
299
+ constructor(data?: PartialMessage<SetPasswordRequest>) {
300
+ super();
301
+ proto3.util.initPartial(data, this);
302
+ }
303
+
304
+ static readonly runtime: typeof proto3 = proto3;
305
+ static readonly typeName = "land.gno.gnonative.v1.SetPasswordRequest";
306
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
307
+ { no: 1, name: "password", kind: "scalar", T: 9 /* ScalarType.STRING */ },
308
+ { no: 2, name: "address", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
309
+ ]);
310
+
311
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetPasswordRequest {
312
+ return new SetPasswordRequest().fromBinary(bytes, options);
313
+ }
314
+
315
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetPasswordRequest {
316
+ return new SetPasswordRequest().fromJson(jsonValue, options);
317
+ }
318
+
319
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetPasswordRequest {
320
+ return new SetPasswordRequest().fromJsonString(jsonString, options);
321
+ }
322
+
323
+ static equals(a: SetPasswordRequest | PlainMessage<SetPasswordRequest> | undefined, b: SetPasswordRequest | PlainMessage<SetPasswordRequest> | undefined): boolean {
324
+ return proto3.util.equals(SetPasswordRequest, a, b);
325
+ }
326
+ }
327
+
328
+ /**
329
+ * @generated from message land.gno.gnonative.v1.SetPasswordResponse
330
+ */
331
+ export class SetPasswordResponse extends Message<SetPasswordResponse> {
332
+ constructor(data?: PartialMessage<SetPasswordResponse>) {
333
+ super();
334
+ proto3.util.initPartial(data, this);
335
+ }
336
+
337
+ static readonly runtime: typeof proto3 = proto3;
338
+ static readonly typeName = "land.gno.gnonative.v1.SetPasswordResponse";
339
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
340
+ ]);
341
+
342
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetPasswordResponse {
343
+ return new SetPasswordResponse().fromBinary(bytes, options);
344
+ }
345
+
346
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetPasswordResponse {
347
+ return new SetPasswordResponse().fromJson(jsonValue, options);
348
+ }
349
+
350
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetPasswordResponse {
351
+ return new SetPasswordResponse().fromJsonString(jsonString, options);
352
+ }
353
+
354
+ static equals(a: SetPasswordResponse | PlainMessage<SetPasswordResponse> | undefined, b: SetPasswordResponse | PlainMessage<SetPasswordResponse> | undefined): boolean {
355
+ return proto3.util.equals(SetPasswordResponse, a, b);
356
+ }
357
+ }
358
+
359
+ /**
360
+ * @generated from message land.gno.gnonative.v1.RotatePasswordRequest
361
+ */
362
+ export class RotatePasswordRequest extends Message<RotatePasswordRequest> {
363
+ /**
364
+ * @generated from field: string new_password = 1;
365
+ */
366
+ newPassword = "";
367
+
368
+ /**
369
+ * The addresses of the account to rotate the password
370
+ *
371
+ * @generated from field: repeated bytes addresses = 2;
372
+ */
373
+ addresses: Uint8Array[] = [];
374
+
375
+ constructor(data?: PartialMessage<RotatePasswordRequest>) {
376
+ super();
377
+ proto3.util.initPartial(data, this);
378
+ }
379
+
380
+ static readonly runtime: typeof proto3 = proto3;
381
+ static readonly typeName = "land.gno.gnonative.v1.RotatePasswordRequest";
382
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
383
+ { no: 1, name: "new_password", kind: "scalar", T: 9 /* ScalarType.STRING */ },
384
+ { no: 2, name: "addresses", kind: "scalar", T: 12 /* ScalarType.BYTES */, repeated: true },
385
+ ]);
386
+
387
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RotatePasswordRequest {
388
+ return new RotatePasswordRequest().fromBinary(bytes, options);
389
+ }
390
+
391
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RotatePasswordRequest {
392
+ return new RotatePasswordRequest().fromJson(jsonValue, options);
393
+ }
394
+
395
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RotatePasswordRequest {
396
+ return new RotatePasswordRequest().fromJsonString(jsonString, options);
397
+ }
398
+
399
+ static equals(a: RotatePasswordRequest | PlainMessage<RotatePasswordRequest> | undefined, b: RotatePasswordRequest | PlainMessage<RotatePasswordRequest> | undefined): boolean {
400
+ return proto3.util.equals(RotatePasswordRequest, a, b);
401
+ }
402
+ }
403
+
404
+ /**
405
+ * @generated from message land.gno.gnonative.v1.RotatePasswordResponse
406
+ */
407
+ export class RotatePasswordResponse extends Message<RotatePasswordResponse> {
408
+ constructor(data?: PartialMessage<RotatePasswordResponse>) {
409
+ super();
410
+ proto3.util.initPartial(data, this);
411
+ }
412
+
413
+ static readonly runtime: typeof proto3 = proto3;
414
+ static readonly typeName = "land.gno.gnonative.v1.RotatePasswordResponse";
415
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
416
+ ]);
417
+
418
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RotatePasswordResponse {
419
+ return new RotatePasswordResponse().fromBinary(bytes, options);
420
+ }
421
+
422
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RotatePasswordResponse {
423
+ return new RotatePasswordResponse().fromJson(jsonValue, options);
424
+ }
425
+
426
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RotatePasswordResponse {
427
+ return new RotatePasswordResponse().fromJsonString(jsonString, options);
428
+ }
429
+
430
+ static equals(a: RotatePasswordResponse | PlainMessage<RotatePasswordResponse> | undefined, b: RotatePasswordResponse | PlainMessage<RotatePasswordResponse> | undefined): boolean {
431
+ return proto3.util.equals(RotatePasswordResponse, a, b);
432
+ }
433
+ }
434
+
435
+ /**
436
+ * @generated from message land.gno.gnonative.v1.GenerateRecoveryPhraseRequest
437
+ */
438
+ export class GenerateRecoveryPhraseRequest extends Message<GenerateRecoveryPhraseRequest> {
439
+ constructor(data?: PartialMessage<GenerateRecoveryPhraseRequest>) {
440
+ super();
441
+ proto3.util.initPartial(data, this);
442
+ }
443
+
444
+ static readonly runtime: typeof proto3 = proto3;
445
+ static readonly typeName = "land.gno.gnonative.v1.GenerateRecoveryPhraseRequest";
446
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
447
+ ]);
448
+
449
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GenerateRecoveryPhraseRequest {
450
+ return new GenerateRecoveryPhraseRequest().fromBinary(bytes, options);
451
+ }
452
+
453
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GenerateRecoveryPhraseRequest {
454
+ return new GenerateRecoveryPhraseRequest().fromJson(jsonValue, options);
455
+ }
456
+
457
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GenerateRecoveryPhraseRequest {
458
+ return new GenerateRecoveryPhraseRequest().fromJsonString(jsonString, options);
459
+ }
460
+
461
+ static equals(a: GenerateRecoveryPhraseRequest | PlainMessage<GenerateRecoveryPhraseRequest> | undefined, b: GenerateRecoveryPhraseRequest | PlainMessage<GenerateRecoveryPhraseRequest> | undefined): boolean {
462
+ return proto3.util.equals(GenerateRecoveryPhraseRequest, a, b);
463
+ }
464
+ }
465
+
466
+ /**
467
+ * @generated from message land.gno.gnonative.v1.GenerateRecoveryPhraseResponse
468
+ */
469
+ export class GenerateRecoveryPhraseResponse extends Message<GenerateRecoveryPhraseResponse> {
470
+ /**
471
+ * @generated from field: string phrase = 1;
472
+ */
473
+ phrase = "";
474
+
475
+ constructor(data?: PartialMessage<GenerateRecoveryPhraseResponse>) {
476
+ super();
477
+ proto3.util.initPartial(data, this);
478
+ }
479
+
480
+ static readonly runtime: typeof proto3 = proto3;
481
+ static readonly typeName = "land.gno.gnonative.v1.GenerateRecoveryPhraseResponse";
482
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
483
+ { no: 1, name: "phrase", kind: "scalar", T: 9 /* ScalarType.STRING */ },
484
+ ]);
485
+
486
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GenerateRecoveryPhraseResponse {
487
+ return new GenerateRecoveryPhraseResponse().fromBinary(bytes, options);
488
+ }
489
+
490
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GenerateRecoveryPhraseResponse {
491
+ return new GenerateRecoveryPhraseResponse().fromJson(jsonValue, options);
492
+ }
493
+
494
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GenerateRecoveryPhraseResponse {
495
+ return new GenerateRecoveryPhraseResponse().fromJsonString(jsonString, options);
496
+ }
497
+
498
+ static equals(a: GenerateRecoveryPhraseResponse | PlainMessage<GenerateRecoveryPhraseResponse> | undefined, b: GenerateRecoveryPhraseResponse | PlainMessage<GenerateRecoveryPhraseResponse> | undefined): boolean {
499
+ return proto3.util.equals(GenerateRecoveryPhraseResponse, a, b);
500
+ }
501
+ }
502
+
503
+ /**
504
+ * @generated from message land.gno.gnonative.v1.KeyInfo
505
+ */
506
+ export class KeyInfo extends Message<KeyInfo> {
507
+ /**
508
+ * 0: local, 1: ledger, 2: offline, 3: multi
509
+ *
510
+ * @generated from field: uint32 type = 1;
511
+ */
512
+ type = 0;
513
+
514
+ /**
515
+ * @generated from field: string name = 2;
516
+ */
517
+ name = "";
518
+
519
+ /**
520
+ * @generated from field: bytes pub_key = 3;
521
+ */
522
+ pubKey = new Uint8Array(0);
523
+
524
+ /**
525
+ * @generated from field: bytes address = 4;
526
+ */
527
+ address = new Uint8Array(0);
528
+
529
+ constructor(data?: PartialMessage<KeyInfo>) {
530
+ super();
531
+ proto3.util.initPartial(data, this);
532
+ }
533
+
534
+ static readonly runtime: typeof proto3 = proto3;
535
+ static readonly typeName = "land.gno.gnonative.v1.KeyInfo";
536
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
537
+ { no: 1, name: "type", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
538
+ { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
539
+ { no: 3, name: "pub_key", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
540
+ { no: 4, name: "address", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
541
+ ]);
542
+
543
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): KeyInfo {
544
+ return new KeyInfo().fromBinary(bytes, options);
545
+ }
546
+
547
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): KeyInfo {
548
+ return new KeyInfo().fromJson(jsonValue, options);
549
+ }
550
+
551
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): KeyInfo {
552
+ return new KeyInfo().fromJsonString(jsonString, options);
553
+ }
554
+
555
+ static equals(a: KeyInfo | PlainMessage<KeyInfo> | undefined, b: KeyInfo | PlainMessage<KeyInfo> | undefined): boolean {
556
+ return proto3.util.equals(KeyInfo, a, b);
557
+ }
558
+ }
559
+
560
+ /**
561
+ * Coin holds some amount of one currency.
562
+ * A negative amount is invalid.
563
+ *
564
+ * @generated from message land.gno.gnonative.v1.Coin
565
+ */
566
+ export class Coin extends Message<Coin> {
567
+ /**
568
+ * Example: "ugnot"
569
+ *
570
+ * @generated from field: string denom = 1;
571
+ */
572
+ denom = "";
573
+
574
+ /**
575
+ * @generated from field: sint64 amount = 2;
576
+ */
577
+ amount = protoInt64.zero;
578
+
579
+ constructor(data?: PartialMessage<Coin>) {
580
+ super();
581
+ proto3.util.initPartial(data, this);
582
+ }
583
+
584
+ static readonly runtime: typeof proto3 = proto3;
585
+ static readonly typeName = "land.gno.gnonative.v1.Coin";
586
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
587
+ { no: 1, name: "denom", kind: "scalar", T: 9 /* ScalarType.STRING */ },
588
+ { no: 2, name: "amount", kind: "scalar", T: 18 /* ScalarType.SINT64 */ },
589
+ ]);
590
+
591
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Coin {
592
+ return new Coin().fromBinary(bytes, options);
593
+ }
594
+
595
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Coin {
596
+ return new Coin().fromJson(jsonValue, options);
597
+ }
598
+
599
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Coin {
600
+ return new Coin().fromJsonString(jsonString, options);
601
+ }
602
+
603
+ static equals(a: Coin | PlainMessage<Coin> | undefined, b: Coin | PlainMessage<Coin> | undefined): boolean {
604
+ return proto3.util.equals(Coin, a, b);
605
+ }
606
+ }
607
+
608
+ /**
609
+ * @generated from message land.gno.gnonative.v1.BaseAccount
610
+ */
611
+ export class BaseAccount extends Message<BaseAccount> {
612
+ /**
613
+ * @generated from field: bytes address = 1;
614
+ */
615
+ address = new Uint8Array(0);
616
+
617
+ /**
618
+ * @generated from field: repeated land.gno.gnonative.v1.Coin coins = 2;
619
+ */
620
+ coins: Coin[] = [];
621
+
622
+ /**
623
+ * @generated from field: bytes pub_key = 3;
624
+ */
625
+ pubKey = new Uint8Array(0);
626
+
627
+ /**
628
+ * @generated from field: uint64 account_number = 4;
629
+ */
630
+ accountNumber = protoInt64.zero;
631
+
632
+ /**
633
+ * @generated from field: uint64 sequence = 5;
634
+ */
635
+ sequence = protoInt64.zero;
636
+
637
+ constructor(data?: PartialMessage<BaseAccount>) {
638
+ super();
639
+ proto3.util.initPartial(data, this);
640
+ }
641
+
642
+ static readonly runtime: typeof proto3 = proto3;
643
+ static readonly typeName = "land.gno.gnonative.v1.BaseAccount";
644
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
645
+ { no: 1, name: "address", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
646
+ { no: 2, name: "coins", kind: "message", T: Coin, repeated: true },
647
+ { no: 3, name: "pub_key", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
648
+ { no: 4, name: "account_number", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
649
+ { no: 5, name: "sequence", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
650
+ ]);
651
+
652
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BaseAccount {
653
+ return new BaseAccount().fromBinary(bytes, options);
654
+ }
655
+
656
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BaseAccount {
657
+ return new BaseAccount().fromJson(jsonValue, options);
658
+ }
659
+
660
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BaseAccount {
661
+ return new BaseAccount().fromJsonString(jsonString, options);
662
+ }
663
+
664
+ static equals(a: BaseAccount | PlainMessage<BaseAccount> | undefined, b: BaseAccount | PlainMessage<BaseAccount> | undefined): boolean {
665
+ return proto3.util.equals(BaseAccount, a, b);
666
+ }
667
+ }
668
+
669
+ /**
670
+ * @generated from message land.gno.gnonative.v1.ListKeyInfoRequest
671
+ */
672
+ export class ListKeyInfoRequest extends Message<ListKeyInfoRequest> {
673
+ constructor(data?: PartialMessage<ListKeyInfoRequest>) {
674
+ super();
675
+ proto3.util.initPartial(data, this);
676
+ }
677
+
678
+ static readonly runtime: typeof proto3 = proto3;
679
+ static readonly typeName = "land.gno.gnonative.v1.ListKeyInfoRequest";
680
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
681
+ ]);
682
+
683
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListKeyInfoRequest {
684
+ return new ListKeyInfoRequest().fromBinary(bytes, options);
685
+ }
686
+
687
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListKeyInfoRequest {
688
+ return new ListKeyInfoRequest().fromJson(jsonValue, options);
689
+ }
690
+
691
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListKeyInfoRequest {
692
+ return new ListKeyInfoRequest().fromJsonString(jsonString, options);
693
+ }
694
+
695
+ static equals(a: ListKeyInfoRequest | PlainMessage<ListKeyInfoRequest> | undefined, b: ListKeyInfoRequest | PlainMessage<ListKeyInfoRequest> | undefined): boolean {
696
+ return proto3.util.equals(ListKeyInfoRequest, a, b);
697
+ }
698
+ }
699
+
700
+ /**
701
+ * @generated from message land.gno.gnonative.v1.ListKeyInfoResponse
702
+ */
703
+ export class ListKeyInfoResponse extends Message<ListKeyInfoResponse> {
704
+ /**
705
+ * @generated from field: repeated land.gno.gnonative.v1.KeyInfo keys = 1 [json_name = "key_info"];
706
+ */
707
+ keys: KeyInfo[] = [];
708
+
709
+ constructor(data?: PartialMessage<ListKeyInfoResponse>) {
710
+ super();
711
+ proto3.util.initPartial(data, this);
712
+ }
713
+
714
+ static readonly runtime: typeof proto3 = proto3;
715
+ static readonly typeName = "land.gno.gnonative.v1.ListKeyInfoResponse";
716
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
717
+ { no: 1, name: "keys", jsonName: "key_info", kind: "message", T: KeyInfo, repeated: true },
718
+ ]);
719
+
720
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListKeyInfoResponse {
721
+ return new ListKeyInfoResponse().fromBinary(bytes, options);
722
+ }
723
+
724
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListKeyInfoResponse {
725
+ return new ListKeyInfoResponse().fromJson(jsonValue, options);
726
+ }
727
+
728
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListKeyInfoResponse {
729
+ return new ListKeyInfoResponse().fromJsonString(jsonString, options);
730
+ }
731
+
732
+ static equals(a: ListKeyInfoResponse | PlainMessage<ListKeyInfoResponse> | undefined, b: ListKeyInfoResponse | PlainMessage<ListKeyInfoResponse> | undefined): boolean {
733
+ return proto3.util.equals(ListKeyInfoResponse, a, b);
734
+ }
735
+ }
736
+
737
+ /**
738
+ * @generated from message land.gno.gnonative.v1.HasKeyByNameRequest
739
+ */
740
+ export class HasKeyByNameRequest extends Message<HasKeyByNameRequest> {
741
+ /**
742
+ * @generated from field: string name = 1;
743
+ */
744
+ name = "";
745
+
746
+ constructor(data?: PartialMessage<HasKeyByNameRequest>) {
747
+ super();
748
+ proto3.util.initPartial(data, this);
749
+ }
750
+
751
+ static readonly runtime: typeof proto3 = proto3;
752
+ static readonly typeName = "land.gno.gnonative.v1.HasKeyByNameRequest";
753
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
754
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
755
+ ]);
756
+
757
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HasKeyByNameRequest {
758
+ return new HasKeyByNameRequest().fromBinary(bytes, options);
759
+ }
760
+
761
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HasKeyByNameRequest {
762
+ return new HasKeyByNameRequest().fromJson(jsonValue, options);
763
+ }
764
+
765
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HasKeyByNameRequest {
766
+ return new HasKeyByNameRequest().fromJsonString(jsonString, options);
767
+ }
768
+
769
+ static equals(a: HasKeyByNameRequest | PlainMessage<HasKeyByNameRequest> | undefined, b: HasKeyByNameRequest | PlainMessage<HasKeyByNameRequest> | undefined): boolean {
770
+ return proto3.util.equals(HasKeyByNameRequest, a, b);
771
+ }
772
+ }
773
+
774
+ /**
775
+ * @generated from message land.gno.gnonative.v1.HasKeyByNameResponse
776
+ */
777
+ export class HasKeyByNameResponse extends Message<HasKeyByNameResponse> {
778
+ /**
779
+ * @generated from field: bool has = 1;
780
+ */
781
+ has = false;
782
+
783
+ constructor(data?: PartialMessage<HasKeyByNameResponse>) {
784
+ super();
785
+ proto3.util.initPartial(data, this);
786
+ }
787
+
788
+ static readonly runtime: typeof proto3 = proto3;
789
+ static readonly typeName = "land.gno.gnonative.v1.HasKeyByNameResponse";
790
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
791
+ { no: 1, name: "has", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
792
+ ]);
793
+
794
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HasKeyByNameResponse {
795
+ return new HasKeyByNameResponse().fromBinary(bytes, options);
796
+ }
797
+
798
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HasKeyByNameResponse {
799
+ return new HasKeyByNameResponse().fromJson(jsonValue, options);
800
+ }
801
+
802
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HasKeyByNameResponse {
803
+ return new HasKeyByNameResponse().fromJsonString(jsonString, options);
804
+ }
805
+
806
+ static equals(a: HasKeyByNameResponse | PlainMessage<HasKeyByNameResponse> | undefined, b: HasKeyByNameResponse | PlainMessage<HasKeyByNameResponse> | undefined): boolean {
807
+ return proto3.util.equals(HasKeyByNameResponse, a, b);
808
+ }
809
+ }
810
+
811
+ /**
812
+ * @generated from message land.gno.gnonative.v1.HasKeyByAddressRequest
813
+ */
814
+ export class HasKeyByAddressRequest extends Message<HasKeyByAddressRequest> {
815
+ /**
816
+ * @generated from field: bytes address = 1;
817
+ */
818
+ address = new Uint8Array(0);
819
+
820
+ constructor(data?: PartialMessage<HasKeyByAddressRequest>) {
821
+ super();
822
+ proto3.util.initPartial(data, this);
823
+ }
824
+
825
+ static readonly runtime: typeof proto3 = proto3;
826
+ static readonly typeName = "land.gno.gnonative.v1.HasKeyByAddressRequest";
827
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
828
+ { no: 1, name: "address", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
829
+ ]);
830
+
831
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HasKeyByAddressRequest {
832
+ return new HasKeyByAddressRequest().fromBinary(bytes, options);
833
+ }
834
+
835
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HasKeyByAddressRequest {
836
+ return new HasKeyByAddressRequest().fromJson(jsonValue, options);
837
+ }
838
+
839
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HasKeyByAddressRequest {
840
+ return new HasKeyByAddressRequest().fromJsonString(jsonString, options);
841
+ }
842
+
843
+ static equals(a: HasKeyByAddressRequest | PlainMessage<HasKeyByAddressRequest> | undefined, b: HasKeyByAddressRequest | PlainMessage<HasKeyByAddressRequest> | undefined): boolean {
844
+ return proto3.util.equals(HasKeyByAddressRequest, a, b);
845
+ }
846
+ }
847
+
848
+ /**
849
+ * @generated from message land.gno.gnonative.v1.HasKeyByAddressResponse
850
+ */
851
+ export class HasKeyByAddressResponse extends Message<HasKeyByAddressResponse> {
852
+ /**
853
+ * @generated from field: bool has = 1;
854
+ */
855
+ has = false;
856
+
857
+ constructor(data?: PartialMessage<HasKeyByAddressResponse>) {
858
+ super();
859
+ proto3.util.initPartial(data, this);
860
+ }
861
+
862
+ static readonly runtime: typeof proto3 = proto3;
863
+ static readonly typeName = "land.gno.gnonative.v1.HasKeyByAddressResponse";
864
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
865
+ { no: 1, name: "has", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
866
+ ]);
867
+
868
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HasKeyByAddressResponse {
869
+ return new HasKeyByAddressResponse().fromBinary(bytes, options);
870
+ }
871
+
872
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HasKeyByAddressResponse {
873
+ return new HasKeyByAddressResponse().fromJson(jsonValue, options);
874
+ }
875
+
876
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HasKeyByAddressResponse {
877
+ return new HasKeyByAddressResponse().fromJsonString(jsonString, options);
878
+ }
879
+
880
+ static equals(a: HasKeyByAddressResponse | PlainMessage<HasKeyByAddressResponse> | undefined, b: HasKeyByAddressResponse | PlainMessage<HasKeyByAddressResponse> | undefined): boolean {
881
+ return proto3.util.equals(HasKeyByAddressResponse, a, b);
882
+ }
883
+ }
884
+
885
+ /**
886
+ * @generated from message land.gno.gnonative.v1.HasKeyByNameOrAddressRequest
887
+ */
888
+ export class HasKeyByNameOrAddressRequest extends Message<HasKeyByNameOrAddressRequest> {
889
+ /**
890
+ * @generated from field: string name_or_bech32 = 1;
891
+ */
892
+ nameOrBech32 = "";
893
+
894
+ constructor(data?: PartialMessage<HasKeyByNameOrAddressRequest>) {
895
+ super();
896
+ proto3.util.initPartial(data, this);
897
+ }
898
+
899
+ static readonly runtime: typeof proto3 = proto3;
900
+ static readonly typeName = "land.gno.gnonative.v1.HasKeyByNameOrAddressRequest";
901
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
902
+ { no: 1, name: "name_or_bech32", kind: "scalar", T: 9 /* ScalarType.STRING */ },
903
+ ]);
904
+
905
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HasKeyByNameOrAddressRequest {
906
+ return new HasKeyByNameOrAddressRequest().fromBinary(bytes, options);
907
+ }
908
+
909
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HasKeyByNameOrAddressRequest {
910
+ return new HasKeyByNameOrAddressRequest().fromJson(jsonValue, options);
911
+ }
912
+
913
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HasKeyByNameOrAddressRequest {
914
+ return new HasKeyByNameOrAddressRequest().fromJsonString(jsonString, options);
915
+ }
916
+
917
+ static equals(a: HasKeyByNameOrAddressRequest | PlainMessage<HasKeyByNameOrAddressRequest> | undefined, b: HasKeyByNameOrAddressRequest | PlainMessage<HasKeyByNameOrAddressRequest> | undefined): boolean {
918
+ return proto3.util.equals(HasKeyByNameOrAddressRequest, a, b);
919
+ }
920
+ }
921
+
922
+ /**
923
+ * @generated from message land.gno.gnonative.v1.HasKeyByNameOrAddressResponse
924
+ */
925
+ export class HasKeyByNameOrAddressResponse extends Message<HasKeyByNameOrAddressResponse> {
926
+ /**
927
+ * @generated from field: bool has = 1;
928
+ */
929
+ has = false;
930
+
931
+ constructor(data?: PartialMessage<HasKeyByNameOrAddressResponse>) {
932
+ super();
933
+ proto3.util.initPartial(data, this);
934
+ }
935
+
936
+ static readonly runtime: typeof proto3 = proto3;
937
+ static readonly typeName = "land.gno.gnonative.v1.HasKeyByNameOrAddressResponse";
938
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
939
+ { no: 1, name: "has", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
940
+ ]);
941
+
942
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HasKeyByNameOrAddressResponse {
943
+ return new HasKeyByNameOrAddressResponse().fromBinary(bytes, options);
944
+ }
945
+
946
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HasKeyByNameOrAddressResponse {
947
+ return new HasKeyByNameOrAddressResponse().fromJson(jsonValue, options);
948
+ }
949
+
950
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HasKeyByNameOrAddressResponse {
951
+ return new HasKeyByNameOrAddressResponse().fromJsonString(jsonString, options);
952
+ }
953
+
954
+ static equals(a: HasKeyByNameOrAddressResponse | PlainMessage<HasKeyByNameOrAddressResponse> | undefined, b: HasKeyByNameOrAddressResponse | PlainMessage<HasKeyByNameOrAddressResponse> | undefined): boolean {
955
+ return proto3.util.equals(HasKeyByNameOrAddressResponse, a, b);
956
+ }
957
+ }
958
+
959
+ /**
960
+ * @generated from message land.gno.gnonative.v1.GetKeyInfoByNameRequest
961
+ */
962
+ export class GetKeyInfoByNameRequest extends Message<GetKeyInfoByNameRequest> {
963
+ /**
964
+ * @generated from field: string name = 1;
965
+ */
966
+ name = "";
967
+
968
+ constructor(data?: PartialMessage<GetKeyInfoByNameRequest>) {
969
+ super();
970
+ proto3.util.initPartial(data, this);
971
+ }
972
+
973
+ static readonly runtime: typeof proto3 = proto3;
974
+ static readonly typeName = "land.gno.gnonative.v1.GetKeyInfoByNameRequest";
975
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
976
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
977
+ ]);
978
+
979
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetKeyInfoByNameRequest {
980
+ return new GetKeyInfoByNameRequest().fromBinary(bytes, options);
981
+ }
982
+
983
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetKeyInfoByNameRequest {
984
+ return new GetKeyInfoByNameRequest().fromJson(jsonValue, options);
985
+ }
986
+
987
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetKeyInfoByNameRequest {
988
+ return new GetKeyInfoByNameRequest().fromJsonString(jsonString, options);
989
+ }
990
+
991
+ static equals(a: GetKeyInfoByNameRequest | PlainMessage<GetKeyInfoByNameRequest> | undefined, b: GetKeyInfoByNameRequest | PlainMessage<GetKeyInfoByNameRequest> | undefined): boolean {
992
+ return proto3.util.equals(GetKeyInfoByNameRequest, a, b);
993
+ }
994
+ }
995
+
996
+ /**
997
+ * @generated from message land.gno.gnonative.v1.GetKeyInfoByNameResponse
998
+ */
999
+ export class GetKeyInfoByNameResponse extends Message<GetKeyInfoByNameResponse> {
1000
+ /**
1001
+ * @generated from field: land.gno.gnonative.v1.KeyInfo key = 1 [json_name = "key_info"];
1002
+ */
1003
+ key?: KeyInfo;
1004
+
1005
+ constructor(data?: PartialMessage<GetKeyInfoByNameResponse>) {
1006
+ super();
1007
+ proto3.util.initPartial(data, this);
1008
+ }
1009
+
1010
+ static readonly runtime: typeof proto3 = proto3;
1011
+ static readonly typeName = "land.gno.gnonative.v1.GetKeyInfoByNameResponse";
1012
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1013
+ { no: 1, name: "key", jsonName: "key_info", kind: "message", T: KeyInfo },
1014
+ ]);
1015
+
1016
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetKeyInfoByNameResponse {
1017
+ return new GetKeyInfoByNameResponse().fromBinary(bytes, options);
1018
+ }
1019
+
1020
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetKeyInfoByNameResponse {
1021
+ return new GetKeyInfoByNameResponse().fromJson(jsonValue, options);
1022
+ }
1023
+
1024
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetKeyInfoByNameResponse {
1025
+ return new GetKeyInfoByNameResponse().fromJsonString(jsonString, options);
1026
+ }
1027
+
1028
+ static equals(a: GetKeyInfoByNameResponse | PlainMessage<GetKeyInfoByNameResponse> | undefined, b: GetKeyInfoByNameResponse | PlainMessage<GetKeyInfoByNameResponse> | undefined): boolean {
1029
+ return proto3.util.equals(GetKeyInfoByNameResponse, a, b);
1030
+ }
1031
+ }
1032
+
1033
+ /**
1034
+ * @generated from message land.gno.gnonative.v1.GetKeyInfoByAddressRequest
1035
+ */
1036
+ export class GetKeyInfoByAddressRequest extends Message<GetKeyInfoByAddressRequest> {
1037
+ /**
1038
+ * @generated from field: bytes address = 1;
1039
+ */
1040
+ address = new Uint8Array(0);
1041
+
1042
+ constructor(data?: PartialMessage<GetKeyInfoByAddressRequest>) {
1043
+ super();
1044
+ proto3.util.initPartial(data, this);
1045
+ }
1046
+
1047
+ static readonly runtime: typeof proto3 = proto3;
1048
+ static readonly typeName = "land.gno.gnonative.v1.GetKeyInfoByAddressRequest";
1049
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1050
+ { no: 1, name: "address", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
1051
+ ]);
1052
+
1053
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetKeyInfoByAddressRequest {
1054
+ return new GetKeyInfoByAddressRequest().fromBinary(bytes, options);
1055
+ }
1056
+
1057
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetKeyInfoByAddressRequest {
1058
+ return new GetKeyInfoByAddressRequest().fromJson(jsonValue, options);
1059
+ }
1060
+
1061
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetKeyInfoByAddressRequest {
1062
+ return new GetKeyInfoByAddressRequest().fromJsonString(jsonString, options);
1063
+ }
1064
+
1065
+ static equals(a: GetKeyInfoByAddressRequest | PlainMessage<GetKeyInfoByAddressRequest> | undefined, b: GetKeyInfoByAddressRequest | PlainMessage<GetKeyInfoByAddressRequest> | undefined): boolean {
1066
+ return proto3.util.equals(GetKeyInfoByAddressRequest, a, b);
1067
+ }
1068
+ }
1069
+
1070
+ /**
1071
+ * @generated from message land.gno.gnonative.v1.GetKeyInfoByAddressResponse
1072
+ */
1073
+ export class GetKeyInfoByAddressResponse extends Message<GetKeyInfoByAddressResponse> {
1074
+ /**
1075
+ * @generated from field: land.gno.gnonative.v1.KeyInfo key = 1 [json_name = "key_info"];
1076
+ */
1077
+ key?: KeyInfo;
1078
+
1079
+ constructor(data?: PartialMessage<GetKeyInfoByAddressResponse>) {
1080
+ super();
1081
+ proto3.util.initPartial(data, this);
1082
+ }
1083
+
1084
+ static readonly runtime: typeof proto3 = proto3;
1085
+ static readonly typeName = "land.gno.gnonative.v1.GetKeyInfoByAddressResponse";
1086
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1087
+ { no: 1, name: "key", jsonName: "key_info", kind: "message", T: KeyInfo },
1088
+ ]);
1089
+
1090
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetKeyInfoByAddressResponse {
1091
+ return new GetKeyInfoByAddressResponse().fromBinary(bytes, options);
1092
+ }
1093
+
1094
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetKeyInfoByAddressResponse {
1095
+ return new GetKeyInfoByAddressResponse().fromJson(jsonValue, options);
1096
+ }
1097
+
1098
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetKeyInfoByAddressResponse {
1099
+ return new GetKeyInfoByAddressResponse().fromJsonString(jsonString, options);
1100
+ }
1101
+
1102
+ static equals(a: GetKeyInfoByAddressResponse | PlainMessage<GetKeyInfoByAddressResponse> | undefined, b: GetKeyInfoByAddressResponse | PlainMessage<GetKeyInfoByAddressResponse> | undefined): boolean {
1103
+ return proto3.util.equals(GetKeyInfoByAddressResponse, a, b);
1104
+ }
1105
+ }
1106
+
1107
+ /**
1108
+ * @generated from message land.gno.gnonative.v1.GetKeyInfoByNameOrAddressRequest
1109
+ */
1110
+ export class GetKeyInfoByNameOrAddressRequest extends Message<GetKeyInfoByNameOrAddressRequest> {
1111
+ /**
1112
+ * @generated from field: string name_or_bech32 = 1;
1113
+ */
1114
+ nameOrBech32 = "";
1115
+
1116
+ constructor(data?: PartialMessage<GetKeyInfoByNameOrAddressRequest>) {
1117
+ super();
1118
+ proto3.util.initPartial(data, this);
1119
+ }
1120
+
1121
+ static readonly runtime: typeof proto3 = proto3;
1122
+ static readonly typeName = "land.gno.gnonative.v1.GetKeyInfoByNameOrAddressRequest";
1123
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1124
+ { no: 1, name: "name_or_bech32", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1125
+ ]);
1126
+
1127
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetKeyInfoByNameOrAddressRequest {
1128
+ return new GetKeyInfoByNameOrAddressRequest().fromBinary(bytes, options);
1129
+ }
1130
+
1131
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetKeyInfoByNameOrAddressRequest {
1132
+ return new GetKeyInfoByNameOrAddressRequest().fromJson(jsonValue, options);
1133
+ }
1134
+
1135
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetKeyInfoByNameOrAddressRequest {
1136
+ return new GetKeyInfoByNameOrAddressRequest().fromJsonString(jsonString, options);
1137
+ }
1138
+
1139
+ static equals(a: GetKeyInfoByNameOrAddressRequest | PlainMessage<GetKeyInfoByNameOrAddressRequest> | undefined, b: GetKeyInfoByNameOrAddressRequest | PlainMessage<GetKeyInfoByNameOrAddressRequest> | undefined): boolean {
1140
+ return proto3.util.equals(GetKeyInfoByNameOrAddressRequest, a, b);
1141
+ }
1142
+ }
1143
+
1144
+ /**
1145
+ * @generated from message land.gno.gnonative.v1.GetKeyInfoByNameOrAddressResponse
1146
+ */
1147
+ export class GetKeyInfoByNameOrAddressResponse extends Message<GetKeyInfoByNameOrAddressResponse> {
1148
+ /**
1149
+ * @generated from field: land.gno.gnonative.v1.KeyInfo key = 1 [json_name = "key_info"];
1150
+ */
1151
+ key?: KeyInfo;
1152
+
1153
+ constructor(data?: PartialMessage<GetKeyInfoByNameOrAddressResponse>) {
1154
+ super();
1155
+ proto3.util.initPartial(data, this);
1156
+ }
1157
+
1158
+ static readonly runtime: typeof proto3 = proto3;
1159
+ static readonly typeName = "land.gno.gnonative.v1.GetKeyInfoByNameOrAddressResponse";
1160
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1161
+ { no: 1, name: "key", jsonName: "key_info", kind: "message", T: KeyInfo },
1162
+ ]);
1163
+
1164
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetKeyInfoByNameOrAddressResponse {
1165
+ return new GetKeyInfoByNameOrAddressResponse().fromBinary(bytes, options);
1166
+ }
1167
+
1168
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetKeyInfoByNameOrAddressResponse {
1169
+ return new GetKeyInfoByNameOrAddressResponse().fromJson(jsonValue, options);
1170
+ }
1171
+
1172
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetKeyInfoByNameOrAddressResponse {
1173
+ return new GetKeyInfoByNameOrAddressResponse().fromJsonString(jsonString, options);
1174
+ }
1175
+
1176
+ static equals(a: GetKeyInfoByNameOrAddressResponse | PlainMessage<GetKeyInfoByNameOrAddressResponse> | undefined, b: GetKeyInfoByNameOrAddressResponse | PlainMessage<GetKeyInfoByNameOrAddressResponse> | undefined): boolean {
1177
+ return proto3.util.equals(GetKeyInfoByNameOrAddressResponse, a, b);
1178
+ }
1179
+ }
1180
+
1181
+ /**
1182
+ * @generated from message land.gno.gnonative.v1.CreateAccountRequest
1183
+ */
1184
+ export class CreateAccountRequest extends Message<CreateAccountRequest> {
1185
+ /**
1186
+ * @generated from field: string name_or_bech32 = 1;
1187
+ */
1188
+ nameOrBech32 = "";
1189
+
1190
+ /**
1191
+ * @generated from field: string mnemonic = 2;
1192
+ */
1193
+ mnemonic = "";
1194
+
1195
+ /**
1196
+ * @generated from field: string bip39_passwd = 3;
1197
+ */
1198
+ bip39Passwd = "";
1199
+
1200
+ /**
1201
+ * @generated from field: string password = 4;
1202
+ */
1203
+ password = "";
1204
+
1205
+ /**
1206
+ * @generated from field: uint32 account = 5;
1207
+ */
1208
+ account = 0;
1209
+
1210
+ /**
1211
+ * @generated from field: uint32 index = 6;
1212
+ */
1213
+ index = 0;
1214
+
1215
+ constructor(data?: PartialMessage<CreateAccountRequest>) {
1216
+ super();
1217
+ proto3.util.initPartial(data, this);
1218
+ }
1219
+
1220
+ static readonly runtime: typeof proto3 = proto3;
1221
+ static readonly typeName = "land.gno.gnonative.v1.CreateAccountRequest";
1222
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1223
+ { no: 1, name: "name_or_bech32", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1224
+ { no: 2, name: "mnemonic", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1225
+ { no: 3, name: "bip39_passwd", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1226
+ { no: 4, name: "password", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1227
+ { no: 5, name: "account", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1228
+ { no: 6, name: "index", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1229
+ ]);
1230
+
1231
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateAccountRequest {
1232
+ return new CreateAccountRequest().fromBinary(bytes, options);
1233
+ }
1234
+
1235
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateAccountRequest {
1236
+ return new CreateAccountRequest().fromJson(jsonValue, options);
1237
+ }
1238
+
1239
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateAccountRequest {
1240
+ return new CreateAccountRequest().fromJsonString(jsonString, options);
1241
+ }
1242
+
1243
+ static equals(a: CreateAccountRequest | PlainMessage<CreateAccountRequest> | undefined, b: CreateAccountRequest | PlainMessage<CreateAccountRequest> | undefined): boolean {
1244
+ return proto3.util.equals(CreateAccountRequest, a, b);
1245
+ }
1246
+ }
1247
+
1248
+ /**
1249
+ * @generated from message land.gno.gnonative.v1.CreateAccountResponse
1250
+ */
1251
+ export class CreateAccountResponse extends Message<CreateAccountResponse> {
1252
+ /**
1253
+ * @generated from field: land.gno.gnonative.v1.KeyInfo key = 1 [json_name = "key_info"];
1254
+ */
1255
+ key?: KeyInfo;
1256
+
1257
+ constructor(data?: PartialMessage<CreateAccountResponse>) {
1258
+ super();
1259
+ proto3.util.initPartial(data, this);
1260
+ }
1261
+
1262
+ static readonly runtime: typeof proto3 = proto3;
1263
+ static readonly typeName = "land.gno.gnonative.v1.CreateAccountResponse";
1264
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1265
+ { no: 1, name: "key", jsonName: "key_info", kind: "message", T: KeyInfo },
1266
+ ]);
1267
+
1268
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateAccountResponse {
1269
+ return new CreateAccountResponse().fromBinary(bytes, options);
1270
+ }
1271
+
1272
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateAccountResponse {
1273
+ return new CreateAccountResponse().fromJson(jsonValue, options);
1274
+ }
1275
+
1276
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateAccountResponse {
1277
+ return new CreateAccountResponse().fromJsonString(jsonString, options);
1278
+ }
1279
+
1280
+ static equals(a: CreateAccountResponse | PlainMessage<CreateAccountResponse> | undefined, b: CreateAccountResponse | PlainMessage<CreateAccountResponse> | undefined): boolean {
1281
+ return proto3.util.equals(CreateAccountResponse, a, b);
1282
+ }
1283
+ }
1284
+
1285
+ /**
1286
+ * @generated from message land.gno.gnonative.v1.ActivateAccountRequest
1287
+ */
1288
+ export class ActivateAccountRequest extends Message<ActivateAccountRequest> {
1289
+ /**
1290
+ * @generated from field: string name_or_bech32 = 1;
1291
+ */
1292
+ nameOrBech32 = "";
1293
+
1294
+ constructor(data?: PartialMessage<ActivateAccountRequest>) {
1295
+ super();
1296
+ proto3.util.initPartial(data, this);
1297
+ }
1298
+
1299
+ static readonly runtime: typeof proto3 = proto3;
1300
+ static readonly typeName = "land.gno.gnonative.v1.ActivateAccountRequest";
1301
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1302
+ { no: 1, name: "name_or_bech32", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1303
+ ]);
1304
+
1305
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ActivateAccountRequest {
1306
+ return new ActivateAccountRequest().fromBinary(bytes, options);
1307
+ }
1308
+
1309
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ActivateAccountRequest {
1310
+ return new ActivateAccountRequest().fromJson(jsonValue, options);
1311
+ }
1312
+
1313
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ActivateAccountRequest {
1314
+ return new ActivateAccountRequest().fromJsonString(jsonString, options);
1315
+ }
1316
+
1317
+ static equals(a: ActivateAccountRequest | PlainMessage<ActivateAccountRequest> | undefined, b: ActivateAccountRequest | PlainMessage<ActivateAccountRequest> | undefined): boolean {
1318
+ return proto3.util.equals(ActivateAccountRequest, a, b);
1319
+ }
1320
+ }
1321
+
1322
+ /**
1323
+ * @generated from message land.gno.gnonative.v1.ActivateAccountResponse
1324
+ */
1325
+ export class ActivateAccountResponse extends Message<ActivateAccountResponse> {
1326
+ /**
1327
+ * @generated from field: land.gno.gnonative.v1.KeyInfo key = 1 [json_name = "key_info"];
1328
+ */
1329
+ key?: KeyInfo;
1330
+
1331
+ /**
1332
+ * True if the password has been set. If false, then call SetPassword.
1333
+ *
1334
+ * @generated from field: bool has_password = 2;
1335
+ */
1336
+ hasPassword = false;
1337
+
1338
+ constructor(data?: PartialMessage<ActivateAccountResponse>) {
1339
+ super();
1340
+ proto3.util.initPartial(data, this);
1341
+ }
1342
+
1343
+ static readonly runtime: typeof proto3 = proto3;
1344
+ static readonly typeName = "land.gno.gnonative.v1.ActivateAccountResponse";
1345
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1346
+ { no: 1, name: "key", jsonName: "key_info", kind: "message", T: KeyInfo },
1347
+ { no: 2, name: "has_password", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1348
+ ]);
1349
+
1350
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ActivateAccountResponse {
1351
+ return new ActivateAccountResponse().fromBinary(bytes, options);
1352
+ }
1353
+
1354
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ActivateAccountResponse {
1355
+ return new ActivateAccountResponse().fromJson(jsonValue, options);
1356
+ }
1357
+
1358
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ActivateAccountResponse {
1359
+ return new ActivateAccountResponse().fromJsonString(jsonString, options);
1360
+ }
1361
+
1362
+ static equals(a: ActivateAccountResponse | PlainMessage<ActivateAccountResponse> | undefined, b: ActivateAccountResponse | PlainMessage<ActivateAccountResponse> | undefined): boolean {
1363
+ return proto3.util.equals(ActivateAccountResponse, a, b);
1364
+ }
1365
+ }
1366
+
1367
+ /**
1368
+ * @generated from message land.gno.gnonative.v1.GetActivatedAccountRequest
1369
+ */
1370
+ export class GetActivatedAccountRequest extends Message<GetActivatedAccountRequest> {
1371
+ /**
1372
+ * @generated from field: bytes address = 1;
1373
+ */
1374
+ address = new Uint8Array(0);
1375
+
1376
+ constructor(data?: PartialMessage<GetActivatedAccountRequest>) {
1377
+ super();
1378
+ proto3.util.initPartial(data, this);
1379
+ }
1380
+
1381
+ static readonly runtime: typeof proto3 = proto3;
1382
+ static readonly typeName = "land.gno.gnonative.v1.GetActivatedAccountRequest";
1383
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1384
+ { no: 1, name: "address", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
1385
+ ]);
1386
+
1387
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetActivatedAccountRequest {
1388
+ return new GetActivatedAccountRequest().fromBinary(bytes, options);
1389
+ }
1390
+
1391
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetActivatedAccountRequest {
1392
+ return new GetActivatedAccountRequest().fromJson(jsonValue, options);
1393
+ }
1394
+
1395
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetActivatedAccountRequest {
1396
+ return new GetActivatedAccountRequest().fromJsonString(jsonString, options);
1397
+ }
1398
+
1399
+ static equals(a: GetActivatedAccountRequest | PlainMessage<GetActivatedAccountRequest> | undefined, b: GetActivatedAccountRequest | PlainMessage<GetActivatedAccountRequest> | undefined): boolean {
1400
+ return proto3.util.equals(GetActivatedAccountRequest, a, b);
1401
+ }
1402
+ }
1403
+
1404
+ /**
1405
+ * @generated from message land.gno.gnonative.v1.GetActivatedAccountResponse
1406
+ */
1407
+ export class GetActivatedAccountResponse extends Message<GetActivatedAccountResponse> {
1408
+ /**
1409
+ * @generated from field: land.gno.gnonative.v1.KeyInfo key = 1 [json_name = "key_info"];
1410
+ */
1411
+ key?: KeyInfo;
1412
+
1413
+ /**
1414
+ * True if the password has been set. If false, then call SetPassword.
1415
+ *
1416
+ * @generated from field: bool has_password = 2;
1417
+ */
1418
+ hasPassword = false;
1419
+
1420
+ constructor(data?: PartialMessage<GetActivatedAccountResponse>) {
1421
+ super();
1422
+ proto3.util.initPartial(data, this);
1423
+ }
1424
+
1425
+ static readonly runtime: typeof proto3 = proto3;
1426
+ static readonly typeName = "land.gno.gnonative.v1.GetActivatedAccountResponse";
1427
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1428
+ { no: 1, name: "key", jsonName: "key_info", kind: "message", T: KeyInfo },
1429
+ { no: 2, name: "has_password", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1430
+ ]);
1431
+
1432
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetActivatedAccountResponse {
1433
+ return new GetActivatedAccountResponse().fromBinary(bytes, options);
1434
+ }
1435
+
1436
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetActivatedAccountResponse {
1437
+ return new GetActivatedAccountResponse().fromJson(jsonValue, options);
1438
+ }
1439
+
1440
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetActivatedAccountResponse {
1441
+ return new GetActivatedAccountResponse().fromJsonString(jsonString, options);
1442
+ }
1443
+
1444
+ static equals(a: GetActivatedAccountResponse | PlainMessage<GetActivatedAccountResponse> | undefined, b: GetActivatedAccountResponse | PlainMessage<GetActivatedAccountResponse> | undefined): boolean {
1445
+ return proto3.util.equals(GetActivatedAccountResponse, a, b);
1446
+ }
1447
+ }
1448
+
1449
+ /**
1450
+ * @generated from message land.gno.gnonative.v1.QueryAccountRequest
1451
+ */
1452
+ export class QueryAccountRequest extends Message<QueryAccountRequest> {
1453
+ /**
1454
+ * @generated from field: bytes address = 1;
1455
+ */
1456
+ address = new Uint8Array(0);
1457
+
1458
+ constructor(data?: PartialMessage<QueryAccountRequest>) {
1459
+ super();
1460
+ proto3.util.initPartial(data, this);
1461
+ }
1462
+
1463
+ static readonly runtime: typeof proto3 = proto3;
1464
+ static readonly typeName = "land.gno.gnonative.v1.QueryAccountRequest";
1465
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1466
+ { no: 1, name: "address", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
1467
+ ]);
1468
+
1469
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): QueryAccountRequest {
1470
+ return new QueryAccountRequest().fromBinary(bytes, options);
1471
+ }
1472
+
1473
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): QueryAccountRequest {
1474
+ return new QueryAccountRequest().fromJson(jsonValue, options);
1475
+ }
1476
+
1477
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): QueryAccountRequest {
1478
+ return new QueryAccountRequest().fromJsonString(jsonString, options);
1479
+ }
1480
+
1481
+ static equals(a: QueryAccountRequest | PlainMessage<QueryAccountRequest> | undefined, b: QueryAccountRequest | PlainMessage<QueryAccountRequest> | undefined): boolean {
1482
+ return proto3.util.equals(QueryAccountRequest, a, b);
1483
+ }
1484
+ }
1485
+
1486
+ /**
1487
+ * @generated from message land.gno.gnonative.v1.QueryAccountResponse
1488
+ */
1489
+ export class QueryAccountResponse extends Message<QueryAccountResponse> {
1490
+ /**
1491
+ * @generated from field: land.gno.gnonative.v1.BaseAccount account_info = 1;
1492
+ */
1493
+ accountInfo?: BaseAccount;
1494
+
1495
+ constructor(data?: PartialMessage<QueryAccountResponse>) {
1496
+ super();
1497
+ proto3.util.initPartial(data, this);
1498
+ }
1499
+
1500
+ static readonly runtime: typeof proto3 = proto3;
1501
+ static readonly typeName = "land.gno.gnonative.v1.QueryAccountResponse";
1502
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1503
+ { no: 1, name: "account_info", kind: "message", T: BaseAccount },
1504
+ ]);
1505
+
1506
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): QueryAccountResponse {
1507
+ return new QueryAccountResponse().fromBinary(bytes, options);
1508
+ }
1509
+
1510
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): QueryAccountResponse {
1511
+ return new QueryAccountResponse().fromJson(jsonValue, options);
1512
+ }
1513
+
1514
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): QueryAccountResponse {
1515
+ return new QueryAccountResponse().fromJsonString(jsonString, options);
1516
+ }
1517
+
1518
+ static equals(a: QueryAccountResponse | PlainMessage<QueryAccountResponse> | undefined, b: QueryAccountResponse | PlainMessage<QueryAccountResponse> | undefined): boolean {
1519
+ return proto3.util.equals(QueryAccountResponse, a, b);
1520
+ }
1521
+ }
1522
+
1523
+ /**
1524
+ * @generated from message land.gno.gnonative.v1.DeleteAccountRequest
1525
+ */
1526
+ export class DeleteAccountRequest extends Message<DeleteAccountRequest> {
1527
+ /**
1528
+ * @generated from field: string name_or_bech32 = 1;
1529
+ */
1530
+ nameOrBech32 = "";
1531
+
1532
+ /**
1533
+ * @generated from field: string password = 2;
1534
+ */
1535
+ password = "";
1536
+
1537
+ /**
1538
+ * @generated from field: bool skip_password = 3;
1539
+ */
1540
+ skipPassword = false;
1541
+
1542
+ constructor(data?: PartialMessage<DeleteAccountRequest>) {
1543
+ super();
1544
+ proto3.util.initPartial(data, this);
1545
+ }
1546
+
1547
+ static readonly runtime: typeof proto3 = proto3;
1548
+ static readonly typeName = "land.gno.gnonative.v1.DeleteAccountRequest";
1549
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1550
+ { no: 1, name: "name_or_bech32", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1551
+ { no: 2, name: "password", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1552
+ { no: 3, name: "skip_password", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1553
+ ]);
1554
+
1555
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteAccountRequest {
1556
+ return new DeleteAccountRequest().fromBinary(bytes, options);
1557
+ }
1558
+
1559
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteAccountRequest {
1560
+ return new DeleteAccountRequest().fromJson(jsonValue, options);
1561
+ }
1562
+
1563
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteAccountRequest {
1564
+ return new DeleteAccountRequest().fromJsonString(jsonString, options);
1565
+ }
1566
+
1567
+ static equals(a: DeleteAccountRequest | PlainMessage<DeleteAccountRequest> | undefined, b: DeleteAccountRequest | PlainMessage<DeleteAccountRequest> | undefined): boolean {
1568
+ return proto3.util.equals(DeleteAccountRequest, a, b);
1569
+ }
1570
+ }
1571
+
1572
+ /**
1573
+ * @generated from message land.gno.gnonative.v1.DeleteAccountResponse
1574
+ */
1575
+ export class DeleteAccountResponse extends Message<DeleteAccountResponse> {
1576
+ constructor(data?: PartialMessage<DeleteAccountResponse>) {
1577
+ super();
1578
+ proto3.util.initPartial(data, this);
1579
+ }
1580
+
1581
+ static readonly runtime: typeof proto3 = proto3;
1582
+ static readonly typeName = "land.gno.gnonative.v1.DeleteAccountResponse";
1583
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1584
+ ]);
1585
+
1586
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteAccountResponse {
1587
+ return new DeleteAccountResponse().fromBinary(bytes, options);
1588
+ }
1589
+
1590
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteAccountResponse {
1591
+ return new DeleteAccountResponse().fromJson(jsonValue, options);
1592
+ }
1593
+
1594
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteAccountResponse {
1595
+ return new DeleteAccountResponse().fromJsonString(jsonString, options);
1596
+ }
1597
+
1598
+ static equals(a: DeleteAccountResponse | PlainMessage<DeleteAccountResponse> | undefined, b: DeleteAccountResponse | PlainMessage<DeleteAccountResponse> | undefined): boolean {
1599
+ return proto3.util.equals(DeleteAccountResponse, a, b);
1600
+ }
1601
+ }
1602
+
1603
+ /**
1604
+ * @generated from message land.gno.gnonative.v1.QueryRequest
1605
+ */
1606
+ export class QueryRequest extends Message<QueryRequest> {
1607
+ /**
1608
+ * Example: "vm/qrender"
1609
+ *
1610
+ * @generated from field: string path = 1;
1611
+ */
1612
+ path = "";
1613
+
1614
+ /**
1615
+ * Example: "gno.land/r/demo/boards\ntestboard"
1616
+ *
1617
+ * @generated from field: bytes data = 2;
1618
+ */
1619
+ data = new Uint8Array(0);
1620
+
1621
+ constructor(data?: PartialMessage<QueryRequest>) {
1622
+ super();
1623
+ proto3.util.initPartial(data, this);
1624
+ }
1625
+
1626
+ static readonly runtime: typeof proto3 = proto3;
1627
+ static readonly typeName = "land.gno.gnonative.v1.QueryRequest";
1628
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1629
+ { no: 1, name: "path", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1630
+ { no: 2, name: "data", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
1631
+ ]);
1632
+
1633
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): QueryRequest {
1634
+ return new QueryRequest().fromBinary(bytes, options);
1635
+ }
1636
+
1637
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): QueryRequest {
1638
+ return new QueryRequest().fromJson(jsonValue, options);
1639
+ }
1640
+
1641
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): QueryRequest {
1642
+ return new QueryRequest().fromJsonString(jsonString, options);
1643
+ }
1644
+
1645
+ static equals(a: QueryRequest | PlainMessage<QueryRequest> | undefined, b: QueryRequest | PlainMessage<QueryRequest> | undefined): boolean {
1646
+ return proto3.util.equals(QueryRequest, a, b);
1647
+ }
1648
+ }
1649
+
1650
+ /**
1651
+ * @generated from message land.gno.gnonative.v1.QueryResponse
1652
+ */
1653
+ export class QueryResponse extends Message<QueryResponse> {
1654
+ /**
1655
+ * @generated from field: bytes result = 1;
1656
+ */
1657
+ result = new Uint8Array(0);
1658
+
1659
+ constructor(data?: PartialMessage<QueryResponse>) {
1660
+ super();
1661
+ proto3.util.initPartial(data, this);
1662
+ }
1663
+
1664
+ static readonly runtime: typeof proto3 = proto3;
1665
+ static readonly typeName = "land.gno.gnonative.v1.QueryResponse";
1666
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1667
+ { no: 1, name: "result", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
1668
+ ]);
1669
+
1670
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): QueryResponse {
1671
+ return new QueryResponse().fromBinary(bytes, options);
1672
+ }
1673
+
1674
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): QueryResponse {
1675
+ return new QueryResponse().fromJson(jsonValue, options);
1676
+ }
1677
+
1678
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): QueryResponse {
1679
+ return new QueryResponse().fromJsonString(jsonString, options);
1680
+ }
1681
+
1682
+ static equals(a: QueryResponse | PlainMessage<QueryResponse> | undefined, b: QueryResponse | PlainMessage<QueryResponse> | undefined): boolean {
1683
+ return proto3.util.equals(QueryResponse, a, b);
1684
+ }
1685
+ }
1686
+
1687
+ /**
1688
+ * @generated from message land.gno.gnonative.v1.RenderRequest
1689
+ */
1690
+ export class RenderRequest extends Message<RenderRequest> {
1691
+ /**
1692
+ * Example: "gno.land/r/demo/boards"
1693
+ *
1694
+ * @generated from field: string package_path = 1;
1695
+ */
1696
+ packagePath = "";
1697
+
1698
+ /**
1699
+ * Example: "testboard/1"
1700
+ *
1701
+ * @generated from field: string args = 2;
1702
+ */
1703
+ args = "";
1704
+
1705
+ constructor(data?: PartialMessage<RenderRequest>) {
1706
+ super();
1707
+ proto3.util.initPartial(data, this);
1708
+ }
1709
+
1710
+ static readonly runtime: typeof proto3 = proto3;
1711
+ static readonly typeName = "land.gno.gnonative.v1.RenderRequest";
1712
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1713
+ { no: 1, name: "package_path", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1714
+ { no: 2, name: "args", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1715
+ ]);
1716
+
1717
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RenderRequest {
1718
+ return new RenderRequest().fromBinary(bytes, options);
1719
+ }
1720
+
1721
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RenderRequest {
1722
+ return new RenderRequest().fromJson(jsonValue, options);
1723
+ }
1724
+
1725
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RenderRequest {
1726
+ return new RenderRequest().fromJsonString(jsonString, options);
1727
+ }
1728
+
1729
+ static equals(a: RenderRequest | PlainMessage<RenderRequest> | undefined, b: RenderRequest | PlainMessage<RenderRequest> | undefined): boolean {
1730
+ return proto3.util.equals(RenderRequest, a, b);
1731
+ }
1732
+ }
1733
+
1734
+ /**
1735
+ * @generated from message land.gno.gnonative.v1.RenderResponse
1736
+ */
1737
+ export class RenderResponse extends Message<RenderResponse> {
1738
+ /**
1739
+ * The Render function result (typically markdown)
1740
+ *
1741
+ * @generated from field: string result = 1;
1742
+ */
1743
+ result = "";
1744
+
1745
+ constructor(data?: PartialMessage<RenderResponse>) {
1746
+ super();
1747
+ proto3.util.initPartial(data, this);
1748
+ }
1749
+
1750
+ static readonly runtime: typeof proto3 = proto3;
1751
+ static readonly typeName = "land.gno.gnonative.v1.RenderResponse";
1752
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1753
+ { no: 1, name: "result", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1754
+ ]);
1755
+
1756
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RenderResponse {
1757
+ return new RenderResponse().fromBinary(bytes, options);
1758
+ }
1759
+
1760
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RenderResponse {
1761
+ return new RenderResponse().fromJson(jsonValue, options);
1762
+ }
1763
+
1764
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RenderResponse {
1765
+ return new RenderResponse().fromJsonString(jsonString, options);
1766
+ }
1767
+
1768
+ static equals(a: RenderResponse | PlainMessage<RenderResponse> | undefined, b: RenderResponse | PlainMessage<RenderResponse> | undefined): boolean {
1769
+ return proto3.util.equals(RenderResponse, a, b);
1770
+ }
1771
+ }
1772
+
1773
+ /**
1774
+ * @generated from message land.gno.gnonative.v1.QEvalRequest
1775
+ */
1776
+ export class QEvalRequest extends Message<QEvalRequest> {
1777
+ /**
1778
+ * Example: "gno.land/r/demo/boards"
1779
+ *
1780
+ * @generated from field: string package_path = 1;
1781
+ */
1782
+ packagePath = "";
1783
+
1784
+ /**
1785
+ * Example: "GetBoardIDFromName(\"testboard\")"
1786
+ *
1787
+ * @generated from field: string expression = 2;
1788
+ */
1789
+ expression = "";
1790
+
1791
+ constructor(data?: PartialMessage<QEvalRequest>) {
1792
+ super();
1793
+ proto3.util.initPartial(data, this);
1794
+ }
1795
+
1796
+ static readonly runtime: typeof proto3 = proto3;
1797
+ static readonly typeName = "land.gno.gnonative.v1.QEvalRequest";
1798
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1799
+ { no: 1, name: "package_path", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1800
+ { no: 2, name: "expression", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1801
+ ]);
1802
+
1803
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): QEvalRequest {
1804
+ return new QEvalRequest().fromBinary(bytes, options);
1805
+ }
1806
+
1807
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): QEvalRequest {
1808
+ return new QEvalRequest().fromJson(jsonValue, options);
1809
+ }
1810
+
1811
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): QEvalRequest {
1812
+ return new QEvalRequest().fromJsonString(jsonString, options);
1813
+ }
1814
+
1815
+ static equals(a: QEvalRequest | PlainMessage<QEvalRequest> | undefined, b: QEvalRequest | PlainMessage<QEvalRequest> | undefined): boolean {
1816
+ return proto3.util.equals(QEvalRequest, a, b);
1817
+ }
1818
+ }
1819
+
1820
+ /**
1821
+ * @generated from message land.gno.gnonative.v1.QEvalResponse
1822
+ */
1823
+ export class QEvalResponse extends Message<QEvalResponse> {
1824
+ /**
1825
+ * A typed expression like "(1 gno.land/r/demo/boards.BoardID)\n(true bool)"
1826
+ *
1827
+ * @generated from field: string result = 1;
1828
+ */
1829
+ result = "";
1830
+
1831
+ constructor(data?: PartialMessage<QEvalResponse>) {
1832
+ super();
1833
+ proto3.util.initPartial(data, this);
1834
+ }
1835
+
1836
+ static readonly runtime: typeof proto3 = proto3;
1837
+ static readonly typeName = "land.gno.gnonative.v1.QEvalResponse";
1838
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1839
+ { no: 1, name: "result", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1840
+ ]);
1841
+
1842
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): QEvalResponse {
1843
+ return new QEvalResponse().fromBinary(bytes, options);
1844
+ }
1845
+
1846
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): QEvalResponse {
1847
+ return new QEvalResponse().fromJson(jsonValue, options);
1848
+ }
1849
+
1850
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): QEvalResponse {
1851
+ return new QEvalResponse().fromJsonString(jsonString, options);
1852
+ }
1853
+
1854
+ static equals(a: QEvalResponse | PlainMessage<QEvalResponse> | undefined, b: QEvalResponse | PlainMessage<QEvalResponse> | undefined): boolean {
1855
+ return proto3.util.equals(QEvalResponse, a, b);
1856
+ }
1857
+ }
1858
+
1859
+ /**
1860
+ * @generated from message land.gno.gnonative.v1.MsgCall
1861
+ */
1862
+ export class MsgCall extends Message<MsgCall> {
1863
+ /**
1864
+ * Example: "gno.land/r/demo/boards"
1865
+ *
1866
+ * @generated from field: string package_path = 1;
1867
+ */
1868
+ packagePath = "";
1869
+
1870
+ /**
1871
+ * Example: "CreateReply"
1872
+ *
1873
+ * @generated from field: string fnc = 2;
1874
+ */
1875
+ fnc = "";
1876
+
1877
+ /**
1878
+ * list of arguments specific to the function
1879
+ * Example: ["1", "1", "2", "my reply"]
1880
+ *
1881
+ * @generated from field: repeated string args = 3;
1882
+ */
1883
+ args: string[] = [];
1884
+
1885
+ /**
1886
+ * @generated from field: repeated land.gno.gnonative.v1.Coin send = 4;
1887
+ */
1888
+ send: Coin[] = [];
1889
+
1890
+ constructor(data?: PartialMessage<MsgCall>) {
1891
+ super();
1892
+ proto3.util.initPartial(data, this);
1893
+ }
1894
+
1895
+ static readonly runtime: typeof proto3 = proto3;
1896
+ static readonly typeName = "land.gno.gnonative.v1.MsgCall";
1897
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1898
+ { no: 1, name: "package_path", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1899
+ { no: 2, name: "fnc", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1900
+ { no: 3, name: "args", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1901
+ { no: 4, name: "send", kind: "message", T: Coin, repeated: true },
1902
+ ]);
1903
+
1904
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MsgCall {
1905
+ return new MsgCall().fromBinary(bytes, options);
1906
+ }
1907
+
1908
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MsgCall {
1909
+ return new MsgCall().fromJson(jsonValue, options);
1910
+ }
1911
+
1912
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MsgCall {
1913
+ return new MsgCall().fromJsonString(jsonString, options);
1914
+ }
1915
+
1916
+ static equals(a: MsgCall | PlainMessage<MsgCall> | undefined, b: MsgCall | PlainMessage<MsgCall> | undefined): boolean {
1917
+ return proto3.util.equals(MsgCall, a, b);
1918
+ }
1919
+ }
1920
+
1921
+ /**
1922
+ * @generated from message land.gno.gnonative.v1.CallRequest
1923
+ */
1924
+ export class CallRequest extends Message<CallRequest> {
1925
+ /**
1926
+ * @generated from field: string gas_fee = 1;
1927
+ */
1928
+ gasFee = "";
1929
+
1930
+ /**
1931
+ * @generated from field: sint64 gas_wanted = 2;
1932
+ */
1933
+ gasWanted = protoInt64.zero;
1934
+
1935
+ /**
1936
+ * @generated from field: string memo = 3;
1937
+ */
1938
+ memo = "";
1939
+
1940
+ /**
1941
+ * The address of the account to sign the transaction
1942
+ *
1943
+ * @generated from field: bytes caller_address = 4;
1944
+ */
1945
+ callerAddress = new Uint8Array(0);
1946
+
1947
+ /**
1948
+ * list of calls to make in one transaction
1949
+ *
1950
+ * @generated from field: repeated land.gno.gnonative.v1.MsgCall msgs = 5 [json_name = "Msgs"];
1951
+ */
1952
+ msgs: MsgCall[] = [];
1953
+
1954
+ constructor(data?: PartialMessage<CallRequest>) {
1955
+ super();
1956
+ proto3.util.initPartial(data, this);
1957
+ }
1958
+
1959
+ static readonly runtime: typeof proto3 = proto3;
1960
+ static readonly typeName = "land.gno.gnonative.v1.CallRequest";
1961
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1962
+ { no: 1, name: "gas_fee", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1963
+ { no: 2, name: "gas_wanted", kind: "scalar", T: 18 /* ScalarType.SINT64 */ },
1964
+ { no: 3, name: "memo", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1965
+ { no: 4, name: "caller_address", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
1966
+ { no: 5, name: "msgs", jsonName: "Msgs", kind: "message", T: MsgCall, repeated: true },
1967
+ ]);
1968
+
1969
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CallRequest {
1970
+ return new CallRequest().fromBinary(bytes, options);
1971
+ }
1972
+
1973
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CallRequest {
1974
+ return new CallRequest().fromJson(jsonValue, options);
1975
+ }
1976
+
1977
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CallRequest {
1978
+ return new CallRequest().fromJsonString(jsonString, options);
1979
+ }
1980
+
1981
+ static equals(a: CallRequest | PlainMessage<CallRequest> | undefined, b: CallRequest | PlainMessage<CallRequest> | undefined): boolean {
1982
+ return proto3.util.equals(CallRequest, a, b);
1983
+ }
1984
+ }
1985
+
1986
+ /**
1987
+ * @generated from message land.gno.gnonative.v1.CallResponse
1988
+ */
1989
+ export class CallResponse extends Message<CallResponse> {
1990
+ /**
1991
+ * @generated from field: bytes result = 1;
1992
+ */
1993
+ result = new Uint8Array(0);
1994
+
1995
+ constructor(data?: PartialMessage<CallResponse>) {
1996
+ super();
1997
+ proto3.util.initPartial(data, this);
1998
+ }
1999
+
2000
+ static readonly runtime: typeof proto3 = proto3;
2001
+ static readonly typeName = "land.gno.gnonative.v1.CallResponse";
2002
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
2003
+ { no: 1, name: "result", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
2004
+ ]);
2005
+
2006
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CallResponse {
2007
+ return new CallResponse().fromBinary(bytes, options);
2008
+ }
2009
+
2010
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CallResponse {
2011
+ return new CallResponse().fromJson(jsonValue, options);
2012
+ }
2013
+
2014
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CallResponse {
2015
+ return new CallResponse().fromJsonString(jsonString, options);
2016
+ }
2017
+
2018
+ static equals(a: CallResponse | PlainMessage<CallResponse> | undefined, b: CallResponse | PlainMessage<CallResponse> | undefined): boolean {
2019
+ return proto3.util.equals(CallResponse, a, b);
2020
+ }
2021
+ }
2022
+
2023
+ /**
2024
+ * @generated from message land.gno.gnonative.v1.MsgSend
2025
+ */
2026
+ export class MsgSend extends Message<MsgSend> {
2027
+ /**
2028
+ * Example: The response of calling AddressFromBech32 with
2029
+ * "g1juz2yxmdsa6audkp6ep9vfv80c8p5u76e03vvh"
2030
+ *
2031
+ * @generated from field: bytes to_address = 1;
2032
+ */
2033
+ toAddress = new Uint8Array(0);
2034
+
2035
+ /**
2036
+ * Example: [ {Denom: "ugnot", Amount: 1000} ]
2037
+ *
2038
+ * @generated from field: repeated land.gno.gnonative.v1.Coin amount = 2;
2039
+ */
2040
+ amount: Coin[] = [];
2041
+
2042
+ constructor(data?: PartialMessage<MsgSend>) {
2043
+ super();
2044
+ proto3.util.initPartial(data, this);
2045
+ }
2046
+
2047
+ static readonly runtime: typeof proto3 = proto3;
2048
+ static readonly typeName = "land.gno.gnonative.v1.MsgSend";
2049
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
2050
+ { no: 1, name: "to_address", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
2051
+ { no: 2, name: "amount", kind: "message", T: Coin, repeated: true },
2052
+ ]);
2053
+
2054
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MsgSend {
2055
+ return new MsgSend().fromBinary(bytes, options);
2056
+ }
2057
+
2058
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MsgSend {
2059
+ return new MsgSend().fromJson(jsonValue, options);
2060
+ }
2061
+
2062
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MsgSend {
2063
+ return new MsgSend().fromJsonString(jsonString, options);
2064
+ }
2065
+
2066
+ static equals(a: MsgSend | PlainMessage<MsgSend> | undefined, b: MsgSend | PlainMessage<MsgSend> | undefined): boolean {
2067
+ return proto3.util.equals(MsgSend, a, b);
2068
+ }
2069
+ }
2070
+
2071
+ /**
2072
+ * @generated from message land.gno.gnonative.v1.SendRequest
2073
+ */
2074
+ export class SendRequest extends Message<SendRequest> {
2075
+ /**
2076
+ * @generated from field: string gas_fee = 1;
2077
+ */
2078
+ gasFee = "";
2079
+
2080
+ /**
2081
+ * @generated from field: sint64 gas_wanted = 2;
2082
+ */
2083
+ gasWanted = protoInt64.zero;
2084
+
2085
+ /**
2086
+ * Memo is optional
2087
+ *
2088
+ * @generated from field: string memo = 3;
2089
+ */
2090
+ memo = "";
2091
+
2092
+ /**
2093
+ * The address of the account to sign the transaction
2094
+ *
2095
+ * @generated from field: bytes caller_address = 4;
2096
+ */
2097
+ callerAddress = new Uint8Array(0);
2098
+
2099
+ /**
2100
+ * list of send operations to make in one transaction
2101
+ *
2102
+ * @generated from field: repeated land.gno.gnonative.v1.MsgSend msgs = 5 [json_name = "Msgs"];
2103
+ */
2104
+ msgs: MsgSend[] = [];
2105
+
2106
+ constructor(data?: PartialMessage<SendRequest>) {
2107
+ super();
2108
+ proto3.util.initPartial(data, this);
2109
+ }
2110
+
2111
+ static readonly runtime: typeof proto3 = proto3;
2112
+ static readonly typeName = "land.gno.gnonative.v1.SendRequest";
2113
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
2114
+ { no: 1, name: "gas_fee", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2115
+ { no: 2, name: "gas_wanted", kind: "scalar", T: 18 /* ScalarType.SINT64 */ },
2116
+ { no: 3, name: "memo", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2117
+ { no: 4, name: "caller_address", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
2118
+ { no: 5, name: "msgs", jsonName: "Msgs", kind: "message", T: MsgSend, repeated: true },
2119
+ ]);
2120
+
2121
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendRequest {
2122
+ return new SendRequest().fromBinary(bytes, options);
2123
+ }
2124
+
2125
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SendRequest {
2126
+ return new SendRequest().fromJson(jsonValue, options);
2127
+ }
2128
+
2129
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendRequest {
2130
+ return new SendRequest().fromJsonString(jsonString, options);
2131
+ }
2132
+
2133
+ static equals(a: SendRequest | PlainMessage<SendRequest> | undefined, b: SendRequest | PlainMessage<SendRequest> | undefined): boolean {
2134
+ return proto3.util.equals(SendRequest, a, b);
2135
+ }
2136
+ }
2137
+
2138
+ /**
2139
+ * @generated from message land.gno.gnonative.v1.SendResponse
2140
+ */
2141
+ export class SendResponse extends Message<SendResponse> {
2142
+ constructor(data?: PartialMessage<SendResponse>) {
2143
+ super();
2144
+ proto3.util.initPartial(data, this);
2145
+ }
2146
+
2147
+ static readonly runtime: typeof proto3 = proto3;
2148
+ static readonly typeName = "land.gno.gnonative.v1.SendResponse";
2149
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
2150
+ ]);
2151
+
2152
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendResponse {
2153
+ return new SendResponse().fromBinary(bytes, options);
2154
+ }
2155
+
2156
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SendResponse {
2157
+ return new SendResponse().fromJson(jsonValue, options);
2158
+ }
2159
+
2160
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendResponse {
2161
+ return new SendResponse().fromJsonString(jsonString, options);
2162
+ }
2163
+
2164
+ static equals(a: SendResponse | PlainMessage<SendResponse> | undefined, b: SendResponse | PlainMessage<SendResponse> | undefined): boolean {
2165
+ return proto3.util.equals(SendResponse, a, b);
2166
+ }
2167
+ }
2168
+
2169
+ /**
2170
+ * @generated from message land.gno.gnonative.v1.MsgRun
2171
+ */
2172
+ export class MsgRun extends Message<MsgRun> {
2173
+ /**
2174
+ * The code for the script package. Must have main().
2175
+ * Example: "package main\nfunc main() {\n println(\"Hello\")\n}"
2176
+ *
2177
+ * @generated from field: string package = 1;
2178
+ */
2179
+ package = "";
2180
+
2181
+ /**
2182
+ * Optional. Example: "1000ugnot"
2183
+ *
2184
+ * @generated from field: string send = 2;
2185
+ */
2186
+ send = "";
2187
+
2188
+ constructor(data?: PartialMessage<MsgRun>) {
2189
+ super();
2190
+ proto3.util.initPartial(data, this);
2191
+ }
2192
+
2193
+ static readonly runtime: typeof proto3 = proto3;
2194
+ static readonly typeName = "land.gno.gnonative.v1.MsgRun";
2195
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
2196
+ { no: 1, name: "package", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2197
+ { no: 2, name: "send", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2198
+ ]);
2199
+
2200
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MsgRun {
2201
+ return new MsgRun().fromBinary(bytes, options);
2202
+ }
2203
+
2204
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MsgRun {
2205
+ return new MsgRun().fromJson(jsonValue, options);
2206
+ }
2207
+
2208
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MsgRun {
2209
+ return new MsgRun().fromJsonString(jsonString, options);
2210
+ }
2211
+
2212
+ static equals(a: MsgRun | PlainMessage<MsgRun> | undefined, b: MsgRun | PlainMessage<MsgRun> | undefined): boolean {
2213
+ return proto3.util.equals(MsgRun, a, b);
2214
+ }
2215
+ }
2216
+
2217
+ /**
2218
+ * @generated from message land.gno.gnonative.v1.RunRequest
2219
+ */
2220
+ export class RunRequest extends Message<RunRequest> {
2221
+ /**
2222
+ * @generated from field: string gas_fee = 1;
2223
+ */
2224
+ gasFee = "";
2225
+
2226
+ /**
2227
+ * @generated from field: sint64 gas_wanted = 2;
2228
+ */
2229
+ gasWanted = protoInt64.zero;
2230
+
2231
+ /**
2232
+ * Memo is optional
2233
+ *
2234
+ * @generated from field: string memo = 3;
2235
+ */
2236
+ memo = "";
2237
+
2238
+ /**
2239
+ * The address of the account to sign the transaction
2240
+ *
2241
+ * @generated from field: bytes caller_address = 4;
2242
+ */
2243
+ callerAddress = new Uint8Array(0);
2244
+
2245
+ /**
2246
+ * list of run operations to make in one transaction
2247
+ *
2248
+ * @generated from field: repeated land.gno.gnonative.v1.MsgRun msgs = 5 [json_name = "Msgs"];
2249
+ */
2250
+ msgs: MsgRun[] = [];
2251
+
2252
+ constructor(data?: PartialMessage<RunRequest>) {
2253
+ super();
2254
+ proto3.util.initPartial(data, this);
2255
+ }
2256
+
2257
+ static readonly runtime: typeof proto3 = proto3;
2258
+ static readonly typeName = "land.gno.gnonative.v1.RunRequest";
2259
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
2260
+ { no: 1, name: "gas_fee", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2261
+ { no: 2, name: "gas_wanted", kind: "scalar", T: 18 /* ScalarType.SINT64 */ },
2262
+ { no: 3, name: "memo", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2263
+ { no: 4, name: "caller_address", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
2264
+ { no: 5, name: "msgs", jsonName: "Msgs", kind: "message", T: MsgRun, repeated: true },
2265
+ ]);
2266
+
2267
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RunRequest {
2268
+ return new RunRequest().fromBinary(bytes, options);
2269
+ }
2270
+
2271
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RunRequest {
2272
+ return new RunRequest().fromJson(jsonValue, options);
2273
+ }
2274
+
2275
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RunRequest {
2276
+ return new RunRequest().fromJsonString(jsonString, options);
2277
+ }
2278
+
2279
+ static equals(a: RunRequest | PlainMessage<RunRequest> | undefined, b: RunRequest | PlainMessage<RunRequest> | undefined): boolean {
2280
+ return proto3.util.equals(RunRequest, a, b);
2281
+ }
2282
+ }
2283
+
2284
+ /**
2285
+ * @generated from message land.gno.gnonative.v1.RunResponse
2286
+ */
2287
+ export class RunResponse extends Message<RunResponse> {
2288
+ /**
2289
+ * The "console" output from the run
2290
+ *
2291
+ * @generated from field: string result = 1;
2292
+ */
2293
+ result = "";
2294
+
2295
+ constructor(data?: PartialMessage<RunResponse>) {
2296
+ super();
2297
+ proto3.util.initPartial(data, this);
2298
+ }
2299
+
2300
+ static readonly runtime: typeof proto3 = proto3;
2301
+ static readonly typeName = "land.gno.gnonative.v1.RunResponse";
2302
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
2303
+ { no: 1, name: "result", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2304
+ ]);
2305
+
2306
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RunResponse {
2307
+ return new RunResponse().fromBinary(bytes, options);
2308
+ }
2309
+
2310
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RunResponse {
2311
+ return new RunResponse().fromJson(jsonValue, options);
2312
+ }
2313
+
2314
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RunResponse {
2315
+ return new RunResponse().fromJsonString(jsonString, options);
2316
+ }
2317
+
2318
+ static equals(a: RunResponse | PlainMessage<RunResponse> | undefined, b: RunResponse | PlainMessage<RunResponse> | undefined): boolean {
2319
+ return proto3.util.equals(RunResponse, a, b);
2320
+ }
2321
+ }
2322
+
2323
+ /**
2324
+ * @generated from message land.gno.gnonative.v1.MakeTxResponse
2325
+ */
2326
+ export class MakeTxResponse extends Message<MakeTxResponse> {
2327
+ /**
2328
+ * The JSON encoding of the unsigned transaction
2329
+ *
2330
+ * @generated from field: string tx_json = 1;
2331
+ */
2332
+ txJson = "";
2333
+
2334
+ constructor(data?: PartialMessage<MakeTxResponse>) {
2335
+ super();
2336
+ proto3.util.initPartial(data, this);
2337
+ }
2338
+
2339
+ static readonly runtime: typeof proto3 = proto3;
2340
+ static readonly typeName = "land.gno.gnonative.v1.MakeTxResponse";
2341
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
2342
+ { no: 1, name: "tx_json", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2343
+ ]);
2344
+
2345
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MakeTxResponse {
2346
+ return new MakeTxResponse().fromBinary(bytes, options);
2347
+ }
2348
+
2349
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MakeTxResponse {
2350
+ return new MakeTxResponse().fromJson(jsonValue, options);
2351
+ }
2352
+
2353
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MakeTxResponse {
2354
+ return new MakeTxResponse().fromJsonString(jsonString, options);
2355
+ }
2356
+
2357
+ static equals(a: MakeTxResponse | PlainMessage<MakeTxResponse> | undefined, b: MakeTxResponse | PlainMessage<MakeTxResponse> | undefined): boolean {
2358
+ return proto3.util.equals(MakeTxResponse, a, b);
2359
+ }
2360
+ }
2361
+
2362
+ /**
2363
+ * @generated from message land.gno.gnonative.v1.SignTxRequest
2364
+ */
2365
+ export class SignTxRequest extends Message<SignTxRequest> {
2366
+ /**
2367
+ * The JSON encoding of the unsigned transaction (from MakeCallTx, etc.)
2368
+ *
2369
+ * @generated from field: string tx_json = 1;
2370
+ */
2371
+ txJson = "";
2372
+
2373
+ /**
2374
+ * The address of the account to sign the transaction
2375
+ *
2376
+ * @generated from field: bytes address = 2;
2377
+ */
2378
+ address = new Uint8Array(0);
2379
+
2380
+ /**
2381
+ * The signer's account number on the blockchain. If 0 then query the blockchain for the value.
2382
+ *
2383
+ * @generated from field: uint64 account_number = 3;
2384
+ */
2385
+ accountNumber = protoInt64.zero;
2386
+
2387
+ /**
2388
+ * The sequence number of the signer's transactions on the blockchain. If 0 then query the blockchain for the value.
2389
+ *
2390
+ * @generated from field: uint64 sequence_number = 4;
2391
+ */
2392
+ sequenceNumber = protoInt64.zero;
2393
+
2394
+ constructor(data?: PartialMessage<SignTxRequest>) {
2395
+ super();
2396
+ proto3.util.initPartial(data, this);
2397
+ }
2398
+
2399
+ static readonly runtime: typeof proto3 = proto3;
2400
+ static readonly typeName = "land.gno.gnonative.v1.SignTxRequest";
2401
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
2402
+ { no: 1, name: "tx_json", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2403
+ { no: 2, name: "address", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
2404
+ { no: 3, name: "account_number", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
2405
+ { no: 4, name: "sequence_number", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
2406
+ ]);
2407
+
2408
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SignTxRequest {
2409
+ return new SignTxRequest().fromBinary(bytes, options);
2410
+ }
2411
+
2412
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SignTxRequest {
2413
+ return new SignTxRequest().fromJson(jsonValue, options);
2414
+ }
2415
+
2416
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SignTxRequest {
2417
+ return new SignTxRequest().fromJsonString(jsonString, options);
2418
+ }
2419
+
2420
+ static equals(a: SignTxRequest | PlainMessage<SignTxRequest> | undefined, b: SignTxRequest | PlainMessage<SignTxRequest> | undefined): boolean {
2421
+ return proto3.util.equals(SignTxRequest, a, b);
2422
+ }
2423
+ }
2424
+
2425
+ /**
2426
+ * @generated from message land.gno.gnonative.v1.SignTxResponse
2427
+ */
2428
+ export class SignTxResponse extends Message<SignTxResponse> {
2429
+ /**
2430
+ * The JSON encoding of the signed transaction (to use in BroadcastTx)
2431
+ *
2432
+ * @generated from field: string signed_tx_json = 1 [json_name = "tx_json"];
2433
+ */
2434
+ signedTxJson = "";
2435
+
2436
+ constructor(data?: PartialMessage<SignTxResponse>) {
2437
+ super();
2438
+ proto3.util.initPartial(data, this);
2439
+ }
2440
+
2441
+ static readonly runtime: typeof proto3 = proto3;
2442
+ static readonly typeName = "land.gno.gnonative.v1.SignTxResponse";
2443
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
2444
+ { no: 1, name: "signed_tx_json", jsonName: "tx_json", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2445
+ ]);
2446
+
2447
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SignTxResponse {
2448
+ return new SignTxResponse().fromBinary(bytes, options);
2449
+ }
2450
+
2451
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SignTxResponse {
2452
+ return new SignTxResponse().fromJson(jsonValue, options);
2453
+ }
2454
+
2455
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SignTxResponse {
2456
+ return new SignTxResponse().fromJsonString(jsonString, options);
2457
+ }
2458
+
2459
+ static equals(a: SignTxResponse | PlainMessage<SignTxResponse> | undefined, b: SignTxResponse | PlainMessage<SignTxResponse> | undefined): boolean {
2460
+ return proto3.util.equals(SignTxResponse, a, b);
2461
+ }
2462
+ }
2463
+
2464
+ /**
2465
+ * @generated from message land.gno.gnonative.v1.EstimateGasRequest
2466
+ */
2467
+ export class EstimateGasRequest extends Message<EstimateGasRequest> {
2468
+ /**
2469
+ * The JSON encoding of the unsigned transaction (from MakeCallTx, etc.)
2470
+ *
2471
+ * @generated from field: string tx_json = 1;
2472
+ */
2473
+ txJson = "";
2474
+
2475
+ /**
2476
+ * The address of the account to sign the transaction
2477
+ *
2478
+ * @generated from field: bytes address = 2;
2479
+ */
2480
+ address = new Uint8Array(0);
2481
+
2482
+ /**
2483
+ * The security margin to apply to the estimated gas amount.
2484
+ * This number is represents a decimal numeral value with two decimals precision, without the decimal separator. E.g. 1 means 0.01 and 10000 means 100.00.
2485
+ * It will be multiplied by the estimated gas amount.
2486
+ *
2487
+ * @generated from field: uint32 security_margin = 3;
2488
+ */
2489
+ securityMargin = 0;
2490
+
2491
+ /**
2492
+ * The update boolean to update the gas wanted field in the transaction if true.
2493
+ *
2494
+ * @generated from field: bool update_tx = 4;
2495
+ */
2496
+ updateTx = false;
2497
+
2498
+ /**
2499
+ * The signer's account number on the blockchain. If 0 then query the blockchain for the value.
2500
+ *
2501
+ * @generated from field: uint64 account_number = 5;
2502
+ */
2503
+ accountNumber = protoInt64.zero;
2504
+
2505
+ /**
2506
+ * The sequence number of the signer's transactions on the blockchain. If 0 then query the blockchain for the value.
2507
+ *
2508
+ * @generated from field: uint64 sequence_number = 6;
2509
+ */
2510
+ sequenceNumber = protoInt64.zero;
2511
+
2512
+ constructor(data?: PartialMessage<EstimateGasRequest>) {
2513
+ super();
2514
+ proto3.util.initPartial(data, this);
2515
+ }
2516
+
2517
+ static readonly runtime: typeof proto3 = proto3;
2518
+ static readonly typeName = "land.gno.gnonative.v1.EstimateGasRequest";
2519
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
2520
+ { no: 1, name: "tx_json", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2521
+ { no: 2, name: "address", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
2522
+ { no: 3, name: "security_margin", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
2523
+ { no: 4, name: "update_tx", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2524
+ { no: 5, name: "account_number", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
2525
+ { no: 6, name: "sequence_number", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
2526
+ ]);
2527
+
2528
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EstimateGasRequest {
2529
+ return new EstimateGasRequest().fromBinary(bytes, options);
2530
+ }
2531
+
2532
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EstimateGasRequest {
2533
+ return new EstimateGasRequest().fromJson(jsonValue, options);
2534
+ }
2535
+
2536
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EstimateGasRequest {
2537
+ return new EstimateGasRequest().fromJsonString(jsonString, options);
2538
+ }
2539
+
2540
+ static equals(a: EstimateGasRequest | PlainMessage<EstimateGasRequest> | undefined, b: EstimateGasRequest | PlainMessage<EstimateGasRequest> | undefined): boolean {
2541
+ return proto3.util.equals(EstimateGasRequest, a, b);
2542
+ }
2543
+ }
2544
+
2545
+ /**
2546
+ * @generated from message land.gno.gnonative.v1.EstimateGasResponse
2547
+ */
2548
+ export class EstimateGasResponse extends Message<EstimateGasResponse> {
2549
+ /**
2550
+ * The JSON encoding of the unsigned transaction
2551
+ *
2552
+ * @generated from field: string tx_json = 1;
2553
+ */
2554
+ txJson = "";
2555
+
2556
+ /**
2557
+ * The estimated gas wanted for the transaction
2558
+ *
2559
+ * @generated from field: sint64 gas_wanted = 2;
2560
+ */
2561
+ gasWanted = protoInt64.zero;
2562
+
2563
+ constructor(data?: PartialMessage<EstimateGasResponse>) {
2564
+ super();
2565
+ proto3.util.initPartial(data, this);
2566
+ }
2567
+
2568
+ static readonly runtime: typeof proto3 = proto3;
2569
+ static readonly typeName = "land.gno.gnonative.v1.EstimateGasResponse";
2570
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
2571
+ { no: 1, name: "tx_json", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2572
+ { no: 2, name: "gas_wanted", kind: "scalar", T: 18 /* ScalarType.SINT64 */ },
2573
+ ]);
2574
+
2575
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EstimateGasResponse {
2576
+ return new EstimateGasResponse().fromBinary(bytes, options);
2577
+ }
2578
+
2579
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EstimateGasResponse {
2580
+ return new EstimateGasResponse().fromJson(jsonValue, options);
2581
+ }
2582
+
2583
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EstimateGasResponse {
2584
+ return new EstimateGasResponse().fromJsonString(jsonString, options);
2585
+ }
2586
+
2587
+ static equals(a: EstimateGasResponse | PlainMessage<EstimateGasResponse> | undefined, b: EstimateGasResponse | PlainMessage<EstimateGasResponse> | undefined): boolean {
2588
+ return proto3.util.equals(EstimateGasResponse, a, b);
2589
+ }
2590
+ }
2591
+
2592
+ /**
2593
+ * @generated from message land.gno.gnonative.v1.BroadcastTxCommitRequest
2594
+ */
2595
+ export class BroadcastTxCommitRequest extends Message<BroadcastTxCommitRequest> {
2596
+ /**
2597
+ * The JSON encoding of the signed transaction (from SignTx)
2598
+ *
2599
+ * @generated from field: string signed_tx_json = 1 [json_name = "tx_json"];
2600
+ */
2601
+ signedTxJson = "";
2602
+
2603
+ constructor(data?: PartialMessage<BroadcastTxCommitRequest>) {
2604
+ super();
2605
+ proto3.util.initPartial(data, this);
2606
+ }
2607
+
2608
+ static readonly runtime: typeof proto3 = proto3;
2609
+ static readonly typeName = "land.gno.gnonative.v1.BroadcastTxCommitRequest";
2610
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
2611
+ { no: 1, name: "signed_tx_json", jsonName: "tx_json", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2612
+ ]);
2613
+
2614
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BroadcastTxCommitRequest {
2615
+ return new BroadcastTxCommitRequest().fromBinary(bytes, options);
2616
+ }
2617
+
2618
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BroadcastTxCommitRequest {
2619
+ return new BroadcastTxCommitRequest().fromJson(jsonValue, options);
2620
+ }
2621
+
2622
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BroadcastTxCommitRequest {
2623
+ return new BroadcastTxCommitRequest().fromJsonString(jsonString, options);
2624
+ }
2625
+
2626
+ static equals(a: BroadcastTxCommitRequest | PlainMessage<BroadcastTxCommitRequest> | undefined, b: BroadcastTxCommitRequest | PlainMessage<BroadcastTxCommitRequest> | undefined): boolean {
2627
+ return proto3.util.equals(BroadcastTxCommitRequest, a, b);
2628
+ }
2629
+ }
2630
+
2631
+ /**
2632
+ * @generated from message land.gno.gnonative.v1.BroadcastTxCommitResponse
2633
+ */
2634
+ export class BroadcastTxCommitResponse extends Message<BroadcastTxCommitResponse> {
2635
+ /**
2636
+ * @generated from field: bytes result = 1;
2637
+ */
2638
+ result = new Uint8Array(0);
2639
+
2640
+ constructor(data?: PartialMessage<BroadcastTxCommitResponse>) {
2641
+ super();
2642
+ proto3.util.initPartial(data, this);
2643
+ }
2644
+
2645
+ static readonly runtime: typeof proto3 = proto3;
2646
+ static readonly typeName = "land.gno.gnonative.v1.BroadcastTxCommitResponse";
2647
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
2648
+ { no: 1, name: "result", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
2649
+ ]);
2650
+
2651
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BroadcastTxCommitResponse {
2652
+ return new BroadcastTxCommitResponse().fromBinary(bytes, options);
2653
+ }
2654
+
2655
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BroadcastTxCommitResponse {
2656
+ return new BroadcastTxCommitResponse().fromJson(jsonValue, options);
2657
+ }
2658
+
2659
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BroadcastTxCommitResponse {
2660
+ return new BroadcastTxCommitResponse().fromJsonString(jsonString, options);
2661
+ }
2662
+
2663
+ static equals(a: BroadcastTxCommitResponse | PlainMessage<BroadcastTxCommitResponse> | undefined, b: BroadcastTxCommitResponse | PlainMessage<BroadcastTxCommitResponse> | undefined): boolean {
2664
+ return proto3.util.equals(BroadcastTxCommitResponse, a, b);
2665
+ }
2666
+ }
2667
+
2668
+ /**
2669
+ * @generated from message land.gno.gnonative.v1.AddressToBech32Request
2670
+ */
2671
+ export class AddressToBech32Request extends Message<AddressToBech32Request> {
2672
+ /**
2673
+ * @generated from field: bytes address = 1;
2674
+ */
2675
+ address = new Uint8Array(0);
2676
+
2677
+ constructor(data?: PartialMessage<AddressToBech32Request>) {
2678
+ super();
2679
+ proto3.util.initPartial(data, this);
2680
+ }
2681
+
2682
+ static readonly runtime: typeof proto3 = proto3;
2683
+ static readonly typeName = "land.gno.gnonative.v1.AddressToBech32Request";
2684
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
2685
+ { no: 1, name: "address", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
2686
+ ]);
2687
+
2688
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AddressToBech32Request {
2689
+ return new AddressToBech32Request().fromBinary(bytes, options);
2690
+ }
2691
+
2692
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AddressToBech32Request {
2693
+ return new AddressToBech32Request().fromJson(jsonValue, options);
2694
+ }
2695
+
2696
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AddressToBech32Request {
2697
+ return new AddressToBech32Request().fromJsonString(jsonString, options);
2698
+ }
2699
+
2700
+ static equals(a: AddressToBech32Request | PlainMessage<AddressToBech32Request> | undefined, b: AddressToBech32Request | PlainMessage<AddressToBech32Request> | undefined): boolean {
2701
+ return proto3.util.equals(AddressToBech32Request, a, b);
2702
+ }
2703
+ }
2704
+
2705
+ /**
2706
+ * @generated from message land.gno.gnonative.v1.AddressToBech32Response
2707
+ */
2708
+ export class AddressToBech32Response extends Message<AddressToBech32Response> {
2709
+ /**
2710
+ * @generated from field: string bech32_address = 1;
2711
+ */
2712
+ bech32Address = "";
2713
+
2714
+ constructor(data?: PartialMessage<AddressToBech32Response>) {
2715
+ super();
2716
+ proto3.util.initPartial(data, this);
2717
+ }
2718
+
2719
+ static readonly runtime: typeof proto3 = proto3;
2720
+ static readonly typeName = "land.gno.gnonative.v1.AddressToBech32Response";
2721
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
2722
+ { no: 1, name: "bech32_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2723
+ ]);
2724
+
2725
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AddressToBech32Response {
2726
+ return new AddressToBech32Response().fromBinary(bytes, options);
2727
+ }
2728
+
2729
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AddressToBech32Response {
2730
+ return new AddressToBech32Response().fromJson(jsonValue, options);
2731
+ }
2732
+
2733
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AddressToBech32Response {
2734
+ return new AddressToBech32Response().fromJsonString(jsonString, options);
2735
+ }
2736
+
2737
+ static equals(a: AddressToBech32Response | PlainMessage<AddressToBech32Response> | undefined, b: AddressToBech32Response | PlainMessage<AddressToBech32Response> | undefined): boolean {
2738
+ return proto3.util.equals(AddressToBech32Response, a, b);
2739
+ }
2740
+ }
2741
+
2742
+ /**
2743
+ * @generated from message land.gno.gnonative.v1.AddressFromBech32Request
2744
+ */
2745
+ export class AddressFromBech32Request extends Message<AddressFromBech32Request> {
2746
+ /**
2747
+ * @generated from field: string bech32_address = 1;
2748
+ */
2749
+ bech32Address = "";
2750
+
2751
+ constructor(data?: PartialMessage<AddressFromBech32Request>) {
2752
+ super();
2753
+ proto3.util.initPartial(data, this);
2754
+ }
2755
+
2756
+ static readonly runtime: typeof proto3 = proto3;
2757
+ static readonly typeName = "land.gno.gnonative.v1.AddressFromBech32Request";
2758
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
2759
+ { no: 1, name: "bech32_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2760
+ ]);
2761
+
2762
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AddressFromBech32Request {
2763
+ return new AddressFromBech32Request().fromBinary(bytes, options);
2764
+ }
2765
+
2766
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AddressFromBech32Request {
2767
+ return new AddressFromBech32Request().fromJson(jsonValue, options);
2768
+ }
2769
+
2770
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AddressFromBech32Request {
2771
+ return new AddressFromBech32Request().fromJsonString(jsonString, options);
2772
+ }
2773
+
2774
+ static equals(a: AddressFromBech32Request | PlainMessage<AddressFromBech32Request> | undefined, b: AddressFromBech32Request | PlainMessage<AddressFromBech32Request> | undefined): boolean {
2775
+ return proto3.util.equals(AddressFromBech32Request, a, b);
2776
+ }
2777
+ }
2778
+
2779
+ /**
2780
+ * @generated from message land.gno.gnonative.v1.AddressFromBech32Response
2781
+ */
2782
+ export class AddressFromBech32Response extends Message<AddressFromBech32Response> {
2783
+ /**
2784
+ * @generated from field: bytes address = 1;
2785
+ */
2786
+ address = new Uint8Array(0);
2787
+
2788
+ constructor(data?: PartialMessage<AddressFromBech32Response>) {
2789
+ super();
2790
+ proto3.util.initPartial(data, this);
2791
+ }
2792
+
2793
+ static readonly runtime: typeof proto3 = proto3;
2794
+ static readonly typeName = "land.gno.gnonative.v1.AddressFromBech32Response";
2795
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
2796
+ { no: 1, name: "address", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
2797
+ ]);
2798
+
2799
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AddressFromBech32Response {
2800
+ return new AddressFromBech32Response().fromBinary(bytes, options);
2801
+ }
2802
+
2803
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AddressFromBech32Response {
2804
+ return new AddressFromBech32Response().fromJson(jsonValue, options);
2805
+ }
2806
+
2807
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AddressFromBech32Response {
2808
+ return new AddressFromBech32Response().fromJsonString(jsonString, options);
2809
+ }
2810
+
2811
+ static equals(a: AddressFromBech32Response | PlainMessage<AddressFromBech32Response> | undefined, b: AddressFromBech32Response | PlainMessage<AddressFromBech32Response> | undefined): boolean {
2812
+ return proto3.util.equals(AddressFromBech32Response, a, b);
2813
+ }
2814
+ }
2815
+
2816
+ /**
2817
+ * @generated from message land.gno.gnonative.v1.AddressFromMnemonicRequest
2818
+ */
2819
+ export class AddressFromMnemonicRequest extends Message<AddressFromMnemonicRequest> {
2820
+ /**
2821
+ * @generated from field: string mnemonic = 1;
2822
+ */
2823
+ mnemonic = "";
2824
+
2825
+ constructor(data?: PartialMessage<AddressFromMnemonicRequest>) {
2826
+ super();
2827
+ proto3.util.initPartial(data, this);
2828
+ }
2829
+
2830
+ static readonly runtime: typeof proto3 = proto3;
2831
+ static readonly typeName = "land.gno.gnonative.v1.AddressFromMnemonicRequest";
2832
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
2833
+ { no: 1, name: "mnemonic", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2834
+ ]);
2835
+
2836
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AddressFromMnemonicRequest {
2837
+ return new AddressFromMnemonicRequest().fromBinary(bytes, options);
2838
+ }
2839
+
2840
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AddressFromMnemonicRequest {
2841
+ return new AddressFromMnemonicRequest().fromJson(jsonValue, options);
2842
+ }
2843
+
2844
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AddressFromMnemonicRequest {
2845
+ return new AddressFromMnemonicRequest().fromJsonString(jsonString, options);
2846
+ }
2847
+
2848
+ static equals(a: AddressFromMnemonicRequest | PlainMessage<AddressFromMnemonicRequest> | undefined, b: AddressFromMnemonicRequest | PlainMessage<AddressFromMnemonicRequest> | undefined): boolean {
2849
+ return proto3.util.equals(AddressFromMnemonicRequest, a, b);
2850
+ }
2851
+ }
2852
+
2853
+ /**
2854
+ * @generated from message land.gno.gnonative.v1.AddressFromMnemonicResponse
2855
+ */
2856
+ export class AddressFromMnemonicResponse extends Message<AddressFromMnemonicResponse> {
2857
+ /**
2858
+ * @generated from field: bytes address = 1;
2859
+ */
2860
+ address = new Uint8Array(0);
2861
+
2862
+ constructor(data?: PartialMessage<AddressFromMnemonicResponse>) {
2863
+ super();
2864
+ proto3.util.initPartial(data, this);
2865
+ }
2866
+
2867
+ static readonly runtime: typeof proto3 = proto3;
2868
+ static readonly typeName = "land.gno.gnonative.v1.AddressFromMnemonicResponse";
2869
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
2870
+ { no: 1, name: "address", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
2871
+ ]);
2872
+
2873
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AddressFromMnemonicResponse {
2874
+ return new AddressFromMnemonicResponse().fromBinary(bytes, options);
2875
+ }
2876
+
2877
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AddressFromMnemonicResponse {
2878
+ return new AddressFromMnemonicResponse().fromJson(jsonValue, options);
2879
+ }
2880
+
2881
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AddressFromMnemonicResponse {
2882
+ return new AddressFromMnemonicResponse().fromJsonString(jsonString, options);
2883
+ }
2884
+
2885
+ static equals(a: AddressFromMnemonicResponse | PlainMessage<AddressFromMnemonicResponse> | undefined, b: AddressFromMnemonicResponse | PlainMessage<AddressFromMnemonicResponse> | undefined): boolean {
2886
+ return proto3.util.equals(AddressFromMnemonicResponse, a, b);
2887
+ }
2888
+ }
2889
+
2890
+ /**
2891
+ * @generated from message land.gno.gnonative.v1.HelloRequest
2892
+ */
2893
+ export class HelloRequest extends Message<HelloRequest> {
2894
+ /**
2895
+ * @generated from field: string name = 1 [json_name = "Name"];
2896
+ */
2897
+ name = "";
2898
+
2899
+ constructor(data?: PartialMessage<HelloRequest>) {
2900
+ super();
2901
+ proto3.util.initPartial(data, this);
2902
+ }
2903
+
2904
+ static readonly runtime: typeof proto3 = proto3;
2905
+ static readonly typeName = "land.gno.gnonative.v1.HelloRequest";
2906
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
2907
+ { no: 1, name: "name", jsonName: "Name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2908
+ ]);
2909
+
2910
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HelloRequest {
2911
+ return new HelloRequest().fromBinary(bytes, options);
2912
+ }
2913
+
2914
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HelloRequest {
2915
+ return new HelloRequest().fromJson(jsonValue, options);
2916
+ }
2917
+
2918
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HelloRequest {
2919
+ return new HelloRequest().fromJsonString(jsonString, options);
2920
+ }
2921
+
2922
+ static equals(a: HelloRequest | PlainMessage<HelloRequest> | undefined, b: HelloRequest | PlainMessage<HelloRequest> | undefined): boolean {
2923
+ return proto3.util.equals(HelloRequest, a, b);
2924
+ }
2925
+ }
2926
+
2927
+ /**
2928
+ * @generated from message land.gno.gnonative.v1.HelloResponse
2929
+ */
2930
+ export class HelloResponse extends Message<HelloResponse> {
2931
+ /**
2932
+ * @generated from field: string greeting = 1 [json_name = "Greeting"];
2933
+ */
2934
+ greeting = "";
2935
+
2936
+ constructor(data?: PartialMessage<HelloResponse>) {
2937
+ super();
2938
+ proto3.util.initPartial(data, this);
2939
+ }
2940
+
2941
+ static readonly runtime: typeof proto3 = proto3;
2942
+ static readonly typeName = "land.gno.gnonative.v1.HelloResponse";
2943
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
2944
+ { no: 1, name: "greeting", jsonName: "Greeting", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2945
+ ]);
2946
+
2947
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HelloResponse {
2948
+ return new HelloResponse().fromBinary(bytes, options);
2949
+ }
2950
+
2951
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HelloResponse {
2952
+ return new HelloResponse().fromJson(jsonValue, options);
2953
+ }
2954
+
2955
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HelloResponse {
2956
+ return new HelloResponse().fromJsonString(jsonString, options);
2957
+ }
2958
+
2959
+ static equals(a: HelloResponse | PlainMessage<HelloResponse> | undefined, b: HelloResponse | PlainMessage<HelloResponse> | undefined): boolean {
2960
+ return proto3.util.equals(HelloResponse, a, b);
2961
+ }
2962
+ }
2963
+
2964
+ /**
2965
+ * @generated from message land.gno.gnonative.v1.HelloStreamRequest
2966
+ */
2967
+ export class HelloStreamRequest extends Message<HelloStreamRequest> {
2968
+ /**
2969
+ * @generated from field: string name = 1 [json_name = "Name"];
2970
+ */
2971
+ name = "";
2972
+
2973
+ constructor(data?: PartialMessage<HelloStreamRequest>) {
2974
+ super();
2975
+ proto3.util.initPartial(data, this);
2976
+ }
2977
+
2978
+ static readonly runtime: typeof proto3 = proto3;
2979
+ static readonly typeName = "land.gno.gnonative.v1.HelloStreamRequest";
2980
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
2981
+ { no: 1, name: "name", jsonName: "Name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2982
+ ]);
2983
+
2984
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HelloStreamRequest {
2985
+ return new HelloStreamRequest().fromBinary(bytes, options);
2986
+ }
2987
+
2988
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HelloStreamRequest {
2989
+ return new HelloStreamRequest().fromJson(jsonValue, options);
2990
+ }
2991
+
2992
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HelloStreamRequest {
2993
+ return new HelloStreamRequest().fromJsonString(jsonString, options);
2994
+ }
2995
+
2996
+ static equals(a: HelloStreamRequest | PlainMessage<HelloStreamRequest> | undefined, b: HelloStreamRequest | PlainMessage<HelloStreamRequest> | undefined): boolean {
2997
+ return proto3.util.equals(HelloStreamRequest, a, b);
2998
+ }
2999
+ }
3000
+
3001
+ /**
3002
+ * @generated from message land.gno.gnonative.v1.HelloStreamResponse
3003
+ */
3004
+ export class HelloStreamResponse extends Message<HelloStreamResponse> {
3005
+ /**
3006
+ * @generated from field: string greeting = 1 [json_name = "Greeting"];
3007
+ */
3008
+ greeting = "";
3009
+
3010
+ constructor(data?: PartialMessage<HelloStreamResponse>) {
3011
+ super();
3012
+ proto3.util.initPartial(data, this);
3013
+ }
3014
+
3015
+ static readonly runtime: typeof proto3 = proto3;
3016
+ static readonly typeName = "land.gno.gnonative.v1.HelloStreamResponse";
3017
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
3018
+ { no: 1, name: "greeting", jsonName: "Greeting", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3019
+ ]);
3020
+
3021
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HelloStreamResponse {
3022
+ return new HelloStreamResponse().fromBinary(bytes, options);
3023
+ }
3024
+
3025
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HelloStreamResponse {
3026
+ return new HelloStreamResponse().fromJson(jsonValue, options);
3027
+ }
3028
+
3029
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HelloStreamResponse {
3030
+ return new HelloStreamResponse().fromJsonString(jsonString, options);
3031
+ }
3032
+
3033
+ static equals(a: HelloStreamResponse | PlainMessage<HelloStreamResponse> | undefined, b: HelloStreamResponse | PlainMessage<HelloStreamResponse> | undefined): boolean {
3034
+ return proto3.util.equals(HelloStreamResponse, a, b);
3035
+ }
3036
+ }
3037
+
3038
+ /**
3039
+ * @generated from message land.gno.gnonative.v1.GNONATIVETYPES_BytesList
3040
+ */
3041
+ export class GNONATIVETYPES_BytesList extends Message<GNONATIVETYPES_BytesList> {
3042
+ /**
3043
+ * @generated from field: repeated bytes Value = 1;
3044
+ */
3045
+ Value: Uint8Array[] = [];
3046
+
3047
+ constructor(data?: PartialMessage<GNONATIVETYPES_BytesList>) {
3048
+ super();
3049
+ proto3.util.initPartial(data, this);
3050
+ }
3051
+
3052
+ static readonly runtime: typeof proto3 = proto3;
3053
+ static readonly typeName = "land.gno.gnonative.v1.GNONATIVETYPES_BytesList";
3054
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
3055
+ { no: 1, name: "Value", kind: "scalar", T: 12 /* ScalarType.BYTES */, repeated: true },
3056
+ ]);
3057
+
3058
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GNONATIVETYPES_BytesList {
3059
+ return new GNONATIVETYPES_BytesList().fromBinary(bytes, options);
3060
+ }
3061
+
3062
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GNONATIVETYPES_BytesList {
3063
+ return new GNONATIVETYPES_BytesList().fromJson(jsonValue, options);
3064
+ }
3065
+
3066
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GNONATIVETYPES_BytesList {
3067
+ return new GNONATIVETYPES_BytesList().fromJsonString(jsonString, options);
3068
+ }
3069
+
3070
+ static equals(a: GNONATIVETYPES_BytesList | PlainMessage<GNONATIVETYPES_BytesList> | undefined, b: GNONATIVETYPES_BytesList | PlainMessage<GNONATIVETYPES_BytesList> | undefined): boolean {
3071
+ return proto3.util.equals(GNONATIVETYPES_BytesList, a, b);
3072
+ }
3073
+ }
3074
+