@gnolang/gnonative 4.0.0 → 4.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/Makefile +20 -3
  2. package/android/libs/gnocore-sources.jar +0 -0
  3. package/android/libs/gnocore.aar +0 -0
  4. package/android/src/main/java/land/gno/gnonative/GnonativeModule.kt +0 -13
  5. package/build/GoBridge.d.ts +0 -1
  6. package/build/GoBridge.d.ts.map +1 -1
  7. package/build/GoBridge.js +0 -3
  8. package/build/GoBridge.js.map +1 -1
  9. package/build/api/GnoNativeApi.d.ts +6 -6
  10. package/build/api/GnoNativeApi.d.ts.map +1 -1
  11. package/build/api/GnoNativeApi.js +50 -61
  12. package/build/api/GnoNativeApi.js.map +1 -1
  13. package/build/api/types.d.ts +2 -2
  14. package/build/api/types.d.ts.map +1 -1
  15. package/build/api/types.js.map +1 -1
  16. package/build/api/vendor/gnonativetypes_pb.d.ts +1334 -0
  17. package/build/api/vendor/gnonativetypes_pb.d.ts.map +1 -0
  18. package/build/api/vendor/gnonativetypes_pb.js +379 -0
  19. package/build/api/vendor/gnonativetypes_pb.js.map +1 -0
  20. package/build/api/vendor/rpc_pb.d.ts +646 -0
  21. package/build/api/vendor/rpc_pb.d.ts.map +1 -0
  22. package/build/api/vendor/rpc_pb.js +227 -0
  23. package/build/api/vendor/rpc_pb.js.map +1 -0
  24. package/build/grpc/client.d.ts +3 -3
  25. package/build/grpc/client.d.ts.map +1 -1
  26. package/build/grpc/client.js +3 -3
  27. package/build/grpc/client.js.map +1 -1
  28. package/build/grpc/error.d.ts +1 -1
  29. package/build/grpc/error.d.ts.map +1 -1
  30. package/build/grpc/error.js +1 -1
  31. package/build/grpc/error.js.map +1 -1
  32. package/build/grpc/transport_native.d.ts.map +1 -1
  33. package/build/grpc/transport_native.js +20 -25
  34. package/build/grpc/transport_native.js.map +1 -1
  35. package/build/index.d.ts +2 -2
  36. package/build/index.d.ts.map +1 -1
  37. package/build/index.js +2 -2
  38. package/build/index.js.map +1 -1
  39. package/ios/Frameworks/GnoCore.xcframework/Info.plist +5 -5
  40. package/ios/Frameworks/GnoCore.xcframework/ios-arm64/GnoCore.framework/GnoCore +0 -0
  41. package/ios/Frameworks/GnoCore.xcframework/ios-arm64/GnoCore.framework/Headers/GnoGnonative.objc.h +0 -7
  42. package/ios/Frameworks/GnoCore.xcframework/ios-arm64/GnoCore.framework/Versions/A/GnoCore +0 -0
  43. package/ios/Frameworks/GnoCore.xcframework/ios-arm64/GnoCore.framework/Versions/A/Headers/GnoGnonative.objc.h +0 -7
  44. package/ios/Frameworks/GnoCore.xcframework/ios-arm64/GnoCore.framework/Versions/Current/GnoCore +0 -0
  45. package/ios/Frameworks/GnoCore.xcframework/ios-arm64/GnoCore.framework/Versions/Current/Headers/GnoGnonative.objc.h +0 -7
  46. package/ios/Frameworks/GnoCore.xcframework/ios-arm64_x86_64-simulator/GnoCore.framework/GnoCore +0 -0
  47. package/ios/Frameworks/GnoCore.xcframework/ios-arm64_x86_64-simulator/GnoCore.framework/Headers/GnoGnonative.objc.h +0 -7
  48. package/ios/GnonativeModule.swift +0 -12
  49. package/package.json +4 -6
  50. package/src/GoBridge.ts +0 -5
  51. package/src/api/GnoNativeApi.ts +87 -142
  52. package/src/api/types.ts +10 -3
  53. package/src/api/vendor/gnonativetypes_pb.ts +1627 -0
  54. package/src/api/vendor/rpc_pb.ts +697 -0
  55. package/src/grpc/client.ts +4 -4
  56. package/src/grpc/error.ts +2 -1
  57. package/src/grpc/transport_native.ts +35 -36
  58. package/src/index.ts +2 -2
  59. package/tsconfig.json +0 -1
