@gnolang/gnonative 4.1.0 → 4.2.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 (42) hide show
  1. package/android/libs/gnocore.aar +0 -0
  2. package/build/GnonativeModule.web.d.ts.map +1 -1
  3. package/build/api/GnoNativeApi.d.ts +8 -6
  4. package/build/api/GnoNativeApi.d.ts.map +1 -1
  5. package/build/api/GnoNativeApi.js +50 -56
  6. package/build/api/GnoNativeApi.js.map +1 -1
  7. package/build/api/types.d.ts +2 -0
  8. package/build/api/types.d.ts.map +1 -1
  9. package/build/api/types.js.map +1 -1
  10. package/build/api/vendor/gnonativetypes_pb.d.ts +620 -743
  11. package/build/api/vendor/gnonativetypes_pb.d.ts.map +1 -1
  12. package/build/api/vendor/gnonativetypes_pb.js +396 -2503
  13. package/build/api/vendor/gnonativetypes_pb.js.map +1 -1
  14. package/build/api/vendor/rpc_pb.d.ts +462 -15
  15. package/build/api/vendor/rpc_pb.d.ts.map +1 -1
  16. package/build/api/vendor/rpc_pb.js +20 -70
  17. package/build/api/vendor/rpc_pb.js.map +1 -1
  18. package/build/grpc/client.d.ts +3 -3
  19. package/build/grpc/client.d.ts.map +1 -1
  20. package/build/grpc/client.js +3 -3
  21. package/build/grpc/client.js.map +1 -1
  22. package/build/grpc/transport_native.d.ts.map +1 -1
  23. package/build/grpc/transport_native.js +20 -25
  24. package/build/grpc/transport_native.js.map +1 -1
  25. package/build/provider/gnonative-provider.js.map +1 -1
  26. package/ios/Frameworks/GnoCore.xcframework/ios-arm64/GnoCore.framework/GnoCore +0 -0
  27. package/ios/Frameworks/GnoCore.xcframework/ios-arm64/GnoCore.framework/Versions/A/GnoCore +0 -0
  28. package/ios/Frameworks/GnoCore.xcframework/ios-arm64/GnoCore.framework/Versions/Current/GnoCore +0 -0
  29. package/ios/Frameworks/GnoCore.xcframework/ios-arm64_x86_64-simulator/GnoCore.framework/GnoCore +0 -0
  30. package/package.json +6 -6
  31. package/src/api/GnoNativeApi.ts +83 -143
  32. package/src/api/types.ts +2 -0
  33. package/src/api/vendor/gnonativetypes_pb.ts +818 -2197
  34. package/src/api/vendor/rpc_pb.ts +473 -75
  35. package/src/grpc/client.ts +4 -4
  36. package/src/grpc/transport_native.ts +35 -36
  37. package/src/provider/gnonative-provider.tsx +1 -1
  38. package/build/api/vendor/rpc_connect.d.ts +0 -461
  39. package/build/api/vendor/rpc_connect.d.ts.map +0 -1
  40. package/build/api/vendor/rpc_connect.js +0 -465
  41. package/build/api/vendor/rpc_connect.js.map +0 -1
  42. package/src/api/vendor/rpc_connect.ts +0 -467
@@ -1,561 +1,276 @@
1
- // @generated by protoc-gen-es v1.7.2 with parameter "target=ts"
1
+ // @generated by protoc-gen-es v2.2.5 with parameter "target=ts"
2
2
  // @generated from file gnonativetypes.proto (package land.gno.gnonative.v1, syntax proto3)
3
3
  /* eslint-disable */
4
- // @ts-nocheck
5
4
 
6
- import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
- import { Message, proto3, protoInt64 } from "@bufbuild/protobuf";
5
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
6
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
7
+ import type { Message } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * Describes the file gnonativetypes.proto.
11
+ */
12
+ export const file_gnonativetypes: GenFile = /*@__PURE__*/
13
+ fileDesc("ChRnbm9uYXRpdmV0eXBlcy5wcm90bxIVbGFuZC5nbm8uZ25vbmF0aXZlLnYxIiIKEFNldFJlbW90ZVJlcXVlc3QSDgoGcmVtb3RlGAEgASgJIhMKEVNldFJlbW90ZVJlc3BvbnNlIhIKEEdldFJlbW90ZVJlcXVlc3QiIwoRR2V0UmVtb3RlUmVzcG9uc2USDgoGcmVtb3RlGAEgASgJIiUKEVNldENoYWluSURSZXF1ZXN0EhAKCGNoYWluX2lkGAEgASgJIhQKElNldENoYWluSURSZXNwb25zZSITChFHZXRDaGFpbklEUmVxdWVzdCImChJHZXRDaGFpbklEUmVzcG9uc2USEAoIY2hhaW5faWQYASABKAkiNwoSU2V0UGFzc3dvcmRSZXF1ZXN0EhAKCHBhc3N3b3JkGAEgASgJEg8KB2FkZHJlc3MYAiABKAwiFQoTU2V0UGFzc3dvcmRSZXNwb25zZSJAChVSb3RhdGVQYXNzd29yZFJlcXVlc3QSFAoMbmV3X3Bhc3N3b3JkGAEgASgJEhEKCWFkZHJlc3NlcxgCIAMoDCIYChZSb3RhdGVQYXNzd29yZFJlc3BvbnNlIh8KHUdlbmVyYXRlUmVjb3ZlcnlQaHJhc2VSZXF1ZXN0IjAKHkdlbmVyYXRlUmVjb3ZlcnlQaHJhc2VSZXNwb25zZRIOCgZwaHJhc2UYASABKAkiRwoHS2V5SW5mbxIMCgR0eXBlGAEgASgNEgwKBG5hbWUYAiABKAkSDwoHcHViX2tleRgDIAEoDBIPCgdhZGRyZXNzGAQgASgMIiUKBENvaW4SDQoFZGVub20YASABKAkSDgoGYW1vdW50GAIgASgSIoUBCgtCYXNlQWNjb3VudBIPCgdhZGRyZXNzGAEgASgMEioKBWNvaW5zGAIgAygLMhsubGFuZC5nbm8uZ25vbmF0aXZlLnYxLkNvaW4SDwoHcHViX2tleRgDIAEoDBIWCg5hY2NvdW50X251bWJlchgEIAEoBBIQCghzZXF1ZW5jZRgFIAEoBCIUChJMaXN0S2V5SW5mb1JlcXVlc3QiTQoTTGlzdEtleUluZm9SZXNwb25zZRI2CgRrZXlzGAEgAygLMh4ubGFuZC5nbm8uZ25vbmF0aXZlLnYxLktleUluZm9SCGtleV9pbmZvIiMKE0hhc0tleUJ5TmFtZVJlcXVlc3QSDAoEbmFtZRgBIAEoCSIjChRIYXNLZXlCeU5hbWVSZXNwb25zZRILCgNoYXMYASABKAgiKQoWSGFzS2V5QnlBZGRyZXNzUmVxdWVzdBIPCgdhZGRyZXNzGAEgASgMIiYKF0hhc0tleUJ5QWRkcmVzc1Jlc3BvbnNlEgsKA2hhcxgBIAEoCCI2ChxIYXNLZXlCeU5hbWVPckFkZHJlc3NSZXF1ZXN0EhYKDm5hbWVfb3JfYmVjaDMyGAEgASgJIiwKHUhhc0tleUJ5TmFtZU9yQWRkcmVzc1Jlc3BvbnNlEgsKA2hhcxgBIAEoCCInChdHZXRLZXlJbmZvQnlOYW1lUmVxdWVzdBIMCgRuYW1lGAEgASgJIlEKGEdldEtleUluZm9CeU5hbWVSZXNwb25zZRI1CgNrZXkYASABKAsyHi5sYW5kLmduby5nbm9uYXRpdmUudjEuS2V5SW5mb1IIa2V5X2luZm8iLQoaR2V0S2V5SW5mb0J5QWRkcmVzc1JlcXVlc3QSDwoHYWRkcmVzcxgBIAEoDCJUChtHZXRLZXlJbmZvQnlBZGRyZXNzUmVzcG9uc2USNQoDa2V5GAEgASgLMh4ubGFuZC5nbm8uZ25vbmF0aXZlLnYxLktleUluZm9SCGtleV9pbmZvIjoKIEdldEtleUluZm9CeU5hbWVPckFkZHJlc3NSZXF1ZXN0EhYKDm5hbWVfb3JfYmVjaDMyGAEgASgJIloKIUdldEtleUluZm9CeU5hbWVPckFkZHJlc3NSZXNwb25zZRI1CgNrZXkYASABKAsyHi5sYW5kLmduby5nbm9uYXRpdmUudjEuS2V5SW5mb1IIa2V5X2luZm8iiAEKFENyZWF0ZUFjY291bnRSZXF1ZXN0EhYKDm5hbWVfb3JfYmVjaDMyGAEgASgJEhAKCG1uZW1vbmljGAIgASgJEhQKDGJpcDM5X3Bhc3N3ZBgDIAEoCRIQCghwYXNzd29yZBgEIAEoCRIPCgdhY2NvdW50GAUgASgNEg0KBWluZGV4GAYgASgNIk4KFUNyZWF0ZUFjY291bnRSZXNwb25zZRI1CgNrZXkYASABKAsyHi5sYW5kLmduby5nbm9uYXRpdmUudjEuS2V5SW5mb1IIa2V5X2luZm8iMAoWQWN0aXZhdGVBY2NvdW50UmVxdWVzdBIWCg5uYW1lX29yX2JlY2gzMhgBIAEoCSJmChdBY3RpdmF0ZUFjY291bnRSZXNwb25zZRI1CgNrZXkYASABKAsyHi5sYW5kLmduby5nbm9uYXRpdmUudjEuS2V5SW5mb1IIa2V5X2luZm8SFAoMaGFzX3Bhc3N3b3JkGAIgASgIIi0KGkdldEFjdGl2YXRlZEFjY291bnRSZXF1ZXN0Eg8KB2FkZHJlc3MYASABKAwiagobR2V0QWN0aXZhdGVkQWNjb3VudFJlc3BvbnNlEjUKA2tleRgBIAEoCzIeLmxhbmQuZ25vLmdub25hdGl2ZS52MS5LZXlJbmZvUghrZXlfaW5mbxIUCgxoYXNfcGFzc3dvcmQYAiABKAgiJgoTUXVlcnlBY2NvdW50UmVxdWVzdBIPCgdhZGRyZXNzGAEgASgMIlAKFFF1ZXJ5QWNjb3VudFJlc3BvbnNlEjgKDGFjY291bnRfaW5mbxgBIAEoCzIiLmxhbmQuZ25vLmdub25hdGl2ZS52MS5CYXNlQWNjb3VudCJXChREZWxldGVBY2NvdW50UmVxdWVzdBIWCg5uYW1lX29yX2JlY2gzMhgBIAEoCRIQCghwYXNzd29yZBgCIAEoCRIVCg1za2lwX3Bhc3N3b3JkGAMgASgIIhcKFURlbGV0ZUFjY291bnRSZXNwb25zZSIqCgxRdWVyeVJlcXVlc3QSDAoEcGF0aBgBIAEoCRIMCgRkYXRhGAIgASgMIh8KDVF1ZXJ5UmVzcG9uc2USDgoGcmVzdWx0GAEgASgMIjMKDVJlbmRlclJlcXVlc3QSFAoMcGFja2FnZV9wYXRoGAEgASgJEgwKBGFyZ3MYAiABKAkiIAoOUmVuZGVyUmVzcG9uc2USDgoGcmVzdWx0GAEgASgJIjgKDFFFdmFsUmVxdWVzdBIUCgxwYWNrYWdlX3BhdGgYASABKAkSEgoKZXhwcmVzc2lvbhgCIAEoCSIfCg1RRXZhbFJlc3BvbnNlEg4KBnJlc3VsdBgBIAEoCSJlCgdNc2dDYWxsEhQKDHBhY2thZ2VfcGF0aBgBIAEoCRILCgNmbmMYAiABKAkSDAoEYXJncxgDIAMoCRIpCgRzZW5kGAQgAygLMhsubGFuZC5nbm8uZ25vbmF0aXZlLnYxLkNvaW4ijAEKC0NhbGxSZXF1ZXN0Eg8KB2dhc19mZWUYASABKAkSEgoKZ2FzX3dhbnRlZBgCIAEoEhIMCgRtZW1vGAMgASgJEhYKDmNhbGxlcl9hZGRyZXNzGAQgASgMEjIKBG1zZ3MYBSADKAsyHi5sYW5kLmduby5nbm9uYXRpdmUudjEuTXNnQ2FsbFIETXNncyI8CgxDYWxsUmVzcG9uc2USDgoGcmVzdWx0GAEgASgMEgwKBGhhc2gYAiABKAwSDgoGaGVpZ2h0GAMgASgSIkoKB01zZ1NlbmQSEgoKdG9fYWRkcmVzcxgBIAEoDBIrCgZhbW91bnQYAiADKAsyGy5sYW5kLmduby5nbm9uYXRpdmUudjEuQ29pbiKMAQoLU2VuZFJlcXVlc3QSDwoHZ2FzX2ZlZRgBIAEoCRISCgpnYXNfd2FudGVkGAIgASgSEgwKBG1lbW8YAyABKAkSFgoOY2FsbGVyX2FkZHJlc3MYBCABKAwSMgoEbXNncxgFIAMoCzIeLmxhbmQuZ25vLmdub25hdGl2ZS52MS5Nc2dTZW5kUgRNc2dzIiwKDFNlbmRSZXNwb25zZRIMCgRoYXNoGAEgASgMEg4KBmhlaWdodBgCIAEoEiInCgZNc2dSdW4SDwoHcGFja2FnZRgBIAEoCRIMCgRzZW5kGAIgASgJIooBCgpSdW5SZXF1ZXN0Eg8KB2dhc19mZWUYASABKAkSEgoKZ2FzX3dhbnRlZBgCIAEoEhIMCgRtZW1vGAMgASgJEhYKDmNhbGxlcl9hZGRyZXNzGAQgASgMEjEKBG1zZ3MYBSADKAsyHS5sYW5kLmduby5nbm9uYXRpdmUudjEuTXNnUnVuUgRNc2dzIjsKC1J1blJlc3BvbnNlEg4KBnJlc3VsdBgBIAEoCRIMCgRoYXNoGAIgASgMEg4KBmhlaWdodBgDIAEoEiIhCg5NYWtlVHhSZXNwb25zZRIPCgd0eF9qc29uGAEgASgJImIKDVNpZ25UeFJlcXVlc3QSDwoHdHhfanNvbhgBIAEoCRIPCgdhZGRyZXNzGAIgASgMEhYKDmFjY291bnRfbnVtYmVyGAMgASgEEhcKD3NlcXVlbmNlX251bWJlchgEIAEoBCIxCg5TaWduVHhSZXNwb25zZRIfCg5zaWduZWRfdHhfanNvbhgBIAEoCVIHdHhfanNvbiKTAQoSRXN0aW1hdGVHYXNSZXF1ZXN0Eg8KB3R4X2pzb24YASABKAkSDwoHYWRkcmVzcxgCIAEoDBIXCg9zZWN1cml0eV9tYXJnaW4YAyABKA0SEQoJdXBkYXRlX3R4GAQgASgIEhYKDmFjY291bnRfbnVtYmVyGAUgASgEEhcKD3NlcXVlbmNlX251bWJlchgGIAEoBCI6ChNFc3RpbWF0ZUdhc1Jlc3BvbnNlEg8KB3R4X2pzb24YASABKAkSEgoKZ2FzX3dhbnRlZBgCIAEoEiI7ChhCcm9hZGNhc3RUeENvbW1pdFJlcXVlc3QSHwoOc2lnbmVkX3R4X2pzb24YASABKAlSB3R4X2pzb24iSQoZQnJvYWRjYXN0VHhDb21taXRSZXNwb25zZRIOCgZyZXN1bHQYASABKAwSDAoEaGFzaBgCIAEoDBIOCgZoZWlnaHQYAyABKBIiKQoWQWRkcmVzc1RvQmVjaDMyUmVxdWVzdBIPCgdhZGRyZXNzGAEgASgMIjEKF0FkZHJlc3NUb0JlY2gzMlJlc3BvbnNlEhYKDmJlY2gzMl9hZGRyZXNzGAEgASgJIjIKGEFkZHJlc3NGcm9tQmVjaDMyUmVxdWVzdBIWCg5iZWNoMzJfYWRkcmVzcxgBIAEoCSIsChlBZGRyZXNzRnJvbUJlY2gzMlJlc3BvbnNlEg8KB2FkZHJlc3MYASABKAwiLgoaQWRkcmVzc0Zyb21NbmVtb25pY1JlcXVlc3QSEAoIbW5lbW9uaWMYASABKAkiLgobQWRkcmVzc0Zyb21NbmVtb25pY1Jlc3BvbnNlEg8KB2FkZHJlc3MYASABKAwiKwobVmFsaWRhdGVNbmVtb25pY1dvcmRSZXF1ZXN0EgwKBHdvcmQYASABKAkiLQocVmFsaWRhdGVNbmVtb25pY1dvcmRSZXNwb25zZRINCgV2YWxpZBgBIAEoCCIvCh1WYWxpZGF0ZU1uZW1vbmljUGhyYXNlUmVxdWVzdBIOCgZwaHJhc2UYASABKAkiLwoeVmFsaWRhdGVNbmVtb25pY1BocmFzZVJlc3BvbnNlEg0KBXZhbGlkGAEgASgIIiIKDEhlbGxvUmVxdWVzdBISCgRuYW1lGAEgASgJUgROYW1lIisKDUhlbGxvUmVzcG9uc2USGgoIZ3JlZXRpbmcYASABKAlSCEdyZWV0aW5nIigKEkhlbGxvU3RyZWFtUmVxdWVzdBISCgRuYW1lGAEgASgJUgROYW1lIjEKE0hlbGxvU3RyZWFtUmVzcG9uc2USGgoIZ3JlZXRpbmcYASABKAlSCEdyZWV0aW5nIikKGEdOT05BVElWRVRZUEVTX0J5dGVzTGlzdBINCgVWYWx1ZRgBIAMoDEIpWidnaXRodWIuY29tL2dub2xhbmcvZ25vbmF0aXZlL2FwaS9nZW4vZ29iBnByb3RvMw");
8
14
 
