diff --git a/Makefile b/Makefile
index 93183a95..3df92a4b 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ check-program = $(foreach exec,$(1),$(if $(shell PATH="$(PATH)" which $(exec)),,
# Get the temporary directory of the system
TEMPDIR := $(shell dirname $(shell mktemp -u))
-APP_NAME := gnoboard
+APP_NAME ?= gnoboard
# Define the directory that contains the current Makefile
make_dir := $(realpath $(dir $(abspath $(lastword $(MAKEFILE_LIST)))))
@@ -70,8 +70,8 @@ fclean:
# - API : Handle API generation and cleaning
-api.generate: _api.generate.protocol
-api.clean: _api.clean.protocol
+api.generate: _api.generate.protocol _api.generate.modules
+api.clean: _api.clean.protocol _api.clean.modules
# - API - rpc
@@ -97,7 +97,14 @@ $(gen_sum): $(gen_src)
go mod tidy \
)
-.PHONY: api.generate _api.generate.protocol _api.clean.protocol
+_api.generate.modules:
+ $(call check-program, yarn)
+ cd api; yarn
+
+_api.clean.modules:
+ cd api; rm -fr node_modules
+
+.PHONY: api.generate _api.generate.protocol _api.generate.modules _api.clean.protocol _api.clean.modules
# - Bind : Handle gomobile bind
@@ -168,6 +175,7 @@ asdf.install_tools: asdf.add_plugins
# Script to create a new app
yarn_basic_dependencies := @bufbuild/protobuf @connectrpc/connect @connectrpc/connect-web react-native-polyfill-globals react-native-url-polyfill web-streams-polyfill react-native-get-random-values text-encoding base-64 react-native-fetch-api
+yarn_basic_dev_dependencies = @tsconfig/react-native babel-plugin-module-resolver
OUTPUT_DIR := $(make_dir)/examples/react-native
new-app:
@@ -189,7 +197,7 @@ new-react-native-app:
@echo "Creating ios and android folders"
cd $(OUTPUT_DIR)/$(APP_NAME) && yarn expo prebuild
@echo "Installing yarn dependencies"
- cd $(OUTPUT_DIR)/$(APP_NAME) && yarn add ${yarn_basic_dependencies}
+ cd $(OUTPUT_DIR)/$(APP_NAME) && yarn add ${yarn_basic_dependencies} && yarn add -D ${yarn_basic_dev_dependencies}
@echo "Building GnoCore.xcframework for the new app"
$(MAKE) build.ios APP_NAME=$(APP_NAME) APP_OUTPUT_DIR=$(OUTPUT_DIR)/$(APP_NAME)
@@ -197,10 +205,8 @@ new-react-native-app:
copy-js-files:
$(call check-program, jq)
@echo "Copying js files"
- @mkdir -p $(OUTPUT_DIR)/$(APP_NAME)/src/api
@mkdir -p $(OUTPUT_DIR)/$(APP_NAME)/src/grpc
@mkdir -p $(OUTPUT_DIR)/$(APP_NAME)/src/hooks
- @cp -r $(gnoboard_dir)/src/api $(OUTPUT_DIR)/$(APP_NAME)/src
@cp -r $(gnoboard_dir)/src/grpc $(OUTPUT_DIR)/$(APP_NAME)/src
@cp -r $(gnoboard_dir)/src/hooks $(OUTPUT_DIR)/$(APP_NAME)/src
@cp -r $(gnoboard_dir)/src/native_modules $(OUTPUT_DIR)/$(APP_NAME)/src
@@ -208,6 +214,8 @@ copy-js-files:
@cp -r $(gnoboard_dir)/android/.gitignore $(OUTPUT_DIR)/$(APP_NAME)/android
@cp -r $(gnoboard_dir)/ios/.gitignore $(OUTPUT_DIR)/$(APP_NAME)/ios
@cp $(make_dir)/templates/tsconfig.json $(OUTPUT_DIR)/$(APP_NAME)/tsconfig.json
+ @cp $(make_dir)/templates/babel.config.js $(OUTPUT_DIR)/$(APP_NAME)/babel.config.js
+ @cp $(make_dir)/templates/metro.config.js $(OUTPUT_DIR)/$(APP_NAME)/metro.config.js
@cp $(make_dir)/templates/App.tsx $(OUTPUT_DIR)/$(APP_NAME)/App.tsx
# build GnoCore.xcframework for the new app
@@ -217,6 +225,7 @@ new-app-build-ios:
@cp -r $(gnoboard_dir)/ios/gnoboard/Sources $(OUTPUT_DIR)/$(APP_NAME)/ios/$(APP_NAME)/
@cp $(gnoboard_dir)/ios/gnoboard/gnoboard-Bridging-Header.h $(OUTPUT_DIR)/$(APP_NAME)/ios/$(APP_NAME)/$(APP_NAME)-Bridging-Header.h
@cp -r $(gnoboard_dir)/ios/Sources $(OUTPUT_DIR)/$(APP_NAME)/ios/
+ @cd $(OUTPUT_DIR)/$(APP_NAME) && $(MAKE) ios/$(APP_NAME).xcworkspace TEMPLATE_PROJECT=$(APP_NAME)
JSON_FILE := $(OUTPUT_DIR)/$(APP_NAME)/app.json
# add tsconfigPaths entry to app.json
diff --git a/api/.gitignore b/api/.gitignore
new file mode 100644
index 00000000..3c3629e6
--- /dev/null
+++ b/api/.gitignore
@@ -0,0 +1 @@
+node_modules
diff --git a/api/gen/es/rpc_pb.d.ts b/api/gen/es/rpc_pb.d.ts
index f39e7b78..f1e27894 100644
--- a/api/gen/es/rpc_pb.d.ts
+++ b/api/gen/es/rpc_pb.d.ts
@@ -1,4 +1,4 @@
-// @generated by protoc-gen-es v1.6.0
+// @generated by protoc-gen-es v1.7.2
// @generated from file rpc.proto (package land.gno.gnonative.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
diff --git a/api/gen/es/rpc_pb.js b/api/gen/es/rpc_pb.js
index e73075e5..4958f34c 100644
--- a/api/gen/es/rpc_pb.js
+++ b/api/gen/es/rpc_pb.js
@@ -1,4 +1,4 @@
-// @generated by protoc-gen-es v1.6.0
+// @generated by protoc-gen-es v1.7.2
// @generated from file rpc.proto (package land.gno.gnonative.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
diff --git a/api/gen/go/_goconnect/rpc.connect.go b/api/gen/go/_goconnect/rpc.connect.go
index e84483d4..615942c5 100644
--- a/api/gen/go/_goconnect/rpc.connect.go
+++ b/api/gen/go/_goconnect/rpc.connect.go
@@ -5,13 +5,12 @@
package _goconnect
import (
+ connect "connectrpc.com/connect"
context "context"
errors "errors"
+ _go "github.com/gnolang/gnonative/api/gen/go"
http "net/http"
strings "strings"
-
- connect "connectrpc.com/connect"
- _go "github.com/gnolang/gnonative/api/gen/go"
)
// This is a compile-time assertion to ensure that this generated file and the connect package are
diff --git a/api/package.json b/api/package.json
new file mode 100644
index 00000000..c5ec504e
--- /dev/null
+++ b/api/package.json
@@ -0,0 +1,10 @@
+{
+ "name": "api",
+ "version": "1.0.0",
+ "main": "index.js",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/runtime": "^7.23.6",
+ "@bufbuild/protobuf": "^1.6.0"
+ }
+}
diff --git a/api/yarn.lock b/api/yarn.lock
new file mode 100644
index 00000000..498e3c4e
--- /dev/null
+++ b/api/yarn.lock
@@ -0,0 +1,20 @@
+# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
+# yarn lockfile v1
+
+
+"@babel/runtime@^7.23.6":
+ version "7.23.6"
+ resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.23.6.tgz#c05e610dc228855dc92ef1b53d07389ed8ab521d"
+ integrity sha512-zHd0eUrf5GZoOWVCXp6koAKQTfZV07eit6bGPmJgnZdnSAvvZee6zniW2XMF7Cmc4ISOOnPy3QaSiIJGJkVEDQ==
+ dependencies:
+ regenerator-runtime "^0.14.0"
+
+"@bufbuild/protobuf@^1.6.0":
+ version "1.6.0"
+ resolved "https://registry.yarnpkg.com/@bufbuild/protobuf/-/protobuf-1.6.0.tgz#c33128f70330312e2bd78fd7e988576595b8f74d"
+ integrity sha512-hp19vSFgNw3wBBcVBx5qo5pufCqjaJ0Cfk5H/pfjNOfNWU+4/w0QVOmfAOZNRrNWRrVuaJWxcN8P2vhOkkzbBQ==
+
+regenerator-runtime@^0.14.0:
+ version "0.14.0"
+ resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.14.0.tgz#5e19d68eb12d486f797e15a3c6a918f7cec5eb45"
+ integrity sha512-srw17NI0TUWHuGa5CFGGmhfNIeja30WMBfbslPNhf6JrqQlLN5gcrvig1oqPxiVaXb0oW0XRKtH6Nngs5lKCIA==
diff --git a/examples/electron/README.md b/examples/electron/README.md
deleted file mode 100644
index 2fe1850e..00000000
--- a/examples/electron/README.md
+++ /dev/null
@@ -1,109 +0,0 @@
-# Installing GNO and Electron
-
-To make our setup easier, let's use the Electron TypeScript boilerplate. It's a simple Electron app that uses TypeScript and TSC compiler.
-
-### Get the boilerplate from GitHub:
-
-```bash
-cd gnonative/examples
-
-curl -LO https://github.com/electron/electron-quick-start-typescript/archive/refs/heads/main.zip
-```
-
-### Unzip the file:
-
-```bash
-unzip main.zip
-```
-
-### Go to the directory and install the dependencies:
-
-```bash
-cd electron-quick-start-typescript-main
-
-npm install @connectrpc/connect @connectrpc/connect-node @connectrpc/protoc-gen-connect-es @bufbuild/protobuf @bufbuild/buf @bufbuild/protoc-gen-es
-```
-
-### Enable the Electron-Nodejs integration:
-
-Open the `src/main.ts` file and add the line `nodeIntegration: true` to `webPreferences`.
-More details about Electron-Nodejs integration can be found [here](https://www.electronjs.org/docs/latest/tutorial/sandbox#disabling-the-sandbox-for-a-single-process).
-
-```bash
-webPreferences: {
- preload: path.join(__dirname, "preload.js"),
- nodeIntegration: true,
-},
-```
-
-### Update the `package.json` file:
-
-In order to allow the TSC compiler to compile the JS files, we need to add the `--AllowJs` flag to the build script:
-
-```bash
-"scripts": {
- "build": "tsc --AllowJs",
- ...
-```
-
-### Copy the GNO files to the boilerplate directory:
-
-Now we need to copy the GNO files to the boilerplate directory. We will copy the `gnonative/api/gen/es` directory and the `templates/es/use-gno.ts` file to the `src/api` directory.
-
-```bash
-cp -r ../../api/gen/es ./src/api
-cp ../../templates/es/use-gno.ts ./src/api/use-gno.ts
-```
-
-### Communicating with the Blockchain:
-
-Let's open the `src/preload.ts` file and add change it a little bit.
-
-We'll use the GnoNative Javascript GRPC Client wrapper (aka: `useGno`) to communicate with the GnoNative GRPC Server.
-
-At the top of the `src/preload.ts` file add `import { useGno } from "./api/use-gno"`.
-
-And use the `useGno` function to create a "gno service instance" and become able to call the RPC methods already available.
-
-Check out this sample code bellow.
-
-```bash
-import { useGno } from "./api/use-gno";
-
-
-window.addEventListener("DOMContentLoaded", () => {
-
- const replaceText = (selector: string, text: string) => {
- const element = document.getElementById(selector);
- if (element) {
- element.innerText = text;
- }
- };
-
- const gno = useGno();
- gno.getRemote().then((res) => {
- replaceText("gnoRemoteAddress", res);
- });
-});
-```
-
-In the `index.html` file, add the following line to the ```
``` element to display the **Gno Remote Address**:
-
-```html
- GNO Remote Address: .
-```
-
-### Run:
-
-In a separate terminal, from the root of the repo, enter the bellow command to start the GnoNative GRPC Server:
-
-```bash
-cd gnonative/gnoserver
-go run . tcp
-```
-
-and in the Electron boilerplate folder, enter:
-
-```bash
-npm start
-```
diff --git a/examples/react-native/gnoboard/babel.config.js b/examples/react-native/gnoboard/babel.config.js
index 885ebfe4..3cb997d7 100644
--- a/examples/react-native/gnoboard/babel.config.js
+++ b/examples/react-native/gnoboard/babel.config.js
@@ -10,6 +10,7 @@ module.exports = function (api) {
extensions: ['.ios.js', '.android.js', '.js', '.ts', '.tsx', '.json'],
alias: {
'@gno': './src/',
+ '@api': '../../../api/gen/es',
},
},
],
diff --git a/examples/react-native/gnoboard/ios/gnoboard.xcodeproj/project.pbxproj b/examples/react-native/gnoboard/ios/gnoboard.xcodeproj/project.pbxproj
index 18345cbb..36c3722c 100644
--- a/examples/react-native/gnoboard/ios/gnoboard.xcodeproj/project.pbxproj
+++ b/examples/react-native/gnoboard/ios/gnoboard.xcodeproj/project.pbxproj
@@ -404,7 +404,7 @@
"FB_SONARKIT_ENABLED=1",
);
INFOPLIST_FILE = gnoboard/Info.plist;
- IPHONEOS_DEPLOYMENT_TARGET = 13.0;
+ IPHONEOS_DEPLOYMENT_TARGET = 13.4;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
@@ -436,7 +436,7 @@
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = gnoboard/Info.plist;
- IPHONEOS_DEPLOYMENT_TARGET = 13.0;
+ IPHONEOS_DEPLOYMENT_TARGET = 13.4;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
@@ -526,8 +526,8 @@
OTHER_CPLUSPLUSFLAGS = "$(inherited)";
OTHER_LDFLAGS = (
"$(inherited)",
- " ",
- "-Wl -ld_classic ",
+ "-Wl",
+ "-ld_classic",
);
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
SDKROOT = iphoneos;
@@ -598,8 +598,8 @@
OTHER_CPLUSPLUSFLAGS = "$(inherited)";
OTHER_LDFLAGS = (
"$(inherited)",
- " ",
- "-Wl -ld_classic ",
+ "-Wl",
+ "-ld_classic",
);
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
SDKROOT = iphoneos;
diff --git a/examples/react-native/gnoboard/metro.config.js b/examples/react-native/gnoboard/metro.config.js
new file mode 100644
index 00000000..956bcb74
--- /dev/null
+++ b/examples/react-native/gnoboard/metro.config.js
@@ -0,0 +1,14 @@
+// Learn more https://docs.expo.io/guides/customizing-metro
+const { getDefaultConfig } = require('expo/metro-config');
+const { mergeConfig } = require('metro-config');
+const path = require('path');
+
+/** @type {import('expo/metro-config').MetroConfig} */
+// const config = getDefaultConfig(__dirname);
+//
+// module.exports = config;
+const config = {
+ watchFolders: [path.resolve(__dirname + '/../../../api')],
+};
+
+module.exports = mergeConfig(getDefaultConfig(__dirname), config);
diff --git a/examples/react-native/gnoboard/src/api/gnonativetypes_pb.d.ts b/examples/react-native/gnoboard/src/api/gnonativetypes_pb.d.ts
deleted file mode 100644
index d4108712..00000000
--- a/examples/react-native/gnoboard/src/api/gnonativetypes_pb.d.ts
+++ /dev/null
@@ -1,1639 +0,0 @@
-// @generated by protoc-gen-es v1.7.2
-// @generated from file gnonativetypes.proto (package land.gno.gnonative.v1, syntax proto3)
-/* eslint-disable */
-// @ts-nocheck
-
-import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
-import { Message, proto3 } from "@bufbuild/protobuf";
-
-/**
- * messages
- *
- * @generated from message land.gno.gnonative.v1.SetRemoteRequest
- */
-export declare class SetRemoteRequest extends Message {
- /**
- * @generated from field: string remote = 1;
- */
- remote: string;
-
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.SetRemoteRequest";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): SetRemoteRequest;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): SetRemoteRequest;
-
- static fromJsonString(jsonString: string, options?: Partial): SetRemoteRequest;
-
- static equals(a: SetRemoteRequest | PlainMessage | undefined, b: SetRemoteRequest | PlainMessage | undefined): boolean;
-}
-
-/**
- * @generated from message land.gno.gnonative.v1.SetRemoteResponse
- */
-export declare class SetRemoteResponse extends Message {
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.SetRemoteResponse";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): SetRemoteResponse;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): SetRemoteResponse;
-
- static fromJsonString(jsonString: string, options?: Partial): SetRemoteResponse;
-
- static equals(a: SetRemoteResponse | PlainMessage | undefined, b: SetRemoteResponse | PlainMessage | undefined): boolean;
-}
-
-/**
- * @generated from message land.gno.gnonative.v1.GetRemoteRequest
- */
-export declare class GetRemoteRequest extends Message {
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.GetRemoteRequest";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): GetRemoteRequest;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): GetRemoteRequest;
-
- static fromJsonString(jsonString: string, options?: Partial): GetRemoteRequest;
-
- static equals(a: GetRemoteRequest | PlainMessage | undefined, b: GetRemoteRequest | PlainMessage | undefined): boolean;
-}
-
-/**
- * @generated from message land.gno.gnonative.v1.GetRemoteResponse
- */
-export declare class GetRemoteResponse extends Message {
- /**
- * @generated from field: string remote = 1;
- */
- remote: string;
-
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.GetRemoteResponse";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): GetRemoteResponse;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): GetRemoteResponse;
-
- static fromJsonString(jsonString: string, options?: Partial): GetRemoteResponse;
-
- static equals(a: GetRemoteResponse | PlainMessage | undefined, b: GetRemoteResponse | PlainMessage | undefined): boolean;
-}
-
-/**
- * @generated from message land.gno.gnonative.v1.SetChainIDRequest
- */
-export declare class SetChainIDRequest extends Message {
- /**
- * @generated from field: string chain_id = 1;
- */
- chainId: string;
-
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.SetChainIDRequest";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): SetChainIDRequest;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): SetChainIDRequest;
-
- static fromJsonString(jsonString: string, options?: Partial): SetChainIDRequest;
-
- static equals(a: SetChainIDRequest | PlainMessage | undefined, b: SetChainIDRequest | PlainMessage | undefined): boolean;
-}
-
-/**
- * @generated from message land.gno.gnonative.v1.SetChainIDResponse
- */
-export declare class SetChainIDResponse extends Message {
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.SetChainIDResponse";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): SetChainIDResponse;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): SetChainIDResponse;
-
- static fromJsonString(jsonString: string, options?: Partial): SetChainIDResponse;
-
- static equals(a: SetChainIDResponse | PlainMessage | undefined, b: SetChainIDResponse | PlainMessage | undefined): boolean;
-}
-
-/**
- * @generated from message land.gno.gnonative.v1.GetChainIDRequest
- */
-export declare class GetChainIDRequest extends Message {
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.GetChainIDRequest";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): GetChainIDRequest;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): GetChainIDRequest;
-
- static fromJsonString(jsonString: string, options?: Partial): GetChainIDRequest;
-
- static equals(a: GetChainIDRequest | PlainMessage | undefined, b: GetChainIDRequest | PlainMessage | undefined): boolean;
-}
-
-/**
- * @generated from message land.gno.gnonative.v1.GetChainIDResponse
- */
-export declare class GetChainIDResponse extends Message {
- /**
- * @generated from field: string chain_id = 1;
- */
- chainId: string;
-
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.GetChainIDResponse";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): GetChainIDResponse;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): GetChainIDResponse;
-
- static fromJsonString(jsonString: string, options?: Partial): GetChainIDResponse;
-
- static equals(a: GetChainIDResponse | PlainMessage | undefined, b: GetChainIDResponse | PlainMessage | undefined): boolean;
-}
-
-/**
- * @generated from message land.gno.gnonative.v1.SetPasswordRequest
- */
-export declare class SetPasswordRequest extends Message {
- /**
- * @generated from field: string password = 1;
- */
- password: string;
-
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.SetPasswordRequest";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): SetPasswordRequest;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): SetPasswordRequest;
-
- static fromJsonString(jsonString: string, options?: Partial): SetPasswordRequest;
-
- static equals(a: SetPasswordRequest | PlainMessage | undefined, b: SetPasswordRequest | PlainMessage | undefined): boolean;
-}
-
-/**
- * @generated from message land.gno.gnonative.v1.SetPasswordResponse
- */
-export declare class SetPasswordResponse extends Message {
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.SetPasswordResponse";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): SetPasswordResponse;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): SetPasswordResponse;
-
- static fromJsonString(jsonString: string, options?: Partial): SetPasswordResponse;
-
- static equals(a: SetPasswordResponse | PlainMessage | undefined, b: SetPasswordResponse | PlainMessage | undefined): boolean;
-}
-
-/**
- * @generated from message land.gno.gnonative.v1.GenerateRecoveryPhraseRequest
- */
-export declare class GenerateRecoveryPhraseRequest extends Message {
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.GenerateRecoveryPhraseRequest";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): GenerateRecoveryPhraseRequest;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): GenerateRecoveryPhraseRequest;
-
- static fromJsonString(jsonString: string, options?: Partial): GenerateRecoveryPhraseRequest;
-
- static equals(a: GenerateRecoveryPhraseRequest | PlainMessage | undefined, b: GenerateRecoveryPhraseRequest | PlainMessage | undefined): boolean;
-}
-
-/**
- * @generated from message land.gno.gnonative.v1.GenerateRecoveryPhraseResponse
- */
-export declare class GenerateRecoveryPhraseResponse extends Message {
- /**
- * @generated from field: string phrase = 1;
- */
- phrase: string;
-
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.GenerateRecoveryPhraseResponse";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): GenerateRecoveryPhraseResponse;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): GenerateRecoveryPhraseResponse;
-
- static fromJsonString(jsonString: string, options?: Partial): GenerateRecoveryPhraseResponse;
-
- static equals(a: GenerateRecoveryPhraseResponse | PlainMessage | undefined, b: GenerateRecoveryPhraseResponse | PlainMessage | undefined): boolean;
-}
-
-/**
- * @generated from message land.gno.gnonative.v1.KeyInfo
- */
-export declare class KeyInfo extends Message {
- /**
- * 0: local, 1: ledger, 2: offline, 3: multi
- *
- * @generated from field: uint32 type = 1;
- */
- type: number;
-
- /**
- * @generated from field: string name = 2;
- */
- name: string;
-
- /**
- * @generated from field: bytes pub_key = 3;
- */
- pubKey: Uint8Array;
-
- /**
- * @generated from field: bytes address = 4;
- */
- address: Uint8Array;
-
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.KeyInfo";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): KeyInfo;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): KeyInfo;
-
- static fromJsonString(jsonString: string, options?: Partial): KeyInfo;
-
- static equals(a: KeyInfo | PlainMessage | undefined, b: KeyInfo | PlainMessage | undefined): boolean;
-}
-
-/**
- * Coin holds some amount of one currency.
- * A negative amount is invalid.
- *
- * @generated from message land.gno.gnonative.v1.Coin
- */
-export declare class Coin extends Message {
- /**
- * @generated from field: string denom = 1;
- */
- denom: string;
-
- /**
- * @generated from field: sint64 amount = 2;
- */
- amount: bigint;
-
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.Coin";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): Coin;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): Coin;
-
- static fromJsonString(jsonString: string, options?: Partial): Coin;
-
- static equals(a: Coin | PlainMessage | undefined, b: Coin | PlainMessage | undefined): boolean;
-}
-
-/**
- * @generated from message land.gno.gnonative.v1.BaseAccount
- */
-export declare class BaseAccount extends Message {
- /**
- * @generated from field: bytes address = 1;
- */
- address: Uint8Array;
-
- /**
- * @generated from field: repeated land.gno.gnonative.v1.Coin coins = 2;
- */
- coins: Coin[];
-
- /**
- * @generated from field: bytes pub_key = 3;
- */
- pubKey: Uint8Array;
-
- /**
- * @generated from field: uint64 account_number = 4;
- */
- accountNumber: bigint;
-
- /**
- * @generated from field: uint64 sequence = 5;
- */
- sequence: bigint;
-
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.BaseAccount";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): BaseAccount;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): BaseAccount;
-
- static fromJsonString(jsonString: string, options?: Partial): BaseAccount;
-
- static equals(a: BaseAccount | PlainMessage | undefined, b: BaseAccount | PlainMessage | undefined): boolean;
-}
-
-/**
- * @generated from message land.gno.gnonative.v1.ListKeyInfoRequest
- */
-export declare class ListKeyInfoRequest extends Message {
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.ListKeyInfoRequest";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): ListKeyInfoRequest;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): ListKeyInfoRequest;
-
- static fromJsonString(jsonString: string, options?: Partial): ListKeyInfoRequest;
-
- static equals(a: ListKeyInfoRequest | PlainMessage | undefined, b: ListKeyInfoRequest | PlainMessage | undefined): boolean;
-}
-
-/**
- * @generated from message land.gno.gnonative.v1.ListKeyInfoResponse
- */
-export declare class ListKeyInfoResponse extends Message {
- /**
- * @generated from field: repeated land.gno.gnonative.v1.KeyInfo keys = 1 [json_name = "key_info"];
- */
- keys: KeyInfo[];
-
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.ListKeyInfoResponse";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): ListKeyInfoResponse;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): ListKeyInfoResponse;
-
- static fromJsonString(jsonString: string, options?: Partial): ListKeyInfoResponse;
-
- static equals(a: ListKeyInfoResponse | PlainMessage | undefined, b: ListKeyInfoResponse | PlainMessage | undefined): boolean;
-}
-
-/**
- * @generated from message land.gno.gnonative.v1.HasKeyByNameRequest
- */
-export declare class HasKeyByNameRequest extends Message {
- /**
- * @generated from field: string name = 1;
- */
- name: string;
-
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.HasKeyByNameRequest";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): HasKeyByNameRequest;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): HasKeyByNameRequest;
-
- static fromJsonString(jsonString: string, options?: Partial): HasKeyByNameRequest;
-
- static equals(a: HasKeyByNameRequest | PlainMessage | undefined, b: HasKeyByNameRequest | PlainMessage | undefined): boolean;
-}
-
-/**
- * @generated from message land.gno.gnonative.v1.HasKeyByNameResponse
- */
-export declare class HasKeyByNameResponse extends Message {
- /**
- * @generated from field: bool has = 1;
- */
- has: boolean;
-
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.HasKeyByNameResponse";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): HasKeyByNameResponse;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): HasKeyByNameResponse;
-
- static fromJsonString(jsonString: string, options?: Partial): HasKeyByNameResponse;
-
- static equals(a: HasKeyByNameResponse | PlainMessage | undefined, b: HasKeyByNameResponse | PlainMessage | undefined): boolean;
-}
-
-/**
- * @generated from message land.gno.gnonative.v1.HasKeyByAddressRequest
- */
-export declare class HasKeyByAddressRequest extends Message {
- /**
- * @generated from field: bytes address = 1;
- */
- address: Uint8Array;
-
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.HasKeyByAddressRequest";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): HasKeyByAddressRequest;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): HasKeyByAddressRequest;
-
- static fromJsonString(jsonString: string, options?: Partial): HasKeyByAddressRequest;
-
- static equals(a: HasKeyByAddressRequest | PlainMessage | undefined, b: HasKeyByAddressRequest | PlainMessage | undefined): boolean;
-}
-
-/**
- * @generated from message land.gno.gnonative.v1.HasKeyByAddressResponse
- */
-export declare class HasKeyByAddressResponse extends Message {
- /**
- * @generated from field: bool has = 1;
- */
- has: boolean;
-
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.HasKeyByAddressResponse";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): HasKeyByAddressResponse;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): HasKeyByAddressResponse;
-
- static fromJsonString(jsonString: string, options?: Partial): HasKeyByAddressResponse;
-
- static equals(a: HasKeyByAddressResponse | PlainMessage | undefined, b: HasKeyByAddressResponse | PlainMessage | undefined): boolean;
-}
-
-/**
- * @generated from message land.gno.gnonative.v1.HasKeyByNameOrAddressRequest
- */
-export declare class HasKeyByNameOrAddressRequest extends Message {
- /**
- * @generated from field: string name_or_bech32 = 1;
- */
- nameOrBech32: string;
-
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.HasKeyByNameOrAddressRequest";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): HasKeyByNameOrAddressRequest;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): HasKeyByNameOrAddressRequest;
-
- static fromJsonString(jsonString: string, options?: Partial): HasKeyByNameOrAddressRequest;
-
- static equals(a: HasKeyByNameOrAddressRequest | PlainMessage | undefined, b: HasKeyByNameOrAddressRequest | PlainMessage | undefined): boolean;
-}
-
-/**
- * @generated from message land.gno.gnonative.v1.HasKeyByNameOrAddressResponse
- */
-export declare class HasKeyByNameOrAddressResponse extends Message {
- /**
- * @generated from field: bool has = 1;
- */
- has: boolean;
-
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.HasKeyByNameOrAddressResponse";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): HasKeyByNameOrAddressResponse;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): HasKeyByNameOrAddressResponse;
-
- static fromJsonString(jsonString: string, options?: Partial): HasKeyByNameOrAddressResponse;
-
- static equals(a: HasKeyByNameOrAddressResponse | PlainMessage | undefined, b: HasKeyByNameOrAddressResponse | PlainMessage | undefined): boolean;
-}
-
-/**
- * @generated from message land.gno.gnonative.v1.GetKeyInfoByNameRequest
- */
-export declare class GetKeyInfoByNameRequest extends Message {
- /**
- * @generated from field: string name = 1;
- */
- name: string;
-
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.GetKeyInfoByNameRequest";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): GetKeyInfoByNameRequest;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): GetKeyInfoByNameRequest;
-
- static fromJsonString(jsonString: string, options?: Partial): GetKeyInfoByNameRequest;
-
- static equals(a: GetKeyInfoByNameRequest | PlainMessage | undefined, b: GetKeyInfoByNameRequest | PlainMessage | undefined): boolean;
-}
-
-/**
- * @generated from message land.gno.gnonative.v1.GetKeyInfoByNameResponse
- */
-export declare class GetKeyInfoByNameResponse extends Message {
- /**
- * @generated from field: land.gno.gnonative.v1.KeyInfo key = 1 [json_name = "key_info"];
- */
- key?: KeyInfo;
-
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.GetKeyInfoByNameResponse";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): GetKeyInfoByNameResponse;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): GetKeyInfoByNameResponse;
-
- static fromJsonString(jsonString: string, options?: Partial): GetKeyInfoByNameResponse;
-
- static equals(a: GetKeyInfoByNameResponse | PlainMessage | undefined, b: GetKeyInfoByNameResponse | PlainMessage | undefined): boolean;
-}
-
-/**
- * @generated from message land.gno.gnonative.v1.GetKeyInfoByAddressRequest
- */
-export declare class GetKeyInfoByAddressRequest extends Message {
- /**
- * @generated from field: bytes address = 1;
- */
- address: Uint8Array;
-
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.GetKeyInfoByAddressRequest";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): GetKeyInfoByAddressRequest;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): GetKeyInfoByAddressRequest;
-
- static fromJsonString(jsonString: string, options?: Partial): GetKeyInfoByAddressRequest;
-
- static equals(a: GetKeyInfoByAddressRequest | PlainMessage | undefined, b: GetKeyInfoByAddressRequest | PlainMessage | undefined): boolean;
-}
-
-/**
- * @generated from message land.gno.gnonative.v1.GetKeyInfoByAddressResponse
- */
-export declare class GetKeyInfoByAddressResponse extends Message {
- /**
- * @generated from field: land.gno.gnonative.v1.KeyInfo key = 1 [json_name = "key_info"];
- */
- key?: KeyInfo;
-
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.GetKeyInfoByAddressResponse";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): GetKeyInfoByAddressResponse;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): GetKeyInfoByAddressResponse;
-
- static fromJsonString(jsonString: string, options?: Partial): GetKeyInfoByAddressResponse;
-
- static equals(a: GetKeyInfoByAddressResponse | PlainMessage | undefined, b: GetKeyInfoByAddressResponse | PlainMessage | undefined): boolean;
-}
-
-/**
- * @generated from message land.gno.gnonative.v1.GetKeyInfoByNameOrAddressRequest
- */
-export declare class GetKeyInfoByNameOrAddressRequest extends Message {
- /**
- * @generated from field: string name_or_bech32 = 1;
- */
- nameOrBech32: string;
-
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.GetKeyInfoByNameOrAddressRequest";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): GetKeyInfoByNameOrAddressRequest;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): GetKeyInfoByNameOrAddressRequest;
-
- static fromJsonString(jsonString: string, options?: Partial): GetKeyInfoByNameOrAddressRequest;
-
- static equals(a: GetKeyInfoByNameOrAddressRequest | PlainMessage | undefined, b: GetKeyInfoByNameOrAddressRequest | PlainMessage | undefined): boolean;
-}
-
-/**
- * @generated from message land.gno.gnonative.v1.GetKeyInfoByNameOrAddressResponse
- */
-export declare class GetKeyInfoByNameOrAddressResponse extends Message {
- /**
- * @generated from field: land.gno.gnonative.v1.KeyInfo key = 1 [json_name = "key_info"];
- */
- key?: KeyInfo;
-
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.GetKeyInfoByNameOrAddressResponse";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): GetKeyInfoByNameOrAddressResponse;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): GetKeyInfoByNameOrAddressResponse;
-
- static fromJsonString(jsonString: string, options?: Partial): GetKeyInfoByNameOrAddressResponse;
-
- static equals(a: GetKeyInfoByNameOrAddressResponse | PlainMessage | undefined, b: GetKeyInfoByNameOrAddressResponse | PlainMessage | undefined): boolean;
-}
-
-/**
- * @generated from message land.gno.gnonative.v1.CreateAccountRequest
- */
-export declare class CreateAccountRequest extends Message {
- /**
- * @generated from field: string name_or_bech32 = 1;
- */
- nameOrBech32: string;
-
- /**
- * @generated from field: string mnemonic = 2;
- */
- mnemonic: string;
-
- /**
- * @generated from field: string bip39_passwd = 3;
- */
- bip39Passwd: string;
-
- /**
- * @generated from field: string password = 4;
- */
- password: string;
-
- /**
- * @generated from field: uint32 account = 5;
- */
- account: number;
-
- /**
- * @generated from field: uint32 index = 6;
- */
- index: number;
-
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.CreateAccountRequest";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): CreateAccountRequest;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): CreateAccountRequest;
-
- static fromJsonString(jsonString: string, options?: Partial): CreateAccountRequest;
-
- static equals(a: CreateAccountRequest | PlainMessage | undefined, b: CreateAccountRequest | PlainMessage | undefined): boolean;
-}
-
-/**
- * @generated from message land.gno.gnonative.v1.CreateAccountResponse
- */
-export declare class CreateAccountResponse extends Message {
- /**
- * @generated from field: land.gno.gnonative.v1.KeyInfo key = 1 [json_name = "key_info"];
- */
- key?: KeyInfo;
-
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.CreateAccountResponse";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): CreateAccountResponse;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): CreateAccountResponse;
-
- static fromJsonString(jsonString: string, options?: Partial): CreateAccountResponse;
-
- static equals(a: CreateAccountResponse | PlainMessage | undefined, b: CreateAccountResponse | PlainMessage | undefined): boolean;
-}
-
-/**
- * @generated from message land.gno.gnonative.v1.SelectAccountRequest
- */
-export declare class SelectAccountRequest extends Message {
- /**
- * @generated from field: string name_or_bech32 = 1;
- */
- nameOrBech32: string;
-
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.SelectAccountRequest";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): SelectAccountRequest;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): SelectAccountRequest;
-
- static fromJsonString(jsonString: string, options?: Partial): SelectAccountRequest;
-
- static equals(a: SelectAccountRequest | PlainMessage | undefined, b: SelectAccountRequest | PlainMessage | undefined): boolean;
-}
-
-/**
- * @generated from message land.gno.gnonative.v1.SelectAccountResponse
- */
-export declare class SelectAccountResponse extends Message {
- /**
- * @generated from field: land.gno.gnonative.v1.KeyInfo key = 1 [json_name = "key_info"];
- */
- key?: KeyInfo;
-
- /**
- * True if the password has been set. If false, then call SetPassword.
- *
- * @generated from field: bool has_password = 2;
- */
- hasPassword: boolean;
-
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.SelectAccountResponse";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): SelectAccountResponse;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): SelectAccountResponse;
-
- static fromJsonString(jsonString: string, options?: Partial): SelectAccountResponse;
-
- static equals(a: SelectAccountResponse | PlainMessage | undefined, b: SelectAccountResponse | PlainMessage | undefined): boolean;
-}
-
-/**
- * @generated from message land.gno.gnonative.v1.GetActiveAccountRequest
- */
-export declare class GetActiveAccountRequest extends Message {
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.GetActiveAccountRequest";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): GetActiveAccountRequest;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): GetActiveAccountRequest;
-
- static fromJsonString(jsonString: string, options?: Partial): GetActiveAccountRequest;
-
- static equals(a: GetActiveAccountRequest | PlainMessage | undefined, b: GetActiveAccountRequest | PlainMessage | undefined): boolean;
-}
-
-/**
- * @generated from message land.gno.gnonative.v1.GetActiveAccountResponse
- */
-export declare class GetActiveAccountResponse extends Message {
- /**
- * @generated from field: land.gno.gnonative.v1.KeyInfo key = 1 [json_name = "key_info"];
- */
- key?: KeyInfo;
-
- /**
- * True if the password has been set. If false, then call SetPassword.
- *
- * @generated from field: bool has_password = 2;
- */
- hasPassword: boolean;
-
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.GetActiveAccountResponse";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): GetActiveAccountResponse;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): GetActiveAccountResponse;
-
- static fromJsonString(jsonString: string, options?: Partial): GetActiveAccountResponse;
-
- static equals(a: GetActiveAccountResponse | PlainMessage | undefined, b: GetActiveAccountResponse | PlainMessage | undefined): boolean;
-}
-
-/**
- * @generated from message land.gno.gnonative.v1.QueryAccountRequest
- */
-export declare class QueryAccountRequest extends Message {
- /**
- * @generated from field: bytes address = 1;
- */
- address: Uint8Array;
-
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.QueryAccountRequest";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): QueryAccountRequest;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): QueryAccountRequest;
-
- static fromJsonString(jsonString: string, options?: Partial): QueryAccountRequest;
-
- static equals(a: QueryAccountRequest | PlainMessage | undefined, b: QueryAccountRequest | PlainMessage | undefined): boolean;
-}
-
-/**
- * @generated from message land.gno.gnonative.v1.QueryAccountResponse
- */
-export declare class QueryAccountResponse extends Message {
- /**
- * @generated from field: land.gno.gnonative.v1.BaseAccount account_info = 1;
- */
- accountInfo?: BaseAccount;
-
- constructor(data?: PartialMessage