@@ -0,0 +1,1334 @@
1
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
2
+ import type { Message } from "@bufbuild/protobuf";
3
+ /**
4
+ * Describes the file gnonativetypes.proto.
5
+ */
6
+ export declare const file_gnonativetypes: GenFile;
7
+ /**
8
+ * messages
9
+ *
10
+ * @generated from message land.gno.gnonative.v1.SetRemoteRequest
11
+ */
12
+ export type SetRemoteRequest = Message<"land.gno.gnonative.v1.SetRemoteRequest"> & {
13
+ /**
14
+ * @generated from field: string remote = 1;
15
+ */
16
+ remote: string;
17
+ };
18
+ /**
19
+ * Describes the message land.gno.gnonative.v1.SetRemoteRequest.
20
+ * Use `create(SetRemoteRequestSchema)` to create a new message.
21
+ */
22
+ export declare const SetRemoteRequestSchema: GenMessage<SetRemoteRequest>;
23
+ /**
24
+ * @generated from message land.gno.gnonative.v1.SetRemoteResponse
25
+ */
26
+ export type SetRemoteResponse = Message<"land.gno.gnonative.v1.SetRemoteResponse"> & {};
27
+ /**
28
+ * Describes the message land.gno.gnonative.v1.SetRemoteResponse.
29
+ * Use `create(SetRemoteResponseSchema)` to create a new message.
30
+ */
31
+ export declare const SetRemoteResponseSchema: GenMessage<SetRemoteResponse>;
32
+ /**
33
+ * @generated from message land.gno.gnonative.v1.GetRemoteRequest
34
+ */
35
+ export type GetRemoteRequest = Message<"land.gno.gnonative.v1.GetRemoteRequest"> & {};
36
+ /**
37
+ * Describes the message land.gno.gnonative.v1.GetRemoteRequest.
38
+ * Use `create(GetRemoteRequestSchema)` to create a new message.
39
+ */
40
+ export declare const GetRemoteRequestSchema: GenMessage<GetRemoteRequest>;
41
+ /**
42
+ * @generated from message land.gno.gnonative.v1.GetRemoteResponse
43
+ */
44
+ export type GetRemoteResponse = Message<"land.gno.gnonative.v1.GetRemoteResponse"> & {
45
+ /**
46
+ * @generated from field: string remote = 1;
47
+ */
48
+ remote: string;
49
+ };
50
+ /**
51
+ * Describes the message land.gno.gnonative.v1.GetRemoteResponse.
52
+ * Use `create(GetRemoteResponseSchema)` to create a new message.
53
+ */
54
+ export declare const GetRemoteResponseSchema: GenMessage<GetRemoteResponse>;
55
+ /**
56
+ * @generated from message land.gno.gnonative.v1.SetChainIDRequest
57
+ */
58
+ export type SetChainIDRequest = Message<"land.gno.gnonative.v1.SetChainIDRequest"> & {
59
+ /**
60
+ * @generated from field: string chain_id = 1;
61
+ */
62
+ chainId: string;
63
+ };
64
+ /**
65
+ * Describes the message land.gno.gnonative.v1.SetChainIDRequest.
66
+ * Use `create(SetChainIDRequestSchema)` to create a new message.
67
+ */
68
+ export declare const SetChainIDRequestSchema: GenMessage<SetChainIDRequest>;
69
+ /**
70
+ * @generated from message land.gno.gnonative.v1.SetChainIDResponse
71
+ */
72
+ export type SetChainIDResponse = Message<"land.gno.gnonative.v1.SetChainIDResponse"> & {};
73
+ /**
74
+ * Describes the message land.gno.gnonative.v1.SetChainIDResponse.
75
+ * Use `create(SetChainIDResponseSchema)` to create a new message.
76
+ */
77
+ export declare const SetChainIDResponseSchema: GenMessage<SetChainIDResponse>;
78
+ /**
79
+ * @generated from message land.gno.gnonative.v1.GetChainIDRequest
80
+ */
81
+ export type GetChainIDRequest = Message<"land.gno.gnonative.v1.GetChainIDRequest"> & {};
82
+ /**
83
+ * Describes the message land.gno.gnonative.v1.GetChainIDRequest.
84
+ * Use `create(GetChainIDRequestSchema)` to create a new message.
85
+ */
86
+ export declare const GetChainIDRequestSchema: GenMessage<GetChainIDRequest>;
87
+ /**
88
+ * @generated from message land.gno.gnonative.v1.GetChainIDResponse
89
+ */
90
+ export type GetChainIDResponse = Message<"land.gno.gnonative.v1.GetChainIDResponse"> & {
91
+ /**
92
+ * @generated from field: string chain_id = 1;
93
+ */
94
+ chainId: string;
95
+ };
96
+ /**
97
+ * Describes the message land.gno.gnonative.v1.GetChainIDResponse.
98
+ * Use `create(GetChainIDResponseSchema)` to create a new message.
99
+ */
100
+ export declare const GetChainIDResponseSchema: GenMessage<GetChainIDResponse>;
101
+ /**
102
+ * @generated from message land.gno.gnonative.v1.SetPasswordRequest
103
+ */
104
+ export type SetPasswordRequest = Message<"land.gno.gnonative.v1.SetPasswordRequest"> & {
105
+ /**
106
+ * @generated from field: string password = 1;
107
+ */
108
+ password: string;
109
+ /**
110
+ * The address of the account to set the password
111
+ *
112
+ * @generated from field: bytes address = 2;
113
+ */
114
+ address: Uint8Array;
115
+ };
116
+ /**
117
+ * Describes the message land.gno.gnonative.v1.SetPasswordRequest.
118
+ * Use `create(SetPasswordRequestSchema)` to create a new message.
119
+ */
120
+ export declare const SetPasswordRequestSchema: GenMessage<SetPasswordRequest>;
121
+ /**
122
+ * @generated from message land.gno.gnonative.v1.SetPasswordResponse
123
+ */
124
+ export type SetPasswordResponse = Message<"land.gno.gnonative.v1.SetPasswordResponse"> & {};
125
+ /**
126
+ * Describes the message land.gno.gnonative.v1.SetPasswordResponse.
127
+ * Use `create(SetPasswordResponseSchema)` to create a new message.
128
+ */
129
+ export declare const SetPasswordResponseSchema: GenMessage<SetPasswordResponse>;
130
+ /**
131
+ * @generated from message land.gno.gnonative.v1.RotatePasswordRequest
132
+ */
133
+ export type RotatePasswordRequest = Message<"land.gno.gnonative.v1.RotatePasswordRequest"> & {
134
+ /**
135
+ * @generated from field: string new_password = 1;
136
+ */
137
+ newPassword: string;
138
+ /**
139
+ * The addresses of the account to rotate the password
140
+ *
141
+ * @generated from field: repeated bytes addresses = 2;
142
+ */
143
+ addresses: Uint8Array[];
144
+ };
145
+ /**
146
+ * Describes the message land.gno.gnonative.v1.RotatePasswordRequest.
147
+ * Use `create(RotatePasswordRequestSchema)` to create a new message.
148
+ */
149
+ export declare const RotatePasswordRequestSchema: GenMessage<RotatePasswordRequest>;
150
+ /**
151
+ * @generated from message land.gno.gnonative.v1.RotatePasswordResponse
152
+ */
153
+ export type RotatePasswordResponse = Message<"land.gno.gnonative.v1.RotatePasswordResponse"> & {};
154
+ /**
155
+ * Describes the message land.gno.gnonative.v1.RotatePasswordResponse.
156
+ * Use `create(RotatePasswordResponseSchema)` to create a new message.
157
+ */
158
+ export declare const RotatePasswordResponseSchema: GenMessage<RotatePasswordResponse>;
159
+ /**
160
+ * @generated from message land.gno.gnonative.v1.GenerateRecoveryPhraseRequest
161
+ */
162
+ export type GenerateRecoveryPhraseRequest = Message<"land.gno.gnonative.v1.GenerateRecoveryPhraseRequest"> & {};
163
+ /**
164
+ * Describes the message land.gno.gnonative.v1.GenerateRecoveryPhraseRequest.
165
+ * Use `create(GenerateRecoveryPhraseRequestSchema)` to create a new message.
166
+ */
167
+ export declare const GenerateRecoveryPhraseRequestSchema: GenMessage<GenerateRecoveryPhraseRequest>;
168
+ /**
169
+ * @generated from message land.gno.gnonative.v1.GenerateRecoveryPhraseResponse
170
+ */
171
+ export type GenerateRecoveryPhraseResponse = Message<"land.gno.gnonative.v1.GenerateRecoveryPhraseResponse"> & {
172
+ /**
173
+ * @generated from field: string phrase = 1;
174
+ */
175
+ phrase: string;
176
+ };
177
+ /**
178
+ * Describes the message land.gno.gnonative.v1.GenerateRecoveryPhraseResponse.
179
+ * Use `create(GenerateRecoveryPhraseResponseSchema)` to create a new message.
180
+ */
181
+ export declare const GenerateRecoveryPhraseResponseSchema: GenMessage<GenerateRecoveryPhraseResponse>;
182
+ /**
183
+ * @generated from message land.gno.gnonative.v1.KeyInfo
184
+ */
185
+ export type KeyInfo = Message<"land.gno.gnonative.v1.KeyInfo"> & {
186
+ /**
187
+ * 0: local, 1: ledger, 2: offline, 3: multi
188
+ *
189
+ * @generated from field: uint32 type = 1;
190
+ */
191
+ type: number;
192
+ /**
193
+ * @generated from field: string name = 2;
194
+ */
195
+ name: string;
196
+ /**
197
+ * @generated from field: bytes pub_key = 3;
198
+ */
199
+ pubKey: Uint8Array;
200
+ /**
201
+ * @generated from field: bytes address = 4;
202
+ */
203
+ address: Uint8Array;
204
+ };
205
+ /**
206
+ * Describes the message land.gno.gnonative.v1.KeyInfo.
207
+ * Use `create(KeyInfoSchema)` to create a new message.
208
+ */
209
+ export declare const KeyInfoSchema: GenMessage<KeyInfo>;
210
+ /**
211
+ * Coin holds some amount of one currency.
212
+ * A negative amount is invalid.
213
+ *
214
+ * @generated from message land.gno.gnonative.v1.Coin
215
+ */
216
+ export type Coin = Message<"land.gno.gnonative.v1.Coin"> & {
217
+ /**
218
+ * Example: "ugnot"
219
+ *
220
+ * @generated from field: string denom = 1;
221
+ */
222
+ denom: string;
223
+ /**
224
+ * @generated from field: sint64 amount = 2;
225
+ */
226
+ amount: bigint;
227
+ };
228
+ /**
229
+ * Describes the message land.gno.gnonative.v1.Coin.
230
+ * Use `create(CoinSchema)` to create a new message.
231
+ */
232
+ export declare const CoinSchema: GenMessage<Coin>;
233
+ /**
234
+ * @generated from message land.gno.gnonative.v1.BaseAccount
235
+ */
236
+ export type BaseAccount = Message<"land.gno.gnonative.v1.BaseAccount"> & {
237
+ /**
238
+ * @generated from field: bytes address = 1;
239
+ */
240
+ address: Uint8Array;
241
+ /**
242
+ * @generated from field: repeated land.gno.gnonative.v1.Coin coins = 2;
243
+ */
244
+ coins: Coin[];
245
+ /**
246
+ * @generated from field: bytes pub_key = 3;
247
+ */
248
+ pubKey: Uint8Array;
249
+ /**
250
+ * @generated from field: uint64 account_number = 4;
251
+ */
252
+ accountNumber: bigint;
253
+ /**
254
+ * @generated from field: uint64 sequence = 5;
255
+ */
256
+ sequence: bigint;
257
+ };
258
+ /**
259
+ * Describes the message land.gno.gnonative.v1.BaseAccount.
260
+ * Use `create(BaseAccountSchema)` to create a new message.
261
+ */
262
+ export declare const BaseAccountSchema: GenMessage<BaseAccount>;
263
+ /**
264
+ * @generated from message land.gno.gnonative.v1.ListKeyInfoRequest
265
+ */
266
+ export type ListKeyInfoRequest = Message<"land.gno.gnonative.v1.ListKeyInfoRequest"> & {};
267
+ /**
268
+ * Describes the message land.gno.gnonative.v1.ListKeyInfoRequest.
269
+ * Use `create(ListKeyInfoRequestSchema)` to create a new message.
270
+ */
271
+ export declare const ListKeyInfoRequestSchema: GenMessage<ListKeyInfoRequest>;
272
+ /**
273
+ * @generated from message land.gno.gnonative.v1.ListKeyInfoResponse
274
+ */
275
+ export type ListKeyInfoResponse = Message<"land.gno.gnonative.v1.ListKeyInfoResponse"> & {
276
+ /**
277
+ * @generated from field: repeated land.gno.gnonative.v1.KeyInfo keys = 1 [json_name = "key_info"];
278
+ */
279
+ keys: KeyInfo[];
280
+ };
281
+ /**
282
+ * Describes the message land.gno.gnonative.v1.ListKeyInfoResponse.
283
+ * Use `create(ListKeyInfoResponseSchema)` to create a new message.
284
+ */
285
+ export declare const ListKeyInfoResponseSchema: GenMessage<ListKeyInfoResponse>;
286
+ /**
287
+ * @generated from message land.gno.gnonative.v1.HasKeyByNameRequest
288
+ */
289
+ export type HasKeyByNameRequest = Message<"land.gno.gnonative.v1.HasKeyByNameRequest"> & {
290
+ /**
291
+ * @generated from field: string name = 1;
292
+ */
293
+ name: string;
294
+ };
295
+ /**
296
+ * Describes the message land.gno.gnonative.v1.HasKeyByNameRequest.
297
+ * Use `create(HasKeyByNameRequestSchema)` to create a new message.
298
+ */
299
+ export declare const HasKeyByNameRequestSchema: GenMessage<HasKeyByNameRequest>;
300
+ /**
301
+ * @generated from message land.gno.gnonative.v1.HasKeyByNameResponse
302
+ */
303
+ export type HasKeyByNameResponse = Message<"land.gno.gnonative.v1.HasKeyByNameResponse"> & {
304
+ /**
305
+ * @generated from field: bool has = 1;
306
+ */
307
+ has: boolean;
308
+ };
309
+ /**
310
+ * Describes the message land.gno.gnonative.v1.HasKeyByNameResponse.
311
+ * Use `create(HasKeyByNameResponseSchema)` to create a new message.
312
+ */
313
+ export declare const HasKeyByNameResponseSchema: GenMessage<HasKeyByNameResponse>;
314
+ /**
315
+ * @generated from message land.gno.gnonative.v1.HasKeyByAddressRequest
316
+ */
317
+ export type HasKeyByAddressRequest = Message<"land.gno.gnonative.v1.HasKeyByAddressRequest"> & {
318
+ /**
319
+ * @generated from field: bytes address = 1;
320
+ */
321
+ address: Uint8Array;
322
+ };
323
+ /**
324
+ * Describes the message land.gno.gnonative.v1.HasKeyByAddressRequest.
325
+ * Use `create(HasKeyByAddressRequestSchema)` to create a new message.
326
+ */
327
+ export declare const HasKeyByAddressRequestSchema: GenMessage<HasKeyByAddressRequest>;
328
+ /**
329
+ * @generated from message land.gno.gnonative.v1.HasKeyByAddressResponse
330
+ */
331
+ export type HasKeyByAddressResponse = Message<"land.gno.gnonative.v1.HasKeyByAddressResponse"> & {
332
+ /**
333
+ * @generated from field: bool has = 1;
334
+ */
335
+ has: boolean;
336
+ };
337
+ /**
338
+ * Describes the message land.gno.gnonative.v1.HasKeyByAddressResponse.
339
+ * Use `create(HasKeyByAddressResponseSchema)` to create a new message.
340
+ */
341
+ export declare const HasKeyByAddressResponseSchema: GenMessage<HasKeyByAddressResponse>;
342
+ /**
343
+ * @generated from message land.gno.gnonative.v1.HasKeyByNameOrAddressRequest
344
+ */
345
+ export type HasKeyByNameOrAddressRequest = Message<"land.gno.gnonative.v1.HasKeyByNameOrAddressRequest"> & {
346
+ /**
347
+ * @generated from field: string name_or_bech32 = 1;
348
+ */
349
+ nameOrBech32: string;
350
+ };
351
+ /**
352
+ * Describes the message land.gno.gnonative.v1.HasKeyByNameOrAddressRequest.
353
+ * Use `create(HasKeyByNameOrAddressRequestSchema)` to create a new message.
354
+ */
355
+ export declare const HasKeyByNameOrAddressRequestSchema: GenMessage<HasKeyByNameOrAddressRequest>;
356
+ /**
357
+ * @generated from message land.gno.gnonative.v1.HasKeyByNameOrAddressResponse
358
+ */
359
+ export type HasKeyByNameOrAddressResponse = Message<"land.gno.gnonative.v1.HasKeyByNameOrAddressResponse"> & {
360
+ /**
361
+ * @generated from field: bool has = 1;
362
+ */
363
+ has: boolean;
364
+ };
365
+ /**
366
+ * Describes the message land.gno.gnonative.v1.HasKeyByNameOrAddressResponse.
367
+ * Use `create(HasKeyByNameOrAddressResponseSchema)` to create a new message.
368
+ */
369
+ export declare const HasKeyByNameOrAddressResponseSchema: GenMessage<HasKeyByNameOrAddressResponse>;
370
+ /**
371
+ * @generated from message land.gno.gnonative.v1.GetKeyInfoByNameRequest
372
+ */
373
+ export type GetKeyInfoByNameRequest = Message<"land.gno.gnonative.v1.GetKeyInfoByNameRequest"> & {
374
+ /**
375
+ * @generated from field: string name = 1;
376
+ */
377
+ name: string;
378
+ };
379
+ /**
380
+ * Describes the message land.gno.gnonative.v1.GetKeyInfoByNameRequest.
381
+ * Use `create(GetKeyInfoByNameRequestSchema)` to create a new message.
382
+ */
383
+ export declare const GetKeyInfoByNameRequestSchema: GenMessage<GetKeyInfoByNameRequest>;
384
+ /**
385
+ * @generated from message land.gno.gnonative.v1.GetKeyInfoByNameResponse
386
+ */
387
+ export type GetKeyInfoByNameResponse = Message<"land.gno.gnonative.v1.GetKeyInfoByNameResponse"> & {
388
+ /**
389
+ * @generated from field: land.gno.gnonative.v1.KeyInfo key = 1 [json_name = "key_info"];
390
+ */
391
+ key?: KeyInfo;
392
+ };
393
+ /**
394
+ * Describes the message land.gno.gnonative.v1.GetKeyInfoByNameResponse.
395
+ * Use `create(GetKeyInfoByNameResponseSchema)` to create a new message.
396
+ */
397
+ export declare const GetKeyInfoByNameResponseSchema: GenMessage<GetKeyInfoByNameResponse>;
398
+ /**
399
+ * @generated from message land.gno.gnonative.v1.GetKeyInfoByAddressRequest
400
+ */
401
+ export type GetKeyInfoByAddressRequest = Message<"land.gno.gnonative.v1.GetKeyInfoByAddressRequest"> & {
402
+ /**
403
+ * @generated from field: bytes address = 1;
404
+ */
405
+ address: Uint8Array;
406
+ };
407
+ /**
408
+ * Describes the message land.gno.gnonative.v1.GetKeyInfoByAddressRequest.
409
+ * Use `create(GetKeyInfoByAddressRequestSchema)` to create a new message.
410
+ */
411
+ export declare const GetKeyInfoByAddressRequestSchema: GenMessage<GetKeyInfoByAddressRequest>;
412
+ /**
413
+ * @generated from message land.gno.gnonative.v1.GetKeyInfoByAddressResponse
414
+ */
415
+ export type GetKeyInfoByAddressResponse = Message<"land.gno.gnonative.v1.GetKeyInfoByAddressResponse"> & {
416
+ /**
417
+ * @generated from field: land.gno.gnonative.v1.KeyInfo key = 1 [json_name = "key_info"];
418
+ */
419
+ key?: KeyInfo;
420
+ };
421
+ /**
422
+ * Describes the message land.gno.gnonative.v1.GetKeyInfoByAddressResponse.
423
+ * Use `create(GetKeyInfoByAddressResponseSchema)` to create a new message.
424
+ */
425
+ export declare const GetKeyInfoByAddressResponseSchema: GenMessage<GetKeyInfoByAddressResponse>;
426
+ /**
427
+ * @generated from message land.gno.gnonative.v1.GetKeyInfoByNameOrAddressRequest
428
+ */
429
+ export type GetKeyInfoByNameOrAddressRequest = Message<"land.gno.gnonative.v1.GetKeyInfoByNameOrAddressRequest"> & {
430
+ /**
431
+ * @generated from field: string name_or_bech32 = 1;
432
+ */
433
+ nameOrBech32: string;
434
+ };
435
+ /**
436
+ * Describes the message land.gno.gnonative.v1.GetKeyInfoByNameOrAddressRequest.
437
+ * Use `create(GetKeyInfoByNameOrAddressRequestSchema)` to create a new message.
438
+ */
439
+ export declare const GetKeyInfoByNameOrAddressRequestSchema: GenMessage<GetKeyInfoByNameOrAddressRequest>;
440
+ /**
441
+ * @generated from message land.gno.gnonative.v1.GetKeyInfoByNameOrAddressResponse
442
+ */
443
+ export type GetKeyInfoByNameOrAddressResponse = Message<"land.gno.gnonative.v1.GetKeyInfoByNameOrAddressResponse"> & {
444
+ /**
445
+ * @generated from field: land.gno.gnonative.v1.KeyInfo key = 1 [json_name = "key_info"];
446
+ */
447
+ key?: KeyInfo;
448
+ };
449
+ /**
450
+ * Describes the message land.gno.gnonative.v1.GetKeyInfoByNameOrAddressResponse.
451
+ * Use `create(GetKeyInfoByNameOrAddressResponseSchema)` to create a new message.
452
+ */
453
+ export declare const GetKeyInfoByNameOrAddressResponseSchema: GenMessage<GetKeyInfoByNameOrAddressResponse>;
454
+ /**
455
+ * @generated from message land.gno.gnonative.v1.CreateAccountRequest
456
+ */
457
+ export type CreateAccountRequest = Message<"land.gno.gnonative.v1.CreateAccountRequest"> & {
458
+ /**
459
+ * @generated from field: string name_or_bech32 = 1;
460
+ */
461
+ nameOrBech32: string;
462
+ /**
463
+ * @generated from field: string mnemonic = 2;
464
+ */
465
+ mnemonic: string;
466
+ /**
467
+ * @generated from field: string bip39_passwd = 3;
468
+ */
469
+ bip39Passwd: string;
470
+ /**
471
+ * @generated from field: string password = 4;
472
+ */
473
+ password: string;
474
+ /**
475
+ * @generated from field: uint32 account = 5;
476
+ */
477
+ account: number;
478
+ /**
479
+ * @generated from field: uint32 index = 6;
480
+ */
481
+ index: number;
482
+ };
483
+ /**
484
+ * Describes the message land.gno.gnonative.v1.CreateAccountRequest.
485
+ * Use `create(CreateAccountRequestSchema)` to create a new message.
486
+ */
487
+ export declare const CreateAccountRequestSchema: GenMessage<CreateAccountRequest>;
488
+ /**
489
+ * @generated from message land.gno.gnonative.v1.CreateAccountResponse
490
+ */
491
+ export type CreateAccountResponse = Message<"land.gno.gnonative.v1.CreateAccountResponse"> & {
492
+ /**
493
+ * @generated from field: land.gno.gnonative.v1.KeyInfo key = 1 [json_name = "key_info"];
494
+ */
495
+ key?: KeyInfo;
496
+ };
497
+ /**
498
+ * Describes the message land.gno.gnonative.v1.CreateAccountResponse.
499
+ * Use `create(CreateAccountResponseSchema)` to create a new message.
500
+ */
501
+ export declare const CreateAccountResponseSchema: GenMessage<CreateAccountResponse>;
502
+ /**
503
+ * @generated from message land.gno.gnonative.v1.ActivateAccountRequest
504
+ */
505
+ export type ActivateAccountRequest = Message<"land.gno.gnonative.v1.ActivateAccountRequest"> & {
506
+ /**
507
+ * @generated from field: string name_or_bech32 = 1;
508
+ */
509
+ nameOrBech32: string;
510
+ };
511
+ /**
512
+ * Describes the message land.gno.gnonative.v1.ActivateAccountRequest.
513
+ * Use `create(ActivateAccountRequestSchema)` to create a new message.
514
+ */
515
+ export declare const ActivateAccountRequestSchema: GenMessage<ActivateAccountRequest>;
516
+ /**
517
+ * @generated from message land.gno.gnonative.v1.ActivateAccountResponse
518
+ */
519
+ export type ActivateAccountResponse = Message<"land.gno.gnonative.v1.ActivateAccountResponse"> & {
520
+ /**
521
+ * @generated from field: land.gno.gnonative.v1.KeyInfo key = 1 [json_name = "key_info"];
522
+ */
523
+ key?: KeyInfo;
524
+ /**
525
+ * True if the password has been set. If false, then call SetPassword.
526
+ *
527
+ * @generated from field: bool has_password = 2;
528
+ */
529
+ hasPassword: boolean;
530
+ };
531
+ /**
532
+ * Describes the message land.gno.gnonative.v1.ActivateAccountResponse.
533
+ * Use `create(ActivateAccountResponseSchema)` to create a new message.
534
+ */
535
+ export declare const ActivateAccountResponseSchema: GenMessage<ActivateAccountResponse>;
536
+ /**
537
+ * @generated from message land.gno.gnonative.v1.GetActivatedAccountRequest
538
+ */
539
+ export type GetActivatedAccountRequest = Message<"land.gno.gnonative.v1.GetActivatedAccountRequest"> & {
540
+ /**
541
+ * @generated from field: bytes address = 1;
542
+ */
543
+ address: Uint8Array;
544
+ };
545
+ /**
546
+ * Describes the message land.gno.gnonative.v1.GetActivatedAccountRequest.
547
+ * Use `create(GetActivatedAccountRequestSchema)` to create a new message.
548
+ */
549
+ export declare const GetActivatedAccountRequestSchema: GenMessage<GetActivatedAccountRequest>;
550
+ /**
551
+ * @generated from message land.gno.gnonative.v1.GetActivatedAccountResponse
552
+ */
553
+ export type GetActivatedAccountResponse = Message<"land.gno.gnonative.v1.GetActivatedAccountResponse"> & {
554
+ /**
555
+ * @generated from field: land.gno.gnonative.v1.KeyInfo key = 1 [json_name = "key_info"];
556
+ */
557
+ key?: KeyInfo;
558
+ /**
559
+ * True if the password has been set. If false, then call SetPassword.
560
+ *
561
+ * @generated from field: bool has_password = 2;
562
+ */
563
+ hasPassword: boolean;
564
+ };
565
+ /**
566
+ * Describes the message land.gno.gnonative.v1.GetActivatedAccountResponse.
567
+ * Use `create(GetActivatedAccountResponseSchema)` to create a new message.
568
+ */
569
+ export declare const GetActivatedAccountResponseSchema: GenMessage<GetActivatedAccountResponse>;
570
+ /**
571
+ * @generated from message land.gno.gnonative.v1.QueryAccountRequest
572
+ */
573
+ export type QueryAccountRequest = Message<"land.gno.gnonative.v1.QueryAccountRequest"> & {
574
+ /**
575
+ * @generated from field: bytes address = 1;
576
+ */
577
+ address: Uint8Array;
578
+ };
579
+ /**
580
+ * Describes the message land.gno.gnonative.v1.QueryAccountRequest.
581
+ * Use `create(QueryAccountRequestSchema)` to create a new message.
582
+ */
583
+ export declare const QueryAccountRequestSchema: GenMessage<QueryAccountRequest>;
584
+ /**
585
+ * @generated from message land.gno.gnonative.v1.QueryAccountResponse
586
+ */
587
+ export type QueryAccountResponse = Message<"land.gno.gnonative.v1.QueryAccountResponse"> & {
588
+ /**
589
+ * @generated from field: land.gno.gnonative.v1.BaseAccount account_info = 1;
590
+ */
591
+ accountInfo?: BaseAccount;
592
+ };
593
+ /**
594
+ * Describes the message land.gno.gnonative.v1.QueryAccountResponse.
595
+ * Use `create(QueryAccountResponseSchema)` to create a new message.
596
+ */
597
+ export declare const QueryAccountResponseSchema: GenMessage<QueryAccountResponse>;
598
+ /**
599
+ * @generated from message land.gno.gnonative.v1.DeleteAccountRequest
600
+ */
601
+ export type DeleteAccountRequest = Message<"land.gno.gnonative.v1.DeleteAccountRequest"> & {
602
+ /**
603
+ * @generated from field: string name_or_bech32 = 1;
604
+ */
605
+ nameOrBech32: string;
606
+ /**
607
+ * @generated from field: string password = 2;
608
+ */
609
+ password: string;
610
+ /**
611
+ * @generated from field: bool skip_password = 3;
612
+ */
613
+ skipPassword: boolean;
614
+ };
615
+ /**
616
+ * Describes the message land.gno.gnonative.v1.DeleteAccountRequest.
617
+ * Use `create(DeleteAccountRequestSchema)` to create a new message.
618
+ */
619
+ export declare const DeleteAccountRequestSchema: GenMessage<DeleteAccountRequest>;
620
+ /**
621
+ * @generated from message land.gno.gnonative.v1.DeleteAccountResponse
622
+ */
623
+ export type DeleteAccountResponse = Message<"land.gno.gnonative.v1.DeleteAccountResponse"> & {};
624
+ /**
625
+ * Describes the message land.gno.gnonative.v1.DeleteAccountResponse.
626
+ * Use `create(DeleteAccountResponseSchema)` to create a new message.
627
+ */
628
+ export declare const DeleteAccountResponseSchema: GenMessage<DeleteAccountResponse>;
629
+ /**
630
+ * @generated from message land.gno.gnonative.v1.QueryRequest
631
+ */
632
+ export type QueryRequest = Message<"land.gno.gnonative.v1.QueryRequest"> & {
633
+ /**
634
+ * Example: "vm/qrender"
635
+ *
636
+ * @generated from field: string path = 1;
637
+ */
638
+ path: string;
639
+ /**
640
+ * Example: "gno.land/r/demo/boards\ntestboard"
641
+ *
642
+ * @generated from field: bytes data = 2;
643
+ */
644
+ data: Uint8Array;
645
+ };
646
+ /**
647
+ * Describes the message land.gno.gnonative.v1.QueryRequest.
648
+ * Use `create(QueryRequestSchema)` to create a new message.
649
+ */
650
+ export declare const QueryRequestSchema: GenMessage<QueryRequest>;
651
+ /**
652
+ * @generated from message land.gno.gnonative.v1.QueryResponse
653
+ */
654
+ export type QueryResponse = Message<"land.gno.gnonative.v1.QueryResponse"> & {
655
+ /**
656
+ * @generated from field: bytes result = 1;
657
+ */
658
+ result: Uint8Array;
659
+ };
660
+ /**
661
+ * Describes the message land.gno.gnonative.v1.QueryResponse.
662
+ * Use `create(QueryResponseSchema)` to create a new message.
663
+ */
664
+ export declare const QueryResponseSchema: GenMessage<QueryResponse>;
665
+ /**
666
+ * @generated from message land.gno.gnonative.v1.RenderRequest
667
+ */
668
+ export type RenderRequest = Message<"land.gno.gnonative.v1.RenderRequest"> & {
669
+ /**
670
+ * Example: "gno.land/r/demo/boards"
671
+ *
672
+ * @generated from field: string package_path = 1;
673
+ */
674
+ packagePath: string;
675
+ /**
676
+ * Example: "testboard/1"
677
+ *
678
+ * @generated from field: string args = 2;
679
+ */
680
+ args: string;
681
+ };
682
+ /**
683
+ * Describes the message land.gno.gnonative.v1.RenderRequest.
684
+ * Use `create(RenderRequestSchema)` to create a new message.
685
+ */
686
+ export declare const RenderRequestSchema: GenMessage<RenderRequest>;
687
+ /**
688
+ * @generated from message land.gno.gnonative.v1.RenderResponse
689
+ */
690
+ export type RenderResponse = Message<"land.gno.gnonative.v1.RenderResponse"> & {
691
+ /**
692
+ * The Render function result (typically markdown)
693
+ *
694
+ * @generated from field: string result = 1;
695
+ */
696
+ result: string;
697
+ };
698
+ /**
699
+ * Describes the message land.gno.gnonative.v1.RenderResponse.
700
+ * Use `create(RenderResponseSchema)` to create a new message.
701
+ */
702
+ export declare const RenderResponseSchema: GenMessage<RenderResponse>;
703
+ /**
704
+ * @generated from message land.gno.gnonative.v1.QEvalRequest
705
+ */
706
+ export type QEvalRequest = Message<"land.gno.gnonative.v1.QEvalRequest"> & {
707
+ /**
708
+ * Example: "gno.land/r/demo/boards"
709
+ *
710
+ * @generated from field: string package_path = 1;
711
+ */
712
+ packagePath: string;
713
+ /**
714
+ * Example: "GetBoardIDFromName(\"testboard\")"
715
+ *
716
+ * @generated from field: string expression = 2;
717
+ */
718
+ expression: string;
719
+ };
720
+ /**
721
+ * Describes the message land.gno.gnonative.v1.QEvalRequest.
722
+ * Use `create(QEvalRequestSchema)` to create a new message.
723
+ */
724
+ export declare const QEvalRequestSchema: GenMessage<QEvalRequest>;
725
+ /**
726
+ * @generated from message land.gno.gnonative.v1.QEvalResponse
727
+ */
728
+ export type QEvalResponse = Message<"land.gno.gnonative.v1.QEvalResponse"> & {
729
+ /**
730
+ * A typed expression like "(1 gno.land/r/demo/boards.BoardID)\n(true bool)"
731
+ *
732
+ * @generated from field: string result = 1;
733
+ */
734
+ result: string;
735
+ };
736
+ /**
737
+ * Describes the message land.gno.gnonative.v1.QEvalResponse.
738
+ * Use `create(QEvalResponseSchema)` to create a new message.
739
+ */
740
+ export declare const QEvalResponseSchema: GenMessage<QEvalResponse>;
741
+ /**
742
+ * @generated from message land.gno.gnonative.v1.MsgCall
743
+ */
744
+ export type MsgCall = Message<"land.gno.gnonative.v1.MsgCall"> & {
745
+ /**
746
+ * Example: "gno.land/r/demo/boards"
747
+ *
748
+ * @generated from field: string package_path = 1;
749
+ */
750
+ packagePath: string;
751
+ /**
752
+ * Example: "CreateReply"
753
+ *
754
+ * @generated from field: string fnc = 2;
755
+ */
756
+ fnc: string;
757
+ /**
758
+ * list of arguments specific to the function
759
+ * Example: ["1", "1", "2", "my reply"]
760
+ *
761
+ * @generated from field: repeated string args = 3;
762
+ */
763
+ args: string[];
764
+ /**
765
+ * @generated from field: repeated land.gno.gnonative.v1.Coin send = 4;
766
+ */
767
+ send: Coin[];
768
+ };
769
+ /**
770
+ * Describes the message land.gno.gnonative.v1.MsgCall.
771
+ * Use `create(MsgCallSchema)` to create a new message.
772
+ */
773
+ export declare const MsgCallSchema: GenMessage<MsgCall>;
774
+ /**
775
+ * @generated from message land.gno.gnonative.v1.CallRequest
776
+ */
777
+ export type CallRequest = Message<"land.gno.gnonative.v1.CallRequest"> & {
778
+ /**
779
+ * @generated from field: string gas_fee = 1;
780
+ */
781
+ gasFee: string;
782
+ /**
783
+ * @generated from field: sint64 gas_wanted = 2;
784
+ */
785
+ gasWanted: bigint;
786
+ /**
787
+ * @generated from field: string memo = 3;
788
+ */
789
+ memo: string;
790
+ /**
791
+ * The address of the account to sign the transaction
792
+ *
793
+ * @generated from field: bytes caller_address = 4;
794
+ */
795
+ callerAddress: Uint8Array;
796
+ /**
797
+ * list of calls to make in one transaction
798
+ *
799
+ * @generated from field: repeated land.gno.gnonative.v1.MsgCall msgs = 5 [json_name = "Msgs"];
800
+ */
801
+ msgs: MsgCall[];
802
+ };
803
+ /**
804
+ * Describes the message land.gno.gnonative.v1.CallRequest.
805
+ * Use `create(CallRequestSchema)` to create a new message.
806
+ */
807
+ export declare const CallRequestSchema: GenMessage<CallRequest>;
808
+ /**
809
+ * @generated from message land.gno.gnonative.v1.CallResponse
810
+ */
811
+ export type CallResponse = Message<"land.gno.gnonative.v1.CallResponse"> & {
812
+ /**
813
+ * @generated from field: bytes result = 1;
814
+ */
815
+ result: Uint8Array;
816
+ /**
817
+ * The transaction hash
818
+ *
819
+ * @generated from field: bytes hash = 2;
820
+ */
821
+ hash: Uint8Array;
822
+ /**
823
+ * The transaction height
824
+ *
825
+ * @generated from field: sint64 height = 3;
826
+ */
827
+ height: bigint;
828
+ };
829
+ /**
830
+ * Describes the message land.gno.gnonative.v1.CallResponse.
831
+ * Use `create(CallResponseSchema)` to create a new message.
832
+ */
833
+ export declare const CallResponseSchema: GenMessage<CallResponse>;
834
+ /**
835
+ * @generated from message land.gno.gnonative.v1.MsgSend
836
+ */
837
+ export type MsgSend = Message<"land.gno.gnonative.v1.MsgSend"> & {
838
+ /**
839
+ * Example: The response of calling AddressFromBech32 with
840
+ * "g1juz2yxmdsa6audkp6ep9vfv80c8p5u76e03vvh"
841
+ *
842
+ * @generated from field: bytes to_address = 1;
843
+ */
844
+ toAddress: Uint8Array;
845
+ /**
846
+ * Example: [ {Denom: "ugnot", Amount: 1000} ]
847
+ *
848
+ * @generated from field: repeated land.gno.gnonative.v1.Coin amount = 2;
849
+ */
850
+ amount: Coin[];
851
+ };
852
+ /**
853
+ * Describes the message land.gno.gnonative.v1.MsgSend.
854
+ * Use `create(MsgSendSchema)` to create a new message.
855
+ */
856
+ export declare const MsgSendSchema: GenMessage<MsgSend>;
857
+ /**
858
+ * @generated from message land.gno.gnonative.v1.SendRequest
859
+ */
860
+ export type SendRequest = Message<"land.gno.gnonative.v1.SendRequest"> & {
861
+ /**
862
+ * @generated from field: string gas_fee = 1;
863
+ */
864
+ gasFee: string;
865
+ /**
866
+ * @generated from field: sint64 gas_wanted = 2;
867
+ */
868
+ gasWanted: bigint;
869
+ /**
870
+ * Memo is optional
871
+ *
872
+ * @generated from field: string memo = 3;
873
+ */
874
+ memo: string;
875
+ /**
876
+ * The address of the account to sign the transaction
877
+ *
878
+ * @generated from field: bytes caller_address = 4;
879
+ */
880
+ callerAddress: Uint8Array;
881
+ /**
882
+ * list of send operations to make in one transaction
883
+ *
884
+ * @generated from field: repeated land.gno.gnonative.v1.MsgSend msgs = 5 [json_name = "Msgs"];
885
+ */
886
+ msgs: MsgSend[];
887
+ };
888
+ /**
889
+ * Describes the message land.gno.gnonative.v1.SendRequest.
890
+ * Use `create(SendRequestSchema)` to create a new message.
891
+ */
892
+ export declare const SendRequestSchema: GenMessage<SendRequest>;
893
+ /**
894
+ * @generated from message land.gno.gnonative.v1.SendResponse
895
+ */
896
+ export type SendResponse = Message<"land.gno.gnonative.v1.SendResponse"> & {
897
+ /**
898
+ * The transaction hash
899
+ *
900
+ * @generated from field: bytes hash = 1;
901
+ */
902
+ hash: Uint8Array;
903
+ /**
904
+ * The transaction height
905
+ *
906
+ * @generated from field: sint64 height = 2;
907
+ */
908
+ height: bigint;
909
+ };
910
+ /**
911
+ * Describes the message land.gno.gnonative.v1.SendResponse.
912
+ * Use `create(SendResponseSchema)` to create a new message.
913
+ */
914
+ export declare const SendResponseSchema: GenMessage<SendResponse>;
915
+ /**
916
+ * @generated from message land.gno.gnonative.v1.MsgRun
917
+ */
918
+ export type MsgRun = Message<"land.gno.gnonative.v1.MsgRun"> & {
919
+ /**
920
+ * The code for the script package. Must have main().
921
+ * Example: "package main\nfunc main() {\n println(\"Hello\")\n}"
922
+ *
923
+ * @generated from field: string package = 1;
924
+ */
925
+ package: string;
926
+ /**
927
+ * Optional. Example: "1000ugnot"
928
+ *
929
+ * @generated from field: string send = 2;
930
+ */
931
+ send: string;
932
+ };
933
+ /**
934
+ * Describes the message land.gno.gnonative.v1.MsgRun.
935
+ * Use `create(MsgRunSchema)` to create a new message.
936
+ */
937
+ export declare const MsgRunSchema: GenMessage<MsgRun>;
938
+ /**
939
+ * @generated from message land.gno.gnonative.v1.RunRequest
940
+ */
941
+ export type RunRequest = Message<"land.gno.gnonative.v1.RunRequest"> & {
942
+ /**
943
+ * @generated from field: string gas_fee = 1;
944
+ */
945
+ gasFee: string;
946
+ /**
947
+ * @generated from field: sint64 gas_wanted = 2;
948
+ */
949
+ gasWanted: bigint;
950
+ /**
951
+ * Memo is optional
952
+ *
953
+ * @generated from field: string memo = 3;
954
+ */
955
+ memo: string;
956
+ /**
957
+ * The address of the account to sign the transaction
958
+ *
959
+ * @generated from field: bytes caller_address = 4;
960
+ */
961
+ callerAddress: Uint8Array;
962
+ /**
963
+ * list of run operations to make in one transaction
964
+ *
965
+ * @generated from field: repeated land.gno.gnonative.v1.MsgRun msgs = 5 [json_name = "Msgs"];
966
+ */
967
+ msgs: MsgRun[];
968
+ };
969
+ /**
970
+ * Describes the message land.gno.gnonative.v1.RunRequest.
971
+ * Use `create(RunRequestSchema)` to create a new message.
972
+ */
973
+ export declare const RunRequestSchema: GenMessage<RunRequest>;
974
+ /**
975
+ * @generated from message land.gno.gnonative.v1.RunResponse
976
+ */
977
+ export type RunResponse = Message<"land.gno.gnonative.v1.RunResponse"> & {
978
+ /**
979
+ * The "console" output from the run
980
+ *
981
+ * @generated from field: string result = 1;
982
+ */
983
+ result: string;
984
+ /**
985
+ * The transaction hash
986
+ *
987
+ * @generated from field: bytes hash = 2;
988
+ */
989
+ hash: Uint8Array;
990
+ /**
991
+ * The transaction height
992
+ *
993
+ * @generated from field: sint64 height = 3;
994
+ */
995
+ height: bigint;
996
+ };
997
+ /**
998
+ * Describes the message land.gno.gnonative.v1.RunResponse.
999
+ * Use `create(RunResponseSchema)` to create a new message.
1000
+ */
1001
+ export declare const RunResponseSchema: GenMessage<RunResponse>;
1002
+ /**
1003
+ * @generated from message land.gno.gnonative.v1.MakeTxResponse
1004
+ */
1005
+ export type MakeTxResponse = Message<"land.gno.gnonative.v1.MakeTxResponse"> & {
1006
+ /**
1007
+ * The JSON encoding of the unsigned transaction
1008
+ *
1009
+ * @generated from field: string tx_json = 1;
1010
+ */
1011
+ txJson: string;
1012
+ };
1013
+ /**
1014
+ * Describes the message land.gno.gnonative.v1.MakeTxResponse.
1015
+ * Use `create(MakeTxResponseSchema)` to create a new message.
1016
+ */
1017
+ export declare const MakeTxResponseSchema: GenMessage<MakeTxResponse>;
1018
+ /**
1019
+ * @generated from message land.gno.gnonative.v1.SignTxRequest
1020
+ */
1021
+ export type SignTxRequest = Message<"land.gno.gnonative.v1.SignTxRequest"> & {
1022
+ /**
1023
+ * The JSON encoding of the unsigned transaction (from MakeCallTx, etc.)
1024
+ *
1025
+ * @generated from field: string tx_json = 1;
1026
+ */
1027
+ txJson: string;
1028
+ /**
1029
+ * The address of the account to sign the transaction
1030
+ *
1031
+ * @generated from field: bytes address = 2;
1032
+ */
1033
+ address: Uint8Array;
1034
+ /**
1035
+ * The signer's account number on the blockchain. If 0 then query the blockchain for the value.
1036
+ *
1037
+ * @generated from field: uint64 account_number = 3;
1038
+ */
1039
+ accountNumber: bigint;
1040
+ /**
1041
+ * The sequence number of the signer's transactions on the blockchain. If 0 then query the blockchain for the value.
1042
+ *
1043
+ * @generated from field: uint64 sequence_number = 4;
1044
+ */
1045
+ sequenceNumber: bigint;
1046
+ };
1047
+ /**
1048
+ * Describes the message land.gno.gnonative.v1.SignTxRequest.
1049
+ * Use `create(SignTxRequestSchema)` to create a new message.
1050
+ */
1051
+ export declare const SignTxRequestSchema: GenMessage<SignTxRequest>;
1052
+ /**
1053
+ * @generated from message land.gno.gnonative.v1.SignTxResponse
1054
+ */
1055
+ export type SignTxResponse = Message<"land.gno.gnonative.v1.SignTxResponse"> & {
1056
+ /**
1057
+ * The JSON encoding of the signed transaction (to use in BroadcastTx)
1058
+ *
1059
+ * @generated from field: string signed_tx_json = 1 [json_name = "tx_json"];
1060
+ */
1061
+ signedTxJson: string;
1062
+ };
1063
+ /**
1064
+ * Describes the message land.gno.gnonative.v1.SignTxResponse.
1065
+ * Use `create(SignTxResponseSchema)` to create a new message.
1066
+ */
1067
+ export declare const SignTxResponseSchema: GenMessage<SignTxResponse>;
1068
+ /**
1069
+ * @generated from message land.gno.gnonative.v1.EstimateGasRequest
1070
+ */
1071
+ export type EstimateGasRequest = Message<"land.gno.gnonative.v1.EstimateGasRequest"> & {
1072
+ /**
1073
+ * The JSON encoding of the unsigned transaction (from MakeCallTx, etc.)
1074
+ *
1075
+ * @generated from field: string tx_json = 1;
1076
+ */
1077
+ txJson: string;
1078
+ /**
1079
+ * The address of the account to sign the transaction
1080
+ *
1081
+ * @generated from field: bytes address = 2;
1082
+ */
1083
+ address: Uint8Array;
1084
+ /**
1085
+ * The security margin to apply to the estimated gas amount.
1086
+ * 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.
1087
+ * It will be multiplied by the estimated gas amount.
1088
+ *
1089
+ * @generated from field: uint32 security_margin = 3;
1090
+ */
1091
+ securityMargin: number;
1092
+ /**
1093
+ * The update boolean to update the gas wanted field in the transaction if true.
1094
+ *
1095
+ * @generated from field: bool update_tx = 4;
1096
+ */
1097
+ updateTx: boolean;
1098
+ /**
1099
+ * The signer's account number on the blockchain. If 0 then query the blockchain for the value.
1100
+ *
1101
+ * @generated from field: uint64 account_number = 5;
1102
+ */
1103
+ accountNumber: bigint;
1104
+ /**
1105
+ * The sequence number of the signer's transactions on the blockchain. If 0 then query the blockchain for the value.
1106
+ *
1107
+ * @generated from field: uint64 sequence_number = 6;
1108
+ */
1109
+ sequenceNumber: bigint;
1110
+ };
1111
+ /**
1112
+ * Describes the message land.gno.gnonative.v1.EstimateGasRequest.
1113
+ * Use `create(EstimateGasRequestSchema)` to create a new message.
1114
+ */
1115
+ export declare const EstimateGasRequestSchema: GenMessage<EstimateGasRequest>;
1116
+ /**
1117
+ * @generated from message land.gno.gnonative.v1.EstimateGasResponse
1118
+ */
1119
+ export type EstimateGasResponse = Message<"land.gno.gnonative.v1.EstimateGasResponse"> & {
1120
+ /**
1121
+ * The JSON encoding of the unsigned transaction
1122
+ *
1123
+ * @generated from field: string tx_json = 1;
1124
+ */
1125
+ txJson: string;
1126
+ /**
1127
+ * The estimated gas wanted for the transaction
1128
+ *
1129
+ * @generated from field: sint64 gas_wanted = 2;
1130
+ */
1131
+ gasWanted: bigint;
1132
+ };
1133
+ /**
1134
+ * Describes the message land.gno.gnonative.v1.EstimateGasResponse.
1135
+ * Use `create(EstimateGasResponseSchema)` to create a new message.
1136
+ */
1137
+ export declare const EstimateGasResponseSchema: GenMessage<EstimateGasResponse>;
1138
+ /**
1139
+ * @generated from message land.gno.gnonative.v1.BroadcastTxCommitRequest
1140
+ */
1141
+ export type BroadcastTxCommitRequest = Message<"land.gno.gnonative.v1.BroadcastTxCommitRequest"> & {
1142
+ /**
1143
+ * The JSON encoding of the signed transaction (from SignTx)
1144
+ *
1145
+ * @generated from field: string signed_tx_json = 1 [json_name = "tx_json"];
1146
+ */
1147
+ signedTxJson: string;
1148
+ };
1149
+ /**
1150
+ * Describes the message land.gno.gnonative.v1.BroadcastTxCommitRequest.
1151
+ * Use `create(BroadcastTxCommitRequestSchema)` to create a new message.
1152
+ */
1153
+ export declare const BroadcastTxCommitRequestSchema: GenMessage<BroadcastTxCommitRequest>;
1154
+ /**
1155
+ * @generated from message land.gno.gnonative.v1.BroadcastTxCommitResponse
1156
+ */
1157
+ export type BroadcastTxCommitResponse = Message<"land.gno.gnonative.v1.BroadcastTxCommitResponse"> & {
1158
+ /**
1159
+ * @generated from field: bytes result = 1;
1160
+ */
1161
+ result: Uint8Array;
1162
+ /**
1163
+ * The transaction hash
1164
+ *
1165
+ * @generated from field: bytes hash = 2;
1166
+ */
1167
+ hash: Uint8Array;
1168
+ /**
1169
+ * The transaction height
1170
+ *
1171
+ * @generated from field: sint64 height = 3;
1172
+ */
1173
+ height: bigint;
1174
+ };
1175
+ /**
1176
+ * Describes the message land.gno.gnonative.v1.BroadcastTxCommitResponse.
1177
+ * Use `create(BroadcastTxCommitResponseSchema)` to create a new message.
1178
+ */
1179
+ export declare const BroadcastTxCommitResponseSchema: GenMessage<BroadcastTxCommitResponse>;
1180
+ /**
1181
+ * @generated from message land.gno.gnonative.v1.AddressToBech32Request
1182
+ */
1183
+ export type AddressToBech32Request = Message<"land.gno.gnonative.v1.AddressToBech32Request"> & {
1184
+ /**
1185
+ * @generated from field: bytes address = 1;
1186
+ */
1187
+ address: Uint8Array;
1188
+ };
1189
+ /**
1190
+ * Describes the message land.gno.gnonative.v1.AddressToBech32Request.
1191
+ * Use `create(AddressToBech32RequestSchema)` to create a new message.
1192
+ */
1193
+ export declare const AddressToBech32RequestSchema: GenMessage<AddressToBech32Request>;
1194
+ /**
1195
+ * @generated from message land.gno.gnonative.v1.AddressToBech32Response
1196
+ */
1197
+ export type AddressToBech32Response = Message<"land.gno.gnonative.v1.AddressToBech32Response"> & {
1198
+ /**
1199
+ * @generated from field: string bech32_address = 1;
1200
+ */
1201
+ bech32Address: string;
1202
+ };
1203
+ /**
1204
+ * Describes the message land.gno.gnonative.v1.AddressToBech32Response.
1205
+ * Use `create(AddressToBech32ResponseSchema)` to create a new message.
1206
+ */
1207
+ export declare const AddressToBech32ResponseSchema: GenMessage<AddressToBech32Response>;
1208
+ /**
1209
+ * @generated from message land.gno.gnonative.v1.AddressFromBech32Request
1210
+ */
1211
+ export type AddressFromBech32Request = Message<"land.gno.gnonative.v1.AddressFromBech32Request"> & {
1212
+ /**
1213
+ * @generated from field: string bech32_address = 1;
1214
+ */
1215
+ bech32Address: string;
1216
+ };
1217
+ /**
1218
+ * Describes the message land.gno.gnonative.v1.AddressFromBech32Request.
1219
+ * Use `create(AddressFromBech32RequestSchema)` to create a new message.
1220
+ */
1221
+ export declare const AddressFromBech32RequestSchema: GenMessage<AddressFromBech32Request>;
1222
+ /**
1223
+ * @generated from message land.gno.gnonative.v1.AddressFromBech32Response
1224
+ */
1225
+ export type AddressFromBech32Response = Message<"land.gno.gnonative.v1.AddressFromBech32Response"> & {
1226
+ /**
1227
+ * @generated from field: bytes address = 1;
1228
+ */
1229
+ address: Uint8Array;
1230
+ };
1231
+ /**
1232
+ * Describes the message land.gno.gnonative.v1.AddressFromBech32Response.
1233
+ * Use `create(AddressFromBech32ResponseSchema)` to create a new message.
1234
+ */
1235
+ export declare const AddressFromBech32ResponseSchema: GenMessage<AddressFromBech32Response>;
1236
+ /**
1237
+ * @generated from message land.gno.gnonative.v1.AddressFromMnemonicRequest
1238
+ */
1239
+ export type AddressFromMnemonicRequest = Message<"land.gno.gnonative.v1.AddressFromMnemonicRequest"> & {
1240
+ /**
1241
+ * @generated from field: string mnemonic = 1;
1242
+ */
1243
+ mnemonic: string;
1244
+ };
1245
+ /**
1246
+ * Describes the message land.gno.gnonative.v1.AddressFromMnemonicRequest.
1247
+ * Use `create(AddressFromMnemonicRequestSchema)` to create a new message.
1248
+ */
1249
+ export declare const AddressFromMnemonicRequestSchema: GenMessage<AddressFromMnemonicRequest>;
1250
+ /**
1251
+ * @generated from message land.gno.gnonative.v1.AddressFromMnemonicResponse
1252
+ */
1253
+ export type AddressFromMnemonicResponse = Message<"land.gno.gnonative.v1.AddressFromMnemonicResponse"> & {
1254
+ /**
1255
+ * @generated from field: bytes address = 1;
1256
+ */
1257
+ address: Uint8Array;
1258
+ };
1259
+ /**
1260
+ * Describes the message land.gno.gnonative.v1.AddressFromMnemonicResponse.
1261
+ * Use `create(AddressFromMnemonicResponseSchema)` to create a new message.
1262
+ */
1263
+ export declare const AddressFromMnemonicResponseSchema: GenMessage<AddressFromMnemonicResponse>;
1264
+ /**
1265
+ * @generated from message land.gno.gnonative.v1.HelloRequest
1266
+ */
1267
+ export type HelloRequest = Message<"land.gno.gnonative.v1.HelloRequest"> & {
1268
+ /**
1269
+ * @generated from field: string name = 1 [json_name = "Name"];
1270
+ */
1271
+ name: string;
1272
+ };
1273
+ /**
1274
+ * Describes the message land.gno.gnonative.v1.HelloRequest.
1275
+ * Use `create(HelloRequestSchema)` to create a new message.
1276
+ */
1277
+ export declare const HelloRequestSchema: GenMessage<HelloRequest>;
1278
+ /**
1279
+ * @generated from message land.gno.gnonative.v1.HelloResponse
1280
+ */
1281
+ export type HelloResponse = Message<"land.gno.gnonative.v1.HelloResponse"> & {
1282
+ /**
1283
+ * @generated from field: string greeting = 1 [json_name = "Greeting"];
1284
+ */
1285
+ greeting: string;
1286
+ };
1287
+ /**
1288
+ * Describes the message land.gno.gnonative.v1.HelloResponse.
1289
+ * Use `create(HelloResponseSchema)` to create a new message.
1290
+ */
1291
+ export declare const HelloResponseSchema: GenMessage<HelloResponse>;
1292
+ /**
1293
+ * @generated from message land.gno.gnonative.v1.HelloStreamRequest
1294
+ */
1295
+ export type HelloStreamRequest = Message<"land.gno.gnonative.v1.HelloStreamRequest"> & {
1296
+ /**
1297
+ * @generated from field: string name = 1 [json_name = "Name"];
1298
+ */
1299
+ name: string;
1300
+ };
1301
+ /**
1302
+ * Describes the message land.gno.gnonative.v1.HelloStreamRequest.
1303
+ * Use `create(HelloStreamRequestSchema)` to create a new message.
1304
+ */
1305
+ export declare const HelloStreamRequestSchema: GenMessage<HelloStreamRequest>;
1306
+ /**
1307
+ * @generated from message land.gno.gnonative.v1.HelloStreamResponse
1308
+ */
1309
+ export type HelloStreamResponse = Message<"land.gno.gnonative.v1.HelloStreamResponse"> & {
1310
+ /**
1311
+ * @generated from field: string greeting = 1 [json_name = "Greeting"];
1312
+ */
1313
+ greeting: string;
1314
+ };
1315
+ /**
1316
+ * Describes the message land.gno.gnonative.v1.HelloStreamResponse.
1317
+ * Use `create(HelloStreamResponseSchema)` to create a new message.
1318
+ */
1319
+ export declare const HelloStreamResponseSchema: GenMessage<HelloStreamResponse>;
1320
+ /**
1321
+ * @generated from message land.gno.gnonative.v1.GNONATIVETYPES_BytesList
1322
+ */
1323
+ export type GNONATIVETYPES_BytesList = Message<"land.gno.gnonative.v1.GNONATIVETYPES_BytesList"> & {
1324
+ /**
1325
+ * @generated from field: repeated bytes Value = 1;
1326
+ */
1327
+ Value: Uint8Array[];
1328
+ };
1329
+ /**
1330
+ * Describes the message land.gno.gnonative.v1.GNONATIVETYPES_BytesList.
1331
+ * Use `create(GNONATIVETYPES_BytesListSchema)` to create a new message.
1332
+ */
1333
+ export declare const GNONATIVETYPES_BytesListSchema: GenMessage<GNONATIVETYPES_BytesList>;
1334
+ //# sourceMappingURL=gnonativetypes_pb.d.ts.map