9
15
  /**
10
16
  * messages
11
17
  *
12
18
  * @generated from message land.gno.gnonative.v1.SetRemoteRequest
13
19
  */
14
- export class SetRemoteRequest extends Message<SetRemoteRequest> {
20
+ export type SetRemoteRequest = Message<"land.gno.gnonative.v1.SetRemoteRequest"> & {
15
21
  /**
16
22
  * @generated from field: string remote = 1;
17
23
  */
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
- ]);
24
+ remote: string;
25
+ };
30
26
 
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
- }
27
+ /**
28
+ * Describes the message land.gno.gnonative.v1.SetRemoteRequest.
29
+ * Use `create(SetRemoteRequestSchema)` to create a new message.
30
+ */
31
+ export const SetRemoteRequestSchema: GenMessage<SetRemoteRequest> = /*@__PURE__*/
32
+ messageDesc(file_gnonativetypes, 0);
47
33
 
48
34
  /**
49
35
  * @generated from message land.gno.gnonative.v1.SetRemoteResponse
50
36
  */
51
- export class SetRemoteResponse extends Message<SetRemoteResponse> {
52
- constructor(data?: PartialMessage<SetRemoteResponse>) {
53
- super();
54
- proto3.util.initPartial(data, this);
55
- }
37
+ export type SetRemoteResponse = Message<"land.gno.gnonative.v1.SetRemoteResponse"> & {
38
+ };
56
39
 
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
- }
40
+ /**
41
+ * Describes the message land.gno.gnonative.v1.SetRemoteResponse.
42
+ * Use `create(SetRemoteResponseSchema)` to create a new message.
43
+ */
44
+ export const SetRemoteResponseSchema: GenMessage<SetRemoteResponse> = /*@__PURE__*/
45
+ messageDesc(file_gnonativetypes, 1);
78
46
 
79
47
  /**
80
48
  * @generated from message land.gno.gnonative.v1.GetRemoteRequest
81
49
  */
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
- }
50
+ export type GetRemoteRequest = Message<"land.gno.gnonative.v1.GetRemoteRequest"> & {
51
+ };
100
52
 
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
- }
53
+ /**
54
+ * Describes the message land.gno.gnonative.v1.GetRemoteRequest.
55
+ * Use `create(GetRemoteRequestSchema)` to create a new message.
56
+ */
57
+ export const GetRemoteRequestSchema: GenMessage<GetRemoteRequest> = /*@__PURE__*/
58
+ messageDesc(file_gnonativetypes, 2);
109
59
 
110
60
  /**
111
61
  * @generated from message land.gno.gnonative.v1.GetRemoteResponse
112
62
  */
113
- export class GetRemoteResponse extends Message<GetRemoteResponse> {
63
+ export type GetRemoteResponse = Message<"land.gno.gnonative.v1.GetRemoteResponse"> & {
114
64
  /**
115
65
  * @generated from field: string remote = 1;
116
66
  */
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
- ]);
67
+ remote: string;
68
+ };
129
69
 
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
- }
70
+ /**
71
+ * Describes the message land.gno.gnonative.v1.GetRemoteResponse.
72
+ * Use `create(GetRemoteResponseSchema)` to create a new message.
73
+ */
74
+ export const GetRemoteResponseSchema: GenMessage<GetRemoteResponse> = /*@__PURE__*/
75
+ messageDesc(file_gnonativetypes, 3);
146
76
 
147
77
  /**
148
78
  * @generated from message land.gno.gnonative.v1.SetChainIDRequest
149
79
  */
150
- export class SetChainIDRequest extends Message<SetChainIDRequest> {
80
+ export type SetChainIDRequest = Message<"land.gno.gnonative.v1.SetChainIDRequest"> & {
151
81
  /**
152
82
  * @generated from field: string chain_id = 1;
153
83
  */
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
- }
84
+ chainId: string;
85
+ };
174
86
 
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
- }
87
+ /**
88
+ * Describes the message land.gno.gnonative.v1.SetChainIDRequest.
89
+ * Use `create(SetChainIDRequestSchema)` to create a new message.
90
+ */
91
+ export const SetChainIDRequestSchema: GenMessage<SetChainIDRequest> = /*@__PURE__*/
92
+ messageDesc(file_gnonativetypes, 4);
183
93
 
184
94
  /**
185
95
  * @generated from message land.gno.gnonative.v1.SetChainIDResponse
186
96
  */
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
- ]);
97
+ export type SetChainIDResponse = Message<"land.gno.gnonative.v1.SetChainIDResponse"> & {
98
+ };
197
99
 
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
- }
100
+ /**
101
+ * Describes the message land.gno.gnonative.v1.SetChainIDResponse.
102
+ * Use `create(SetChainIDResponseSchema)` to create a new message.
103
+ */
104
+ export const SetChainIDResponseSchema: GenMessage<SetChainIDResponse> = /*@__PURE__*/
105
+ messageDesc(file_gnonativetypes, 5);
214
106
 
215
107
  /**
216
108
  * @generated from message land.gno.gnonative.v1.GetChainIDRequest
217
109
  */
218
- export class GetChainIDRequest extends Message<GetChainIDRequest> {
219
- constructor(data?: PartialMessage<GetChainIDRequest>) {
220
- super();
221
- proto3.util.initPartial(data, this);
222
- }
110
+ export type GetChainIDRequest = Message<"land.gno.gnonative.v1.GetChainIDRequest"> & {
111
+ };
223
112
 
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
- }
113
+ /**
114
+ * Describes the message land.gno.gnonative.v1.GetChainIDRequest.
115
+ * Use `create(GetChainIDRequestSchema)` to create a new message.
116
+ */
117
+ export const GetChainIDRequestSchema: GenMessage<GetChainIDRequest> = /*@__PURE__*/
118
+ messageDesc(file_gnonativetypes, 6);
245
119
 
246
120
  /**
247
121
  * @generated from message land.gno.gnonative.v1.GetChainIDResponse
248
122
  */
249
- export class GetChainIDResponse extends Message<GetChainIDResponse> {
123
+ export type GetChainIDResponse = Message<"land.gno.gnonative.v1.GetChainIDResponse"> & {
250
124
  /**
251
125
  * @generated from field: string chain_id = 1;
252
126
  */
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
- }
127
+ chainId: string;
128
+ };
273
129
 
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
- }
130
+ /**
131
+ * Describes the message land.gno.gnonative.v1.GetChainIDResponse.
132
+ * Use `create(GetChainIDResponseSchema)` to create a new message.
133
+ */
134
+ export const GetChainIDResponseSchema: GenMessage<GetChainIDResponse> = /*@__PURE__*/
135
+ messageDesc(file_gnonativetypes, 7);
282
136
 
283
137
  /**
284
138
  * @generated from message land.gno.gnonative.v1.SetPasswordRequest
285
139
  */
286
- export class SetPasswordRequest extends Message<SetPasswordRequest> {
140
+ export type SetPasswordRequest = Message<"land.gno.gnonative.v1.SetPasswordRequest"> & {
287
141
  /**
288
142
  * @generated from field: string password = 1;
289
143
  */
290
- password = "";
144
+ password: string;
291
145
 
292
146
  /**
293
147
  * The address of the account to set the password
294
148
  *
295
149
  * @generated from field: bytes address = 2;
296
150
  */
297
- address = new Uint8Array(0);
298
-
299
- constructor(data?: PartialMessage<SetPasswordRequest>) {
300
- super();
301
- proto3.util.initPartial(data, this);
302
- }
151
+ address: Uint8Array;
152
+ };
303
153
 
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
- }
154
+ /**
155
+ * Describes the message land.gno.gnonative.v1.SetPasswordRequest.
156
+ * Use `create(SetPasswordRequestSchema)` to create a new message.
157
+ */
158
+ export const SetPasswordRequestSchema: GenMessage<SetPasswordRequest> = /*@__PURE__*/
159
+ messageDesc(file_gnonativetypes, 8);
327
160
 
328
161
  /**
329
162
  * @generated from message land.gno.gnonative.v1.SetPasswordResponse
330
163
  */
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
- }
164
+ export type SetPasswordResponse = Message<"land.gno.gnonative.v1.SetPasswordResponse"> & {
165
+ };
349
166
 
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
- }
167
+ /**
168
+ * Describes the message land.gno.gnonative.v1.SetPasswordResponse.
169
+ * Use `create(SetPasswordResponseSchema)` to create a new message.
170
+ */
171
+ export const SetPasswordResponseSchema: GenMessage<SetPasswordResponse> = /*@__PURE__*/
172
+ messageDesc(file_gnonativetypes, 9);
358
173
 
359
174
  /**
360
175
  * @generated from message land.gno.gnonative.v1.RotatePasswordRequest
361
176
  */
362
- export class RotatePasswordRequest extends Message<RotatePasswordRequest> {
177
+ export type RotatePasswordRequest = Message<"land.gno.gnonative.v1.RotatePasswordRequest"> & {
363
178
  /**
364
179
  * @generated from field: string new_password = 1;
365
180
  */
366
- newPassword = "";
181
+ newPassword: string;
367
182
 
368
183
  /**
369
184
  * The addresses of the account to rotate the password
370
185
  *
371
186
  * @generated from field: repeated bytes addresses = 2;
372
187
  */
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
- ]);
188
+ addresses: Uint8Array[];
189
+ };
386
190
 
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
- }
191
+ /**
192
+ * Describes the message land.gno.gnonative.v1.RotatePasswordRequest.
193
+ * Use `create(RotatePasswordRequestSchema)` to create a new message.
194
+ */
195
+ export const RotatePasswordRequestSchema: GenMessage<RotatePasswordRequest> = /*@__PURE__*/
196
+ messageDesc(file_gnonativetypes, 10);
403
197
 
