@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,697 @@
1
+ // @generated by protoc-gen-es v2.2.5 with parameter "target=ts"
2
+ // @generated from file rpc.proto (package land.gno.gnonative.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
6
+ import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
7
+ import type { ActivateAccountRequestSchema, ActivateAccountResponseSchema, AddressFromBech32RequestSchema, AddressFromBech32ResponseSchema, AddressFromMnemonicRequestSchema, AddressFromMnemonicResponseSchema, AddressToBech32RequestSchema, AddressToBech32ResponseSchema, BroadcastTxCommitRequestSchema, BroadcastTxCommitResponseSchema, CallRequestSchema, CallResponseSchema, CreateAccountRequestSchema, CreateAccountResponseSchema, DeleteAccountRequestSchema, DeleteAccountResponseSchema, EstimateGasRequestSchema, EstimateGasResponseSchema, GenerateRecoveryPhraseRequestSchema, GenerateRecoveryPhraseResponseSchema, GetActivatedAccountRequestSchema, GetActivatedAccountResponseSchema, GetChainIDRequestSchema, GetChainIDResponseSchema, GetKeyInfoByAddressRequestSchema, GetKeyInfoByAddressResponseSchema, GetKeyInfoByNameOrAddressRequestSchema, GetKeyInfoByNameOrAddressResponseSchema, GetKeyInfoByNameRequestSchema, GetKeyInfoByNameResponseSchema, GetRemoteRequestSchema, GetRemoteResponseSchema, HasKeyByAddressRequestSchema, HasKeyByAddressResponseSchema, HasKeyByNameOrAddressRequestSchema, HasKeyByNameOrAddressResponseSchema, HasKeyByNameRequestSchema, HasKeyByNameResponseSchema, HelloRequestSchema, HelloResponseSchema, HelloStreamRequestSchema, HelloStreamResponseSchema, ListKeyInfoRequestSchema, ListKeyInfoResponseSchema, MakeTxResponseSchema, QEvalRequestSchema, QEvalResponseSchema, QueryAccountRequestSchema, QueryAccountResponseSchema, QueryRequestSchema, QueryResponseSchema, RenderRequestSchema, RenderResponseSchema, RotatePasswordRequestSchema, RotatePasswordResponseSchema, RunRequestSchema, RunResponseSchema, SendRequestSchema, SendResponseSchema, SetChainIDRequestSchema, SetChainIDResponseSchema, SetPasswordRequestSchema, SetPasswordResponseSchema, SetRemoteRequestSchema, SetRemoteResponseSchema, SignTxRequestSchema, SignTxResponseSchema } from "./gnonativetypes_pb";
8
+ import { file_gnonativetypes } from "./gnonativetypes_pb";
9
+ import type { Message } from "@bufbuild/protobuf";
10
+
11
+ /**
12
+ * Describes the file rpc.proto.
13
+ */
14
+ export const file_rpc: GenFile = /*@__PURE__*/
15
+ fileDesc("CglycGMucHJvdG8SFWxhbmQuZ25vLmdub25hdGl2ZS52MSI7CgpFcnJEZXRhaWxzEi0KBWNvZGVzGAEgAygOMh4ubGFuZC5nbm8uZ25vbmF0aXZlLnYxLkVyckNvZGUqtAYKB0VyckNvZGUSDQoJVW5kZWZpbmVkEAASCAoEVE9ETxABEhUKEUVyck5vdEltcGxlbWVudGVkEAISDwoLRXJySW50ZXJuYWwQAxITCg9FcnJJbnZhbGlkSW5wdXQQZBIYChRFcnJCcmlkZ2VJbnRlcnJ1cHRlZBBlEhMKD0Vyck1pc3NpbmdJbnB1dBBmEhQKEEVyclNlcmlhbGl6YXRpb24QZxIWChJFcnJEZXNlcmlhbGl6YXRpb24QaBISCg5FcnJJbml0U2VydmljZRBpEhAKDEVyclNldFJlbW90ZRBqEhwKF0VyckNyeXB0b0tleVR5cGVVbmtub3duEJYBEhkKFEVyckNyeXB0b0tleU5vdEZvdW5kEJcBEhcKEkVyck5vQWN0aXZlQWNjb3VudBCYARIVChBFcnJSdW5HUlBDU2VydmVyEJkBEhgKE0VyckRlY3J5cHRpb25GYWlsZWQQmgESEAoLRXJyVHhEZWNvZGUQyAESFwoSRXJySW52YWxpZFNlcXVlbmNlEMkBEhQKD0VyclVuYXV0aG9yaXplZBDKARIZChRFcnJJbnN1ZmZpY2llbnRGdW5kcxDLARIWChFFcnJVbmtub3duUmVxdWVzdBDMARIWChFFcnJJbnZhbGlkQWRkcmVzcxDNARIWChFFcnJVbmtub3duQWRkcmVzcxDOARIVChBFcnJJbnZhbGlkUHViS2V5EM8BEhkKFEVyckluc3VmZmljaWVudENvaW5zENABEhQKD0VyckludmFsaWRDb2lucxDRARIYChNFcnJJbnZhbGlkR2FzV2FudGVkENIBEhAKC0Vyck91dE9mR2FzENMBEhQKD0Vyck1lbW9Ub29MYXJnZRDUARIX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
17
+ /**
18
+ * @generated from message land.gno.gnonative.v1.ErrDetails
19
+ */
20
+ export type ErrDetails = Message<"land.gno.gnonative.v1.ErrDetails"> & {
21
+ /**
22
+ * @generated from field: repeated land.gno.gnonative.v1.ErrCode codes = 1;
23
+ */
24
+ codes: ErrCode[];
25
+ };
26
+
27
+ /**
28
+ * Describes the message land.gno.gnonative.v1.ErrDetails.
29
+ * Use `create(ErrDetailsSchema)` to create a new message.
30
+ */
31
+ export const ErrDetailsSchema: GenMessage<ErrDetails> = /*@__PURE__*/
32
+ messageDesc(file_rpc, 0);
33
+
34
+ /**
35
+ * The ErrCode enum defines errors for gRPC API functions. These are converted
36
+ * from the Go error types returned by gnoclient.
37
+ *
38
+ * ----------------
39
+ * Special errors
40
+ * ----------------
41
+ *
42
+ * @generated from enum land.gno.gnonative.v1.ErrCode
43
+ */
44
+ export enum ErrCode {
45
+ /**
46
+ * Undefined is the default value. It should never be set manually
47
+ *
48
+ * @generated from enum value: Undefined = 0;
49
+ */
50
+ Undefined = 0,
51
+
52
+ /**
53
+ * TODO indicates that you plan to create an error later
54
+ *
55
+ * @generated from enum value: TODO = 1;
56
+ */
57
+ TODO = 1,
58
+
59
+ /**
60
+ * ErrNotImplemented indicates that a method is not implemented yet
61
+ *
62
+ * @generated from enum value: ErrNotImplemented = 2;
63
+ */
64
+ ErrNotImplemented = 2,
65
+
66
+ /**
67
+ * ErrInternal indicates an unknown error (without Code), i.e. in gRPC
68
+ *
69
+ * @generated from enum value: ErrInternal = 3;
70
+ */
71
+ ErrInternal = 3,
72
+
73
+ /**
74
+ * @generated from enum value: ErrInvalidInput = 100;
75
+ */
76
+ ErrInvalidInput = 100,
77
+
78
+ /**
79
+ * @generated from enum value: ErrBridgeInterrupted = 101;
80
+ */
81
+ ErrBridgeInterrupted = 101,
82
+
83
+ /**
84
+ * @generated from enum value: ErrMissingInput = 102;
85
+ */
86
+ ErrMissingInput = 102,
87
+
88
+ /**
89
+ * @generated from enum value: ErrSerialization = 103;
90
+ */
91
+ ErrSerialization = 103,
92
+
93
+ /**
94
+ * @generated from enum value: ErrDeserialization = 104;
95
+ */
96
+ ErrDeserialization = 104,
97
+
98
+ /**
99
+ * @generated from enum value: ErrInitService = 105;
100
+ */
101
+ ErrInitService = 105,
102
+
103
+ /**
104
+ * @generated from enum value: ErrSetRemote = 106;
105
+ */
106
+ ErrSetRemote = 106,
107
+
108
+ /**
109
+ * @generated from enum value: ErrCryptoKeyTypeUnknown = 150;
110
+ */
111
+ ErrCryptoKeyTypeUnknown = 150,
112
+
113
+ /**
114
+ * ErrCryptoKeyNotFound indicates that the doesn't exist in the keybase
115
+ *
116
+ * @generated from enum value: ErrCryptoKeyNotFound = 151;
117
+ */
118
+ ErrCryptoKeyNotFound = 151,
119
+
120
+ /**
121
+ * ErrNoActiveAccount indicates that no account with the given address has been activated with ActivateAccount
122
+ *
123
+ * @generated from enum value: ErrNoActiveAccount = 152;
124
+ */
125
+ ErrNoActiveAccount = 152,
126
+
127
+ /**
128
+ * @generated from enum value: ErrRunGRPCServer = 153;
129
+ */
130
+ ErrRunGRPCServer = 153,
131
+
132
+ /**
133
+ * ErrDecryptionFailed indicates a decryption failure including a wrong password
134
+ *
135
+ * @generated from enum value: ErrDecryptionFailed = 154;
136
+ */
137
+ ErrDecryptionFailed = 154,
138
+
139
+ /**
140
+ * @generated from enum value: ErrTxDecode = 200;
141
+ */
142
+ ErrTxDecode = 200,
143
+
144
+ /**
145
+ * @generated from enum value: ErrInvalidSequence = 201;
146
+ */
147
+ ErrInvalidSequence = 201,
148
+
149
+ /**
150
+ * @generated from enum value: ErrUnauthorized = 202;
151
+ */
152
+ ErrUnauthorized = 202,
153
+
154
+ /**
155
+ * ErrInsufficientFunds indicates that there are insufficient funds to pay for fees
156
+ *
157
+ * @generated from enum value: ErrInsufficientFunds = 203;
158
+ */
159
+ ErrInsufficientFunds = 203,
160
+
161
+ /**
162
+ * ErrUnknownRequest indicates that the path of a realm function call is unrecognized
163
+ *
164
+ * @generated from enum value: ErrUnknownRequest = 204;
165
+ */
166
+ ErrUnknownRequest = 204,
167
+
168
+ /**
169
+ * ErrInvalidAddress indicates that an account address is blank or the bech32 can't be decoded
170
+ *
171
+ * @generated from enum value: ErrInvalidAddress = 205;
172
+ */
173
+ ErrInvalidAddress = 205,
174
+
175
+ /**
176
+ * ErrUnknownAddress indicates that the address is unknown on the blockchain
177
+ *
178
+ * @generated from enum value: ErrUnknownAddress = 206;
179
+ */
180
+ ErrUnknownAddress = 206,
181
+
182
+ /**
183
+ * ErrInvalidPubKey indicates that the public key was not found or has an invalid algorithm or format
184
+ *
185
+ * @generated from enum value: ErrInvalidPubKey = 207;
186
+ */
187
+ ErrInvalidPubKey = 207,
188
+
189
+ /**
190
+ * ErrInsufficientCoins indicates that the transaction has insufficient account funds to send
191
+ *
192
+ * @generated from enum value: ErrInsufficientCoins = 208;
193
+ */
194
+ ErrInsufficientCoins = 208,
195
+
196
+ /**
197
+ * ErrInvalidCoins indicates that the transaction Coins are not sorted, or don't have a
198
+ * positive amount, or the coin Denom contains upper case characters
199
+ *
200
+ * @generated from enum value: ErrInvalidCoins = 209;
201
+ */
202
+ ErrInvalidCoins = 209,
203
+
204
+ /**
205
+ * ErrInvalidGasWanted indicates that the transaction gas wanted is too large or otherwise invalid
206
+ *
207
+ * @generated from enum value: ErrInvalidGasWanted = 210;
208
+ */
209
+ ErrInvalidGasWanted = 210,
210
+
211
+ /**
212
+ * ErrOutOfGas indicates that the transaction doesn't have enough gas
213
+ *
214
+ * @generated from enum value: ErrOutOfGas = 211;
215
+ */
216
+ ErrOutOfGas = 211,
217
+
218
+ /**
219
+ * ErrMemoTooLarge indicates that the transaction memo is too large
220
+ *
221
+ * @generated from enum value: ErrMemoTooLarge = 212;
222
+ */
223
+ ErrMemoTooLarge = 212,
224
+
225
+ /**
226
+ * ErrInsufficientFee indicates that the gas fee is insufficient
227
+ *
228
+ * @generated from enum value: ErrInsufficientFee = 213;
229
+ */
230
+ ErrInsufficientFee = 213,
231
+
232
+ /**
233
+ * ErrTooManySignatures indicates that the transaction has too many signatures
234
+ *
235
+ * @generated from enum value: ErrTooManySignatures = 214;
236
+ */
237
+ ErrTooManySignatures = 214,
238
+
239
+ /**
240
+ * ErrNoSignatures indicates that the transaction has no signatures
241
+ *
242
+ * @generated from enum value: ErrNoSignatures = 215;
243
+ */
244
+ ErrNoSignatures = 215,
245
+
246
+ /**
247
+ * ErrGasOverflow indicates that an action results in a gas consumption unsigned integer overflow
248
+ *
249
+ * @generated from enum value: ErrGasOverflow = 216;
250
+ */
251
+ ErrGasOverflow = 216,
252
+
253
+ /**
254
+ * ErrInvalidPkgPath indicates that the package path is not recognized.
255
+ *
256
+ * @generated from enum value: ErrInvalidPkgPath = 217;
257
+ */
258
+ ErrInvalidPkgPath = 217,
259
+
260
+ /**
261
+ * @generated from enum value: ErrInvalidStmt = 218;
262
+ */
263
+ ErrInvalidStmt = 218,
264
+
265
+ /**
266
+ * @generated from enum value: ErrInvalidExpr = 219;
267
+ */
268
+ ErrInvalidExpr = 219,
269
+ }
270
+
271
+ /**
272
+ * Describes the enum land.gno.gnonative.v1.ErrCode.
273
+ */
274
+ export const ErrCodeSchema: GenEnum<ErrCode> = /*@__PURE__*/
275
+ enumDesc(file_rpc, 0);
276
+
277
+ /**
278
+ * GnoNativeService is the service to interact with the Gno blockchain
279
+ *
280
+ * @generated from service land.gno.gnonative.v1.GnoNativeService
281
+ */
282
+ export const GnoNativeService: GenService<{
283
+ /**
284
+ * Set the connection address for the remote node. If you don't call this,
285
+ * the default is "127.0.0.1:26657"
286
+ *
287
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.SetRemote
288
+ */
289
+ setRemote: {
290
+ methodKind: "unary";
291
+ input: typeof SetRemoteRequestSchema;
292
+ output: typeof SetRemoteResponseSchema;
293
+ },
294
+ /**
295
+ * Get the connection address for the remote node. The response is either
296
+ * the initial default, or the value which was set with SetRemote
297
+ *
298
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.GetRemote
299
+ */
300
+ getRemote: {
301
+ methodKind: "unary";
302
+ input: typeof GetRemoteRequestSchema;
303
+ output: typeof GetRemoteResponseSchema;
304
+ },
305
+ /**
306
+ * Set the chain ID for the remote node. If you don't call this, the default
307
+ * is "dev"
308
+ *
309
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.SetChainID
310
+ */
311
+ setChainID: {
312
+ methodKind: "unary";
313
+ input: typeof SetChainIDRequestSchema;
314
+ output: typeof SetChainIDResponseSchema;
315
+ },
316
+ /**
317
+ * Get the chain ID for the remote node. The response is either
318
+ * the initial default, or the value which was set with SetChainID
319
+ *
320
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.GetChainID
321
+ */
322
+ getChainID: {
323
+ methodKind: "unary";
324
+ input: typeof GetChainIDRequestSchema;
325
+ output: typeof GetChainIDResponseSchema;
326
+ },
327
+ /**
328
+ * Generate a recovery phrase of BIP39 mnemonic words using entropy from the
329
+ * crypto library random number generator. This can be used as the mnemonic in
330
+ * CreateAccount.
331
+ *
332
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.GenerateRecoveryPhrase
333
+ */
334
+ generateRecoveryPhrase: {
335
+ methodKind: "unary";
336
+ input: typeof GenerateRecoveryPhraseRequestSchema;
337
+ output: typeof GenerateRecoveryPhraseResponseSchema;
338
+ },
339
+ /**
340
+ * Get the information for all keys in the keybase
341
+ *
342
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.ListKeyInfo
343
+ */
344
+ listKeyInfo: {
345
+ methodKind: "unary";
346
+ input: typeof ListKeyInfoRequestSchema;
347
+ output: typeof ListKeyInfoResponseSchema;
348
+ },
349
+ /**
350
+ * Check for the key in the keybase with the given name.
351
+ * In the response, set has true if the keybase has the key.
352
+ *
353
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.HasKeyByName
354
+ */
355
+ hasKeyByName: {
356
+ methodKind: "unary";
357
+ input: typeof HasKeyByNameRequestSchema;
358
+ output: typeof HasKeyByNameResponseSchema;
359
+ },
360
+ /**
361
+ * Check for the key in the keybase with the given address.
362
+ * In the response, set has true if the keybase has the key.
363
+ *
364
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.HasKeyByAddress
365
+ */
366
+ hasKeyByAddress: {
367
+ methodKind: "unary";
368
+ input: typeof HasKeyByAddressRequestSchema;
369
+ output: typeof HasKeyByAddressResponseSchema;
370
+ },
371
+ /**
372
+ * Check for the key in the keybase with the given name or bech32 string address.
373
+ * In the response, set has true if the keybase has the key.
374
+ *
375
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.HasKeyByNameOrAddress
376
+ */
377
+ hasKeyByNameOrAddress: {
378
+ methodKind: "unary";
379
+ input: typeof HasKeyByNameOrAddressRequestSchema;
380
+ output: typeof HasKeyByNameOrAddressResponseSchema;
381
+ },
382
+ /**
383
+ * Get the information for the key in the keybase with the given name.
384
+ * If the key doesn't exist, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrCryptoKeyNotFound.
385
+ *
386
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.GetKeyInfoByName
387
+ */
388
+ getKeyInfoByName: {
389
+ methodKind: "unary";
390
+ input: typeof GetKeyInfoByNameRequestSchema;
391
+ output: typeof GetKeyInfoByNameResponseSchema;
392
+ },
393
+ /**
394
+ * Get the information for the key in the keybase with the given address.
395
+ * If the key doesn't exist, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrCryptoKeyNotFound.
396
+ *
397
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.GetKeyInfoByAddress
398
+ */
399
+ getKeyInfoByAddress: {
400
+ methodKind: "unary";
401
+ input: typeof GetKeyInfoByAddressRequestSchema;
402
+ output: typeof GetKeyInfoByAddressResponseSchema;
403
+ },
404
+ /**
405
+ * Get the information for the key in the keybase with the given name or bech32 string address.
406
+ * If the key doesn't exist, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrCryptoKeyNotFound.
407
+ *
408
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.GetKeyInfoByNameOrAddress
409
+ */
410
+ getKeyInfoByNameOrAddress: {
411
+ methodKind: "unary";
412
+ input: typeof GetKeyInfoByNameOrAddressRequestSchema;
413
+ output: typeof GetKeyInfoByNameOrAddressResponseSchema;
414
+ },
415
+ /**
416
+ * Create a new account in the keybase using the name and password specified by SetAccount.
417
+ * If an account with the same name already exists in the keybase,
418
+ * this replaces it. (If you don't want to replace it, then it's your responsibility
419
+ * to use GetKeyInfoByName to check if it exists before calling this.)
420
+ *
421
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.CreateAccount
422
+ */
423
+ createAccount: {
424
+ methodKind: "unary";
425
+ input: typeof CreateAccountRequestSchema;
426
+ output: typeof CreateAccountResponseSchema;
427
+ },
428
+ /**
429
+ * Find the account in the keybase with the given name_or_bech32 and activate it. If the response has_password is
430
+ * false, then you should call SetPassword before using a method which needs it.
431
+ * If the account is already activated, return its info.
432
+ * If the key doesn't exist, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrCryptoKeyNotFound.
433
+ *
434
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.ActivateAccount
435
+ */
436
+ activateAccount: {
437
+ methodKind: "unary";
438
+ input: typeof ActivateAccountRequestSchema;
439
+ output: typeof ActivateAccountResponseSchema;
440
+ },
441
+ /**
442
+ * Set the password for the account in the keybase with the given address.
443
+ * If there is no activated account with the given address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount.
444
+ * If the password is wrong, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrDecryptionFailed.
445
+ *
446
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.SetPassword
447
+ */
448
+ setPassword: {
449
+ methodKind: "unary";
450
+ input: typeof SetPasswordRequestSchema;
451
+ output: typeof SetPasswordResponseSchema;
452
+ },
453
+ /**
454
+ * Rotate the password of a key to a new password for the accounts in the keybase with the given addresses.
455
+ * Before calling this, you must call SetPassword with the current password for each account.
456
+ * If there is an error, then roll back all accounts to the current password.
457
+ * If there is no activated account with the given address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount.
458
+ *
459
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.RotatePassword
460
+ */
461
+ rotatePassword: {
462
+ methodKind: "unary";
463
+ input: typeof RotatePasswordRequestSchema;
464
+ output: typeof RotatePasswordResponseSchema;
465
+ },
466
+ /**
467
+ * GetActivatedAccount gets the info of the account by address which has been activated by ActivateAccount.
468
+ * If there the given address is not specified, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrInvalidAddress.
469
+ * If there is no activated account with the given address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount.
470
+ *
471
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.GetActivatedAccount
472
+ */
473
+ getActivatedAccount: {
474
+ methodKind: "unary";
475
+ input: typeof GetActivatedAccountRequestSchema;
476
+ output: typeof GetActivatedAccountResponseSchema;
477
+ },
478
+ /**
479
+ * QueryAccount retrieves account information from the blockchain for a given
480
+ * address.
481
+ *
482
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.QueryAccount
483
+ */
484
+ queryAccount: {
485
+ methodKind: "unary";
486
+ input: typeof QueryAccountRequestSchema;
487
+ output: typeof QueryAccountResponseSchema;
488
+ },
489
+ /**
490
+ * DeleteAccount deletes the account with the given name, using the password
491
+ * to ensure access. However, if skip_password is true, then ignore the
492
+ * password.
493
+ * If the account doesn't exist, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrCryptoKeyNotFound.
494
+ * If the password is wrong, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrDecryptionFailed.
495
+ *
496
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.DeleteAccount
497
+ */
498
+ deleteAccount: {
499
+ methodKind: "unary";
500
+ input: typeof DeleteAccountRequestSchema;
501
+ output: typeof DeleteAccountResponseSchema;
502
+ },
503
+ /**
504
+ * Make an ABCI query to the remote node.
505
+ * If the request path is unrecognized, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrUnknownRequest.
506
+ * If the request data has a package path that is unrecognized, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrInvalidPkgPath.
507
+ *
508
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.Query
509
+ */
510
+ query: {
511
+ methodKind: "unary";
512
+ input: typeof QueryRequestSchema;
513
+ output: typeof QueryResponseSchema;
514
+ },
515
+ /**
516
+ * Render calls the Render function for package_path with optional args. The
517
+ * package path should include the prefix like "gno.land/". This is similar to
518
+ * using a browser URL <nodeURL>/<pkgPath>:<args> where <pkgPath> doesn't have
519
+ * the prefix like "gno.land/".
520
+ * If the request package_path is unrecognized, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrInvalidPkgPath.
521
+ *
522
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.Render
523
+ */
524
+ render: {
525
+ methodKind: "unary";
526
+ input: typeof RenderRequestSchema;
527
+ output: typeof RenderResponseSchema;
528
+ },
529
+ /**
530
+ * QEval evaluates the given expression with the realm code at package_path.
531
+ * The package path should include the prefix like "gno.land/". The expression
532
+ * is usually a function call like "GetBoardIDFromName(\"testboard\")". The
533
+ * return value is a typed expression like
534
+ * "(1 gno.land/r/demo/boards.BoardID)\n(true bool)".
535
+ * If the request package_path is unrecognized, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrInvalidPkgPath.
536
+ *
537
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.QEval
538
+ */
539
+ qEval: {
540
+ methodKind: "unary";
541
+ input: typeof QEvalRequestSchema;
542
+ output: typeof QEvalResponseSchema;
543
+ },
544
+ /**
545
+ * Call a specific realm function. Sign the transaction with the given caller_address.
546
+ * If there is no activated account with the given caller_address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount.
547
+ * If the password is wrong, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrDecryptionFailed.
548
+ * If the path of a realm function call is unrecognized, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrUnknownRequest.
549
+ *
550
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.Call
551
+ */
552
+ call: {
553
+ methodKind: "server_streaming";
554
+ input: typeof CallRequestSchema;
555
+ output: typeof CallResponseSchema;
556
+ },
557
+ /**
558
+ * Send currency from the account with the given caller_address to an account on the blockchain.
559
+ * If there is no activated account with the given caller_address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount.
560
+ * If the password is wrong, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrDecryptionFailed.
561
+ *
562
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.Send
563
+ */
564
+ send: {
565
+ methodKind: "server_streaming";
566
+ input: typeof SendRequestSchema;
567
+ output: typeof SendResponseSchema;
568
+ },
569
+ /**
570
+ * Temporarily load the code in package on the blockchain and run main() which can
571
+ * call realm functions and use println() to output to the "console". Sign the transaction with the given caller_address.
572
+ * This returns the "console" output.
573
+ * If there is no activated account with the given caller_address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount.
574
+ *
575
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.Run
576
+ */
577
+ run: {
578
+ methodKind: "server_streaming";
579
+ input: typeof RunRequestSchema;
580
+ output: typeof RunResponseSchema;
581
+ },
582
+ /**
583
+ * Make an unsigned transaction to call a specific realm function.
584
+ *
585
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.MakeCallTx
586
+ */
587
+ makeCallTx: {
588
+ methodKind: "unary";
589
+ input: typeof CallRequestSchema;
590
+ output: typeof MakeTxResponseSchema;
591
+ },
592
+ /**
593
+ * Make an unsigned transaction to send currency to an account on the blockchain.
594
+ *
595
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.MakeSendTx
596
+ */
597
+ makeSendTx: {
598
+ methodKind: "unary";
599
+ input: typeof SendRequestSchema;
600
+ output: typeof MakeTxResponseSchema;
601
+ },
602
+ /**
603
+ * Make an unsigned transaction to temporarily load the code in package on the blockchain and run main().
604
+ *
605
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.MakeRunTx
606
+ */
607
+ makeRunTx: {
608
+ methodKind: "unary";
609
+ input: typeof RunRequestSchema;
610
+ output: typeof MakeTxResponseSchema;
611
+ },
612
+ /**
613
+ * EstimateGas estimates the least amount of gas required for the transaction to go through on the chain (minimum gas wanted), with a security margin.
614
+ * If UpdateTx is true, then update the transaction with the gasWanted amount.
615
+ *
616
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.EstimateGas
617
+ */
618
+ estimateGas: {
619
+ methodKind: "unary";
620
+ input: typeof EstimateGasRequestSchema;
621
+ output: typeof EstimateGasResponseSchema;
622
+ },
623
+ /**
624
+ * Sign the transaction using the account with the given address.
625
+ * If there is no activated account with the given address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount.
626
+ * If the password is wrong, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrDecryptionFailed.
627
+ *
628
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.SignTx
629
+ */
630
+ signTx: {
631
+ methodKind: "unary";
632
+ input: typeof SignTxRequestSchema;
633
+ output: typeof SignTxResponseSchema;
634
+ },
635
+ /**
636
+ * Broadcast the signed transaction to the blockchain configured in GetRemote and return a stream result.
637
+ *
638
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.BroadcastTxCommit
639
+ */
640
+ broadcastTxCommit: {
641
+ methodKind: "server_streaming";
642
+ input: typeof BroadcastTxCommitRequestSchema;
643
+ output: typeof BroadcastTxCommitResponseSchema;
644
+ },
645
+ /**
646
+ * Convert a byte array address to a bech32 string address.
647
+ *
648
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.AddressToBech32
649
+ */
650
+ addressToBech32: {
651
+ methodKind: "unary";
652
+ input: typeof AddressToBech32RequestSchema;
653
+ output: typeof AddressToBech32ResponseSchema;
654
+ },
655
+ /**
656
+ * Convert a bech32 string address to a byte array address.
657
+ *
658
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.AddressFromBech32
659
+ */
660
+ addressFromBech32: {
661
+ methodKind: "unary";
662
+ input: typeof AddressFromBech32RequestSchema;
663
+ output: typeof AddressFromBech32ResponseSchema;
664
+ },
665
+ /**
666
+ * Convert a mnemonic (as in CreateAccount) to a byte array address.
667
+ *
668
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.AddressFromMnemonic
669
+ */
670
+ addressFromMnemonic: {
671
+ methodKind: "unary";
672
+ input: typeof AddressFromMnemonicRequestSchema;
673
+ output: typeof AddressFromMnemonicResponseSchema;
674
+ },
675
+ /**
676
+ * Hello is for debug purposes
677
+ *
678
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.Hello
679
+ */
680
+ hello: {
681
+ methodKind: "unary";
682
+ input: typeof HelloRequestSchema;
683
+ output: typeof HelloResponseSchema;
684
+ },
685
+ /**
686
+ * HelloStream is for debug purposes
687
+ *
688
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.HelloStream
689
+ */
690
+ helloStream: {
691
+ methodKind: "server_streaming";
692
+ input: typeof HelloStreamRequestSchema;
693
+ output: typeof HelloStreamResponseSchema;
694
+ },
695
+ }> = /*@__PURE__*/
696
+ serviceDesc(file_rpc, 0);
697
+