404
198
  /**
405
199
  * @generated from message land.gno.gnonative.v1.RotatePasswordResponse
406
200
  */
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
- }
201
+ export type RotatePasswordResponse = Message<"land.gno.gnonative.v1.RotatePasswordResponse"> & {
202
+ };
429
203
 
430
- static equals(a: RotatePasswordResponse | PlainMessage<RotatePasswordResponse> | undefined, b: RotatePasswordResponse | PlainMessage<RotatePasswordResponse> | undefined): boolean {
431
- return proto3.util.equals(RotatePasswordResponse, a, b);
432
- }
433
- }
204
+ /**
205
+ * Describes the message land.gno.gnonative.v1.RotatePasswordResponse.
206
+ * Use `create(RotatePasswordResponseSchema)` to create a new message.
207
+ */
208
+ export const RotatePasswordResponseSchema: GenMessage<RotatePasswordResponse> = /*@__PURE__*/
209
+ messageDesc(file_gnonativetypes, 11);
434
210
 
435
211
  /**
436
212
  * @generated from message land.gno.gnonative.v1.GenerateRecoveryPhraseRequest
437
213
  */
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
- }
214
+ export type GenerateRecoveryPhraseRequest = Message<"land.gno.gnonative.v1.GenerateRecoveryPhraseRequest"> & {
215
+ };
456
216
 
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
- }
217
+ /**
218
+ * Describes the message land.gno.gnonative.v1.GenerateRecoveryPhraseRequest.
219
+ * Use `create(GenerateRecoveryPhraseRequestSchema)` to create a new message.
220
+ */
221
+ export const GenerateRecoveryPhraseRequestSchema: GenMessage<GenerateRecoveryPhraseRequest> = /*@__PURE__*/
222
+ messageDesc(file_gnonativetypes, 12);
465
223
 
466
224
  /**
467
225
  * @generated from message land.gno.gnonative.v1.GenerateRecoveryPhraseResponse
468
226
  */
469
- export class GenerateRecoveryPhraseResponse extends Message<GenerateRecoveryPhraseResponse> {
227
+ export type GenerateRecoveryPhraseResponse = Message<"land.gno.gnonative.v1.GenerateRecoveryPhraseResponse"> & {
470
228
  /**
471
229
  * @generated from field: string phrase = 1;
472
230
  */
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
- ]);
231
+ phrase: string;
232
+ };
485
233
 
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
- }
234
+ /**
235
+ * Describes the message land.gno.gnonative.v1.GenerateRecoveryPhraseResponse.
236
+ * Use `create(GenerateRecoveryPhraseResponseSchema)` to create a new message.
237
+ */
238
+ export const GenerateRecoveryPhraseResponseSchema: GenMessage<GenerateRecoveryPhraseResponse> = /*@__PURE__*/
239
+ messageDesc(file_gnonativetypes, 13);
502
240
 
503
241
  /**
504
242
  * @generated from message land.gno.gnonative.v1.KeyInfo
505
243
  */
506
- export class KeyInfo extends Message<KeyInfo> {
244
+ export type KeyInfo = Message<"land.gno.gnonative.v1.KeyInfo"> & {
507
245
  /**
508
246
  * 0: local, 1: ledger, 2: offline, 3: multi
509
247
  *
510
248
  * @generated from field: uint32 type = 1;
511
249
  */
512
- type = 0;
250
+ type: number;
513
251
 
514
252
  /**
515
253
  * @generated from field: string name = 2;
516
254
  */
517
- name = "";
255
+ name: string;
518
256
 
519
257
  /**
520
258
  * @generated from field: bytes pub_key = 3;
521
259
  */
522
- pubKey = new Uint8Array(0);
260
+ pubKey: Uint8Array;
523
261
 
524
262
  /**
525
263
  * @generated from field: bytes address = 4;
526
264
  */
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
- }
265
+ address: Uint8Array;
266
+ };
550
267
 
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
- }
268
+ /**
269
+ * Describes the message land.gno.gnonative.v1.KeyInfo.
270
+ * Use `create(KeyInfoSchema)` to create a new message.
271
+ */
272
+ export const KeyInfoSchema: GenMessage<KeyInfo> = /*@__PURE__*/
273
+ messageDesc(file_gnonativetypes, 14);
559
274
 
560
275
  /**
561
276
  * Coin holds some amount of one currency.
@@ -563,766 +278,378 @@ export class KeyInfo extends Message<KeyInfo> {
563
278
  *
564
279
  * @generated from message land.gno.gnonative.v1.Coin
565
280
  */
566
- export class Coin extends Message<Coin> {
281
+ export type Coin = Message<"land.gno.gnonative.v1.Coin"> & {
567
282
  /**
568
283
  * Example: "ugnot"
569
284
  *
570
285
  * @generated from field: string denom = 1;
571
286
  */
572
- denom = "";
287
+ denom: string;
573
288
 
574
289
  /**
575
290
  * @generated from field: sint64 amount = 2;
576
291
  */
577
- amount = protoInt64.zero;
578
-
579
- constructor(data?: PartialMessage<Coin>) {
580
- super();
581
- proto3.util.initPartial(data, this);
582
- }
292
+ amount: bigint;
293
+ };
583
294
 
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
- }
295
+ /**
296
+ * Describes the message land.gno.gnonative.v1.Coin.
297
+ * Use `create(CoinSchema)` to create a new message.
298
+ */
299
+ export const CoinSchema: GenMessage<Coin> = /*@__PURE__*/
300
+ messageDesc(file_gnonativetypes, 15);
607
301
 
608
302
  /**
609
303
  * @generated from message land.gno.gnonative.v1.BaseAccount
610
304
  */
611
- export class BaseAccount extends Message<BaseAccount> {
305
+ export type BaseAccount = Message<"land.gno.gnonative.v1.BaseAccount"> & {
612
306
  /**
613
307
  * @generated from field: bytes address = 1;
614
308
  */
615
- address = new Uint8Array(0);
309
+ address: Uint8Array;
616
310
 
617
311
  /**
618
312
  * @generated from field: repeated land.gno.gnonative.v1.Coin coins = 2;
619
313
  */
620
- coins: Coin[] = [];
314
+ coins: Coin[];
621
315
 
622
316
  /**
623
317
  * @generated from field: bytes pub_key = 3;
624
318
  */
625
- pubKey = new Uint8Array(0);
319
+ pubKey: Uint8Array;
626
320
 
627
321
  /**
628
322
  * @generated from field: uint64 account_number = 4;
629
323
  */
630
- accountNumber = protoInt64.zero;
324
+ accountNumber: bigint;
631
325
 
632
326
  /**
633
327
  * @generated from field: uint64 sequence = 5;
634
328
  */
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
- }
329
+ sequence: bigint;
330
+ };
655
331
 
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
- }
332
+ /**
333
+ * Describes the message land.gno.gnonative.v1.BaseAccount.
334
+ * Use `create(BaseAccountSchema)` to create a new message.
335
+ */
336
+ export const BaseAccountSchema: GenMessage<BaseAccount> = /*@__PURE__*/
337
+ messageDesc(file_gnonativetypes, 16);
668
338
 
669
339
  /**
670
340
  * @generated from message land.gno.gnonative.v1.ListKeyInfoRequest
671
341
  */
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
- ]);
342
+ export type ListKeyInfoRequest = Message<"land.gno.gnonative.v1.ListKeyInfoRequest"> & {
343
+ };
682
344
 
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
- }
345
+ /**
346
+ * Describes the message land.gno.gnonative.v1.ListKeyInfoRequest.
347
+ * Use `create(ListKeyInfoRequestSchema)` to create a new message.
348
+ */
349
+ export const ListKeyInfoRequestSchema: GenMessage<ListKeyInfoRequest> = /*@__PURE__*/
350
+ messageDesc(file_gnonativetypes, 17);
699
351
 
700
352
  /**
701
353
  * @generated from message land.gno.gnonative.v1.ListKeyInfoResponse
702
354
  */
703
- export class ListKeyInfoResponse extends Message<ListKeyInfoResponse> {
355
+ export type ListKeyInfoResponse = Message<"land.gno.gnonative.v1.ListKeyInfoResponse"> & {
704
356
  /**
705
357
  * @generated from field: repeated land.gno.gnonative.v1.KeyInfo keys = 1 [json_name = "key_info"];
706
358
  */
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
- }
359
+ keys: KeyInfo[];
360
+ };
727
361
 
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
- }
362
+ /**
363
+ * Describes the message land.gno.gnonative.v1.ListKeyInfoResponse.
364
+ * Use `create(ListKeyInfoResponseSchema)` to create a new message.
365
+ */
366
+ export const ListKeyInfoResponseSchema: GenMessage<ListKeyInfoResponse> = /*@__PURE__*/
367
+ messageDesc(file_gnonativetypes, 18);
736
368
 
737
369
  /**
738
370
  * @generated from message land.gno.gnonative.v1.HasKeyByNameRequest
739
371
  */
740
- export class HasKeyByNameRequest extends Message<HasKeyByNameRequest> {
372
+ export type HasKeyByNameRequest = Message<"land.gno.gnonative.v1.HasKeyByNameRequest"> & {
741
373
  /**
742
374
  * @generated from field: string name = 1;
743
375
  */
744
- name = "";
745
-
746
- constructor(data?: PartialMessage<HasKeyByNameRequest>) {
747
- super();
748
- proto3.util.initPartial(data, this);
749
- }
376
+ name: string;
377
+ };
750
378
 
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
- }
379
+ /**
380
+ * Describes the message land.gno.gnonative.v1.HasKeyByNameRequest.
381
+ * Use `create(HasKeyByNameRequestSchema)` to create a new message.
382
+ */
383
+ export const HasKeyByNameRequestSchema: GenMessage<HasKeyByNameRequest> = /*@__PURE__*/
384
+ messageDesc(file_gnonativetypes, 19);
773
385
 
774
386
  /**
775
387
  * @generated from message land.gno.gnonative.v1.HasKeyByNameResponse
776
388
  */
777
- export class HasKeyByNameResponse extends Message<HasKeyByNameResponse> {
389
+ export type HasKeyByNameResponse = Message<"land.gno.gnonative.v1.HasKeyByNameResponse"> & {
778
390
  /**
779
391
  * @generated from field: bool has = 1;
780
392
  */
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
- }
393
+ has: boolean;
394
+ };
797
395
 
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
- }
396
+ /**
397
+ * Describes the message land.gno.gnonative.v1.HasKeyByNameResponse.
398
+ * Use `create(HasKeyByNameResponseSchema)` to create a new message.
399
+ */
400
+ export const HasKeyByNameResponseSchema: GenMessage<HasKeyByNameResponse> = /*@__PURE__*/
401
+ messageDesc(file_gnonativetypes, 20);
810
402
 
811
403
  /**
812
404
  * @generated from message land.gno.gnonative.v1.HasKeyByAddressRequest
813
405
  */
814
- export class HasKeyByAddressRequest extends Message<HasKeyByAddressRequest> {
406
+ export type HasKeyByAddressRequest = Message<"land.gno.gnonative.v1.HasKeyByAddressRequest"> & {
815
407
  /**
816
408
  * @generated from field: bytes address = 1;
817
409
  */
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
- }
410
+ address: Uint8Array;
411
+ };
842
412
 
843
- static equals(a: HasKeyByAddressRequest | PlainMessage<HasKeyByAddressRequest> | undefined, b: HasKeyByAddressRequest | PlainMessage<HasKeyByAddressRequest> | undefined): boolean {
844
- return proto3.util.equals(HasKeyByAddressRequest, a, b);
845
- }
846
- }
413
+ /**
414
+ * Describes the message land.gno.gnonative.v1.HasKeyByAddressRequest.
415
+ * Use `create(HasKeyByAddressRequestSchema)` to create a new message.
416
+ */
417
+ export const HasKeyByAddressRequestSchema: GenMessage<HasKeyByAddressRequest> = /*@__PURE__*/
418
+ messageDesc(file_gnonativetypes, 21);
847
419
 
848
420
  /**
849
421
  * @generated from message land.gno.gnonative.v1.HasKeyByAddressResponse
850
422
  */
851
- export class HasKeyByAddressResponse extends Message<HasKeyByAddressResponse> {
423
+ export type HasKeyByAddressResponse = Message<"land.gno.gnonative.v1.HasKeyByAddressResponse"> & {
852
424
  /**
853
425
  * @generated from field: bool has = 1;
854
426
  */
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
- }
427
+ has: boolean;
428
+ };
871
429
 
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
- }
430
+ /**
431
+ * Describes the message land.gno.gnonative.v1.HasKeyByAddressResponse.
432
+ * Use `create(HasKeyByAddressResponseSchema)` to create a new message.
433
+ */
434
+ export const HasKeyByAddressResponseSchema: GenMessage<HasKeyByAddressResponse> = /*@__PURE__*/
435
+ messageDesc(file_gnonativetypes, 22);
884
436
 
885
437
  /**
886
438
  * @generated from message land.gno.gnonative.v1.HasKeyByNameOrAddressRequest
887
439
  */
888
- export class HasKeyByNameOrAddressRequest extends Message<HasKeyByNameOrAddressRequest> {
440
+ export type HasKeyByNameOrAddressRequest = Message<"land.gno.gnonative.v1.HasKeyByNameOrAddressRequest"> & {
889
441
  /**
890
442
  * @generated from field: string name_or_bech32 = 1;
891
443
  */
892
- nameOrBech32 = "";
893
-
894
- constructor(data?: PartialMessage<HasKeyByNameOrAddressRequest>) {
895
- super();
896
- proto3.util.initPartial(data, this);
897
- }
444
+ nameOrBech32: string;
445
+ };
898
446
 
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
- }
447
+ /**
448
+ * Describes the message land.gno.gnonative.v1.HasKeyByNameOrAddressRequest.
449
+ * Use `create(HasKeyByNameOrAddressRequestSchema)` to create a new message.
450
+ */
451
+ export const HasKeyByNameOrAddressRequestSchema: GenMessage<HasKeyByNameOrAddressRequest> = /*@__PURE__*/
452
+ messageDesc(file_gnonativetypes, 23);
921
453
 
922
454
  /**
923
455
  * @generated from message land.gno.gnonative.v1.HasKeyByNameOrAddressResponse
924
456
  */
925
- export class HasKeyByNameOrAddressResponse extends Message<HasKeyByNameOrAddressResponse> {
457
+ export type HasKeyByNameOrAddressResponse = Message<"land.gno.gnonative.v1.HasKeyByNameOrAddressResponse"> & {
926
458
  /**
927
459
  * @generated from field: bool has = 1;
928
460
  */
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
- }
461
+ has: boolean;
462
+ };
945
463
 
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
- }
464
+ /**
465
+ * Describes the message land.gno.gnonative.v1.HasKeyByNameOrAddressResponse.
466
+ * Use `create(HasKeyByNameOrAddressResponseSchema)` to create a new message.
467
+ */
468
+ export const HasKeyByNameOrAddressResponseSchema: GenMessage<HasKeyByNameOrAddressResponse> = /*@__PURE__*/
469
+ messageDesc(file_gnonativetypes, 24);
958
470
 
959
471
  /**
960
472
  * @generated from message land.gno.gnonative.v1.GetKeyInfoByNameRequest
961
473
  */
962
- export class GetKeyInfoByNameRequest extends Message<GetKeyInfoByNameRequest> {
474
+ export type GetKeyInfoByNameRequest = Message<"land.gno.gnonative.v1.GetKeyInfoByNameRequest"> & {
963
475
  /**
964
476
  * @generated from field: string name = 1;
965
477
  */
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
- }
478
+ name: string;
479
+ };
990
480
 
991
- static equals(a: GetKeyInfoByNameRequest | PlainMessage<GetKeyInfoByNameRequest> | undefined, b: GetKeyInfoByNameRequest | PlainMessage<GetKeyInfoByNameRequest> | undefined): boolean {
992
- return proto3.util.equals(GetKeyInfoByNameRequest, a, b);
993
- }
994
- }
481
+ /**
482
+ * Describes the message land.gno.gnonative.v1.GetKeyInfoByNameRequest.
483
+ * Use `create(GetKeyInfoByNameRequestSchema)` to create a new message.
484
+ */
485
+ export const GetKeyInfoByNameRequestSchema: GenMessage<GetKeyInfoByNameRequest> = /*@__PURE__*/
486
+ messageDesc(file_gnonativetypes, 25);
995
487
 
996
488
  /**
997
489
  * @generated from message land.gno.gnonative.v1.GetKeyInfoByNameResponse
998
490
  */
999
- export class GetKeyInfoByNameResponse extends Message<GetKeyInfoByNameResponse> {
491
+ export type GetKeyInfoByNameResponse = Message<"land.gno.gnonative.v1.GetKeyInfoByNameResponse"> & {
1000
492
  /**
1001
493
  * @generated from field: land.gno.gnonative.v1.KeyInfo key = 1 [json_name = "key_info"];
1002
494
  */
1003
495
  key?: KeyInfo;
496
+ };
1004
497
 
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
- }
498
+ /**
499
+ * Describes the message land.gno.gnonative.v1.GetKeyInfoByNameResponse.
500
+ * Use `create(GetKeyInfoByNameResponseSchema)` to create a new message.
501
+ */
502
+ export const GetKeyInfoByNameResponseSchema: GenMessage<GetKeyInfoByNameResponse> = /*@__PURE__*/
503
+ messageDesc(file_gnonativetypes, 26);
1032
504
 
1033
505
  /**
1034
506
  * @generated from message land.gno.gnonative.v1.GetKeyInfoByAddressRequest
1035
507
  */
1036
- export class GetKeyInfoByAddressRequest extends Message<GetKeyInfoByAddressRequest> {
508
+ export type GetKeyInfoByAddressRequest = Message<"land.gno.gnonative.v1.GetKeyInfoByAddressRequest"> & {
1037
509
  /**
1038
510
  * @generated from field: bytes address = 1;
1039
511
  */
1040
- address = new Uint8Array(0);
512
+ address: Uint8Array;
513
+ };
1041
514
 
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
- }
515
+ /**
516
+ * Describes the message land.gno.gnonative.v1.GetKeyInfoByAddressRequest.
517
+ * Use `create(GetKeyInfoByAddressRequestSchema)` to create a new message.
518
+ */
519
+ export const GetKeyInfoByAddressRequestSchema: GenMessage<GetKeyInfoByAddressRequest> = /*@__PURE__*/
520
+ messageDesc(file_gnonativetypes, 27);
1069
521
 
1070
522
  /**
1071
523
  * @generated from message land.gno.gnonative.v1.GetKeyInfoByAddressResponse
1072
524
  */
1073
- export class GetKeyInfoByAddressResponse extends Message<GetKeyInfoByAddressResponse> {
525
+ export type GetKeyInfoByAddressResponse = Message<"land.gno.gnonative.v1.GetKeyInfoByAddressResponse"> & {
1074
526
  /**
1075
527
  * @generated from field: land.gno.gnonative.v1.KeyInfo key = 1 [json_name = "key_info"];
1076
528
  */
1077
529
  key?: KeyInfo;
530
+ };
1078
531
 
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
- }
532
+ /**
533
+ * Describes the message land.gno.gnonative.v1.GetKeyInfoByAddressResponse.
534
+ * Use `create(GetKeyInfoByAddressResponseSchema)` to create a new message.
535
+ */
536
+ export const GetKeyInfoByAddressResponseSchema: GenMessage<GetKeyInfoByAddressResponse> = /*@__PURE__*/
537
+ messageDesc(file_gnonativetypes, 28);
1106
538
 
1107
539
  /**
1108
540
  * @generated from message land.gno.gnonative.v1.GetKeyInfoByNameOrAddressRequest
1109
541
  */
1110
- export class GetKeyInfoByNameOrAddressRequest extends Message<GetKeyInfoByNameOrAddressRequest> {
542
+ export type GetKeyInfoByNameOrAddressRequest = Message<"land.gno.gnonative.v1.GetKeyInfoByNameOrAddressRequest"> & {
1111
543
  /**
1112
544
  * @generated from field: string name_or_bech32 = 1;
1113
545
  */
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
- }
546
+ nameOrBech32: string;
547
+ };
1134
548
 
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
- }
549
+ /**
550
+ * Describes the message land.gno.gnonative.v1.GetKeyInfoByNameOrAddressRequest.
551
+ * Use `create(GetKeyInfoByNameOrAddressRequestSchema)` to create a new message.
552
+ */
553
+ export const GetKeyInfoByNameOrAddressRequestSchema: GenMessage<GetKeyInfoByNameOrAddressRequest> = /*@__PURE__*/
554
+ messageDesc(file_gnonativetypes, 29);
1143
555
 
1144
556
  /**
1145
557
  * @generated from message land.gno.gnonative.v1.GetKeyInfoByNameOrAddressResponse
1146
558
  */
1147
- export class GetKeyInfoByNameOrAddressResponse extends Message<GetKeyInfoByNameOrAddressResponse> {
559
+ export type GetKeyInfoByNameOrAddressResponse = Message<"land.gno.gnonative.v1.GetKeyInfoByNameOrAddressResponse"> & {
1148
560
  /**
1149
561
  * @generated from field: land.gno.gnonative.v1.KeyInfo key = 1 [json_name = "key_info"];
1150
562
  */
1151
563
  key?: KeyInfo;
564
+ };
1152
565
 
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
- }
566
+ /**
567
+ * Describes the message land.gno.gnonative.v1.GetKeyInfoByNameOrAddressResponse.
568
+ * Use `create(GetKeyInfoByNameOrAddressResponseSchema)` to create a new message.
569
+ */
570
+ export const GetKeyInfoByNameOrAddressResponseSchema: GenMessage<GetKeyInfoByNameOrAddressResponse> = /*@__PURE__*/
571
+ messageDesc(file_gnonativetypes, 30);
1180
572
 
1181
573
  /**
1182
574
  * @generated from message land.gno.gnonative.v1.CreateAccountRequest
1183
575
  */
1184
- export class CreateAccountRequest extends Message<CreateAccountRequest> {
576
+ export type CreateAccountRequest = Message<"land.gno.gnonative.v1.CreateAccountRequest"> & {
1185
577
  /**
1186
578
  * @generated from field: string name_or_bech32 = 1;
1187
579
  */
1188
- nameOrBech32 = "";
580
+ nameOrBech32: string;
1189
581
 
1190
582
  /**
1191
583
  * @generated from field: string mnemonic = 2;
1192
584
  */
1193
- mnemonic = "";
585
+ mnemonic: string;
1194
586
 
1195
587
  /**
1196
588
  * @generated from field: string bip39_passwd = 3;
1197
589
  */
1198
- bip39Passwd = "";
590
+ bip39Passwd: string;
1199
591
 
1200
592
  /**
1201
593
  * @generated from field: string password = 4;
1202
594
  */
1203
- password = "";
595
+ password: string;
1204
596
 
1205
597
  /**
1206
598
  * @generated from field: uint32 account = 5;
1207
599
  */
1208
- account = 0;
600
+ account: number;
1209
601
 
1210
602
  /**
1211
603
  * @generated from field: uint32 index = 6;
1212
604
  */
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
- }
605
+ index: number;
606
+ };
1238
607
 
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
- }
608
+ /**
609
+ * Describes the message land.gno.gnonative.v1.CreateAccountRequest.
610
+ * Use `create(CreateAccountRequestSchema)` to create a new message.
611
+ */
612
+ export const CreateAccountRequestSchema: GenMessage<CreateAccountRequest> = /*@__PURE__*/
613
+ messageDesc(file_gnonativetypes, 31);
1247
614
 
1248
615
  /**
1249
616
  * @generated from message land.gno.gnonative.v1.CreateAccountResponse
1250
617
  */
1251
- export class CreateAccountResponse extends Message<CreateAccountResponse> {
618
+ export type CreateAccountResponse = Message<"land.gno.gnonative.v1.CreateAccountResponse"> & {
1252
619
  /**
1253
620
  * @generated from field: land.gno.gnonative.v1.KeyInfo key = 1 [json_name = "key_info"];
1254
621
  */
1255
622
  key?: KeyInfo;
623
+ };
1256
624
 
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
- }
625
+ /**
626
+ * Describes the message land.gno.gnonative.v1.CreateAccountResponse.
627
+ * Use `create(CreateAccountResponseSchema)` to create a new message.
628
+ */
629
+ export const CreateAccountResponseSchema: GenMessage<CreateAccountResponse> = /*@__PURE__*/
630
+ messageDesc(file_gnonativetypes, 32);
1284
631
 
1285
632
  /**
1286
633
  * @generated from message land.gno.gnonative.v1.ActivateAccountRequest
1287
634
  */
1288
- export class ActivateAccountRequest extends Message<ActivateAccountRequest> {
635
+ export type ActivateAccountRequest = Message<"land.gno.gnonative.v1.ActivateAccountRequest"> & {
1289
636
  /**
1290
637
  * @generated from field: string name_or_bech32 = 1;
1291
638
  */
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
- }
639
+ nameOrBech32: string;
640
+ };
1312
641
 
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
- }
642
+ /**
643
+ * Describes the message land.gno.gnonative.v1.ActivateAccountRequest.
644
+ * Use `create(ActivateAccountRequestSchema)` to create a new message.
645
+ */
646
+ export const ActivateAccountRequestSchema: GenMessage<ActivateAccountRequest> = /*@__PURE__*/
647
+ messageDesc(file_gnonativetypes, 33);
1321
648
 
1322
649
  /**
1323
650
  * @generated from message land.gno.gnonative.v1.ActivateAccountResponse
1324
651
  */
1325
- export class ActivateAccountResponse extends Message<ActivateAccountResponse> {
652
+ export type ActivateAccountResponse = Message<"land.gno.gnonative.v1.ActivateAccountResponse"> & {
1326
653
  /**
1327
654
  * @generated from field: land.gno.gnonative.v1.KeyInfo key = 1 [json_name = "key_info"];
1328
655
  */
@@ -1333,78 +660,37 @@ export class ActivateAccountResponse extends Message<ActivateAccountResponse> {
1333
660
  *
1334
661
  * @generated from field: bool has_password = 2;
1335
662
  */
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
- ]);
663
+ hasPassword: boolean;
664
+ };
1349
665
 
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
- }
666
+ /**
667
+ * Describes the message land.gno.gnonative.v1.ActivateAccountResponse.
668
+ * Use `create(ActivateAccountResponseSchema)` to create a new message.
669
+ */
670
+ export const ActivateAccountResponseSchema: GenMessage<ActivateAccountResponse> = /*@__PURE__*/
671
+ messageDesc(file_gnonativetypes, 34);
1366
672
 
1367
673
  /**
1368
674
  * @generated from message land.gno.gnonative.v1.GetActivatedAccountRequest
1369
675
  */
1370
- export class GetActivatedAccountRequest extends Message<GetActivatedAccountRequest> {
676
+ export type GetActivatedAccountRequest = Message<"land.gno.gnonative.v1.GetActivatedAccountRequest"> & {
1371
677
  /**
1372
678
  * @generated from field: bytes address = 1;
1373
679
  */
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
- }
680
+ address: Uint8Array;
681
+ };
1394
682
 
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
- }
683
+ /**
684
+ * Describes the message land.gno.gnonative.v1.GetActivatedAccountRequest.
685
+ * Use `create(GetActivatedAccountRequestSchema)` to create a new message.
686
+ */
687
+ export const GetActivatedAccountRequestSchema: GenMessage<GetActivatedAccountRequest> = /*@__PURE__*/
688
+ messageDesc(file_gnonativetypes, 35);
1403
689
 
1404
690
  /**
1405
691
  * @generated from message land.gno.gnonative.v1.GetActivatedAccountResponse
1406
692
  */
1407
- export class GetActivatedAccountResponse extends Message<GetActivatedAccountResponse> {
693
+ export type GetActivatedAccountResponse = Message<"land.gno.gnonative.v1.GetActivatedAccountResponse"> & {
1408
694
  /**
1409
695
  * @generated from field: land.gno.gnonative.v1.KeyInfo key = 1 [json_name = "key_info"];
1410
696
  */
@@ -1415,464 +701,240 @@ export class GetActivatedAccountResponse extends Message<GetActivatedAccountResp
1415
701
  *
1416
702
  * @generated from field: bool has_password = 2;
1417
703
  */
1418
- hasPassword = false;
1419
-
1420
- constructor(data?: PartialMessage<GetActivatedAccountResponse>) {
1421
- super();
1422
- proto3.util.initPartial(data, this);
1423
- }
704
+ hasPassword: boolean;
705
+ };
1424
706
 
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
- }
707
+ /**
708
+ * Describes the message land.gno.gnonative.v1.GetActivatedAccountResponse.
709
+ * Use `create(GetActivatedAccountResponseSchema)` to create a new message.
710
+ */
711
+ export const GetActivatedAccountResponseSchema: GenMessage<GetActivatedAccountResponse> = /*@__PURE__*/
712
+ messageDesc(file_gnonativetypes, 36);
1448
713
 
1449
714
  /**
1450
715
  * @generated from message land.gno.gnonative.v1.QueryAccountRequest
1451
716
  */
1452
- export class QueryAccountRequest extends Message<QueryAccountRequest> {
717
+ export type QueryAccountRequest = Message<"land.gno.gnonative.v1.QueryAccountRequest"> & {
1453
718
  /**
1454
719
  * @generated from field: bytes address = 1;
1455
720
  */
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
- }
721
+ address: Uint8Array;
722
+ };
1472
723
 
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
- }
724
+ /**
725
+ * Describes the message land.gno.gnonative.v1.QueryAccountRequest.
726
+ * Use `create(QueryAccountRequestSchema)` to create a new message.
727
+ */
728
+ export const QueryAccountRequestSchema: GenMessage<QueryAccountRequest> = /*@__PURE__*/
729
+ messageDesc(file_gnonativetypes, 37);
1485
730
 
1486
731
  /**
1487
732
  * @generated from message land.gno.gnonative.v1.QueryAccountResponse
1488
733
  */
1489
- export class QueryAccountResponse extends Message<QueryAccountResponse> {
734
+ export type QueryAccountResponse = Message<"land.gno.gnonative.v1.QueryAccountResponse"> & {
1490
735
  /**
1491
736
  * @generated from field: land.gno.gnonative.v1.BaseAccount account_info = 1;
1492
737
  */
1493
738
  accountInfo?: BaseAccount;
739
+ };
1494
740
 
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
- }
741
+ /**
742
+ * Describes the message land.gno.gnonative.v1.QueryAccountResponse.
743
+ * Use `create(QueryAccountResponseSchema)` to create a new message.
744
+ */
745
+ export const QueryAccountResponseSchema: GenMessage<QueryAccountResponse> = /*@__PURE__*/
746
+ messageDesc(file_gnonativetypes, 38);
1522
747
 
1523
748
  /**
1524
749
  * @generated from message land.gno.gnonative.v1.DeleteAccountRequest
1525
750
  */
1526
- export class DeleteAccountRequest extends Message<DeleteAccountRequest> {
751
+ export type DeleteAccountRequest = Message<"land.gno.gnonative.v1.DeleteAccountRequest"> & {
1527
752
  /**
1528
753
  * @generated from field: string name_or_bech32 = 1;
1529
754
  */
1530
- nameOrBech32 = "";
755
+ nameOrBech32: string;
1531
756
 
1532
757
  /**
1533
758
  * @generated from field: string password = 2;
1534
759
  */
1535
- password = "";
760
+ password: string;
1536
761
 
1537
762
  /**
1538
763
  * @generated from field: bool skip_password = 3;
1539
764
  */
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
- }
765
+ skipPassword: boolean;
766
+ };
1558
767
 
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
- }
768
+ /**
769
+ * Describes the message land.gno.gnonative.v1.DeleteAccountRequest.
770
+ * Use `create(DeleteAccountRequestSchema)` to create a new message.
771
+ */
772
+ export const DeleteAccountRequestSchema: GenMessage<DeleteAccountRequest> = /*@__PURE__*/
773
+ messageDesc(file_gnonativetypes, 39);
1571
774
 
1572
775
  /**
1573
776
  * @generated from message land.gno.gnonative.v1.DeleteAccountResponse
1574
777
  */
1575
- export class DeleteAccountResponse extends Message<DeleteAccountResponse> {
1576
- constructor(data?: PartialMessage<DeleteAccountResponse>) {
1577
- super();
1578
- proto3.util.initPartial(data, this);
1579
- }
778
+ export type DeleteAccountResponse = Message<"land.gno.gnonative.v1.DeleteAccountResponse"> & {
779
+ };
1580
780
 
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
- }
781
+ /**
782
+ * Describes the message land.gno.gnonative.v1.DeleteAccountResponse.
783
+ * Use `create(DeleteAccountResponseSchema)` to create a new message.
784
+ */
785
+ export const DeleteAccountResponseSchema: GenMessage<DeleteAccountResponse> = /*@__PURE__*/
786
+ messageDesc(file_gnonativetypes, 40);
1602
787
 
1603
788
  /**
1604
789
  * @generated from message land.gno.gnonative.v1.QueryRequest
1605
790
  */
1606
- export class QueryRequest extends Message<QueryRequest> {
791
+ export type QueryRequest = Message<"land.gno.gnonative.v1.QueryRequest"> & {
1607
792
  /**
1608
793
  * Example: "vm/qrender"
1609
794
  *
1610
795
  * @generated from field: string path = 1;
1611
796
  */
1612
- path = "";
797
+ path: string;
1613
798
 
1614
799
  /**
1615
800
  * Example: "gno.land/r/demo/boards\ntestboard"
1616
801
  *
1617
802
  * @generated from field: bytes data = 2;
1618
803
  */
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
- }
804
+ data: Uint8Array;
805
+ };
1636
806
 
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
- }
807
+ /**
808
+ * Describes the message land.gno.gnonative.v1.QueryRequest.
809
+ * Use `create(QueryRequestSchema)` to create a new message.
810
+ */
811
+ export const QueryRequestSchema: GenMessage<QueryRequest> = /*@__PURE__*/
812
+ messageDesc(file_gnonativetypes, 41);
1649
813
 
1650
814
  /**
1651
815
  * @generated from message land.gno.gnonative.v1.QueryResponse
1652
816
  */
1653
- export class QueryResponse extends Message<QueryResponse> {
817
+ export type QueryResponse = Message<"land.gno.gnonative.v1.QueryResponse"> & {
1654
818
  /**
1655
819
  * @generated from field: bytes result = 1;
1656
820
  */
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
- }
821
+ result: Uint8Array;
822
+ };
1681
823
 
1682
- static equals(a: QueryResponse | PlainMessage<QueryResponse> | undefined, b: QueryResponse | PlainMessage<QueryResponse> | undefined): boolean {
1683
- return proto3.util.equals(QueryResponse, a, b);
1684
- }
1685
- }
824
+ /**
825
+ * Describes the message land.gno.gnonative.v1.QueryResponse.
826
+ * Use `create(QueryResponseSchema)` to create a new message.
827
+ */
828
+ export const QueryResponseSchema: GenMessage<QueryResponse> = /*@__PURE__*/
829
+ messageDesc(file_gnonativetypes, 42);
1686
830
 
1687
831
  /**
1688
832
  * @generated from message land.gno.gnonative.v1.RenderRequest
1689
833
  */
1690
- export class RenderRequest extends Message<RenderRequest> {
834
+ export type RenderRequest = Message<"land.gno.gnonative.v1.RenderRequest"> & {
1691
835
  /**
1692
836
  * Example: "gno.land/r/demo/boards"
1693
837
  *
1694
838
  * @generated from field: string package_path = 1;
1695
839
  */
1696
- packagePath = "";
840
+ packagePath: string;
1697
841
 
1698
842
  /**
1699
843
  * Example: "testboard/1"
1700
844
  *
1701
845
  * @generated from field: string args = 2;
1702
846
  */
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
- ]);
847
+ args: string;
848
+ };
1716
849
 
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
- }
850
+ /**
851
+ * Describes the message land.gno.gnonative.v1.RenderRequest.
852
+ * Use `create(RenderRequestSchema)` to create a new message.
853
+ */
854
+ export const RenderRequestSchema: GenMessage<RenderRequest> = /*@__PURE__*/
855
+ messageDesc(file_gnonativetypes, 43);
1733
856
 
1734
857
  /**
1735
858
  * @generated from message land.gno.gnonative.v1.RenderResponse
1736
859
  */
1737
- export class RenderResponse extends Message<RenderResponse> {
860
+ export type RenderResponse = Message<"land.gno.gnonative.v1.RenderResponse"> & {
1738
861
  /**
1739
862
  * The Render function result (typically markdown)
1740
863
  *
1741
864
  * @generated from field: string result = 1;
1742
865
  */
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
- }
866
+ result: string;
867
+ };
1759
868
 
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
- }
869
+ /**
870
+ * Describes the message land.gno.gnonative.v1.RenderResponse.
871
+ * Use `create(RenderResponseSchema)` to create a new message.
872
+ */
873
+ export const RenderResponseSchema: GenMessage<RenderResponse> = /*@__PURE__*/
874
+ messageDesc(file_gnonativetypes, 44);
1772
875
 
1773
876
  /**
1774
877
  * @generated from message land.gno.gnonative.v1.QEvalRequest
1775
878
  */
1776
- export class QEvalRequest extends Message<QEvalRequest> {
879
+ export type QEvalRequest = Message<"land.gno.gnonative.v1.QEvalRequest"> & {
1777
880
  /**
1778
881
  * Example: "gno.land/r/demo/boards"
1779
882
  *
1780
883
  * @generated from field: string package_path = 1;
1781
884
  */
1782
- packagePath = "";
885
+ packagePath: string;
1783
886
 
1784
887
  /**
1785
888
  * Example: "GetBoardIDFromName(\"testboard\")"
1786
889
  *
1787
890
  * @generated from field: string expression = 2;
1788
891
  */
1789
- expression = "";
892
+ expression: string;
893
+ };
1790
894
 
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
- }
895
+ /**
896
+ * Describes the message land.gno.gnonative.v1.QEvalRequest.
897
+ * Use `create(QEvalRequestSchema)` to create a new message.
898
+ */
899
+ export const QEvalRequestSchema: GenMessage<QEvalRequest> = /*@__PURE__*/
900
+ messageDesc(file_gnonativetypes, 45);
1819
901
 
1820
902
  /**
1821
903
  * @generated from message land.gno.gnonative.v1.QEvalResponse
1822
904
  */
1823
- export class QEvalResponse extends Message<QEvalResponse> {
905
+ export type QEvalResponse = Message<"land.gno.gnonative.v1.QEvalResponse"> & {
1824
906
  /**
1825
907
  * A typed expression like "(1 gno.land/r/demo/boards.BoardID)\n(true bool)"
1826
908
  *
1827
909
  * @generated from field: string result = 1;
1828
910
  */
1829
- result = "";
1830
-
1831
- constructor(data?: PartialMessage<QEvalResponse>) {
1832
- super();
1833
- proto3.util.initPartial(data, this);
1834
- }
911
+ result: string;
912
+ };
1835
913
 
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
- }
914
+ /**
915
+ * Describes the message land.gno.gnonative.v1.QEvalResponse.
916
+ * Use `create(QEvalResponseSchema)` to create a new message.
917
+ */
918
+ export const QEvalResponseSchema: GenMessage<QEvalResponse> = /*@__PURE__*/
919
+ messageDesc(file_gnonativetypes, 46);
1858
920
 
1859
921
  /**
1860
922
  * @generated from message land.gno.gnonative.v1.MsgCall
1861
923
  */
1862
- export class MsgCall extends Message<MsgCall> {
924
+ export type MsgCall = Message<"land.gno.gnonative.v1.MsgCall"> & {
1863
925
  /**
1864
926
  * Example: "gno.land/r/demo/boards"
1865
927
  *
1866
928
  * @generated from field: string package_path = 1;
1867
929
  */
1868
- packagePath = "";
930
+ packagePath: string;
1869
931
 
1870
932
  /**
1871
933
  * Example: "CreateReply"
1872
934
  *
1873
935
  * @generated from field: string fnc = 2;
1874
936
  */
1875
- fnc = "";
937
+ fnc: string;
1876
938
 
1877
939
  /**
1878
940
  * list of arguments specific to the function
@@ -1880,1195 +942,754 @@ export class MsgCall extends Message<MsgCall> {
1880
942
  *
1881
943
  * @generated from field: repeated string args = 3;
1882
944
  */
1883
- args: string[] = [];
945
+ args: string[];
1884
946
 
1885
947
  /**
1886
948
  * @generated from field: repeated land.gno.gnonative.v1.Coin send = 4;
1887
949
  */
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
- ]);
950
+ send: Coin[];
951
+ };
1903
952
 
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
- }
953
+ /**
954
+ * Describes the message land.gno.gnonative.v1.MsgCall.
955
+ * Use `create(MsgCallSchema)` to create a new message.
956
+ */
957
+ export const MsgCallSchema: GenMessage<MsgCall> = /*@__PURE__*/
958
+ messageDesc(file_gnonativetypes, 47);
1920
959
 
1921
960
  /**
1922
961
  * @generated from message land.gno.gnonative.v1.CallRequest
1923
962
  */
1924
- export class CallRequest extends Message<CallRequest> {
963
+ export type CallRequest = Message<"land.gno.gnonative.v1.CallRequest"> & {
1925
964
  /**
1926
965
  * @generated from field: string gas_fee = 1;
1927
966
  */
1928
- gasFee = "";
967
+ gasFee: string;
1929
968
 
1930
969
  /**
1931
970
  * @generated from field: sint64 gas_wanted = 2;
1932
971
  */
1933
- gasWanted = protoInt64.zero;
972
+ gasWanted: bigint;
1934
973
 
1935
974
  /**
1936
975
  * @generated from field: string memo = 3;
1937
976
  */
1938
- memo = "";
977
+ memo: string;
1939
978
 
1940
979
  /**
1941
980
  * The address of the account to sign the transaction
1942
981
  *
1943
982
  * @generated from field: bytes caller_address = 4;
1944
983
  */
1945
- callerAddress = new Uint8Array(0);
984
+ callerAddress: Uint8Array;
1946
985
 
1947
986
  /**
1948
987
  * list of calls to make in one transaction
1949
988
  *
1950
989
  * @generated from field: repeated land.gno.gnonative.v1.MsgCall msgs = 5 [json_name = "Msgs"];
1951
990
  */
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
- }
991
+ msgs: MsgCall[];
992
+ };
1972
993
 
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
- }
994
+ /**
995
+ * Describes the message land.gno.gnonative.v1.CallRequest.
996
+ * Use `create(CallRequestSchema)` to create a new message.
997
+ */
998
+ export const CallRequestSchema: GenMessage<CallRequest> = /*@__PURE__*/
999
+ messageDesc(file_gnonativetypes, 48);
1985
1000
 
1986
1001
  /**
1987
1002
  * @generated from message land.gno.gnonative.v1.CallResponse
1988
1003
  */
1989
- export class CallResponse extends Message<CallResponse> {
1004
+ export type CallResponse = Message<"land.gno.gnonative.v1.CallResponse"> & {
1990
1005
  /**
1991
1006
  * @generated from field: bytes result = 1;
1992
1007
  */
1993
- result = new Uint8Array(0);
1008
+ result: Uint8Array;
1994
1009
 
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
- }
1010
+ /**
1011
+ * The transaction hash
1012
+ *
1013
+ * @generated from field: bytes hash = 2;
1014
+ */
1015
+ hash: Uint8Array;
2013
1016
 
2014
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CallResponse {
2015
- return new CallResponse().fromJsonString(jsonString, options);
2016
- }
1017
+ /**
1018
+ * The transaction height
1019
+ *
1020
+ * @generated from field: sint64 height = 3;
1021
+ */
1022
+ height: bigint;
1023
+ };
2017
1024
 
2018
- static equals(a: CallResponse | PlainMessage<CallResponse> | undefined, b: CallResponse | PlainMessage<CallResponse> | undefined): boolean {
2019
- return proto3.util.equals(CallResponse, a, b);
2020
- }
2021
- }
1025
+ /**
1026
+ * Describes the message land.gno.gnonative.v1.CallResponse.
1027
+ * Use `create(CallResponseSchema)` to create a new message.
1028
+ */
1029
+ export const CallResponseSchema: GenMessage<CallResponse> = /*@__PURE__*/
1030
+ messageDesc(file_gnonativetypes, 49);
2022
1031
 
2023
1032
  /**
2024
1033
  * @generated from message land.gno.gnonative.v1.MsgSend
2025
1034
  */
2026
- export class MsgSend extends Message<MsgSend> {
1035
+ export type MsgSend = Message<"land.gno.gnonative.v1.MsgSend"> & {
2027
1036
  /**
2028
1037
  * Example: The response of calling AddressFromBech32 with
2029
1038
  * "g1juz2yxmdsa6audkp6ep9vfv80c8p5u76e03vvh"
2030
1039
  *
2031
1040
  * @generated from field: bytes to_address = 1;
2032
1041
  */
2033
- toAddress = new Uint8Array(0);
1042
+ toAddress: Uint8Array;
2034
1043
 
2035
1044
  /**
2036
1045
  * Example: [ {Denom: "ugnot", Amount: 1000} ]
2037
1046
  *
2038
1047
  * @generated from field: repeated land.gno.gnonative.v1.Coin amount = 2;
2039
1048
  */
2040
- amount: Coin[] = [];
2041
-
2042
- constructor(data?: PartialMessage<MsgSend>) {
2043
- super();
2044
- proto3.util.initPartial(data, this);
2045
- }
1049
+ amount: Coin[];
1050
+ };
2046
1051
 
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
- }
1052
+ /**
1053
+ * Describes the message land.gno.gnonative.v1.MsgSend.
1054
+ * Use `create(MsgSendSchema)` to create a new message.
1055
+ */
1056
+ export const MsgSendSchema: GenMessage<MsgSend> = /*@__PURE__*/
1057
+ messageDesc(file_gnonativetypes, 50);
2070
1058
 
2071
1059
  /**
2072
1060
  * @generated from message land.gno.gnonative.v1.SendRequest
2073
1061
  */
2074
- export class SendRequest extends Message<SendRequest> {
1062
+ export type SendRequest = Message<"land.gno.gnonative.v1.SendRequest"> & {
2075
1063
  /**
2076
1064
  * @generated from field: string gas_fee = 1;
2077
1065
  */
2078
- gasFee = "";
1066
+ gasFee: string;
2079
1067
 
2080
1068
  /**
2081
1069
  * @generated from field: sint64 gas_wanted = 2;
2082
1070
  */
2083
- gasWanted = protoInt64.zero;
1071
+ gasWanted: bigint;
2084
1072
 
2085
1073
  /**
2086
1074
  * Memo is optional
2087
1075
  *
2088
1076
  * @generated from field: string memo = 3;
2089
1077
  */
2090
- memo = "";
1078
+ memo: string;
2091
1079
 
2092
1080
  /**
2093
1081
  * The address of the account to sign the transaction
2094
1082
  *
2095
1083
  * @generated from field: bytes caller_address = 4;
2096
1084
  */
2097
- callerAddress = new Uint8Array(0);
1085
+ callerAddress: Uint8Array;
2098
1086
 
2099
1087
  /**
2100
1088
  * list of send operations to make in one transaction
2101
1089
  *
2102
1090
  * @generated from field: repeated land.gno.gnonative.v1.MsgSend msgs = 5 [json_name = "Msgs"];
2103
1091
  */
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
- ]);
1092
+ msgs: MsgSend[];
1093
+ };
2120
1094
 
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
- }
1095
+ /**
1096
+ * Describes the message land.gno.gnonative.v1.SendRequest.
1097
+ * Use `create(SendRequestSchema)` to create a new message.
1098
+ */
1099
+ export const SendRequestSchema: GenMessage<SendRequest> = /*@__PURE__*/
1100
+ messageDesc(file_gnonativetypes, 51);
2137
1101
 
2138
1102
  /**
2139
1103
  * @generated from message land.gno.gnonative.v1.SendResponse
2140
1104
  */
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
- }
1105
+ export type SendResponse = Message<"land.gno.gnonative.v1.SendResponse"> & {
1106
+ /**
1107
+ * The transaction hash
1108
+ *
1109
+ * @generated from field: bytes hash = 1;
1110
+ */
1111
+ hash: Uint8Array;
2159
1112
 
2160
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendResponse {
2161
- return new SendResponse().fromJsonString(jsonString, options);
2162
- }
1113
+ /**
1114
+ * The transaction height
1115
+ *
1116
+ * @generated from field: sint64 height = 2;
1117
+ */
1118
+ height: bigint;
1119
+ };
2163
1120
 
2164
- static equals(a: SendResponse | PlainMessage<SendResponse> | undefined, b: SendResponse | PlainMessage<SendResponse> | undefined): boolean {
2165
- return proto3.util.equals(SendResponse, a, b);
2166
- }
2167
- }
1121
+ /**
1122
+ * Describes the message land.gno.gnonative.v1.SendResponse.
1123
+ * Use `create(SendResponseSchema)` to create a new message.
1124
+ */
1125
+ export const SendResponseSchema: GenMessage<SendResponse> = /*@__PURE__*/
1126
+ messageDesc(file_gnonativetypes, 52);
2168
1127
 
2169
1128
  /**
2170
1129
  * @generated from message land.gno.gnonative.v1.MsgRun
2171
1130
  */
2172
- export class MsgRun extends Message<MsgRun> {
1131
+ export type MsgRun = Message<"land.gno.gnonative.v1.MsgRun"> & {
2173
1132
  /**
2174
1133
  * The code for the script package. Must have main().
2175
1134
  * Example: "package main\nfunc main() {\n println(\"Hello\")\n}"
2176
1135
  *
2177
1136
  * @generated from field: string package = 1;
2178
1137
  */
2179
- package = "";
1138
+ package: string;
2180
1139
 
2181
1140
  /**
2182
1141
  * Optional. Example: "1000ugnot"
2183
1142
  *
2184
1143
  * @generated from field: string send = 2;
2185
1144
  */
2186
- send = "";
1145
+ send: string;
1146
+ };
2187
1147
 
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
- }
1148
+ /**
1149
+ * Describes the message land.gno.gnonative.v1.MsgRun.
1150
+ * Use `create(MsgRunSchema)` to create a new message.
1151
+ */
1152
+ export const MsgRunSchema: GenMessage<MsgRun> = /*@__PURE__*/
1153
+ messageDesc(file_gnonativetypes, 53);
2216
1154
 
2217
1155
  /**
2218
1156
  * @generated from message land.gno.gnonative.v1.RunRequest
2219
1157
  */
2220
- export class RunRequest extends Message<RunRequest> {
1158
+ export type RunRequest = Message<"land.gno.gnonative.v1.RunRequest"> & {
2221
1159
  /**
2222
1160
  * @generated from field: string gas_fee = 1;
2223
1161
  */
2224
- gasFee = "";
1162
+ gasFee: string;
2225
1163
 
2226
1164
  /**
2227
1165
  * @generated from field: sint64 gas_wanted = 2;
2228
1166
  */
2229
- gasWanted = protoInt64.zero;
1167
+ gasWanted: bigint;
2230
1168
 
2231
1169
  /**
2232
1170
  * Memo is optional
2233
1171
  *
2234
1172
  * @generated from field: string memo = 3;
2235
1173
  */
2236
- memo = "";
1174
+ memo: string;
2237
1175
 
2238
1176
  /**
2239
1177
  * The address of the account to sign the transaction
2240
1178
  *
2241
1179
  * @generated from field: bytes caller_address = 4;
2242
1180
  */
2243
- callerAddress = new Uint8Array(0);
1181
+ callerAddress: Uint8Array;
2244
1182
 
2245
1183
  /**
2246
1184
  * list of run operations to make in one transaction
2247
1185
  *
2248
1186
  * @generated from field: repeated land.gno.gnonative.v1.MsgRun msgs = 5 [json_name = "Msgs"];
2249
1187
  */
2250
- msgs: MsgRun[] = [];
2251
-
2252
- constructor(data?: PartialMessage<RunRequest>) {
2253
- super();
2254
- proto3.util.initPartial(data, this);
2255
- }
1188
+ msgs: MsgRun[];
1189
+ };
2256
1190
 
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
- }
1191
+ /**
1192
+ * Describes the message land.gno.gnonative.v1.RunRequest.
1193
+ * Use `create(RunRequestSchema)` to create a new message.
1194
+ */
1195
+ export const RunRequestSchema: GenMessage<RunRequest> = /*@__PURE__*/
1196
+ messageDesc(file_gnonativetypes, 54);
2283
1197
 
2284
1198
  /**
2285
1199
  * @generated from message land.gno.gnonative.v1.RunResponse
2286
1200
  */
2287
- export class RunResponse extends Message<RunResponse> {
1201
+ export type RunResponse = Message<"land.gno.gnonative.v1.RunResponse"> & {
2288
1202
  /**
2289
1203
  * The "console" output from the run
2290
1204
  *
2291
1205
  * @generated from field: string result = 1;
2292
1206
  */
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
- ]);
1207
+ result: string;
2305
1208
 
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
- }
1209
+ /**
1210
+ * The transaction hash
1211
+ *
1212
+ * @generated from field: bytes hash = 2;
1213
+ */
1214
+ hash: Uint8Array;
2313
1215
 
2314
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RunResponse {
2315
- return new RunResponse().fromJsonString(jsonString, options);
2316
- }
1216
+ /**
1217
+ * The transaction height
1218
+ *
1219
+ * @generated from field: sint64 height = 3;
1220
+ */
1221
+ height: bigint;
1222
+ };
2317
1223
 
2318
- static equals(a: RunResponse | PlainMessage<RunResponse> | undefined, b: RunResponse | PlainMessage<RunResponse> | undefined): boolean {
2319
- return proto3.util.equals(RunResponse, a, b);
2320
- }
2321
- }
1224
+ /**
1225
+ * Describes the message land.gno.gnonative.v1.RunResponse.
1226
+ * Use `create(RunResponseSchema)` to create a new message.
1227
+ */
1228
+ export const RunResponseSchema: GenMessage<RunResponse> = /*@__PURE__*/
1229
+ messageDesc(file_gnonativetypes, 55);
2322
1230
 
2323
1231
  /**
2324
1232
  * @generated from message land.gno.gnonative.v1.MakeTxResponse
2325
1233
  */
2326
- export class MakeTxResponse extends Message<MakeTxResponse> {
1234
+ export type MakeTxResponse = Message<"land.gno.gnonative.v1.MakeTxResponse"> & {
2327
1235
  /**
2328
1236
  * The JSON encoding of the unsigned transaction
2329
1237
  *
2330
1238
  * @generated from field: string tx_json = 1;
2331
1239
  */
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
- }
1240
+ txJson: string;
1241
+ };
2348
1242
 
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
- }
1243
+ /**
1244
+ * Describes the message land.gno.gnonative.v1.MakeTxResponse.
1245
+ * Use `create(MakeTxResponseSchema)` to create a new message.
1246
+ */
1247
+ export const MakeTxResponseSchema: GenMessage<MakeTxResponse> = /*@__PURE__*/
1248
+ messageDesc(file_gnonativetypes, 56);
2361
1249
 
2362
1250
  /**
2363
1251
  * @generated from message land.gno.gnonative.v1.SignTxRequest
2364
1252
  */
2365
- export class SignTxRequest extends Message<SignTxRequest> {
1253
+ export type SignTxRequest = Message<"land.gno.gnonative.v1.SignTxRequest"> & {
2366
1254
  /**
2367
1255
  * The JSON encoding of the unsigned transaction (from MakeCallTx, etc.)
2368
1256
  *
2369
1257
  * @generated from field: string tx_json = 1;
2370
1258
  */
2371
- txJson = "";
1259
+ txJson: string;
2372
1260
 
2373
1261
  /**
2374
1262
  * The address of the account to sign the transaction
2375
1263
  *
2376
1264
  * @generated from field: bytes address = 2;
2377
1265
  */
2378
- address = new Uint8Array(0);
1266
+ address: Uint8Array;
2379
1267
 
2380
1268
  /**
2381
1269
  * The signer's account number on the blockchain. If 0 then query the blockchain for the value.
2382
1270
  *
2383
1271
  * @generated from field: uint64 account_number = 3;
2384
1272
  */
2385
- accountNumber = protoInt64.zero;
1273
+ accountNumber: bigint;
2386
1274
 
2387
1275
  /**
2388
1276
  * The sequence number of the signer's transactions on the blockchain. If 0 then query the blockchain for the value.
2389
1277
  *
2390
1278
  * @generated from field: uint64 sequence_number = 4;
2391
1279
  */
2392
- sequenceNumber = protoInt64.zero;
1280
+ sequenceNumber: bigint;
1281
+ };
2393
1282
 
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
- }
1283
+ /**
1284
+ * Describes the message land.gno.gnonative.v1.SignTxRequest.
1285
+ * Use `create(SignTxRequestSchema)` to create a new message.
1286
+ */
1287
+ export const SignTxRequestSchema: GenMessage<SignTxRequest> = /*@__PURE__*/
1288
+ messageDesc(file_gnonativetypes, 57);
2424
1289
 
2425
1290
  /**
2426
1291
  * @generated from message land.gno.gnonative.v1.SignTxResponse
2427
1292
  */
2428
- export class SignTxResponse extends Message<SignTxResponse> {
1293
+ export type SignTxResponse = Message<"land.gno.gnonative.v1.SignTxResponse"> & {
2429
1294
  /**
2430
1295
  * The JSON encoding of the signed transaction (to use in BroadcastTx)
2431
1296
  *
2432
1297
  * @generated from field: string signed_tx_json = 1 [json_name = "tx_json"];
2433
1298
  */
2434
- signedTxJson = "";
2435
-
2436
- constructor(data?: PartialMessage<SignTxResponse>) {
2437
- super();
2438
- proto3.util.initPartial(data, this);
2439
- }
1299
+ signedTxJson: string;
1300
+ };
2440
1301
 
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
- }
1302
+ /**
1303
+ * Describes the message land.gno.gnonative.v1.SignTxResponse.
1304
+ * Use `create(SignTxResponseSchema)` to create a new message.
1305
+ */
1306
+ export const SignTxResponseSchema: GenMessage<SignTxResponse> = /*@__PURE__*/
1307
+ messageDesc(file_gnonativetypes, 58);
2463
1308
 
2464
1309
  /**
2465
1310
  * @generated from message land.gno.gnonative.v1.EstimateGasRequest
2466
1311
  */
2467
- export class EstimateGasRequest extends Message<EstimateGasRequest> {
1312
+ export type EstimateGasRequest = Message<"land.gno.gnonative.v1.EstimateGasRequest"> & {
2468
1313
  /**
2469
1314
  * The JSON encoding of the unsigned transaction (from MakeCallTx, etc.)
2470
1315
  *
2471
1316
  * @generated from field: string tx_json = 1;
2472
1317
  */
2473
- txJson = "";
1318
+ txJson: string;
2474
1319
 
2475
1320
  /**
2476
1321
  * The address of the account to sign the transaction
2477
1322
  *
2478
1323
  * @generated from field: bytes address = 2;
2479
1324
  */
2480
- address = new Uint8Array(0);
1325
+ address: Uint8Array;
2481
1326
 
2482
1327
  /**
2483
1328
  * 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.
1329
+ * This number 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
1330
  * It will be multiplied by the estimated gas amount.
2486
1331
  *
2487
1332
  * @generated from field: uint32 security_margin = 3;
2488
1333
  */
2489
- securityMargin = 0;
1334
+ securityMargin: number;
2490
1335
 
2491
1336
  /**
2492
1337
  * The update boolean to update the gas wanted field in the transaction if true.
2493
1338
  *
2494
1339
  * @generated from field: bool update_tx = 4;
2495
1340
  */
2496
- updateTx = false;
1341
+ updateTx: boolean;
2497
1342
 
2498
1343
  /**
2499
1344
  * The signer's account number on the blockchain. If 0 then query the blockchain for the value.
2500
1345
  *
2501
1346
  * @generated from field: uint64 account_number = 5;
2502
1347
  */
2503
- accountNumber = protoInt64.zero;
1348
+ accountNumber: bigint;
2504
1349
 
2505
1350
  /**
2506
1351
  * The sequence number of the signer's transactions on the blockchain. If 0 then query the blockchain for the value.
2507
1352
  *
2508
1353
  * @generated from field: uint64 sequence_number = 6;
2509
1354
  */
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
- ]);
1355
+ sequenceNumber: bigint;
1356
+ };
2527
1357
 
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
- }
1358
+ /**
1359
+ * Describes the message land.gno.gnonative.v1.EstimateGasRequest.
1360
+ * Use `create(EstimateGasRequestSchema)` to create a new message.
1361
+ */
1362
+ export const EstimateGasRequestSchema: GenMessage<EstimateGasRequest> = /*@__PURE__*/
1363
+ messageDesc(file_gnonativetypes, 59);
2544
1364
 
2545
1365
  /**
2546
1366
  * @generated from message land.gno.gnonative.v1.EstimateGasResponse
2547
1367
  */
2548
- export class EstimateGasResponse extends Message<EstimateGasResponse> {
1368
+ export type EstimateGasResponse = Message<"land.gno.gnonative.v1.EstimateGasResponse"> & {
2549
1369
  /**
2550
1370
  * The JSON encoding of the unsigned transaction
2551
1371
  *
2552
1372
  * @generated from field: string tx_json = 1;
2553
1373
  */
2554
- txJson = "";
1374
+ txJson: string;
2555
1375
 
2556
1376
  /**
2557
1377
  * The estimated gas wanted for the transaction
2558
1378
  *
2559
1379
  * @generated from field: sint64 gas_wanted = 2;
2560
1380
  */
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
- }
1381
+ gasWanted: bigint;
1382
+ };
2578
1383
 
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
- }
1384
+ /**
1385
+ * Describes the message land.gno.gnonative.v1.EstimateGasResponse.
1386
+ * Use `create(EstimateGasResponseSchema)` to create a new message.
1387
+ */
1388
+ export const EstimateGasResponseSchema: GenMessage<EstimateGasResponse> = /*@__PURE__*/
1389
+ messageDesc(file_gnonativetypes, 60);
2591
1390
 
2592
1391
  /**
2593
1392
  * @generated from message land.gno.gnonative.v1.BroadcastTxCommitRequest
2594
1393
  */
2595
- export class BroadcastTxCommitRequest extends Message<BroadcastTxCommitRequest> {
1394
+ export type BroadcastTxCommitRequest = Message<"land.gno.gnonative.v1.BroadcastTxCommitRequest"> & {
2596
1395
  /**
2597
1396
  * The JSON encoding of the signed transaction (from SignTx)
2598
1397
  *
2599
1398
  * @generated from field: string signed_tx_json = 1 [json_name = "tx_json"];
2600
1399
  */
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
- }
1400
+ signedTxJson: string;
1401
+ };
2621
1402
 
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
- }
1403
+ /**
1404
+ * Describes the message land.gno.gnonative.v1.BroadcastTxCommitRequest.
1405
+ * Use `create(BroadcastTxCommitRequestSchema)` to create a new message.
1406
+ */
1407
+ export const BroadcastTxCommitRequestSchema: GenMessage<BroadcastTxCommitRequest> = /*@__PURE__*/
1408
+ messageDesc(file_gnonativetypes, 61);
2630
1409
 
2631
1410
  /**
2632
1411
  * @generated from message land.gno.gnonative.v1.BroadcastTxCommitResponse
2633
1412
  */
2634
- export class BroadcastTxCommitResponse extends Message<BroadcastTxCommitResponse> {
1413
+ export type BroadcastTxCommitResponse = Message<"land.gno.gnonative.v1.BroadcastTxCommitResponse"> & {
2635
1414
  /**
2636
1415
  * @generated from field: bytes result = 1;
2637
1416
  */
2638
- result = new Uint8Array(0);
2639
-
2640
- constructor(data?: PartialMessage<BroadcastTxCommitResponse>) {
2641
- super();
2642
- proto3.util.initPartial(data, this);
2643
- }
1417
+ result: Uint8Array;
2644
1418
 
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
- }
1419
+ /**
1420
+ * The transaction hash
1421
+ *
1422
+ * @generated from field: bytes hash = 2;
1423
+ */
1424
+ hash: Uint8Array;
2658
1425
 
2659
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BroadcastTxCommitResponse {
2660
- return new BroadcastTxCommitResponse().fromJsonString(jsonString, options);
2661
- }
1426
+ /**
1427
+ * The transaction height
1428
+ *
1429
+ * @generated from field: sint64 height = 3;
1430
+ */
1431
+ height: bigint;
1432
+ };
2662
1433
 
2663
- static equals(a: BroadcastTxCommitResponse | PlainMessage<BroadcastTxCommitResponse> | undefined, b: BroadcastTxCommitResponse | PlainMessage<BroadcastTxCommitResponse> | undefined): boolean {
2664
- return proto3.util.equals(BroadcastTxCommitResponse, a, b);
2665
- }
2666
- }
1434
+ /**
1435
+ * Describes the message land.gno.gnonative.v1.BroadcastTxCommitResponse.
1436
+ * Use `create(BroadcastTxCommitResponseSchema)` to create a new message.
1437
+ */
1438
+ export const BroadcastTxCommitResponseSchema: GenMessage<BroadcastTxCommitResponse> = /*@__PURE__*/
1439
+ messageDesc(file_gnonativetypes, 62);
2667
1440
 
2668
1441
  /**
2669
1442
  * @generated from message land.gno.gnonative.v1.AddressToBech32Request
2670
1443
  */
2671
- export class AddressToBech32Request extends Message<AddressToBech32Request> {
1444
+ export type AddressToBech32Request = Message<"land.gno.gnonative.v1.AddressToBech32Request"> & {
2672
1445
  /**
2673
1446
  * @generated from field: bytes address = 1;
2674
1447
  */
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
- ]);
1448
+ address: Uint8Array;
1449
+ };
2687
1450
 
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
- }
1451
+ /**
1452
+ * Describes the message land.gno.gnonative.v1.AddressToBech32Request.
1453
+ * Use `create(AddressToBech32RequestSchema)` to create a new message.
1454
+ */
1455
+ export const AddressToBech32RequestSchema: GenMessage<AddressToBech32Request> = /*@__PURE__*/
1456
+ messageDesc(file_gnonativetypes, 63);
2704
1457
 
2705
1458
  /**
2706
1459
  * @generated from message land.gno.gnonative.v1.AddressToBech32Response
2707
1460
  */
2708
- export class AddressToBech32Response extends Message<AddressToBech32Response> {
1461
+ export type AddressToBech32Response = Message<"land.gno.gnonative.v1.AddressToBech32Response"> & {
2709
1462
  /**
2710
1463
  * @generated from field: string bech32_address = 1;
2711
1464
  */
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
- }
1465
+ bech32Address: string;
1466
+ };
2728
1467
 
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
- }
1468
+ /**
1469
+ * Describes the message land.gno.gnonative.v1.AddressToBech32Response.
1470
+ * Use `create(AddressToBech32ResponseSchema)` to create a new message.
1471
+ */
1472
+ export const AddressToBech32ResponseSchema: GenMessage<AddressToBech32Response> = /*@__PURE__*/
1473
+ messageDesc(file_gnonativetypes, 64);
2741
1474
 
2742
1475
  /**
2743
1476
  * @generated from message land.gno.gnonative.v1.AddressFromBech32Request
2744
1477
  */
2745
- export class AddressFromBech32Request extends Message<AddressFromBech32Request> {
1478
+ export type AddressFromBech32Request = Message<"land.gno.gnonative.v1.AddressFromBech32Request"> & {
2746
1479
  /**
2747
1480
  * @generated from field: string bech32_address = 1;
2748
1481
  */
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
- }
1482
+ bech32Address: string;
1483
+ };
2769
1484
 
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
- }
1485
+ /**
1486
+ * Describes the message land.gno.gnonative.v1.AddressFromBech32Request.
1487
+ * Use `create(AddressFromBech32RequestSchema)` to create a new message.
1488
+ */
1489
+ export const AddressFromBech32RequestSchema: GenMessage<AddressFromBech32Request> = /*@__PURE__*/
1490
+ messageDesc(file_gnonativetypes, 65);
2778
1491
 
2779
1492
  /**
2780
1493
  * @generated from message land.gno.gnonative.v1.AddressFromBech32Response
2781
1494
  */
2782
- export class AddressFromBech32Response extends Message<AddressFromBech32Response> {
1495
+ export type AddressFromBech32Response = Message<"land.gno.gnonative.v1.AddressFromBech32Response"> & {
2783
1496
  /**
2784
1497
  * @generated from field: bytes address = 1;
2785
1498
  */
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
- }
1499
+ address: Uint8Array;
1500
+ };
2810
1501
 
2811
- static equals(a: AddressFromBech32Response | PlainMessage<AddressFromBech32Response> | undefined, b: AddressFromBech32Response | PlainMessage<AddressFromBech32Response> | undefined): boolean {
2812
- return proto3.util.equals(AddressFromBech32Response, a, b);
2813
- }
2814
- }
1502
+ /**
1503
+ * Describes the message land.gno.gnonative.v1.AddressFromBech32Response.
1504
+ * Use `create(AddressFromBech32ResponseSchema)` to create a new message.
1505
+ */
1506
+ export const AddressFromBech32ResponseSchema: GenMessage<AddressFromBech32Response> = /*@__PURE__*/
1507
+ messageDesc(file_gnonativetypes, 66);
2815
1508
 
2816
1509
  /**
2817
1510
  * @generated from message land.gno.gnonative.v1.AddressFromMnemonicRequest
2818
1511
  */
2819
- export class AddressFromMnemonicRequest extends Message<AddressFromMnemonicRequest> {
1512
+ export type AddressFromMnemonicRequest = Message<"land.gno.gnonative.v1.AddressFromMnemonicRequest"> & {
2820
1513
  /**
2821
1514
  * @generated from field: string mnemonic = 1;
2822
1515
  */
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
- ]);
1516
+ mnemonic: string;
1517
+ };
2835
1518
 
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
- }
1519
+ /**
1520
+ * Describes the message land.gno.gnonative.v1.AddressFromMnemonicRequest.
1521
+ * Use `create(AddressFromMnemonicRequestSchema)` to create a new message.
1522
+ */
1523
+ export const AddressFromMnemonicRequestSchema: GenMessage<AddressFromMnemonicRequest> = /*@__PURE__*/
1524
+ messageDesc(file_gnonativetypes, 67);
2852
1525
 
2853
1526
  /**
2854
1527
  * @generated from message land.gno.gnonative.v1.AddressFromMnemonicResponse
2855
1528
  */
2856
- export class AddressFromMnemonicResponse extends Message<AddressFromMnemonicResponse> {
1529
+ export type AddressFromMnemonicResponse = Message<"land.gno.gnonative.v1.AddressFromMnemonicResponse"> & {
2857
1530
  /**
2858
1531
  * @generated from field: bytes address = 1;
2859
1532
  */
2860
- address = new Uint8Array(0);
2861
-
2862
- constructor(data?: PartialMessage<AddressFromMnemonicResponse>) {
2863
- super();
2864
- proto3.util.initPartial(data, this);
2865
- }
1533
+ address: Uint8Array;
1534
+ };
2866
1535
 
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
- ]);
1536
+ /**
1537
+ * Describes the message land.gno.gnonative.v1.AddressFromMnemonicResponse.
1538
+ * Use `create(AddressFromMnemonicResponseSchema)` to create a new message.
1539
+ */
1540
+ export const AddressFromMnemonicResponseSchema: GenMessage<AddressFromMnemonicResponse> = /*@__PURE__*/
1541
+ messageDesc(file_gnonativetypes, 68);
2872
1542
 
2873
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AddressFromMnemonicResponse {
2874
- return new AddressFromMnemonicResponse().fromBinary(bytes, options);
2875
- }
1543
+ /**
1544
+ * @generated from message land.gno.gnonative.v1.ValidateMnemonicWordRequest
1545
+ */
1546
+ export type ValidateMnemonicWordRequest = Message<"land.gno.gnonative.v1.ValidateMnemonicWordRequest"> & {
1547
+ /**
1548
+ * @generated from field: string word = 1;
1549
+ */
1550
+ word: string;
1551
+ };
2876
1552
 
2877
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AddressFromMnemonicResponse {
2878
- return new AddressFromMnemonicResponse().fromJson(jsonValue, options);
2879
- }
1553
+ /**
1554
+ * Describes the message land.gno.gnonative.v1.ValidateMnemonicWordRequest.
1555
+ * Use `create(ValidateMnemonicWordRequestSchema)` to create a new message.
1556
+ */
1557
+ export const ValidateMnemonicWordRequestSchema: GenMessage<ValidateMnemonicWordRequest> = /*@__PURE__*/
1558
+ messageDesc(file_gnonativetypes, 69);
2880
1559
 
2881
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AddressFromMnemonicResponse {
2882
- return new AddressFromMnemonicResponse().fromJsonString(jsonString, options);
2883
- }
1560
+ /**
1561
+ * @generated from message land.gno.gnonative.v1.ValidateMnemonicWordResponse
1562
+ */
1563
+ export type ValidateMnemonicWordResponse = Message<"land.gno.gnonative.v1.ValidateMnemonicWordResponse"> & {
1564
+ /**
1565
+ * @generated from field: bool valid = 1;
1566
+ */
1567
+ valid: boolean;
1568
+ };
2884
1569
 
2885
- static equals(a: AddressFromMnemonicResponse | PlainMessage<AddressFromMnemonicResponse> | undefined, b: AddressFromMnemonicResponse | PlainMessage<AddressFromMnemonicResponse> | undefined): boolean {
2886
- return proto3.util.equals(AddressFromMnemonicResponse, a, b);
2887
- }
2888
- }
1570
+ /**
1571
+ * Describes the message land.gno.gnonative.v1.ValidateMnemonicWordResponse.
1572
+ * Use `create(ValidateMnemonicWordResponseSchema)` to create a new message.
1573
+ */
1574
+ export const ValidateMnemonicWordResponseSchema: GenMessage<ValidateMnemonicWordResponse> = /*@__PURE__*/
1575
+ messageDesc(file_gnonativetypes, 70);
2889
1576
 
2890
1577
  /**
2891
- * @generated from message land.gno.gnonative.v1.HelloRequest
1578
+ * @generated from message land.gno.gnonative.v1.ValidateMnemonicPhraseRequest
2892
1579
  */
2893
- export class HelloRequest extends Message<HelloRequest> {
1580
+ export type ValidateMnemonicPhraseRequest = Message<"land.gno.gnonative.v1.ValidateMnemonicPhraseRequest"> & {
2894
1581
  /**
2895
- * @generated from field: string name = 1 [json_name = "Name"];
1582
+ * @generated from field: string phrase = 1;
2896
1583
  */
2897
- name = "";
2898
-
2899
- constructor(data?: PartialMessage<HelloRequest>) {
2900
- super();
2901
- proto3.util.initPartial(data, this);
2902
- }
1584
+ phrase: string;
1585
+ };
2903
1586
 
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
- ]);
1587
+ /**
1588
+ * Describes the message land.gno.gnonative.v1.ValidateMnemonicPhraseRequest.
1589
+ * Use `create(ValidateMnemonicPhraseRequestSchema)` to create a new message.
1590
+ */
1591
+ export const ValidateMnemonicPhraseRequestSchema: GenMessage<ValidateMnemonicPhraseRequest> = /*@__PURE__*/
1592
+ messageDesc(file_gnonativetypes, 71);
2909
1593
 
2910
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HelloRequest {
2911
- return new HelloRequest().fromBinary(bytes, options);
2912
- }
1594
+ /**
1595
+ * @generated from message land.gno.gnonative.v1.ValidateMnemonicPhraseResponse
1596
+ */
1597
+ export type ValidateMnemonicPhraseResponse = Message<"land.gno.gnonative.v1.ValidateMnemonicPhraseResponse"> & {
1598
+ /**
1599
+ * @generated from field: bool valid = 1;
1600
+ */
1601
+ valid: boolean;
1602
+ };
2913
1603
 
2914
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HelloRequest {
2915
- return new HelloRequest().fromJson(jsonValue, options);
2916
- }
1604
+ /**
1605
+ * Describes the message land.gno.gnonative.v1.ValidateMnemonicPhraseResponse.
1606
+ * Use `create(ValidateMnemonicPhraseResponseSchema)` to create a new message.
1607
+ */
1608
+ export const ValidateMnemonicPhraseResponseSchema: GenMessage<ValidateMnemonicPhraseResponse> = /*@__PURE__*/
1609
+ messageDesc(file_gnonativetypes, 72);
2917
1610
 
2918
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HelloRequest {
2919
- return new HelloRequest().fromJsonString(jsonString, options);
2920
- }
1611
+ /**
1612
+ * @generated from message land.gno.gnonative.v1.HelloRequest
1613
+ */
1614
+ export type HelloRequest = Message<"land.gno.gnonative.v1.HelloRequest"> & {
1615
+ /**
1616
+ * @generated from field: string name = 1 [json_name = "Name"];
1617
+ */
1618
+ name: string;
1619
+ };
2921
1620
 
2922
- static equals(a: HelloRequest | PlainMessage<HelloRequest> | undefined, b: HelloRequest | PlainMessage<HelloRequest> | undefined): boolean {
2923
- return proto3.util.equals(HelloRequest, a, b);
2924
- }
2925
- }
1621
+ /**
1622
+ * Describes the message land.gno.gnonative.v1.HelloRequest.
1623
+ * Use `create(HelloRequestSchema)` to create a new message.
1624
+ */
1625
+ export const HelloRequestSchema: GenMessage<HelloRequest> = /*@__PURE__*/
1626
+ messageDesc(file_gnonativetypes, 73);
2926
1627
 
2927
1628
  /**
2928
1629
  * @generated from message land.gno.gnonative.v1.HelloResponse
2929
1630
  */
2930
- export class HelloResponse extends Message<HelloResponse> {
1631
+ export type HelloResponse = Message<"land.gno.gnonative.v1.HelloResponse"> & {
2931
1632
  /**
2932
1633
  * @generated from field: string greeting = 1 [json_name = "Greeting"];
2933
1634
  */
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
- }
1635
+ greeting: string;
1636
+ };
2954
1637
 
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
- }
1638
+ /**
1639
+ * Describes the message land.gno.gnonative.v1.HelloResponse.
1640
+ * Use `create(HelloResponseSchema)` to create a new message.
1641
+ */
1642
+ export const HelloResponseSchema: GenMessage<HelloResponse> = /*@__PURE__*/
1643
+ messageDesc(file_gnonativetypes, 74);
2963
1644
 
2964
1645
  /**
2965
1646
  * @generated from message land.gno.gnonative.v1.HelloStreamRequest
2966
1647
  */
2967
- export class HelloStreamRequest extends Message<HelloStreamRequest> {
1648
+ export type HelloStreamRequest = Message<"land.gno.gnonative.v1.HelloStreamRequest"> & {
2968
1649
  /**
2969
1650
  * @generated from field: string name = 1 [json_name = "Name"];
2970
1651
  */
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
- }
1652
+ name: string;
1653
+ };
2995
1654
 
2996
- static equals(a: HelloStreamRequest | PlainMessage<HelloStreamRequest> | undefined, b: HelloStreamRequest | PlainMessage<HelloStreamRequest> | undefined): boolean {
2997
- return proto3.util.equals(HelloStreamRequest, a, b);
2998
- }
2999
- }
1655
+ /**
1656
+ * Describes the message land.gno.gnonative.v1.HelloStreamRequest.
1657
+ * Use `create(HelloStreamRequestSchema)` to create a new message.
1658
+ */
1659
+ export const HelloStreamRequestSchema: GenMessage<HelloStreamRequest> = /*@__PURE__*/
1660
+ messageDesc(file_gnonativetypes, 75);
3000
1661
 
3001
1662
  /**
3002
1663
  * @generated from message land.gno.gnonative.v1.HelloStreamResponse
3003
1664
  */
3004
- export class HelloStreamResponse extends Message<HelloStreamResponse> {
1665
+ export type HelloStreamResponse = Message<"land.gno.gnonative.v1.HelloStreamResponse"> & {
3005
1666
  /**
3006
1667
  * @generated from field: string greeting = 1 [json_name = "Greeting"];
3007
1668
  */
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
- ]);
1669
+ greeting: string;
1670
+ };
3020
1671
 
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
- }
1672
+ /**
1673
+ * Describes the message land.gno.gnonative.v1.HelloStreamResponse.
1674
+ * Use `create(HelloStreamResponseSchema)` to create a new message.
1675
+ */
1676
+ export const HelloStreamResponseSchema: GenMessage<HelloStreamResponse> = /*@__PURE__*/
1677
+ messageDesc(file_gnonativetypes, 76);
3037
1678
 
3038
1679
  /**
3039
1680
  * @generated from message land.gno.gnonative.v1.GNONATIVETYPES_BytesList
3040
1681
  */
3041
- export class GNONATIVETYPES_BytesList extends Message<GNONATIVETYPES_BytesList> {
1682
+ export type GNONATIVETYPES_BytesList = Message<"land.gno.gnonative.v1.GNONATIVETYPES_BytesList"> & {
3042
1683
  /**
3043
1684
  * @generated from field: repeated bytes Value = 1;
3044
1685
  */
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
- }
1686
+ Value: Uint8Array[];
1687
+ };
3061
1688
 
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
- }
1689
+ /**
1690
+ * Describes the message land.gno.gnonative.v1.GNONATIVETYPES_BytesList.
1691
+ * Use `create(GNONATIVETYPES_BytesListSchema)` to create a new message.
1692
+ */
1693
+ export const GNONATIVETYPES_BytesListSchema: GenMessage<GNONATIVETYPES_BytesList> = /*@__PURE__*/
1694
+ messageDesc(file_gnonativetypes, 77);
3074
1695