import * as $protobuf from "protobufjs"; /** Namespace cosmos. */ export namespace cosmos { /** Namespace app. */ namespace app { /** Namespace runtime. */ namespace runtime { /** Namespace v1alpha1. */ namespace v1alpha1 { /** Properties of a Module. */ interface IModule { /** Module app_name */ app_name?: (string|null); /** Module begin_blockers */ begin_blockers?: (string[]|null); /** Module end_blockers */ end_blockers?: (string[]|null); /** Module init_genesis */ init_genesis?: (string[]|null); /** Module export_genesis */ export_genesis?: (string[]|null); /** Module override_store_keys */ override_store_keys?: (cosmos.app.runtime.v1alpha1.IStoreKeyConfig[]|null); } /** Represents a Module. */ class Module implements IModule { /** * Constructs a new Module. * @param [properties] Properties to set */ constructor(properties?: cosmos.app.runtime.v1alpha1.IModule); /** Module app_name. */ public app_name: string; /** Module begin_blockers. */ public begin_blockers: string[]; /** Module end_blockers. */ public end_blockers: string[]; /** Module init_genesis. */ public init_genesis: string[]; /** Module export_genesis. */ public export_genesis: string[]; /** Module override_store_keys. */ public override_store_keys: cosmos.app.runtime.v1alpha1.IStoreKeyConfig[]; /** * Encodes the specified Module message. Does not implicitly {@link cosmos.app.runtime.v1alpha1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.app.runtime.v1alpha1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Module message, length delimited. Does not implicitly {@link cosmos.app.runtime.v1alpha1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.app.runtime.v1alpha1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Module message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.app.runtime.v1alpha1.Module; /** * Decodes a Module message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.app.runtime.v1alpha1.Module; /** * Verifies a Module message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Module message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Module */ public static fromObject(object: { [k: string]: any }): cosmos.app.runtime.v1alpha1.Module; /** * Creates a plain object from a Module message. Also converts values to other types if specified. * @param message Module * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.app.runtime.v1alpha1.Module, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Module to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a StoreKeyConfig. */ interface IStoreKeyConfig { /** StoreKeyConfig module_name */ module_name?: (string|null); /** StoreKeyConfig kv_store_key */ kv_store_key?: (string|null); } /** Represents a StoreKeyConfig. */ class StoreKeyConfig implements IStoreKeyConfig { /** * Constructs a new StoreKeyConfig. * @param [properties] Properties to set */ constructor(properties?: cosmos.app.runtime.v1alpha1.IStoreKeyConfig); /** StoreKeyConfig module_name. */ public module_name: string; /** StoreKeyConfig kv_store_key. */ public kv_store_key: string; /** * Encodes the specified StoreKeyConfig message. Does not implicitly {@link cosmos.app.runtime.v1alpha1.StoreKeyConfig.verify|verify} messages. * @param message StoreKeyConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.app.runtime.v1alpha1.IStoreKeyConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified StoreKeyConfig message, length delimited. Does not implicitly {@link cosmos.app.runtime.v1alpha1.StoreKeyConfig.verify|verify} messages. * @param message StoreKeyConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.app.runtime.v1alpha1.IStoreKeyConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a StoreKeyConfig message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns StoreKeyConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.app.runtime.v1alpha1.StoreKeyConfig; /** * Decodes a StoreKeyConfig message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns StoreKeyConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.app.runtime.v1alpha1.StoreKeyConfig; /** * Verifies a StoreKeyConfig message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a StoreKeyConfig message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns StoreKeyConfig */ public static fromObject(object: { [k: string]: any }): cosmos.app.runtime.v1alpha1.StoreKeyConfig; /** * Creates a plain object from a StoreKeyConfig message. Also converts values to other types if specified. * @param message StoreKeyConfig * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.app.runtime.v1alpha1.StoreKeyConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this StoreKeyConfig to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace v1alpha1. */ namespace v1alpha1 { /** Properties of a ModuleDescriptor. */ interface IModuleDescriptor { /** ModuleDescriptor go_import */ go_import?: (string|null); /** ModuleDescriptor use_package */ use_package?: (cosmos.app.v1alpha1.IPackageReference[]|null); /** ModuleDescriptor can_migrate_from */ can_migrate_from?: (cosmos.app.v1alpha1.IMigrateFromInfo[]|null); } /** Represents a ModuleDescriptor. */ class ModuleDescriptor implements IModuleDescriptor { /** * Constructs a new ModuleDescriptor. * @param [properties] Properties to set */ constructor(properties?: cosmos.app.v1alpha1.IModuleDescriptor); /** ModuleDescriptor go_import. */ public go_import: string; /** ModuleDescriptor use_package. */ public use_package: cosmos.app.v1alpha1.IPackageReference[]; /** ModuleDescriptor can_migrate_from. */ public can_migrate_from: cosmos.app.v1alpha1.IMigrateFromInfo[]; /** * Encodes the specified ModuleDescriptor message. Does not implicitly {@link cosmos.app.v1alpha1.ModuleDescriptor.verify|verify} messages. * @param message ModuleDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.app.v1alpha1.IModuleDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ModuleDescriptor message, length delimited. Does not implicitly {@link cosmos.app.v1alpha1.ModuleDescriptor.verify|verify} messages. * @param message ModuleDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.app.v1alpha1.IModuleDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ModuleDescriptor message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ModuleDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.app.v1alpha1.ModuleDescriptor; /** * Decodes a ModuleDescriptor message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ModuleDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.app.v1alpha1.ModuleDescriptor; /** * Verifies a ModuleDescriptor message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ModuleDescriptor message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ModuleDescriptor */ public static fromObject(object: { [k: string]: any }): cosmos.app.v1alpha1.ModuleDescriptor; /** * Creates a plain object from a ModuleDescriptor message. Also converts values to other types if specified. * @param message ModuleDescriptor * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.app.v1alpha1.ModuleDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ModuleDescriptor to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a PackageReference. */ interface IPackageReference { /** PackageReference name */ name?: (string|null); /** PackageReference revision */ revision?: (number|null); } /** Represents a PackageReference. */ class PackageReference implements IPackageReference { /** * Constructs a new PackageReference. * @param [properties] Properties to set */ constructor(properties?: cosmos.app.v1alpha1.IPackageReference); /** PackageReference name. */ public name: string; /** PackageReference revision. */ public revision: number; /** * Encodes the specified PackageReference message. Does not implicitly {@link cosmos.app.v1alpha1.PackageReference.verify|verify} messages. * @param message PackageReference message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.app.v1alpha1.IPackageReference, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PackageReference message, length delimited. Does not implicitly {@link cosmos.app.v1alpha1.PackageReference.verify|verify} messages. * @param message PackageReference message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.app.v1alpha1.IPackageReference, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PackageReference message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PackageReference * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.app.v1alpha1.PackageReference; /** * Decodes a PackageReference message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PackageReference * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.app.v1alpha1.PackageReference; /** * Verifies a PackageReference message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PackageReference message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PackageReference */ public static fromObject(object: { [k: string]: any }): cosmos.app.v1alpha1.PackageReference; /** * Creates a plain object from a PackageReference message. Also converts values to other types if specified. * @param message PackageReference * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.app.v1alpha1.PackageReference, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PackageReference to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MigrateFromInfo. */ interface IMigrateFromInfo { /** MigrateFromInfo module */ module?: (string|null); } /** Represents a MigrateFromInfo. */ class MigrateFromInfo implements IMigrateFromInfo { /** * Constructs a new MigrateFromInfo. * @param [properties] Properties to set */ constructor(properties?: cosmos.app.v1alpha1.IMigrateFromInfo); /** MigrateFromInfo module. */ public module: string; /** * Encodes the specified MigrateFromInfo message. Does not implicitly {@link cosmos.app.v1alpha1.MigrateFromInfo.verify|verify} messages. * @param message MigrateFromInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.app.v1alpha1.IMigrateFromInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MigrateFromInfo message, length delimited. Does not implicitly {@link cosmos.app.v1alpha1.MigrateFromInfo.verify|verify} messages. * @param message MigrateFromInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.app.v1alpha1.IMigrateFromInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MigrateFromInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MigrateFromInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.app.v1alpha1.MigrateFromInfo; /** * Decodes a MigrateFromInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MigrateFromInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.app.v1alpha1.MigrateFromInfo; /** * Verifies a MigrateFromInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MigrateFromInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MigrateFromInfo */ public static fromObject(object: { [k: string]: any }): cosmos.app.v1alpha1.MigrateFromInfo; /** * Creates a plain object from a MigrateFromInfo message. Also converts values to other types if specified. * @param message MigrateFromInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.app.v1alpha1.MigrateFromInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MigrateFromInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Represents a Query */ class Query extends $protobuf.rpc.Service { /** * Constructs a new Query service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls Config. * @param request QueryConfigRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryConfigResponse */ public config(request: cosmos.app.v1alpha1.IQueryConfigRequest, callback: cosmos.app.v1alpha1.Query.ConfigCallback): void; /** * Calls Config. * @param request QueryConfigRequest message or plain object * @returns Promise */ public config(request: cosmos.app.v1alpha1.IQueryConfigRequest): Promise; } namespace Query { /** * Callback as used by {@link cosmos.app.v1alpha1.Query#config}. * @param error Error, if any * @param [response] QueryConfigResponse */ type ConfigCallback = (error: (Error|null), response?: cosmos.app.v1alpha1.QueryConfigResponse) => void; } /** Properties of a QueryConfigRequest. */ interface IQueryConfigRequest { } /** Represents a QueryConfigRequest. */ class QueryConfigRequest implements IQueryConfigRequest { /** * Constructs a new QueryConfigRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.app.v1alpha1.IQueryConfigRequest); /** * Encodes the specified QueryConfigRequest message. Does not implicitly {@link cosmos.app.v1alpha1.QueryConfigRequest.verify|verify} messages. * @param message QueryConfigRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.app.v1alpha1.IQueryConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryConfigRequest message, length delimited. Does not implicitly {@link cosmos.app.v1alpha1.QueryConfigRequest.verify|verify} messages. * @param message QueryConfigRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.app.v1alpha1.IQueryConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryConfigRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryConfigRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.app.v1alpha1.QueryConfigRequest; /** * Decodes a QueryConfigRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryConfigRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.app.v1alpha1.QueryConfigRequest; /** * Verifies a QueryConfigRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryConfigRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryConfigRequest */ public static fromObject(object: { [k: string]: any }): cosmos.app.v1alpha1.QueryConfigRequest; /** * Creates a plain object from a QueryConfigRequest message. Also converts values to other types if specified. * @param message QueryConfigRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.app.v1alpha1.QueryConfigRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryConfigRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryConfigResponse. */ interface IQueryConfigResponse { /** QueryConfigResponse config */ config?: (cosmos.app.v1alpha1.IConfig|null); } /** Represents a QueryConfigResponse. */ class QueryConfigResponse implements IQueryConfigResponse { /** * Constructs a new QueryConfigResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.app.v1alpha1.IQueryConfigResponse); /** QueryConfigResponse config. */ public config?: (cosmos.app.v1alpha1.IConfig|null); /** * Encodes the specified QueryConfigResponse message. Does not implicitly {@link cosmos.app.v1alpha1.QueryConfigResponse.verify|verify} messages. * @param message QueryConfigResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.app.v1alpha1.IQueryConfigResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryConfigResponse message, length delimited. Does not implicitly {@link cosmos.app.v1alpha1.QueryConfigResponse.verify|verify} messages. * @param message QueryConfigResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.app.v1alpha1.IQueryConfigResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryConfigResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryConfigResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.app.v1alpha1.QueryConfigResponse; /** * Decodes a QueryConfigResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryConfigResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.app.v1alpha1.QueryConfigResponse; /** * Verifies a QueryConfigResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryConfigResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryConfigResponse */ public static fromObject(object: { [k: string]: any }): cosmos.app.v1alpha1.QueryConfigResponse; /** * Creates a plain object from a QueryConfigResponse message. Also converts values to other types if specified. * @param message QueryConfigResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.app.v1alpha1.QueryConfigResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryConfigResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Config. */ interface IConfig { /** Config modules */ modules?: (cosmos.app.v1alpha1.IModuleConfig[]|null); /** Config golang_bindings */ golang_bindings?: (cosmos.app.v1alpha1.IGolangBinding[]|null); } /** Represents a Config. */ class Config implements IConfig { /** * Constructs a new Config. * @param [properties] Properties to set */ constructor(properties?: cosmos.app.v1alpha1.IConfig); /** Config modules. */ public modules: cosmos.app.v1alpha1.IModuleConfig[]; /** Config golang_bindings. */ public golang_bindings: cosmos.app.v1alpha1.IGolangBinding[]; /** * Encodes the specified Config message. Does not implicitly {@link cosmos.app.v1alpha1.Config.verify|verify} messages. * @param message Config message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.app.v1alpha1.IConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Config message, length delimited. Does not implicitly {@link cosmos.app.v1alpha1.Config.verify|verify} messages. * @param message Config message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.app.v1alpha1.IConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Config message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Config * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.app.v1alpha1.Config; /** * Decodes a Config message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Config * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.app.v1alpha1.Config; /** * Verifies a Config message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Config message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Config */ public static fromObject(object: { [k: string]: any }): cosmos.app.v1alpha1.Config; /** * Creates a plain object from a Config message. Also converts values to other types if specified. * @param message Config * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.app.v1alpha1.Config, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Config to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ModuleConfig. */ interface IModuleConfig { /** ModuleConfig name */ name?: (string|null); /** ModuleConfig config */ config?: (google.protobuf.IAny|null); /** ModuleConfig golang_bindings */ golang_bindings?: (cosmos.app.v1alpha1.IGolangBinding[]|null); } /** Represents a ModuleConfig. */ class ModuleConfig implements IModuleConfig { /** * Constructs a new ModuleConfig. * @param [properties] Properties to set */ constructor(properties?: cosmos.app.v1alpha1.IModuleConfig); /** ModuleConfig name. */ public name: string; /** ModuleConfig config. */ public config?: (google.protobuf.IAny|null); /** ModuleConfig golang_bindings. */ public golang_bindings: cosmos.app.v1alpha1.IGolangBinding[]; /** * Encodes the specified ModuleConfig message. Does not implicitly {@link cosmos.app.v1alpha1.ModuleConfig.verify|verify} messages. * @param message ModuleConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.app.v1alpha1.IModuleConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ModuleConfig message, length delimited. Does not implicitly {@link cosmos.app.v1alpha1.ModuleConfig.verify|verify} messages. * @param message ModuleConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.app.v1alpha1.IModuleConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ModuleConfig message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ModuleConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.app.v1alpha1.ModuleConfig; /** * Decodes a ModuleConfig message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ModuleConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.app.v1alpha1.ModuleConfig; /** * Verifies a ModuleConfig message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ModuleConfig message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ModuleConfig */ public static fromObject(object: { [k: string]: any }): cosmos.app.v1alpha1.ModuleConfig; /** * Creates a plain object from a ModuleConfig message. Also converts values to other types if specified. * @param message ModuleConfig * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.app.v1alpha1.ModuleConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ModuleConfig to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GolangBinding. */ interface IGolangBinding { /** GolangBinding interface_type */ interface_type?: (string|null); /** GolangBinding implementation */ implementation?: (string|null); } /** Represents a GolangBinding. */ class GolangBinding implements IGolangBinding { /** * Constructs a new GolangBinding. * @param [properties] Properties to set */ constructor(properties?: cosmos.app.v1alpha1.IGolangBinding); /** GolangBinding interface_type. */ public interface_type: string; /** GolangBinding implementation. */ public implementation: string; /** * Encodes the specified GolangBinding message. Does not implicitly {@link cosmos.app.v1alpha1.GolangBinding.verify|verify} messages. * @param message GolangBinding message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.app.v1alpha1.IGolangBinding, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GolangBinding message, length delimited. Does not implicitly {@link cosmos.app.v1alpha1.GolangBinding.verify|verify} messages. * @param message GolangBinding message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.app.v1alpha1.IGolangBinding, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GolangBinding message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GolangBinding * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.app.v1alpha1.GolangBinding; /** * Decodes a GolangBinding message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GolangBinding * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.app.v1alpha1.GolangBinding; /** * Verifies a GolangBinding message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GolangBinding message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GolangBinding */ public static fromObject(object: { [k: string]: any }): cosmos.app.v1alpha1.GolangBinding; /** * Creates a plain object from a GolangBinding message. Also converts values to other types if specified. * @param message GolangBinding * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.app.v1alpha1.GolangBinding, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GolangBinding to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace auth. */ namespace auth { /** Namespace module. */ namespace module { /** Namespace v1. */ namespace v1 { /** Properties of a Module. */ interface IModule { /** Module bech32_prefix */ bech32_prefix?: (string|null); /** Module module_account_permissions */ module_account_permissions?: (cosmos.auth.module.v1.IModuleAccountPermission[]|null); /** Module authority */ authority?: (string|null); } /** Represents a Module. */ class Module implements IModule { /** * Constructs a new Module. * @param [properties] Properties to set */ constructor(properties?: cosmos.auth.module.v1.IModule); /** Module bech32_prefix. */ public bech32_prefix: string; /** Module module_account_permissions. */ public module_account_permissions: cosmos.auth.module.v1.IModuleAccountPermission[]; /** Module authority. */ public authority: string; /** * Encodes the specified Module message. Does not implicitly {@link cosmos.auth.module.v1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.auth.module.v1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Module message, length delimited. Does not implicitly {@link cosmos.auth.module.v1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.auth.module.v1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Module message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.auth.module.v1.Module; /** * Decodes a Module message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.auth.module.v1.Module; /** * Verifies a Module message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Module message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Module */ public static fromObject(object: { [k: string]: any }): cosmos.auth.module.v1.Module; /** * Creates a plain object from a Module message. Also converts values to other types if specified. * @param message Module * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.auth.module.v1.Module, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Module to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ModuleAccountPermission. */ interface IModuleAccountPermission { /** ModuleAccountPermission account */ account?: (string|null); /** ModuleAccountPermission permissions */ permissions?: (string[]|null); } /** Represents a ModuleAccountPermission. */ class ModuleAccountPermission implements IModuleAccountPermission { /** * Constructs a new ModuleAccountPermission. * @param [properties] Properties to set */ constructor(properties?: cosmos.auth.module.v1.IModuleAccountPermission); /** ModuleAccountPermission account. */ public account: string; /** ModuleAccountPermission permissions. */ public permissions: string[]; /** * Encodes the specified ModuleAccountPermission message. Does not implicitly {@link cosmos.auth.module.v1.ModuleAccountPermission.verify|verify} messages. * @param message ModuleAccountPermission message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.auth.module.v1.IModuleAccountPermission, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ModuleAccountPermission message, length delimited. Does not implicitly {@link cosmos.auth.module.v1.ModuleAccountPermission.verify|verify} messages. * @param message ModuleAccountPermission message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.auth.module.v1.IModuleAccountPermission, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ModuleAccountPermission message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ModuleAccountPermission * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.auth.module.v1.ModuleAccountPermission; /** * Decodes a ModuleAccountPermission message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ModuleAccountPermission * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.auth.module.v1.ModuleAccountPermission; /** * Verifies a ModuleAccountPermission message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ModuleAccountPermission message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ModuleAccountPermission */ public static fromObject(object: { [k: string]: any }): cosmos.auth.module.v1.ModuleAccountPermission; /** * Creates a plain object from a ModuleAccountPermission message. Also converts values to other types if specified. * @param message ModuleAccountPermission * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.auth.module.v1.ModuleAccountPermission, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ModuleAccountPermission to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace v1beta1. */ namespace v1beta1 { /** Represents a Query */ class Query extends $protobuf.rpc.Service { /** * Constructs a new Query service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls Accounts. * @param request QueryAccountsRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryAccountsResponse */ public accounts(request: cosmos.auth.v1beta1.IQueryAccountsRequest, callback: cosmos.auth.v1beta1.Query.AccountsCallback): void; /** * Calls Accounts. * @param request QueryAccountsRequest message or plain object * @returns Promise */ public accounts(request: cosmos.auth.v1beta1.IQueryAccountsRequest): Promise; /** * Calls Account. * @param request QueryAccountRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryAccountResponse */ public account(request: cosmos.auth.v1beta1.IQueryAccountRequest, callback: cosmos.auth.v1beta1.Query.AccountCallback): void; /** * Calls Account. * @param request QueryAccountRequest message or plain object * @returns Promise */ public account(request: cosmos.auth.v1beta1.IQueryAccountRequest): Promise; /** * Calls AccountAddressByID. * @param request QueryAccountAddressByIDRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryAccountAddressByIDResponse */ public accountAddressByID(request: cosmos.auth.v1beta1.IQueryAccountAddressByIDRequest, callback: cosmos.auth.v1beta1.Query.AccountAddressByIDCallback): void; /** * Calls AccountAddressByID. * @param request QueryAccountAddressByIDRequest message or plain object * @returns Promise */ public accountAddressByID(request: cosmos.auth.v1beta1.IQueryAccountAddressByIDRequest): Promise; /** * Calls Params. * @param request QueryParamsRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryParamsResponse */ public params(request: cosmos.auth.v1beta1.IQueryParamsRequest, callback: cosmos.auth.v1beta1.Query.ParamsCallback): void; /** * Calls Params. * @param request QueryParamsRequest message or plain object * @returns Promise */ public params(request: cosmos.auth.v1beta1.IQueryParamsRequest): Promise; /** * Calls ModuleAccounts. * @param request QueryModuleAccountsRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryModuleAccountsResponse */ public moduleAccounts(request: cosmos.auth.v1beta1.IQueryModuleAccountsRequest, callback: cosmos.auth.v1beta1.Query.ModuleAccountsCallback): void; /** * Calls ModuleAccounts. * @param request QueryModuleAccountsRequest message or plain object * @returns Promise */ public moduleAccounts(request: cosmos.auth.v1beta1.IQueryModuleAccountsRequest): Promise; /** * Calls ModuleAccountByName. * @param request QueryModuleAccountByNameRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryModuleAccountByNameResponse */ public moduleAccountByName(request: cosmos.auth.v1beta1.IQueryModuleAccountByNameRequest, callback: cosmos.auth.v1beta1.Query.ModuleAccountByNameCallback): void; /** * Calls ModuleAccountByName. * @param request QueryModuleAccountByNameRequest message or plain object * @returns Promise */ public moduleAccountByName(request: cosmos.auth.v1beta1.IQueryModuleAccountByNameRequest): Promise; /** * Calls Bech32Prefix. * @param request Bech32PrefixRequest message or plain object * @param callback Node-style callback called with the error, if any, and Bech32PrefixResponse */ public bech32Prefix(request: cosmos.auth.v1beta1.IBech32PrefixRequest, callback: cosmos.auth.v1beta1.Query.Bech32PrefixCallback): void; /** * Calls Bech32Prefix. * @param request Bech32PrefixRequest message or plain object * @returns Promise */ public bech32Prefix(request: cosmos.auth.v1beta1.IBech32PrefixRequest): Promise; /** * Calls AddressBytesToString. * @param request AddressBytesToStringRequest message or plain object * @param callback Node-style callback called with the error, if any, and AddressBytesToStringResponse */ public addressBytesToString(request: cosmos.auth.v1beta1.IAddressBytesToStringRequest, callback: cosmos.auth.v1beta1.Query.AddressBytesToStringCallback): void; /** * Calls AddressBytesToString. * @param request AddressBytesToStringRequest message or plain object * @returns Promise */ public addressBytesToString(request: cosmos.auth.v1beta1.IAddressBytesToStringRequest): Promise; /** * Calls AddressStringToBytes. * @param request AddressStringToBytesRequest message or plain object * @param callback Node-style callback called with the error, if any, and AddressStringToBytesResponse */ public addressStringToBytes(request: cosmos.auth.v1beta1.IAddressStringToBytesRequest, callback: cosmos.auth.v1beta1.Query.AddressStringToBytesCallback): void; /** * Calls AddressStringToBytes. * @param request AddressStringToBytesRequest message or plain object * @returns Promise */ public addressStringToBytes(request: cosmos.auth.v1beta1.IAddressStringToBytesRequest): Promise; /** * Calls AccountInfo. * @param request QueryAccountInfoRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryAccountInfoResponse */ public accountInfo(request: cosmos.auth.v1beta1.IQueryAccountInfoRequest, callback: cosmos.auth.v1beta1.Query.AccountInfoCallback): void; /** * Calls AccountInfo. * @param request QueryAccountInfoRequest message or plain object * @returns Promise */ public accountInfo(request: cosmos.auth.v1beta1.IQueryAccountInfoRequest): Promise; } namespace Query { /** * Callback as used by {@link cosmos.auth.v1beta1.Query#accounts}. * @param error Error, if any * @param [response] QueryAccountsResponse */ type AccountsCallback = (error: (Error|null), response?: cosmos.auth.v1beta1.QueryAccountsResponse) => void; /** * Callback as used by {@link cosmos.auth.v1beta1.Query#account}. * @param error Error, if any * @param [response] QueryAccountResponse */ type AccountCallback = (error: (Error|null), response?: cosmos.auth.v1beta1.QueryAccountResponse) => void; /** * Callback as used by {@link cosmos.auth.v1beta1.Query#accountAddressByID}. * @param error Error, if any * @param [response] QueryAccountAddressByIDResponse */ type AccountAddressByIDCallback = (error: (Error|null), response?: cosmos.auth.v1beta1.QueryAccountAddressByIDResponse) => void; /** * Callback as used by {@link cosmos.auth.v1beta1.Query#params}. * @param error Error, if any * @param [response] QueryParamsResponse */ type ParamsCallback = (error: (Error|null), response?: cosmos.auth.v1beta1.QueryParamsResponse) => void; /** * Callback as used by {@link cosmos.auth.v1beta1.Query#moduleAccounts}. * @param error Error, if any * @param [response] QueryModuleAccountsResponse */ type ModuleAccountsCallback = (error: (Error|null), response?: cosmos.auth.v1beta1.QueryModuleAccountsResponse) => void; /** * Callback as used by {@link cosmos.auth.v1beta1.Query#moduleAccountByName}. * @param error Error, if any * @param [response] QueryModuleAccountByNameResponse */ type ModuleAccountByNameCallback = (error: (Error|null), response?: cosmos.auth.v1beta1.QueryModuleAccountByNameResponse) => void; /** * Callback as used by {@link cosmos.auth.v1beta1.Query#bech32Prefix}. * @param error Error, if any * @param [response] Bech32PrefixResponse */ type Bech32PrefixCallback = (error: (Error|null), response?: cosmos.auth.v1beta1.Bech32PrefixResponse) => void; /** * Callback as used by {@link cosmos.auth.v1beta1.Query#addressBytesToString}. * @param error Error, if any * @param [response] AddressBytesToStringResponse */ type AddressBytesToStringCallback = (error: (Error|null), response?: cosmos.auth.v1beta1.AddressBytesToStringResponse) => void; /** * Callback as used by {@link cosmos.auth.v1beta1.Query#addressStringToBytes}. * @param error Error, if any * @param [response] AddressStringToBytesResponse */ type AddressStringToBytesCallback = (error: (Error|null), response?: cosmos.auth.v1beta1.AddressStringToBytesResponse) => void; /** * Callback as used by {@link cosmos.auth.v1beta1.Query#accountInfo}. * @param error Error, if any * @param [response] QueryAccountInfoResponse */ type AccountInfoCallback = (error: (Error|null), response?: cosmos.auth.v1beta1.QueryAccountInfoResponse) => void; } /** Properties of a QueryAccountsRequest. */ interface IQueryAccountsRequest { /** QueryAccountsRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a QueryAccountsRequest. */ class QueryAccountsRequest implements IQueryAccountsRequest { /** * Constructs a new QueryAccountsRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.auth.v1beta1.IQueryAccountsRequest); /** QueryAccountsRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** * Encodes the specified QueryAccountsRequest message. Does not implicitly {@link cosmos.auth.v1beta1.QueryAccountsRequest.verify|verify} messages. * @param message QueryAccountsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.auth.v1beta1.IQueryAccountsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryAccountsRequest message, length delimited. Does not implicitly {@link cosmos.auth.v1beta1.QueryAccountsRequest.verify|verify} messages. * @param message QueryAccountsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.auth.v1beta1.IQueryAccountsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryAccountsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryAccountsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.auth.v1beta1.QueryAccountsRequest; /** * Decodes a QueryAccountsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryAccountsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.auth.v1beta1.QueryAccountsRequest; /** * Verifies a QueryAccountsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryAccountsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryAccountsRequest */ public static fromObject(object: { [k: string]: any }): cosmos.auth.v1beta1.QueryAccountsRequest; /** * Creates a plain object from a QueryAccountsRequest message. Also converts values to other types if specified. * @param message QueryAccountsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.auth.v1beta1.QueryAccountsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryAccountsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryAccountsResponse. */ interface IQueryAccountsResponse { /** QueryAccountsResponse accounts */ accounts?: (google.protobuf.IAny[]|null); /** QueryAccountsResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a QueryAccountsResponse. */ class QueryAccountsResponse implements IQueryAccountsResponse { /** * Constructs a new QueryAccountsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.auth.v1beta1.IQueryAccountsResponse); /** QueryAccountsResponse accounts. */ public accounts: google.protobuf.IAny[]; /** QueryAccountsResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified QueryAccountsResponse message. Does not implicitly {@link cosmos.auth.v1beta1.QueryAccountsResponse.verify|verify} messages. * @param message QueryAccountsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.auth.v1beta1.IQueryAccountsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryAccountsResponse message, length delimited. Does not implicitly {@link cosmos.auth.v1beta1.QueryAccountsResponse.verify|verify} messages. * @param message QueryAccountsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.auth.v1beta1.IQueryAccountsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryAccountsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryAccountsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.auth.v1beta1.QueryAccountsResponse; /** * Decodes a QueryAccountsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryAccountsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.auth.v1beta1.QueryAccountsResponse; /** * Verifies a QueryAccountsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryAccountsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryAccountsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.auth.v1beta1.QueryAccountsResponse; /** * Creates a plain object from a QueryAccountsResponse message. Also converts values to other types if specified. * @param message QueryAccountsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.auth.v1beta1.QueryAccountsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryAccountsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryAccountRequest. */ interface IQueryAccountRequest { /** QueryAccountRequest address */ address?: (string|null); } /** Represents a QueryAccountRequest. */ class QueryAccountRequest implements IQueryAccountRequest { /** * Constructs a new QueryAccountRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.auth.v1beta1.IQueryAccountRequest); /** QueryAccountRequest address. */ public address: string; /** * Encodes the specified QueryAccountRequest message. Does not implicitly {@link cosmos.auth.v1beta1.QueryAccountRequest.verify|verify} messages. * @param message QueryAccountRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.auth.v1beta1.IQueryAccountRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryAccountRequest message, length delimited. Does not implicitly {@link cosmos.auth.v1beta1.QueryAccountRequest.verify|verify} messages. * @param message QueryAccountRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.auth.v1beta1.IQueryAccountRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryAccountRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryAccountRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.auth.v1beta1.QueryAccountRequest; /** * Decodes a QueryAccountRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryAccountRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.auth.v1beta1.QueryAccountRequest; /** * Verifies a QueryAccountRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryAccountRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryAccountRequest */ public static fromObject(object: { [k: string]: any }): cosmos.auth.v1beta1.QueryAccountRequest; /** * Creates a plain object from a QueryAccountRequest message. Also converts values to other types if specified. * @param message QueryAccountRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.auth.v1beta1.QueryAccountRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryAccountRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryAccountResponse. */ interface IQueryAccountResponse { /** QueryAccountResponse account */ account?: (google.protobuf.IAny|null); } /** Represents a QueryAccountResponse. */ class QueryAccountResponse implements IQueryAccountResponse { /** * Constructs a new QueryAccountResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.auth.v1beta1.IQueryAccountResponse); /** QueryAccountResponse account. */ public account?: (google.protobuf.IAny|null); /** * Encodes the specified QueryAccountResponse message. Does not implicitly {@link cosmos.auth.v1beta1.QueryAccountResponse.verify|verify} messages. * @param message QueryAccountResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.auth.v1beta1.IQueryAccountResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryAccountResponse message, length delimited. Does not implicitly {@link cosmos.auth.v1beta1.QueryAccountResponse.verify|verify} messages. * @param message QueryAccountResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.auth.v1beta1.IQueryAccountResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryAccountResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryAccountResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.auth.v1beta1.QueryAccountResponse; /** * Decodes a QueryAccountResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryAccountResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.auth.v1beta1.QueryAccountResponse; /** * Verifies a QueryAccountResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryAccountResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryAccountResponse */ public static fromObject(object: { [k: string]: any }): cosmos.auth.v1beta1.QueryAccountResponse; /** * Creates a plain object from a QueryAccountResponse message. Also converts values to other types if specified. * @param message QueryAccountResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.auth.v1beta1.QueryAccountResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryAccountResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryParamsRequest. */ interface IQueryParamsRequest { } /** Represents a QueryParamsRequest. */ class QueryParamsRequest implements IQueryParamsRequest { /** * Constructs a new QueryParamsRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.auth.v1beta1.IQueryParamsRequest); /** * Encodes the specified QueryParamsRequest message. Does not implicitly {@link cosmos.auth.v1beta1.QueryParamsRequest.verify|verify} messages. * @param message QueryParamsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.auth.v1beta1.IQueryParamsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryParamsRequest message, length delimited. Does not implicitly {@link cosmos.auth.v1beta1.QueryParamsRequest.verify|verify} messages. * @param message QueryParamsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.auth.v1beta1.IQueryParamsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryParamsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryParamsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.auth.v1beta1.QueryParamsRequest; /** * Decodes a QueryParamsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryParamsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.auth.v1beta1.QueryParamsRequest; /** * Verifies a QueryParamsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryParamsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryParamsRequest */ public static fromObject(object: { [k: string]: any }): cosmos.auth.v1beta1.QueryParamsRequest; /** * Creates a plain object from a QueryParamsRequest message. Also converts values to other types if specified. * @param message QueryParamsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.auth.v1beta1.QueryParamsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryParamsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryParamsResponse. */ interface IQueryParamsResponse { /** QueryParamsResponse params */ params?: (cosmos.auth.v1beta1.IParams|null); } /** Represents a QueryParamsResponse. */ class QueryParamsResponse implements IQueryParamsResponse { /** * Constructs a new QueryParamsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.auth.v1beta1.IQueryParamsResponse); /** QueryParamsResponse params. */ public params?: (cosmos.auth.v1beta1.IParams|null); /** * Encodes the specified QueryParamsResponse message. Does not implicitly {@link cosmos.auth.v1beta1.QueryParamsResponse.verify|verify} messages. * @param message QueryParamsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.auth.v1beta1.IQueryParamsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryParamsResponse message, length delimited. Does not implicitly {@link cosmos.auth.v1beta1.QueryParamsResponse.verify|verify} messages. * @param message QueryParamsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.auth.v1beta1.IQueryParamsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryParamsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryParamsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.auth.v1beta1.QueryParamsResponse; /** * Decodes a QueryParamsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryParamsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.auth.v1beta1.QueryParamsResponse; /** * Verifies a QueryParamsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryParamsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryParamsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.auth.v1beta1.QueryParamsResponse; /** * Creates a plain object from a QueryParamsResponse message. Also converts values to other types if specified. * @param message QueryParamsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.auth.v1beta1.QueryParamsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryParamsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryModuleAccountsRequest. */ interface IQueryModuleAccountsRequest { } /** Represents a QueryModuleAccountsRequest. */ class QueryModuleAccountsRequest implements IQueryModuleAccountsRequest { /** * Constructs a new QueryModuleAccountsRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.auth.v1beta1.IQueryModuleAccountsRequest); /** * Encodes the specified QueryModuleAccountsRequest message. Does not implicitly {@link cosmos.auth.v1beta1.QueryModuleAccountsRequest.verify|verify} messages. * @param message QueryModuleAccountsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.auth.v1beta1.IQueryModuleAccountsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryModuleAccountsRequest message, length delimited. Does not implicitly {@link cosmos.auth.v1beta1.QueryModuleAccountsRequest.verify|verify} messages. * @param message QueryModuleAccountsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.auth.v1beta1.IQueryModuleAccountsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryModuleAccountsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryModuleAccountsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.auth.v1beta1.QueryModuleAccountsRequest; /** * Decodes a QueryModuleAccountsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryModuleAccountsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.auth.v1beta1.QueryModuleAccountsRequest; /** * Verifies a QueryModuleAccountsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryModuleAccountsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryModuleAccountsRequest */ public static fromObject(object: { [k: string]: any }): cosmos.auth.v1beta1.QueryModuleAccountsRequest; /** * Creates a plain object from a QueryModuleAccountsRequest message. Also converts values to other types if specified. * @param message QueryModuleAccountsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.auth.v1beta1.QueryModuleAccountsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryModuleAccountsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryModuleAccountsResponse. */ interface IQueryModuleAccountsResponse { /** QueryModuleAccountsResponse accounts */ accounts?: (google.protobuf.IAny[]|null); } /** Represents a QueryModuleAccountsResponse. */ class QueryModuleAccountsResponse implements IQueryModuleAccountsResponse { /** * Constructs a new QueryModuleAccountsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.auth.v1beta1.IQueryModuleAccountsResponse); /** QueryModuleAccountsResponse accounts. */ public accounts: google.protobuf.IAny[]; /** * Encodes the specified QueryModuleAccountsResponse message. Does not implicitly {@link cosmos.auth.v1beta1.QueryModuleAccountsResponse.verify|verify} messages. * @param message QueryModuleAccountsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.auth.v1beta1.IQueryModuleAccountsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryModuleAccountsResponse message, length delimited. Does not implicitly {@link cosmos.auth.v1beta1.QueryModuleAccountsResponse.verify|verify} messages. * @param message QueryModuleAccountsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.auth.v1beta1.IQueryModuleAccountsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryModuleAccountsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryModuleAccountsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.auth.v1beta1.QueryModuleAccountsResponse; /** * Decodes a QueryModuleAccountsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryModuleAccountsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.auth.v1beta1.QueryModuleAccountsResponse; /** * Verifies a QueryModuleAccountsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryModuleAccountsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryModuleAccountsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.auth.v1beta1.QueryModuleAccountsResponse; /** * Creates a plain object from a QueryModuleAccountsResponse message. Also converts values to other types if specified. * @param message QueryModuleAccountsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.auth.v1beta1.QueryModuleAccountsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryModuleAccountsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryModuleAccountByNameRequest. */ interface IQueryModuleAccountByNameRequest { /** QueryModuleAccountByNameRequest name */ name?: (string|null); } /** Represents a QueryModuleAccountByNameRequest. */ class QueryModuleAccountByNameRequest implements IQueryModuleAccountByNameRequest { /** * Constructs a new QueryModuleAccountByNameRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.auth.v1beta1.IQueryModuleAccountByNameRequest); /** QueryModuleAccountByNameRequest name. */ public name: string; /** * Encodes the specified QueryModuleAccountByNameRequest message. Does not implicitly {@link cosmos.auth.v1beta1.QueryModuleAccountByNameRequest.verify|verify} messages. * @param message QueryModuleAccountByNameRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.auth.v1beta1.IQueryModuleAccountByNameRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryModuleAccountByNameRequest message, length delimited. Does not implicitly {@link cosmos.auth.v1beta1.QueryModuleAccountByNameRequest.verify|verify} messages. * @param message QueryModuleAccountByNameRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.auth.v1beta1.IQueryModuleAccountByNameRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryModuleAccountByNameRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryModuleAccountByNameRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.auth.v1beta1.QueryModuleAccountByNameRequest; /** * Decodes a QueryModuleAccountByNameRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryModuleAccountByNameRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.auth.v1beta1.QueryModuleAccountByNameRequest; /** * Verifies a QueryModuleAccountByNameRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryModuleAccountByNameRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryModuleAccountByNameRequest */ public static fromObject(object: { [k: string]: any }): cosmos.auth.v1beta1.QueryModuleAccountByNameRequest; /** * Creates a plain object from a QueryModuleAccountByNameRequest message. Also converts values to other types if specified. * @param message QueryModuleAccountByNameRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.auth.v1beta1.QueryModuleAccountByNameRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryModuleAccountByNameRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryModuleAccountByNameResponse. */ interface IQueryModuleAccountByNameResponse { /** QueryModuleAccountByNameResponse account */ account?: (google.protobuf.IAny|null); } /** Represents a QueryModuleAccountByNameResponse. */ class QueryModuleAccountByNameResponse implements IQueryModuleAccountByNameResponse { /** * Constructs a new QueryModuleAccountByNameResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.auth.v1beta1.IQueryModuleAccountByNameResponse); /** QueryModuleAccountByNameResponse account. */ public account?: (google.protobuf.IAny|null); /** * Encodes the specified QueryModuleAccountByNameResponse message. Does not implicitly {@link cosmos.auth.v1beta1.QueryModuleAccountByNameResponse.verify|verify} messages. * @param message QueryModuleAccountByNameResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.auth.v1beta1.IQueryModuleAccountByNameResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryModuleAccountByNameResponse message, length delimited. Does not implicitly {@link cosmos.auth.v1beta1.QueryModuleAccountByNameResponse.verify|verify} messages. * @param message QueryModuleAccountByNameResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.auth.v1beta1.IQueryModuleAccountByNameResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryModuleAccountByNameResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryModuleAccountByNameResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.auth.v1beta1.QueryModuleAccountByNameResponse; /** * Decodes a QueryModuleAccountByNameResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryModuleAccountByNameResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.auth.v1beta1.QueryModuleAccountByNameResponse; /** * Verifies a QueryModuleAccountByNameResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryModuleAccountByNameResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryModuleAccountByNameResponse */ public static fromObject(object: { [k: string]: any }): cosmos.auth.v1beta1.QueryModuleAccountByNameResponse; /** * Creates a plain object from a QueryModuleAccountByNameResponse message. Also converts values to other types if specified. * @param message QueryModuleAccountByNameResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.auth.v1beta1.QueryModuleAccountByNameResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryModuleAccountByNameResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Bech32PrefixRequest. */ interface IBech32PrefixRequest { } /** Represents a Bech32PrefixRequest. */ class Bech32PrefixRequest implements IBech32PrefixRequest { /** * Constructs a new Bech32PrefixRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.auth.v1beta1.IBech32PrefixRequest); /** * Encodes the specified Bech32PrefixRequest message. Does not implicitly {@link cosmos.auth.v1beta1.Bech32PrefixRequest.verify|verify} messages. * @param message Bech32PrefixRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.auth.v1beta1.IBech32PrefixRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Bech32PrefixRequest message, length delimited. Does not implicitly {@link cosmos.auth.v1beta1.Bech32PrefixRequest.verify|verify} messages. * @param message Bech32PrefixRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.auth.v1beta1.IBech32PrefixRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Bech32PrefixRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Bech32PrefixRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.auth.v1beta1.Bech32PrefixRequest; /** * Decodes a Bech32PrefixRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Bech32PrefixRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.auth.v1beta1.Bech32PrefixRequest; /** * Verifies a Bech32PrefixRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Bech32PrefixRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Bech32PrefixRequest */ public static fromObject(object: { [k: string]: any }): cosmos.auth.v1beta1.Bech32PrefixRequest; /** * Creates a plain object from a Bech32PrefixRequest message. Also converts values to other types if specified. * @param message Bech32PrefixRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.auth.v1beta1.Bech32PrefixRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Bech32PrefixRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Bech32PrefixResponse. */ interface IBech32PrefixResponse { /** Bech32PrefixResponse bech32_prefix */ bech32_prefix?: (string|null); } /** Represents a Bech32PrefixResponse. */ class Bech32PrefixResponse implements IBech32PrefixResponse { /** * Constructs a new Bech32PrefixResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.auth.v1beta1.IBech32PrefixResponse); /** Bech32PrefixResponse bech32_prefix. */ public bech32_prefix: string; /** * Encodes the specified Bech32PrefixResponse message. Does not implicitly {@link cosmos.auth.v1beta1.Bech32PrefixResponse.verify|verify} messages. * @param message Bech32PrefixResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.auth.v1beta1.IBech32PrefixResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Bech32PrefixResponse message, length delimited. Does not implicitly {@link cosmos.auth.v1beta1.Bech32PrefixResponse.verify|verify} messages. * @param message Bech32PrefixResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.auth.v1beta1.IBech32PrefixResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Bech32PrefixResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Bech32PrefixResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.auth.v1beta1.Bech32PrefixResponse; /** * Decodes a Bech32PrefixResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Bech32PrefixResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.auth.v1beta1.Bech32PrefixResponse; /** * Verifies a Bech32PrefixResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Bech32PrefixResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Bech32PrefixResponse */ public static fromObject(object: { [k: string]: any }): cosmos.auth.v1beta1.Bech32PrefixResponse; /** * Creates a plain object from a Bech32PrefixResponse message. Also converts values to other types if specified. * @param message Bech32PrefixResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.auth.v1beta1.Bech32PrefixResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Bech32PrefixResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an AddressBytesToStringRequest. */ interface IAddressBytesToStringRequest { /** AddressBytesToStringRequest address_bytes */ address_bytes?: (Uint8Array|null); } /** Represents an AddressBytesToStringRequest. */ class AddressBytesToStringRequest implements IAddressBytesToStringRequest { /** * Constructs a new AddressBytesToStringRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.auth.v1beta1.IAddressBytesToStringRequest); /** AddressBytesToStringRequest address_bytes. */ public address_bytes: Uint8Array; /** * Encodes the specified AddressBytesToStringRequest message. Does not implicitly {@link cosmos.auth.v1beta1.AddressBytesToStringRequest.verify|verify} messages. * @param message AddressBytesToStringRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.auth.v1beta1.IAddressBytesToStringRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AddressBytesToStringRequest message, length delimited. Does not implicitly {@link cosmos.auth.v1beta1.AddressBytesToStringRequest.verify|verify} messages. * @param message AddressBytesToStringRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.auth.v1beta1.IAddressBytesToStringRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AddressBytesToStringRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AddressBytesToStringRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.auth.v1beta1.AddressBytesToStringRequest; /** * Decodes an AddressBytesToStringRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AddressBytesToStringRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.auth.v1beta1.AddressBytesToStringRequest; /** * Verifies an AddressBytesToStringRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AddressBytesToStringRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AddressBytesToStringRequest */ public static fromObject(object: { [k: string]: any }): cosmos.auth.v1beta1.AddressBytesToStringRequest; /** * Creates a plain object from an AddressBytesToStringRequest message. Also converts values to other types if specified. * @param message AddressBytesToStringRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.auth.v1beta1.AddressBytesToStringRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AddressBytesToStringRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an AddressBytesToStringResponse. */ interface IAddressBytesToStringResponse { /** AddressBytesToStringResponse address_string */ address_string?: (string|null); } /** Represents an AddressBytesToStringResponse. */ class AddressBytesToStringResponse implements IAddressBytesToStringResponse { /** * Constructs a new AddressBytesToStringResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.auth.v1beta1.IAddressBytesToStringResponse); /** AddressBytesToStringResponse address_string. */ public address_string: string; /** * Encodes the specified AddressBytesToStringResponse message. Does not implicitly {@link cosmos.auth.v1beta1.AddressBytesToStringResponse.verify|verify} messages. * @param message AddressBytesToStringResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.auth.v1beta1.IAddressBytesToStringResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AddressBytesToStringResponse message, length delimited. Does not implicitly {@link cosmos.auth.v1beta1.AddressBytesToStringResponse.verify|verify} messages. * @param message AddressBytesToStringResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.auth.v1beta1.IAddressBytesToStringResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AddressBytesToStringResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AddressBytesToStringResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.auth.v1beta1.AddressBytesToStringResponse; /** * Decodes an AddressBytesToStringResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AddressBytesToStringResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.auth.v1beta1.AddressBytesToStringResponse; /** * Verifies an AddressBytesToStringResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AddressBytesToStringResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AddressBytesToStringResponse */ public static fromObject(object: { [k: string]: any }): cosmos.auth.v1beta1.AddressBytesToStringResponse; /** * Creates a plain object from an AddressBytesToStringResponse message. Also converts values to other types if specified. * @param message AddressBytesToStringResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.auth.v1beta1.AddressBytesToStringResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AddressBytesToStringResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an AddressStringToBytesRequest. */ interface IAddressStringToBytesRequest { /** AddressStringToBytesRequest address_string */ address_string?: (string|null); } /** Represents an AddressStringToBytesRequest. */ class AddressStringToBytesRequest implements IAddressStringToBytesRequest { /** * Constructs a new AddressStringToBytesRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.auth.v1beta1.IAddressStringToBytesRequest); /** AddressStringToBytesRequest address_string. */ public address_string: string; /** * Encodes the specified AddressStringToBytesRequest message. Does not implicitly {@link cosmos.auth.v1beta1.AddressStringToBytesRequest.verify|verify} messages. * @param message AddressStringToBytesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.auth.v1beta1.IAddressStringToBytesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AddressStringToBytesRequest message, length delimited. Does not implicitly {@link cosmos.auth.v1beta1.AddressStringToBytesRequest.verify|verify} messages. * @param message AddressStringToBytesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.auth.v1beta1.IAddressStringToBytesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AddressStringToBytesRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AddressStringToBytesRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.auth.v1beta1.AddressStringToBytesRequest; /** * Decodes an AddressStringToBytesRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AddressStringToBytesRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.auth.v1beta1.AddressStringToBytesRequest; /** * Verifies an AddressStringToBytesRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AddressStringToBytesRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AddressStringToBytesRequest */ public static fromObject(object: { [k: string]: any }): cosmos.auth.v1beta1.AddressStringToBytesRequest; /** * Creates a plain object from an AddressStringToBytesRequest message. Also converts values to other types if specified. * @param message AddressStringToBytesRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.auth.v1beta1.AddressStringToBytesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AddressStringToBytesRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an AddressStringToBytesResponse. */ interface IAddressStringToBytesResponse { /** AddressStringToBytesResponse address_bytes */ address_bytes?: (Uint8Array|null); } /** Represents an AddressStringToBytesResponse. */ class AddressStringToBytesResponse implements IAddressStringToBytesResponse { /** * Constructs a new AddressStringToBytesResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.auth.v1beta1.IAddressStringToBytesResponse); /** AddressStringToBytesResponse address_bytes. */ public address_bytes: Uint8Array; /** * Encodes the specified AddressStringToBytesResponse message. Does not implicitly {@link cosmos.auth.v1beta1.AddressStringToBytesResponse.verify|verify} messages. * @param message AddressStringToBytesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.auth.v1beta1.IAddressStringToBytesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AddressStringToBytesResponse message, length delimited. Does not implicitly {@link cosmos.auth.v1beta1.AddressStringToBytesResponse.verify|verify} messages. * @param message AddressStringToBytesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.auth.v1beta1.IAddressStringToBytesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AddressStringToBytesResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AddressStringToBytesResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.auth.v1beta1.AddressStringToBytesResponse; /** * Decodes an AddressStringToBytesResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AddressStringToBytesResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.auth.v1beta1.AddressStringToBytesResponse; /** * Verifies an AddressStringToBytesResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AddressStringToBytesResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AddressStringToBytesResponse */ public static fromObject(object: { [k: string]: any }): cosmos.auth.v1beta1.AddressStringToBytesResponse; /** * Creates a plain object from an AddressStringToBytesResponse message. Also converts values to other types if specified. * @param message AddressStringToBytesResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.auth.v1beta1.AddressStringToBytesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AddressStringToBytesResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryAccountAddressByIDRequest. */ interface IQueryAccountAddressByIDRequest { /** QueryAccountAddressByIDRequest id */ id?: (Long|null); /** QueryAccountAddressByIDRequest account_id */ account_id?: (Long|null); } /** Represents a QueryAccountAddressByIDRequest. */ class QueryAccountAddressByIDRequest implements IQueryAccountAddressByIDRequest { /** * Constructs a new QueryAccountAddressByIDRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.auth.v1beta1.IQueryAccountAddressByIDRequest); /** QueryAccountAddressByIDRequest id. */ public id: Long; /** QueryAccountAddressByIDRequest account_id. */ public account_id: Long; /** * Encodes the specified QueryAccountAddressByIDRequest message. Does not implicitly {@link cosmos.auth.v1beta1.QueryAccountAddressByIDRequest.verify|verify} messages. * @param message QueryAccountAddressByIDRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.auth.v1beta1.IQueryAccountAddressByIDRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryAccountAddressByIDRequest message, length delimited. Does not implicitly {@link cosmos.auth.v1beta1.QueryAccountAddressByIDRequest.verify|verify} messages. * @param message QueryAccountAddressByIDRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.auth.v1beta1.IQueryAccountAddressByIDRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryAccountAddressByIDRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryAccountAddressByIDRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.auth.v1beta1.QueryAccountAddressByIDRequest; /** * Decodes a QueryAccountAddressByIDRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryAccountAddressByIDRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.auth.v1beta1.QueryAccountAddressByIDRequest; /** * Verifies a QueryAccountAddressByIDRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryAccountAddressByIDRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryAccountAddressByIDRequest */ public static fromObject(object: { [k: string]: any }): cosmos.auth.v1beta1.QueryAccountAddressByIDRequest; /** * Creates a plain object from a QueryAccountAddressByIDRequest message. Also converts values to other types if specified. * @param message QueryAccountAddressByIDRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.auth.v1beta1.QueryAccountAddressByIDRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryAccountAddressByIDRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryAccountAddressByIDResponse. */ interface IQueryAccountAddressByIDResponse { /** QueryAccountAddressByIDResponse account_address */ account_address?: (string|null); } /** Represents a QueryAccountAddressByIDResponse. */ class QueryAccountAddressByIDResponse implements IQueryAccountAddressByIDResponse { /** * Constructs a new QueryAccountAddressByIDResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.auth.v1beta1.IQueryAccountAddressByIDResponse); /** QueryAccountAddressByIDResponse account_address. */ public account_address: string; /** * Encodes the specified QueryAccountAddressByIDResponse message. Does not implicitly {@link cosmos.auth.v1beta1.QueryAccountAddressByIDResponse.verify|verify} messages. * @param message QueryAccountAddressByIDResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.auth.v1beta1.IQueryAccountAddressByIDResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryAccountAddressByIDResponse message, length delimited. Does not implicitly {@link cosmos.auth.v1beta1.QueryAccountAddressByIDResponse.verify|verify} messages. * @param message QueryAccountAddressByIDResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.auth.v1beta1.IQueryAccountAddressByIDResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryAccountAddressByIDResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryAccountAddressByIDResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.auth.v1beta1.QueryAccountAddressByIDResponse; /** * Decodes a QueryAccountAddressByIDResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryAccountAddressByIDResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.auth.v1beta1.QueryAccountAddressByIDResponse; /** * Verifies a QueryAccountAddressByIDResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryAccountAddressByIDResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryAccountAddressByIDResponse */ public static fromObject(object: { [k: string]: any }): cosmos.auth.v1beta1.QueryAccountAddressByIDResponse; /** * Creates a plain object from a QueryAccountAddressByIDResponse message. Also converts values to other types if specified. * @param message QueryAccountAddressByIDResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.auth.v1beta1.QueryAccountAddressByIDResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryAccountAddressByIDResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryAccountInfoRequest. */ interface IQueryAccountInfoRequest { /** QueryAccountInfoRequest address */ address?: (string|null); } /** Represents a QueryAccountInfoRequest. */ class QueryAccountInfoRequest implements IQueryAccountInfoRequest { /** * Constructs a new QueryAccountInfoRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.auth.v1beta1.IQueryAccountInfoRequest); /** QueryAccountInfoRequest address. */ public address: string; /** * Encodes the specified QueryAccountInfoRequest message. Does not implicitly {@link cosmos.auth.v1beta1.QueryAccountInfoRequest.verify|verify} messages. * @param message QueryAccountInfoRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.auth.v1beta1.IQueryAccountInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryAccountInfoRequest message, length delimited. Does not implicitly {@link cosmos.auth.v1beta1.QueryAccountInfoRequest.verify|verify} messages. * @param message QueryAccountInfoRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.auth.v1beta1.IQueryAccountInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryAccountInfoRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryAccountInfoRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.auth.v1beta1.QueryAccountInfoRequest; /** * Decodes a QueryAccountInfoRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryAccountInfoRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.auth.v1beta1.QueryAccountInfoRequest; /** * Verifies a QueryAccountInfoRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryAccountInfoRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryAccountInfoRequest */ public static fromObject(object: { [k: string]: any }): cosmos.auth.v1beta1.QueryAccountInfoRequest; /** * Creates a plain object from a QueryAccountInfoRequest message. Also converts values to other types if specified. * @param message QueryAccountInfoRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.auth.v1beta1.QueryAccountInfoRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryAccountInfoRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryAccountInfoResponse. */ interface IQueryAccountInfoResponse { /** QueryAccountInfoResponse info */ info?: (cosmos.auth.v1beta1.IBaseAccount|null); } /** Represents a QueryAccountInfoResponse. */ class QueryAccountInfoResponse implements IQueryAccountInfoResponse { /** * Constructs a new QueryAccountInfoResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.auth.v1beta1.IQueryAccountInfoResponse); /** QueryAccountInfoResponse info. */ public info?: (cosmos.auth.v1beta1.IBaseAccount|null); /** * Encodes the specified QueryAccountInfoResponse message. Does not implicitly {@link cosmos.auth.v1beta1.QueryAccountInfoResponse.verify|verify} messages. * @param message QueryAccountInfoResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.auth.v1beta1.IQueryAccountInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryAccountInfoResponse message, length delimited. Does not implicitly {@link cosmos.auth.v1beta1.QueryAccountInfoResponse.verify|verify} messages. * @param message QueryAccountInfoResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.auth.v1beta1.IQueryAccountInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryAccountInfoResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryAccountInfoResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.auth.v1beta1.QueryAccountInfoResponse; /** * Decodes a QueryAccountInfoResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryAccountInfoResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.auth.v1beta1.QueryAccountInfoResponse; /** * Verifies a QueryAccountInfoResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryAccountInfoResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryAccountInfoResponse */ public static fromObject(object: { [k: string]: any }): cosmos.auth.v1beta1.QueryAccountInfoResponse; /** * Creates a plain object from a QueryAccountInfoResponse message. Also converts values to other types if specified. * @param message QueryAccountInfoResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.auth.v1beta1.QueryAccountInfoResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryAccountInfoResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a BaseAccount. */ interface IBaseAccount { /** BaseAccount address */ address?: (string|null); /** BaseAccount pub_key */ pub_key?: (google.protobuf.IAny|null); /** BaseAccount account_number */ account_number?: (Long|null); /** BaseAccount sequence */ sequence?: (Long|null); } /** Represents a BaseAccount. */ class BaseAccount implements IBaseAccount { /** * Constructs a new BaseAccount. * @param [properties] Properties to set */ constructor(properties?: cosmos.auth.v1beta1.IBaseAccount); /** BaseAccount address. */ public address: string; /** BaseAccount pub_key. */ public pub_key?: (google.protobuf.IAny|null); /** BaseAccount account_number. */ public account_number: Long; /** BaseAccount sequence. */ public sequence: Long; /** * Encodes the specified BaseAccount message. Does not implicitly {@link cosmos.auth.v1beta1.BaseAccount.verify|verify} messages. * @param message BaseAccount message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.auth.v1beta1.IBaseAccount, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BaseAccount message, length delimited. Does not implicitly {@link cosmos.auth.v1beta1.BaseAccount.verify|verify} messages. * @param message BaseAccount message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.auth.v1beta1.IBaseAccount, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BaseAccount message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BaseAccount * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.auth.v1beta1.BaseAccount; /** * Decodes a BaseAccount message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BaseAccount * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.auth.v1beta1.BaseAccount; /** * Verifies a BaseAccount message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BaseAccount message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BaseAccount */ public static fromObject(object: { [k: string]: any }): cosmos.auth.v1beta1.BaseAccount; /** * Creates a plain object from a BaseAccount message. Also converts values to other types if specified. * @param message BaseAccount * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.auth.v1beta1.BaseAccount, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BaseAccount to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ModuleAccount. */ interface IModuleAccount { /** ModuleAccount base_account */ base_account?: (cosmos.auth.v1beta1.IBaseAccount|null); /** ModuleAccount name */ name?: (string|null); /** ModuleAccount permissions */ permissions?: (string[]|null); } /** Represents a ModuleAccount. */ class ModuleAccount implements IModuleAccount { /** * Constructs a new ModuleAccount. * @param [properties] Properties to set */ constructor(properties?: cosmos.auth.v1beta1.IModuleAccount); /** ModuleAccount base_account. */ public base_account?: (cosmos.auth.v1beta1.IBaseAccount|null); /** ModuleAccount name. */ public name: string; /** ModuleAccount permissions. */ public permissions: string[]; /** * Encodes the specified ModuleAccount message. Does not implicitly {@link cosmos.auth.v1beta1.ModuleAccount.verify|verify} messages. * @param message ModuleAccount message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.auth.v1beta1.IModuleAccount, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ModuleAccount message, length delimited. Does not implicitly {@link cosmos.auth.v1beta1.ModuleAccount.verify|verify} messages. * @param message ModuleAccount message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.auth.v1beta1.IModuleAccount, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ModuleAccount message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ModuleAccount * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.auth.v1beta1.ModuleAccount; /** * Decodes a ModuleAccount message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ModuleAccount * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.auth.v1beta1.ModuleAccount; /** * Verifies a ModuleAccount message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ModuleAccount message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ModuleAccount */ public static fromObject(object: { [k: string]: any }): cosmos.auth.v1beta1.ModuleAccount; /** * Creates a plain object from a ModuleAccount message. Also converts values to other types if specified. * @param message ModuleAccount * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.auth.v1beta1.ModuleAccount, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ModuleAccount to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ModuleCredential. */ interface IModuleCredential { /** ModuleCredential module_name */ module_name?: (string|null); /** ModuleCredential derivation_keys */ derivation_keys?: (Uint8Array[]|null); } /** Represents a ModuleCredential. */ class ModuleCredential implements IModuleCredential { /** * Constructs a new ModuleCredential. * @param [properties] Properties to set */ constructor(properties?: cosmos.auth.v1beta1.IModuleCredential); /** ModuleCredential module_name. */ public module_name: string; /** ModuleCredential derivation_keys. */ public derivation_keys: Uint8Array[]; /** * Encodes the specified ModuleCredential message. Does not implicitly {@link cosmos.auth.v1beta1.ModuleCredential.verify|verify} messages. * @param message ModuleCredential message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.auth.v1beta1.IModuleCredential, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ModuleCredential message, length delimited. Does not implicitly {@link cosmos.auth.v1beta1.ModuleCredential.verify|verify} messages. * @param message ModuleCredential message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.auth.v1beta1.IModuleCredential, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ModuleCredential message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ModuleCredential * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.auth.v1beta1.ModuleCredential; /** * Decodes a ModuleCredential message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ModuleCredential * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.auth.v1beta1.ModuleCredential; /** * Verifies a ModuleCredential message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ModuleCredential message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ModuleCredential */ public static fromObject(object: { [k: string]: any }): cosmos.auth.v1beta1.ModuleCredential; /** * Creates a plain object from a ModuleCredential message. Also converts values to other types if specified. * @param message ModuleCredential * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.auth.v1beta1.ModuleCredential, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ModuleCredential to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Params. */ interface IParams { /** Params max_memo_characters */ max_memo_characters?: (Long|null); /** Params tx_sig_limit */ tx_sig_limit?: (Long|null); /** Params tx_size_cost_per_byte */ tx_size_cost_per_byte?: (Long|null); /** Params sig_verify_cost_ed25519 */ sig_verify_cost_ed25519?: (Long|null); /** Params sig_verify_cost_secp256k1 */ sig_verify_cost_secp256k1?: (Long|null); } /** Represents a Params. */ class Params implements IParams { /** * Constructs a new Params. * @param [properties] Properties to set */ constructor(properties?: cosmos.auth.v1beta1.IParams); /** Params max_memo_characters. */ public max_memo_characters: Long; /** Params tx_sig_limit. */ public tx_sig_limit: Long; /** Params tx_size_cost_per_byte. */ public tx_size_cost_per_byte: Long; /** Params sig_verify_cost_ed25519. */ public sig_verify_cost_ed25519: Long; /** Params sig_verify_cost_secp256k1. */ public sig_verify_cost_secp256k1: Long; /** * Encodes the specified Params message. Does not implicitly {@link cosmos.auth.v1beta1.Params.verify|verify} messages. * @param message Params message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.auth.v1beta1.IParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Params message, length delimited. Does not implicitly {@link cosmos.auth.v1beta1.Params.verify|verify} messages. * @param message Params message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.auth.v1beta1.IParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Params message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Params * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.auth.v1beta1.Params; /** * Decodes a Params message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Params * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.auth.v1beta1.Params; /** * Verifies a Params message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Params message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Params */ public static fromObject(object: { [k: string]: any }): cosmos.auth.v1beta1.Params; /** * Creates a plain object from a Params message. Also converts values to other types if specified. * @param message Params * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.auth.v1beta1.Params, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Params to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Represents a Msg */ class Msg extends $protobuf.rpc.Service { /** * Constructs a new Msg service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls UpdateParams. * @param request MsgUpdateParams message or plain object * @param callback Node-style callback called with the error, if any, and MsgUpdateParamsResponse */ public updateParams(request: cosmos.auth.v1beta1.IMsgUpdateParams, callback: cosmos.auth.v1beta1.Msg.UpdateParamsCallback): void; /** * Calls UpdateParams. * @param request MsgUpdateParams message or plain object * @returns Promise */ public updateParams(request: cosmos.auth.v1beta1.IMsgUpdateParams): Promise; } namespace Msg { /** * Callback as used by {@link cosmos.auth.v1beta1.Msg#updateParams}. * @param error Error, if any * @param [response] MsgUpdateParamsResponse */ type UpdateParamsCallback = (error: (Error|null), response?: cosmos.auth.v1beta1.MsgUpdateParamsResponse) => void; } /** Properties of a MsgUpdateParams. */ interface IMsgUpdateParams { /** MsgUpdateParams authority */ authority?: (string|null); /** MsgUpdateParams params */ params?: (cosmos.auth.v1beta1.IParams|null); } /** Represents a MsgUpdateParams. */ class MsgUpdateParams implements IMsgUpdateParams { /** * Constructs a new MsgUpdateParams. * @param [properties] Properties to set */ constructor(properties?: cosmos.auth.v1beta1.IMsgUpdateParams); /** MsgUpdateParams authority. */ public authority: string; /** MsgUpdateParams params. */ public params?: (cosmos.auth.v1beta1.IParams|null); /** * Encodes the specified MsgUpdateParams message. Does not implicitly {@link cosmos.auth.v1beta1.MsgUpdateParams.verify|verify} messages. * @param message MsgUpdateParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.auth.v1beta1.IMsgUpdateParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgUpdateParams message, length delimited. Does not implicitly {@link cosmos.auth.v1beta1.MsgUpdateParams.verify|verify} messages. * @param message MsgUpdateParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.auth.v1beta1.IMsgUpdateParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgUpdateParams message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgUpdateParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.auth.v1beta1.MsgUpdateParams; /** * Decodes a MsgUpdateParams message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgUpdateParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.auth.v1beta1.MsgUpdateParams; /** * Verifies a MsgUpdateParams message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgUpdateParams message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgUpdateParams */ public static fromObject(object: { [k: string]: any }): cosmos.auth.v1beta1.MsgUpdateParams; /** * Creates a plain object from a MsgUpdateParams message. Also converts values to other types if specified. * @param message MsgUpdateParams * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.auth.v1beta1.MsgUpdateParams, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgUpdateParams to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgUpdateParamsResponse. */ interface IMsgUpdateParamsResponse { } /** Represents a MsgUpdateParamsResponse. */ class MsgUpdateParamsResponse implements IMsgUpdateParamsResponse { /** * Constructs a new MsgUpdateParamsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.auth.v1beta1.IMsgUpdateParamsResponse); /** * Encodes the specified MsgUpdateParamsResponse message. Does not implicitly {@link cosmos.auth.v1beta1.MsgUpdateParamsResponse.verify|verify} messages. * @param message MsgUpdateParamsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.auth.v1beta1.IMsgUpdateParamsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgUpdateParamsResponse message, length delimited. Does not implicitly {@link cosmos.auth.v1beta1.MsgUpdateParamsResponse.verify|verify} messages. * @param message MsgUpdateParamsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.auth.v1beta1.IMsgUpdateParamsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgUpdateParamsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgUpdateParamsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.auth.v1beta1.MsgUpdateParamsResponse; /** * Decodes a MsgUpdateParamsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgUpdateParamsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.auth.v1beta1.MsgUpdateParamsResponse; /** * Verifies a MsgUpdateParamsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgUpdateParamsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgUpdateParamsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.auth.v1beta1.MsgUpdateParamsResponse; /** * Creates a plain object from a MsgUpdateParamsResponse message. Also converts values to other types if specified. * @param message MsgUpdateParamsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.auth.v1beta1.MsgUpdateParamsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgUpdateParamsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GenesisState. */ interface IGenesisState { /** GenesisState params */ params?: (cosmos.auth.v1beta1.IParams|null); /** GenesisState accounts */ accounts?: (google.protobuf.IAny[]|null); } /** Represents a GenesisState. */ class GenesisState implements IGenesisState { /** * Constructs a new GenesisState. * @param [properties] Properties to set */ constructor(properties?: cosmos.auth.v1beta1.IGenesisState); /** GenesisState params. */ public params?: (cosmos.auth.v1beta1.IParams|null); /** GenesisState accounts. */ public accounts: google.protobuf.IAny[]; /** * Encodes the specified GenesisState message. Does not implicitly {@link cosmos.auth.v1beta1.GenesisState.verify|verify} messages. * @param message GenesisState message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.auth.v1beta1.IGenesisState, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GenesisState message, length delimited. Does not implicitly {@link cosmos.auth.v1beta1.GenesisState.verify|verify} messages. * @param message GenesisState message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.auth.v1beta1.IGenesisState, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GenesisState message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GenesisState * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.auth.v1beta1.GenesisState; /** * Decodes a GenesisState message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GenesisState * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.auth.v1beta1.GenesisState; /** * Verifies a GenesisState message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GenesisState message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GenesisState */ public static fromObject(object: { [k: string]: any }): cosmos.auth.v1beta1.GenesisState; /** * Creates a plain object from a GenesisState message. Also converts values to other types if specified. * @param message GenesisState * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.auth.v1beta1.GenesisState, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GenesisState to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace base. */ namespace base { /** Namespace query. */ namespace query { /** Namespace v1beta1. */ namespace v1beta1 { /** Properties of a PageRequest. */ interface IPageRequest { /** PageRequest key */ key?: (Uint8Array|null); /** PageRequest offset */ offset?: (Long|null); /** PageRequest limit */ limit?: (Long|null); /** PageRequest count_total */ count_total?: (boolean|null); /** PageRequest reverse */ reverse?: (boolean|null); } /** Represents a PageRequest. */ class PageRequest implements IPageRequest { /** * Constructs a new PageRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.query.v1beta1.IPageRequest); /** PageRequest key. */ public key: Uint8Array; /** PageRequest offset. */ public offset: Long; /** PageRequest limit. */ public limit: Long; /** PageRequest count_total. */ public count_total: boolean; /** PageRequest reverse. */ public reverse: boolean; /** * Encodes the specified PageRequest message. Does not implicitly {@link cosmos.base.query.v1beta1.PageRequest.verify|verify} messages. * @param message PageRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.query.v1beta1.IPageRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PageRequest message, length delimited. Does not implicitly {@link cosmos.base.query.v1beta1.PageRequest.verify|verify} messages. * @param message PageRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.query.v1beta1.IPageRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PageRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PageRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.query.v1beta1.PageRequest; /** * Decodes a PageRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PageRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.query.v1beta1.PageRequest; /** * Verifies a PageRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PageRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PageRequest */ public static fromObject(object: { [k: string]: any }): cosmos.base.query.v1beta1.PageRequest; /** * Creates a plain object from a PageRequest message. Also converts values to other types if specified. * @param message PageRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.query.v1beta1.PageRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PageRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a PageResponse. */ interface IPageResponse { /** PageResponse next_key */ next_key?: (Uint8Array|null); /** PageResponse total */ total?: (Long|null); } /** Represents a PageResponse. */ class PageResponse implements IPageResponse { /** * Constructs a new PageResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.query.v1beta1.IPageResponse); /** PageResponse next_key. */ public next_key: Uint8Array; /** PageResponse total. */ public total: Long; /** * Encodes the specified PageResponse message. Does not implicitly {@link cosmos.base.query.v1beta1.PageResponse.verify|verify} messages. * @param message PageResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.query.v1beta1.IPageResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PageResponse message, length delimited. Does not implicitly {@link cosmos.base.query.v1beta1.PageResponse.verify|verify} messages. * @param message PageResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.query.v1beta1.IPageResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PageResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PageResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.query.v1beta1.PageResponse; /** * Decodes a PageResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PageResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.query.v1beta1.PageResponse; /** * Verifies a PageResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PageResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PageResponse */ public static fromObject(object: { [k: string]: any }): cosmos.base.query.v1beta1.PageResponse; /** * Creates a plain object from a PageResponse message. Also converts values to other types if specified. * @param message PageResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.query.v1beta1.PageResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PageResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace v1beta1. */ namespace v1beta1 { /** Properties of a Coin. */ interface ICoin { /** Coin denom */ denom?: (string|null); /** Coin amount */ amount?: (string|null); } /** Represents a Coin. */ class Coin implements ICoin { /** * Constructs a new Coin. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.v1beta1.ICoin); /** Coin denom. */ public denom: string; /** Coin amount. */ public amount: string; /** * Encodes the specified Coin message. Does not implicitly {@link cosmos.base.v1beta1.Coin.verify|verify} messages. * @param message Coin message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.v1beta1.ICoin, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Coin message, length delimited. Does not implicitly {@link cosmos.base.v1beta1.Coin.verify|verify} messages. * @param message Coin message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.v1beta1.ICoin, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Coin message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Coin * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.v1beta1.Coin; /** * Decodes a Coin message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Coin * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.v1beta1.Coin; /** * Verifies a Coin message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Coin message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Coin */ public static fromObject(object: { [k: string]: any }): cosmos.base.v1beta1.Coin; /** * Creates a plain object from a Coin message. Also converts values to other types if specified. * @param message Coin * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.v1beta1.Coin, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Coin to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a DecCoin. */ interface IDecCoin { /** DecCoin denom */ denom?: (string|null); /** DecCoin amount */ amount?: (string|null); } /** Represents a DecCoin. */ class DecCoin implements IDecCoin { /** * Constructs a new DecCoin. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.v1beta1.IDecCoin); /** DecCoin denom. */ public denom: string; /** DecCoin amount. */ public amount: string; /** * Encodes the specified DecCoin message. Does not implicitly {@link cosmos.base.v1beta1.DecCoin.verify|verify} messages. * @param message DecCoin message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.v1beta1.IDecCoin, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DecCoin message, length delimited. Does not implicitly {@link cosmos.base.v1beta1.DecCoin.verify|verify} messages. * @param message DecCoin message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.v1beta1.IDecCoin, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DecCoin message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DecCoin * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.v1beta1.DecCoin; /** * Decodes a DecCoin message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DecCoin * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.v1beta1.DecCoin; /** * Verifies a DecCoin message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DecCoin message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DecCoin */ public static fromObject(object: { [k: string]: any }): cosmos.base.v1beta1.DecCoin; /** * Creates a plain object from a DecCoin message. Also converts values to other types if specified. * @param message DecCoin * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.v1beta1.DecCoin, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DecCoin to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an IntProto. */ interface IIntProto { /** IntProto int */ int?: (string|null); } /** Represents an IntProto. */ class IntProto implements IIntProto { /** * Constructs a new IntProto. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.v1beta1.IIntProto); /** IntProto int. */ public int: string; /** * Encodes the specified IntProto message. Does not implicitly {@link cosmos.base.v1beta1.IntProto.verify|verify} messages. * @param message IntProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.v1beta1.IIntProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified IntProto message, length delimited. Does not implicitly {@link cosmos.base.v1beta1.IntProto.verify|verify} messages. * @param message IntProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.v1beta1.IIntProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an IntProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns IntProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.v1beta1.IntProto; /** * Decodes an IntProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns IntProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.v1beta1.IntProto; /** * Verifies an IntProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an IntProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns IntProto */ public static fromObject(object: { [k: string]: any }): cosmos.base.v1beta1.IntProto; /** * Creates a plain object from an IntProto message. Also converts values to other types if specified. * @param message IntProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.v1beta1.IntProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this IntProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a DecProto. */ interface IDecProto { /** DecProto dec */ dec?: (string|null); } /** Represents a DecProto. */ class DecProto implements IDecProto { /** * Constructs a new DecProto. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.v1beta1.IDecProto); /** DecProto dec. */ public dec: string; /** * Encodes the specified DecProto message. Does not implicitly {@link cosmos.base.v1beta1.DecProto.verify|verify} messages. * @param message DecProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.v1beta1.IDecProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DecProto message, length delimited. Does not implicitly {@link cosmos.base.v1beta1.DecProto.verify|verify} messages. * @param message DecProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.v1beta1.IDecProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DecProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DecProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.v1beta1.DecProto; /** * Decodes a DecProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DecProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.v1beta1.DecProto; /** * Verifies a DecProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DecProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DecProto */ public static fromObject(object: { [k: string]: any }): cosmos.base.v1beta1.DecProto; /** * Creates a plain object from a DecProto message. Also converts values to other types if specified. * @param message DecProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.v1beta1.DecProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DecProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } /** Namespace abci. */ namespace abci { /** Namespace v1beta1. */ namespace v1beta1 { /** Properties of a TxResponse. */ interface ITxResponse { /** TxResponse height */ height?: (Long|null); /** TxResponse txhash */ txhash?: (string|null); /** TxResponse codespace */ codespace?: (string|null); /** TxResponse code */ code?: (number|null); /** TxResponse data */ data?: (string|null); /** TxResponse raw_log */ raw_log?: (string|null); /** TxResponse logs */ logs?: (cosmos.base.abci.v1beta1.IABCIMessageLog[]|null); /** TxResponse info */ info?: (string|null); /** TxResponse gas_wanted */ gas_wanted?: (Long|null); /** TxResponse gas_used */ gas_used?: (Long|null); /** TxResponse tx */ tx?: (google.protobuf.IAny|null); /** TxResponse timestamp */ timestamp?: (string|null); /** TxResponse events */ events?: (cometbft.abci.IEvent[]|null); } /** Represents a TxResponse. */ class TxResponse implements ITxResponse { /** * Constructs a new TxResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.abci.v1beta1.ITxResponse); /** TxResponse height. */ public height: Long; /** TxResponse txhash. */ public txhash: string; /** TxResponse codespace. */ public codespace: string; /** TxResponse code. */ public code: number; /** TxResponse data. */ public data: string; /** TxResponse raw_log. */ public raw_log: string; /** TxResponse logs. */ public logs: cosmos.base.abci.v1beta1.IABCIMessageLog[]; /** TxResponse info. */ public info: string; /** TxResponse gas_wanted. */ public gas_wanted: Long; /** TxResponse gas_used. */ public gas_used: Long; /** TxResponse tx. */ public tx?: (google.protobuf.IAny|null); /** TxResponse timestamp. */ public timestamp: string; /** TxResponse events. */ public events: cometbft.abci.IEvent[]; /** * Encodes the specified TxResponse message. Does not implicitly {@link cosmos.base.abci.v1beta1.TxResponse.verify|verify} messages. * @param message TxResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.abci.v1beta1.ITxResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TxResponse message, length delimited. Does not implicitly {@link cosmos.base.abci.v1beta1.TxResponse.verify|verify} messages. * @param message TxResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.abci.v1beta1.ITxResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TxResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TxResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.abci.v1beta1.TxResponse; /** * Decodes a TxResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TxResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.abci.v1beta1.TxResponse; /** * Verifies a TxResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TxResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TxResponse */ public static fromObject(object: { [k: string]: any }): cosmos.base.abci.v1beta1.TxResponse; /** * Creates a plain object from a TxResponse message. Also converts values to other types if specified. * @param message TxResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.abci.v1beta1.TxResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TxResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ABCIMessageLog. */ interface IABCIMessageLog { /** ABCIMessageLog msg_index */ msg_index?: (number|null); /** ABCIMessageLog log */ log?: (string|null); /** ABCIMessageLog events */ events?: (cosmos.base.abci.v1beta1.IStringEvent[]|null); } /** Represents a ABCIMessageLog. */ class ABCIMessageLog implements IABCIMessageLog { /** * Constructs a new ABCIMessageLog. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.abci.v1beta1.IABCIMessageLog); /** ABCIMessageLog msg_index. */ public msg_index: number; /** ABCIMessageLog log. */ public log: string; /** ABCIMessageLog events. */ public events: cosmos.base.abci.v1beta1.IStringEvent[]; /** * Encodes the specified ABCIMessageLog message. Does not implicitly {@link cosmos.base.abci.v1beta1.ABCIMessageLog.verify|verify} messages. * @param message ABCIMessageLog message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.abci.v1beta1.IABCIMessageLog, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ABCIMessageLog message, length delimited. Does not implicitly {@link cosmos.base.abci.v1beta1.ABCIMessageLog.verify|verify} messages. * @param message ABCIMessageLog message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.abci.v1beta1.IABCIMessageLog, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ABCIMessageLog message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ABCIMessageLog * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.abci.v1beta1.ABCIMessageLog; /** * Decodes a ABCIMessageLog message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ABCIMessageLog * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.abci.v1beta1.ABCIMessageLog; /** * Verifies a ABCIMessageLog message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ABCIMessageLog message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ABCIMessageLog */ public static fromObject(object: { [k: string]: any }): cosmos.base.abci.v1beta1.ABCIMessageLog; /** * Creates a plain object from a ABCIMessageLog message. Also converts values to other types if specified. * @param message ABCIMessageLog * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.abci.v1beta1.ABCIMessageLog, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ABCIMessageLog to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a StringEvent. */ interface IStringEvent { /** StringEvent type */ type?: (string|null); /** StringEvent attributes */ attributes?: (cosmos.base.abci.v1beta1.IAttribute[]|null); } /** Represents a StringEvent. */ class StringEvent implements IStringEvent { /** * Constructs a new StringEvent. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.abci.v1beta1.IStringEvent); /** StringEvent type. */ public type: string; /** StringEvent attributes. */ public attributes: cosmos.base.abci.v1beta1.IAttribute[]; /** * Encodes the specified StringEvent message. Does not implicitly {@link cosmos.base.abci.v1beta1.StringEvent.verify|verify} messages. * @param message StringEvent message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.abci.v1beta1.IStringEvent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified StringEvent message, length delimited. Does not implicitly {@link cosmos.base.abci.v1beta1.StringEvent.verify|verify} messages. * @param message StringEvent message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.abci.v1beta1.IStringEvent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a StringEvent message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns StringEvent * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.abci.v1beta1.StringEvent; /** * Decodes a StringEvent message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns StringEvent * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.abci.v1beta1.StringEvent; /** * Verifies a StringEvent message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a StringEvent message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns StringEvent */ public static fromObject(object: { [k: string]: any }): cosmos.base.abci.v1beta1.StringEvent; /** * Creates a plain object from a StringEvent message. Also converts values to other types if specified. * @param message StringEvent * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.abci.v1beta1.StringEvent, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this StringEvent to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an Attribute. */ interface IAttribute { /** Attribute key */ key?: (string|null); /** Attribute value */ value?: (string|null); } /** Represents an Attribute. */ class Attribute implements IAttribute { /** * Constructs a new Attribute. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.abci.v1beta1.IAttribute); /** Attribute key. */ public key: string; /** Attribute value. */ public value: string; /** * Encodes the specified Attribute message. Does not implicitly {@link cosmos.base.abci.v1beta1.Attribute.verify|verify} messages. * @param message Attribute message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.abci.v1beta1.IAttribute, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Attribute message, length delimited. Does not implicitly {@link cosmos.base.abci.v1beta1.Attribute.verify|verify} messages. * @param message Attribute message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.abci.v1beta1.IAttribute, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Attribute message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Attribute * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.abci.v1beta1.Attribute; /** * Decodes an Attribute message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Attribute * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.abci.v1beta1.Attribute; /** * Verifies an Attribute message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Attribute message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Attribute */ public static fromObject(object: { [k: string]: any }): cosmos.base.abci.v1beta1.Attribute; /** * Creates a plain object from an Attribute message. Also converts values to other types if specified. * @param message Attribute * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.abci.v1beta1.Attribute, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Attribute to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GasInfo. */ interface IGasInfo { /** GasInfo gas_wanted */ gas_wanted?: (Long|null); /** GasInfo gas_used */ gas_used?: (Long|null); } /** Represents a GasInfo. */ class GasInfo implements IGasInfo { /** * Constructs a new GasInfo. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.abci.v1beta1.IGasInfo); /** GasInfo gas_wanted. */ public gas_wanted: Long; /** GasInfo gas_used. */ public gas_used: Long; /** * Encodes the specified GasInfo message. Does not implicitly {@link cosmos.base.abci.v1beta1.GasInfo.verify|verify} messages. * @param message GasInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.abci.v1beta1.IGasInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GasInfo message, length delimited. Does not implicitly {@link cosmos.base.abci.v1beta1.GasInfo.verify|verify} messages. * @param message GasInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.abci.v1beta1.IGasInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GasInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GasInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.abci.v1beta1.GasInfo; /** * Decodes a GasInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GasInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.abci.v1beta1.GasInfo; /** * Verifies a GasInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GasInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GasInfo */ public static fromObject(object: { [k: string]: any }): cosmos.base.abci.v1beta1.GasInfo; /** * Creates a plain object from a GasInfo message. Also converts values to other types if specified. * @param message GasInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.abci.v1beta1.GasInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GasInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Result. */ interface IResult { /** Result data */ data?: (Uint8Array|null); /** Result log */ log?: (string|null); /** Result events */ events?: (cometbft.abci.IEvent[]|null); /** Result msg_responses */ msg_responses?: (google.protobuf.IAny[]|null); } /** Represents a Result. */ class Result implements IResult { /** * Constructs a new Result. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.abci.v1beta1.IResult); /** Result data. */ public data: Uint8Array; /** Result log. */ public log: string; /** Result events. */ public events: cometbft.abci.IEvent[]; /** Result msg_responses. */ public msg_responses: google.protobuf.IAny[]; /** * Encodes the specified Result message. Does not implicitly {@link cosmos.base.abci.v1beta1.Result.verify|verify} messages. * @param message Result message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.abci.v1beta1.IResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Result message, length delimited. Does not implicitly {@link cosmos.base.abci.v1beta1.Result.verify|verify} messages. * @param message Result message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.abci.v1beta1.IResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Result message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Result * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.abci.v1beta1.Result; /** * Decodes a Result message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Result * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.abci.v1beta1.Result; /** * Verifies a Result message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Result message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Result */ public static fromObject(object: { [k: string]: any }): cosmos.base.abci.v1beta1.Result; /** * Creates a plain object from a Result message. Also converts values to other types if specified. * @param message Result * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.abci.v1beta1.Result, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Result to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a SimulationResponse. */ interface ISimulationResponse { /** SimulationResponse gas_info */ gas_info?: (cosmos.base.abci.v1beta1.IGasInfo|null); /** SimulationResponse result */ result?: (cosmos.base.abci.v1beta1.IResult|null); } /** Represents a SimulationResponse. */ class SimulationResponse implements ISimulationResponse { /** * Constructs a new SimulationResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.abci.v1beta1.ISimulationResponse); /** SimulationResponse gas_info. */ public gas_info?: (cosmos.base.abci.v1beta1.IGasInfo|null); /** SimulationResponse result. */ public result?: (cosmos.base.abci.v1beta1.IResult|null); /** * Encodes the specified SimulationResponse message. Does not implicitly {@link cosmos.base.abci.v1beta1.SimulationResponse.verify|verify} messages. * @param message SimulationResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.abci.v1beta1.ISimulationResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SimulationResponse message, length delimited. Does not implicitly {@link cosmos.base.abci.v1beta1.SimulationResponse.verify|verify} messages. * @param message SimulationResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.abci.v1beta1.ISimulationResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SimulationResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SimulationResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.abci.v1beta1.SimulationResponse; /** * Decodes a SimulationResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SimulationResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.abci.v1beta1.SimulationResponse; /** * Verifies a SimulationResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SimulationResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SimulationResponse */ public static fromObject(object: { [k: string]: any }): cosmos.base.abci.v1beta1.SimulationResponse; /** * Creates a plain object from a SimulationResponse message. Also converts values to other types if specified. * @param message SimulationResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.abci.v1beta1.SimulationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SimulationResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgData. */ interface IMsgData { /** MsgData msg_type */ msg_type?: (string|null); /** MsgData data */ data?: (Uint8Array|null); } /** Represents a MsgData. */ class MsgData implements IMsgData { /** * Constructs a new MsgData. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.abci.v1beta1.IMsgData); /** MsgData msg_type. */ public msg_type: string; /** MsgData data. */ public data: Uint8Array; /** * Encodes the specified MsgData message. Does not implicitly {@link cosmos.base.abci.v1beta1.MsgData.verify|verify} messages. * @param message MsgData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.abci.v1beta1.IMsgData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgData message, length delimited. Does not implicitly {@link cosmos.base.abci.v1beta1.MsgData.verify|verify} messages. * @param message MsgData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.abci.v1beta1.IMsgData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.abci.v1beta1.MsgData; /** * Decodes a MsgData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.abci.v1beta1.MsgData; /** * Verifies a MsgData message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgData */ public static fromObject(object: { [k: string]: any }): cosmos.base.abci.v1beta1.MsgData; /** * Creates a plain object from a MsgData message. Also converts values to other types if specified. * @param message MsgData * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.abci.v1beta1.MsgData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgData to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a TxMsgData. */ interface ITxMsgData { /** TxMsgData data */ data?: (cosmos.base.abci.v1beta1.IMsgData[]|null); /** TxMsgData msg_responses */ msg_responses?: (google.protobuf.IAny[]|null); } /** Represents a TxMsgData. */ class TxMsgData implements ITxMsgData { /** * Constructs a new TxMsgData. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.abci.v1beta1.ITxMsgData); /** TxMsgData data. */ public data: cosmos.base.abci.v1beta1.IMsgData[]; /** TxMsgData msg_responses. */ public msg_responses: google.protobuf.IAny[]; /** * Encodes the specified TxMsgData message. Does not implicitly {@link cosmos.base.abci.v1beta1.TxMsgData.verify|verify} messages. * @param message TxMsgData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.abci.v1beta1.ITxMsgData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TxMsgData message, length delimited. Does not implicitly {@link cosmos.base.abci.v1beta1.TxMsgData.verify|verify} messages. * @param message TxMsgData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.abci.v1beta1.ITxMsgData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TxMsgData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TxMsgData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.abci.v1beta1.TxMsgData; /** * Decodes a TxMsgData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TxMsgData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.abci.v1beta1.TxMsgData; /** * Verifies a TxMsgData message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TxMsgData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TxMsgData */ public static fromObject(object: { [k: string]: any }): cosmos.base.abci.v1beta1.TxMsgData; /** * Creates a plain object from a TxMsgData message. Also converts values to other types if specified. * @param message TxMsgData * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.abci.v1beta1.TxMsgData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TxMsgData to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a SearchTxsResult. */ interface ISearchTxsResult { /** SearchTxsResult total_count */ total_count?: (Long|null); /** SearchTxsResult count */ count?: (Long|null); /** SearchTxsResult page_number */ page_number?: (Long|null); /** SearchTxsResult page_total */ page_total?: (Long|null); /** SearchTxsResult limit */ limit?: (Long|null); /** SearchTxsResult txs */ txs?: (cosmos.base.abci.v1beta1.ITxResponse[]|null); } /** Represents a SearchTxsResult. */ class SearchTxsResult implements ISearchTxsResult { /** * Constructs a new SearchTxsResult. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.abci.v1beta1.ISearchTxsResult); /** SearchTxsResult total_count. */ public total_count: Long; /** SearchTxsResult count. */ public count: Long; /** SearchTxsResult page_number. */ public page_number: Long; /** SearchTxsResult page_total. */ public page_total: Long; /** SearchTxsResult limit. */ public limit: Long; /** SearchTxsResult txs. */ public txs: cosmos.base.abci.v1beta1.ITxResponse[]; /** * Encodes the specified SearchTxsResult message. Does not implicitly {@link cosmos.base.abci.v1beta1.SearchTxsResult.verify|verify} messages. * @param message SearchTxsResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.abci.v1beta1.ISearchTxsResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SearchTxsResult message, length delimited. Does not implicitly {@link cosmos.base.abci.v1beta1.SearchTxsResult.verify|verify} messages. * @param message SearchTxsResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.abci.v1beta1.ISearchTxsResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SearchTxsResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SearchTxsResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.abci.v1beta1.SearchTxsResult; /** * Decodes a SearchTxsResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SearchTxsResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.abci.v1beta1.SearchTxsResult; /** * Verifies a SearchTxsResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SearchTxsResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SearchTxsResult */ public static fromObject(object: { [k: string]: any }): cosmos.base.abci.v1beta1.SearchTxsResult; /** * Creates a plain object from a SearchTxsResult message. Also converts values to other types if specified. * @param message SearchTxsResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.abci.v1beta1.SearchTxsResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SearchTxsResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace kv. */ namespace kv { /** Namespace v1beta1. */ namespace v1beta1 { /** Properties of a Pairs. */ interface IPairs { /** Pairs pairs */ pairs?: (cosmos.base.kv.v1beta1.IPair[]|null); } /** Represents a Pairs. */ class Pairs implements IPairs { /** * Constructs a new Pairs. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.kv.v1beta1.IPairs); /** Pairs pairs. */ public pairs: cosmos.base.kv.v1beta1.IPair[]; /** * Encodes the specified Pairs message. Does not implicitly {@link cosmos.base.kv.v1beta1.Pairs.verify|verify} messages. * @param message Pairs message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.kv.v1beta1.IPairs, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Pairs message, length delimited. Does not implicitly {@link cosmos.base.kv.v1beta1.Pairs.verify|verify} messages. * @param message Pairs message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.kv.v1beta1.IPairs, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Pairs message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Pairs * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.kv.v1beta1.Pairs; /** * Decodes a Pairs message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Pairs * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.kv.v1beta1.Pairs; /** * Verifies a Pairs message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Pairs message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Pairs */ public static fromObject(object: { [k: string]: any }): cosmos.base.kv.v1beta1.Pairs; /** * Creates a plain object from a Pairs message. Also converts values to other types if specified. * @param message Pairs * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.kv.v1beta1.Pairs, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Pairs to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Pair. */ interface IPair { /** Pair key */ key?: (Uint8Array|null); /** Pair value */ value?: (Uint8Array|null); } /** Represents a Pair. */ class Pair implements IPair { /** * Constructs a new Pair. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.kv.v1beta1.IPair); /** Pair key. */ public key: Uint8Array; /** Pair value. */ public value: Uint8Array; /** * Encodes the specified Pair message. Does not implicitly {@link cosmos.base.kv.v1beta1.Pair.verify|verify} messages. * @param message Pair message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.kv.v1beta1.IPair, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Pair message, length delimited. Does not implicitly {@link cosmos.base.kv.v1beta1.Pair.verify|verify} messages. * @param message Pair message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.kv.v1beta1.IPair, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Pair message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Pair * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.kv.v1beta1.Pair; /** * Decodes a Pair message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Pair * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.kv.v1beta1.Pair; /** * Verifies a Pair message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Pair message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Pair */ public static fromObject(object: { [k: string]: any }): cosmos.base.kv.v1beta1.Pair; /** * Creates a plain object from a Pair message. Also converts values to other types if specified. * @param message Pair * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.kv.v1beta1.Pair, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Pair to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace node. */ namespace node { /** Namespace v1beta1. */ namespace v1beta1 { /** Represents a Service */ class Service extends $protobuf.rpc.Service { /** * Constructs a new Service service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls Config. * @param request ConfigRequest message or plain object * @param callback Node-style callback called with the error, if any, and ConfigResponse */ public config(request: cosmos.base.node.v1beta1.IConfigRequest, callback: cosmos.base.node.v1beta1.Service.ConfigCallback): void; /** * Calls Config. * @param request ConfigRequest message or plain object * @returns Promise */ public config(request: cosmos.base.node.v1beta1.IConfigRequest): Promise; } namespace Service { /** * Callback as used by {@link cosmos.base.node.v1beta1.Service#config}. * @param error Error, if any * @param [response] ConfigResponse */ type ConfigCallback = (error: (Error|null), response?: cosmos.base.node.v1beta1.ConfigResponse) => void; } /** Properties of a ConfigRequest. */ interface IConfigRequest { } /** Represents a ConfigRequest. */ class ConfigRequest implements IConfigRequest { /** * Constructs a new ConfigRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.node.v1beta1.IConfigRequest); /** * Encodes the specified ConfigRequest message. Does not implicitly {@link cosmos.base.node.v1beta1.ConfigRequest.verify|verify} messages. * @param message ConfigRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.node.v1beta1.IConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ConfigRequest message, length delimited. Does not implicitly {@link cosmos.base.node.v1beta1.ConfigRequest.verify|verify} messages. * @param message ConfigRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.node.v1beta1.IConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ConfigRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ConfigRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.node.v1beta1.ConfigRequest; /** * Decodes a ConfigRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ConfigRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.node.v1beta1.ConfigRequest; /** * Verifies a ConfigRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ConfigRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ConfigRequest */ public static fromObject(object: { [k: string]: any }): cosmos.base.node.v1beta1.ConfigRequest; /** * Creates a plain object from a ConfigRequest message. Also converts values to other types if specified. * @param message ConfigRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.node.v1beta1.ConfigRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ConfigRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ConfigResponse. */ interface IConfigResponse { /** ConfigResponse minimum_gas_price */ minimum_gas_price?: (string|null); } /** Represents a ConfigResponse. */ class ConfigResponse implements IConfigResponse { /** * Constructs a new ConfigResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.node.v1beta1.IConfigResponse); /** ConfigResponse minimum_gas_price. */ public minimum_gas_price: string; /** * Encodes the specified ConfigResponse message. Does not implicitly {@link cosmos.base.node.v1beta1.ConfigResponse.verify|verify} messages. * @param message ConfigResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.node.v1beta1.IConfigResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ConfigResponse message, length delimited. Does not implicitly {@link cosmos.base.node.v1beta1.ConfigResponse.verify|verify} messages. * @param message ConfigResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.node.v1beta1.IConfigResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ConfigResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ConfigResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.node.v1beta1.ConfigResponse; /** * Decodes a ConfigResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ConfigResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.node.v1beta1.ConfigResponse; /** * Verifies a ConfigResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ConfigResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ConfigResponse */ public static fromObject(object: { [k: string]: any }): cosmos.base.node.v1beta1.ConfigResponse; /** * Creates a plain object from a ConfigResponse message. Also converts values to other types if specified. * @param message ConfigResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.node.v1beta1.ConfigResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ConfigResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace reflection. */ namespace reflection { /** Namespace v1beta1. */ namespace v1beta1 { /** Represents a ReflectionService */ class ReflectionService extends $protobuf.rpc.Service { /** * Constructs a new ReflectionService service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls ListAllInterfaces. * @param request ListAllInterfacesRequest message or plain object * @param callback Node-style callback called with the error, if any, and ListAllInterfacesResponse */ public listAllInterfaces(request: cosmos.base.reflection.v1beta1.IListAllInterfacesRequest, callback: cosmos.base.reflection.v1beta1.ReflectionService.ListAllInterfacesCallback): void; /** * Calls ListAllInterfaces. * @param request ListAllInterfacesRequest message or plain object * @returns Promise */ public listAllInterfaces(request: cosmos.base.reflection.v1beta1.IListAllInterfacesRequest): Promise; /** * Calls ListImplementations. * @param request ListImplementationsRequest message or plain object * @param callback Node-style callback called with the error, if any, and ListImplementationsResponse */ public listImplementations(request: cosmos.base.reflection.v1beta1.IListImplementationsRequest, callback: cosmos.base.reflection.v1beta1.ReflectionService.ListImplementationsCallback): void; /** * Calls ListImplementations. * @param request ListImplementationsRequest message or plain object * @returns Promise */ public listImplementations(request: cosmos.base.reflection.v1beta1.IListImplementationsRequest): Promise; } namespace ReflectionService { /** * Callback as used by {@link cosmos.base.reflection.v1beta1.ReflectionService#listAllInterfaces}. * @param error Error, if any * @param [response] ListAllInterfacesResponse */ type ListAllInterfacesCallback = (error: (Error|null), response?: cosmos.base.reflection.v1beta1.ListAllInterfacesResponse) => void; /** * Callback as used by {@link cosmos.base.reflection.v1beta1.ReflectionService#listImplementations}. * @param error Error, if any * @param [response] ListImplementationsResponse */ type ListImplementationsCallback = (error: (Error|null), response?: cosmos.base.reflection.v1beta1.ListImplementationsResponse) => void; } /** Properties of a ListAllInterfacesRequest. */ interface IListAllInterfacesRequest { } /** Represents a ListAllInterfacesRequest. */ class ListAllInterfacesRequest implements IListAllInterfacesRequest { /** * Constructs a new ListAllInterfacesRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.reflection.v1beta1.IListAllInterfacesRequest); /** * Encodes the specified ListAllInterfacesRequest message. Does not implicitly {@link cosmos.base.reflection.v1beta1.ListAllInterfacesRequest.verify|verify} messages. * @param message ListAllInterfacesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.reflection.v1beta1.IListAllInterfacesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListAllInterfacesRequest message, length delimited. Does not implicitly {@link cosmos.base.reflection.v1beta1.ListAllInterfacesRequest.verify|verify} messages. * @param message ListAllInterfacesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.reflection.v1beta1.IListAllInterfacesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListAllInterfacesRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListAllInterfacesRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.reflection.v1beta1.ListAllInterfacesRequest; /** * Decodes a ListAllInterfacesRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListAllInterfacesRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.reflection.v1beta1.ListAllInterfacesRequest; /** * Verifies a ListAllInterfacesRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListAllInterfacesRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListAllInterfacesRequest */ public static fromObject(object: { [k: string]: any }): cosmos.base.reflection.v1beta1.ListAllInterfacesRequest; /** * Creates a plain object from a ListAllInterfacesRequest message. Also converts values to other types if specified. * @param message ListAllInterfacesRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.reflection.v1beta1.ListAllInterfacesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListAllInterfacesRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ListAllInterfacesResponse. */ interface IListAllInterfacesResponse { /** ListAllInterfacesResponse interface_names */ interface_names?: (string[]|null); } /** Represents a ListAllInterfacesResponse. */ class ListAllInterfacesResponse implements IListAllInterfacesResponse { /** * Constructs a new ListAllInterfacesResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.reflection.v1beta1.IListAllInterfacesResponse); /** ListAllInterfacesResponse interface_names. */ public interface_names: string[]; /** * Encodes the specified ListAllInterfacesResponse message. Does not implicitly {@link cosmos.base.reflection.v1beta1.ListAllInterfacesResponse.verify|verify} messages. * @param message ListAllInterfacesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.reflection.v1beta1.IListAllInterfacesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListAllInterfacesResponse message, length delimited. Does not implicitly {@link cosmos.base.reflection.v1beta1.ListAllInterfacesResponse.verify|verify} messages. * @param message ListAllInterfacesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.reflection.v1beta1.IListAllInterfacesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListAllInterfacesResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListAllInterfacesResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.reflection.v1beta1.ListAllInterfacesResponse; /** * Decodes a ListAllInterfacesResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListAllInterfacesResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.reflection.v1beta1.ListAllInterfacesResponse; /** * Verifies a ListAllInterfacesResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListAllInterfacesResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListAllInterfacesResponse */ public static fromObject(object: { [k: string]: any }): cosmos.base.reflection.v1beta1.ListAllInterfacesResponse; /** * Creates a plain object from a ListAllInterfacesResponse message. Also converts values to other types if specified. * @param message ListAllInterfacesResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.reflection.v1beta1.ListAllInterfacesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListAllInterfacesResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ListImplementationsRequest. */ interface IListImplementationsRequest { /** ListImplementationsRequest interface_name */ interface_name?: (string|null); } /** Represents a ListImplementationsRequest. */ class ListImplementationsRequest implements IListImplementationsRequest { /** * Constructs a new ListImplementationsRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.reflection.v1beta1.IListImplementationsRequest); /** ListImplementationsRequest interface_name. */ public interface_name: string; /** * Encodes the specified ListImplementationsRequest message. Does not implicitly {@link cosmos.base.reflection.v1beta1.ListImplementationsRequest.verify|verify} messages. * @param message ListImplementationsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.reflection.v1beta1.IListImplementationsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListImplementationsRequest message, length delimited. Does not implicitly {@link cosmos.base.reflection.v1beta1.ListImplementationsRequest.verify|verify} messages. * @param message ListImplementationsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.reflection.v1beta1.IListImplementationsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListImplementationsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListImplementationsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.reflection.v1beta1.ListImplementationsRequest; /** * Decodes a ListImplementationsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListImplementationsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.reflection.v1beta1.ListImplementationsRequest; /** * Verifies a ListImplementationsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListImplementationsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListImplementationsRequest */ public static fromObject(object: { [k: string]: any }): cosmos.base.reflection.v1beta1.ListImplementationsRequest; /** * Creates a plain object from a ListImplementationsRequest message. Also converts values to other types if specified. * @param message ListImplementationsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.reflection.v1beta1.ListImplementationsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListImplementationsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ListImplementationsResponse. */ interface IListImplementationsResponse { /** ListImplementationsResponse implementation_message_names */ implementation_message_names?: (string[]|null); } /** Represents a ListImplementationsResponse. */ class ListImplementationsResponse implements IListImplementationsResponse { /** * Constructs a new ListImplementationsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.reflection.v1beta1.IListImplementationsResponse); /** ListImplementationsResponse implementation_message_names. */ public implementation_message_names: string[]; /** * Encodes the specified ListImplementationsResponse message. Does not implicitly {@link cosmos.base.reflection.v1beta1.ListImplementationsResponse.verify|verify} messages. * @param message ListImplementationsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.reflection.v1beta1.IListImplementationsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListImplementationsResponse message, length delimited. Does not implicitly {@link cosmos.base.reflection.v1beta1.ListImplementationsResponse.verify|verify} messages. * @param message ListImplementationsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.reflection.v1beta1.IListImplementationsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListImplementationsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListImplementationsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.reflection.v1beta1.ListImplementationsResponse; /** * Decodes a ListImplementationsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListImplementationsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.reflection.v1beta1.ListImplementationsResponse; /** * Verifies a ListImplementationsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListImplementationsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListImplementationsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.base.reflection.v1beta1.ListImplementationsResponse; /** * Creates a plain object from a ListImplementationsResponse message. Also converts values to other types if specified. * @param message ListImplementationsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.reflection.v1beta1.ListImplementationsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListImplementationsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } /** Namespace v2alpha1. */ namespace v2alpha1 { /** Properties of an AppDescriptor. */ interface IAppDescriptor { /** AppDescriptor authn */ authn?: (cosmos.base.reflection.v2alpha1.IAuthnDescriptor|null); /** AppDescriptor chain */ chain?: (cosmos.base.reflection.v2alpha1.IChainDescriptor|null); /** AppDescriptor codec */ codec?: (cosmos.base.reflection.v2alpha1.ICodecDescriptor|null); /** AppDescriptor configuration */ configuration?: (cosmos.base.reflection.v2alpha1.IConfigurationDescriptor|null); /** AppDescriptor query_services */ query_services?: (cosmos.base.reflection.v2alpha1.IQueryServicesDescriptor|null); /** AppDescriptor tx */ tx?: (cosmos.base.reflection.v2alpha1.ITxDescriptor|null); } /** Represents an AppDescriptor. */ class AppDescriptor implements IAppDescriptor { /** * Constructs a new AppDescriptor. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.reflection.v2alpha1.IAppDescriptor); /** AppDescriptor authn. */ public authn?: (cosmos.base.reflection.v2alpha1.IAuthnDescriptor|null); /** AppDescriptor chain. */ public chain?: (cosmos.base.reflection.v2alpha1.IChainDescriptor|null); /** AppDescriptor codec. */ public codec?: (cosmos.base.reflection.v2alpha1.ICodecDescriptor|null); /** AppDescriptor configuration. */ public configuration?: (cosmos.base.reflection.v2alpha1.IConfigurationDescriptor|null); /** AppDescriptor query_services. */ public query_services?: (cosmos.base.reflection.v2alpha1.IQueryServicesDescriptor|null); /** AppDescriptor tx. */ public tx?: (cosmos.base.reflection.v2alpha1.ITxDescriptor|null); /** * Encodes the specified AppDescriptor message. Does not implicitly {@link cosmos.base.reflection.v2alpha1.AppDescriptor.verify|verify} messages. * @param message AppDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.reflection.v2alpha1.IAppDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AppDescriptor message, length delimited. Does not implicitly {@link cosmos.base.reflection.v2alpha1.AppDescriptor.verify|verify} messages. * @param message AppDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.reflection.v2alpha1.IAppDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AppDescriptor message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AppDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.reflection.v2alpha1.AppDescriptor; /** * Decodes an AppDescriptor message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AppDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.reflection.v2alpha1.AppDescriptor; /** * Verifies an AppDescriptor message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AppDescriptor message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AppDescriptor */ public static fromObject(object: { [k: string]: any }): cosmos.base.reflection.v2alpha1.AppDescriptor; /** * Creates a plain object from an AppDescriptor message. Also converts values to other types if specified. * @param message AppDescriptor * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.reflection.v2alpha1.AppDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AppDescriptor to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a TxDescriptor. */ interface ITxDescriptor { /** TxDescriptor fullname */ fullname?: (string|null); /** TxDescriptor msgs */ msgs?: (cosmos.base.reflection.v2alpha1.IMsgDescriptor[]|null); } /** Represents a TxDescriptor. */ class TxDescriptor implements ITxDescriptor { /** * Constructs a new TxDescriptor. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.reflection.v2alpha1.ITxDescriptor); /** TxDescriptor fullname. */ public fullname: string; /** TxDescriptor msgs. */ public msgs: cosmos.base.reflection.v2alpha1.IMsgDescriptor[]; /** * Encodes the specified TxDescriptor message. Does not implicitly {@link cosmos.base.reflection.v2alpha1.TxDescriptor.verify|verify} messages. * @param message TxDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.reflection.v2alpha1.ITxDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TxDescriptor message, length delimited. Does not implicitly {@link cosmos.base.reflection.v2alpha1.TxDescriptor.verify|verify} messages. * @param message TxDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.reflection.v2alpha1.ITxDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TxDescriptor message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TxDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.reflection.v2alpha1.TxDescriptor; /** * Decodes a TxDescriptor message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TxDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.reflection.v2alpha1.TxDescriptor; /** * Verifies a TxDescriptor message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TxDescriptor message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TxDescriptor */ public static fromObject(object: { [k: string]: any }): cosmos.base.reflection.v2alpha1.TxDescriptor; /** * Creates a plain object from a TxDescriptor message. Also converts values to other types if specified. * @param message TxDescriptor * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.reflection.v2alpha1.TxDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TxDescriptor to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an AuthnDescriptor. */ interface IAuthnDescriptor { /** AuthnDescriptor sign_modes */ sign_modes?: (cosmos.base.reflection.v2alpha1.ISigningModeDescriptor[]|null); } /** Represents an AuthnDescriptor. */ class AuthnDescriptor implements IAuthnDescriptor { /** * Constructs a new AuthnDescriptor. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.reflection.v2alpha1.IAuthnDescriptor); /** AuthnDescriptor sign_modes. */ public sign_modes: cosmos.base.reflection.v2alpha1.ISigningModeDescriptor[]; /** * Encodes the specified AuthnDescriptor message. Does not implicitly {@link cosmos.base.reflection.v2alpha1.AuthnDescriptor.verify|verify} messages. * @param message AuthnDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.reflection.v2alpha1.IAuthnDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AuthnDescriptor message, length delimited. Does not implicitly {@link cosmos.base.reflection.v2alpha1.AuthnDescriptor.verify|verify} messages. * @param message AuthnDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.reflection.v2alpha1.IAuthnDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AuthnDescriptor message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AuthnDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.reflection.v2alpha1.AuthnDescriptor; /** * Decodes an AuthnDescriptor message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AuthnDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.reflection.v2alpha1.AuthnDescriptor; /** * Verifies an AuthnDescriptor message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AuthnDescriptor message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AuthnDescriptor */ public static fromObject(object: { [k: string]: any }): cosmos.base.reflection.v2alpha1.AuthnDescriptor; /** * Creates a plain object from an AuthnDescriptor message. Also converts values to other types if specified. * @param message AuthnDescriptor * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.reflection.v2alpha1.AuthnDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AuthnDescriptor to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a SigningModeDescriptor. */ interface ISigningModeDescriptor { /** SigningModeDescriptor name */ name?: (string|null); /** SigningModeDescriptor number */ number?: (number|null); /** SigningModeDescriptor authn_info_provider_method_fullname */ authn_info_provider_method_fullname?: (string|null); } /** Represents a SigningModeDescriptor. */ class SigningModeDescriptor implements ISigningModeDescriptor { /** * Constructs a new SigningModeDescriptor. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.reflection.v2alpha1.ISigningModeDescriptor); /** SigningModeDescriptor name. */ public name: string; /** SigningModeDescriptor number. */ public number: number; /** SigningModeDescriptor authn_info_provider_method_fullname. */ public authn_info_provider_method_fullname: string; /** * Encodes the specified SigningModeDescriptor message. Does not implicitly {@link cosmos.base.reflection.v2alpha1.SigningModeDescriptor.verify|verify} messages. * @param message SigningModeDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.reflection.v2alpha1.ISigningModeDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SigningModeDescriptor message, length delimited. Does not implicitly {@link cosmos.base.reflection.v2alpha1.SigningModeDescriptor.verify|verify} messages. * @param message SigningModeDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.reflection.v2alpha1.ISigningModeDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SigningModeDescriptor message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SigningModeDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.reflection.v2alpha1.SigningModeDescriptor; /** * Decodes a SigningModeDescriptor message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SigningModeDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.reflection.v2alpha1.SigningModeDescriptor; /** * Verifies a SigningModeDescriptor message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SigningModeDescriptor message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SigningModeDescriptor */ public static fromObject(object: { [k: string]: any }): cosmos.base.reflection.v2alpha1.SigningModeDescriptor; /** * Creates a plain object from a SigningModeDescriptor message. Also converts values to other types if specified. * @param message SigningModeDescriptor * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.reflection.v2alpha1.SigningModeDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SigningModeDescriptor to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ChainDescriptor. */ interface IChainDescriptor { /** ChainDescriptor id */ id?: (string|null); } /** Represents a ChainDescriptor. */ class ChainDescriptor implements IChainDescriptor { /** * Constructs a new ChainDescriptor. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.reflection.v2alpha1.IChainDescriptor); /** ChainDescriptor id. */ public id: string; /** * Encodes the specified ChainDescriptor message. Does not implicitly {@link cosmos.base.reflection.v2alpha1.ChainDescriptor.verify|verify} messages. * @param message ChainDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.reflection.v2alpha1.IChainDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ChainDescriptor message, length delimited. Does not implicitly {@link cosmos.base.reflection.v2alpha1.ChainDescriptor.verify|verify} messages. * @param message ChainDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.reflection.v2alpha1.IChainDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ChainDescriptor message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ChainDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.reflection.v2alpha1.ChainDescriptor; /** * Decodes a ChainDescriptor message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ChainDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.reflection.v2alpha1.ChainDescriptor; /** * Verifies a ChainDescriptor message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ChainDescriptor message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ChainDescriptor */ public static fromObject(object: { [k: string]: any }): cosmos.base.reflection.v2alpha1.ChainDescriptor; /** * Creates a plain object from a ChainDescriptor message. Also converts values to other types if specified. * @param message ChainDescriptor * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.reflection.v2alpha1.ChainDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ChainDescriptor to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a CodecDescriptor. */ interface ICodecDescriptor { /** CodecDescriptor interfaces */ interfaces?: (cosmos.base.reflection.v2alpha1.IInterfaceDescriptor[]|null); } /** Represents a CodecDescriptor. */ class CodecDescriptor implements ICodecDescriptor { /** * Constructs a new CodecDescriptor. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.reflection.v2alpha1.ICodecDescriptor); /** CodecDescriptor interfaces. */ public interfaces: cosmos.base.reflection.v2alpha1.IInterfaceDescriptor[]; /** * Encodes the specified CodecDescriptor message. Does not implicitly {@link cosmos.base.reflection.v2alpha1.CodecDescriptor.verify|verify} messages. * @param message CodecDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.reflection.v2alpha1.ICodecDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CodecDescriptor message, length delimited. Does not implicitly {@link cosmos.base.reflection.v2alpha1.CodecDescriptor.verify|verify} messages. * @param message CodecDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.reflection.v2alpha1.ICodecDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CodecDescriptor message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CodecDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.reflection.v2alpha1.CodecDescriptor; /** * Decodes a CodecDescriptor message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CodecDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.reflection.v2alpha1.CodecDescriptor; /** * Verifies a CodecDescriptor message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CodecDescriptor message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CodecDescriptor */ public static fromObject(object: { [k: string]: any }): cosmos.base.reflection.v2alpha1.CodecDescriptor; /** * Creates a plain object from a CodecDescriptor message. Also converts values to other types if specified. * @param message CodecDescriptor * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.reflection.v2alpha1.CodecDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CodecDescriptor to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an InterfaceDescriptor. */ interface IInterfaceDescriptor { /** InterfaceDescriptor fullname */ fullname?: (string|null); /** InterfaceDescriptor interface_accepting_messages */ interface_accepting_messages?: (cosmos.base.reflection.v2alpha1.IInterfaceAcceptingMessageDescriptor[]|null); /** InterfaceDescriptor interface_implementers */ interface_implementers?: (cosmos.base.reflection.v2alpha1.IInterfaceImplementerDescriptor[]|null); } /** Represents an InterfaceDescriptor. */ class InterfaceDescriptor implements IInterfaceDescriptor { /** * Constructs a new InterfaceDescriptor. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.reflection.v2alpha1.IInterfaceDescriptor); /** InterfaceDescriptor fullname. */ public fullname: string; /** InterfaceDescriptor interface_accepting_messages. */ public interface_accepting_messages: cosmos.base.reflection.v2alpha1.IInterfaceAcceptingMessageDescriptor[]; /** InterfaceDescriptor interface_implementers. */ public interface_implementers: cosmos.base.reflection.v2alpha1.IInterfaceImplementerDescriptor[]; /** * Encodes the specified InterfaceDescriptor message. Does not implicitly {@link cosmos.base.reflection.v2alpha1.InterfaceDescriptor.verify|verify} messages. * @param message InterfaceDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.reflection.v2alpha1.IInterfaceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified InterfaceDescriptor message, length delimited. Does not implicitly {@link cosmos.base.reflection.v2alpha1.InterfaceDescriptor.verify|verify} messages. * @param message InterfaceDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.reflection.v2alpha1.IInterfaceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an InterfaceDescriptor message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns InterfaceDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.reflection.v2alpha1.InterfaceDescriptor; /** * Decodes an InterfaceDescriptor message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns InterfaceDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.reflection.v2alpha1.InterfaceDescriptor; /** * Verifies an InterfaceDescriptor message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an InterfaceDescriptor message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns InterfaceDescriptor */ public static fromObject(object: { [k: string]: any }): cosmos.base.reflection.v2alpha1.InterfaceDescriptor; /** * Creates a plain object from an InterfaceDescriptor message. Also converts values to other types if specified. * @param message InterfaceDescriptor * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.reflection.v2alpha1.InterfaceDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this InterfaceDescriptor to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an InterfaceImplementerDescriptor. */ interface IInterfaceImplementerDescriptor { /** InterfaceImplementerDescriptor fullname */ fullname?: (string|null); /** InterfaceImplementerDescriptor type_url */ type_url?: (string|null); } /** Represents an InterfaceImplementerDescriptor. */ class InterfaceImplementerDescriptor implements IInterfaceImplementerDescriptor { /** * Constructs a new InterfaceImplementerDescriptor. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.reflection.v2alpha1.IInterfaceImplementerDescriptor); /** InterfaceImplementerDescriptor fullname. */ public fullname: string; /** InterfaceImplementerDescriptor type_url. */ public type_url: string; /** * Encodes the specified InterfaceImplementerDescriptor message. Does not implicitly {@link cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor.verify|verify} messages. * @param message InterfaceImplementerDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.reflection.v2alpha1.IInterfaceImplementerDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified InterfaceImplementerDescriptor message, length delimited. Does not implicitly {@link cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor.verify|verify} messages. * @param message InterfaceImplementerDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.reflection.v2alpha1.IInterfaceImplementerDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an InterfaceImplementerDescriptor message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns InterfaceImplementerDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor; /** * Decodes an InterfaceImplementerDescriptor message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns InterfaceImplementerDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor; /** * Verifies an InterfaceImplementerDescriptor message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an InterfaceImplementerDescriptor message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns InterfaceImplementerDescriptor */ public static fromObject(object: { [k: string]: any }): cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor; /** * Creates a plain object from an InterfaceImplementerDescriptor message. Also converts values to other types if specified. * @param message InterfaceImplementerDescriptor * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this InterfaceImplementerDescriptor to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an InterfaceAcceptingMessageDescriptor. */ interface IInterfaceAcceptingMessageDescriptor { /** InterfaceAcceptingMessageDescriptor fullname */ fullname?: (string|null); /** InterfaceAcceptingMessageDescriptor field_descriptor_names */ field_descriptor_names?: (string[]|null); } /** Represents an InterfaceAcceptingMessageDescriptor. */ class InterfaceAcceptingMessageDescriptor implements IInterfaceAcceptingMessageDescriptor { /** * Constructs a new InterfaceAcceptingMessageDescriptor. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.reflection.v2alpha1.IInterfaceAcceptingMessageDescriptor); /** InterfaceAcceptingMessageDescriptor fullname. */ public fullname: string; /** InterfaceAcceptingMessageDescriptor field_descriptor_names. */ public field_descriptor_names: string[]; /** * Encodes the specified InterfaceAcceptingMessageDescriptor message. Does not implicitly {@link cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor.verify|verify} messages. * @param message InterfaceAcceptingMessageDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.reflection.v2alpha1.IInterfaceAcceptingMessageDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified InterfaceAcceptingMessageDescriptor message, length delimited. Does not implicitly {@link cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor.verify|verify} messages. * @param message InterfaceAcceptingMessageDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.reflection.v2alpha1.IInterfaceAcceptingMessageDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an InterfaceAcceptingMessageDescriptor message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns InterfaceAcceptingMessageDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor; /** * Decodes an InterfaceAcceptingMessageDescriptor message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns InterfaceAcceptingMessageDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor; /** * Verifies an InterfaceAcceptingMessageDescriptor message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an InterfaceAcceptingMessageDescriptor message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns InterfaceAcceptingMessageDescriptor */ public static fromObject(object: { [k: string]: any }): cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor; /** * Creates a plain object from an InterfaceAcceptingMessageDescriptor message. Also converts values to other types if specified. * @param message InterfaceAcceptingMessageDescriptor * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this InterfaceAcceptingMessageDescriptor to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ConfigurationDescriptor. */ interface IConfigurationDescriptor { /** ConfigurationDescriptor bech32_account_address_prefix */ bech32_account_address_prefix?: (string|null); } /** Represents a ConfigurationDescriptor. */ class ConfigurationDescriptor implements IConfigurationDescriptor { /** * Constructs a new ConfigurationDescriptor. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.reflection.v2alpha1.IConfigurationDescriptor); /** ConfigurationDescriptor bech32_account_address_prefix. */ public bech32_account_address_prefix: string; /** * Encodes the specified ConfigurationDescriptor message. Does not implicitly {@link cosmos.base.reflection.v2alpha1.ConfigurationDescriptor.verify|verify} messages. * @param message ConfigurationDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.reflection.v2alpha1.IConfigurationDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ConfigurationDescriptor message, length delimited. Does not implicitly {@link cosmos.base.reflection.v2alpha1.ConfigurationDescriptor.verify|verify} messages. * @param message ConfigurationDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.reflection.v2alpha1.IConfigurationDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ConfigurationDescriptor message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ConfigurationDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.reflection.v2alpha1.ConfigurationDescriptor; /** * Decodes a ConfigurationDescriptor message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ConfigurationDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.reflection.v2alpha1.ConfigurationDescriptor; /** * Verifies a ConfigurationDescriptor message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ConfigurationDescriptor message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ConfigurationDescriptor */ public static fromObject(object: { [k: string]: any }): cosmos.base.reflection.v2alpha1.ConfigurationDescriptor; /** * Creates a plain object from a ConfigurationDescriptor message. Also converts values to other types if specified. * @param message ConfigurationDescriptor * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.reflection.v2alpha1.ConfigurationDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ConfigurationDescriptor to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgDescriptor. */ interface IMsgDescriptor { /** MsgDescriptor msg_type_url */ msg_type_url?: (string|null); } /** Represents a MsgDescriptor. */ class MsgDescriptor implements IMsgDescriptor { /** * Constructs a new MsgDescriptor. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.reflection.v2alpha1.IMsgDescriptor); /** MsgDescriptor msg_type_url. */ public msg_type_url: string; /** * Encodes the specified MsgDescriptor message. Does not implicitly {@link cosmos.base.reflection.v2alpha1.MsgDescriptor.verify|verify} messages. * @param message MsgDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.reflection.v2alpha1.IMsgDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgDescriptor message, length delimited. Does not implicitly {@link cosmos.base.reflection.v2alpha1.MsgDescriptor.verify|verify} messages. * @param message MsgDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.reflection.v2alpha1.IMsgDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgDescriptor message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.reflection.v2alpha1.MsgDescriptor; /** * Decodes a MsgDescriptor message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.reflection.v2alpha1.MsgDescriptor; /** * Verifies a MsgDescriptor message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgDescriptor message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgDescriptor */ public static fromObject(object: { [k: string]: any }): cosmos.base.reflection.v2alpha1.MsgDescriptor; /** * Creates a plain object from a MsgDescriptor message. Also converts values to other types if specified. * @param message MsgDescriptor * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.reflection.v2alpha1.MsgDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgDescriptor to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Represents a ReflectionService */ class ReflectionService extends $protobuf.rpc.Service { /** * Constructs a new ReflectionService service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls GetAuthnDescriptor. * @param request GetAuthnDescriptorRequest message or plain object * @param callback Node-style callback called with the error, if any, and GetAuthnDescriptorResponse */ public getAuthnDescriptor(request: cosmos.base.reflection.v2alpha1.IGetAuthnDescriptorRequest, callback: cosmos.base.reflection.v2alpha1.ReflectionService.GetAuthnDescriptorCallback): void; /** * Calls GetAuthnDescriptor. * @param request GetAuthnDescriptorRequest message or plain object * @returns Promise */ public getAuthnDescriptor(request: cosmos.base.reflection.v2alpha1.IGetAuthnDescriptorRequest): Promise; /** * Calls GetChainDescriptor. * @param request GetChainDescriptorRequest message or plain object * @param callback Node-style callback called with the error, if any, and GetChainDescriptorResponse */ public getChainDescriptor(request: cosmos.base.reflection.v2alpha1.IGetChainDescriptorRequest, callback: cosmos.base.reflection.v2alpha1.ReflectionService.GetChainDescriptorCallback): void; /** * Calls GetChainDescriptor. * @param request GetChainDescriptorRequest message or plain object * @returns Promise */ public getChainDescriptor(request: cosmos.base.reflection.v2alpha1.IGetChainDescriptorRequest): Promise; /** * Calls GetCodecDescriptor. * @param request GetCodecDescriptorRequest message or plain object * @param callback Node-style callback called with the error, if any, and GetCodecDescriptorResponse */ public getCodecDescriptor(request: cosmos.base.reflection.v2alpha1.IGetCodecDescriptorRequest, callback: cosmos.base.reflection.v2alpha1.ReflectionService.GetCodecDescriptorCallback): void; /** * Calls GetCodecDescriptor. * @param request GetCodecDescriptorRequest message or plain object * @returns Promise */ public getCodecDescriptor(request: cosmos.base.reflection.v2alpha1.IGetCodecDescriptorRequest): Promise; /** * Calls GetConfigurationDescriptor. * @param request GetConfigurationDescriptorRequest message or plain object * @param callback Node-style callback called with the error, if any, and GetConfigurationDescriptorResponse */ public getConfigurationDescriptor(request: cosmos.base.reflection.v2alpha1.IGetConfigurationDescriptorRequest, callback: cosmos.base.reflection.v2alpha1.ReflectionService.GetConfigurationDescriptorCallback): void; /** * Calls GetConfigurationDescriptor. * @param request GetConfigurationDescriptorRequest message or plain object * @returns Promise */ public getConfigurationDescriptor(request: cosmos.base.reflection.v2alpha1.IGetConfigurationDescriptorRequest): Promise; /** * Calls GetQueryServicesDescriptor. * @param request GetQueryServicesDescriptorRequest message or plain object * @param callback Node-style callback called with the error, if any, and GetQueryServicesDescriptorResponse */ public getQueryServicesDescriptor(request: cosmos.base.reflection.v2alpha1.IGetQueryServicesDescriptorRequest, callback: cosmos.base.reflection.v2alpha1.ReflectionService.GetQueryServicesDescriptorCallback): void; /** * Calls GetQueryServicesDescriptor. * @param request GetQueryServicesDescriptorRequest message or plain object * @returns Promise */ public getQueryServicesDescriptor(request: cosmos.base.reflection.v2alpha1.IGetQueryServicesDescriptorRequest): Promise; /** * Calls GetTxDescriptor. * @param request GetTxDescriptorRequest message or plain object * @param callback Node-style callback called with the error, if any, and GetTxDescriptorResponse */ public getTxDescriptor(request: cosmos.base.reflection.v2alpha1.IGetTxDescriptorRequest, callback: cosmos.base.reflection.v2alpha1.ReflectionService.GetTxDescriptorCallback): void; /** * Calls GetTxDescriptor. * @param request GetTxDescriptorRequest message or plain object * @returns Promise */ public getTxDescriptor(request: cosmos.base.reflection.v2alpha1.IGetTxDescriptorRequest): Promise; } namespace ReflectionService { /** * Callback as used by {@link cosmos.base.reflection.v2alpha1.ReflectionService#getAuthnDescriptor}. * @param error Error, if any * @param [response] GetAuthnDescriptorResponse */ type GetAuthnDescriptorCallback = (error: (Error|null), response?: cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse) => void; /** * Callback as used by {@link cosmos.base.reflection.v2alpha1.ReflectionService#getChainDescriptor}. * @param error Error, if any * @param [response] GetChainDescriptorResponse */ type GetChainDescriptorCallback = (error: (Error|null), response?: cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse) => void; /** * Callback as used by {@link cosmos.base.reflection.v2alpha1.ReflectionService#getCodecDescriptor}. * @param error Error, if any * @param [response] GetCodecDescriptorResponse */ type GetCodecDescriptorCallback = (error: (Error|null), response?: cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse) => void; /** * Callback as used by {@link cosmos.base.reflection.v2alpha1.ReflectionService#getConfigurationDescriptor}. * @param error Error, if any * @param [response] GetConfigurationDescriptorResponse */ type GetConfigurationDescriptorCallback = (error: (Error|null), response?: cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse) => void; /** * Callback as used by {@link cosmos.base.reflection.v2alpha1.ReflectionService#getQueryServicesDescriptor}. * @param error Error, if any * @param [response] GetQueryServicesDescriptorResponse */ type GetQueryServicesDescriptorCallback = (error: (Error|null), response?: cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse) => void; /** * Callback as used by {@link cosmos.base.reflection.v2alpha1.ReflectionService#getTxDescriptor}. * @param error Error, if any * @param [response] GetTxDescriptorResponse */ type GetTxDescriptorCallback = (error: (Error|null), response?: cosmos.base.reflection.v2alpha1.GetTxDescriptorResponse) => void; } /** Properties of a GetAuthnDescriptorRequest. */ interface IGetAuthnDescriptorRequest { } /** Represents a GetAuthnDescriptorRequest. */ class GetAuthnDescriptorRequest implements IGetAuthnDescriptorRequest { /** * Constructs a new GetAuthnDescriptorRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.reflection.v2alpha1.IGetAuthnDescriptorRequest); /** * Encodes the specified GetAuthnDescriptorRequest message. Does not implicitly {@link cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest.verify|verify} messages. * @param message GetAuthnDescriptorRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.reflection.v2alpha1.IGetAuthnDescriptorRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetAuthnDescriptorRequest message, length delimited. Does not implicitly {@link cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest.verify|verify} messages. * @param message GetAuthnDescriptorRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.reflection.v2alpha1.IGetAuthnDescriptorRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetAuthnDescriptorRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetAuthnDescriptorRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest; /** * Decodes a GetAuthnDescriptorRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetAuthnDescriptorRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest; /** * Verifies a GetAuthnDescriptorRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetAuthnDescriptorRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetAuthnDescriptorRequest */ public static fromObject(object: { [k: string]: any }): cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest; /** * Creates a plain object from a GetAuthnDescriptorRequest message. Also converts values to other types if specified. * @param message GetAuthnDescriptorRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetAuthnDescriptorRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GetAuthnDescriptorResponse. */ interface IGetAuthnDescriptorResponse { /** GetAuthnDescriptorResponse authn */ authn?: (cosmos.base.reflection.v2alpha1.IAuthnDescriptor|null); } /** Represents a GetAuthnDescriptorResponse. */ class GetAuthnDescriptorResponse implements IGetAuthnDescriptorResponse { /** * Constructs a new GetAuthnDescriptorResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.reflection.v2alpha1.IGetAuthnDescriptorResponse); /** GetAuthnDescriptorResponse authn. */ public authn?: (cosmos.base.reflection.v2alpha1.IAuthnDescriptor|null); /** * Encodes the specified GetAuthnDescriptorResponse message. Does not implicitly {@link cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse.verify|verify} messages. * @param message GetAuthnDescriptorResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.reflection.v2alpha1.IGetAuthnDescriptorResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetAuthnDescriptorResponse message, length delimited. Does not implicitly {@link cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse.verify|verify} messages. * @param message GetAuthnDescriptorResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.reflection.v2alpha1.IGetAuthnDescriptorResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetAuthnDescriptorResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetAuthnDescriptorResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse; /** * Decodes a GetAuthnDescriptorResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetAuthnDescriptorResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse; /** * Verifies a GetAuthnDescriptorResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetAuthnDescriptorResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetAuthnDescriptorResponse */ public static fromObject(object: { [k: string]: any }): cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse; /** * Creates a plain object from a GetAuthnDescriptorResponse message. Also converts values to other types if specified. * @param message GetAuthnDescriptorResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetAuthnDescriptorResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GetChainDescriptorRequest. */ interface IGetChainDescriptorRequest { } /** Represents a GetChainDescriptorRequest. */ class GetChainDescriptorRequest implements IGetChainDescriptorRequest { /** * Constructs a new GetChainDescriptorRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.reflection.v2alpha1.IGetChainDescriptorRequest); /** * Encodes the specified GetChainDescriptorRequest message. Does not implicitly {@link cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest.verify|verify} messages. * @param message GetChainDescriptorRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.reflection.v2alpha1.IGetChainDescriptorRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetChainDescriptorRequest message, length delimited. Does not implicitly {@link cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest.verify|verify} messages. * @param message GetChainDescriptorRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.reflection.v2alpha1.IGetChainDescriptorRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetChainDescriptorRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetChainDescriptorRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest; /** * Decodes a GetChainDescriptorRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetChainDescriptorRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest; /** * Verifies a GetChainDescriptorRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetChainDescriptorRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetChainDescriptorRequest */ public static fromObject(object: { [k: string]: any }): cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest; /** * Creates a plain object from a GetChainDescriptorRequest message. Also converts values to other types if specified. * @param message GetChainDescriptorRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetChainDescriptorRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GetChainDescriptorResponse. */ interface IGetChainDescriptorResponse { /** GetChainDescriptorResponse chain */ chain?: (cosmos.base.reflection.v2alpha1.IChainDescriptor|null); } /** Represents a GetChainDescriptorResponse. */ class GetChainDescriptorResponse implements IGetChainDescriptorResponse { /** * Constructs a new GetChainDescriptorResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.reflection.v2alpha1.IGetChainDescriptorResponse); /** GetChainDescriptorResponse chain. */ public chain?: (cosmos.base.reflection.v2alpha1.IChainDescriptor|null); /** * Encodes the specified GetChainDescriptorResponse message. Does not implicitly {@link cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse.verify|verify} messages. * @param message GetChainDescriptorResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.reflection.v2alpha1.IGetChainDescriptorResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetChainDescriptorResponse message, length delimited. Does not implicitly {@link cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse.verify|verify} messages. * @param message GetChainDescriptorResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.reflection.v2alpha1.IGetChainDescriptorResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetChainDescriptorResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetChainDescriptorResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse; /** * Decodes a GetChainDescriptorResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetChainDescriptorResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse; /** * Verifies a GetChainDescriptorResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetChainDescriptorResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetChainDescriptorResponse */ public static fromObject(object: { [k: string]: any }): cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse; /** * Creates a plain object from a GetChainDescriptorResponse message. Also converts values to other types if specified. * @param message GetChainDescriptorResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetChainDescriptorResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GetCodecDescriptorRequest. */ interface IGetCodecDescriptorRequest { } /** Represents a GetCodecDescriptorRequest. */ class GetCodecDescriptorRequest implements IGetCodecDescriptorRequest { /** * Constructs a new GetCodecDescriptorRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.reflection.v2alpha1.IGetCodecDescriptorRequest); /** * Encodes the specified GetCodecDescriptorRequest message. Does not implicitly {@link cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest.verify|verify} messages. * @param message GetCodecDescriptorRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.reflection.v2alpha1.IGetCodecDescriptorRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetCodecDescriptorRequest message, length delimited. Does not implicitly {@link cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest.verify|verify} messages. * @param message GetCodecDescriptorRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.reflection.v2alpha1.IGetCodecDescriptorRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetCodecDescriptorRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetCodecDescriptorRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest; /** * Decodes a GetCodecDescriptorRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetCodecDescriptorRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest; /** * Verifies a GetCodecDescriptorRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetCodecDescriptorRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetCodecDescriptorRequest */ public static fromObject(object: { [k: string]: any }): cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest; /** * Creates a plain object from a GetCodecDescriptorRequest message. Also converts values to other types if specified. * @param message GetCodecDescriptorRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetCodecDescriptorRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GetCodecDescriptorResponse. */ interface IGetCodecDescriptorResponse { /** GetCodecDescriptorResponse codec */ codec?: (cosmos.base.reflection.v2alpha1.ICodecDescriptor|null); } /** Represents a GetCodecDescriptorResponse. */ class GetCodecDescriptorResponse implements IGetCodecDescriptorResponse { /** * Constructs a new GetCodecDescriptorResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.reflection.v2alpha1.IGetCodecDescriptorResponse); /** GetCodecDescriptorResponse codec. */ public codec?: (cosmos.base.reflection.v2alpha1.ICodecDescriptor|null); /** * Encodes the specified GetCodecDescriptorResponse message. Does not implicitly {@link cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse.verify|verify} messages. * @param message GetCodecDescriptorResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.reflection.v2alpha1.IGetCodecDescriptorResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetCodecDescriptorResponse message, length delimited. Does not implicitly {@link cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse.verify|verify} messages. * @param message GetCodecDescriptorResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.reflection.v2alpha1.IGetCodecDescriptorResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetCodecDescriptorResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetCodecDescriptorResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse; /** * Decodes a GetCodecDescriptorResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetCodecDescriptorResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse; /** * Verifies a GetCodecDescriptorResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetCodecDescriptorResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetCodecDescriptorResponse */ public static fromObject(object: { [k: string]: any }): cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse; /** * Creates a plain object from a GetCodecDescriptorResponse message. Also converts values to other types if specified. * @param message GetCodecDescriptorResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetCodecDescriptorResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GetConfigurationDescriptorRequest. */ interface IGetConfigurationDescriptorRequest { } /** Represents a GetConfigurationDescriptorRequest. */ class GetConfigurationDescriptorRequest implements IGetConfigurationDescriptorRequest { /** * Constructs a new GetConfigurationDescriptorRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.reflection.v2alpha1.IGetConfigurationDescriptorRequest); /** * Encodes the specified GetConfigurationDescriptorRequest message. Does not implicitly {@link cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest.verify|verify} messages. * @param message GetConfigurationDescriptorRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.reflection.v2alpha1.IGetConfigurationDescriptorRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetConfigurationDescriptorRequest message, length delimited. Does not implicitly {@link cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest.verify|verify} messages. * @param message GetConfigurationDescriptorRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.reflection.v2alpha1.IGetConfigurationDescriptorRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetConfigurationDescriptorRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetConfigurationDescriptorRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest; /** * Decodes a GetConfigurationDescriptorRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetConfigurationDescriptorRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest; /** * Verifies a GetConfigurationDescriptorRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetConfigurationDescriptorRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetConfigurationDescriptorRequest */ public static fromObject(object: { [k: string]: any }): cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest; /** * Creates a plain object from a GetConfigurationDescriptorRequest message. Also converts values to other types if specified. * @param message GetConfigurationDescriptorRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetConfigurationDescriptorRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GetConfigurationDescriptorResponse. */ interface IGetConfigurationDescriptorResponse { /** GetConfigurationDescriptorResponse config */ config?: (cosmos.base.reflection.v2alpha1.IConfigurationDescriptor|null); } /** Represents a GetConfigurationDescriptorResponse. */ class GetConfigurationDescriptorResponse implements IGetConfigurationDescriptorResponse { /** * Constructs a new GetConfigurationDescriptorResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.reflection.v2alpha1.IGetConfigurationDescriptorResponse); /** GetConfigurationDescriptorResponse config. */ public config?: (cosmos.base.reflection.v2alpha1.IConfigurationDescriptor|null); /** * Encodes the specified GetConfigurationDescriptorResponse message. Does not implicitly {@link cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse.verify|verify} messages. * @param message GetConfigurationDescriptorResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.reflection.v2alpha1.IGetConfigurationDescriptorResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetConfigurationDescriptorResponse message, length delimited. Does not implicitly {@link cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse.verify|verify} messages. * @param message GetConfigurationDescriptorResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.reflection.v2alpha1.IGetConfigurationDescriptorResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetConfigurationDescriptorResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetConfigurationDescriptorResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse; /** * Decodes a GetConfigurationDescriptorResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetConfigurationDescriptorResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse; /** * Verifies a GetConfigurationDescriptorResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetConfigurationDescriptorResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetConfigurationDescriptorResponse */ public static fromObject(object: { [k: string]: any }): cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse; /** * Creates a plain object from a GetConfigurationDescriptorResponse message. Also converts values to other types if specified. * @param message GetConfigurationDescriptorResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetConfigurationDescriptorResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GetQueryServicesDescriptorRequest. */ interface IGetQueryServicesDescriptorRequest { } /** Represents a GetQueryServicesDescriptorRequest. */ class GetQueryServicesDescriptorRequest implements IGetQueryServicesDescriptorRequest { /** * Constructs a new GetQueryServicesDescriptorRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.reflection.v2alpha1.IGetQueryServicesDescriptorRequest); /** * Encodes the specified GetQueryServicesDescriptorRequest message. Does not implicitly {@link cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorRequest.verify|verify} messages. * @param message GetQueryServicesDescriptorRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.reflection.v2alpha1.IGetQueryServicesDescriptorRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetQueryServicesDescriptorRequest message, length delimited. Does not implicitly {@link cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorRequest.verify|verify} messages. * @param message GetQueryServicesDescriptorRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.reflection.v2alpha1.IGetQueryServicesDescriptorRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetQueryServicesDescriptorRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetQueryServicesDescriptorRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorRequest; /** * Decodes a GetQueryServicesDescriptorRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetQueryServicesDescriptorRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorRequest; /** * Verifies a GetQueryServicesDescriptorRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetQueryServicesDescriptorRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetQueryServicesDescriptorRequest */ public static fromObject(object: { [k: string]: any }): cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorRequest; /** * Creates a plain object from a GetQueryServicesDescriptorRequest message. Also converts values to other types if specified. * @param message GetQueryServicesDescriptorRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetQueryServicesDescriptorRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GetQueryServicesDescriptorResponse. */ interface IGetQueryServicesDescriptorResponse { /** GetQueryServicesDescriptorResponse queries */ queries?: (cosmos.base.reflection.v2alpha1.IQueryServicesDescriptor|null); } /** Represents a GetQueryServicesDescriptorResponse. */ class GetQueryServicesDescriptorResponse implements IGetQueryServicesDescriptorResponse { /** * Constructs a new GetQueryServicesDescriptorResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.reflection.v2alpha1.IGetQueryServicesDescriptorResponse); /** GetQueryServicesDescriptorResponse queries. */ public queries?: (cosmos.base.reflection.v2alpha1.IQueryServicesDescriptor|null); /** * Encodes the specified GetQueryServicesDescriptorResponse message. Does not implicitly {@link cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse.verify|verify} messages. * @param message GetQueryServicesDescriptorResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.reflection.v2alpha1.IGetQueryServicesDescriptorResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetQueryServicesDescriptorResponse message, length delimited. Does not implicitly {@link cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse.verify|verify} messages. * @param message GetQueryServicesDescriptorResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.reflection.v2alpha1.IGetQueryServicesDescriptorResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetQueryServicesDescriptorResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetQueryServicesDescriptorResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse; /** * Decodes a GetQueryServicesDescriptorResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetQueryServicesDescriptorResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse; /** * Verifies a GetQueryServicesDescriptorResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetQueryServicesDescriptorResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetQueryServicesDescriptorResponse */ public static fromObject(object: { [k: string]: any }): cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse; /** * Creates a plain object from a GetQueryServicesDescriptorResponse message. Also converts values to other types if specified. * @param message GetQueryServicesDescriptorResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetQueryServicesDescriptorResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GetTxDescriptorRequest. */ interface IGetTxDescriptorRequest { } /** Represents a GetTxDescriptorRequest. */ class GetTxDescriptorRequest implements IGetTxDescriptorRequest { /** * Constructs a new GetTxDescriptorRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.reflection.v2alpha1.IGetTxDescriptorRequest); /** * Encodes the specified GetTxDescriptorRequest message. Does not implicitly {@link cosmos.base.reflection.v2alpha1.GetTxDescriptorRequest.verify|verify} messages. * @param message GetTxDescriptorRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.reflection.v2alpha1.IGetTxDescriptorRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetTxDescriptorRequest message, length delimited. Does not implicitly {@link cosmos.base.reflection.v2alpha1.GetTxDescriptorRequest.verify|verify} messages. * @param message GetTxDescriptorRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.reflection.v2alpha1.IGetTxDescriptorRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetTxDescriptorRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetTxDescriptorRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.reflection.v2alpha1.GetTxDescriptorRequest; /** * Decodes a GetTxDescriptorRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetTxDescriptorRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.reflection.v2alpha1.GetTxDescriptorRequest; /** * Verifies a GetTxDescriptorRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetTxDescriptorRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetTxDescriptorRequest */ public static fromObject(object: { [k: string]: any }): cosmos.base.reflection.v2alpha1.GetTxDescriptorRequest; /** * Creates a plain object from a GetTxDescriptorRequest message. Also converts values to other types if specified. * @param message GetTxDescriptorRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.reflection.v2alpha1.GetTxDescriptorRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetTxDescriptorRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GetTxDescriptorResponse. */ interface IGetTxDescriptorResponse { /** GetTxDescriptorResponse tx */ tx?: (cosmos.base.reflection.v2alpha1.ITxDescriptor|null); } /** Represents a GetTxDescriptorResponse. */ class GetTxDescriptorResponse implements IGetTxDescriptorResponse { /** * Constructs a new GetTxDescriptorResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.reflection.v2alpha1.IGetTxDescriptorResponse); /** GetTxDescriptorResponse tx. */ public tx?: (cosmos.base.reflection.v2alpha1.ITxDescriptor|null); /** * Encodes the specified GetTxDescriptorResponse message. Does not implicitly {@link cosmos.base.reflection.v2alpha1.GetTxDescriptorResponse.verify|verify} messages. * @param message GetTxDescriptorResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.reflection.v2alpha1.IGetTxDescriptorResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetTxDescriptorResponse message, length delimited. Does not implicitly {@link cosmos.base.reflection.v2alpha1.GetTxDescriptorResponse.verify|verify} messages. * @param message GetTxDescriptorResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.reflection.v2alpha1.IGetTxDescriptorResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetTxDescriptorResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetTxDescriptorResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.reflection.v2alpha1.GetTxDescriptorResponse; /** * Decodes a GetTxDescriptorResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetTxDescriptorResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.reflection.v2alpha1.GetTxDescriptorResponse; /** * Verifies a GetTxDescriptorResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetTxDescriptorResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetTxDescriptorResponse */ public static fromObject(object: { [k: string]: any }): cosmos.base.reflection.v2alpha1.GetTxDescriptorResponse; /** * Creates a plain object from a GetTxDescriptorResponse message. Also converts values to other types if specified. * @param message GetTxDescriptorResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.reflection.v2alpha1.GetTxDescriptorResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetTxDescriptorResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryServicesDescriptor. */ interface IQueryServicesDescriptor { /** QueryServicesDescriptor query_services */ query_services?: (cosmos.base.reflection.v2alpha1.IQueryServiceDescriptor[]|null); } /** Represents a QueryServicesDescriptor. */ class QueryServicesDescriptor implements IQueryServicesDescriptor { /** * Constructs a new QueryServicesDescriptor. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.reflection.v2alpha1.IQueryServicesDescriptor); /** QueryServicesDescriptor query_services. */ public query_services: cosmos.base.reflection.v2alpha1.IQueryServiceDescriptor[]; /** * Encodes the specified QueryServicesDescriptor message. Does not implicitly {@link cosmos.base.reflection.v2alpha1.QueryServicesDescriptor.verify|verify} messages. * @param message QueryServicesDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.reflection.v2alpha1.IQueryServicesDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryServicesDescriptor message, length delimited. Does not implicitly {@link cosmos.base.reflection.v2alpha1.QueryServicesDescriptor.verify|verify} messages. * @param message QueryServicesDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.reflection.v2alpha1.IQueryServicesDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryServicesDescriptor message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryServicesDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.reflection.v2alpha1.QueryServicesDescriptor; /** * Decodes a QueryServicesDescriptor message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryServicesDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.reflection.v2alpha1.QueryServicesDescriptor; /** * Verifies a QueryServicesDescriptor message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryServicesDescriptor message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryServicesDescriptor */ public static fromObject(object: { [k: string]: any }): cosmos.base.reflection.v2alpha1.QueryServicesDescriptor; /** * Creates a plain object from a QueryServicesDescriptor message. Also converts values to other types if specified. * @param message QueryServicesDescriptor * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.reflection.v2alpha1.QueryServicesDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryServicesDescriptor to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryServiceDescriptor. */ interface IQueryServiceDescriptor { /** QueryServiceDescriptor fullname */ fullname?: (string|null); /** QueryServiceDescriptor is_module */ is_module?: (boolean|null); /** QueryServiceDescriptor methods */ methods?: (cosmos.base.reflection.v2alpha1.IQueryMethodDescriptor[]|null); } /** Represents a QueryServiceDescriptor. */ class QueryServiceDescriptor implements IQueryServiceDescriptor { /** * Constructs a new QueryServiceDescriptor. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.reflection.v2alpha1.IQueryServiceDescriptor); /** QueryServiceDescriptor fullname. */ public fullname: string; /** QueryServiceDescriptor is_module. */ public is_module: boolean; /** QueryServiceDescriptor methods. */ public methods: cosmos.base.reflection.v2alpha1.IQueryMethodDescriptor[]; /** * Encodes the specified QueryServiceDescriptor message. Does not implicitly {@link cosmos.base.reflection.v2alpha1.QueryServiceDescriptor.verify|verify} messages. * @param message QueryServiceDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.reflection.v2alpha1.IQueryServiceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryServiceDescriptor message, length delimited. Does not implicitly {@link cosmos.base.reflection.v2alpha1.QueryServiceDescriptor.verify|verify} messages. * @param message QueryServiceDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.reflection.v2alpha1.IQueryServiceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryServiceDescriptor message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryServiceDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.reflection.v2alpha1.QueryServiceDescriptor; /** * Decodes a QueryServiceDescriptor message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryServiceDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.reflection.v2alpha1.QueryServiceDescriptor; /** * Verifies a QueryServiceDescriptor message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryServiceDescriptor message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryServiceDescriptor */ public static fromObject(object: { [k: string]: any }): cosmos.base.reflection.v2alpha1.QueryServiceDescriptor; /** * Creates a plain object from a QueryServiceDescriptor message. Also converts values to other types if specified. * @param message QueryServiceDescriptor * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.reflection.v2alpha1.QueryServiceDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryServiceDescriptor to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryMethodDescriptor. */ interface IQueryMethodDescriptor { /** QueryMethodDescriptor name */ name?: (string|null); /** QueryMethodDescriptor full_query_path */ full_query_path?: (string|null); } /** Represents a QueryMethodDescriptor. */ class QueryMethodDescriptor implements IQueryMethodDescriptor { /** * Constructs a new QueryMethodDescriptor. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.reflection.v2alpha1.IQueryMethodDescriptor); /** QueryMethodDescriptor name. */ public name: string; /** QueryMethodDescriptor full_query_path. */ public full_query_path: string; /** * Encodes the specified QueryMethodDescriptor message. Does not implicitly {@link cosmos.base.reflection.v2alpha1.QueryMethodDescriptor.verify|verify} messages. * @param message QueryMethodDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.reflection.v2alpha1.IQueryMethodDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryMethodDescriptor message, length delimited. Does not implicitly {@link cosmos.base.reflection.v2alpha1.QueryMethodDescriptor.verify|verify} messages. * @param message QueryMethodDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.reflection.v2alpha1.IQueryMethodDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryMethodDescriptor message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryMethodDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.reflection.v2alpha1.QueryMethodDescriptor; /** * Decodes a QueryMethodDescriptor message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryMethodDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.reflection.v2alpha1.QueryMethodDescriptor; /** * Verifies a QueryMethodDescriptor message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryMethodDescriptor message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryMethodDescriptor */ public static fromObject(object: { [k: string]: any }): cosmos.base.reflection.v2alpha1.QueryMethodDescriptor; /** * Creates a plain object from a QueryMethodDescriptor message. Also converts values to other types if specified. * @param message QueryMethodDescriptor * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.reflection.v2alpha1.QueryMethodDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryMethodDescriptor to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace snapshots. */ namespace snapshots { /** Namespace v1beta1. */ namespace v1beta1 { /** Properties of a Snapshot. */ interface ISnapshot { /** Snapshot height */ height?: (Long|null); /** Snapshot format */ format?: (number|null); /** Snapshot chunks */ chunks?: (number|null); /** Snapshot hash */ hash?: (Uint8Array|null); /** Snapshot metadata */ metadata?: (cosmos.base.snapshots.v1beta1.IMetadata|null); } /** Represents a Snapshot. */ class Snapshot implements ISnapshot { /** * Constructs a new Snapshot. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.snapshots.v1beta1.ISnapshot); /** Snapshot height. */ public height: Long; /** Snapshot format. */ public format: number; /** Snapshot chunks. */ public chunks: number; /** Snapshot hash. */ public hash: Uint8Array; /** Snapshot metadata. */ public metadata?: (cosmos.base.snapshots.v1beta1.IMetadata|null); /** * Encodes the specified Snapshot message. Does not implicitly {@link cosmos.base.snapshots.v1beta1.Snapshot.verify|verify} messages. * @param message Snapshot message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.snapshots.v1beta1.ISnapshot, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Snapshot message, length delimited. Does not implicitly {@link cosmos.base.snapshots.v1beta1.Snapshot.verify|verify} messages. * @param message Snapshot message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.snapshots.v1beta1.ISnapshot, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Snapshot message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Snapshot * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.snapshots.v1beta1.Snapshot; /** * Decodes a Snapshot message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Snapshot * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.snapshots.v1beta1.Snapshot; /** * Verifies a Snapshot message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Snapshot message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Snapshot */ public static fromObject(object: { [k: string]: any }): cosmos.base.snapshots.v1beta1.Snapshot; /** * Creates a plain object from a Snapshot message. Also converts values to other types if specified. * @param message Snapshot * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.snapshots.v1beta1.Snapshot, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Snapshot to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Metadata. */ interface IMetadata { /** Metadata chunk_hashes */ chunk_hashes?: (Uint8Array[]|null); } /** Represents a Metadata. */ class Metadata implements IMetadata { /** * Constructs a new Metadata. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.snapshots.v1beta1.IMetadata); /** Metadata chunk_hashes. */ public chunk_hashes: Uint8Array[]; /** * Encodes the specified Metadata message. Does not implicitly {@link cosmos.base.snapshots.v1beta1.Metadata.verify|verify} messages. * @param message Metadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.snapshots.v1beta1.IMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Metadata message, length delimited. Does not implicitly {@link cosmos.base.snapshots.v1beta1.Metadata.verify|verify} messages. * @param message Metadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.snapshots.v1beta1.IMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Metadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Metadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.snapshots.v1beta1.Metadata; /** * Decodes a Metadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Metadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.snapshots.v1beta1.Metadata; /** * Verifies a Metadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Metadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Metadata */ public static fromObject(object: { [k: string]: any }): cosmos.base.snapshots.v1beta1.Metadata; /** * Creates a plain object from a Metadata message. Also converts values to other types if specified. * @param message Metadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.snapshots.v1beta1.Metadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Metadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a SnapshotItem. */ interface ISnapshotItem { /** SnapshotItem store */ store?: (cosmos.base.snapshots.v1beta1.ISnapshotStoreItem|null); /** SnapshotItem iavl */ iavl?: (cosmos.base.snapshots.v1beta1.ISnapshotIAVLItem|null); /** SnapshotItem extension */ extension?: (cosmos.base.snapshots.v1beta1.ISnapshotExtensionMeta|null); /** SnapshotItem extension_payload */ extension_payload?: (cosmos.base.snapshots.v1beta1.ISnapshotExtensionPayload|null); /** SnapshotItem kv */ kv?: (cosmos.base.snapshots.v1beta1.ISnapshotKVItem|null); /** SnapshotItem schema */ schema?: (cosmos.base.snapshots.v1beta1.ISnapshotSchema|null); } /** Represents a SnapshotItem. */ class SnapshotItem implements ISnapshotItem { /** * Constructs a new SnapshotItem. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.snapshots.v1beta1.ISnapshotItem); /** SnapshotItem store. */ public store?: (cosmos.base.snapshots.v1beta1.ISnapshotStoreItem|null); /** SnapshotItem iavl. */ public iavl?: (cosmos.base.snapshots.v1beta1.ISnapshotIAVLItem|null); /** SnapshotItem extension. */ public extension?: (cosmos.base.snapshots.v1beta1.ISnapshotExtensionMeta|null); /** SnapshotItem extension_payload. */ public extension_payload?: (cosmos.base.snapshots.v1beta1.ISnapshotExtensionPayload|null); /** SnapshotItem kv. */ public kv?: (cosmos.base.snapshots.v1beta1.ISnapshotKVItem|null); /** SnapshotItem schema. */ public schema?: (cosmos.base.snapshots.v1beta1.ISnapshotSchema|null); /** SnapshotItem item. */ public item?: ("store"|"iavl"|"extension"|"extension_payload"|"kv"|"schema"); /** * Encodes the specified SnapshotItem message. Does not implicitly {@link cosmos.base.snapshots.v1beta1.SnapshotItem.verify|verify} messages. * @param message SnapshotItem message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.snapshots.v1beta1.ISnapshotItem, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SnapshotItem message, length delimited. Does not implicitly {@link cosmos.base.snapshots.v1beta1.SnapshotItem.verify|verify} messages. * @param message SnapshotItem message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.snapshots.v1beta1.ISnapshotItem, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SnapshotItem message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SnapshotItem * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.snapshots.v1beta1.SnapshotItem; /** * Decodes a SnapshotItem message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SnapshotItem * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.snapshots.v1beta1.SnapshotItem; /** * Verifies a SnapshotItem message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SnapshotItem message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SnapshotItem */ public static fromObject(object: { [k: string]: any }): cosmos.base.snapshots.v1beta1.SnapshotItem; /** * Creates a plain object from a SnapshotItem message. Also converts values to other types if specified. * @param message SnapshotItem * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.snapshots.v1beta1.SnapshotItem, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SnapshotItem to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a SnapshotStoreItem. */ interface ISnapshotStoreItem { /** SnapshotStoreItem name */ name?: (string|null); } /** Represents a SnapshotStoreItem. */ class SnapshotStoreItem implements ISnapshotStoreItem { /** * Constructs a new SnapshotStoreItem. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.snapshots.v1beta1.ISnapshotStoreItem); /** SnapshotStoreItem name. */ public name: string; /** * Encodes the specified SnapshotStoreItem message. Does not implicitly {@link cosmos.base.snapshots.v1beta1.SnapshotStoreItem.verify|verify} messages. * @param message SnapshotStoreItem message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.snapshots.v1beta1.ISnapshotStoreItem, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SnapshotStoreItem message, length delimited. Does not implicitly {@link cosmos.base.snapshots.v1beta1.SnapshotStoreItem.verify|verify} messages. * @param message SnapshotStoreItem message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.snapshots.v1beta1.ISnapshotStoreItem, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SnapshotStoreItem message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SnapshotStoreItem * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.snapshots.v1beta1.SnapshotStoreItem; /** * Decodes a SnapshotStoreItem message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SnapshotStoreItem * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.snapshots.v1beta1.SnapshotStoreItem; /** * Verifies a SnapshotStoreItem message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SnapshotStoreItem message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SnapshotStoreItem */ public static fromObject(object: { [k: string]: any }): cosmos.base.snapshots.v1beta1.SnapshotStoreItem; /** * Creates a plain object from a SnapshotStoreItem message. Also converts values to other types if specified. * @param message SnapshotStoreItem * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.snapshots.v1beta1.SnapshotStoreItem, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SnapshotStoreItem to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a SnapshotIAVLItem. */ interface ISnapshotIAVLItem { /** SnapshotIAVLItem key */ key?: (Uint8Array|null); /** SnapshotIAVLItem value */ value?: (Uint8Array|null); /** SnapshotIAVLItem version */ version?: (Long|null); /** SnapshotIAVLItem height */ height?: (number|null); } /** Represents a SnapshotIAVLItem. */ class SnapshotIAVLItem implements ISnapshotIAVLItem { /** * Constructs a new SnapshotIAVLItem. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.snapshots.v1beta1.ISnapshotIAVLItem); /** SnapshotIAVLItem key. */ public key: Uint8Array; /** SnapshotIAVLItem value. */ public value: Uint8Array; /** SnapshotIAVLItem version. */ public version: Long; /** SnapshotIAVLItem height. */ public height: number; /** * Encodes the specified SnapshotIAVLItem message. Does not implicitly {@link cosmos.base.snapshots.v1beta1.SnapshotIAVLItem.verify|verify} messages. * @param message SnapshotIAVLItem message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.snapshots.v1beta1.ISnapshotIAVLItem, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SnapshotIAVLItem message, length delimited. Does not implicitly {@link cosmos.base.snapshots.v1beta1.SnapshotIAVLItem.verify|verify} messages. * @param message SnapshotIAVLItem message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.snapshots.v1beta1.ISnapshotIAVLItem, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SnapshotIAVLItem message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SnapshotIAVLItem * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.snapshots.v1beta1.SnapshotIAVLItem; /** * Decodes a SnapshotIAVLItem message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SnapshotIAVLItem * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.snapshots.v1beta1.SnapshotIAVLItem; /** * Verifies a SnapshotIAVLItem message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SnapshotIAVLItem message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SnapshotIAVLItem */ public static fromObject(object: { [k: string]: any }): cosmos.base.snapshots.v1beta1.SnapshotIAVLItem; /** * Creates a plain object from a SnapshotIAVLItem message. Also converts values to other types if specified. * @param message SnapshotIAVLItem * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.snapshots.v1beta1.SnapshotIAVLItem, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SnapshotIAVLItem to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a SnapshotExtensionMeta. */ interface ISnapshotExtensionMeta { /** SnapshotExtensionMeta name */ name?: (string|null); /** SnapshotExtensionMeta format */ format?: (number|null); } /** Represents a SnapshotExtensionMeta. */ class SnapshotExtensionMeta implements ISnapshotExtensionMeta { /** * Constructs a new SnapshotExtensionMeta. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.snapshots.v1beta1.ISnapshotExtensionMeta); /** SnapshotExtensionMeta name. */ public name: string; /** SnapshotExtensionMeta format. */ public format: number; /** * Encodes the specified SnapshotExtensionMeta message. Does not implicitly {@link cosmos.base.snapshots.v1beta1.SnapshotExtensionMeta.verify|verify} messages. * @param message SnapshotExtensionMeta message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.snapshots.v1beta1.ISnapshotExtensionMeta, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SnapshotExtensionMeta message, length delimited. Does not implicitly {@link cosmos.base.snapshots.v1beta1.SnapshotExtensionMeta.verify|verify} messages. * @param message SnapshotExtensionMeta message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.snapshots.v1beta1.ISnapshotExtensionMeta, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SnapshotExtensionMeta message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SnapshotExtensionMeta * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.snapshots.v1beta1.SnapshotExtensionMeta; /** * Decodes a SnapshotExtensionMeta message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SnapshotExtensionMeta * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.snapshots.v1beta1.SnapshotExtensionMeta; /** * Verifies a SnapshotExtensionMeta message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SnapshotExtensionMeta message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SnapshotExtensionMeta */ public static fromObject(object: { [k: string]: any }): cosmos.base.snapshots.v1beta1.SnapshotExtensionMeta; /** * Creates a plain object from a SnapshotExtensionMeta message. Also converts values to other types if specified. * @param message SnapshotExtensionMeta * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.snapshots.v1beta1.SnapshotExtensionMeta, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SnapshotExtensionMeta to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a SnapshotExtensionPayload. */ interface ISnapshotExtensionPayload { /** SnapshotExtensionPayload payload */ payload?: (Uint8Array|null); } /** Represents a SnapshotExtensionPayload. */ class SnapshotExtensionPayload implements ISnapshotExtensionPayload { /** * Constructs a new SnapshotExtensionPayload. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.snapshots.v1beta1.ISnapshotExtensionPayload); /** SnapshotExtensionPayload payload. */ public payload: Uint8Array; /** * Encodes the specified SnapshotExtensionPayload message. Does not implicitly {@link cosmos.base.snapshots.v1beta1.SnapshotExtensionPayload.verify|verify} messages. * @param message SnapshotExtensionPayload message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.snapshots.v1beta1.ISnapshotExtensionPayload, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SnapshotExtensionPayload message, length delimited. Does not implicitly {@link cosmos.base.snapshots.v1beta1.SnapshotExtensionPayload.verify|verify} messages. * @param message SnapshotExtensionPayload message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.snapshots.v1beta1.ISnapshotExtensionPayload, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SnapshotExtensionPayload message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SnapshotExtensionPayload * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.snapshots.v1beta1.SnapshotExtensionPayload; /** * Decodes a SnapshotExtensionPayload message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SnapshotExtensionPayload * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.snapshots.v1beta1.SnapshotExtensionPayload; /** * Verifies a SnapshotExtensionPayload message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SnapshotExtensionPayload message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SnapshotExtensionPayload */ public static fromObject(object: { [k: string]: any }): cosmos.base.snapshots.v1beta1.SnapshotExtensionPayload; /** * Creates a plain object from a SnapshotExtensionPayload message. Also converts values to other types if specified. * @param message SnapshotExtensionPayload * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.snapshots.v1beta1.SnapshotExtensionPayload, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SnapshotExtensionPayload to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a SnapshotKVItem. */ interface ISnapshotKVItem { /** SnapshotKVItem key */ key?: (Uint8Array|null); /** SnapshotKVItem value */ value?: (Uint8Array|null); } /** Represents a SnapshotKVItem. */ class SnapshotKVItem implements ISnapshotKVItem { /** * Constructs a new SnapshotKVItem. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.snapshots.v1beta1.ISnapshotKVItem); /** SnapshotKVItem key. */ public key: Uint8Array; /** SnapshotKVItem value. */ public value: Uint8Array; /** * Encodes the specified SnapshotKVItem message. Does not implicitly {@link cosmos.base.snapshots.v1beta1.SnapshotKVItem.verify|verify} messages. * @param message SnapshotKVItem message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.snapshots.v1beta1.ISnapshotKVItem, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SnapshotKVItem message, length delimited. Does not implicitly {@link cosmos.base.snapshots.v1beta1.SnapshotKVItem.verify|verify} messages. * @param message SnapshotKVItem message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.snapshots.v1beta1.ISnapshotKVItem, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SnapshotKVItem message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SnapshotKVItem * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.snapshots.v1beta1.SnapshotKVItem; /** * Decodes a SnapshotKVItem message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SnapshotKVItem * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.snapshots.v1beta1.SnapshotKVItem; /** * Verifies a SnapshotKVItem message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SnapshotKVItem message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SnapshotKVItem */ public static fromObject(object: { [k: string]: any }): cosmos.base.snapshots.v1beta1.SnapshotKVItem; /** * Creates a plain object from a SnapshotKVItem message. Also converts values to other types if specified. * @param message SnapshotKVItem * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.snapshots.v1beta1.SnapshotKVItem, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SnapshotKVItem to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a SnapshotSchema. */ interface ISnapshotSchema { /** SnapshotSchema keys */ keys?: (Uint8Array[]|null); } /** Represents a SnapshotSchema. */ class SnapshotSchema implements ISnapshotSchema { /** * Constructs a new SnapshotSchema. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.snapshots.v1beta1.ISnapshotSchema); /** SnapshotSchema keys. */ public keys: Uint8Array[]; /** * Encodes the specified SnapshotSchema message. Does not implicitly {@link cosmos.base.snapshots.v1beta1.SnapshotSchema.verify|verify} messages. * @param message SnapshotSchema message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.snapshots.v1beta1.ISnapshotSchema, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SnapshotSchema message, length delimited. Does not implicitly {@link cosmos.base.snapshots.v1beta1.SnapshotSchema.verify|verify} messages. * @param message SnapshotSchema message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.snapshots.v1beta1.ISnapshotSchema, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SnapshotSchema message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SnapshotSchema * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.snapshots.v1beta1.SnapshotSchema; /** * Decodes a SnapshotSchema message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SnapshotSchema * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.snapshots.v1beta1.SnapshotSchema; /** * Verifies a SnapshotSchema message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SnapshotSchema message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SnapshotSchema */ public static fromObject(object: { [k: string]: any }): cosmos.base.snapshots.v1beta1.SnapshotSchema; /** * Creates a plain object from a SnapshotSchema message. Also converts values to other types if specified. * @param message SnapshotSchema * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.snapshots.v1beta1.SnapshotSchema, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SnapshotSchema to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace store. */ namespace store { /** Namespace v1beta1. */ namespace v1beta1 { /** Properties of a CommitInfo. */ interface ICommitInfo { /** CommitInfo version */ version?: (Long|null); /** CommitInfo store_infos */ store_infos?: (cosmos.base.store.v1beta1.IStoreInfo[]|null); } /** Represents a CommitInfo. */ class CommitInfo implements ICommitInfo { /** * Constructs a new CommitInfo. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.store.v1beta1.ICommitInfo); /** CommitInfo version. */ public version: Long; /** CommitInfo store_infos. */ public store_infos: cosmos.base.store.v1beta1.IStoreInfo[]; /** * Encodes the specified CommitInfo message. Does not implicitly {@link cosmos.base.store.v1beta1.CommitInfo.verify|verify} messages. * @param message CommitInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.store.v1beta1.ICommitInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CommitInfo message, length delimited. Does not implicitly {@link cosmos.base.store.v1beta1.CommitInfo.verify|verify} messages. * @param message CommitInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.store.v1beta1.ICommitInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CommitInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CommitInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.store.v1beta1.CommitInfo; /** * Decodes a CommitInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CommitInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.store.v1beta1.CommitInfo; /** * Verifies a CommitInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CommitInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CommitInfo */ public static fromObject(object: { [k: string]: any }): cosmos.base.store.v1beta1.CommitInfo; /** * Creates a plain object from a CommitInfo message. Also converts values to other types if specified. * @param message CommitInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.store.v1beta1.CommitInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CommitInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a StoreInfo. */ interface IStoreInfo { /** StoreInfo name */ name?: (string|null); /** StoreInfo commit_id */ commit_id?: (cosmos.base.store.v1beta1.ICommitID|null); } /** Represents a StoreInfo. */ class StoreInfo implements IStoreInfo { /** * Constructs a new StoreInfo. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.store.v1beta1.IStoreInfo); /** StoreInfo name. */ public name: string; /** StoreInfo commit_id. */ public commit_id?: (cosmos.base.store.v1beta1.ICommitID|null); /** * Encodes the specified StoreInfo message. Does not implicitly {@link cosmos.base.store.v1beta1.StoreInfo.verify|verify} messages. * @param message StoreInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.store.v1beta1.IStoreInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified StoreInfo message, length delimited. Does not implicitly {@link cosmos.base.store.v1beta1.StoreInfo.verify|verify} messages. * @param message StoreInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.store.v1beta1.IStoreInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a StoreInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns StoreInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.store.v1beta1.StoreInfo; /** * Decodes a StoreInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns StoreInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.store.v1beta1.StoreInfo; /** * Verifies a StoreInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a StoreInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns StoreInfo */ public static fromObject(object: { [k: string]: any }): cosmos.base.store.v1beta1.StoreInfo; /** * Creates a plain object from a StoreInfo message. Also converts values to other types if specified. * @param message StoreInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.store.v1beta1.StoreInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this StoreInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a CommitID. */ interface ICommitID { /** CommitID version */ version?: (Long|null); /** CommitID hash */ hash?: (Uint8Array|null); } /** Represents a CommitID. */ class CommitID implements ICommitID { /** * Constructs a new CommitID. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.store.v1beta1.ICommitID); /** CommitID version. */ public version: Long; /** CommitID hash. */ public hash: Uint8Array; /** * Encodes the specified CommitID message. Does not implicitly {@link cosmos.base.store.v1beta1.CommitID.verify|verify} messages. * @param message CommitID message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.store.v1beta1.ICommitID, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CommitID message, length delimited. Does not implicitly {@link cosmos.base.store.v1beta1.CommitID.verify|verify} messages. * @param message CommitID message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.store.v1beta1.ICommitID, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CommitID message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CommitID * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.store.v1beta1.CommitID; /** * Decodes a CommitID message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CommitID * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.store.v1beta1.CommitID; /** * Verifies a CommitID message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CommitID message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CommitID */ public static fromObject(object: { [k: string]: any }): cosmos.base.store.v1beta1.CommitID; /** * Creates a plain object from a CommitID message. Also converts values to other types if specified. * @param message CommitID * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.store.v1beta1.CommitID, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CommitID to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a StoreKVPair. */ interface IStoreKVPair { /** StoreKVPair store_key */ store_key?: (string|null); /** StoreKVPair delete */ "delete"?: (boolean|null); /** StoreKVPair key */ key?: (Uint8Array|null); /** StoreKVPair value */ value?: (Uint8Array|null); } /** Represents a StoreKVPair. */ class StoreKVPair implements IStoreKVPair { /** * Constructs a new StoreKVPair. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.store.v1beta1.IStoreKVPair); /** StoreKVPair store_key. */ public store_key: string; /** StoreKVPair delete. */ public delete: boolean; /** StoreKVPair key. */ public key: Uint8Array; /** StoreKVPair value. */ public value: Uint8Array; /** * Encodes the specified StoreKVPair message. Does not implicitly {@link cosmos.base.store.v1beta1.StoreKVPair.verify|verify} messages. * @param message StoreKVPair message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.store.v1beta1.IStoreKVPair, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified StoreKVPair message, length delimited. Does not implicitly {@link cosmos.base.store.v1beta1.StoreKVPair.verify|verify} messages. * @param message StoreKVPair message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.store.v1beta1.IStoreKVPair, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a StoreKVPair message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns StoreKVPair * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.store.v1beta1.StoreKVPair; /** * Decodes a StoreKVPair message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns StoreKVPair * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.store.v1beta1.StoreKVPair; /** * Verifies a StoreKVPair message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a StoreKVPair message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns StoreKVPair */ public static fromObject(object: { [k: string]: any }): cosmos.base.store.v1beta1.StoreKVPair; /** * Creates a plain object from a StoreKVPair message. Also converts values to other types if specified. * @param message StoreKVPair * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.store.v1beta1.StoreKVPair, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this StoreKVPair to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a BlockMetadata. */ interface IBlockMetadata { /** BlockMetadata request_begin_block */ request_begin_block?: (cometbft.abci.IRequestBeginBlock|null); /** BlockMetadata response_begin_block */ response_begin_block?: (cometbft.abci.IResponseBeginBlock|null); /** BlockMetadata deliver_txs */ deliver_txs?: (cosmos.base.store.v1beta1.BlockMetadata.IDeliverTx[]|null); /** BlockMetadata request_end_block */ request_end_block?: (cometbft.abci.IRequestEndBlock|null); /** BlockMetadata response_end_block */ response_end_block?: (cometbft.abci.IResponseEndBlock|null); /** BlockMetadata response_commit */ response_commit?: (cometbft.abci.IResponseCommit|null); } /** Represents a BlockMetadata. */ class BlockMetadata implements IBlockMetadata { /** * Constructs a new BlockMetadata. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.store.v1beta1.IBlockMetadata); /** BlockMetadata request_begin_block. */ public request_begin_block?: (cometbft.abci.IRequestBeginBlock|null); /** BlockMetadata response_begin_block. */ public response_begin_block?: (cometbft.abci.IResponseBeginBlock|null); /** BlockMetadata deliver_txs. */ public deliver_txs: cosmos.base.store.v1beta1.BlockMetadata.IDeliverTx[]; /** BlockMetadata request_end_block. */ public request_end_block?: (cometbft.abci.IRequestEndBlock|null); /** BlockMetadata response_end_block. */ public response_end_block?: (cometbft.abci.IResponseEndBlock|null); /** BlockMetadata response_commit. */ public response_commit?: (cometbft.abci.IResponseCommit|null); /** * Encodes the specified BlockMetadata message. Does not implicitly {@link cosmos.base.store.v1beta1.BlockMetadata.verify|verify} messages. * @param message BlockMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.store.v1beta1.IBlockMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BlockMetadata message, length delimited. Does not implicitly {@link cosmos.base.store.v1beta1.BlockMetadata.verify|verify} messages. * @param message BlockMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.store.v1beta1.IBlockMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BlockMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BlockMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.store.v1beta1.BlockMetadata; /** * Decodes a BlockMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BlockMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.store.v1beta1.BlockMetadata; /** * Verifies a BlockMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BlockMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BlockMetadata */ public static fromObject(object: { [k: string]: any }): cosmos.base.store.v1beta1.BlockMetadata; /** * Creates a plain object from a BlockMetadata message. Also converts values to other types if specified. * @param message BlockMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.store.v1beta1.BlockMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BlockMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } namespace BlockMetadata { /** Properties of a DeliverTx. */ interface IDeliverTx { /** DeliverTx request */ request?: (cometbft.abci.IRequestDeliverTx|null); /** DeliverTx response */ response?: (cometbft.abci.IResponseDeliverTx|null); } /** Represents a DeliverTx. */ class DeliverTx implements IDeliverTx { /** * Constructs a new DeliverTx. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.store.v1beta1.BlockMetadata.IDeliverTx); /** DeliverTx request. */ public request?: (cometbft.abci.IRequestDeliverTx|null); /** DeliverTx response. */ public response?: (cometbft.abci.IResponseDeliverTx|null); /** * Encodes the specified DeliverTx message. Does not implicitly {@link cosmos.base.store.v1beta1.BlockMetadata.DeliverTx.verify|verify} messages. * @param message DeliverTx message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.store.v1beta1.BlockMetadata.IDeliverTx, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeliverTx message, length delimited. Does not implicitly {@link cosmos.base.store.v1beta1.BlockMetadata.DeliverTx.verify|verify} messages. * @param message DeliverTx message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.store.v1beta1.BlockMetadata.IDeliverTx, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeliverTx message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeliverTx * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.store.v1beta1.BlockMetadata.DeliverTx; /** * Decodes a DeliverTx message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeliverTx * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.store.v1beta1.BlockMetadata.DeliverTx; /** * Verifies a DeliverTx message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeliverTx message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeliverTx */ public static fromObject(object: { [k: string]: any }): cosmos.base.store.v1beta1.BlockMetadata.DeliverTx; /** * Creates a plain object from a DeliverTx message. Also converts values to other types if specified. * @param message DeliverTx * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.store.v1beta1.BlockMetadata.DeliverTx, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeliverTx to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } } /** Namespace tendermint. */ namespace tendermint { /** Namespace v1beta1. */ namespace v1beta1 { /** Represents a Service */ class Service extends $protobuf.rpc.Service { /** * Constructs a new Service service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls GetNodeInfo. * @param request GetNodeInfoRequest message or plain object * @param callback Node-style callback called with the error, if any, and GetNodeInfoResponse */ public getNodeInfo(request: cosmos.base.tendermint.v1beta1.IGetNodeInfoRequest, callback: cosmos.base.tendermint.v1beta1.Service.GetNodeInfoCallback): void; /** * Calls GetNodeInfo. * @param request GetNodeInfoRequest message or plain object * @returns Promise */ public getNodeInfo(request: cosmos.base.tendermint.v1beta1.IGetNodeInfoRequest): Promise; /** * Calls GetSyncing. * @param request GetSyncingRequest message or plain object * @param callback Node-style callback called with the error, if any, and GetSyncingResponse */ public getSyncing(request: cosmos.base.tendermint.v1beta1.IGetSyncingRequest, callback: cosmos.base.tendermint.v1beta1.Service.GetSyncingCallback): void; /** * Calls GetSyncing. * @param request GetSyncingRequest message or plain object * @returns Promise */ public getSyncing(request: cosmos.base.tendermint.v1beta1.IGetSyncingRequest): Promise; /** * Calls GetLatestBlock. * @param request GetLatestBlockRequest message or plain object * @param callback Node-style callback called with the error, if any, and GetLatestBlockResponse */ public getLatestBlock(request: cosmos.base.tendermint.v1beta1.IGetLatestBlockRequest, callback: cosmos.base.tendermint.v1beta1.Service.GetLatestBlockCallback): void; /** * Calls GetLatestBlock. * @param request GetLatestBlockRequest message or plain object * @returns Promise */ public getLatestBlock(request: cosmos.base.tendermint.v1beta1.IGetLatestBlockRequest): Promise; /** * Calls GetBlockByHeight. * @param request GetBlockByHeightRequest message or plain object * @param callback Node-style callback called with the error, if any, and GetBlockByHeightResponse */ public getBlockByHeight(request: cosmos.base.tendermint.v1beta1.IGetBlockByHeightRequest, callback: cosmos.base.tendermint.v1beta1.Service.GetBlockByHeightCallback): void; /** * Calls GetBlockByHeight. * @param request GetBlockByHeightRequest message or plain object * @returns Promise */ public getBlockByHeight(request: cosmos.base.tendermint.v1beta1.IGetBlockByHeightRequest): Promise; /** * Calls GetLatestValidatorSet. * @param request GetLatestValidatorSetRequest message or plain object * @param callback Node-style callback called with the error, if any, and GetLatestValidatorSetResponse */ public getLatestValidatorSet(request: cosmos.base.tendermint.v1beta1.IGetLatestValidatorSetRequest, callback: cosmos.base.tendermint.v1beta1.Service.GetLatestValidatorSetCallback): void; /** * Calls GetLatestValidatorSet. * @param request GetLatestValidatorSetRequest message or plain object * @returns Promise */ public getLatestValidatorSet(request: cosmos.base.tendermint.v1beta1.IGetLatestValidatorSetRequest): Promise; /** * Calls GetValidatorSetByHeight. * @param request GetValidatorSetByHeightRequest message or plain object * @param callback Node-style callback called with the error, if any, and GetValidatorSetByHeightResponse */ public getValidatorSetByHeight(request: cosmos.base.tendermint.v1beta1.IGetValidatorSetByHeightRequest, callback: cosmos.base.tendermint.v1beta1.Service.GetValidatorSetByHeightCallback): void; /** * Calls GetValidatorSetByHeight. * @param request GetValidatorSetByHeightRequest message or plain object * @returns Promise */ public getValidatorSetByHeight(request: cosmos.base.tendermint.v1beta1.IGetValidatorSetByHeightRequest): Promise; /** * Calls ABCIQuery. * @param request ABCIQueryRequest message or plain object * @param callback Node-style callback called with the error, if any, and ABCIQueryResponse */ public aBCIQuery(request: cosmos.base.tendermint.v1beta1.IABCIQueryRequest, callback: cosmos.base.tendermint.v1beta1.Service.ABCIQueryCallback): void; /** * Calls ABCIQuery. * @param request ABCIQueryRequest message or plain object * @returns Promise */ public aBCIQuery(request: cosmos.base.tendermint.v1beta1.IABCIQueryRequest): Promise; } namespace Service { /** * Callback as used by {@link cosmos.base.tendermint.v1beta1.Service#getNodeInfo}. * @param error Error, if any * @param [response] GetNodeInfoResponse */ type GetNodeInfoCallback = (error: (Error|null), response?: cosmos.base.tendermint.v1beta1.GetNodeInfoResponse) => void; /** * Callback as used by {@link cosmos.base.tendermint.v1beta1.Service#getSyncing}. * @param error Error, if any * @param [response] GetSyncingResponse */ type GetSyncingCallback = (error: (Error|null), response?: cosmos.base.tendermint.v1beta1.GetSyncingResponse) => void; /** * Callback as used by {@link cosmos.base.tendermint.v1beta1.Service#getLatestBlock}. * @param error Error, if any * @param [response] GetLatestBlockResponse */ type GetLatestBlockCallback = (error: (Error|null), response?: cosmos.base.tendermint.v1beta1.GetLatestBlockResponse) => void; /** * Callback as used by {@link cosmos.base.tendermint.v1beta1.Service#getBlockByHeight}. * @param error Error, if any * @param [response] GetBlockByHeightResponse */ type GetBlockByHeightCallback = (error: (Error|null), response?: cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse) => void; /** * Callback as used by {@link cosmos.base.tendermint.v1beta1.Service#getLatestValidatorSet}. * @param error Error, if any * @param [response] GetLatestValidatorSetResponse */ type GetLatestValidatorSetCallback = (error: (Error|null), response?: cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse) => void; /** * Callback as used by {@link cosmos.base.tendermint.v1beta1.Service#getValidatorSetByHeight}. * @param error Error, if any * @param [response] GetValidatorSetByHeightResponse */ type GetValidatorSetByHeightCallback = (error: (Error|null), response?: cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse) => void; /** * Callback as used by {@link cosmos.base.tendermint.v1beta1.Service#aBCIQuery}. * @param error Error, if any * @param [response] ABCIQueryResponse */ type ABCIQueryCallback = (error: (Error|null), response?: cosmos.base.tendermint.v1beta1.ABCIQueryResponse) => void; } /** Properties of a GetValidatorSetByHeightRequest. */ interface IGetValidatorSetByHeightRequest { /** GetValidatorSetByHeightRequest height */ height?: (Long|null); /** GetValidatorSetByHeightRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a GetValidatorSetByHeightRequest. */ class GetValidatorSetByHeightRequest implements IGetValidatorSetByHeightRequest { /** * Constructs a new GetValidatorSetByHeightRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.tendermint.v1beta1.IGetValidatorSetByHeightRequest); /** GetValidatorSetByHeightRequest height. */ public height: Long; /** GetValidatorSetByHeightRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** * Encodes the specified GetValidatorSetByHeightRequest message. Does not implicitly {@link cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightRequest.verify|verify} messages. * @param message GetValidatorSetByHeightRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.tendermint.v1beta1.IGetValidatorSetByHeightRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetValidatorSetByHeightRequest message, length delimited. Does not implicitly {@link cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightRequest.verify|verify} messages. * @param message GetValidatorSetByHeightRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.tendermint.v1beta1.IGetValidatorSetByHeightRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetValidatorSetByHeightRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetValidatorSetByHeightRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightRequest; /** * Decodes a GetValidatorSetByHeightRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetValidatorSetByHeightRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightRequest; /** * Verifies a GetValidatorSetByHeightRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetValidatorSetByHeightRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetValidatorSetByHeightRequest */ public static fromObject(object: { [k: string]: any }): cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightRequest; /** * Creates a plain object from a GetValidatorSetByHeightRequest message. Also converts values to other types if specified. * @param message GetValidatorSetByHeightRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetValidatorSetByHeightRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GetValidatorSetByHeightResponse. */ interface IGetValidatorSetByHeightResponse { /** GetValidatorSetByHeightResponse block_height */ block_height?: (Long|null); /** GetValidatorSetByHeightResponse validators */ validators?: (cosmos.base.tendermint.v1beta1.IValidator[]|null); /** GetValidatorSetByHeightResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a GetValidatorSetByHeightResponse. */ class GetValidatorSetByHeightResponse implements IGetValidatorSetByHeightResponse { /** * Constructs a new GetValidatorSetByHeightResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.tendermint.v1beta1.IGetValidatorSetByHeightResponse); /** GetValidatorSetByHeightResponse block_height. */ public block_height: Long; /** GetValidatorSetByHeightResponse validators. */ public validators: cosmos.base.tendermint.v1beta1.IValidator[]; /** GetValidatorSetByHeightResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified GetValidatorSetByHeightResponse message. Does not implicitly {@link cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse.verify|verify} messages. * @param message GetValidatorSetByHeightResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.tendermint.v1beta1.IGetValidatorSetByHeightResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetValidatorSetByHeightResponse message, length delimited. Does not implicitly {@link cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse.verify|verify} messages. * @param message GetValidatorSetByHeightResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.tendermint.v1beta1.IGetValidatorSetByHeightResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetValidatorSetByHeightResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetValidatorSetByHeightResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse; /** * Decodes a GetValidatorSetByHeightResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetValidatorSetByHeightResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse; /** * Verifies a GetValidatorSetByHeightResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetValidatorSetByHeightResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetValidatorSetByHeightResponse */ public static fromObject(object: { [k: string]: any }): cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse; /** * Creates a plain object from a GetValidatorSetByHeightResponse message. Also converts values to other types if specified. * @param message GetValidatorSetByHeightResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetValidatorSetByHeightResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GetLatestValidatorSetRequest. */ interface IGetLatestValidatorSetRequest { /** GetLatestValidatorSetRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a GetLatestValidatorSetRequest. */ class GetLatestValidatorSetRequest implements IGetLatestValidatorSetRequest { /** * Constructs a new GetLatestValidatorSetRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.tendermint.v1beta1.IGetLatestValidatorSetRequest); /** GetLatestValidatorSetRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** * Encodes the specified GetLatestValidatorSetRequest message. Does not implicitly {@link cosmos.base.tendermint.v1beta1.GetLatestValidatorSetRequest.verify|verify} messages. * @param message GetLatestValidatorSetRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.tendermint.v1beta1.IGetLatestValidatorSetRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetLatestValidatorSetRequest message, length delimited. Does not implicitly {@link cosmos.base.tendermint.v1beta1.GetLatestValidatorSetRequest.verify|verify} messages. * @param message GetLatestValidatorSetRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.tendermint.v1beta1.IGetLatestValidatorSetRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetLatestValidatorSetRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetLatestValidatorSetRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.tendermint.v1beta1.GetLatestValidatorSetRequest; /** * Decodes a GetLatestValidatorSetRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetLatestValidatorSetRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.tendermint.v1beta1.GetLatestValidatorSetRequest; /** * Verifies a GetLatestValidatorSetRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetLatestValidatorSetRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetLatestValidatorSetRequest */ public static fromObject(object: { [k: string]: any }): cosmos.base.tendermint.v1beta1.GetLatestValidatorSetRequest; /** * Creates a plain object from a GetLatestValidatorSetRequest message. Also converts values to other types if specified. * @param message GetLatestValidatorSetRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.tendermint.v1beta1.GetLatestValidatorSetRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetLatestValidatorSetRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GetLatestValidatorSetResponse. */ interface IGetLatestValidatorSetResponse { /** GetLatestValidatorSetResponse block_height */ block_height?: (Long|null); /** GetLatestValidatorSetResponse validators */ validators?: (cosmos.base.tendermint.v1beta1.IValidator[]|null); /** GetLatestValidatorSetResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a GetLatestValidatorSetResponse. */ class GetLatestValidatorSetResponse implements IGetLatestValidatorSetResponse { /** * Constructs a new GetLatestValidatorSetResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.tendermint.v1beta1.IGetLatestValidatorSetResponse); /** GetLatestValidatorSetResponse block_height. */ public block_height: Long; /** GetLatestValidatorSetResponse validators. */ public validators: cosmos.base.tendermint.v1beta1.IValidator[]; /** GetLatestValidatorSetResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified GetLatestValidatorSetResponse message. Does not implicitly {@link cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse.verify|verify} messages. * @param message GetLatestValidatorSetResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.tendermint.v1beta1.IGetLatestValidatorSetResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetLatestValidatorSetResponse message, length delimited. Does not implicitly {@link cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse.verify|verify} messages. * @param message GetLatestValidatorSetResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.tendermint.v1beta1.IGetLatestValidatorSetResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetLatestValidatorSetResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetLatestValidatorSetResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse; /** * Decodes a GetLatestValidatorSetResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetLatestValidatorSetResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse; /** * Verifies a GetLatestValidatorSetResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetLatestValidatorSetResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetLatestValidatorSetResponse */ public static fromObject(object: { [k: string]: any }): cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse; /** * Creates a plain object from a GetLatestValidatorSetResponse message. Also converts values to other types if specified. * @param message GetLatestValidatorSetResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetLatestValidatorSetResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Validator. */ interface IValidator { /** Validator address */ address?: (string|null); /** Validator pub_key */ pub_key?: (google.protobuf.IAny|null); /** Validator voting_power */ voting_power?: (Long|null); /** Validator proposer_priority */ proposer_priority?: (Long|null); } /** Represents a Validator. */ class Validator implements IValidator { /** * Constructs a new Validator. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.tendermint.v1beta1.IValidator); /** Validator address. */ public address: string; /** Validator pub_key. */ public pub_key?: (google.protobuf.IAny|null); /** Validator voting_power. */ public voting_power: Long; /** Validator proposer_priority. */ public proposer_priority: Long; /** * Encodes the specified Validator message. Does not implicitly {@link cosmos.base.tendermint.v1beta1.Validator.verify|verify} messages. * @param message Validator message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.tendermint.v1beta1.IValidator, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Validator message, length delimited. Does not implicitly {@link cosmos.base.tendermint.v1beta1.Validator.verify|verify} messages. * @param message Validator message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.tendermint.v1beta1.IValidator, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Validator message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Validator * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.tendermint.v1beta1.Validator; /** * Decodes a Validator message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Validator * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.tendermint.v1beta1.Validator; /** * Verifies a Validator message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Validator message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Validator */ public static fromObject(object: { [k: string]: any }): cosmos.base.tendermint.v1beta1.Validator; /** * Creates a plain object from a Validator message. Also converts values to other types if specified. * @param message Validator * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.tendermint.v1beta1.Validator, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Validator to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GetBlockByHeightRequest. */ interface IGetBlockByHeightRequest { /** GetBlockByHeightRequest height */ height?: (Long|null); } /** Represents a GetBlockByHeightRequest. */ class GetBlockByHeightRequest implements IGetBlockByHeightRequest { /** * Constructs a new GetBlockByHeightRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.tendermint.v1beta1.IGetBlockByHeightRequest); /** GetBlockByHeightRequest height. */ public height: Long; /** * Encodes the specified GetBlockByHeightRequest message. Does not implicitly {@link cosmos.base.tendermint.v1beta1.GetBlockByHeightRequest.verify|verify} messages. * @param message GetBlockByHeightRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.tendermint.v1beta1.IGetBlockByHeightRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetBlockByHeightRequest message, length delimited. Does not implicitly {@link cosmos.base.tendermint.v1beta1.GetBlockByHeightRequest.verify|verify} messages. * @param message GetBlockByHeightRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.tendermint.v1beta1.IGetBlockByHeightRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetBlockByHeightRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetBlockByHeightRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.tendermint.v1beta1.GetBlockByHeightRequest; /** * Decodes a GetBlockByHeightRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetBlockByHeightRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.tendermint.v1beta1.GetBlockByHeightRequest; /** * Verifies a GetBlockByHeightRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetBlockByHeightRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetBlockByHeightRequest */ public static fromObject(object: { [k: string]: any }): cosmos.base.tendermint.v1beta1.GetBlockByHeightRequest; /** * Creates a plain object from a GetBlockByHeightRequest message. Also converts values to other types if specified. * @param message GetBlockByHeightRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.tendermint.v1beta1.GetBlockByHeightRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetBlockByHeightRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GetBlockByHeightResponse. */ interface IGetBlockByHeightResponse { /** GetBlockByHeightResponse block_id */ block_id?: (cometbft.types.IBlockID|null); /** GetBlockByHeightResponse block */ block?: (cometbft.types.IBlock|null); /** GetBlockByHeightResponse sdk_block */ sdk_block?: (cosmos.base.tendermint.v1beta1.IBlock|null); } /** Represents a GetBlockByHeightResponse. */ class GetBlockByHeightResponse implements IGetBlockByHeightResponse { /** * Constructs a new GetBlockByHeightResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.tendermint.v1beta1.IGetBlockByHeightResponse); /** GetBlockByHeightResponse block_id. */ public block_id?: (cometbft.types.IBlockID|null); /** GetBlockByHeightResponse block. */ public block?: (cometbft.types.IBlock|null); /** GetBlockByHeightResponse sdk_block. */ public sdk_block?: (cosmos.base.tendermint.v1beta1.IBlock|null); /** * Encodes the specified GetBlockByHeightResponse message. Does not implicitly {@link cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse.verify|verify} messages. * @param message GetBlockByHeightResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.tendermint.v1beta1.IGetBlockByHeightResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetBlockByHeightResponse message, length delimited. Does not implicitly {@link cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse.verify|verify} messages. * @param message GetBlockByHeightResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.tendermint.v1beta1.IGetBlockByHeightResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetBlockByHeightResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetBlockByHeightResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse; /** * Decodes a GetBlockByHeightResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetBlockByHeightResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse; /** * Verifies a GetBlockByHeightResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetBlockByHeightResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetBlockByHeightResponse */ public static fromObject(object: { [k: string]: any }): cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse; /** * Creates a plain object from a GetBlockByHeightResponse message. Also converts values to other types if specified. * @param message GetBlockByHeightResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetBlockByHeightResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GetLatestBlockRequest. */ interface IGetLatestBlockRequest { } /** Represents a GetLatestBlockRequest. */ class GetLatestBlockRequest implements IGetLatestBlockRequest { /** * Constructs a new GetLatestBlockRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.tendermint.v1beta1.IGetLatestBlockRequest); /** * Encodes the specified GetLatestBlockRequest message. Does not implicitly {@link cosmos.base.tendermint.v1beta1.GetLatestBlockRequest.verify|verify} messages. * @param message GetLatestBlockRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.tendermint.v1beta1.IGetLatestBlockRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetLatestBlockRequest message, length delimited. Does not implicitly {@link cosmos.base.tendermint.v1beta1.GetLatestBlockRequest.verify|verify} messages. * @param message GetLatestBlockRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.tendermint.v1beta1.IGetLatestBlockRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetLatestBlockRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetLatestBlockRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.tendermint.v1beta1.GetLatestBlockRequest; /** * Decodes a GetLatestBlockRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetLatestBlockRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.tendermint.v1beta1.GetLatestBlockRequest; /** * Verifies a GetLatestBlockRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetLatestBlockRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetLatestBlockRequest */ public static fromObject(object: { [k: string]: any }): cosmos.base.tendermint.v1beta1.GetLatestBlockRequest; /** * Creates a plain object from a GetLatestBlockRequest message. Also converts values to other types if specified. * @param message GetLatestBlockRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.tendermint.v1beta1.GetLatestBlockRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetLatestBlockRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GetLatestBlockResponse. */ interface IGetLatestBlockResponse { /** GetLatestBlockResponse block_id */ block_id?: (cometbft.types.IBlockID|null); /** GetLatestBlockResponse block */ block?: (cometbft.types.IBlock|null); /** GetLatestBlockResponse sdk_block */ sdk_block?: (cosmos.base.tendermint.v1beta1.IBlock|null); } /** Represents a GetLatestBlockResponse. */ class GetLatestBlockResponse implements IGetLatestBlockResponse { /** * Constructs a new GetLatestBlockResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.tendermint.v1beta1.IGetLatestBlockResponse); /** GetLatestBlockResponse block_id. */ public block_id?: (cometbft.types.IBlockID|null); /** GetLatestBlockResponse block. */ public block?: (cometbft.types.IBlock|null); /** GetLatestBlockResponse sdk_block. */ public sdk_block?: (cosmos.base.tendermint.v1beta1.IBlock|null); /** * Encodes the specified GetLatestBlockResponse message. Does not implicitly {@link cosmos.base.tendermint.v1beta1.GetLatestBlockResponse.verify|verify} messages. * @param message GetLatestBlockResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.tendermint.v1beta1.IGetLatestBlockResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetLatestBlockResponse message, length delimited. Does not implicitly {@link cosmos.base.tendermint.v1beta1.GetLatestBlockResponse.verify|verify} messages. * @param message GetLatestBlockResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.tendermint.v1beta1.IGetLatestBlockResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetLatestBlockResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetLatestBlockResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.tendermint.v1beta1.GetLatestBlockResponse; /** * Decodes a GetLatestBlockResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetLatestBlockResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.tendermint.v1beta1.GetLatestBlockResponse; /** * Verifies a GetLatestBlockResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetLatestBlockResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetLatestBlockResponse */ public static fromObject(object: { [k: string]: any }): cosmos.base.tendermint.v1beta1.GetLatestBlockResponse; /** * Creates a plain object from a GetLatestBlockResponse message. Also converts values to other types if specified. * @param message GetLatestBlockResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.tendermint.v1beta1.GetLatestBlockResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetLatestBlockResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GetSyncingRequest. */ interface IGetSyncingRequest { } /** Represents a GetSyncingRequest. */ class GetSyncingRequest implements IGetSyncingRequest { /** * Constructs a new GetSyncingRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.tendermint.v1beta1.IGetSyncingRequest); /** * Encodes the specified GetSyncingRequest message. Does not implicitly {@link cosmos.base.tendermint.v1beta1.GetSyncingRequest.verify|verify} messages. * @param message GetSyncingRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.tendermint.v1beta1.IGetSyncingRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetSyncingRequest message, length delimited. Does not implicitly {@link cosmos.base.tendermint.v1beta1.GetSyncingRequest.verify|verify} messages. * @param message GetSyncingRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.tendermint.v1beta1.IGetSyncingRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetSyncingRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetSyncingRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.tendermint.v1beta1.GetSyncingRequest; /** * Decodes a GetSyncingRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetSyncingRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.tendermint.v1beta1.GetSyncingRequest; /** * Verifies a GetSyncingRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetSyncingRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetSyncingRequest */ public static fromObject(object: { [k: string]: any }): cosmos.base.tendermint.v1beta1.GetSyncingRequest; /** * Creates a plain object from a GetSyncingRequest message. Also converts values to other types if specified. * @param message GetSyncingRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.tendermint.v1beta1.GetSyncingRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetSyncingRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GetSyncingResponse. */ interface IGetSyncingResponse { /** GetSyncingResponse syncing */ syncing?: (boolean|null); } /** Represents a GetSyncingResponse. */ class GetSyncingResponse implements IGetSyncingResponse { /** * Constructs a new GetSyncingResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.tendermint.v1beta1.IGetSyncingResponse); /** GetSyncingResponse syncing. */ public syncing: boolean; /** * Encodes the specified GetSyncingResponse message. Does not implicitly {@link cosmos.base.tendermint.v1beta1.GetSyncingResponse.verify|verify} messages. * @param message GetSyncingResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.tendermint.v1beta1.IGetSyncingResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetSyncingResponse message, length delimited. Does not implicitly {@link cosmos.base.tendermint.v1beta1.GetSyncingResponse.verify|verify} messages. * @param message GetSyncingResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.tendermint.v1beta1.IGetSyncingResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetSyncingResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetSyncingResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.tendermint.v1beta1.GetSyncingResponse; /** * Decodes a GetSyncingResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetSyncingResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.tendermint.v1beta1.GetSyncingResponse; /** * Verifies a GetSyncingResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetSyncingResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetSyncingResponse */ public static fromObject(object: { [k: string]: any }): cosmos.base.tendermint.v1beta1.GetSyncingResponse; /** * Creates a plain object from a GetSyncingResponse message. Also converts values to other types if specified. * @param message GetSyncingResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.tendermint.v1beta1.GetSyncingResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetSyncingResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GetNodeInfoRequest. */ interface IGetNodeInfoRequest { } /** Represents a GetNodeInfoRequest. */ class GetNodeInfoRequest implements IGetNodeInfoRequest { /** * Constructs a new GetNodeInfoRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.tendermint.v1beta1.IGetNodeInfoRequest); /** * Encodes the specified GetNodeInfoRequest message. Does not implicitly {@link cosmos.base.tendermint.v1beta1.GetNodeInfoRequest.verify|verify} messages. * @param message GetNodeInfoRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.tendermint.v1beta1.IGetNodeInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetNodeInfoRequest message, length delimited. Does not implicitly {@link cosmos.base.tendermint.v1beta1.GetNodeInfoRequest.verify|verify} messages. * @param message GetNodeInfoRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.tendermint.v1beta1.IGetNodeInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetNodeInfoRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetNodeInfoRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.tendermint.v1beta1.GetNodeInfoRequest; /** * Decodes a GetNodeInfoRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetNodeInfoRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.tendermint.v1beta1.GetNodeInfoRequest; /** * Verifies a GetNodeInfoRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetNodeInfoRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetNodeInfoRequest */ public static fromObject(object: { [k: string]: any }): cosmos.base.tendermint.v1beta1.GetNodeInfoRequest; /** * Creates a plain object from a GetNodeInfoRequest message. Also converts values to other types if specified. * @param message GetNodeInfoRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.tendermint.v1beta1.GetNodeInfoRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetNodeInfoRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GetNodeInfoResponse. */ interface IGetNodeInfoResponse { /** GetNodeInfoResponse default_node_info */ default_node_info?: (cometbft.p2p.IDefaultNodeInfo|null); /** GetNodeInfoResponse application_version */ application_version?: (cosmos.base.tendermint.v1beta1.IVersionInfo|null); } /** Represents a GetNodeInfoResponse. */ class GetNodeInfoResponse implements IGetNodeInfoResponse { /** * Constructs a new GetNodeInfoResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.tendermint.v1beta1.IGetNodeInfoResponse); /** GetNodeInfoResponse default_node_info. */ public default_node_info?: (cometbft.p2p.IDefaultNodeInfo|null); /** GetNodeInfoResponse application_version. */ public application_version?: (cosmos.base.tendermint.v1beta1.IVersionInfo|null); /** * Encodes the specified GetNodeInfoResponse message. Does not implicitly {@link cosmos.base.tendermint.v1beta1.GetNodeInfoResponse.verify|verify} messages. * @param message GetNodeInfoResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.tendermint.v1beta1.IGetNodeInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetNodeInfoResponse message, length delimited. Does not implicitly {@link cosmos.base.tendermint.v1beta1.GetNodeInfoResponse.verify|verify} messages. * @param message GetNodeInfoResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.tendermint.v1beta1.IGetNodeInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetNodeInfoResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetNodeInfoResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.tendermint.v1beta1.GetNodeInfoResponse; /** * Decodes a GetNodeInfoResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetNodeInfoResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.tendermint.v1beta1.GetNodeInfoResponse; /** * Verifies a GetNodeInfoResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetNodeInfoResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetNodeInfoResponse */ public static fromObject(object: { [k: string]: any }): cosmos.base.tendermint.v1beta1.GetNodeInfoResponse; /** * Creates a plain object from a GetNodeInfoResponse message. Also converts values to other types if specified. * @param message GetNodeInfoResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.tendermint.v1beta1.GetNodeInfoResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetNodeInfoResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a VersionInfo. */ interface IVersionInfo { /** VersionInfo name */ name?: (string|null); /** VersionInfo app_name */ app_name?: (string|null); /** VersionInfo version */ version?: (string|null); /** VersionInfo git_commit */ git_commit?: (string|null); /** VersionInfo build_tags */ build_tags?: (string|null); /** VersionInfo go_version */ go_version?: (string|null); /** VersionInfo build_deps */ build_deps?: (cosmos.base.tendermint.v1beta1.IModule[]|null); /** VersionInfo cosmos_sdk_version */ cosmos_sdk_version?: (string|null); } /** Represents a VersionInfo. */ class VersionInfo implements IVersionInfo { /** * Constructs a new VersionInfo. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.tendermint.v1beta1.IVersionInfo); /** VersionInfo name. */ public name: string; /** VersionInfo app_name. */ public app_name: string; /** VersionInfo version. */ public version: string; /** VersionInfo git_commit. */ public git_commit: string; /** VersionInfo build_tags. */ public build_tags: string; /** VersionInfo go_version. */ public go_version: string; /** VersionInfo build_deps. */ public build_deps: cosmos.base.tendermint.v1beta1.IModule[]; /** VersionInfo cosmos_sdk_version. */ public cosmos_sdk_version: string; /** * Encodes the specified VersionInfo message. Does not implicitly {@link cosmos.base.tendermint.v1beta1.VersionInfo.verify|verify} messages. * @param message VersionInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.tendermint.v1beta1.IVersionInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified VersionInfo message, length delimited. Does not implicitly {@link cosmos.base.tendermint.v1beta1.VersionInfo.verify|verify} messages. * @param message VersionInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.tendermint.v1beta1.IVersionInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a VersionInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns VersionInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.tendermint.v1beta1.VersionInfo; /** * Decodes a VersionInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns VersionInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.tendermint.v1beta1.VersionInfo; /** * Verifies a VersionInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a VersionInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns VersionInfo */ public static fromObject(object: { [k: string]: any }): cosmos.base.tendermint.v1beta1.VersionInfo; /** * Creates a plain object from a VersionInfo message. Also converts values to other types if specified. * @param message VersionInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.tendermint.v1beta1.VersionInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this VersionInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Module. */ interface IModule { /** Module path */ path?: (string|null); /** Module version */ version?: (string|null); /** Module sum */ sum?: (string|null); } /** Represents a Module. */ class Module implements IModule { /** * Constructs a new Module. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.tendermint.v1beta1.IModule); /** Module path. */ public path: string; /** Module version. */ public version: string; /** Module sum. */ public sum: string; /** * Encodes the specified Module message. Does not implicitly {@link cosmos.base.tendermint.v1beta1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.tendermint.v1beta1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Module message, length delimited. Does not implicitly {@link cosmos.base.tendermint.v1beta1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.tendermint.v1beta1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Module message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.tendermint.v1beta1.Module; /** * Decodes a Module message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.tendermint.v1beta1.Module; /** * Verifies a Module message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Module message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Module */ public static fromObject(object: { [k: string]: any }): cosmos.base.tendermint.v1beta1.Module; /** * Creates a plain object from a Module message. Also converts values to other types if specified. * @param message Module * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.tendermint.v1beta1.Module, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Module to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ABCIQueryRequest. */ interface IABCIQueryRequest { /** ABCIQueryRequest data */ data?: (Uint8Array|null); /** ABCIQueryRequest path */ path?: (string|null); /** ABCIQueryRequest height */ height?: (Long|null); /** ABCIQueryRequest prove */ prove?: (boolean|null); } /** Represents a ABCIQueryRequest. */ class ABCIQueryRequest implements IABCIQueryRequest { /** * Constructs a new ABCIQueryRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.tendermint.v1beta1.IABCIQueryRequest); /** ABCIQueryRequest data. */ public data: Uint8Array; /** ABCIQueryRequest path. */ public path: string; /** ABCIQueryRequest height. */ public height: Long; /** ABCIQueryRequest prove. */ public prove: boolean; /** * Encodes the specified ABCIQueryRequest message. Does not implicitly {@link cosmos.base.tendermint.v1beta1.ABCIQueryRequest.verify|verify} messages. * @param message ABCIQueryRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.tendermint.v1beta1.IABCIQueryRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ABCIQueryRequest message, length delimited. Does not implicitly {@link cosmos.base.tendermint.v1beta1.ABCIQueryRequest.verify|verify} messages. * @param message ABCIQueryRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.tendermint.v1beta1.IABCIQueryRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ABCIQueryRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ABCIQueryRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.tendermint.v1beta1.ABCIQueryRequest; /** * Decodes a ABCIQueryRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ABCIQueryRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.tendermint.v1beta1.ABCIQueryRequest; /** * Verifies a ABCIQueryRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ABCIQueryRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ABCIQueryRequest */ public static fromObject(object: { [k: string]: any }): cosmos.base.tendermint.v1beta1.ABCIQueryRequest; /** * Creates a plain object from a ABCIQueryRequest message. Also converts values to other types if specified. * @param message ABCIQueryRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.tendermint.v1beta1.ABCIQueryRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ABCIQueryRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ABCIQueryResponse. */ interface IABCIQueryResponse { /** ABCIQueryResponse code */ code?: (number|null); /** ABCIQueryResponse log */ log?: (string|null); /** ABCIQueryResponse info */ info?: (string|null); /** ABCIQueryResponse index */ index?: (Long|null); /** ABCIQueryResponse key */ key?: (Uint8Array|null); /** ABCIQueryResponse value */ value?: (Uint8Array|null); /** ABCIQueryResponse proof_ops */ proof_ops?: (cosmos.base.tendermint.v1beta1.IProofOps|null); /** ABCIQueryResponse height */ height?: (Long|null); /** ABCIQueryResponse codespace */ codespace?: (string|null); } /** Represents a ABCIQueryResponse. */ class ABCIQueryResponse implements IABCIQueryResponse { /** * Constructs a new ABCIQueryResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.tendermint.v1beta1.IABCIQueryResponse); /** ABCIQueryResponse code. */ public code: number; /** ABCIQueryResponse log. */ public log: string; /** ABCIQueryResponse info. */ public info: string; /** ABCIQueryResponse index. */ public index: Long; /** ABCIQueryResponse key. */ public key: Uint8Array; /** ABCIQueryResponse value. */ public value: Uint8Array; /** ABCIQueryResponse proof_ops. */ public proof_ops?: (cosmos.base.tendermint.v1beta1.IProofOps|null); /** ABCIQueryResponse height. */ public height: Long; /** ABCIQueryResponse codespace. */ public codespace: string; /** * Encodes the specified ABCIQueryResponse message. Does not implicitly {@link cosmos.base.tendermint.v1beta1.ABCIQueryResponse.verify|verify} messages. * @param message ABCIQueryResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.tendermint.v1beta1.IABCIQueryResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ABCIQueryResponse message, length delimited. Does not implicitly {@link cosmos.base.tendermint.v1beta1.ABCIQueryResponse.verify|verify} messages. * @param message ABCIQueryResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.tendermint.v1beta1.IABCIQueryResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ABCIQueryResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ABCIQueryResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.tendermint.v1beta1.ABCIQueryResponse; /** * Decodes a ABCIQueryResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ABCIQueryResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.tendermint.v1beta1.ABCIQueryResponse; /** * Verifies a ABCIQueryResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ABCIQueryResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ABCIQueryResponse */ public static fromObject(object: { [k: string]: any }): cosmos.base.tendermint.v1beta1.ABCIQueryResponse; /** * Creates a plain object from a ABCIQueryResponse message. Also converts values to other types if specified. * @param message ABCIQueryResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.tendermint.v1beta1.ABCIQueryResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ABCIQueryResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ProofOp. */ interface IProofOp { /** ProofOp type */ type?: (string|null); /** ProofOp key */ key?: (Uint8Array|null); /** ProofOp data */ data?: (Uint8Array|null); } /** Represents a ProofOp. */ class ProofOp implements IProofOp { /** * Constructs a new ProofOp. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.tendermint.v1beta1.IProofOp); /** ProofOp type. */ public type: string; /** ProofOp key. */ public key: Uint8Array; /** ProofOp data. */ public data: Uint8Array; /** * Encodes the specified ProofOp message. Does not implicitly {@link cosmos.base.tendermint.v1beta1.ProofOp.verify|verify} messages. * @param message ProofOp message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.tendermint.v1beta1.IProofOp, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ProofOp message, length delimited. Does not implicitly {@link cosmos.base.tendermint.v1beta1.ProofOp.verify|verify} messages. * @param message ProofOp message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.tendermint.v1beta1.IProofOp, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ProofOp message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ProofOp * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.tendermint.v1beta1.ProofOp; /** * Decodes a ProofOp message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ProofOp * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.tendermint.v1beta1.ProofOp; /** * Verifies a ProofOp message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ProofOp message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ProofOp */ public static fromObject(object: { [k: string]: any }): cosmos.base.tendermint.v1beta1.ProofOp; /** * Creates a plain object from a ProofOp message. Also converts values to other types if specified. * @param message ProofOp * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.tendermint.v1beta1.ProofOp, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ProofOp to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ProofOps. */ interface IProofOps { /** ProofOps ops */ ops?: (cosmos.base.tendermint.v1beta1.IProofOp[]|null); } /** Represents a ProofOps. */ class ProofOps implements IProofOps { /** * Constructs a new ProofOps. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.tendermint.v1beta1.IProofOps); /** ProofOps ops. */ public ops: cosmos.base.tendermint.v1beta1.IProofOp[]; /** * Encodes the specified ProofOps message. Does not implicitly {@link cosmos.base.tendermint.v1beta1.ProofOps.verify|verify} messages. * @param message ProofOps message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.tendermint.v1beta1.IProofOps, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ProofOps message, length delimited. Does not implicitly {@link cosmos.base.tendermint.v1beta1.ProofOps.verify|verify} messages. * @param message ProofOps message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.tendermint.v1beta1.IProofOps, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ProofOps message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ProofOps * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.tendermint.v1beta1.ProofOps; /** * Decodes a ProofOps message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ProofOps * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.tendermint.v1beta1.ProofOps; /** * Verifies a ProofOps message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ProofOps message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ProofOps */ public static fromObject(object: { [k: string]: any }): cosmos.base.tendermint.v1beta1.ProofOps; /** * Creates a plain object from a ProofOps message. Also converts values to other types if specified. * @param message ProofOps * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.tendermint.v1beta1.ProofOps, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ProofOps to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Block. */ interface IBlock { /** Block header */ header?: (cosmos.base.tendermint.v1beta1.IHeader|null); /** Block data */ data?: (cometbft.types.IData|null); /** Block evidence */ evidence?: (cometbft.types.IEvidenceList|null); /** Block last_commit */ last_commit?: (cometbft.types.ICommit|null); } /** Represents a Block. */ class Block implements IBlock { /** * Constructs a new Block. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.tendermint.v1beta1.IBlock); /** Block header. */ public header?: (cosmos.base.tendermint.v1beta1.IHeader|null); /** Block data. */ public data?: (cometbft.types.IData|null); /** Block evidence. */ public evidence?: (cometbft.types.IEvidenceList|null); /** Block last_commit. */ public last_commit?: (cometbft.types.ICommit|null); /** * Encodes the specified Block message. Does not implicitly {@link cosmos.base.tendermint.v1beta1.Block.verify|verify} messages. * @param message Block message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.tendermint.v1beta1.IBlock, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Block message, length delimited. Does not implicitly {@link cosmos.base.tendermint.v1beta1.Block.verify|verify} messages. * @param message Block message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.tendermint.v1beta1.IBlock, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Block message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Block * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.tendermint.v1beta1.Block; /** * Decodes a Block message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Block * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.tendermint.v1beta1.Block; /** * Verifies a Block message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Block message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Block */ public static fromObject(object: { [k: string]: any }): cosmos.base.tendermint.v1beta1.Block; /** * Creates a plain object from a Block message. Also converts values to other types if specified. * @param message Block * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.tendermint.v1beta1.Block, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Block to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Header. */ interface IHeader { /** Header version */ version?: (cometbft.version.IConsensus|null); /** Header chain_id */ chain_id?: (string|null); /** Header height */ height?: (Long|null); /** Header time */ time?: (google.protobuf.ITimestamp|null); /** Header last_block_id */ last_block_id?: (cometbft.types.IBlockID|null); /** Header last_commit_hash */ last_commit_hash?: (Uint8Array|null); /** Header data_hash */ data_hash?: (Uint8Array|null); /** Header validators_hash */ validators_hash?: (Uint8Array|null); /** Header next_validators_hash */ next_validators_hash?: (Uint8Array|null); /** Header consensus_hash */ consensus_hash?: (Uint8Array|null); /** Header app_hash */ app_hash?: (Uint8Array|null); /** Header last_results_hash */ last_results_hash?: (Uint8Array|null); /** Header evidence_hash */ evidence_hash?: (Uint8Array|null); /** Header proposer_address */ proposer_address?: (string|null); } /** Represents a Header. */ class Header implements IHeader { /** * Constructs a new Header. * @param [properties] Properties to set */ constructor(properties?: cosmos.base.tendermint.v1beta1.IHeader); /** Header version. */ public version?: (cometbft.version.IConsensus|null); /** Header chain_id. */ public chain_id: string; /** Header height. */ public height: Long; /** Header time. */ public time?: (google.protobuf.ITimestamp|null); /** Header last_block_id. */ public last_block_id?: (cometbft.types.IBlockID|null); /** Header last_commit_hash. */ public last_commit_hash: Uint8Array; /** Header data_hash. */ public data_hash: Uint8Array; /** Header validators_hash. */ public validators_hash: Uint8Array; /** Header next_validators_hash. */ public next_validators_hash: Uint8Array; /** Header consensus_hash. */ public consensus_hash: Uint8Array; /** Header app_hash. */ public app_hash: Uint8Array; /** Header last_results_hash. */ public last_results_hash: Uint8Array; /** Header evidence_hash. */ public evidence_hash: Uint8Array; /** Header proposer_address. */ public proposer_address: string; /** * Encodes the specified Header message. Does not implicitly {@link cosmos.base.tendermint.v1beta1.Header.verify|verify} messages. * @param message Header message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.base.tendermint.v1beta1.IHeader, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Header message, length delimited. Does not implicitly {@link cosmos.base.tendermint.v1beta1.Header.verify|verify} messages. * @param message Header message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.base.tendermint.v1beta1.IHeader, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Header message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Header * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.base.tendermint.v1beta1.Header; /** * Decodes a Header message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Header * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.base.tendermint.v1beta1.Header; /** * Verifies a Header message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Header message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Header */ public static fromObject(object: { [k: string]: any }): cosmos.base.tendermint.v1beta1.Header; /** * Creates a plain object from a Header message. Also converts values to other types if specified. * @param message Header * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.base.tendermint.v1beta1.Header, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Header to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } } /** Namespace query. */ namespace query { } /** Namespace msg. */ namespace msg { } /** Namespace authz. */ namespace authz { /** Namespace module. */ namespace module { /** Namespace v1. */ namespace v1 { /** Properties of a Module. */ interface IModule { } /** Represents a Module. */ class Module implements IModule { /** * Constructs a new Module. * @param [properties] Properties to set */ constructor(properties?: cosmos.authz.module.v1.IModule); /** * Encodes the specified Module message. Does not implicitly {@link cosmos.authz.module.v1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.authz.module.v1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Module message, length delimited. Does not implicitly {@link cosmos.authz.module.v1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.authz.module.v1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Module message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.authz.module.v1.Module; /** * Decodes a Module message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.authz.module.v1.Module; /** * Verifies a Module message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Module message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Module */ public static fromObject(object: { [k: string]: any }): cosmos.authz.module.v1.Module; /** * Creates a plain object from a Module message. Also converts values to other types if specified. * @param message Module * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.authz.module.v1.Module, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Module to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace v1beta1. */ namespace v1beta1 { /** Properties of a GenericAuthorization. */ interface IGenericAuthorization { /** GenericAuthorization msg */ msg?: (string|null); } /** Represents a GenericAuthorization. */ class GenericAuthorization implements IGenericAuthorization { /** * Constructs a new GenericAuthorization. * @param [properties] Properties to set */ constructor(properties?: cosmos.authz.v1beta1.IGenericAuthorization); /** GenericAuthorization msg. */ public msg: string; /** * Encodes the specified GenericAuthorization message. Does not implicitly {@link cosmos.authz.v1beta1.GenericAuthorization.verify|verify} messages. * @param message GenericAuthorization message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.authz.v1beta1.IGenericAuthorization, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GenericAuthorization message, length delimited. Does not implicitly {@link cosmos.authz.v1beta1.GenericAuthorization.verify|verify} messages. * @param message GenericAuthorization message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.authz.v1beta1.IGenericAuthorization, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GenericAuthorization message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GenericAuthorization * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.authz.v1beta1.GenericAuthorization; /** * Decodes a GenericAuthorization message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GenericAuthorization * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.authz.v1beta1.GenericAuthorization; /** * Verifies a GenericAuthorization message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GenericAuthorization message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GenericAuthorization */ public static fromObject(object: { [k: string]: any }): cosmos.authz.v1beta1.GenericAuthorization; /** * Creates a plain object from a GenericAuthorization message. Also converts values to other types if specified. * @param message GenericAuthorization * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.authz.v1beta1.GenericAuthorization, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GenericAuthorization to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Grant. */ interface IGrant { /** Grant authorization */ authorization?: (google.protobuf.IAny|null); /** Grant expiration */ expiration?: (google.protobuf.ITimestamp|null); } /** Represents a Grant. */ class Grant implements IGrant { /** * Constructs a new Grant. * @param [properties] Properties to set */ constructor(properties?: cosmos.authz.v1beta1.IGrant); /** Grant authorization. */ public authorization?: (google.protobuf.IAny|null); /** Grant expiration. */ public expiration?: (google.protobuf.ITimestamp|null); /** * Encodes the specified Grant message. Does not implicitly {@link cosmos.authz.v1beta1.Grant.verify|verify} messages. * @param message Grant message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.authz.v1beta1.IGrant, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Grant message, length delimited. Does not implicitly {@link cosmos.authz.v1beta1.Grant.verify|verify} messages. * @param message Grant message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.authz.v1beta1.IGrant, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Grant message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Grant * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.authz.v1beta1.Grant; /** * Decodes a Grant message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Grant * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.authz.v1beta1.Grant; /** * Verifies a Grant message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Grant message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Grant */ public static fromObject(object: { [k: string]: any }): cosmos.authz.v1beta1.Grant; /** * Creates a plain object from a Grant message. Also converts values to other types if specified. * @param message Grant * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.authz.v1beta1.Grant, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Grant to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GrantAuthorization. */ interface IGrantAuthorization { /** GrantAuthorization granter */ granter?: (string|null); /** GrantAuthorization grantee */ grantee?: (string|null); /** GrantAuthorization authorization */ authorization?: (google.protobuf.IAny|null); /** GrantAuthorization expiration */ expiration?: (google.protobuf.ITimestamp|null); } /** Represents a GrantAuthorization. */ class GrantAuthorization implements IGrantAuthorization { /** * Constructs a new GrantAuthorization. * @param [properties] Properties to set */ constructor(properties?: cosmos.authz.v1beta1.IGrantAuthorization); /** GrantAuthorization granter. */ public granter: string; /** GrantAuthorization grantee. */ public grantee: string; /** GrantAuthorization authorization. */ public authorization?: (google.protobuf.IAny|null); /** GrantAuthorization expiration. */ public expiration?: (google.protobuf.ITimestamp|null); /** * Encodes the specified GrantAuthorization message. Does not implicitly {@link cosmos.authz.v1beta1.GrantAuthorization.verify|verify} messages. * @param message GrantAuthorization message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.authz.v1beta1.IGrantAuthorization, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GrantAuthorization message, length delimited. Does not implicitly {@link cosmos.authz.v1beta1.GrantAuthorization.verify|verify} messages. * @param message GrantAuthorization message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.authz.v1beta1.IGrantAuthorization, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GrantAuthorization message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GrantAuthorization * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.authz.v1beta1.GrantAuthorization; /** * Decodes a GrantAuthorization message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GrantAuthorization * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.authz.v1beta1.GrantAuthorization; /** * Verifies a GrantAuthorization message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GrantAuthorization message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GrantAuthorization */ public static fromObject(object: { [k: string]: any }): cosmos.authz.v1beta1.GrantAuthorization; /** * Creates a plain object from a GrantAuthorization message. Also converts values to other types if specified. * @param message GrantAuthorization * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.authz.v1beta1.GrantAuthorization, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GrantAuthorization to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GrantQueueItem. */ interface IGrantQueueItem { /** GrantQueueItem msg_type_urls */ msg_type_urls?: (string[]|null); } /** Represents a GrantQueueItem. */ class GrantQueueItem implements IGrantQueueItem { /** * Constructs a new GrantQueueItem. * @param [properties] Properties to set */ constructor(properties?: cosmos.authz.v1beta1.IGrantQueueItem); /** GrantQueueItem msg_type_urls. */ public msg_type_urls: string[]; /** * Encodes the specified GrantQueueItem message. Does not implicitly {@link cosmos.authz.v1beta1.GrantQueueItem.verify|verify} messages. * @param message GrantQueueItem message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.authz.v1beta1.IGrantQueueItem, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GrantQueueItem message, length delimited. Does not implicitly {@link cosmos.authz.v1beta1.GrantQueueItem.verify|verify} messages. * @param message GrantQueueItem message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.authz.v1beta1.IGrantQueueItem, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GrantQueueItem message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GrantQueueItem * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.authz.v1beta1.GrantQueueItem; /** * Decodes a GrantQueueItem message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GrantQueueItem * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.authz.v1beta1.GrantQueueItem; /** * Verifies a GrantQueueItem message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GrantQueueItem message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GrantQueueItem */ public static fromObject(object: { [k: string]: any }): cosmos.authz.v1beta1.GrantQueueItem; /** * Creates a plain object from a GrantQueueItem message. Also converts values to other types if specified. * @param message GrantQueueItem * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.authz.v1beta1.GrantQueueItem, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GrantQueueItem to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Represents a Query */ class Query extends $protobuf.rpc.Service { /** * Constructs a new Query service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls Grants. * @param request QueryGrantsRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryGrantsResponse */ public grants(request: cosmos.authz.v1beta1.IQueryGrantsRequest, callback: cosmos.authz.v1beta1.Query.GrantsCallback): void; /** * Calls Grants. * @param request QueryGrantsRequest message or plain object * @returns Promise */ public grants(request: cosmos.authz.v1beta1.IQueryGrantsRequest): Promise; /** * Calls GranterGrants. * @param request QueryGranterGrantsRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryGranterGrantsResponse */ public granterGrants(request: cosmos.authz.v1beta1.IQueryGranterGrantsRequest, callback: cosmos.authz.v1beta1.Query.GranterGrantsCallback): void; /** * Calls GranterGrants. * @param request QueryGranterGrantsRequest message or plain object * @returns Promise */ public granterGrants(request: cosmos.authz.v1beta1.IQueryGranterGrantsRequest): Promise; /** * Calls GranteeGrants. * @param request QueryGranteeGrantsRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryGranteeGrantsResponse */ public granteeGrants(request: cosmos.authz.v1beta1.IQueryGranteeGrantsRequest, callback: cosmos.authz.v1beta1.Query.GranteeGrantsCallback): void; /** * Calls GranteeGrants. * @param request QueryGranteeGrantsRequest message or plain object * @returns Promise */ public granteeGrants(request: cosmos.authz.v1beta1.IQueryGranteeGrantsRequest): Promise; } namespace Query { /** * Callback as used by {@link cosmos.authz.v1beta1.Query#grants}. * @param error Error, if any * @param [response] QueryGrantsResponse */ type GrantsCallback = (error: (Error|null), response?: cosmos.authz.v1beta1.QueryGrantsResponse) => void; /** * Callback as used by {@link cosmos.authz.v1beta1.Query#granterGrants}. * @param error Error, if any * @param [response] QueryGranterGrantsResponse */ type GranterGrantsCallback = (error: (Error|null), response?: cosmos.authz.v1beta1.QueryGranterGrantsResponse) => void; /** * Callback as used by {@link cosmos.authz.v1beta1.Query#granteeGrants}. * @param error Error, if any * @param [response] QueryGranteeGrantsResponse */ type GranteeGrantsCallback = (error: (Error|null), response?: cosmos.authz.v1beta1.QueryGranteeGrantsResponse) => void; } /** Properties of a QueryGrantsRequest. */ interface IQueryGrantsRequest { /** QueryGrantsRequest granter */ granter?: (string|null); /** QueryGrantsRequest grantee */ grantee?: (string|null); /** QueryGrantsRequest msg_type_url */ msg_type_url?: (string|null); /** QueryGrantsRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a QueryGrantsRequest. */ class QueryGrantsRequest implements IQueryGrantsRequest { /** * Constructs a new QueryGrantsRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.authz.v1beta1.IQueryGrantsRequest); /** QueryGrantsRequest granter. */ public granter: string; /** QueryGrantsRequest grantee. */ public grantee: string; /** QueryGrantsRequest msg_type_url. */ public msg_type_url: string; /** QueryGrantsRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** * Encodes the specified QueryGrantsRequest message. Does not implicitly {@link cosmos.authz.v1beta1.QueryGrantsRequest.verify|verify} messages. * @param message QueryGrantsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.authz.v1beta1.IQueryGrantsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryGrantsRequest message, length delimited. Does not implicitly {@link cosmos.authz.v1beta1.QueryGrantsRequest.verify|verify} messages. * @param message QueryGrantsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.authz.v1beta1.IQueryGrantsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryGrantsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryGrantsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.authz.v1beta1.QueryGrantsRequest; /** * Decodes a QueryGrantsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryGrantsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.authz.v1beta1.QueryGrantsRequest; /** * Verifies a QueryGrantsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryGrantsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryGrantsRequest */ public static fromObject(object: { [k: string]: any }): cosmos.authz.v1beta1.QueryGrantsRequest; /** * Creates a plain object from a QueryGrantsRequest message. Also converts values to other types if specified. * @param message QueryGrantsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.authz.v1beta1.QueryGrantsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryGrantsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryGrantsResponse. */ interface IQueryGrantsResponse { /** QueryGrantsResponse grants */ grants?: (cosmos.authz.v1beta1.IGrant[]|null); /** QueryGrantsResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a QueryGrantsResponse. */ class QueryGrantsResponse implements IQueryGrantsResponse { /** * Constructs a new QueryGrantsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.authz.v1beta1.IQueryGrantsResponse); /** QueryGrantsResponse grants. */ public grants: cosmos.authz.v1beta1.IGrant[]; /** QueryGrantsResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified QueryGrantsResponse message. Does not implicitly {@link cosmos.authz.v1beta1.QueryGrantsResponse.verify|verify} messages. * @param message QueryGrantsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.authz.v1beta1.IQueryGrantsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryGrantsResponse message, length delimited. Does not implicitly {@link cosmos.authz.v1beta1.QueryGrantsResponse.verify|verify} messages. * @param message QueryGrantsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.authz.v1beta1.IQueryGrantsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryGrantsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryGrantsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.authz.v1beta1.QueryGrantsResponse; /** * Decodes a QueryGrantsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryGrantsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.authz.v1beta1.QueryGrantsResponse; /** * Verifies a QueryGrantsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryGrantsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryGrantsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.authz.v1beta1.QueryGrantsResponse; /** * Creates a plain object from a QueryGrantsResponse message. Also converts values to other types if specified. * @param message QueryGrantsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.authz.v1beta1.QueryGrantsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryGrantsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryGranterGrantsRequest. */ interface IQueryGranterGrantsRequest { /** QueryGranterGrantsRequest granter */ granter?: (string|null); /** QueryGranterGrantsRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a QueryGranterGrantsRequest. */ class QueryGranterGrantsRequest implements IQueryGranterGrantsRequest { /** * Constructs a new QueryGranterGrantsRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.authz.v1beta1.IQueryGranterGrantsRequest); /** QueryGranterGrantsRequest granter. */ public granter: string; /** QueryGranterGrantsRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** * Encodes the specified QueryGranterGrantsRequest message. Does not implicitly {@link cosmos.authz.v1beta1.QueryGranterGrantsRequest.verify|verify} messages. * @param message QueryGranterGrantsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.authz.v1beta1.IQueryGranterGrantsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryGranterGrantsRequest message, length delimited. Does not implicitly {@link cosmos.authz.v1beta1.QueryGranterGrantsRequest.verify|verify} messages. * @param message QueryGranterGrantsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.authz.v1beta1.IQueryGranterGrantsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryGranterGrantsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryGranterGrantsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.authz.v1beta1.QueryGranterGrantsRequest; /** * Decodes a QueryGranterGrantsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryGranterGrantsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.authz.v1beta1.QueryGranterGrantsRequest; /** * Verifies a QueryGranterGrantsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryGranterGrantsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryGranterGrantsRequest */ public static fromObject(object: { [k: string]: any }): cosmos.authz.v1beta1.QueryGranterGrantsRequest; /** * Creates a plain object from a QueryGranterGrantsRequest message. Also converts values to other types if specified. * @param message QueryGranterGrantsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.authz.v1beta1.QueryGranterGrantsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryGranterGrantsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryGranterGrantsResponse. */ interface IQueryGranterGrantsResponse { /** QueryGranterGrantsResponse grants */ grants?: (cosmos.authz.v1beta1.IGrantAuthorization[]|null); /** QueryGranterGrantsResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a QueryGranterGrantsResponse. */ class QueryGranterGrantsResponse implements IQueryGranterGrantsResponse { /** * Constructs a new QueryGranterGrantsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.authz.v1beta1.IQueryGranterGrantsResponse); /** QueryGranterGrantsResponse grants. */ public grants: cosmos.authz.v1beta1.IGrantAuthorization[]; /** QueryGranterGrantsResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified QueryGranterGrantsResponse message. Does not implicitly {@link cosmos.authz.v1beta1.QueryGranterGrantsResponse.verify|verify} messages. * @param message QueryGranterGrantsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.authz.v1beta1.IQueryGranterGrantsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryGranterGrantsResponse message, length delimited. Does not implicitly {@link cosmos.authz.v1beta1.QueryGranterGrantsResponse.verify|verify} messages. * @param message QueryGranterGrantsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.authz.v1beta1.IQueryGranterGrantsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryGranterGrantsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryGranterGrantsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.authz.v1beta1.QueryGranterGrantsResponse; /** * Decodes a QueryGranterGrantsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryGranterGrantsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.authz.v1beta1.QueryGranterGrantsResponse; /** * Verifies a QueryGranterGrantsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryGranterGrantsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryGranterGrantsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.authz.v1beta1.QueryGranterGrantsResponse; /** * Creates a plain object from a QueryGranterGrantsResponse message. Also converts values to other types if specified. * @param message QueryGranterGrantsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.authz.v1beta1.QueryGranterGrantsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryGranterGrantsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryGranteeGrantsRequest. */ interface IQueryGranteeGrantsRequest { /** QueryGranteeGrantsRequest grantee */ grantee?: (string|null); /** QueryGranteeGrantsRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a QueryGranteeGrantsRequest. */ class QueryGranteeGrantsRequest implements IQueryGranteeGrantsRequest { /** * Constructs a new QueryGranteeGrantsRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.authz.v1beta1.IQueryGranteeGrantsRequest); /** QueryGranteeGrantsRequest grantee. */ public grantee: string; /** QueryGranteeGrantsRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** * Encodes the specified QueryGranteeGrantsRequest message. Does not implicitly {@link cosmos.authz.v1beta1.QueryGranteeGrantsRequest.verify|verify} messages. * @param message QueryGranteeGrantsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.authz.v1beta1.IQueryGranteeGrantsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryGranteeGrantsRequest message, length delimited. Does not implicitly {@link cosmos.authz.v1beta1.QueryGranteeGrantsRequest.verify|verify} messages. * @param message QueryGranteeGrantsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.authz.v1beta1.IQueryGranteeGrantsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryGranteeGrantsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryGranteeGrantsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.authz.v1beta1.QueryGranteeGrantsRequest; /** * Decodes a QueryGranteeGrantsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryGranteeGrantsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.authz.v1beta1.QueryGranteeGrantsRequest; /** * Verifies a QueryGranteeGrantsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryGranteeGrantsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryGranteeGrantsRequest */ public static fromObject(object: { [k: string]: any }): cosmos.authz.v1beta1.QueryGranteeGrantsRequest; /** * Creates a plain object from a QueryGranteeGrantsRequest message. Also converts values to other types if specified. * @param message QueryGranteeGrantsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.authz.v1beta1.QueryGranteeGrantsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryGranteeGrantsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryGranteeGrantsResponse. */ interface IQueryGranteeGrantsResponse { /** QueryGranteeGrantsResponse grants */ grants?: (cosmos.authz.v1beta1.IGrantAuthorization[]|null); /** QueryGranteeGrantsResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a QueryGranteeGrantsResponse. */ class QueryGranteeGrantsResponse implements IQueryGranteeGrantsResponse { /** * Constructs a new QueryGranteeGrantsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.authz.v1beta1.IQueryGranteeGrantsResponse); /** QueryGranteeGrantsResponse grants. */ public grants: cosmos.authz.v1beta1.IGrantAuthorization[]; /** QueryGranteeGrantsResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified QueryGranteeGrantsResponse message. Does not implicitly {@link cosmos.authz.v1beta1.QueryGranteeGrantsResponse.verify|verify} messages. * @param message QueryGranteeGrantsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.authz.v1beta1.IQueryGranteeGrantsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryGranteeGrantsResponse message, length delimited. Does not implicitly {@link cosmos.authz.v1beta1.QueryGranteeGrantsResponse.verify|verify} messages. * @param message QueryGranteeGrantsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.authz.v1beta1.IQueryGranteeGrantsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryGranteeGrantsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryGranteeGrantsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.authz.v1beta1.QueryGranteeGrantsResponse; /** * Decodes a QueryGranteeGrantsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryGranteeGrantsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.authz.v1beta1.QueryGranteeGrantsResponse; /** * Verifies a QueryGranteeGrantsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryGranteeGrantsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryGranteeGrantsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.authz.v1beta1.QueryGranteeGrantsResponse; /** * Creates a plain object from a QueryGranteeGrantsResponse message. Also converts values to other types if specified. * @param message QueryGranteeGrantsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.authz.v1beta1.QueryGranteeGrantsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryGranteeGrantsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Represents a Msg */ class Msg extends $protobuf.rpc.Service { /** * Constructs a new Msg service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls Grant. * @param request MsgGrant message or plain object * @param callback Node-style callback called with the error, if any, and MsgGrantResponse */ public grant(request: cosmos.authz.v1beta1.IMsgGrant, callback: cosmos.authz.v1beta1.Msg.GrantCallback): void; /** * Calls Grant. * @param request MsgGrant message or plain object * @returns Promise */ public grant(request: cosmos.authz.v1beta1.IMsgGrant): Promise; /** * Calls Exec. * @param request MsgExec message or plain object * @param callback Node-style callback called with the error, if any, and MsgExecResponse */ public exec(request: cosmos.authz.v1beta1.IMsgExec, callback: cosmos.authz.v1beta1.Msg.ExecCallback): void; /** * Calls Exec. * @param request MsgExec message or plain object * @returns Promise */ public exec(request: cosmos.authz.v1beta1.IMsgExec): Promise; /** * Calls Revoke. * @param request MsgRevoke message or plain object * @param callback Node-style callback called with the error, if any, and MsgRevokeResponse */ public revoke(request: cosmos.authz.v1beta1.IMsgRevoke, callback: cosmos.authz.v1beta1.Msg.RevokeCallback): void; /** * Calls Revoke. * @param request MsgRevoke message or plain object * @returns Promise */ public revoke(request: cosmos.authz.v1beta1.IMsgRevoke): Promise; } namespace Msg { /** * Callback as used by {@link cosmos.authz.v1beta1.Msg#grant}. * @param error Error, if any * @param [response] MsgGrantResponse */ type GrantCallback = (error: (Error|null), response?: cosmos.authz.v1beta1.MsgGrantResponse) => void; /** * Callback as used by {@link cosmos.authz.v1beta1.Msg#exec}. * @param error Error, if any * @param [response] MsgExecResponse */ type ExecCallback = (error: (Error|null), response?: cosmos.authz.v1beta1.MsgExecResponse) => void; /** * Callback as used by {@link cosmos.authz.v1beta1.Msg#revoke}. * @param error Error, if any * @param [response] MsgRevokeResponse */ type RevokeCallback = (error: (Error|null), response?: cosmos.authz.v1beta1.MsgRevokeResponse) => void; } /** Properties of a MsgGrant. */ interface IMsgGrant { /** MsgGrant granter */ granter?: (string|null); /** MsgGrant grantee */ grantee?: (string|null); /** MsgGrant grant */ grant?: (cosmos.authz.v1beta1.IGrant|null); } /** Represents a MsgGrant. */ class MsgGrant implements IMsgGrant { /** * Constructs a new MsgGrant. * @param [properties] Properties to set */ constructor(properties?: cosmos.authz.v1beta1.IMsgGrant); /** MsgGrant granter. */ public granter: string; /** MsgGrant grantee. */ public grantee: string; /** MsgGrant grant. */ public grant?: (cosmos.authz.v1beta1.IGrant|null); /** * Encodes the specified MsgGrant message. Does not implicitly {@link cosmos.authz.v1beta1.MsgGrant.verify|verify} messages. * @param message MsgGrant message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.authz.v1beta1.IMsgGrant, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgGrant message, length delimited. Does not implicitly {@link cosmos.authz.v1beta1.MsgGrant.verify|verify} messages. * @param message MsgGrant message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.authz.v1beta1.IMsgGrant, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgGrant message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgGrant * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.authz.v1beta1.MsgGrant; /** * Decodes a MsgGrant message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgGrant * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.authz.v1beta1.MsgGrant; /** * Verifies a MsgGrant message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgGrant message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgGrant */ public static fromObject(object: { [k: string]: any }): cosmos.authz.v1beta1.MsgGrant; /** * Creates a plain object from a MsgGrant message. Also converts values to other types if specified. * @param message MsgGrant * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.authz.v1beta1.MsgGrant, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgGrant to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgExecResponse. */ interface IMsgExecResponse { /** MsgExecResponse results */ results?: (Uint8Array[]|null); } /** Represents a MsgExecResponse. */ class MsgExecResponse implements IMsgExecResponse { /** * Constructs a new MsgExecResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.authz.v1beta1.IMsgExecResponse); /** MsgExecResponse results. */ public results: Uint8Array[]; /** * Encodes the specified MsgExecResponse message. Does not implicitly {@link cosmos.authz.v1beta1.MsgExecResponse.verify|verify} messages. * @param message MsgExecResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.authz.v1beta1.IMsgExecResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgExecResponse message, length delimited. Does not implicitly {@link cosmos.authz.v1beta1.MsgExecResponse.verify|verify} messages. * @param message MsgExecResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.authz.v1beta1.IMsgExecResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgExecResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgExecResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.authz.v1beta1.MsgExecResponse; /** * Decodes a MsgExecResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgExecResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.authz.v1beta1.MsgExecResponse; /** * Verifies a MsgExecResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgExecResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgExecResponse */ public static fromObject(object: { [k: string]: any }): cosmos.authz.v1beta1.MsgExecResponse; /** * Creates a plain object from a MsgExecResponse message. Also converts values to other types if specified. * @param message MsgExecResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.authz.v1beta1.MsgExecResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgExecResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgExec. */ interface IMsgExec { /** MsgExec grantee */ grantee?: (string|null); /** MsgExec msgs */ msgs?: (google.protobuf.IAny[]|null); } /** Represents a MsgExec. */ class MsgExec implements IMsgExec { /** * Constructs a new MsgExec. * @param [properties] Properties to set */ constructor(properties?: cosmos.authz.v1beta1.IMsgExec); /** MsgExec grantee. */ public grantee: string; /** MsgExec msgs. */ public msgs: google.protobuf.IAny[]; /** * Encodes the specified MsgExec message. Does not implicitly {@link cosmos.authz.v1beta1.MsgExec.verify|verify} messages. * @param message MsgExec message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.authz.v1beta1.IMsgExec, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgExec message, length delimited. Does not implicitly {@link cosmos.authz.v1beta1.MsgExec.verify|verify} messages. * @param message MsgExec message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.authz.v1beta1.IMsgExec, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgExec message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgExec * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.authz.v1beta1.MsgExec; /** * Decodes a MsgExec message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgExec * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.authz.v1beta1.MsgExec; /** * Verifies a MsgExec message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgExec message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgExec */ public static fromObject(object: { [k: string]: any }): cosmos.authz.v1beta1.MsgExec; /** * Creates a plain object from a MsgExec message. Also converts values to other types if specified. * @param message MsgExec * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.authz.v1beta1.MsgExec, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgExec to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgGrantResponse. */ interface IMsgGrantResponse { } /** Represents a MsgGrantResponse. */ class MsgGrantResponse implements IMsgGrantResponse { /** * Constructs a new MsgGrantResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.authz.v1beta1.IMsgGrantResponse); /** * Encodes the specified MsgGrantResponse message. Does not implicitly {@link cosmos.authz.v1beta1.MsgGrantResponse.verify|verify} messages. * @param message MsgGrantResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.authz.v1beta1.IMsgGrantResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgGrantResponse message, length delimited. Does not implicitly {@link cosmos.authz.v1beta1.MsgGrantResponse.verify|verify} messages. * @param message MsgGrantResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.authz.v1beta1.IMsgGrantResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgGrantResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgGrantResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.authz.v1beta1.MsgGrantResponse; /** * Decodes a MsgGrantResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgGrantResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.authz.v1beta1.MsgGrantResponse; /** * Verifies a MsgGrantResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgGrantResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgGrantResponse */ public static fromObject(object: { [k: string]: any }): cosmos.authz.v1beta1.MsgGrantResponse; /** * Creates a plain object from a MsgGrantResponse message. Also converts values to other types if specified. * @param message MsgGrantResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.authz.v1beta1.MsgGrantResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgGrantResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgRevoke. */ interface IMsgRevoke { /** MsgRevoke granter */ granter?: (string|null); /** MsgRevoke grantee */ grantee?: (string|null); /** MsgRevoke msg_type_url */ msg_type_url?: (string|null); } /** Represents a MsgRevoke. */ class MsgRevoke implements IMsgRevoke { /** * Constructs a new MsgRevoke. * @param [properties] Properties to set */ constructor(properties?: cosmos.authz.v1beta1.IMsgRevoke); /** MsgRevoke granter. */ public granter: string; /** MsgRevoke grantee. */ public grantee: string; /** MsgRevoke msg_type_url. */ public msg_type_url: string; /** * Encodes the specified MsgRevoke message. Does not implicitly {@link cosmos.authz.v1beta1.MsgRevoke.verify|verify} messages. * @param message MsgRevoke message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.authz.v1beta1.IMsgRevoke, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgRevoke message, length delimited. Does not implicitly {@link cosmos.authz.v1beta1.MsgRevoke.verify|verify} messages. * @param message MsgRevoke message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.authz.v1beta1.IMsgRevoke, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgRevoke message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgRevoke * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.authz.v1beta1.MsgRevoke; /** * Decodes a MsgRevoke message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgRevoke * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.authz.v1beta1.MsgRevoke; /** * Verifies a MsgRevoke message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgRevoke message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgRevoke */ public static fromObject(object: { [k: string]: any }): cosmos.authz.v1beta1.MsgRevoke; /** * Creates a plain object from a MsgRevoke message. Also converts values to other types if specified. * @param message MsgRevoke * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.authz.v1beta1.MsgRevoke, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgRevoke to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgRevokeResponse. */ interface IMsgRevokeResponse { } /** Represents a MsgRevokeResponse. */ class MsgRevokeResponse implements IMsgRevokeResponse { /** * Constructs a new MsgRevokeResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.authz.v1beta1.IMsgRevokeResponse); /** * Encodes the specified MsgRevokeResponse message. Does not implicitly {@link cosmos.authz.v1beta1.MsgRevokeResponse.verify|verify} messages. * @param message MsgRevokeResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.authz.v1beta1.IMsgRevokeResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgRevokeResponse message, length delimited. Does not implicitly {@link cosmos.authz.v1beta1.MsgRevokeResponse.verify|verify} messages. * @param message MsgRevokeResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.authz.v1beta1.IMsgRevokeResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgRevokeResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgRevokeResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.authz.v1beta1.MsgRevokeResponse; /** * Decodes a MsgRevokeResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgRevokeResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.authz.v1beta1.MsgRevokeResponse; /** * Verifies a MsgRevokeResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgRevokeResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgRevokeResponse */ public static fromObject(object: { [k: string]: any }): cosmos.authz.v1beta1.MsgRevokeResponse; /** * Creates a plain object from a MsgRevokeResponse message. Also converts values to other types if specified. * @param message MsgRevokeResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.authz.v1beta1.MsgRevokeResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgRevokeResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GenesisState. */ interface IGenesisState { /** GenesisState authorization */ authorization?: (cosmos.authz.v1beta1.IGrantAuthorization[]|null); } /** Represents a GenesisState. */ class GenesisState implements IGenesisState { /** * Constructs a new GenesisState. * @param [properties] Properties to set */ constructor(properties?: cosmos.authz.v1beta1.IGenesisState); /** GenesisState authorization. */ public authorization: cosmos.authz.v1beta1.IGrantAuthorization[]; /** * Encodes the specified GenesisState message. Does not implicitly {@link cosmos.authz.v1beta1.GenesisState.verify|verify} messages. * @param message GenesisState message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.authz.v1beta1.IGenesisState, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GenesisState message, length delimited. Does not implicitly {@link cosmos.authz.v1beta1.GenesisState.verify|verify} messages. * @param message GenesisState message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.authz.v1beta1.IGenesisState, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GenesisState message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GenesisState * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.authz.v1beta1.GenesisState; /** * Decodes a GenesisState message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GenesisState * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.authz.v1beta1.GenesisState; /** * Verifies a GenesisState message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GenesisState message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GenesisState */ public static fromObject(object: { [k: string]: any }): cosmos.authz.v1beta1.GenesisState; /** * Creates a plain object from a GenesisState message. Also converts values to other types if specified. * @param message GenesisState * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.authz.v1beta1.GenesisState, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GenesisState to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an EventGrant. */ interface IEventGrant { /** EventGrant msg_type_url */ msg_type_url?: (string|null); /** EventGrant granter */ granter?: (string|null); /** EventGrant grantee */ grantee?: (string|null); } /** Represents an EventGrant. */ class EventGrant implements IEventGrant { /** * Constructs a new EventGrant. * @param [properties] Properties to set */ constructor(properties?: cosmos.authz.v1beta1.IEventGrant); /** EventGrant msg_type_url. */ public msg_type_url: string; /** EventGrant granter. */ public granter: string; /** EventGrant grantee. */ public grantee: string; /** * Encodes the specified EventGrant message. Does not implicitly {@link cosmos.authz.v1beta1.EventGrant.verify|verify} messages. * @param message EventGrant message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.authz.v1beta1.IEventGrant, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EventGrant message, length delimited. Does not implicitly {@link cosmos.authz.v1beta1.EventGrant.verify|verify} messages. * @param message EventGrant message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.authz.v1beta1.IEventGrant, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EventGrant message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EventGrant * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.authz.v1beta1.EventGrant; /** * Decodes an EventGrant message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EventGrant * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.authz.v1beta1.EventGrant; /** * Verifies an EventGrant message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EventGrant message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EventGrant */ public static fromObject(object: { [k: string]: any }): cosmos.authz.v1beta1.EventGrant; /** * Creates a plain object from an EventGrant message. Also converts values to other types if specified. * @param message EventGrant * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.authz.v1beta1.EventGrant, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EventGrant to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an EventRevoke. */ interface IEventRevoke { /** EventRevoke msg_type_url */ msg_type_url?: (string|null); /** EventRevoke granter */ granter?: (string|null); /** EventRevoke grantee */ grantee?: (string|null); } /** Represents an EventRevoke. */ class EventRevoke implements IEventRevoke { /** * Constructs a new EventRevoke. * @param [properties] Properties to set */ constructor(properties?: cosmos.authz.v1beta1.IEventRevoke); /** EventRevoke msg_type_url. */ public msg_type_url: string; /** EventRevoke granter. */ public granter: string; /** EventRevoke grantee. */ public grantee: string; /** * Encodes the specified EventRevoke message. Does not implicitly {@link cosmos.authz.v1beta1.EventRevoke.verify|verify} messages. * @param message EventRevoke message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.authz.v1beta1.IEventRevoke, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EventRevoke message, length delimited. Does not implicitly {@link cosmos.authz.v1beta1.EventRevoke.verify|verify} messages. * @param message EventRevoke message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.authz.v1beta1.IEventRevoke, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EventRevoke message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EventRevoke * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.authz.v1beta1.EventRevoke; /** * Decodes an EventRevoke message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EventRevoke * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.authz.v1beta1.EventRevoke; /** * Verifies an EventRevoke message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EventRevoke message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EventRevoke */ public static fromObject(object: { [k: string]: any }): cosmos.authz.v1beta1.EventRevoke; /** * Creates a plain object from an EventRevoke message. Also converts values to other types if specified. * @param message EventRevoke * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.authz.v1beta1.EventRevoke, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EventRevoke to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace autocli. */ namespace autocli { /** Namespace v1. */ namespace v1 { /** Represents a Query */ class Query extends $protobuf.rpc.Service { /** * Constructs a new Query service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls AppOptions. * @param request AppOptionsRequest message or plain object * @param callback Node-style callback called with the error, if any, and AppOptionsResponse */ public appOptions(request: cosmos.autocli.v1.IAppOptionsRequest, callback: cosmos.autocli.v1.Query.AppOptionsCallback): void; /** * Calls AppOptions. * @param request AppOptionsRequest message or plain object * @returns Promise */ public appOptions(request: cosmos.autocli.v1.IAppOptionsRequest): Promise; } namespace Query { /** * Callback as used by {@link cosmos.autocli.v1.Query#appOptions}. * @param error Error, if any * @param [response] AppOptionsResponse */ type AppOptionsCallback = (error: (Error|null), response?: cosmos.autocli.v1.AppOptionsResponse) => void; } /** Properties of an AppOptionsRequest. */ interface IAppOptionsRequest { } /** Represents an AppOptionsRequest. */ class AppOptionsRequest implements IAppOptionsRequest { /** * Constructs a new AppOptionsRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.autocli.v1.IAppOptionsRequest); /** * Encodes the specified AppOptionsRequest message. Does not implicitly {@link cosmos.autocli.v1.AppOptionsRequest.verify|verify} messages. * @param message AppOptionsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.autocli.v1.IAppOptionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AppOptionsRequest message, length delimited. Does not implicitly {@link cosmos.autocli.v1.AppOptionsRequest.verify|verify} messages. * @param message AppOptionsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.autocli.v1.IAppOptionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AppOptionsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AppOptionsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.autocli.v1.AppOptionsRequest; /** * Decodes an AppOptionsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AppOptionsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.autocli.v1.AppOptionsRequest; /** * Verifies an AppOptionsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AppOptionsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AppOptionsRequest */ public static fromObject(object: { [k: string]: any }): cosmos.autocli.v1.AppOptionsRequest; /** * Creates a plain object from an AppOptionsRequest message. Also converts values to other types if specified. * @param message AppOptionsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.autocli.v1.AppOptionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AppOptionsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an AppOptionsResponse. */ interface IAppOptionsResponse { /** AppOptionsResponse module_options */ module_options?: ({ [k: string]: cosmos.autocli.v1.IModuleOptions }|null); } /** Represents an AppOptionsResponse. */ class AppOptionsResponse implements IAppOptionsResponse { /** * Constructs a new AppOptionsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.autocli.v1.IAppOptionsResponse); /** AppOptionsResponse module_options. */ public module_options: { [k: string]: cosmos.autocli.v1.IModuleOptions }; /** * Encodes the specified AppOptionsResponse message. Does not implicitly {@link cosmos.autocli.v1.AppOptionsResponse.verify|verify} messages. * @param message AppOptionsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.autocli.v1.IAppOptionsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AppOptionsResponse message, length delimited. Does not implicitly {@link cosmos.autocli.v1.AppOptionsResponse.verify|verify} messages. * @param message AppOptionsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.autocli.v1.IAppOptionsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AppOptionsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AppOptionsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.autocli.v1.AppOptionsResponse; /** * Decodes an AppOptionsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AppOptionsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.autocli.v1.AppOptionsResponse; /** * Verifies an AppOptionsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AppOptionsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AppOptionsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.autocli.v1.AppOptionsResponse; /** * Creates a plain object from an AppOptionsResponse message. Also converts values to other types if specified. * @param message AppOptionsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.autocli.v1.AppOptionsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AppOptionsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ModuleOptions. */ interface IModuleOptions { /** ModuleOptions tx */ tx?: (cosmos.autocli.v1.IServiceCommandDescriptor|null); /** ModuleOptions query */ query?: (cosmos.autocli.v1.IServiceCommandDescriptor|null); } /** Represents a ModuleOptions. */ class ModuleOptions implements IModuleOptions { /** * Constructs a new ModuleOptions. * @param [properties] Properties to set */ constructor(properties?: cosmos.autocli.v1.IModuleOptions); /** ModuleOptions tx. */ public tx?: (cosmos.autocli.v1.IServiceCommandDescriptor|null); /** ModuleOptions query. */ public query?: (cosmos.autocli.v1.IServiceCommandDescriptor|null); /** * Encodes the specified ModuleOptions message. Does not implicitly {@link cosmos.autocli.v1.ModuleOptions.verify|verify} messages. * @param message ModuleOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.autocli.v1.IModuleOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ModuleOptions message, length delimited. Does not implicitly {@link cosmos.autocli.v1.ModuleOptions.verify|verify} messages. * @param message ModuleOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.autocli.v1.IModuleOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ModuleOptions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ModuleOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.autocli.v1.ModuleOptions; /** * Decodes a ModuleOptions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ModuleOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.autocli.v1.ModuleOptions; /** * Verifies a ModuleOptions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ModuleOptions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ModuleOptions */ public static fromObject(object: { [k: string]: any }): cosmos.autocli.v1.ModuleOptions; /** * Creates a plain object from a ModuleOptions message. Also converts values to other types if specified. * @param message ModuleOptions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.autocli.v1.ModuleOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ModuleOptions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ServiceCommandDescriptor. */ interface IServiceCommandDescriptor { /** ServiceCommandDescriptor service */ service?: (string|null); /** ServiceCommandDescriptor rpc_command_options */ rpc_command_options?: (cosmos.autocli.v1.IRpcCommandOptions[]|null); /** ServiceCommandDescriptor sub_commands */ sub_commands?: ({ [k: string]: cosmos.autocli.v1.IServiceCommandDescriptor }|null); } /** Represents a ServiceCommandDescriptor. */ class ServiceCommandDescriptor implements IServiceCommandDescriptor { /** * Constructs a new ServiceCommandDescriptor. * @param [properties] Properties to set */ constructor(properties?: cosmos.autocli.v1.IServiceCommandDescriptor); /** ServiceCommandDescriptor service. */ public service: string; /** ServiceCommandDescriptor rpc_command_options. */ public rpc_command_options: cosmos.autocli.v1.IRpcCommandOptions[]; /** ServiceCommandDescriptor sub_commands. */ public sub_commands: { [k: string]: cosmos.autocli.v1.IServiceCommandDescriptor }; /** * Encodes the specified ServiceCommandDescriptor message. Does not implicitly {@link cosmos.autocli.v1.ServiceCommandDescriptor.verify|verify} messages. * @param message ServiceCommandDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.autocli.v1.IServiceCommandDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ServiceCommandDescriptor message, length delimited. Does not implicitly {@link cosmos.autocli.v1.ServiceCommandDescriptor.verify|verify} messages. * @param message ServiceCommandDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.autocli.v1.IServiceCommandDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ServiceCommandDescriptor message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ServiceCommandDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.autocli.v1.ServiceCommandDescriptor; /** * Decodes a ServiceCommandDescriptor message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ServiceCommandDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.autocli.v1.ServiceCommandDescriptor; /** * Verifies a ServiceCommandDescriptor message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ServiceCommandDescriptor message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ServiceCommandDescriptor */ public static fromObject(object: { [k: string]: any }): cosmos.autocli.v1.ServiceCommandDescriptor; /** * Creates a plain object from a ServiceCommandDescriptor message. Also converts values to other types if specified. * @param message ServiceCommandDescriptor * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.autocli.v1.ServiceCommandDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ServiceCommandDescriptor to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a RpcCommandOptions. */ interface IRpcCommandOptions { /** RpcCommandOptions rpc_method */ rpc_method?: (string|null); /** RpcCommandOptions use */ use?: (string|null); /** RpcCommandOptions long */ long?: (string|null); /** RpcCommandOptions short */ short?: (string|null); /** RpcCommandOptions example */ example?: (string|null); /** RpcCommandOptions alias */ alias?: (string[]|null); /** RpcCommandOptions suggest_for */ suggest_for?: (string[]|null); /** RpcCommandOptions deprecated */ deprecated?: (string|null); /** RpcCommandOptions version */ version?: (string|null); /** RpcCommandOptions flag_options */ flag_options?: ({ [k: string]: cosmos.autocli.v1.IFlagOptions }|null); /** RpcCommandOptions positional_args */ positional_args?: (cosmos.autocli.v1.IPositionalArgDescriptor[]|null); /** RpcCommandOptions skip */ skip?: (boolean|null); } /** Represents a RpcCommandOptions. */ class RpcCommandOptions implements IRpcCommandOptions { /** * Constructs a new RpcCommandOptions. * @param [properties] Properties to set */ constructor(properties?: cosmos.autocli.v1.IRpcCommandOptions); /** RpcCommandOptions rpc_method. */ public rpc_method: string; /** RpcCommandOptions use. */ public use: string; /** RpcCommandOptions long. */ public long: string; /** RpcCommandOptions short. */ public short: string; /** RpcCommandOptions example. */ public example: string; /** RpcCommandOptions alias. */ public alias: string[]; /** RpcCommandOptions suggest_for. */ public suggest_for: string[]; /** RpcCommandOptions deprecated. */ public deprecated: string; /** RpcCommandOptions version. */ public version: string; /** RpcCommandOptions flag_options. */ public flag_options: { [k: string]: cosmos.autocli.v1.IFlagOptions }; /** RpcCommandOptions positional_args. */ public positional_args: cosmos.autocli.v1.IPositionalArgDescriptor[]; /** RpcCommandOptions skip. */ public skip: boolean; /** * Encodes the specified RpcCommandOptions message. Does not implicitly {@link cosmos.autocli.v1.RpcCommandOptions.verify|verify} messages. * @param message RpcCommandOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.autocli.v1.IRpcCommandOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RpcCommandOptions message, length delimited. Does not implicitly {@link cosmos.autocli.v1.RpcCommandOptions.verify|verify} messages. * @param message RpcCommandOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.autocli.v1.IRpcCommandOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RpcCommandOptions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RpcCommandOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.autocli.v1.RpcCommandOptions; /** * Decodes a RpcCommandOptions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RpcCommandOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.autocli.v1.RpcCommandOptions; /** * Verifies a RpcCommandOptions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RpcCommandOptions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RpcCommandOptions */ public static fromObject(object: { [k: string]: any }): cosmos.autocli.v1.RpcCommandOptions; /** * Creates a plain object from a RpcCommandOptions message. Also converts values to other types if specified. * @param message RpcCommandOptions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.autocli.v1.RpcCommandOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RpcCommandOptions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a FlagOptions. */ interface IFlagOptions { /** FlagOptions name */ name?: (string|null); /** FlagOptions shorthand */ shorthand?: (string|null); /** FlagOptions usage */ usage?: (string|null); /** FlagOptions default_value */ default_value?: (string|null); /** FlagOptions no_opt_default_value */ no_opt_default_value?: (string|null); /** FlagOptions deprecated */ deprecated?: (string|null); /** FlagOptions shorthand_deprecated */ shorthand_deprecated?: (string|null); /** FlagOptions hidden */ hidden?: (boolean|null); } /** Represents a FlagOptions. */ class FlagOptions implements IFlagOptions { /** * Constructs a new FlagOptions. * @param [properties] Properties to set */ constructor(properties?: cosmos.autocli.v1.IFlagOptions); /** FlagOptions name. */ public name: string; /** FlagOptions shorthand. */ public shorthand: string; /** FlagOptions usage. */ public usage: string; /** FlagOptions default_value. */ public default_value: string; /** FlagOptions no_opt_default_value. */ public no_opt_default_value: string; /** FlagOptions deprecated. */ public deprecated: string; /** FlagOptions shorthand_deprecated. */ public shorthand_deprecated: string; /** FlagOptions hidden. */ public hidden: boolean; /** * Encodes the specified FlagOptions message. Does not implicitly {@link cosmos.autocli.v1.FlagOptions.verify|verify} messages. * @param message FlagOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.autocli.v1.IFlagOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FlagOptions message, length delimited. Does not implicitly {@link cosmos.autocli.v1.FlagOptions.verify|verify} messages. * @param message FlagOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.autocli.v1.IFlagOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FlagOptions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FlagOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.autocli.v1.FlagOptions; /** * Decodes a FlagOptions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FlagOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.autocli.v1.FlagOptions; /** * Verifies a FlagOptions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FlagOptions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FlagOptions */ public static fromObject(object: { [k: string]: any }): cosmos.autocli.v1.FlagOptions; /** * Creates a plain object from a FlagOptions message. Also converts values to other types if specified. * @param message FlagOptions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.autocli.v1.FlagOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FlagOptions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a PositionalArgDescriptor. */ interface IPositionalArgDescriptor { /** PositionalArgDescriptor proto_field */ proto_field?: (string|null); /** PositionalArgDescriptor varargs */ varargs?: (boolean|null); } /** Represents a PositionalArgDescriptor. */ class PositionalArgDescriptor implements IPositionalArgDescriptor { /** * Constructs a new PositionalArgDescriptor. * @param [properties] Properties to set */ constructor(properties?: cosmos.autocli.v1.IPositionalArgDescriptor); /** PositionalArgDescriptor proto_field. */ public proto_field: string; /** PositionalArgDescriptor varargs. */ public varargs: boolean; /** * Encodes the specified PositionalArgDescriptor message. Does not implicitly {@link cosmos.autocli.v1.PositionalArgDescriptor.verify|verify} messages. * @param message PositionalArgDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.autocli.v1.IPositionalArgDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PositionalArgDescriptor message, length delimited. Does not implicitly {@link cosmos.autocli.v1.PositionalArgDescriptor.verify|verify} messages. * @param message PositionalArgDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.autocli.v1.IPositionalArgDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PositionalArgDescriptor message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PositionalArgDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.autocli.v1.PositionalArgDescriptor; /** * Decodes a PositionalArgDescriptor message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PositionalArgDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.autocli.v1.PositionalArgDescriptor; /** * Verifies a PositionalArgDescriptor message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PositionalArgDescriptor message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PositionalArgDescriptor */ public static fromObject(object: { [k: string]: any }): cosmos.autocli.v1.PositionalArgDescriptor; /** * Creates a plain object from a PositionalArgDescriptor message. Also converts values to other types if specified. * @param message PositionalArgDescriptor * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.autocli.v1.PositionalArgDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PositionalArgDescriptor to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace bank. */ namespace bank { /** Namespace module. */ namespace module { /** Namespace v1. */ namespace v1 { /** Properties of a Module. */ interface IModule { /** Module blocked_module_accounts_override */ blocked_module_accounts_override?: (string[]|null); /** Module authority */ authority?: (string|null); } /** Represents a Module. */ class Module implements IModule { /** * Constructs a new Module. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.module.v1.IModule); /** Module blocked_module_accounts_override. */ public blocked_module_accounts_override: string[]; /** Module authority. */ public authority: string; /** * Encodes the specified Module message. Does not implicitly {@link cosmos.bank.module.v1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.module.v1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Module message, length delimited. Does not implicitly {@link cosmos.bank.module.v1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.module.v1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Module message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.module.v1.Module; /** * Decodes a Module message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.module.v1.Module; /** * Verifies a Module message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Module message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Module */ public static fromObject(object: { [k: string]: any }): cosmos.bank.module.v1.Module; /** * Creates a plain object from a Module message. Also converts values to other types if specified. * @param message Module * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.module.v1.Module, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Module to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace v1beta1. */ namespace v1beta1 { /** Properties of a SendAuthorization. */ interface ISendAuthorization { /** SendAuthorization spend_limit */ spend_limit?: (cosmos.base.v1beta1.ICoin[]|null); /** SendAuthorization allow_list */ allow_list?: (string[]|null); } /** Represents a SendAuthorization. */ class SendAuthorization implements ISendAuthorization { /** * Constructs a new SendAuthorization. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.v1beta1.ISendAuthorization); /** SendAuthorization spend_limit. */ public spend_limit: cosmos.base.v1beta1.ICoin[]; /** SendAuthorization allow_list. */ public allow_list: string[]; /** * Encodes the specified SendAuthorization message. Does not implicitly {@link cosmos.bank.v1beta1.SendAuthorization.verify|verify} messages. * @param message SendAuthorization message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.v1beta1.ISendAuthorization, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SendAuthorization message, length delimited. Does not implicitly {@link cosmos.bank.v1beta1.SendAuthorization.verify|verify} messages. * @param message SendAuthorization message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.v1beta1.ISendAuthorization, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SendAuthorization message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SendAuthorization * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.v1beta1.SendAuthorization; /** * Decodes a SendAuthorization message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SendAuthorization * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.v1beta1.SendAuthorization; /** * Verifies a SendAuthorization message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SendAuthorization message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SendAuthorization */ public static fromObject(object: { [k: string]: any }): cosmos.bank.v1beta1.SendAuthorization; /** * Creates a plain object from a SendAuthorization message. Also converts values to other types if specified. * @param message SendAuthorization * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.v1beta1.SendAuthorization, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SendAuthorization to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Represents a Query */ class Query extends $protobuf.rpc.Service { /** * Constructs a new Query service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls Balance. * @param request QueryBalanceRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryBalanceResponse */ public balance(request: cosmos.bank.v1beta1.IQueryBalanceRequest, callback: cosmos.bank.v1beta1.Query.BalanceCallback): void; /** * Calls Balance. * @param request QueryBalanceRequest message or plain object * @returns Promise */ public balance(request: cosmos.bank.v1beta1.IQueryBalanceRequest): Promise; /** * Calls AllBalances. * @param request QueryAllBalancesRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryAllBalancesResponse */ public allBalances(request: cosmos.bank.v1beta1.IQueryAllBalancesRequest, callback: cosmos.bank.v1beta1.Query.AllBalancesCallback): void; /** * Calls AllBalances. * @param request QueryAllBalancesRequest message or plain object * @returns Promise */ public allBalances(request: cosmos.bank.v1beta1.IQueryAllBalancesRequest): Promise; /** * Calls SpendableBalances. * @param request QuerySpendableBalancesRequest message or plain object * @param callback Node-style callback called with the error, if any, and QuerySpendableBalancesResponse */ public spendableBalances(request: cosmos.bank.v1beta1.IQuerySpendableBalancesRequest, callback: cosmos.bank.v1beta1.Query.SpendableBalancesCallback): void; /** * Calls SpendableBalances. * @param request QuerySpendableBalancesRequest message or plain object * @returns Promise */ public spendableBalances(request: cosmos.bank.v1beta1.IQuerySpendableBalancesRequest): Promise; /** * Calls SpendableBalanceByDenom. * @param request QuerySpendableBalanceByDenomRequest message or plain object * @param callback Node-style callback called with the error, if any, and QuerySpendableBalanceByDenomResponse */ public spendableBalanceByDenom(request: cosmos.bank.v1beta1.IQuerySpendableBalanceByDenomRequest, callback: cosmos.bank.v1beta1.Query.SpendableBalanceByDenomCallback): void; /** * Calls SpendableBalanceByDenom. * @param request QuerySpendableBalanceByDenomRequest message or plain object * @returns Promise */ public spendableBalanceByDenom(request: cosmos.bank.v1beta1.IQuerySpendableBalanceByDenomRequest): Promise; /** * Calls TotalSupply. * @param request QueryTotalSupplyRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryTotalSupplyResponse */ public totalSupply(request: cosmos.bank.v1beta1.IQueryTotalSupplyRequest, callback: cosmos.bank.v1beta1.Query.TotalSupplyCallback): void; /** * Calls TotalSupply. * @param request QueryTotalSupplyRequest message or plain object * @returns Promise */ public totalSupply(request: cosmos.bank.v1beta1.IQueryTotalSupplyRequest): Promise; /** * Calls SupplyOf. * @param request QuerySupplyOfRequest message or plain object * @param callback Node-style callback called with the error, if any, and QuerySupplyOfResponse */ public supplyOf(request: cosmos.bank.v1beta1.IQuerySupplyOfRequest, callback: cosmos.bank.v1beta1.Query.SupplyOfCallback): void; /** * Calls SupplyOf. * @param request QuerySupplyOfRequest message or plain object * @returns Promise */ public supplyOf(request: cosmos.bank.v1beta1.IQuerySupplyOfRequest): Promise; /** * Calls Params. * @param request QueryParamsRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryParamsResponse */ public params(request: cosmos.bank.v1beta1.IQueryParamsRequest, callback: cosmos.bank.v1beta1.Query.ParamsCallback): void; /** * Calls Params. * @param request QueryParamsRequest message or plain object * @returns Promise */ public params(request: cosmos.bank.v1beta1.IQueryParamsRequest): Promise; /** * Calls DenomMetadata. * @param request QueryDenomMetadataRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryDenomMetadataResponse */ public denomMetadata(request: cosmos.bank.v1beta1.IQueryDenomMetadataRequest, callback: cosmos.bank.v1beta1.Query.DenomMetadataCallback): void; /** * Calls DenomMetadata. * @param request QueryDenomMetadataRequest message or plain object * @returns Promise */ public denomMetadata(request: cosmos.bank.v1beta1.IQueryDenomMetadataRequest): Promise; /** * Calls DenomsMetadata. * @param request QueryDenomsMetadataRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryDenomsMetadataResponse */ public denomsMetadata(request: cosmos.bank.v1beta1.IQueryDenomsMetadataRequest, callback: cosmos.bank.v1beta1.Query.DenomsMetadataCallback): void; /** * Calls DenomsMetadata. * @param request QueryDenomsMetadataRequest message or plain object * @returns Promise */ public denomsMetadata(request: cosmos.bank.v1beta1.IQueryDenomsMetadataRequest): Promise; /** * Calls DenomOwners. * @param request QueryDenomOwnersRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryDenomOwnersResponse */ public denomOwners(request: cosmos.bank.v1beta1.IQueryDenomOwnersRequest, callback: cosmos.bank.v1beta1.Query.DenomOwnersCallback): void; /** * Calls DenomOwners. * @param request QueryDenomOwnersRequest message or plain object * @returns Promise */ public denomOwners(request: cosmos.bank.v1beta1.IQueryDenomOwnersRequest): Promise; /** * Calls SendEnabled. * @param request QuerySendEnabledRequest message or plain object * @param callback Node-style callback called with the error, if any, and QuerySendEnabledResponse */ public sendEnabled(request: cosmos.bank.v1beta1.IQuerySendEnabledRequest, callback: cosmos.bank.v1beta1.Query.SendEnabledCallback): void; /** * Calls SendEnabled. * @param request QuerySendEnabledRequest message or plain object * @returns Promise */ public sendEnabled(request: cosmos.bank.v1beta1.IQuerySendEnabledRequest): Promise; } namespace Query { /** * Callback as used by {@link cosmos.bank.v1beta1.Query#balance}. * @param error Error, if any * @param [response] QueryBalanceResponse */ type BalanceCallback = (error: (Error|null), response?: cosmos.bank.v1beta1.QueryBalanceResponse) => void; /** * Callback as used by {@link cosmos.bank.v1beta1.Query#allBalances}. * @param error Error, if any * @param [response] QueryAllBalancesResponse */ type AllBalancesCallback = (error: (Error|null), response?: cosmos.bank.v1beta1.QueryAllBalancesResponse) => void; /** * Callback as used by {@link cosmos.bank.v1beta1.Query#spendableBalances}. * @param error Error, if any * @param [response] QuerySpendableBalancesResponse */ type SpendableBalancesCallback = (error: (Error|null), response?: cosmos.bank.v1beta1.QuerySpendableBalancesResponse) => void; /** * Callback as used by {@link cosmos.bank.v1beta1.Query#spendableBalanceByDenom}. * @param error Error, if any * @param [response] QuerySpendableBalanceByDenomResponse */ type SpendableBalanceByDenomCallback = (error: (Error|null), response?: cosmos.bank.v1beta1.QuerySpendableBalanceByDenomResponse) => void; /** * Callback as used by {@link cosmos.bank.v1beta1.Query#totalSupply}. * @param error Error, if any * @param [response] QueryTotalSupplyResponse */ type TotalSupplyCallback = (error: (Error|null), response?: cosmos.bank.v1beta1.QueryTotalSupplyResponse) => void; /** * Callback as used by {@link cosmos.bank.v1beta1.Query#supplyOf}. * @param error Error, if any * @param [response] QuerySupplyOfResponse */ type SupplyOfCallback = (error: (Error|null), response?: cosmos.bank.v1beta1.QuerySupplyOfResponse) => void; /** * Callback as used by {@link cosmos.bank.v1beta1.Query#params}. * @param error Error, if any * @param [response] QueryParamsResponse */ type ParamsCallback = (error: (Error|null), response?: cosmos.bank.v1beta1.QueryParamsResponse) => void; /** * Callback as used by {@link cosmos.bank.v1beta1.Query#denomMetadata}. * @param error Error, if any * @param [response] QueryDenomMetadataResponse */ type DenomMetadataCallback = (error: (Error|null), response?: cosmos.bank.v1beta1.QueryDenomMetadataResponse) => void; /** * Callback as used by {@link cosmos.bank.v1beta1.Query#denomsMetadata}. * @param error Error, if any * @param [response] QueryDenomsMetadataResponse */ type DenomsMetadataCallback = (error: (Error|null), response?: cosmos.bank.v1beta1.QueryDenomsMetadataResponse) => void; /** * Callback as used by {@link cosmos.bank.v1beta1.Query#denomOwners}. * @param error Error, if any * @param [response] QueryDenomOwnersResponse */ type DenomOwnersCallback = (error: (Error|null), response?: cosmos.bank.v1beta1.QueryDenomOwnersResponse) => void; /** * Callback as used by {@link cosmos.bank.v1beta1.Query#sendEnabled}. * @param error Error, if any * @param [response] QuerySendEnabledResponse */ type SendEnabledCallback = (error: (Error|null), response?: cosmos.bank.v1beta1.QuerySendEnabledResponse) => void; } /** Properties of a QueryBalanceRequest. */ interface IQueryBalanceRequest { /** QueryBalanceRequest address */ address?: (string|null); /** QueryBalanceRequest denom */ denom?: (string|null); } /** Represents a QueryBalanceRequest. */ class QueryBalanceRequest implements IQueryBalanceRequest { /** * Constructs a new QueryBalanceRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.v1beta1.IQueryBalanceRequest); /** QueryBalanceRequest address. */ public address: string; /** QueryBalanceRequest denom. */ public denom: string; /** * Encodes the specified QueryBalanceRequest message. Does not implicitly {@link cosmos.bank.v1beta1.QueryBalanceRequest.verify|verify} messages. * @param message QueryBalanceRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.v1beta1.IQueryBalanceRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryBalanceRequest message, length delimited. Does not implicitly {@link cosmos.bank.v1beta1.QueryBalanceRequest.verify|verify} messages. * @param message QueryBalanceRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.v1beta1.IQueryBalanceRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryBalanceRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryBalanceRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.v1beta1.QueryBalanceRequest; /** * Decodes a QueryBalanceRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryBalanceRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.v1beta1.QueryBalanceRequest; /** * Verifies a QueryBalanceRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryBalanceRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryBalanceRequest */ public static fromObject(object: { [k: string]: any }): cosmos.bank.v1beta1.QueryBalanceRequest; /** * Creates a plain object from a QueryBalanceRequest message. Also converts values to other types if specified. * @param message QueryBalanceRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.v1beta1.QueryBalanceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryBalanceRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryBalanceResponse. */ interface IQueryBalanceResponse { /** QueryBalanceResponse balance */ balance?: (cosmos.base.v1beta1.ICoin|null); } /** Represents a QueryBalanceResponse. */ class QueryBalanceResponse implements IQueryBalanceResponse { /** * Constructs a new QueryBalanceResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.v1beta1.IQueryBalanceResponse); /** QueryBalanceResponse balance. */ public balance?: (cosmos.base.v1beta1.ICoin|null); /** * Encodes the specified QueryBalanceResponse message. Does not implicitly {@link cosmos.bank.v1beta1.QueryBalanceResponse.verify|verify} messages. * @param message QueryBalanceResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.v1beta1.IQueryBalanceResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryBalanceResponse message, length delimited. Does not implicitly {@link cosmos.bank.v1beta1.QueryBalanceResponse.verify|verify} messages. * @param message QueryBalanceResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.v1beta1.IQueryBalanceResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryBalanceResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryBalanceResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.v1beta1.QueryBalanceResponse; /** * Decodes a QueryBalanceResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryBalanceResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.v1beta1.QueryBalanceResponse; /** * Verifies a QueryBalanceResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryBalanceResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryBalanceResponse */ public static fromObject(object: { [k: string]: any }): cosmos.bank.v1beta1.QueryBalanceResponse; /** * Creates a plain object from a QueryBalanceResponse message. Also converts values to other types if specified. * @param message QueryBalanceResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.v1beta1.QueryBalanceResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryBalanceResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryAllBalancesRequest. */ interface IQueryAllBalancesRequest { /** QueryAllBalancesRequest address */ address?: (string|null); /** QueryAllBalancesRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a QueryAllBalancesRequest. */ class QueryAllBalancesRequest implements IQueryAllBalancesRequest { /** * Constructs a new QueryAllBalancesRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.v1beta1.IQueryAllBalancesRequest); /** QueryAllBalancesRequest address. */ public address: string; /** QueryAllBalancesRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** * Encodes the specified QueryAllBalancesRequest message. Does not implicitly {@link cosmos.bank.v1beta1.QueryAllBalancesRequest.verify|verify} messages. * @param message QueryAllBalancesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.v1beta1.IQueryAllBalancesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryAllBalancesRequest message, length delimited. Does not implicitly {@link cosmos.bank.v1beta1.QueryAllBalancesRequest.verify|verify} messages. * @param message QueryAllBalancesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.v1beta1.IQueryAllBalancesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryAllBalancesRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryAllBalancesRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.v1beta1.QueryAllBalancesRequest; /** * Decodes a QueryAllBalancesRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryAllBalancesRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.v1beta1.QueryAllBalancesRequest; /** * Verifies a QueryAllBalancesRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryAllBalancesRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryAllBalancesRequest */ public static fromObject(object: { [k: string]: any }): cosmos.bank.v1beta1.QueryAllBalancesRequest; /** * Creates a plain object from a QueryAllBalancesRequest message. Also converts values to other types if specified. * @param message QueryAllBalancesRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.v1beta1.QueryAllBalancesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryAllBalancesRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryAllBalancesResponse. */ interface IQueryAllBalancesResponse { /** QueryAllBalancesResponse balances */ balances?: (cosmos.base.v1beta1.ICoin[]|null); /** QueryAllBalancesResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a QueryAllBalancesResponse. */ class QueryAllBalancesResponse implements IQueryAllBalancesResponse { /** * Constructs a new QueryAllBalancesResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.v1beta1.IQueryAllBalancesResponse); /** QueryAllBalancesResponse balances. */ public balances: cosmos.base.v1beta1.ICoin[]; /** QueryAllBalancesResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified QueryAllBalancesResponse message. Does not implicitly {@link cosmos.bank.v1beta1.QueryAllBalancesResponse.verify|verify} messages. * @param message QueryAllBalancesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.v1beta1.IQueryAllBalancesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryAllBalancesResponse message, length delimited. Does not implicitly {@link cosmos.bank.v1beta1.QueryAllBalancesResponse.verify|verify} messages. * @param message QueryAllBalancesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.v1beta1.IQueryAllBalancesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryAllBalancesResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryAllBalancesResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.v1beta1.QueryAllBalancesResponse; /** * Decodes a QueryAllBalancesResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryAllBalancesResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.v1beta1.QueryAllBalancesResponse; /** * Verifies a QueryAllBalancesResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryAllBalancesResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryAllBalancesResponse */ public static fromObject(object: { [k: string]: any }): cosmos.bank.v1beta1.QueryAllBalancesResponse; /** * Creates a plain object from a QueryAllBalancesResponse message. Also converts values to other types if specified. * @param message QueryAllBalancesResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.v1beta1.QueryAllBalancesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryAllBalancesResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QuerySpendableBalancesRequest. */ interface IQuerySpendableBalancesRequest { /** QuerySpendableBalancesRequest address */ address?: (string|null); /** QuerySpendableBalancesRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a QuerySpendableBalancesRequest. */ class QuerySpendableBalancesRequest implements IQuerySpendableBalancesRequest { /** * Constructs a new QuerySpendableBalancesRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.v1beta1.IQuerySpendableBalancesRequest); /** QuerySpendableBalancesRequest address. */ public address: string; /** QuerySpendableBalancesRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** * Encodes the specified QuerySpendableBalancesRequest message. Does not implicitly {@link cosmos.bank.v1beta1.QuerySpendableBalancesRequest.verify|verify} messages. * @param message QuerySpendableBalancesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.v1beta1.IQuerySpendableBalancesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QuerySpendableBalancesRequest message, length delimited. Does not implicitly {@link cosmos.bank.v1beta1.QuerySpendableBalancesRequest.verify|verify} messages. * @param message QuerySpendableBalancesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.v1beta1.IQuerySpendableBalancesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QuerySpendableBalancesRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QuerySpendableBalancesRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.v1beta1.QuerySpendableBalancesRequest; /** * Decodes a QuerySpendableBalancesRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QuerySpendableBalancesRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.v1beta1.QuerySpendableBalancesRequest; /** * Verifies a QuerySpendableBalancesRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QuerySpendableBalancesRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QuerySpendableBalancesRequest */ public static fromObject(object: { [k: string]: any }): cosmos.bank.v1beta1.QuerySpendableBalancesRequest; /** * Creates a plain object from a QuerySpendableBalancesRequest message. Also converts values to other types if specified. * @param message QuerySpendableBalancesRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.v1beta1.QuerySpendableBalancesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QuerySpendableBalancesRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QuerySpendableBalancesResponse. */ interface IQuerySpendableBalancesResponse { /** QuerySpendableBalancesResponse balances */ balances?: (cosmos.base.v1beta1.ICoin[]|null); /** QuerySpendableBalancesResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a QuerySpendableBalancesResponse. */ class QuerySpendableBalancesResponse implements IQuerySpendableBalancesResponse { /** * Constructs a new QuerySpendableBalancesResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.v1beta1.IQuerySpendableBalancesResponse); /** QuerySpendableBalancesResponse balances. */ public balances: cosmos.base.v1beta1.ICoin[]; /** QuerySpendableBalancesResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified QuerySpendableBalancesResponse message. Does not implicitly {@link cosmos.bank.v1beta1.QuerySpendableBalancesResponse.verify|verify} messages. * @param message QuerySpendableBalancesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.v1beta1.IQuerySpendableBalancesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QuerySpendableBalancesResponse message, length delimited. Does not implicitly {@link cosmos.bank.v1beta1.QuerySpendableBalancesResponse.verify|verify} messages. * @param message QuerySpendableBalancesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.v1beta1.IQuerySpendableBalancesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QuerySpendableBalancesResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QuerySpendableBalancesResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.v1beta1.QuerySpendableBalancesResponse; /** * Decodes a QuerySpendableBalancesResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QuerySpendableBalancesResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.v1beta1.QuerySpendableBalancesResponse; /** * Verifies a QuerySpendableBalancesResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QuerySpendableBalancesResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QuerySpendableBalancesResponse */ public static fromObject(object: { [k: string]: any }): cosmos.bank.v1beta1.QuerySpendableBalancesResponse; /** * Creates a plain object from a QuerySpendableBalancesResponse message. Also converts values to other types if specified. * @param message QuerySpendableBalancesResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.v1beta1.QuerySpendableBalancesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QuerySpendableBalancesResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QuerySpendableBalanceByDenomRequest. */ interface IQuerySpendableBalanceByDenomRequest { /** QuerySpendableBalanceByDenomRequest address */ address?: (string|null); /** QuerySpendableBalanceByDenomRequest denom */ denom?: (string|null); } /** Represents a QuerySpendableBalanceByDenomRequest. */ class QuerySpendableBalanceByDenomRequest implements IQuerySpendableBalanceByDenomRequest { /** * Constructs a new QuerySpendableBalanceByDenomRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.v1beta1.IQuerySpendableBalanceByDenomRequest); /** QuerySpendableBalanceByDenomRequest address. */ public address: string; /** QuerySpendableBalanceByDenomRequest denom. */ public denom: string; /** * Encodes the specified QuerySpendableBalanceByDenomRequest message. Does not implicitly {@link cosmos.bank.v1beta1.QuerySpendableBalanceByDenomRequest.verify|verify} messages. * @param message QuerySpendableBalanceByDenomRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.v1beta1.IQuerySpendableBalanceByDenomRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QuerySpendableBalanceByDenomRequest message, length delimited. Does not implicitly {@link cosmos.bank.v1beta1.QuerySpendableBalanceByDenomRequest.verify|verify} messages. * @param message QuerySpendableBalanceByDenomRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.v1beta1.IQuerySpendableBalanceByDenomRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QuerySpendableBalanceByDenomRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QuerySpendableBalanceByDenomRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.v1beta1.QuerySpendableBalanceByDenomRequest; /** * Decodes a QuerySpendableBalanceByDenomRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QuerySpendableBalanceByDenomRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.v1beta1.QuerySpendableBalanceByDenomRequest; /** * Verifies a QuerySpendableBalanceByDenomRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QuerySpendableBalanceByDenomRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QuerySpendableBalanceByDenomRequest */ public static fromObject(object: { [k: string]: any }): cosmos.bank.v1beta1.QuerySpendableBalanceByDenomRequest; /** * Creates a plain object from a QuerySpendableBalanceByDenomRequest message. Also converts values to other types if specified. * @param message QuerySpendableBalanceByDenomRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.v1beta1.QuerySpendableBalanceByDenomRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QuerySpendableBalanceByDenomRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QuerySpendableBalanceByDenomResponse. */ interface IQuerySpendableBalanceByDenomResponse { /** QuerySpendableBalanceByDenomResponse balance */ balance?: (cosmos.base.v1beta1.ICoin|null); } /** Represents a QuerySpendableBalanceByDenomResponse. */ class QuerySpendableBalanceByDenomResponse implements IQuerySpendableBalanceByDenomResponse { /** * Constructs a new QuerySpendableBalanceByDenomResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.v1beta1.IQuerySpendableBalanceByDenomResponse); /** QuerySpendableBalanceByDenomResponse balance. */ public balance?: (cosmos.base.v1beta1.ICoin|null); /** * Encodes the specified QuerySpendableBalanceByDenomResponse message. Does not implicitly {@link cosmos.bank.v1beta1.QuerySpendableBalanceByDenomResponse.verify|verify} messages. * @param message QuerySpendableBalanceByDenomResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.v1beta1.IQuerySpendableBalanceByDenomResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QuerySpendableBalanceByDenomResponse message, length delimited. Does not implicitly {@link cosmos.bank.v1beta1.QuerySpendableBalanceByDenomResponse.verify|verify} messages. * @param message QuerySpendableBalanceByDenomResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.v1beta1.IQuerySpendableBalanceByDenomResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QuerySpendableBalanceByDenomResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QuerySpendableBalanceByDenomResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.v1beta1.QuerySpendableBalanceByDenomResponse; /** * Decodes a QuerySpendableBalanceByDenomResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QuerySpendableBalanceByDenomResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.v1beta1.QuerySpendableBalanceByDenomResponse; /** * Verifies a QuerySpendableBalanceByDenomResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QuerySpendableBalanceByDenomResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QuerySpendableBalanceByDenomResponse */ public static fromObject(object: { [k: string]: any }): cosmos.bank.v1beta1.QuerySpendableBalanceByDenomResponse; /** * Creates a plain object from a QuerySpendableBalanceByDenomResponse message. Also converts values to other types if specified. * @param message QuerySpendableBalanceByDenomResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.v1beta1.QuerySpendableBalanceByDenomResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QuerySpendableBalanceByDenomResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryTotalSupplyRequest. */ interface IQueryTotalSupplyRequest { /** QueryTotalSupplyRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a QueryTotalSupplyRequest. */ class QueryTotalSupplyRequest implements IQueryTotalSupplyRequest { /** * Constructs a new QueryTotalSupplyRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.v1beta1.IQueryTotalSupplyRequest); /** QueryTotalSupplyRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** * Encodes the specified QueryTotalSupplyRequest message. Does not implicitly {@link cosmos.bank.v1beta1.QueryTotalSupplyRequest.verify|verify} messages. * @param message QueryTotalSupplyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.v1beta1.IQueryTotalSupplyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryTotalSupplyRequest message, length delimited. Does not implicitly {@link cosmos.bank.v1beta1.QueryTotalSupplyRequest.verify|verify} messages. * @param message QueryTotalSupplyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.v1beta1.IQueryTotalSupplyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryTotalSupplyRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryTotalSupplyRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.v1beta1.QueryTotalSupplyRequest; /** * Decodes a QueryTotalSupplyRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryTotalSupplyRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.v1beta1.QueryTotalSupplyRequest; /** * Verifies a QueryTotalSupplyRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryTotalSupplyRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryTotalSupplyRequest */ public static fromObject(object: { [k: string]: any }): cosmos.bank.v1beta1.QueryTotalSupplyRequest; /** * Creates a plain object from a QueryTotalSupplyRequest message. Also converts values to other types if specified. * @param message QueryTotalSupplyRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.v1beta1.QueryTotalSupplyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryTotalSupplyRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryTotalSupplyResponse. */ interface IQueryTotalSupplyResponse { /** QueryTotalSupplyResponse supply */ supply?: (cosmos.base.v1beta1.ICoin[]|null); /** QueryTotalSupplyResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a QueryTotalSupplyResponse. */ class QueryTotalSupplyResponse implements IQueryTotalSupplyResponse { /** * Constructs a new QueryTotalSupplyResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.v1beta1.IQueryTotalSupplyResponse); /** QueryTotalSupplyResponse supply. */ public supply: cosmos.base.v1beta1.ICoin[]; /** QueryTotalSupplyResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified QueryTotalSupplyResponse message. Does not implicitly {@link cosmos.bank.v1beta1.QueryTotalSupplyResponse.verify|verify} messages. * @param message QueryTotalSupplyResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.v1beta1.IQueryTotalSupplyResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryTotalSupplyResponse message, length delimited. Does not implicitly {@link cosmos.bank.v1beta1.QueryTotalSupplyResponse.verify|verify} messages. * @param message QueryTotalSupplyResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.v1beta1.IQueryTotalSupplyResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryTotalSupplyResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryTotalSupplyResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.v1beta1.QueryTotalSupplyResponse; /** * Decodes a QueryTotalSupplyResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryTotalSupplyResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.v1beta1.QueryTotalSupplyResponse; /** * Verifies a QueryTotalSupplyResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryTotalSupplyResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryTotalSupplyResponse */ public static fromObject(object: { [k: string]: any }): cosmos.bank.v1beta1.QueryTotalSupplyResponse; /** * Creates a plain object from a QueryTotalSupplyResponse message. Also converts values to other types if specified. * @param message QueryTotalSupplyResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.v1beta1.QueryTotalSupplyResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryTotalSupplyResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QuerySupplyOfRequest. */ interface IQuerySupplyOfRequest { /** QuerySupplyOfRequest denom */ denom?: (string|null); } /** Represents a QuerySupplyOfRequest. */ class QuerySupplyOfRequest implements IQuerySupplyOfRequest { /** * Constructs a new QuerySupplyOfRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.v1beta1.IQuerySupplyOfRequest); /** QuerySupplyOfRequest denom. */ public denom: string; /** * Encodes the specified QuerySupplyOfRequest message. Does not implicitly {@link cosmos.bank.v1beta1.QuerySupplyOfRequest.verify|verify} messages. * @param message QuerySupplyOfRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.v1beta1.IQuerySupplyOfRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QuerySupplyOfRequest message, length delimited. Does not implicitly {@link cosmos.bank.v1beta1.QuerySupplyOfRequest.verify|verify} messages. * @param message QuerySupplyOfRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.v1beta1.IQuerySupplyOfRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QuerySupplyOfRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QuerySupplyOfRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.v1beta1.QuerySupplyOfRequest; /** * Decodes a QuerySupplyOfRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QuerySupplyOfRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.v1beta1.QuerySupplyOfRequest; /** * Verifies a QuerySupplyOfRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QuerySupplyOfRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QuerySupplyOfRequest */ public static fromObject(object: { [k: string]: any }): cosmos.bank.v1beta1.QuerySupplyOfRequest; /** * Creates a plain object from a QuerySupplyOfRequest message. Also converts values to other types if specified. * @param message QuerySupplyOfRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.v1beta1.QuerySupplyOfRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QuerySupplyOfRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QuerySupplyOfResponse. */ interface IQuerySupplyOfResponse { /** QuerySupplyOfResponse amount */ amount?: (cosmos.base.v1beta1.ICoin|null); } /** Represents a QuerySupplyOfResponse. */ class QuerySupplyOfResponse implements IQuerySupplyOfResponse { /** * Constructs a new QuerySupplyOfResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.v1beta1.IQuerySupplyOfResponse); /** QuerySupplyOfResponse amount. */ public amount?: (cosmos.base.v1beta1.ICoin|null); /** * Encodes the specified QuerySupplyOfResponse message. Does not implicitly {@link cosmos.bank.v1beta1.QuerySupplyOfResponse.verify|verify} messages. * @param message QuerySupplyOfResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.v1beta1.IQuerySupplyOfResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QuerySupplyOfResponse message, length delimited. Does not implicitly {@link cosmos.bank.v1beta1.QuerySupplyOfResponse.verify|verify} messages. * @param message QuerySupplyOfResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.v1beta1.IQuerySupplyOfResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QuerySupplyOfResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QuerySupplyOfResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.v1beta1.QuerySupplyOfResponse; /** * Decodes a QuerySupplyOfResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QuerySupplyOfResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.v1beta1.QuerySupplyOfResponse; /** * Verifies a QuerySupplyOfResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QuerySupplyOfResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QuerySupplyOfResponse */ public static fromObject(object: { [k: string]: any }): cosmos.bank.v1beta1.QuerySupplyOfResponse; /** * Creates a plain object from a QuerySupplyOfResponse message. Also converts values to other types if specified. * @param message QuerySupplyOfResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.v1beta1.QuerySupplyOfResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QuerySupplyOfResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryParamsRequest. */ interface IQueryParamsRequest { } /** Represents a QueryParamsRequest. */ class QueryParamsRequest implements IQueryParamsRequest { /** * Constructs a new QueryParamsRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.v1beta1.IQueryParamsRequest); /** * Encodes the specified QueryParamsRequest message. Does not implicitly {@link cosmos.bank.v1beta1.QueryParamsRequest.verify|verify} messages. * @param message QueryParamsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.v1beta1.IQueryParamsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryParamsRequest message, length delimited. Does not implicitly {@link cosmos.bank.v1beta1.QueryParamsRequest.verify|verify} messages. * @param message QueryParamsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.v1beta1.IQueryParamsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryParamsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryParamsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.v1beta1.QueryParamsRequest; /** * Decodes a QueryParamsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryParamsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.v1beta1.QueryParamsRequest; /** * Verifies a QueryParamsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryParamsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryParamsRequest */ public static fromObject(object: { [k: string]: any }): cosmos.bank.v1beta1.QueryParamsRequest; /** * Creates a plain object from a QueryParamsRequest message. Also converts values to other types if specified. * @param message QueryParamsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.v1beta1.QueryParamsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryParamsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryParamsResponse. */ interface IQueryParamsResponse { /** QueryParamsResponse params */ params?: (cosmos.bank.v1beta1.IParams|null); } /** Represents a QueryParamsResponse. */ class QueryParamsResponse implements IQueryParamsResponse { /** * Constructs a new QueryParamsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.v1beta1.IQueryParamsResponse); /** QueryParamsResponse params. */ public params?: (cosmos.bank.v1beta1.IParams|null); /** * Encodes the specified QueryParamsResponse message. Does not implicitly {@link cosmos.bank.v1beta1.QueryParamsResponse.verify|verify} messages. * @param message QueryParamsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.v1beta1.IQueryParamsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryParamsResponse message, length delimited. Does not implicitly {@link cosmos.bank.v1beta1.QueryParamsResponse.verify|verify} messages. * @param message QueryParamsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.v1beta1.IQueryParamsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryParamsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryParamsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.v1beta1.QueryParamsResponse; /** * Decodes a QueryParamsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryParamsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.v1beta1.QueryParamsResponse; /** * Verifies a QueryParamsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryParamsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryParamsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.bank.v1beta1.QueryParamsResponse; /** * Creates a plain object from a QueryParamsResponse message. Also converts values to other types if specified. * @param message QueryParamsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.v1beta1.QueryParamsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryParamsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryDenomsMetadataRequest. */ interface IQueryDenomsMetadataRequest { /** QueryDenomsMetadataRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a QueryDenomsMetadataRequest. */ class QueryDenomsMetadataRequest implements IQueryDenomsMetadataRequest { /** * Constructs a new QueryDenomsMetadataRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.v1beta1.IQueryDenomsMetadataRequest); /** QueryDenomsMetadataRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** * Encodes the specified QueryDenomsMetadataRequest message. Does not implicitly {@link cosmos.bank.v1beta1.QueryDenomsMetadataRequest.verify|verify} messages. * @param message QueryDenomsMetadataRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.v1beta1.IQueryDenomsMetadataRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryDenomsMetadataRequest message, length delimited. Does not implicitly {@link cosmos.bank.v1beta1.QueryDenomsMetadataRequest.verify|verify} messages. * @param message QueryDenomsMetadataRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.v1beta1.IQueryDenomsMetadataRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryDenomsMetadataRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryDenomsMetadataRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.v1beta1.QueryDenomsMetadataRequest; /** * Decodes a QueryDenomsMetadataRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryDenomsMetadataRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.v1beta1.QueryDenomsMetadataRequest; /** * Verifies a QueryDenomsMetadataRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryDenomsMetadataRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryDenomsMetadataRequest */ public static fromObject(object: { [k: string]: any }): cosmos.bank.v1beta1.QueryDenomsMetadataRequest; /** * Creates a plain object from a QueryDenomsMetadataRequest message. Also converts values to other types if specified. * @param message QueryDenomsMetadataRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.v1beta1.QueryDenomsMetadataRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryDenomsMetadataRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryDenomsMetadataResponse. */ interface IQueryDenomsMetadataResponse { /** QueryDenomsMetadataResponse metadatas */ metadatas?: (cosmos.bank.v1beta1.IMetadata[]|null); /** QueryDenomsMetadataResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a QueryDenomsMetadataResponse. */ class QueryDenomsMetadataResponse implements IQueryDenomsMetadataResponse { /** * Constructs a new QueryDenomsMetadataResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.v1beta1.IQueryDenomsMetadataResponse); /** QueryDenomsMetadataResponse metadatas. */ public metadatas: cosmos.bank.v1beta1.IMetadata[]; /** QueryDenomsMetadataResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified QueryDenomsMetadataResponse message. Does not implicitly {@link cosmos.bank.v1beta1.QueryDenomsMetadataResponse.verify|verify} messages. * @param message QueryDenomsMetadataResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.v1beta1.IQueryDenomsMetadataResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryDenomsMetadataResponse message, length delimited. Does not implicitly {@link cosmos.bank.v1beta1.QueryDenomsMetadataResponse.verify|verify} messages. * @param message QueryDenomsMetadataResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.v1beta1.IQueryDenomsMetadataResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryDenomsMetadataResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryDenomsMetadataResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.v1beta1.QueryDenomsMetadataResponse; /** * Decodes a QueryDenomsMetadataResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryDenomsMetadataResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.v1beta1.QueryDenomsMetadataResponse; /** * Verifies a QueryDenomsMetadataResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryDenomsMetadataResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryDenomsMetadataResponse */ public static fromObject(object: { [k: string]: any }): cosmos.bank.v1beta1.QueryDenomsMetadataResponse; /** * Creates a plain object from a QueryDenomsMetadataResponse message. Also converts values to other types if specified. * @param message QueryDenomsMetadataResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.v1beta1.QueryDenomsMetadataResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryDenomsMetadataResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryDenomMetadataRequest. */ interface IQueryDenomMetadataRequest { /** QueryDenomMetadataRequest denom */ denom?: (string|null); } /** Represents a QueryDenomMetadataRequest. */ class QueryDenomMetadataRequest implements IQueryDenomMetadataRequest { /** * Constructs a new QueryDenomMetadataRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.v1beta1.IQueryDenomMetadataRequest); /** QueryDenomMetadataRequest denom. */ public denom: string; /** * Encodes the specified QueryDenomMetadataRequest message. Does not implicitly {@link cosmos.bank.v1beta1.QueryDenomMetadataRequest.verify|verify} messages. * @param message QueryDenomMetadataRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.v1beta1.IQueryDenomMetadataRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryDenomMetadataRequest message, length delimited. Does not implicitly {@link cosmos.bank.v1beta1.QueryDenomMetadataRequest.verify|verify} messages. * @param message QueryDenomMetadataRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.v1beta1.IQueryDenomMetadataRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryDenomMetadataRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryDenomMetadataRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.v1beta1.QueryDenomMetadataRequest; /** * Decodes a QueryDenomMetadataRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryDenomMetadataRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.v1beta1.QueryDenomMetadataRequest; /** * Verifies a QueryDenomMetadataRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryDenomMetadataRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryDenomMetadataRequest */ public static fromObject(object: { [k: string]: any }): cosmos.bank.v1beta1.QueryDenomMetadataRequest; /** * Creates a plain object from a QueryDenomMetadataRequest message. Also converts values to other types if specified. * @param message QueryDenomMetadataRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.v1beta1.QueryDenomMetadataRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryDenomMetadataRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryDenomMetadataResponse. */ interface IQueryDenomMetadataResponse { /** QueryDenomMetadataResponse metadata */ metadata?: (cosmos.bank.v1beta1.IMetadata|null); } /** Represents a QueryDenomMetadataResponse. */ class QueryDenomMetadataResponse implements IQueryDenomMetadataResponse { /** * Constructs a new QueryDenomMetadataResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.v1beta1.IQueryDenomMetadataResponse); /** QueryDenomMetadataResponse metadata. */ public metadata?: (cosmos.bank.v1beta1.IMetadata|null); /** * Encodes the specified QueryDenomMetadataResponse message. Does not implicitly {@link cosmos.bank.v1beta1.QueryDenomMetadataResponse.verify|verify} messages. * @param message QueryDenomMetadataResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.v1beta1.IQueryDenomMetadataResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryDenomMetadataResponse message, length delimited. Does not implicitly {@link cosmos.bank.v1beta1.QueryDenomMetadataResponse.verify|verify} messages. * @param message QueryDenomMetadataResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.v1beta1.IQueryDenomMetadataResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryDenomMetadataResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryDenomMetadataResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.v1beta1.QueryDenomMetadataResponse; /** * Decodes a QueryDenomMetadataResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryDenomMetadataResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.v1beta1.QueryDenomMetadataResponse; /** * Verifies a QueryDenomMetadataResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryDenomMetadataResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryDenomMetadataResponse */ public static fromObject(object: { [k: string]: any }): cosmos.bank.v1beta1.QueryDenomMetadataResponse; /** * Creates a plain object from a QueryDenomMetadataResponse message. Also converts values to other types if specified. * @param message QueryDenomMetadataResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.v1beta1.QueryDenomMetadataResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryDenomMetadataResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryDenomOwnersRequest. */ interface IQueryDenomOwnersRequest { /** QueryDenomOwnersRequest denom */ denom?: (string|null); /** QueryDenomOwnersRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a QueryDenomOwnersRequest. */ class QueryDenomOwnersRequest implements IQueryDenomOwnersRequest { /** * Constructs a new QueryDenomOwnersRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.v1beta1.IQueryDenomOwnersRequest); /** QueryDenomOwnersRequest denom. */ public denom: string; /** QueryDenomOwnersRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** * Encodes the specified QueryDenomOwnersRequest message. Does not implicitly {@link cosmos.bank.v1beta1.QueryDenomOwnersRequest.verify|verify} messages. * @param message QueryDenomOwnersRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.v1beta1.IQueryDenomOwnersRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryDenomOwnersRequest message, length delimited. Does not implicitly {@link cosmos.bank.v1beta1.QueryDenomOwnersRequest.verify|verify} messages. * @param message QueryDenomOwnersRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.v1beta1.IQueryDenomOwnersRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryDenomOwnersRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryDenomOwnersRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.v1beta1.QueryDenomOwnersRequest; /** * Decodes a QueryDenomOwnersRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryDenomOwnersRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.v1beta1.QueryDenomOwnersRequest; /** * Verifies a QueryDenomOwnersRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryDenomOwnersRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryDenomOwnersRequest */ public static fromObject(object: { [k: string]: any }): cosmos.bank.v1beta1.QueryDenomOwnersRequest; /** * Creates a plain object from a QueryDenomOwnersRequest message. Also converts values to other types if specified. * @param message QueryDenomOwnersRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.v1beta1.QueryDenomOwnersRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryDenomOwnersRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a DenomOwner. */ interface IDenomOwner { /** DenomOwner address */ address?: (string|null); /** DenomOwner balance */ balance?: (cosmos.base.v1beta1.ICoin|null); } /** Represents a DenomOwner. */ class DenomOwner implements IDenomOwner { /** * Constructs a new DenomOwner. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.v1beta1.IDenomOwner); /** DenomOwner address. */ public address: string; /** DenomOwner balance. */ public balance?: (cosmos.base.v1beta1.ICoin|null); /** * Encodes the specified DenomOwner message. Does not implicitly {@link cosmos.bank.v1beta1.DenomOwner.verify|verify} messages. * @param message DenomOwner message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.v1beta1.IDenomOwner, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DenomOwner message, length delimited. Does not implicitly {@link cosmos.bank.v1beta1.DenomOwner.verify|verify} messages. * @param message DenomOwner message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.v1beta1.IDenomOwner, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DenomOwner message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DenomOwner * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.v1beta1.DenomOwner; /** * Decodes a DenomOwner message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DenomOwner * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.v1beta1.DenomOwner; /** * Verifies a DenomOwner message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DenomOwner message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DenomOwner */ public static fromObject(object: { [k: string]: any }): cosmos.bank.v1beta1.DenomOwner; /** * Creates a plain object from a DenomOwner message. Also converts values to other types if specified. * @param message DenomOwner * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.v1beta1.DenomOwner, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DenomOwner to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryDenomOwnersResponse. */ interface IQueryDenomOwnersResponse { /** QueryDenomOwnersResponse denom_owners */ denom_owners?: (cosmos.bank.v1beta1.IDenomOwner[]|null); /** QueryDenomOwnersResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a QueryDenomOwnersResponse. */ class QueryDenomOwnersResponse implements IQueryDenomOwnersResponse { /** * Constructs a new QueryDenomOwnersResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.v1beta1.IQueryDenomOwnersResponse); /** QueryDenomOwnersResponse denom_owners. */ public denom_owners: cosmos.bank.v1beta1.IDenomOwner[]; /** QueryDenomOwnersResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified QueryDenomOwnersResponse message. Does not implicitly {@link cosmos.bank.v1beta1.QueryDenomOwnersResponse.verify|verify} messages. * @param message QueryDenomOwnersResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.v1beta1.IQueryDenomOwnersResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryDenomOwnersResponse message, length delimited. Does not implicitly {@link cosmos.bank.v1beta1.QueryDenomOwnersResponse.verify|verify} messages. * @param message QueryDenomOwnersResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.v1beta1.IQueryDenomOwnersResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryDenomOwnersResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryDenomOwnersResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.v1beta1.QueryDenomOwnersResponse; /** * Decodes a QueryDenomOwnersResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryDenomOwnersResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.v1beta1.QueryDenomOwnersResponse; /** * Verifies a QueryDenomOwnersResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryDenomOwnersResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryDenomOwnersResponse */ public static fromObject(object: { [k: string]: any }): cosmos.bank.v1beta1.QueryDenomOwnersResponse; /** * Creates a plain object from a QueryDenomOwnersResponse message. Also converts values to other types if specified. * @param message QueryDenomOwnersResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.v1beta1.QueryDenomOwnersResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryDenomOwnersResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QuerySendEnabledRequest. */ interface IQuerySendEnabledRequest { /** QuerySendEnabledRequest denoms */ denoms?: (string[]|null); /** QuerySendEnabledRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a QuerySendEnabledRequest. */ class QuerySendEnabledRequest implements IQuerySendEnabledRequest { /** * Constructs a new QuerySendEnabledRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.v1beta1.IQuerySendEnabledRequest); /** QuerySendEnabledRequest denoms. */ public denoms: string[]; /** QuerySendEnabledRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** * Encodes the specified QuerySendEnabledRequest message. Does not implicitly {@link cosmos.bank.v1beta1.QuerySendEnabledRequest.verify|verify} messages. * @param message QuerySendEnabledRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.v1beta1.IQuerySendEnabledRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QuerySendEnabledRequest message, length delimited. Does not implicitly {@link cosmos.bank.v1beta1.QuerySendEnabledRequest.verify|verify} messages. * @param message QuerySendEnabledRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.v1beta1.IQuerySendEnabledRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QuerySendEnabledRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QuerySendEnabledRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.v1beta1.QuerySendEnabledRequest; /** * Decodes a QuerySendEnabledRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QuerySendEnabledRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.v1beta1.QuerySendEnabledRequest; /** * Verifies a QuerySendEnabledRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QuerySendEnabledRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QuerySendEnabledRequest */ public static fromObject(object: { [k: string]: any }): cosmos.bank.v1beta1.QuerySendEnabledRequest; /** * Creates a plain object from a QuerySendEnabledRequest message. Also converts values to other types if specified. * @param message QuerySendEnabledRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.v1beta1.QuerySendEnabledRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QuerySendEnabledRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QuerySendEnabledResponse. */ interface IQuerySendEnabledResponse { /** QuerySendEnabledResponse send_enabled */ send_enabled?: (cosmos.bank.v1beta1.ISendEnabled[]|null); /** QuerySendEnabledResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a QuerySendEnabledResponse. */ class QuerySendEnabledResponse implements IQuerySendEnabledResponse { /** * Constructs a new QuerySendEnabledResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.v1beta1.IQuerySendEnabledResponse); /** QuerySendEnabledResponse send_enabled. */ public send_enabled: cosmos.bank.v1beta1.ISendEnabled[]; /** QuerySendEnabledResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified QuerySendEnabledResponse message. Does not implicitly {@link cosmos.bank.v1beta1.QuerySendEnabledResponse.verify|verify} messages. * @param message QuerySendEnabledResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.v1beta1.IQuerySendEnabledResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QuerySendEnabledResponse message, length delimited. Does not implicitly {@link cosmos.bank.v1beta1.QuerySendEnabledResponse.verify|verify} messages. * @param message QuerySendEnabledResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.v1beta1.IQuerySendEnabledResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QuerySendEnabledResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QuerySendEnabledResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.v1beta1.QuerySendEnabledResponse; /** * Decodes a QuerySendEnabledResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QuerySendEnabledResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.v1beta1.QuerySendEnabledResponse; /** * Verifies a QuerySendEnabledResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QuerySendEnabledResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QuerySendEnabledResponse */ public static fromObject(object: { [k: string]: any }): cosmos.bank.v1beta1.QuerySendEnabledResponse; /** * Creates a plain object from a QuerySendEnabledResponse message. Also converts values to other types if specified. * @param message QuerySendEnabledResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.v1beta1.QuerySendEnabledResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QuerySendEnabledResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Params. */ interface IParams { /** Params send_enabled */ send_enabled?: (cosmos.bank.v1beta1.ISendEnabled[]|null); /** Params default_send_enabled */ default_send_enabled?: (boolean|null); } /** Represents a Params. */ class Params implements IParams { /** * Constructs a new Params. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.v1beta1.IParams); /** Params send_enabled. */ public send_enabled: cosmos.bank.v1beta1.ISendEnabled[]; /** Params default_send_enabled. */ public default_send_enabled: boolean; /** * Encodes the specified Params message. Does not implicitly {@link cosmos.bank.v1beta1.Params.verify|verify} messages. * @param message Params message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.v1beta1.IParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Params message, length delimited. Does not implicitly {@link cosmos.bank.v1beta1.Params.verify|verify} messages. * @param message Params message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.v1beta1.IParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Params message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Params * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.v1beta1.Params; /** * Decodes a Params message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Params * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.v1beta1.Params; /** * Verifies a Params message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Params message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Params */ public static fromObject(object: { [k: string]: any }): cosmos.bank.v1beta1.Params; /** * Creates a plain object from a Params message. Also converts values to other types if specified. * @param message Params * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.v1beta1.Params, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Params to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a SendEnabled. */ interface ISendEnabled { /** SendEnabled denom */ denom?: (string|null); /** SendEnabled enabled */ enabled?: (boolean|null); } /** Represents a SendEnabled. */ class SendEnabled implements ISendEnabled { /** * Constructs a new SendEnabled. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.v1beta1.ISendEnabled); /** SendEnabled denom. */ public denom: string; /** SendEnabled enabled. */ public enabled: boolean; /** * Encodes the specified SendEnabled message. Does not implicitly {@link cosmos.bank.v1beta1.SendEnabled.verify|verify} messages. * @param message SendEnabled message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.v1beta1.ISendEnabled, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SendEnabled message, length delimited. Does not implicitly {@link cosmos.bank.v1beta1.SendEnabled.verify|verify} messages. * @param message SendEnabled message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.v1beta1.ISendEnabled, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SendEnabled message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SendEnabled * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.v1beta1.SendEnabled; /** * Decodes a SendEnabled message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SendEnabled * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.v1beta1.SendEnabled; /** * Verifies a SendEnabled message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SendEnabled message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SendEnabled */ public static fromObject(object: { [k: string]: any }): cosmos.bank.v1beta1.SendEnabled; /** * Creates a plain object from a SendEnabled message. Also converts values to other types if specified. * @param message SendEnabled * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.v1beta1.SendEnabled, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SendEnabled to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an Input. */ interface IInput { /** Input address */ address?: (string|null); /** Input coins */ coins?: (cosmos.base.v1beta1.ICoin[]|null); } /** Represents an Input. */ class Input implements IInput { /** * Constructs a new Input. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.v1beta1.IInput); /** Input address. */ public address: string; /** Input coins. */ public coins: cosmos.base.v1beta1.ICoin[]; /** * Encodes the specified Input message. Does not implicitly {@link cosmos.bank.v1beta1.Input.verify|verify} messages. * @param message Input message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.v1beta1.IInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Input message, length delimited. Does not implicitly {@link cosmos.bank.v1beta1.Input.verify|verify} messages. * @param message Input message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.v1beta1.IInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Input message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Input * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.v1beta1.Input; /** * Decodes an Input message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Input * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.v1beta1.Input; /** * Verifies an Input message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Input message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Input */ public static fromObject(object: { [k: string]: any }): cosmos.bank.v1beta1.Input; /** * Creates a plain object from an Input message. Also converts values to other types if specified. * @param message Input * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.v1beta1.Input, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Input to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an Output. */ interface IOutput { /** Output address */ address?: (string|null); /** Output coins */ coins?: (cosmos.base.v1beta1.ICoin[]|null); } /** Represents an Output. */ class Output implements IOutput { /** * Constructs a new Output. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.v1beta1.IOutput); /** Output address. */ public address: string; /** Output coins. */ public coins: cosmos.base.v1beta1.ICoin[]; /** * Encodes the specified Output message. Does not implicitly {@link cosmos.bank.v1beta1.Output.verify|verify} messages. * @param message Output message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.v1beta1.IOutput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Output message, length delimited. Does not implicitly {@link cosmos.bank.v1beta1.Output.verify|verify} messages. * @param message Output message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.v1beta1.IOutput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Output message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Output * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.v1beta1.Output; /** * Decodes an Output message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Output * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.v1beta1.Output; /** * Verifies an Output message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Output message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Output */ public static fromObject(object: { [k: string]: any }): cosmos.bank.v1beta1.Output; /** * Creates a plain object from an Output message. Also converts values to other types if specified. * @param message Output * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.v1beta1.Output, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Output to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Supply. */ interface ISupply { /** Supply total */ total?: (cosmos.base.v1beta1.ICoin[]|null); } /** Represents a Supply. */ class Supply implements ISupply { /** * Constructs a new Supply. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.v1beta1.ISupply); /** Supply total. */ public total: cosmos.base.v1beta1.ICoin[]; /** * Encodes the specified Supply message. Does not implicitly {@link cosmos.bank.v1beta1.Supply.verify|verify} messages. * @param message Supply message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.v1beta1.ISupply, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Supply message, length delimited. Does not implicitly {@link cosmos.bank.v1beta1.Supply.verify|verify} messages. * @param message Supply message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.v1beta1.ISupply, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Supply message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Supply * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.v1beta1.Supply; /** * Decodes a Supply message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Supply * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.v1beta1.Supply; /** * Verifies a Supply message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Supply message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Supply */ public static fromObject(object: { [k: string]: any }): cosmos.bank.v1beta1.Supply; /** * Creates a plain object from a Supply message. Also converts values to other types if specified. * @param message Supply * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.v1beta1.Supply, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Supply to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a DenomUnit. */ interface IDenomUnit { /** DenomUnit denom */ denom?: (string|null); /** DenomUnit exponent */ exponent?: (number|null); /** DenomUnit aliases */ aliases?: (string[]|null); } /** Represents a DenomUnit. */ class DenomUnit implements IDenomUnit { /** * Constructs a new DenomUnit. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.v1beta1.IDenomUnit); /** DenomUnit denom. */ public denom: string; /** DenomUnit exponent. */ public exponent: number; /** DenomUnit aliases. */ public aliases: string[]; /** * Encodes the specified DenomUnit message. Does not implicitly {@link cosmos.bank.v1beta1.DenomUnit.verify|verify} messages. * @param message DenomUnit message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.v1beta1.IDenomUnit, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DenomUnit message, length delimited. Does not implicitly {@link cosmos.bank.v1beta1.DenomUnit.verify|verify} messages. * @param message DenomUnit message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.v1beta1.IDenomUnit, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DenomUnit message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DenomUnit * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.v1beta1.DenomUnit; /** * Decodes a DenomUnit message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DenomUnit * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.v1beta1.DenomUnit; /** * Verifies a DenomUnit message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DenomUnit message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DenomUnit */ public static fromObject(object: { [k: string]: any }): cosmos.bank.v1beta1.DenomUnit; /** * Creates a plain object from a DenomUnit message. Also converts values to other types if specified. * @param message DenomUnit * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.v1beta1.DenomUnit, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DenomUnit to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Metadata. */ interface IMetadata { /** Metadata description */ description?: (string|null); /** Metadata denom_units */ denom_units?: (cosmos.bank.v1beta1.IDenomUnit[]|null); /** Metadata base */ base?: (string|null); /** Metadata display */ display?: (string|null); /** Metadata name */ name?: (string|null); /** Metadata symbol */ symbol?: (string|null); /** Metadata uri */ uri?: (string|null); /** Metadata uri_hash */ uri_hash?: (string|null); } /** Represents a Metadata. */ class Metadata implements IMetadata { /** * Constructs a new Metadata. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.v1beta1.IMetadata); /** Metadata description. */ public description: string; /** Metadata denom_units. */ public denom_units: cosmos.bank.v1beta1.IDenomUnit[]; /** Metadata base. */ public base: string; /** Metadata display. */ public display: string; /** Metadata name. */ public name: string; /** Metadata symbol. */ public symbol: string; /** Metadata uri. */ public uri: string; /** Metadata uri_hash. */ public uri_hash: string; /** * Encodes the specified Metadata message. Does not implicitly {@link cosmos.bank.v1beta1.Metadata.verify|verify} messages. * @param message Metadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.v1beta1.IMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Metadata message, length delimited. Does not implicitly {@link cosmos.bank.v1beta1.Metadata.verify|verify} messages. * @param message Metadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.v1beta1.IMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Metadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Metadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.v1beta1.Metadata; /** * Decodes a Metadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Metadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.v1beta1.Metadata; /** * Verifies a Metadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Metadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Metadata */ public static fromObject(object: { [k: string]: any }): cosmos.bank.v1beta1.Metadata; /** * Creates a plain object from a Metadata message. Also converts values to other types if specified. * @param message Metadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.v1beta1.Metadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Metadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Represents a Msg */ class Msg extends $protobuf.rpc.Service { /** * Constructs a new Msg service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls Send. * @param request MsgSend message or plain object * @param callback Node-style callback called with the error, if any, and MsgSendResponse */ public send(request: cosmos.bank.v1beta1.IMsgSend, callback: cosmos.bank.v1beta1.Msg.SendCallback): void; /** * Calls Send. * @param request MsgSend message or plain object * @returns Promise */ public send(request: cosmos.bank.v1beta1.IMsgSend): Promise; /** * Calls MultiSend. * @param request MsgMultiSend message or plain object * @param callback Node-style callback called with the error, if any, and MsgMultiSendResponse */ public multiSend(request: cosmos.bank.v1beta1.IMsgMultiSend, callback: cosmos.bank.v1beta1.Msg.MultiSendCallback): void; /** * Calls MultiSend. * @param request MsgMultiSend message or plain object * @returns Promise */ public multiSend(request: cosmos.bank.v1beta1.IMsgMultiSend): Promise; /** * Calls UpdateParams. * @param request MsgUpdateParams message or plain object * @param callback Node-style callback called with the error, if any, and MsgUpdateParamsResponse */ public updateParams(request: cosmos.bank.v1beta1.IMsgUpdateParams, callback: cosmos.bank.v1beta1.Msg.UpdateParamsCallback): void; /** * Calls UpdateParams. * @param request MsgUpdateParams message or plain object * @returns Promise */ public updateParams(request: cosmos.bank.v1beta1.IMsgUpdateParams): Promise; /** * Calls SetSendEnabled. * @param request MsgSetSendEnabled message or plain object * @param callback Node-style callback called with the error, if any, and MsgSetSendEnabledResponse */ public setSendEnabled(request: cosmos.bank.v1beta1.IMsgSetSendEnabled, callback: cosmos.bank.v1beta1.Msg.SetSendEnabledCallback): void; /** * Calls SetSendEnabled. * @param request MsgSetSendEnabled message or plain object * @returns Promise */ public setSendEnabled(request: cosmos.bank.v1beta1.IMsgSetSendEnabled): Promise; } namespace Msg { /** * Callback as used by {@link cosmos.bank.v1beta1.Msg#send}. * @param error Error, if any * @param [response] MsgSendResponse */ type SendCallback = (error: (Error|null), response?: cosmos.bank.v1beta1.MsgSendResponse) => void; /** * Callback as used by {@link cosmos.bank.v1beta1.Msg#multiSend}. * @param error Error, if any * @param [response] MsgMultiSendResponse */ type MultiSendCallback = (error: (Error|null), response?: cosmos.bank.v1beta1.MsgMultiSendResponse) => void; /** * Callback as used by {@link cosmos.bank.v1beta1.Msg#updateParams}. * @param error Error, if any * @param [response] MsgUpdateParamsResponse */ type UpdateParamsCallback = (error: (Error|null), response?: cosmos.bank.v1beta1.MsgUpdateParamsResponse) => void; /** * Callback as used by {@link cosmos.bank.v1beta1.Msg#setSendEnabled}. * @param error Error, if any * @param [response] MsgSetSendEnabledResponse */ type SetSendEnabledCallback = (error: (Error|null), response?: cosmos.bank.v1beta1.MsgSetSendEnabledResponse) => void; } /** Properties of a MsgSend. */ interface IMsgSend { /** MsgSend from_address */ from_address?: (string|null); /** MsgSend to_address */ to_address?: (string|null); /** MsgSend amount */ amount?: (cosmos.base.v1beta1.ICoin[]|null); } /** Represents a MsgSend. */ class MsgSend implements IMsgSend { /** * Constructs a new MsgSend. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.v1beta1.IMsgSend); /** MsgSend from_address. */ public from_address: string; /** MsgSend to_address. */ public to_address: string; /** MsgSend amount. */ public amount: cosmos.base.v1beta1.ICoin[]; /** * Encodes the specified MsgSend message. Does not implicitly {@link cosmos.bank.v1beta1.MsgSend.verify|verify} messages. * @param message MsgSend message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.v1beta1.IMsgSend, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgSend message, length delimited. Does not implicitly {@link cosmos.bank.v1beta1.MsgSend.verify|verify} messages. * @param message MsgSend message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.v1beta1.IMsgSend, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgSend message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgSend * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.v1beta1.MsgSend; /** * Decodes a MsgSend message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgSend * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.v1beta1.MsgSend; /** * Verifies a MsgSend message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgSend message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgSend */ public static fromObject(object: { [k: string]: any }): cosmos.bank.v1beta1.MsgSend; /** * Creates a plain object from a MsgSend message. Also converts values to other types if specified. * @param message MsgSend * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.v1beta1.MsgSend, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgSend to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgSendResponse. */ interface IMsgSendResponse { } /** Represents a MsgSendResponse. */ class MsgSendResponse implements IMsgSendResponse { /** * Constructs a new MsgSendResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.v1beta1.IMsgSendResponse); /** * Encodes the specified MsgSendResponse message. Does not implicitly {@link cosmos.bank.v1beta1.MsgSendResponse.verify|verify} messages. * @param message MsgSendResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.v1beta1.IMsgSendResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgSendResponse message, length delimited. Does not implicitly {@link cosmos.bank.v1beta1.MsgSendResponse.verify|verify} messages. * @param message MsgSendResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.v1beta1.IMsgSendResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgSendResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgSendResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.v1beta1.MsgSendResponse; /** * Decodes a MsgSendResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgSendResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.v1beta1.MsgSendResponse; /** * Verifies a MsgSendResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgSendResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgSendResponse */ public static fromObject(object: { [k: string]: any }): cosmos.bank.v1beta1.MsgSendResponse; /** * Creates a plain object from a MsgSendResponse message. Also converts values to other types if specified. * @param message MsgSendResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.v1beta1.MsgSendResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgSendResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgMultiSend. */ interface IMsgMultiSend { /** MsgMultiSend inputs */ inputs?: (cosmos.bank.v1beta1.IInput[]|null); /** MsgMultiSend outputs */ outputs?: (cosmos.bank.v1beta1.IOutput[]|null); } /** Represents a MsgMultiSend. */ class MsgMultiSend implements IMsgMultiSend { /** * Constructs a new MsgMultiSend. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.v1beta1.IMsgMultiSend); /** MsgMultiSend inputs. */ public inputs: cosmos.bank.v1beta1.IInput[]; /** MsgMultiSend outputs. */ public outputs: cosmos.bank.v1beta1.IOutput[]; /** * Encodes the specified MsgMultiSend message. Does not implicitly {@link cosmos.bank.v1beta1.MsgMultiSend.verify|verify} messages. * @param message MsgMultiSend message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.v1beta1.IMsgMultiSend, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgMultiSend message, length delimited. Does not implicitly {@link cosmos.bank.v1beta1.MsgMultiSend.verify|verify} messages. * @param message MsgMultiSend message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.v1beta1.IMsgMultiSend, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgMultiSend message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgMultiSend * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.v1beta1.MsgMultiSend; /** * Decodes a MsgMultiSend message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgMultiSend * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.v1beta1.MsgMultiSend; /** * Verifies a MsgMultiSend message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgMultiSend message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgMultiSend */ public static fromObject(object: { [k: string]: any }): cosmos.bank.v1beta1.MsgMultiSend; /** * Creates a plain object from a MsgMultiSend message. Also converts values to other types if specified. * @param message MsgMultiSend * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.v1beta1.MsgMultiSend, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgMultiSend to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgMultiSendResponse. */ interface IMsgMultiSendResponse { } /** Represents a MsgMultiSendResponse. */ class MsgMultiSendResponse implements IMsgMultiSendResponse { /** * Constructs a new MsgMultiSendResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.v1beta1.IMsgMultiSendResponse); /** * Encodes the specified MsgMultiSendResponse message. Does not implicitly {@link cosmos.bank.v1beta1.MsgMultiSendResponse.verify|verify} messages. * @param message MsgMultiSendResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.v1beta1.IMsgMultiSendResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgMultiSendResponse message, length delimited. Does not implicitly {@link cosmos.bank.v1beta1.MsgMultiSendResponse.verify|verify} messages. * @param message MsgMultiSendResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.v1beta1.IMsgMultiSendResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgMultiSendResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgMultiSendResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.v1beta1.MsgMultiSendResponse; /** * Decodes a MsgMultiSendResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgMultiSendResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.v1beta1.MsgMultiSendResponse; /** * Verifies a MsgMultiSendResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgMultiSendResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgMultiSendResponse */ public static fromObject(object: { [k: string]: any }): cosmos.bank.v1beta1.MsgMultiSendResponse; /** * Creates a plain object from a MsgMultiSendResponse message. Also converts values to other types if specified. * @param message MsgMultiSendResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.v1beta1.MsgMultiSendResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgMultiSendResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgUpdateParams. */ interface IMsgUpdateParams { /** MsgUpdateParams authority */ authority?: (string|null); /** MsgUpdateParams params */ params?: (cosmos.bank.v1beta1.IParams|null); } /** Represents a MsgUpdateParams. */ class MsgUpdateParams implements IMsgUpdateParams { /** * Constructs a new MsgUpdateParams. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.v1beta1.IMsgUpdateParams); /** MsgUpdateParams authority. */ public authority: string; /** MsgUpdateParams params. */ public params?: (cosmos.bank.v1beta1.IParams|null); /** * Encodes the specified MsgUpdateParams message. Does not implicitly {@link cosmos.bank.v1beta1.MsgUpdateParams.verify|verify} messages. * @param message MsgUpdateParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.v1beta1.IMsgUpdateParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgUpdateParams message, length delimited. Does not implicitly {@link cosmos.bank.v1beta1.MsgUpdateParams.verify|verify} messages. * @param message MsgUpdateParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.v1beta1.IMsgUpdateParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgUpdateParams message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgUpdateParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.v1beta1.MsgUpdateParams; /** * Decodes a MsgUpdateParams message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgUpdateParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.v1beta1.MsgUpdateParams; /** * Verifies a MsgUpdateParams message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgUpdateParams message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgUpdateParams */ public static fromObject(object: { [k: string]: any }): cosmos.bank.v1beta1.MsgUpdateParams; /** * Creates a plain object from a MsgUpdateParams message. Also converts values to other types if specified. * @param message MsgUpdateParams * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.v1beta1.MsgUpdateParams, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgUpdateParams to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgUpdateParamsResponse. */ interface IMsgUpdateParamsResponse { } /** Represents a MsgUpdateParamsResponse. */ class MsgUpdateParamsResponse implements IMsgUpdateParamsResponse { /** * Constructs a new MsgUpdateParamsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.v1beta1.IMsgUpdateParamsResponse); /** * Encodes the specified MsgUpdateParamsResponse message. Does not implicitly {@link cosmos.bank.v1beta1.MsgUpdateParamsResponse.verify|verify} messages. * @param message MsgUpdateParamsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.v1beta1.IMsgUpdateParamsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgUpdateParamsResponse message, length delimited. Does not implicitly {@link cosmos.bank.v1beta1.MsgUpdateParamsResponse.verify|verify} messages. * @param message MsgUpdateParamsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.v1beta1.IMsgUpdateParamsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgUpdateParamsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgUpdateParamsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.v1beta1.MsgUpdateParamsResponse; /** * Decodes a MsgUpdateParamsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgUpdateParamsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.v1beta1.MsgUpdateParamsResponse; /** * Verifies a MsgUpdateParamsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgUpdateParamsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgUpdateParamsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.bank.v1beta1.MsgUpdateParamsResponse; /** * Creates a plain object from a MsgUpdateParamsResponse message. Also converts values to other types if specified. * @param message MsgUpdateParamsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.v1beta1.MsgUpdateParamsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgUpdateParamsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgSetSendEnabled. */ interface IMsgSetSendEnabled { /** MsgSetSendEnabled authority */ authority?: (string|null); /** MsgSetSendEnabled send_enabled */ send_enabled?: (cosmos.bank.v1beta1.ISendEnabled[]|null); /** MsgSetSendEnabled use_default_for */ use_default_for?: (string[]|null); } /** Represents a MsgSetSendEnabled. */ class MsgSetSendEnabled implements IMsgSetSendEnabled { /** * Constructs a new MsgSetSendEnabled. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.v1beta1.IMsgSetSendEnabled); /** MsgSetSendEnabled authority. */ public authority: string; /** MsgSetSendEnabled send_enabled. */ public send_enabled: cosmos.bank.v1beta1.ISendEnabled[]; /** MsgSetSendEnabled use_default_for. */ public use_default_for: string[]; /** * Encodes the specified MsgSetSendEnabled message. Does not implicitly {@link cosmos.bank.v1beta1.MsgSetSendEnabled.verify|verify} messages. * @param message MsgSetSendEnabled message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.v1beta1.IMsgSetSendEnabled, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgSetSendEnabled message, length delimited. Does not implicitly {@link cosmos.bank.v1beta1.MsgSetSendEnabled.verify|verify} messages. * @param message MsgSetSendEnabled message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.v1beta1.IMsgSetSendEnabled, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgSetSendEnabled message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgSetSendEnabled * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.v1beta1.MsgSetSendEnabled; /** * Decodes a MsgSetSendEnabled message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgSetSendEnabled * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.v1beta1.MsgSetSendEnabled; /** * Verifies a MsgSetSendEnabled message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgSetSendEnabled message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgSetSendEnabled */ public static fromObject(object: { [k: string]: any }): cosmos.bank.v1beta1.MsgSetSendEnabled; /** * Creates a plain object from a MsgSetSendEnabled message. Also converts values to other types if specified. * @param message MsgSetSendEnabled * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.v1beta1.MsgSetSendEnabled, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgSetSendEnabled to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgSetSendEnabledResponse. */ interface IMsgSetSendEnabledResponse { } /** Represents a MsgSetSendEnabledResponse. */ class MsgSetSendEnabledResponse implements IMsgSetSendEnabledResponse { /** * Constructs a new MsgSetSendEnabledResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.v1beta1.IMsgSetSendEnabledResponse); /** * Encodes the specified MsgSetSendEnabledResponse message. Does not implicitly {@link cosmos.bank.v1beta1.MsgSetSendEnabledResponse.verify|verify} messages. * @param message MsgSetSendEnabledResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.v1beta1.IMsgSetSendEnabledResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgSetSendEnabledResponse message, length delimited. Does not implicitly {@link cosmos.bank.v1beta1.MsgSetSendEnabledResponse.verify|verify} messages. * @param message MsgSetSendEnabledResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.v1beta1.IMsgSetSendEnabledResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgSetSendEnabledResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgSetSendEnabledResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.v1beta1.MsgSetSendEnabledResponse; /** * Decodes a MsgSetSendEnabledResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgSetSendEnabledResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.v1beta1.MsgSetSendEnabledResponse; /** * Verifies a MsgSetSendEnabledResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgSetSendEnabledResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgSetSendEnabledResponse */ public static fromObject(object: { [k: string]: any }): cosmos.bank.v1beta1.MsgSetSendEnabledResponse; /** * Creates a plain object from a MsgSetSendEnabledResponse message. Also converts values to other types if specified. * @param message MsgSetSendEnabledResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.v1beta1.MsgSetSendEnabledResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgSetSendEnabledResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GenesisState. */ interface IGenesisState { /** GenesisState params */ params?: (cosmos.bank.v1beta1.IParams|null); /** GenesisState balances */ balances?: (cosmos.bank.v1beta1.IBalance[]|null); /** GenesisState supply */ supply?: (cosmos.base.v1beta1.ICoin[]|null); /** GenesisState denom_metadata */ denom_metadata?: (cosmos.bank.v1beta1.IMetadata[]|null); /** GenesisState send_enabled */ send_enabled?: (cosmos.bank.v1beta1.ISendEnabled[]|null); } /** Represents a GenesisState. */ class GenesisState implements IGenesisState { /** * Constructs a new GenesisState. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.v1beta1.IGenesisState); /** GenesisState params. */ public params?: (cosmos.bank.v1beta1.IParams|null); /** GenesisState balances. */ public balances: cosmos.bank.v1beta1.IBalance[]; /** GenesisState supply. */ public supply: cosmos.base.v1beta1.ICoin[]; /** GenesisState denom_metadata. */ public denom_metadata: cosmos.bank.v1beta1.IMetadata[]; /** GenesisState send_enabled. */ public send_enabled: cosmos.bank.v1beta1.ISendEnabled[]; /** * Encodes the specified GenesisState message. Does not implicitly {@link cosmos.bank.v1beta1.GenesisState.verify|verify} messages. * @param message GenesisState message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.v1beta1.IGenesisState, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GenesisState message, length delimited. Does not implicitly {@link cosmos.bank.v1beta1.GenesisState.verify|verify} messages. * @param message GenesisState message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.v1beta1.IGenesisState, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GenesisState message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GenesisState * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.v1beta1.GenesisState; /** * Decodes a GenesisState message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GenesisState * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.v1beta1.GenesisState; /** * Verifies a GenesisState message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GenesisState message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GenesisState */ public static fromObject(object: { [k: string]: any }): cosmos.bank.v1beta1.GenesisState; /** * Creates a plain object from a GenesisState message. Also converts values to other types if specified. * @param message GenesisState * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.v1beta1.GenesisState, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GenesisState to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Balance. */ interface IBalance { /** Balance address */ address?: (string|null); /** Balance coins */ coins?: (cosmos.base.v1beta1.ICoin[]|null); } /** Represents a Balance. */ class Balance implements IBalance { /** * Constructs a new Balance. * @param [properties] Properties to set */ constructor(properties?: cosmos.bank.v1beta1.IBalance); /** Balance address. */ public address: string; /** Balance coins. */ public coins: cosmos.base.v1beta1.ICoin[]; /** * Encodes the specified Balance message. Does not implicitly {@link cosmos.bank.v1beta1.Balance.verify|verify} messages. * @param message Balance message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.bank.v1beta1.IBalance, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Balance message, length delimited. Does not implicitly {@link cosmos.bank.v1beta1.Balance.verify|verify} messages. * @param message Balance message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.bank.v1beta1.IBalance, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Balance message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Balance * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.bank.v1beta1.Balance; /** * Decodes a Balance message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Balance * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.bank.v1beta1.Balance; /** * Verifies a Balance message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Balance message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Balance */ public static fromObject(object: { [k: string]: any }): cosmos.bank.v1beta1.Balance; /** * Creates a plain object from a Balance message. Also converts values to other types if specified. * @param message Balance * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.bank.v1beta1.Balance, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Balance to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace capability. */ namespace capability { /** Namespace module. */ namespace module { /** Namespace v1. */ namespace v1 { /** Properties of a Module. */ interface IModule { /** Module seal_keeper */ seal_keeper?: (boolean|null); } /** Represents a Module. */ class Module implements IModule { /** * Constructs a new Module. * @param [properties] Properties to set */ constructor(properties?: cosmos.capability.module.v1.IModule); /** Module seal_keeper. */ public seal_keeper: boolean; /** * Encodes the specified Module message. Does not implicitly {@link cosmos.capability.module.v1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.capability.module.v1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Module message, length delimited. Does not implicitly {@link cosmos.capability.module.v1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.capability.module.v1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Module message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.capability.module.v1.Module; /** * Decodes a Module message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.capability.module.v1.Module; /** * Verifies a Module message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Module message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Module */ public static fromObject(object: { [k: string]: any }): cosmos.capability.module.v1.Module; /** * Creates a plain object from a Module message. Also converts values to other types if specified. * @param message Module * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.capability.module.v1.Module, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Module to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace v1beta1. */ namespace v1beta1 { /** Properties of a GenesisOwners. */ interface IGenesisOwners { /** GenesisOwners index */ index?: (Long|null); /** GenesisOwners index_owners */ index_owners?: (cosmos.capability.v1beta1.ICapabilityOwners|null); } /** Represents a GenesisOwners. */ class GenesisOwners implements IGenesisOwners { /** * Constructs a new GenesisOwners. * @param [properties] Properties to set */ constructor(properties?: cosmos.capability.v1beta1.IGenesisOwners); /** GenesisOwners index. */ public index: Long; /** GenesisOwners index_owners. */ public index_owners?: (cosmos.capability.v1beta1.ICapabilityOwners|null); /** * Encodes the specified GenesisOwners message. Does not implicitly {@link cosmos.capability.v1beta1.GenesisOwners.verify|verify} messages. * @param message GenesisOwners message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.capability.v1beta1.IGenesisOwners, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GenesisOwners message, length delimited. Does not implicitly {@link cosmos.capability.v1beta1.GenesisOwners.verify|verify} messages. * @param message GenesisOwners message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.capability.v1beta1.IGenesisOwners, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GenesisOwners message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GenesisOwners * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.capability.v1beta1.GenesisOwners; /** * Decodes a GenesisOwners message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GenesisOwners * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.capability.v1beta1.GenesisOwners; /** * Verifies a GenesisOwners message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GenesisOwners message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GenesisOwners */ public static fromObject(object: { [k: string]: any }): cosmos.capability.v1beta1.GenesisOwners; /** * Creates a plain object from a GenesisOwners message. Also converts values to other types if specified. * @param message GenesisOwners * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.capability.v1beta1.GenesisOwners, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GenesisOwners to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GenesisState. */ interface IGenesisState { /** GenesisState index */ index?: (Long|null); /** GenesisState owners */ owners?: (cosmos.capability.v1beta1.IGenesisOwners[]|null); } /** Represents a GenesisState. */ class GenesisState implements IGenesisState { /** * Constructs a new GenesisState. * @param [properties] Properties to set */ constructor(properties?: cosmos.capability.v1beta1.IGenesisState); /** GenesisState index. */ public index: Long; /** GenesisState owners. */ public owners: cosmos.capability.v1beta1.IGenesisOwners[]; /** * Encodes the specified GenesisState message. Does not implicitly {@link cosmos.capability.v1beta1.GenesisState.verify|verify} messages. * @param message GenesisState message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.capability.v1beta1.IGenesisState, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GenesisState message, length delimited. Does not implicitly {@link cosmos.capability.v1beta1.GenesisState.verify|verify} messages. * @param message GenesisState message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.capability.v1beta1.IGenesisState, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GenesisState message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GenesisState * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.capability.v1beta1.GenesisState; /** * Decodes a GenesisState message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GenesisState * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.capability.v1beta1.GenesisState; /** * Verifies a GenesisState message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GenesisState message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GenesisState */ public static fromObject(object: { [k: string]: any }): cosmos.capability.v1beta1.GenesisState; /** * Creates a plain object from a GenesisState message. Also converts values to other types if specified. * @param message GenesisState * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.capability.v1beta1.GenesisState, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GenesisState to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Capability. */ interface ICapability { /** Capability index */ index?: (Long|null); } /** Represents a Capability. */ class Capability implements ICapability { /** * Constructs a new Capability. * @param [properties] Properties to set */ constructor(properties?: cosmos.capability.v1beta1.ICapability); /** Capability index. */ public index: Long; /** * Encodes the specified Capability message. Does not implicitly {@link cosmos.capability.v1beta1.Capability.verify|verify} messages. * @param message Capability message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.capability.v1beta1.ICapability, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Capability message, length delimited. Does not implicitly {@link cosmos.capability.v1beta1.Capability.verify|verify} messages. * @param message Capability message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.capability.v1beta1.ICapability, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Capability message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Capability * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.capability.v1beta1.Capability; /** * Decodes a Capability message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Capability * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.capability.v1beta1.Capability; /** * Verifies a Capability message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Capability message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Capability */ public static fromObject(object: { [k: string]: any }): cosmos.capability.v1beta1.Capability; /** * Creates a plain object from a Capability message. Also converts values to other types if specified. * @param message Capability * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.capability.v1beta1.Capability, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Capability to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an Owner. */ interface IOwner { /** Owner module */ module?: (string|null); /** Owner name */ name?: (string|null); } /** Represents an Owner. */ class Owner implements IOwner { /** * Constructs a new Owner. * @param [properties] Properties to set */ constructor(properties?: cosmos.capability.v1beta1.IOwner); /** Owner module. */ public module: string; /** Owner name. */ public name: string; /** * Encodes the specified Owner message. Does not implicitly {@link cosmos.capability.v1beta1.Owner.verify|verify} messages. * @param message Owner message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.capability.v1beta1.IOwner, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Owner message, length delimited. Does not implicitly {@link cosmos.capability.v1beta1.Owner.verify|verify} messages. * @param message Owner message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.capability.v1beta1.IOwner, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Owner message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Owner * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.capability.v1beta1.Owner; /** * Decodes an Owner message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Owner * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.capability.v1beta1.Owner; /** * Verifies an Owner message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Owner message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Owner */ public static fromObject(object: { [k: string]: any }): cosmos.capability.v1beta1.Owner; /** * Creates a plain object from an Owner message. Also converts values to other types if specified. * @param message Owner * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.capability.v1beta1.Owner, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Owner to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a CapabilityOwners. */ interface ICapabilityOwners { /** CapabilityOwners owners */ owners?: (cosmos.capability.v1beta1.IOwner[]|null); } /** Represents a CapabilityOwners. */ class CapabilityOwners implements ICapabilityOwners { /** * Constructs a new CapabilityOwners. * @param [properties] Properties to set */ constructor(properties?: cosmos.capability.v1beta1.ICapabilityOwners); /** CapabilityOwners owners. */ public owners: cosmos.capability.v1beta1.IOwner[]; /** * Encodes the specified CapabilityOwners message. Does not implicitly {@link cosmos.capability.v1beta1.CapabilityOwners.verify|verify} messages. * @param message CapabilityOwners message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.capability.v1beta1.ICapabilityOwners, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CapabilityOwners message, length delimited. Does not implicitly {@link cosmos.capability.v1beta1.CapabilityOwners.verify|verify} messages. * @param message CapabilityOwners message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.capability.v1beta1.ICapabilityOwners, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CapabilityOwners message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CapabilityOwners * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.capability.v1beta1.CapabilityOwners; /** * Decodes a CapabilityOwners message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CapabilityOwners * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.capability.v1beta1.CapabilityOwners; /** * Verifies a CapabilityOwners message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CapabilityOwners message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CapabilityOwners */ public static fromObject(object: { [k: string]: any }): cosmos.capability.v1beta1.CapabilityOwners; /** * Creates a plain object from a CapabilityOwners message. Also converts values to other types if specified. * @param message CapabilityOwners * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.capability.v1beta1.CapabilityOwners, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CapabilityOwners to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace consensus. */ namespace consensus { /** Namespace module. */ namespace module { /** Namespace v1. */ namespace v1 { /** Properties of a Module. */ interface IModule { /** Module authority */ authority?: (string|null); } /** Represents a Module. */ class Module implements IModule { /** * Constructs a new Module. * @param [properties] Properties to set */ constructor(properties?: cosmos.consensus.module.v1.IModule); /** Module authority. */ public authority: string; /** * Encodes the specified Module message. Does not implicitly {@link cosmos.consensus.module.v1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.consensus.module.v1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Module message, length delimited. Does not implicitly {@link cosmos.consensus.module.v1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.consensus.module.v1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Module message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.consensus.module.v1.Module; /** * Decodes a Module message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.consensus.module.v1.Module; /** * Verifies a Module message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Module message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Module */ public static fromObject(object: { [k: string]: any }): cosmos.consensus.module.v1.Module; /** * Creates a plain object from a Module message. Also converts values to other types if specified. * @param message Module * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.consensus.module.v1.Module, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Module to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace v1. */ namespace v1 { /** Represents a Query */ class Query extends $protobuf.rpc.Service { /** * Constructs a new Query service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls Params. * @param request QueryParamsRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryParamsResponse */ public params(request: cosmos.consensus.v1.IQueryParamsRequest, callback: cosmos.consensus.v1.Query.ParamsCallback): void; /** * Calls Params. * @param request QueryParamsRequest message or plain object * @returns Promise */ public params(request: cosmos.consensus.v1.IQueryParamsRequest): Promise; } namespace Query { /** * Callback as used by {@link cosmos.consensus.v1.Query#params}. * @param error Error, if any * @param [response] QueryParamsResponse */ type ParamsCallback = (error: (Error|null), response?: cosmos.consensus.v1.QueryParamsResponse) => void; } /** Properties of a QueryParamsRequest. */ interface IQueryParamsRequest { } /** Represents a QueryParamsRequest. */ class QueryParamsRequest implements IQueryParamsRequest { /** * Constructs a new QueryParamsRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.consensus.v1.IQueryParamsRequest); /** * Encodes the specified QueryParamsRequest message. Does not implicitly {@link cosmos.consensus.v1.QueryParamsRequest.verify|verify} messages. * @param message QueryParamsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.consensus.v1.IQueryParamsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryParamsRequest message, length delimited. Does not implicitly {@link cosmos.consensus.v1.QueryParamsRequest.verify|verify} messages. * @param message QueryParamsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.consensus.v1.IQueryParamsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryParamsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryParamsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.consensus.v1.QueryParamsRequest; /** * Decodes a QueryParamsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryParamsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.consensus.v1.QueryParamsRequest; /** * Verifies a QueryParamsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryParamsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryParamsRequest */ public static fromObject(object: { [k: string]: any }): cosmos.consensus.v1.QueryParamsRequest; /** * Creates a plain object from a QueryParamsRequest message. Also converts values to other types if specified. * @param message QueryParamsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.consensus.v1.QueryParamsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryParamsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryParamsResponse. */ interface IQueryParamsResponse { /** QueryParamsResponse params */ params?: (cometbft.types.IConsensusParams|null); } /** Represents a QueryParamsResponse. */ class QueryParamsResponse implements IQueryParamsResponse { /** * Constructs a new QueryParamsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.consensus.v1.IQueryParamsResponse); /** QueryParamsResponse params. */ public params?: (cometbft.types.IConsensusParams|null); /** * Encodes the specified QueryParamsResponse message. Does not implicitly {@link cosmos.consensus.v1.QueryParamsResponse.verify|verify} messages. * @param message QueryParamsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.consensus.v1.IQueryParamsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryParamsResponse message, length delimited. Does not implicitly {@link cosmos.consensus.v1.QueryParamsResponse.verify|verify} messages. * @param message QueryParamsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.consensus.v1.IQueryParamsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryParamsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryParamsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.consensus.v1.QueryParamsResponse; /** * Decodes a QueryParamsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryParamsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.consensus.v1.QueryParamsResponse; /** * Verifies a QueryParamsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryParamsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryParamsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.consensus.v1.QueryParamsResponse; /** * Creates a plain object from a QueryParamsResponse message. Also converts values to other types if specified. * @param message QueryParamsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.consensus.v1.QueryParamsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryParamsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Represents a Msg */ class Msg extends $protobuf.rpc.Service { /** * Constructs a new Msg service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls UpdateParams. * @param request MsgUpdateParams message or plain object * @param callback Node-style callback called with the error, if any, and MsgUpdateParamsResponse */ public updateParams(request: cosmos.consensus.v1.IMsgUpdateParams, callback: cosmos.consensus.v1.Msg.UpdateParamsCallback): void; /** * Calls UpdateParams. * @param request MsgUpdateParams message or plain object * @returns Promise */ public updateParams(request: cosmos.consensus.v1.IMsgUpdateParams): Promise; } namespace Msg { /** * Callback as used by {@link cosmos.consensus.v1.Msg#updateParams}. * @param error Error, if any * @param [response] MsgUpdateParamsResponse */ type UpdateParamsCallback = (error: (Error|null), response?: cosmos.consensus.v1.MsgUpdateParamsResponse) => void; } /** Properties of a MsgUpdateParams. */ interface IMsgUpdateParams { /** MsgUpdateParams authority */ authority?: (string|null); /** MsgUpdateParams block */ block?: (cometbft.types.IBlockParams|null); /** MsgUpdateParams evidence */ evidence?: (cometbft.types.IEvidenceParams|null); /** MsgUpdateParams validator */ validator?: (cometbft.types.IValidatorParams|null); } /** Represents a MsgUpdateParams. */ class MsgUpdateParams implements IMsgUpdateParams { /** * Constructs a new MsgUpdateParams. * @param [properties] Properties to set */ constructor(properties?: cosmos.consensus.v1.IMsgUpdateParams); /** MsgUpdateParams authority. */ public authority: string; /** MsgUpdateParams block. */ public block?: (cometbft.types.IBlockParams|null); /** MsgUpdateParams evidence. */ public evidence?: (cometbft.types.IEvidenceParams|null); /** MsgUpdateParams validator. */ public validator?: (cometbft.types.IValidatorParams|null); /** * Encodes the specified MsgUpdateParams message. Does not implicitly {@link cosmos.consensus.v1.MsgUpdateParams.verify|verify} messages. * @param message MsgUpdateParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.consensus.v1.IMsgUpdateParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgUpdateParams message, length delimited. Does not implicitly {@link cosmos.consensus.v1.MsgUpdateParams.verify|verify} messages. * @param message MsgUpdateParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.consensus.v1.IMsgUpdateParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgUpdateParams message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgUpdateParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.consensus.v1.MsgUpdateParams; /** * Decodes a MsgUpdateParams message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgUpdateParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.consensus.v1.MsgUpdateParams; /** * Verifies a MsgUpdateParams message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgUpdateParams message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgUpdateParams */ public static fromObject(object: { [k: string]: any }): cosmos.consensus.v1.MsgUpdateParams; /** * Creates a plain object from a MsgUpdateParams message. Also converts values to other types if specified. * @param message MsgUpdateParams * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.consensus.v1.MsgUpdateParams, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgUpdateParams to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgUpdateParamsResponse. */ interface IMsgUpdateParamsResponse { } /** Represents a MsgUpdateParamsResponse. */ class MsgUpdateParamsResponse implements IMsgUpdateParamsResponse { /** * Constructs a new MsgUpdateParamsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.consensus.v1.IMsgUpdateParamsResponse); /** * Encodes the specified MsgUpdateParamsResponse message. Does not implicitly {@link cosmos.consensus.v1.MsgUpdateParamsResponse.verify|verify} messages. * @param message MsgUpdateParamsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.consensus.v1.IMsgUpdateParamsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgUpdateParamsResponse message, length delimited. Does not implicitly {@link cosmos.consensus.v1.MsgUpdateParamsResponse.verify|verify} messages. * @param message MsgUpdateParamsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.consensus.v1.IMsgUpdateParamsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgUpdateParamsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgUpdateParamsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.consensus.v1.MsgUpdateParamsResponse; /** * Decodes a MsgUpdateParamsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgUpdateParamsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.consensus.v1.MsgUpdateParamsResponse; /** * Verifies a MsgUpdateParamsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgUpdateParamsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgUpdateParamsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.consensus.v1.MsgUpdateParamsResponse; /** * Creates a plain object from a MsgUpdateParamsResponse message. Also converts values to other types if specified. * @param message MsgUpdateParamsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.consensus.v1.MsgUpdateParamsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgUpdateParamsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace crisis. */ namespace crisis { /** Namespace module. */ namespace module { /** Namespace v1. */ namespace v1 { /** Properties of a Module. */ interface IModule { /** Module fee_collector_name */ fee_collector_name?: (string|null); /** Module authority */ authority?: (string|null); } /** Represents a Module. */ class Module implements IModule { /** * Constructs a new Module. * @param [properties] Properties to set */ constructor(properties?: cosmos.crisis.module.v1.IModule); /** Module fee_collector_name. */ public fee_collector_name: string; /** Module authority. */ public authority: string; /** * Encodes the specified Module message. Does not implicitly {@link cosmos.crisis.module.v1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.crisis.module.v1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Module message, length delimited. Does not implicitly {@link cosmos.crisis.module.v1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.crisis.module.v1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Module message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.crisis.module.v1.Module; /** * Decodes a Module message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.crisis.module.v1.Module; /** * Verifies a Module message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Module message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Module */ public static fromObject(object: { [k: string]: any }): cosmos.crisis.module.v1.Module; /** * Creates a plain object from a Module message. Also converts values to other types if specified. * @param message Module * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.crisis.module.v1.Module, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Module to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace v1beta1. */ namespace v1beta1 { /** Represents a Msg */ class Msg extends $protobuf.rpc.Service { /** * Constructs a new Msg service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls VerifyInvariant. * @param request MsgVerifyInvariant message or plain object * @param callback Node-style callback called with the error, if any, and MsgVerifyInvariantResponse */ public verifyInvariant(request: cosmos.crisis.v1beta1.IMsgVerifyInvariant, callback: cosmos.crisis.v1beta1.Msg.VerifyInvariantCallback): void; /** * Calls VerifyInvariant. * @param request MsgVerifyInvariant message or plain object * @returns Promise */ public verifyInvariant(request: cosmos.crisis.v1beta1.IMsgVerifyInvariant): Promise; /** * Calls UpdateParams. * @param request MsgUpdateParams message or plain object * @param callback Node-style callback called with the error, if any, and MsgUpdateParamsResponse */ public updateParams(request: cosmos.crisis.v1beta1.IMsgUpdateParams, callback: cosmos.crisis.v1beta1.Msg.UpdateParamsCallback): void; /** * Calls UpdateParams. * @param request MsgUpdateParams message or plain object * @returns Promise */ public updateParams(request: cosmos.crisis.v1beta1.IMsgUpdateParams): Promise; } namespace Msg { /** * Callback as used by {@link cosmos.crisis.v1beta1.Msg#verifyInvariant}. * @param error Error, if any * @param [response] MsgVerifyInvariantResponse */ type VerifyInvariantCallback = (error: (Error|null), response?: cosmos.crisis.v1beta1.MsgVerifyInvariantResponse) => void; /** * Callback as used by {@link cosmos.crisis.v1beta1.Msg#updateParams}. * @param error Error, if any * @param [response] MsgUpdateParamsResponse */ type UpdateParamsCallback = (error: (Error|null), response?: cosmos.crisis.v1beta1.MsgUpdateParamsResponse) => void; } /** Properties of a MsgVerifyInvariant. */ interface IMsgVerifyInvariant { /** MsgVerifyInvariant sender */ sender?: (string|null); /** MsgVerifyInvariant invariant_module_name */ invariant_module_name?: (string|null); /** MsgVerifyInvariant invariant_route */ invariant_route?: (string|null); } /** Represents a MsgVerifyInvariant. */ class MsgVerifyInvariant implements IMsgVerifyInvariant { /** * Constructs a new MsgVerifyInvariant. * @param [properties] Properties to set */ constructor(properties?: cosmos.crisis.v1beta1.IMsgVerifyInvariant); /** MsgVerifyInvariant sender. */ public sender: string; /** MsgVerifyInvariant invariant_module_name. */ public invariant_module_name: string; /** MsgVerifyInvariant invariant_route. */ public invariant_route: string; /** * Encodes the specified MsgVerifyInvariant message. Does not implicitly {@link cosmos.crisis.v1beta1.MsgVerifyInvariant.verify|verify} messages. * @param message MsgVerifyInvariant message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.crisis.v1beta1.IMsgVerifyInvariant, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgVerifyInvariant message, length delimited. Does not implicitly {@link cosmos.crisis.v1beta1.MsgVerifyInvariant.verify|verify} messages. * @param message MsgVerifyInvariant message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.crisis.v1beta1.IMsgVerifyInvariant, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgVerifyInvariant message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgVerifyInvariant * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.crisis.v1beta1.MsgVerifyInvariant; /** * Decodes a MsgVerifyInvariant message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgVerifyInvariant * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.crisis.v1beta1.MsgVerifyInvariant; /** * Verifies a MsgVerifyInvariant message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgVerifyInvariant message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgVerifyInvariant */ public static fromObject(object: { [k: string]: any }): cosmos.crisis.v1beta1.MsgVerifyInvariant; /** * Creates a plain object from a MsgVerifyInvariant message. Also converts values to other types if specified. * @param message MsgVerifyInvariant * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.crisis.v1beta1.MsgVerifyInvariant, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgVerifyInvariant to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgVerifyInvariantResponse. */ interface IMsgVerifyInvariantResponse { } /** Represents a MsgVerifyInvariantResponse. */ class MsgVerifyInvariantResponse implements IMsgVerifyInvariantResponse { /** * Constructs a new MsgVerifyInvariantResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.crisis.v1beta1.IMsgVerifyInvariantResponse); /** * Encodes the specified MsgVerifyInvariantResponse message. Does not implicitly {@link cosmos.crisis.v1beta1.MsgVerifyInvariantResponse.verify|verify} messages. * @param message MsgVerifyInvariantResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.crisis.v1beta1.IMsgVerifyInvariantResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgVerifyInvariantResponse message, length delimited. Does not implicitly {@link cosmos.crisis.v1beta1.MsgVerifyInvariantResponse.verify|verify} messages. * @param message MsgVerifyInvariantResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.crisis.v1beta1.IMsgVerifyInvariantResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgVerifyInvariantResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgVerifyInvariantResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.crisis.v1beta1.MsgVerifyInvariantResponse; /** * Decodes a MsgVerifyInvariantResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgVerifyInvariantResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.crisis.v1beta1.MsgVerifyInvariantResponse; /** * Verifies a MsgVerifyInvariantResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgVerifyInvariantResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgVerifyInvariantResponse */ public static fromObject(object: { [k: string]: any }): cosmos.crisis.v1beta1.MsgVerifyInvariantResponse; /** * Creates a plain object from a MsgVerifyInvariantResponse message. Also converts values to other types if specified. * @param message MsgVerifyInvariantResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.crisis.v1beta1.MsgVerifyInvariantResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgVerifyInvariantResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgUpdateParams. */ interface IMsgUpdateParams { /** MsgUpdateParams authority */ authority?: (string|null); /** MsgUpdateParams constant_fee */ constant_fee?: (cosmos.base.v1beta1.ICoin|null); } /** Represents a MsgUpdateParams. */ class MsgUpdateParams implements IMsgUpdateParams { /** * Constructs a new MsgUpdateParams. * @param [properties] Properties to set */ constructor(properties?: cosmos.crisis.v1beta1.IMsgUpdateParams); /** MsgUpdateParams authority. */ public authority: string; /** MsgUpdateParams constant_fee. */ public constant_fee?: (cosmos.base.v1beta1.ICoin|null); /** * Encodes the specified MsgUpdateParams message. Does not implicitly {@link cosmos.crisis.v1beta1.MsgUpdateParams.verify|verify} messages. * @param message MsgUpdateParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.crisis.v1beta1.IMsgUpdateParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgUpdateParams message, length delimited. Does not implicitly {@link cosmos.crisis.v1beta1.MsgUpdateParams.verify|verify} messages. * @param message MsgUpdateParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.crisis.v1beta1.IMsgUpdateParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgUpdateParams message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgUpdateParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.crisis.v1beta1.MsgUpdateParams; /** * Decodes a MsgUpdateParams message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgUpdateParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.crisis.v1beta1.MsgUpdateParams; /** * Verifies a MsgUpdateParams message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgUpdateParams message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgUpdateParams */ public static fromObject(object: { [k: string]: any }): cosmos.crisis.v1beta1.MsgUpdateParams; /** * Creates a plain object from a MsgUpdateParams message. Also converts values to other types if specified. * @param message MsgUpdateParams * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.crisis.v1beta1.MsgUpdateParams, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgUpdateParams to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgUpdateParamsResponse. */ interface IMsgUpdateParamsResponse { } /** Represents a MsgUpdateParamsResponse. */ class MsgUpdateParamsResponse implements IMsgUpdateParamsResponse { /** * Constructs a new MsgUpdateParamsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.crisis.v1beta1.IMsgUpdateParamsResponse); /** * Encodes the specified MsgUpdateParamsResponse message. Does not implicitly {@link cosmos.crisis.v1beta1.MsgUpdateParamsResponse.verify|verify} messages. * @param message MsgUpdateParamsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.crisis.v1beta1.IMsgUpdateParamsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgUpdateParamsResponse message, length delimited. Does not implicitly {@link cosmos.crisis.v1beta1.MsgUpdateParamsResponse.verify|verify} messages. * @param message MsgUpdateParamsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.crisis.v1beta1.IMsgUpdateParamsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgUpdateParamsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgUpdateParamsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.crisis.v1beta1.MsgUpdateParamsResponse; /** * Decodes a MsgUpdateParamsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgUpdateParamsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.crisis.v1beta1.MsgUpdateParamsResponse; /** * Verifies a MsgUpdateParamsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgUpdateParamsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgUpdateParamsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.crisis.v1beta1.MsgUpdateParamsResponse; /** * Creates a plain object from a MsgUpdateParamsResponse message. Also converts values to other types if specified. * @param message MsgUpdateParamsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.crisis.v1beta1.MsgUpdateParamsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgUpdateParamsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GenesisState. */ interface IGenesisState { /** GenesisState constant_fee */ constant_fee?: (cosmos.base.v1beta1.ICoin|null); } /** Represents a GenesisState. */ class GenesisState implements IGenesisState { /** * Constructs a new GenesisState. * @param [properties] Properties to set */ constructor(properties?: cosmos.crisis.v1beta1.IGenesisState); /** GenesisState constant_fee. */ public constant_fee?: (cosmos.base.v1beta1.ICoin|null); /** * Encodes the specified GenesisState message. Does not implicitly {@link cosmos.crisis.v1beta1.GenesisState.verify|verify} messages. * @param message GenesisState message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.crisis.v1beta1.IGenesisState, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GenesisState message, length delimited. Does not implicitly {@link cosmos.crisis.v1beta1.GenesisState.verify|verify} messages. * @param message GenesisState message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.crisis.v1beta1.IGenesisState, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GenesisState message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GenesisState * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.crisis.v1beta1.GenesisState; /** * Decodes a GenesisState message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GenesisState * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.crisis.v1beta1.GenesisState; /** * Verifies a GenesisState message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GenesisState message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GenesisState */ public static fromObject(object: { [k: string]: any }): cosmos.crisis.v1beta1.GenesisState; /** * Creates a plain object from a GenesisState message. Also converts values to other types if specified. * @param message GenesisState * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.crisis.v1beta1.GenesisState, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GenesisState to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace crypto. */ namespace crypto { /** Namespace ed25519. */ namespace ed25519 { /** Properties of a PubKey. */ interface IPubKey { /** PubKey key */ key?: (Uint8Array|null); } /** Represents a PubKey. */ class PubKey implements IPubKey { /** * Constructs a new PubKey. * @param [properties] Properties to set */ constructor(properties?: cosmos.crypto.ed25519.IPubKey); /** PubKey key. */ public key: Uint8Array; /** * Encodes the specified PubKey message. Does not implicitly {@link cosmos.crypto.ed25519.PubKey.verify|verify} messages. * @param message PubKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.crypto.ed25519.IPubKey, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PubKey message, length delimited. Does not implicitly {@link cosmos.crypto.ed25519.PubKey.verify|verify} messages. * @param message PubKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.crypto.ed25519.IPubKey, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PubKey message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PubKey * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.crypto.ed25519.PubKey; /** * Decodes a PubKey message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PubKey * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.crypto.ed25519.PubKey; /** * Verifies a PubKey message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PubKey message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PubKey */ public static fromObject(object: { [k: string]: any }): cosmos.crypto.ed25519.PubKey; /** * Creates a plain object from a PubKey message. Also converts values to other types if specified. * @param message PubKey * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.crypto.ed25519.PubKey, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PubKey to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a PrivKey. */ interface IPrivKey { /** PrivKey key */ key?: (Uint8Array|null); } /** Represents a PrivKey. */ class PrivKey implements IPrivKey { /** * Constructs a new PrivKey. * @param [properties] Properties to set */ constructor(properties?: cosmos.crypto.ed25519.IPrivKey); /** PrivKey key. */ public key: Uint8Array; /** * Encodes the specified PrivKey message. Does not implicitly {@link cosmos.crypto.ed25519.PrivKey.verify|verify} messages. * @param message PrivKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.crypto.ed25519.IPrivKey, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PrivKey message, length delimited. Does not implicitly {@link cosmos.crypto.ed25519.PrivKey.verify|verify} messages. * @param message PrivKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.crypto.ed25519.IPrivKey, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PrivKey message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PrivKey * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.crypto.ed25519.PrivKey; /** * Decodes a PrivKey message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PrivKey * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.crypto.ed25519.PrivKey; /** * Verifies a PrivKey message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PrivKey message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PrivKey */ public static fromObject(object: { [k: string]: any }): cosmos.crypto.ed25519.PrivKey; /** * Creates a plain object from a PrivKey message. Also converts values to other types if specified. * @param message PrivKey * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.crypto.ed25519.PrivKey, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PrivKey to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } /** Namespace hd. */ namespace hd { /** Namespace v1. */ namespace v1 { /** Properties of a BIP44Params. */ interface IBIP44Params { /** BIP44Params purpose */ purpose?: (number|null); /** BIP44Params coin_type */ coin_type?: (number|null); /** BIP44Params account */ account?: (number|null); /** BIP44Params change */ change?: (boolean|null); /** BIP44Params address_index */ address_index?: (number|null); } /** Represents a BIP44Params. */ class BIP44Params implements IBIP44Params { /** * Constructs a new BIP44Params. * @param [properties] Properties to set */ constructor(properties?: cosmos.crypto.hd.v1.IBIP44Params); /** BIP44Params purpose. */ public purpose: number; /** BIP44Params coin_type. */ public coin_type: number; /** BIP44Params account. */ public account: number; /** BIP44Params change. */ public change: boolean; /** BIP44Params address_index. */ public address_index: number; /** * Encodes the specified BIP44Params message. Does not implicitly {@link cosmos.crypto.hd.v1.BIP44Params.verify|verify} messages. * @param message BIP44Params message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.crypto.hd.v1.IBIP44Params, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BIP44Params message, length delimited. Does not implicitly {@link cosmos.crypto.hd.v1.BIP44Params.verify|verify} messages. * @param message BIP44Params message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.crypto.hd.v1.IBIP44Params, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BIP44Params message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BIP44Params * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.crypto.hd.v1.BIP44Params; /** * Decodes a BIP44Params message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BIP44Params * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.crypto.hd.v1.BIP44Params; /** * Verifies a BIP44Params message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BIP44Params message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BIP44Params */ public static fromObject(object: { [k: string]: any }): cosmos.crypto.hd.v1.BIP44Params; /** * Creates a plain object from a BIP44Params message. Also converts values to other types if specified. * @param message BIP44Params * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.crypto.hd.v1.BIP44Params, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BIP44Params to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace keyring. */ namespace keyring { /** Namespace v1. */ namespace v1 { /** Properties of a Record. */ interface IRecord { /** Record name */ name?: (string|null); /** Record pub_key */ pub_key?: (google.protobuf.IAny|null); /** Record local */ local?: (cosmos.crypto.keyring.v1.Record.ILocal|null); /** Record ledger */ ledger?: (cosmos.crypto.keyring.v1.Record.ILedger|null); /** Record multi */ multi?: (cosmos.crypto.keyring.v1.Record.IMulti|null); /** Record offline */ offline?: (cosmos.crypto.keyring.v1.Record.IOffline|null); } /** Represents a Record. */ class Record implements IRecord { /** * Constructs a new Record. * @param [properties] Properties to set */ constructor(properties?: cosmos.crypto.keyring.v1.IRecord); /** Record name. */ public name: string; /** Record pub_key. */ public pub_key?: (google.protobuf.IAny|null); /** Record local. */ public local?: (cosmos.crypto.keyring.v1.Record.ILocal|null); /** Record ledger. */ public ledger?: (cosmos.crypto.keyring.v1.Record.ILedger|null); /** Record multi. */ public multi?: (cosmos.crypto.keyring.v1.Record.IMulti|null); /** Record offline. */ public offline?: (cosmos.crypto.keyring.v1.Record.IOffline|null); /** Record item. */ public item?: ("local"|"ledger"|"multi"|"offline"); /** * Encodes the specified Record message. Does not implicitly {@link cosmos.crypto.keyring.v1.Record.verify|verify} messages. * @param message Record message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.crypto.keyring.v1.IRecord, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Record message, length delimited. Does not implicitly {@link cosmos.crypto.keyring.v1.Record.verify|verify} messages. * @param message Record message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.crypto.keyring.v1.IRecord, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Record message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Record * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.crypto.keyring.v1.Record; /** * Decodes a Record message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Record * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.crypto.keyring.v1.Record; /** * Verifies a Record message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Record message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Record */ public static fromObject(object: { [k: string]: any }): cosmos.crypto.keyring.v1.Record; /** * Creates a plain object from a Record message. Also converts values to other types if specified. * @param message Record * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.crypto.keyring.v1.Record, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Record to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } namespace Record { /** Properties of a Local. */ interface ILocal { /** Local priv_key */ priv_key?: (google.protobuf.IAny|null); } /** Represents a Local. */ class Local implements ILocal { /** * Constructs a new Local. * @param [properties] Properties to set */ constructor(properties?: cosmos.crypto.keyring.v1.Record.ILocal); /** Local priv_key. */ public priv_key?: (google.protobuf.IAny|null); /** * Encodes the specified Local message. Does not implicitly {@link cosmos.crypto.keyring.v1.Record.Local.verify|verify} messages. * @param message Local message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.crypto.keyring.v1.Record.ILocal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Local message, length delimited. Does not implicitly {@link cosmos.crypto.keyring.v1.Record.Local.verify|verify} messages. * @param message Local message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.crypto.keyring.v1.Record.ILocal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Local message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Local * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.crypto.keyring.v1.Record.Local; /** * Decodes a Local message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Local * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.crypto.keyring.v1.Record.Local; /** * Verifies a Local message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Local message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Local */ public static fromObject(object: { [k: string]: any }): cosmos.crypto.keyring.v1.Record.Local; /** * Creates a plain object from a Local message. Also converts values to other types if specified. * @param message Local * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.crypto.keyring.v1.Record.Local, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Local to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Ledger. */ interface ILedger { /** Ledger path */ path?: (cosmos.crypto.hd.v1.IBIP44Params|null); } /** Represents a Ledger. */ class Ledger implements ILedger { /** * Constructs a new Ledger. * @param [properties] Properties to set */ constructor(properties?: cosmos.crypto.keyring.v1.Record.ILedger); /** Ledger path. */ public path?: (cosmos.crypto.hd.v1.IBIP44Params|null); /** * Encodes the specified Ledger message. Does not implicitly {@link cosmos.crypto.keyring.v1.Record.Ledger.verify|verify} messages. * @param message Ledger message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.crypto.keyring.v1.Record.ILedger, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Ledger message, length delimited. Does not implicitly {@link cosmos.crypto.keyring.v1.Record.Ledger.verify|verify} messages. * @param message Ledger message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.crypto.keyring.v1.Record.ILedger, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Ledger message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Ledger * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.crypto.keyring.v1.Record.Ledger; /** * Decodes a Ledger message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Ledger * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.crypto.keyring.v1.Record.Ledger; /** * Verifies a Ledger message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Ledger message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Ledger */ public static fromObject(object: { [k: string]: any }): cosmos.crypto.keyring.v1.Record.Ledger; /** * Creates a plain object from a Ledger message. Also converts values to other types if specified. * @param message Ledger * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.crypto.keyring.v1.Record.Ledger, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Ledger to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Multi. */ interface IMulti { } /** Represents a Multi. */ class Multi implements IMulti { /** * Constructs a new Multi. * @param [properties] Properties to set */ constructor(properties?: cosmos.crypto.keyring.v1.Record.IMulti); /** * Encodes the specified Multi message. Does not implicitly {@link cosmos.crypto.keyring.v1.Record.Multi.verify|verify} messages. * @param message Multi message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.crypto.keyring.v1.Record.IMulti, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Multi message, length delimited. Does not implicitly {@link cosmos.crypto.keyring.v1.Record.Multi.verify|verify} messages. * @param message Multi message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.crypto.keyring.v1.Record.IMulti, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Multi message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Multi * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.crypto.keyring.v1.Record.Multi; /** * Decodes a Multi message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Multi * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.crypto.keyring.v1.Record.Multi; /** * Verifies a Multi message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Multi message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Multi */ public static fromObject(object: { [k: string]: any }): cosmos.crypto.keyring.v1.Record.Multi; /** * Creates a plain object from a Multi message. Also converts values to other types if specified. * @param message Multi * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.crypto.keyring.v1.Record.Multi, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Multi to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an Offline. */ interface IOffline { } /** Represents an Offline. */ class Offline implements IOffline { /** * Constructs a new Offline. * @param [properties] Properties to set */ constructor(properties?: cosmos.crypto.keyring.v1.Record.IOffline); /** * Encodes the specified Offline message. Does not implicitly {@link cosmos.crypto.keyring.v1.Record.Offline.verify|verify} messages. * @param message Offline message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.crypto.keyring.v1.Record.IOffline, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Offline message, length delimited. Does not implicitly {@link cosmos.crypto.keyring.v1.Record.Offline.verify|verify} messages. * @param message Offline message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.crypto.keyring.v1.Record.IOffline, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Offline message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Offline * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.crypto.keyring.v1.Record.Offline; /** * Decodes an Offline message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Offline * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.crypto.keyring.v1.Record.Offline; /** * Verifies an Offline message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Offline message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Offline */ public static fromObject(object: { [k: string]: any }): cosmos.crypto.keyring.v1.Record.Offline; /** * Creates a plain object from an Offline message. Also converts values to other types if specified. * @param message Offline * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.crypto.keyring.v1.Record.Offline, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Offline to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } } /** Namespace multisig. */ namespace multisig { /** Properties of a LegacyAminoPubKey. */ interface ILegacyAminoPubKey { /** LegacyAminoPubKey threshold */ threshold?: (number|null); /** LegacyAminoPubKey public_keys */ public_keys?: (google.protobuf.IAny[]|null); } /** Represents a LegacyAminoPubKey. */ class LegacyAminoPubKey implements ILegacyAminoPubKey { /** * Constructs a new LegacyAminoPubKey. * @param [properties] Properties to set */ constructor(properties?: cosmos.crypto.multisig.ILegacyAminoPubKey); /** LegacyAminoPubKey threshold. */ public threshold: number; /** LegacyAminoPubKey public_keys. */ public public_keys: google.protobuf.IAny[]; /** * Encodes the specified LegacyAminoPubKey message. Does not implicitly {@link cosmos.crypto.multisig.LegacyAminoPubKey.verify|verify} messages. * @param message LegacyAminoPubKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.crypto.multisig.ILegacyAminoPubKey, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified LegacyAminoPubKey message, length delimited. Does not implicitly {@link cosmos.crypto.multisig.LegacyAminoPubKey.verify|verify} messages. * @param message LegacyAminoPubKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.crypto.multisig.ILegacyAminoPubKey, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a LegacyAminoPubKey message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns LegacyAminoPubKey * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.crypto.multisig.LegacyAminoPubKey; /** * Decodes a LegacyAminoPubKey message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns LegacyAminoPubKey * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.crypto.multisig.LegacyAminoPubKey; /** * Verifies a LegacyAminoPubKey message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a LegacyAminoPubKey message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns LegacyAminoPubKey */ public static fromObject(object: { [k: string]: any }): cosmos.crypto.multisig.LegacyAminoPubKey; /** * Creates a plain object from a LegacyAminoPubKey message. Also converts values to other types if specified. * @param message LegacyAminoPubKey * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.crypto.multisig.LegacyAminoPubKey, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this LegacyAminoPubKey to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Namespace v1beta1. */ namespace v1beta1 { /** Properties of a MultiSignature. */ interface IMultiSignature { /** MultiSignature signatures */ signatures?: (Uint8Array[]|null); } /** Represents a MultiSignature. */ class MultiSignature implements IMultiSignature { /** * Constructs a new MultiSignature. * @param [properties] Properties to set */ constructor(properties?: cosmos.crypto.multisig.v1beta1.IMultiSignature); /** MultiSignature signatures. */ public signatures: Uint8Array[]; /** * Encodes the specified MultiSignature message. Does not implicitly {@link cosmos.crypto.multisig.v1beta1.MultiSignature.verify|verify} messages. * @param message MultiSignature message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.crypto.multisig.v1beta1.IMultiSignature, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MultiSignature message, length delimited. Does not implicitly {@link cosmos.crypto.multisig.v1beta1.MultiSignature.verify|verify} messages. * @param message MultiSignature message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.crypto.multisig.v1beta1.IMultiSignature, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MultiSignature message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MultiSignature * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.crypto.multisig.v1beta1.MultiSignature; /** * Decodes a MultiSignature message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MultiSignature * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.crypto.multisig.v1beta1.MultiSignature; /** * Verifies a MultiSignature message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MultiSignature message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MultiSignature */ public static fromObject(object: { [k: string]: any }): cosmos.crypto.multisig.v1beta1.MultiSignature; /** * Creates a plain object from a MultiSignature message. Also converts values to other types if specified. * @param message MultiSignature * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.crypto.multisig.v1beta1.MultiSignature, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MultiSignature to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a CompactBitArray. */ interface ICompactBitArray { /** CompactBitArray extra_bits_stored */ extra_bits_stored?: (number|null); /** CompactBitArray elems */ elems?: (Uint8Array|null); } /** Represents a CompactBitArray. */ class CompactBitArray implements ICompactBitArray { /** * Constructs a new CompactBitArray. * @param [properties] Properties to set */ constructor(properties?: cosmos.crypto.multisig.v1beta1.ICompactBitArray); /** CompactBitArray extra_bits_stored. */ public extra_bits_stored: number; /** CompactBitArray elems. */ public elems: Uint8Array; /** * Encodes the specified CompactBitArray message. Does not implicitly {@link cosmos.crypto.multisig.v1beta1.CompactBitArray.verify|verify} messages. * @param message CompactBitArray message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.crypto.multisig.v1beta1.ICompactBitArray, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CompactBitArray message, length delimited. Does not implicitly {@link cosmos.crypto.multisig.v1beta1.CompactBitArray.verify|verify} messages. * @param message CompactBitArray message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.crypto.multisig.v1beta1.ICompactBitArray, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CompactBitArray message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CompactBitArray * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.crypto.multisig.v1beta1.CompactBitArray; /** * Decodes a CompactBitArray message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CompactBitArray * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.crypto.multisig.v1beta1.CompactBitArray; /** * Verifies a CompactBitArray message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CompactBitArray message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CompactBitArray */ public static fromObject(object: { [k: string]: any }): cosmos.crypto.multisig.v1beta1.CompactBitArray; /** * Creates a plain object from a CompactBitArray message. Also converts values to other types if specified. * @param message CompactBitArray * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.crypto.multisig.v1beta1.CompactBitArray, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CompactBitArray to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace secp256k1. */ namespace secp256k1 { /** Properties of a PubKey. */ interface IPubKey { /** PubKey key */ key?: (Uint8Array|null); } /** Represents a PubKey. */ class PubKey implements IPubKey { /** * Constructs a new PubKey. * @param [properties] Properties to set */ constructor(properties?: cosmos.crypto.secp256k1.IPubKey); /** PubKey key. */ public key: Uint8Array; /** * Encodes the specified PubKey message. Does not implicitly {@link cosmos.crypto.secp256k1.PubKey.verify|verify} messages. * @param message PubKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.crypto.secp256k1.IPubKey, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PubKey message, length delimited. Does not implicitly {@link cosmos.crypto.secp256k1.PubKey.verify|verify} messages. * @param message PubKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.crypto.secp256k1.IPubKey, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PubKey message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PubKey * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.crypto.secp256k1.PubKey; /** * Decodes a PubKey message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PubKey * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.crypto.secp256k1.PubKey; /** * Verifies a PubKey message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PubKey message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PubKey */ public static fromObject(object: { [k: string]: any }): cosmos.crypto.secp256k1.PubKey; /** * Creates a plain object from a PubKey message. Also converts values to other types if specified. * @param message PubKey * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.crypto.secp256k1.PubKey, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PubKey to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a PrivKey. */ interface IPrivKey { /** PrivKey key */ key?: (Uint8Array|null); } /** Represents a PrivKey. */ class PrivKey implements IPrivKey { /** * Constructs a new PrivKey. * @param [properties] Properties to set */ constructor(properties?: cosmos.crypto.secp256k1.IPrivKey); /** PrivKey key. */ public key: Uint8Array; /** * Encodes the specified PrivKey message. Does not implicitly {@link cosmos.crypto.secp256k1.PrivKey.verify|verify} messages. * @param message PrivKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.crypto.secp256k1.IPrivKey, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PrivKey message, length delimited. Does not implicitly {@link cosmos.crypto.secp256k1.PrivKey.verify|verify} messages. * @param message PrivKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.crypto.secp256k1.IPrivKey, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PrivKey message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PrivKey * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.crypto.secp256k1.PrivKey; /** * Decodes a PrivKey message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PrivKey * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.crypto.secp256k1.PrivKey; /** * Verifies a PrivKey message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PrivKey message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PrivKey */ public static fromObject(object: { [k: string]: any }): cosmos.crypto.secp256k1.PrivKey; /** * Creates a plain object from a PrivKey message. Also converts values to other types if specified. * @param message PrivKey * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.crypto.secp256k1.PrivKey, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PrivKey to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } /** Namespace secp256r1. */ namespace secp256r1 { /** Properties of a PubKey. */ interface IPubKey { /** PubKey key */ key?: (Uint8Array|null); } /** Represents a PubKey. */ class PubKey implements IPubKey { /** * Constructs a new PubKey. * @param [properties] Properties to set */ constructor(properties?: cosmos.crypto.secp256r1.IPubKey); /** PubKey key. */ public key: Uint8Array; /** * Encodes the specified PubKey message. Does not implicitly {@link cosmos.crypto.secp256r1.PubKey.verify|verify} messages. * @param message PubKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.crypto.secp256r1.IPubKey, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PubKey message, length delimited. Does not implicitly {@link cosmos.crypto.secp256r1.PubKey.verify|verify} messages. * @param message PubKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.crypto.secp256r1.IPubKey, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PubKey message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PubKey * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.crypto.secp256r1.PubKey; /** * Decodes a PubKey message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PubKey * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.crypto.secp256r1.PubKey; /** * Verifies a PubKey message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PubKey message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PubKey */ public static fromObject(object: { [k: string]: any }): cosmos.crypto.secp256r1.PubKey; /** * Creates a plain object from a PubKey message. Also converts values to other types if specified. * @param message PubKey * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.crypto.secp256r1.PubKey, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PubKey to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a PrivKey. */ interface IPrivKey { /** PrivKey secret */ secret?: (Uint8Array|null); } /** Represents a PrivKey. */ class PrivKey implements IPrivKey { /** * Constructs a new PrivKey. * @param [properties] Properties to set */ constructor(properties?: cosmos.crypto.secp256r1.IPrivKey); /** PrivKey secret. */ public secret: Uint8Array; /** * Encodes the specified PrivKey message. Does not implicitly {@link cosmos.crypto.secp256r1.PrivKey.verify|verify} messages. * @param message PrivKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.crypto.secp256r1.IPrivKey, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PrivKey message, length delimited. Does not implicitly {@link cosmos.crypto.secp256r1.PrivKey.verify|verify} messages. * @param message PrivKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.crypto.secp256r1.IPrivKey, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PrivKey message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PrivKey * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.crypto.secp256r1.PrivKey; /** * Decodes a PrivKey message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PrivKey * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.crypto.secp256r1.PrivKey; /** * Verifies a PrivKey message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PrivKey message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PrivKey */ public static fromObject(object: { [k: string]: any }): cosmos.crypto.secp256r1.PrivKey; /** * Creates a plain object from a PrivKey message. Also converts values to other types if specified. * @param message PrivKey * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.crypto.secp256r1.PrivKey, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PrivKey to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace distribution. */ namespace distribution { /** Namespace module. */ namespace module { /** Namespace v1. */ namespace v1 { /** Properties of a Module. */ interface IModule { /** Module fee_collector_name */ fee_collector_name?: (string|null); /** Module authority */ authority?: (string|null); } /** Represents a Module. */ class Module implements IModule { /** * Constructs a new Module. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.module.v1.IModule); /** Module fee_collector_name. */ public fee_collector_name: string; /** Module authority. */ public authority: string; /** * Encodes the specified Module message. Does not implicitly {@link cosmos.distribution.module.v1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.module.v1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Module message, length delimited. Does not implicitly {@link cosmos.distribution.module.v1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.module.v1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Module message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.module.v1.Module; /** * Decodes a Module message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.module.v1.Module; /** * Verifies a Module message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Module message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Module */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.module.v1.Module; /** * Creates a plain object from a Module message. Also converts values to other types if specified. * @param message Module * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.module.v1.Module, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Module to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace v1beta1. */ namespace v1beta1 { /** Represents a Query */ class Query extends $protobuf.rpc.Service { /** * Constructs a new Query service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls Params. * @param request QueryParamsRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryParamsResponse */ public params(request: cosmos.distribution.v1beta1.IQueryParamsRequest, callback: cosmos.distribution.v1beta1.Query.ParamsCallback): void; /** * Calls Params. * @param request QueryParamsRequest message or plain object * @returns Promise */ public params(request: cosmos.distribution.v1beta1.IQueryParamsRequest): Promise; /** * Calls ValidatorDistributionInfo. * @param request QueryValidatorDistributionInfoRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryValidatorDistributionInfoResponse */ public validatorDistributionInfo(request: cosmos.distribution.v1beta1.IQueryValidatorDistributionInfoRequest, callback: cosmos.distribution.v1beta1.Query.ValidatorDistributionInfoCallback): void; /** * Calls ValidatorDistributionInfo. * @param request QueryValidatorDistributionInfoRequest message or plain object * @returns Promise */ public validatorDistributionInfo(request: cosmos.distribution.v1beta1.IQueryValidatorDistributionInfoRequest): Promise; /** * Calls ValidatorOutstandingRewards. * @param request QueryValidatorOutstandingRewardsRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryValidatorOutstandingRewardsResponse */ public validatorOutstandingRewards(request: cosmos.distribution.v1beta1.IQueryValidatorOutstandingRewardsRequest, callback: cosmos.distribution.v1beta1.Query.ValidatorOutstandingRewardsCallback): void; /** * Calls ValidatorOutstandingRewards. * @param request QueryValidatorOutstandingRewardsRequest message or plain object * @returns Promise */ public validatorOutstandingRewards(request: cosmos.distribution.v1beta1.IQueryValidatorOutstandingRewardsRequest): Promise; /** * Calls ValidatorCommission. * @param request QueryValidatorCommissionRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryValidatorCommissionResponse */ public validatorCommission(request: cosmos.distribution.v1beta1.IQueryValidatorCommissionRequest, callback: cosmos.distribution.v1beta1.Query.ValidatorCommissionCallback): void; /** * Calls ValidatorCommission. * @param request QueryValidatorCommissionRequest message or plain object * @returns Promise */ public validatorCommission(request: cosmos.distribution.v1beta1.IQueryValidatorCommissionRequest): Promise; /** * Calls ValidatorSlashes. * @param request QueryValidatorSlashesRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryValidatorSlashesResponse */ public validatorSlashes(request: cosmos.distribution.v1beta1.IQueryValidatorSlashesRequest, callback: cosmos.distribution.v1beta1.Query.ValidatorSlashesCallback): void; /** * Calls ValidatorSlashes. * @param request QueryValidatorSlashesRequest message or plain object * @returns Promise */ public validatorSlashes(request: cosmos.distribution.v1beta1.IQueryValidatorSlashesRequest): Promise; /** * Calls DelegationRewards. * @param request QueryDelegationRewardsRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryDelegationRewardsResponse */ public delegationRewards(request: cosmos.distribution.v1beta1.IQueryDelegationRewardsRequest, callback: cosmos.distribution.v1beta1.Query.DelegationRewardsCallback): void; /** * Calls DelegationRewards. * @param request QueryDelegationRewardsRequest message or plain object * @returns Promise */ public delegationRewards(request: cosmos.distribution.v1beta1.IQueryDelegationRewardsRequest): Promise; /** * Calls DelegationTotalRewards. * @param request QueryDelegationTotalRewardsRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryDelegationTotalRewardsResponse */ public delegationTotalRewards(request: cosmos.distribution.v1beta1.IQueryDelegationTotalRewardsRequest, callback: cosmos.distribution.v1beta1.Query.DelegationTotalRewardsCallback): void; /** * Calls DelegationTotalRewards. * @param request QueryDelegationTotalRewardsRequest message or plain object * @returns Promise */ public delegationTotalRewards(request: cosmos.distribution.v1beta1.IQueryDelegationTotalRewardsRequest): Promise; /** * Calls DelegatorValidators. * @param request QueryDelegatorValidatorsRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryDelegatorValidatorsResponse */ public delegatorValidators(request: cosmos.distribution.v1beta1.IQueryDelegatorValidatorsRequest, callback: cosmos.distribution.v1beta1.Query.DelegatorValidatorsCallback): void; /** * Calls DelegatorValidators. * @param request QueryDelegatorValidatorsRequest message or plain object * @returns Promise */ public delegatorValidators(request: cosmos.distribution.v1beta1.IQueryDelegatorValidatorsRequest): Promise; /** * Calls DelegatorWithdrawAddress. * @param request QueryDelegatorWithdrawAddressRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryDelegatorWithdrawAddressResponse */ public delegatorWithdrawAddress(request: cosmos.distribution.v1beta1.IQueryDelegatorWithdrawAddressRequest, callback: cosmos.distribution.v1beta1.Query.DelegatorWithdrawAddressCallback): void; /** * Calls DelegatorWithdrawAddress. * @param request QueryDelegatorWithdrawAddressRequest message or plain object * @returns Promise */ public delegatorWithdrawAddress(request: cosmos.distribution.v1beta1.IQueryDelegatorWithdrawAddressRequest): Promise; /** * Calls CommunityPool. * @param request QueryCommunityPoolRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryCommunityPoolResponse */ public communityPool(request: cosmos.distribution.v1beta1.IQueryCommunityPoolRequest, callback: cosmos.distribution.v1beta1.Query.CommunityPoolCallback): void; /** * Calls CommunityPool. * @param request QueryCommunityPoolRequest message or plain object * @returns Promise */ public communityPool(request: cosmos.distribution.v1beta1.IQueryCommunityPoolRequest): Promise; } namespace Query { /** * Callback as used by {@link cosmos.distribution.v1beta1.Query#params}. * @param error Error, if any * @param [response] QueryParamsResponse */ type ParamsCallback = (error: (Error|null), response?: cosmos.distribution.v1beta1.QueryParamsResponse) => void; /** * Callback as used by {@link cosmos.distribution.v1beta1.Query#validatorDistributionInfo}. * @param error Error, if any * @param [response] QueryValidatorDistributionInfoResponse */ type ValidatorDistributionInfoCallback = (error: (Error|null), response?: cosmos.distribution.v1beta1.QueryValidatorDistributionInfoResponse) => void; /** * Callback as used by {@link cosmos.distribution.v1beta1.Query#validatorOutstandingRewards}. * @param error Error, if any * @param [response] QueryValidatorOutstandingRewardsResponse */ type ValidatorOutstandingRewardsCallback = (error: (Error|null), response?: cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsResponse) => void; /** * Callback as used by {@link cosmos.distribution.v1beta1.Query#validatorCommission}. * @param error Error, if any * @param [response] QueryValidatorCommissionResponse */ type ValidatorCommissionCallback = (error: (Error|null), response?: cosmos.distribution.v1beta1.QueryValidatorCommissionResponse) => void; /** * Callback as used by {@link cosmos.distribution.v1beta1.Query#validatorSlashes}. * @param error Error, if any * @param [response] QueryValidatorSlashesResponse */ type ValidatorSlashesCallback = (error: (Error|null), response?: cosmos.distribution.v1beta1.QueryValidatorSlashesResponse) => void; /** * Callback as used by {@link cosmos.distribution.v1beta1.Query#delegationRewards}. * @param error Error, if any * @param [response] QueryDelegationRewardsResponse */ type DelegationRewardsCallback = (error: (Error|null), response?: cosmos.distribution.v1beta1.QueryDelegationRewardsResponse) => void; /** * Callback as used by {@link cosmos.distribution.v1beta1.Query#delegationTotalRewards}. * @param error Error, if any * @param [response] QueryDelegationTotalRewardsResponse */ type DelegationTotalRewardsCallback = (error: (Error|null), response?: cosmos.distribution.v1beta1.QueryDelegationTotalRewardsResponse) => void; /** * Callback as used by {@link cosmos.distribution.v1beta1.Query#delegatorValidators}. * @param error Error, if any * @param [response] QueryDelegatorValidatorsResponse */ type DelegatorValidatorsCallback = (error: (Error|null), response?: cosmos.distribution.v1beta1.QueryDelegatorValidatorsResponse) => void; /** * Callback as used by {@link cosmos.distribution.v1beta1.Query#delegatorWithdrawAddress}. * @param error Error, if any * @param [response] QueryDelegatorWithdrawAddressResponse */ type DelegatorWithdrawAddressCallback = (error: (Error|null), response?: cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressResponse) => void; /** * Callback as used by {@link cosmos.distribution.v1beta1.Query#communityPool}. * @param error Error, if any * @param [response] QueryCommunityPoolResponse */ type CommunityPoolCallback = (error: (Error|null), response?: cosmos.distribution.v1beta1.QueryCommunityPoolResponse) => void; } /** Properties of a QueryParamsRequest. */ interface IQueryParamsRequest { } /** Represents a QueryParamsRequest. */ class QueryParamsRequest implements IQueryParamsRequest { /** * Constructs a new QueryParamsRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IQueryParamsRequest); /** * Encodes the specified QueryParamsRequest message. Does not implicitly {@link cosmos.distribution.v1beta1.QueryParamsRequest.verify|verify} messages. * @param message QueryParamsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IQueryParamsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryParamsRequest message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.QueryParamsRequest.verify|verify} messages. * @param message QueryParamsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IQueryParamsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryParamsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryParamsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.QueryParamsRequest; /** * Decodes a QueryParamsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryParamsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.QueryParamsRequest; /** * Verifies a QueryParamsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryParamsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryParamsRequest */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.QueryParamsRequest; /** * Creates a plain object from a QueryParamsRequest message. Also converts values to other types if specified. * @param message QueryParamsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.QueryParamsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryParamsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryParamsResponse. */ interface IQueryParamsResponse { /** QueryParamsResponse params */ params?: (cosmos.distribution.v1beta1.IParams|null); } /** Represents a QueryParamsResponse. */ class QueryParamsResponse implements IQueryParamsResponse { /** * Constructs a new QueryParamsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IQueryParamsResponse); /** QueryParamsResponse params. */ public params?: (cosmos.distribution.v1beta1.IParams|null); /** * Encodes the specified QueryParamsResponse message. Does not implicitly {@link cosmos.distribution.v1beta1.QueryParamsResponse.verify|verify} messages. * @param message QueryParamsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IQueryParamsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryParamsResponse message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.QueryParamsResponse.verify|verify} messages. * @param message QueryParamsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IQueryParamsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryParamsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryParamsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.QueryParamsResponse; /** * Decodes a QueryParamsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryParamsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.QueryParamsResponse; /** * Verifies a QueryParamsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryParamsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryParamsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.QueryParamsResponse; /** * Creates a plain object from a QueryParamsResponse message. Also converts values to other types if specified. * @param message QueryParamsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.QueryParamsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryParamsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryValidatorDistributionInfoRequest. */ interface IQueryValidatorDistributionInfoRequest { /** QueryValidatorDistributionInfoRequest validator_address */ validator_address?: (string|null); } /** Represents a QueryValidatorDistributionInfoRequest. */ class QueryValidatorDistributionInfoRequest implements IQueryValidatorDistributionInfoRequest { /** * Constructs a new QueryValidatorDistributionInfoRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IQueryValidatorDistributionInfoRequest); /** QueryValidatorDistributionInfoRequest validator_address. */ public validator_address: string; /** * Encodes the specified QueryValidatorDistributionInfoRequest message. Does not implicitly {@link cosmos.distribution.v1beta1.QueryValidatorDistributionInfoRequest.verify|verify} messages. * @param message QueryValidatorDistributionInfoRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IQueryValidatorDistributionInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryValidatorDistributionInfoRequest message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.QueryValidatorDistributionInfoRequest.verify|verify} messages. * @param message QueryValidatorDistributionInfoRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IQueryValidatorDistributionInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryValidatorDistributionInfoRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryValidatorDistributionInfoRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.QueryValidatorDistributionInfoRequest; /** * Decodes a QueryValidatorDistributionInfoRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryValidatorDistributionInfoRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.QueryValidatorDistributionInfoRequest; /** * Verifies a QueryValidatorDistributionInfoRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryValidatorDistributionInfoRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryValidatorDistributionInfoRequest */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.QueryValidatorDistributionInfoRequest; /** * Creates a plain object from a QueryValidatorDistributionInfoRequest message. Also converts values to other types if specified. * @param message QueryValidatorDistributionInfoRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.QueryValidatorDistributionInfoRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryValidatorDistributionInfoRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryValidatorDistributionInfoResponse. */ interface IQueryValidatorDistributionInfoResponse { /** QueryValidatorDistributionInfoResponse operator_address */ operator_address?: (string|null); /** QueryValidatorDistributionInfoResponse self_bond_rewards */ self_bond_rewards?: (cosmos.base.v1beta1.IDecCoin[]|null); /** QueryValidatorDistributionInfoResponse commission */ commission?: (cosmos.base.v1beta1.IDecCoin[]|null); } /** Represents a QueryValidatorDistributionInfoResponse. */ class QueryValidatorDistributionInfoResponse implements IQueryValidatorDistributionInfoResponse { /** * Constructs a new QueryValidatorDistributionInfoResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IQueryValidatorDistributionInfoResponse); /** QueryValidatorDistributionInfoResponse operator_address. */ public operator_address: string; /** QueryValidatorDistributionInfoResponse self_bond_rewards. */ public self_bond_rewards: cosmos.base.v1beta1.IDecCoin[]; /** QueryValidatorDistributionInfoResponse commission. */ public commission: cosmos.base.v1beta1.IDecCoin[]; /** * Encodes the specified QueryValidatorDistributionInfoResponse message. Does not implicitly {@link cosmos.distribution.v1beta1.QueryValidatorDistributionInfoResponse.verify|verify} messages. * @param message QueryValidatorDistributionInfoResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IQueryValidatorDistributionInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryValidatorDistributionInfoResponse message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.QueryValidatorDistributionInfoResponse.verify|verify} messages. * @param message QueryValidatorDistributionInfoResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IQueryValidatorDistributionInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryValidatorDistributionInfoResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryValidatorDistributionInfoResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.QueryValidatorDistributionInfoResponse; /** * Decodes a QueryValidatorDistributionInfoResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryValidatorDistributionInfoResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.QueryValidatorDistributionInfoResponse; /** * Verifies a QueryValidatorDistributionInfoResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryValidatorDistributionInfoResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryValidatorDistributionInfoResponse */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.QueryValidatorDistributionInfoResponse; /** * Creates a plain object from a QueryValidatorDistributionInfoResponse message. Also converts values to other types if specified. * @param message QueryValidatorDistributionInfoResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.QueryValidatorDistributionInfoResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryValidatorDistributionInfoResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryValidatorOutstandingRewardsRequest. */ interface IQueryValidatorOutstandingRewardsRequest { /** QueryValidatorOutstandingRewardsRequest validator_address */ validator_address?: (string|null); } /** Represents a QueryValidatorOutstandingRewardsRequest. */ class QueryValidatorOutstandingRewardsRequest implements IQueryValidatorOutstandingRewardsRequest { /** * Constructs a new QueryValidatorOutstandingRewardsRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IQueryValidatorOutstandingRewardsRequest); /** QueryValidatorOutstandingRewardsRequest validator_address. */ public validator_address: string; /** * Encodes the specified QueryValidatorOutstandingRewardsRequest message. Does not implicitly {@link cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsRequest.verify|verify} messages. * @param message QueryValidatorOutstandingRewardsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IQueryValidatorOutstandingRewardsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryValidatorOutstandingRewardsRequest message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsRequest.verify|verify} messages. * @param message QueryValidatorOutstandingRewardsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IQueryValidatorOutstandingRewardsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryValidatorOutstandingRewardsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryValidatorOutstandingRewardsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsRequest; /** * Decodes a QueryValidatorOutstandingRewardsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryValidatorOutstandingRewardsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsRequest; /** * Verifies a QueryValidatorOutstandingRewardsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryValidatorOutstandingRewardsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryValidatorOutstandingRewardsRequest */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsRequest; /** * Creates a plain object from a QueryValidatorOutstandingRewardsRequest message. Also converts values to other types if specified. * @param message QueryValidatorOutstandingRewardsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryValidatorOutstandingRewardsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryValidatorOutstandingRewardsResponse. */ interface IQueryValidatorOutstandingRewardsResponse { /** QueryValidatorOutstandingRewardsResponse rewards */ rewards?: (cosmos.distribution.v1beta1.IValidatorOutstandingRewards|null); } /** Represents a QueryValidatorOutstandingRewardsResponse. */ class QueryValidatorOutstandingRewardsResponse implements IQueryValidatorOutstandingRewardsResponse { /** * Constructs a new QueryValidatorOutstandingRewardsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IQueryValidatorOutstandingRewardsResponse); /** QueryValidatorOutstandingRewardsResponse rewards. */ public rewards?: (cosmos.distribution.v1beta1.IValidatorOutstandingRewards|null); /** * Encodes the specified QueryValidatorOutstandingRewardsResponse message. Does not implicitly {@link cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsResponse.verify|verify} messages. * @param message QueryValidatorOutstandingRewardsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IQueryValidatorOutstandingRewardsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryValidatorOutstandingRewardsResponse message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsResponse.verify|verify} messages. * @param message QueryValidatorOutstandingRewardsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IQueryValidatorOutstandingRewardsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryValidatorOutstandingRewardsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryValidatorOutstandingRewardsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsResponse; /** * Decodes a QueryValidatorOutstandingRewardsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryValidatorOutstandingRewardsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsResponse; /** * Verifies a QueryValidatorOutstandingRewardsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryValidatorOutstandingRewardsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryValidatorOutstandingRewardsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsResponse; /** * Creates a plain object from a QueryValidatorOutstandingRewardsResponse message. Also converts values to other types if specified. * @param message QueryValidatorOutstandingRewardsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryValidatorOutstandingRewardsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryValidatorCommissionRequest. */ interface IQueryValidatorCommissionRequest { /** QueryValidatorCommissionRequest validator_address */ validator_address?: (string|null); } /** Represents a QueryValidatorCommissionRequest. */ class QueryValidatorCommissionRequest implements IQueryValidatorCommissionRequest { /** * Constructs a new QueryValidatorCommissionRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IQueryValidatorCommissionRequest); /** QueryValidatorCommissionRequest validator_address. */ public validator_address: string; /** * Encodes the specified QueryValidatorCommissionRequest message. Does not implicitly {@link cosmos.distribution.v1beta1.QueryValidatorCommissionRequest.verify|verify} messages. * @param message QueryValidatorCommissionRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IQueryValidatorCommissionRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryValidatorCommissionRequest message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.QueryValidatorCommissionRequest.verify|verify} messages. * @param message QueryValidatorCommissionRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IQueryValidatorCommissionRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryValidatorCommissionRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryValidatorCommissionRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.QueryValidatorCommissionRequest; /** * Decodes a QueryValidatorCommissionRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryValidatorCommissionRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.QueryValidatorCommissionRequest; /** * Verifies a QueryValidatorCommissionRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryValidatorCommissionRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryValidatorCommissionRequest */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.QueryValidatorCommissionRequest; /** * Creates a plain object from a QueryValidatorCommissionRequest message. Also converts values to other types if specified. * @param message QueryValidatorCommissionRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.QueryValidatorCommissionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryValidatorCommissionRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryValidatorCommissionResponse. */ interface IQueryValidatorCommissionResponse { /** QueryValidatorCommissionResponse commission */ commission?: (cosmos.distribution.v1beta1.IValidatorAccumulatedCommission|null); } /** Represents a QueryValidatorCommissionResponse. */ class QueryValidatorCommissionResponse implements IQueryValidatorCommissionResponse { /** * Constructs a new QueryValidatorCommissionResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IQueryValidatorCommissionResponse); /** QueryValidatorCommissionResponse commission. */ public commission?: (cosmos.distribution.v1beta1.IValidatorAccumulatedCommission|null); /** * Encodes the specified QueryValidatorCommissionResponse message. Does not implicitly {@link cosmos.distribution.v1beta1.QueryValidatorCommissionResponse.verify|verify} messages. * @param message QueryValidatorCommissionResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IQueryValidatorCommissionResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryValidatorCommissionResponse message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.QueryValidatorCommissionResponse.verify|verify} messages. * @param message QueryValidatorCommissionResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IQueryValidatorCommissionResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryValidatorCommissionResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryValidatorCommissionResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.QueryValidatorCommissionResponse; /** * Decodes a QueryValidatorCommissionResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryValidatorCommissionResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.QueryValidatorCommissionResponse; /** * Verifies a QueryValidatorCommissionResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryValidatorCommissionResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryValidatorCommissionResponse */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.QueryValidatorCommissionResponse; /** * Creates a plain object from a QueryValidatorCommissionResponse message. Also converts values to other types if specified. * @param message QueryValidatorCommissionResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.QueryValidatorCommissionResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryValidatorCommissionResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryValidatorSlashesRequest. */ interface IQueryValidatorSlashesRequest { /** QueryValidatorSlashesRequest validator_address */ validator_address?: (string|null); /** QueryValidatorSlashesRequest starting_height */ starting_height?: (Long|null); /** QueryValidatorSlashesRequest ending_height */ ending_height?: (Long|null); /** QueryValidatorSlashesRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a QueryValidatorSlashesRequest. */ class QueryValidatorSlashesRequest implements IQueryValidatorSlashesRequest { /** * Constructs a new QueryValidatorSlashesRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IQueryValidatorSlashesRequest); /** QueryValidatorSlashesRequest validator_address. */ public validator_address: string; /** QueryValidatorSlashesRequest starting_height. */ public starting_height: Long; /** QueryValidatorSlashesRequest ending_height. */ public ending_height: Long; /** QueryValidatorSlashesRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** * Encodes the specified QueryValidatorSlashesRequest message. Does not implicitly {@link cosmos.distribution.v1beta1.QueryValidatorSlashesRequest.verify|verify} messages. * @param message QueryValidatorSlashesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IQueryValidatorSlashesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryValidatorSlashesRequest message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.QueryValidatorSlashesRequest.verify|verify} messages. * @param message QueryValidatorSlashesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IQueryValidatorSlashesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryValidatorSlashesRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryValidatorSlashesRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.QueryValidatorSlashesRequest; /** * Decodes a QueryValidatorSlashesRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryValidatorSlashesRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.QueryValidatorSlashesRequest; /** * Verifies a QueryValidatorSlashesRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryValidatorSlashesRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryValidatorSlashesRequest */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.QueryValidatorSlashesRequest; /** * Creates a plain object from a QueryValidatorSlashesRequest message. Also converts values to other types if specified. * @param message QueryValidatorSlashesRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.QueryValidatorSlashesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryValidatorSlashesRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryValidatorSlashesResponse. */ interface IQueryValidatorSlashesResponse { /** QueryValidatorSlashesResponse slashes */ slashes?: (cosmos.distribution.v1beta1.IValidatorSlashEvent[]|null); /** QueryValidatorSlashesResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a QueryValidatorSlashesResponse. */ class QueryValidatorSlashesResponse implements IQueryValidatorSlashesResponse { /** * Constructs a new QueryValidatorSlashesResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IQueryValidatorSlashesResponse); /** QueryValidatorSlashesResponse slashes. */ public slashes: cosmos.distribution.v1beta1.IValidatorSlashEvent[]; /** QueryValidatorSlashesResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified QueryValidatorSlashesResponse message. Does not implicitly {@link cosmos.distribution.v1beta1.QueryValidatorSlashesResponse.verify|verify} messages. * @param message QueryValidatorSlashesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IQueryValidatorSlashesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryValidatorSlashesResponse message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.QueryValidatorSlashesResponse.verify|verify} messages. * @param message QueryValidatorSlashesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IQueryValidatorSlashesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryValidatorSlashesResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryValidatorSlashesResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.QueryValidatorSlashesResponse; /** * Decodes a QueryValidatorSlashesResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryValidatorSlashesResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.QueryValidatorSlashesResponse; /** * Verifies a QueryValidatorSlashesResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryValidatorSlashesResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryValidatorSlashesResponse */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.QueryValidatorSlashesResponse; /** * Creates a plain object from a QueryValidatorSlashesResponse message. Also converts values to other types if specified. * @param message QueryValidatorSlashesResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.QueryValidatorSlashesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryValidatorSlashesResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryDelegationRewardsRequest. */ interface IQueryDelegationRewardsRequest { /** QueryDelegationRewardsRequest delegator_address */ delegator_address?: (string|null); /** QueryDelegationRewardsRequest validator_address */ validator_address?: (string|null); } /** Represents a QueryDelegationRewardsRequest. */ class QueryDelegationRewardsRequest implements IQueryDelegationRewardsRequest { /** * Constructs a new QueryDelegationRewardsRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IQueryDelegationRewardsRequest); /** QueryDelegationRewardsRequest delegator_address. */ public delegator_address: string; /** QueryDelegationRewardsRequest validator_address. */ public validator_address: string; /** * Encodes the specified QueryDelegationRewardsRequest message. Does not implicitly {@link cosmos.distribution.v1beta1.QueryDelegationRewardsRequest.verify|verify} messages. * @param message QueryDelegationRewardsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IQueryDelegationRewardsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryDelegationRewardsRequest message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.QueryDelegationRewardsRequest.verify|verify} messages. * @param message QueryDelegationRewardsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IQueryDelegationRewardsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryDelegationRewardsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryDelegationRewardsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.QueryDelegationRewardsRequest; /** * Decodes a QueryDelegationRewardsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryDelegationRewardsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.QueryDelegationRewardsRequest; /** * Verifies a QueryDelegationRewardsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryDelegationRewardsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryDelegationRewardsRequest */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.QueryDelegationRewardsRequest; /** * Creates a plain object from a QueryDelegationRewardsRequest message. Also converts values to other types if specified. * @param message QueryDelegationRewardsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.QueryDelegationRewardsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryDelegationRewardsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryDelegationRewardsResponse. */ interface IQueryDelegationRewardsResponse { /** QueryDelegationRewardsResponse rewards */ rewards?: (cosmos.base.v1beta1.IDecCoin[]|null); } /** Represents a QueryDelegationRewardsResponse. */ class QueryDelegationRewardsResponse implements IQueryDelegationRewardsResponse { /** * Constructs a new QueryDelegationRewardsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IQueryDelegationRewardsResponse); /** QueryDelegationRewardsResponse rewards. */ public rewards: cosmos.base.v1beta1.IDecCoin[]; /** * Encodes the specified QueryDelegationRewardsResponse message. Does not implicitly {@link cosmos.distribution.v1beta1.QueryDelegationRewardsResponse.verify|verify} messages. * @param message QueryDelegationRewardsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IQueryDelegationRewardsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryDelegationRewardsResponse message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.QueryDelegationRewardsResponse.verify|verify} messages. * @param message QueryDelegationRewardsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IQueryDelegationRewardsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryDelegationRewardsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryDelegationRewardsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.QueryDelegationRewardsResponse; /** * Decodes a QueryDelegationRewardsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryDelegationRewardsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.QueryDelegationRewardsResponse; /** * Verifies a QueryDelegationRewardsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryDelegationRewardsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryDelegationRewardsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.QueryDelegationRewardsResponse; /** * Creates a plain object from a QueryDelegationRewardsResponse message. Also converts values to other types if specified. * @param message QueryDelegationRewardsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.QueryDelegationRewardsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryDelegationRewardsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryDelegationTotalRewardsRequest. */ interface IQueryDelegationTotalRewardsRequest { /** QueryDelegationTotalRewardsRequest delegator_address */ delegator_address?: (string|null); } /** Represents a QueryDelegationTotalRewardsRequest. */ class QueryDelegationTotalRewardsRequest implements IQueryDelegationTotalRewardsRequest { /** * Constructs a new QueryDelegationTotalRewardsRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IQueryDelegationTotalRewardsRequest); /** QueryDelegationTotalRewardsRequest delegator_address. */ public delegator_address: string; /** * Encodes the specified QueryDelegationTotalRewardsRequest message. Does not implicitly {@link cosmos.distribution.v1beta1.QueryDelegationTotalRewardsRequest.verify|verify} messages. * @param message QueryDelegationTotalRewardsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IQueryDelegationTotalRewardsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryDelegationTotalRewardsRequest message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.QueryDelegationTotalRewardsRequest.verify|verify} messages. * @param message QueryDelegationTotalRewardsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IQueryDelegationTotalRewardsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryDelegationTotalRewardsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryDelegationTotalRewardsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.QueryDelegationTotalRewardsRequest; /** * Decodes a QueryDelegationTotalRewardsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryDelegationTotalRewardsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.QueryDelegationTotalRewardsRequest; /** * Verifies a QueryDelegationTotalRewardsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryDelegationTotalRewardsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryDelegationTotalRewardsRequest */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.QueryDelegationTotalRewardsRequest; /** * Creates a plain object from a QueryDelegationTotalRewardsRequest message. Also converts values to other types if specified. * @param message QueryDelegationTotalRewardsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.QueryDelegationTotalRewardsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryDelegationTotalRewardsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryDelegationTotalRewardsResponse. */ interface IQueryDelegationTotalRewardsResponse { /** QueryDelegationTotalRewardsResponse rewards */ rewards?: (cosmos.distribution.v1beta1.IDelegationDelegatorReward[]|null); /** QueryDelegationTotalRewardsResponse total */ total?: (cosmos.base.v1beta1.IDecCoin[]|null); } /** Represents a QueryDelegationTotalRewardsResponse. */ class QueryDelegationTotalRewardsResponse implements IQueryDelegationTotalRewardsResponse { /** * Constructs a new QueryDelegationTotalRewardsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IQueryDelegationTotalRewardsResponse); /** QueryDelegationTotalRewardsResponse rewards. */ public rewards: cosmos.distribution.v1beta1.IDelegationDelegatorReward[]; /** QueryDelegationTotalRewardsResponse total. */ public total: cosmos.base.v1beta1.IDecCoin[]; /** * Encodes the specified QueryDelegationTotalRewardsResponse message. Does not implicitly {@link cosmos.distribution.v1beta1.QueryDelegationTotalRewardsResponse.verify|verify} messages. * @param message QueryDelegationTotalRewardsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IQueryDelegationTotalRewardsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryDelegationTotalRewardsResponse message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.QueryDelegationTotalRewardsResponse.verify|verify} messages. * @param message QueryDelegationTotalRewardsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IQueryDelegationTotalRewardsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryDelegationTotalRewardsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryDelegationTotalRewardsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.QueryDelegationTotalRewardsResponse; /** * Decodes a QueryDelegationTotalRewardsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryDelegationTotalRewardsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.QueryDelegationTotalRewardsResponse; /** * Verifies a QueryDelegationTotalRewardsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryDelegationTotalRewardsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryDelegationTotalRewardsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.QueryDelegationTotalRewardsResponse; /** * Creates a plain object from a QueryDelegationTotalRewardsResponse message. Also converts values to other types if specified. * @param message QueryDelegationTotalRewardsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.QueryDelegationTotalRewardsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryDelegationTotalRewardsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryDelegatorValidatorsRequest. */ interface IQueryDelegatorValidatorsRequest { /** QueryDelegatorValidatorsRequest delegator_address */ delegator_address?: (string|null); } /** Represents a QueryDelegatorValidatorsRequest. */ class QueryDelegatorValidatorsRequest implements IQueryDelegatorValidatorsRequest { /** * Constructs a new QueryDelegatorValidatorsRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IQueryDelegatorValidatorsRequest); /** QueryDelegatorValidatorsRequest delegator_address. */ public delegator_address: string; /** * Encodes the specified QueryDelegatorValidatorsRequest message. Does not implicitly {@link cosmos.distribution.v1beta1.QueryDelegatorValidatorsRequest.verify|verify} messages. * @param message QueryDelegatorValidatorsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IQueryDelegatorValidatorsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryDelegatorValidatorsRequest message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.QueryDelegatorValidatorsRequest.verify|verify} messages. * @param message QueryDelegatorValidatorsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IQueryDelegatorValidatorsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryDelegatorValidatorsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryDelegatorValidatorsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.QueryDelegatorValidatorsRequest; /** * Decodes a QueryDelegatorValidatorsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryDelegatorValidatorsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.QueryDelegatorValidatorsRequest; /** * Verifies a QueryDelegatorValidatorsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryDelegatorValidatorsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryDelegatorValidatorsRequest */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.QueryDelegatorValidatorsRequest; /** * Creates a plain object from a QueryDelegatorValidatorsRequest message. Also converts values to other types if specified. * @param message QueryDelegatorValidatorsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.QueryDelegatorValidatorsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryDelegatorValidatorsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryDelegatorValidatorsResponse. */ interface IQueryDelegatorValidatorsResponse { /** QueryDelegatorValidatorsResponse validators */ validators?: (string[]|null); } /** Represents a QueryDelegatorValidatorsResponse. */ class QueryDelegatorValidatorsResponse implements IQueryDelegatorValidatorsResponse { /** * Constructs a new QueryDelegatorValidatorsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IQueryDelegatorValidatorsResponse); /** QueryDelegatorValidatorsResponse validators. */ public validators: string[]; /** * Encodes the specified QueryDelegatorValidatorsResponse message. Does not implicitly {@link cosmos.distribution.v1beta1.QueryDelegatorValidatorsResponse.verify|verify} messages. * @param message QueryDelegatorValidatorsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IQueryDelegatorValidatorsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryDelegatorValidatorsResponse message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.QueryDelegatorValidatorsResponse.verify|verify} messages. * @param message QueryDelegatorValidatorsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IQueryDelegatorValidatorsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryDelegatorValidatorsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryDelegatorValidatorsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.QueryDelegatorValidatorsResponse; /** * Decodes a QueryDelegatorValidatorsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryDelegatorValidatorsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.QueryDelegatorValidatorsResponse; /** * Verifies a QueryDelegatorValidatorsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryDelegatorValidatorsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryDelegatorValidatorsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.QueryDelegatorValidatorsResponse; /** * Creates a plain object from a QueryDelegatorValidatorsResponse message. Also converts values to other types if specified. * @param message QueryDelegatorValidatorsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.QueryDelegatorValidatorsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryDelegatorValidatorsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryDelegatorWithdrawAddressRequest. */ interface IQueryDelegatorWithdrawAddressRequest { /** QueryDelegatorWithdrawAddressRequest delegator_address */ delegator_address?: (string|null); } /** Represents a QueryDelegatorWithdrawAddressRequest. */ class QueryDelegatorWithdrawAddressRequest implements IQueryDelegatorWithdrawAddressRequest { /** * Constructs a new QueryDelegatorWithdrawAddressRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IQueryDelegatorWithdrawAddressRequest); /** QueryDelegatorWithdrawAddressRequest delegator_address. */ public delegator_address: string; /** * Encodes the specified QueryDelegatorWithdrawAddressRequest message. Does not implicitly {@link cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressRequest.verify|verify} messages. * @param message QueryDelegatorWithdrawAddressRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IQueryDelegatorWithdrawAddressRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryDelegatorWithdrawAddressRequest message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressRequest.verify|verify} messages. * @param message QueryDelegatorWithdrawAddressRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IQueryDelegatorWithdrawAddressRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryDelegatorWithdrawAddressRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryDelegatorWithdrawAddressRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressRequest; /** * Decodes a QueryDelegatorWithdrawAddressRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryDelegatorWithdrawAddressRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressRequest; /** * Verifies a QueryDelegatorWithdrawAddressRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryDelegatorWithdrawAddressRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryDelegatorWithdrawAddressRequest */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressRequest; /** * Creates a plain object from a QueryDelegatorWithdrawAddressRequest message. Also converts values to other types if specified. * @param message QueryDelegatorWithdrawAddressRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryDelegatorWithdrawAddressRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryDelegatorWithdrawAddressResponse. */ interface IQueryDelegatorWithdrawAddressResponse { /** QueryDelegatorWithdrawAddressResponse withdraw_address */ withdraw_address?: (string|null); } /** Represents a QueryDelegatorWithdrawAddressResponse. */ class QueryDelegatorWithdrawAddressResponse implements IQueryDelegatorWithdrawAddressResponse { /** * Constructs a new QueryDelegatorWithdrawAddressResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IQueryDelegatorWithdrawAddressResponse); /** QueryDelegatorWithdrawAddressResponse withdraw_address. */ public withdraw_address: string; /** * Encodes the specified QueryDelegatorWithdrawAddressResponse message. Does not implicitly {@link cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressResponse.verify|verify} messages. * @param message QueryDelegatorWithdrawAddressResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IQueryDelegatorWithdrawAddressResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryDelegatorWithdrawAddressResponse message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressResponse.verify|verify} messages. * @param message QueryDelegatorWithdrawAddressResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IQueryDelegatorWithdrawAddressResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryDelegatorWithdrawAddressResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryDelegatorWithdrawAddressResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressResponse; /** * Decodes a QueryDelegatorWithdrawAddressResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryDelegatorWithdrawAddressResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressResponse; /** * Verifies a QueryDelegatorWithdrawAddressResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryDelegatorWithdrawAddressResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryDelegatorWithdrawAddressResponse */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressResponse; /** * Creates a plain object from a QueryDelegatorWithdrawAddressResponse message. Also converts values to other types if specified. * @param message QueryDelegatorWithdrawAddressResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryDelegatorWithdrawAddressResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryCommunityPoolRequest. */ interface IQueryCommunityPoolRequest { } /** Represents a QueryCommunityPoolRequest. */ class QueryCommunityPoolRequest implements IQueryCommunityPoolRequest { /** * Constructs a new QueryCommunityPoolRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IQueryCommunityPoolRequest); /** * Encodes the specified QueryCommunityPoolRequest message. Does not implicitly {@link cosmos.distribution.v1beta1.QueryCommunityPoolRequest.verify|verify} messages. * @param message QueryCommunityPoolRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IQueryCommunityPoolRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryCommunityPoolRequest message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.QueryCommunityPoolRequest.verify|verify} messages. * @param message QueryCommunityPoolRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IQueryCommunityPoolRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryCommunityPoolRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryCommunityPoolRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.QueryCommunityPoolRequest; /** * Decodes a QueryCommunityPoolRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryCommunityPoolRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.QueryCommunityPoolRequest; /** * Verifies a QueryCommunityPoolRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryCommunityPoolRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryCommunityPoolRequest */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.QueryCommunityPoolRequest; /** * Creates a plain object from a QueryCommunityPoolRequest message. Also converts values to other types if specified. * @param message QueryCommunityPoolRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.QueryCommunityPoolRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryCommunityPoolRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryCommunityPoolResponse. */ interface IQueryCommunityPoolResponse { /** QueryCommunityPoolResponse pool */ pool?: (cosmos.base.v1beta1.IDecCoin[]|null); } /** Represents a QueryCommunityPoolResponse. */ class QueryCommunityPoolResponse implements IQueryCommunityPoolResponse { /** * Constructs a new QueryCommunityPoolResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IQueryCommunityPoolResponse); /** QueryCommunityPoolResponse pool. */ public pool: cosmos.base.v1beta1.IDecCoin[]; /** * Encodes the specified QueryCommunityPoolResponse message. Does not implicitly {@link cosmos.distribution.v1beta1.QueryCommunityPoolResponse.verify|verify} messages. * @param message QueryCommunityPoolResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IQueryCommunityPoolResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryCommunityPoolResponse message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.QueryCommunityPoolResponse.verify|verify} messages. * @param message QueryCommunityPoolResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IQueryCommunityPoolResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryCommunityPoolResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryCommunityPoolResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.QueryCommunityPoolResponse; /** * Decodes a QueryCommunityPoolResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryCommunityPoolResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.QueryCommunityPoolResponse; /** * Verifies a QueryCommunityPoolResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryCommunityPoolResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryCommunityPoolResponse */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.QueryCommunityPoolResponse; /** * Creates a plain object from a QueryCommunityPoolResponse message. Also converts values to other types if specified. * @param message QueryCommunityPoolResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.QueryCommunityPoolResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryCommunityPoolResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Params. */ interface IParams { /** Params community_tax */ community_tax?: (string|null); /** Params base_proposer_reward */ base_proposer_reward?: (string|null); /** Params bonus_proposer_reward */ bonus_proposer_reward?: (string|null); /** Params withdraw_addr_enabled */ withdraw_addr_enabled?: (boolean|null); } /** Represents a Params. */ class Params implements IParams { /** * Constructs a new Params. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IParams); /** Params community_tax. */ public community_tax: string; /** Params base_proposer_reward. */ public base_proposer_reward: string; /** Params bonus_proposer_reward. */ public bonus_proposer_reward: string; /** Params withdraw_addr_enabled. */ public withdraw_addr_enabled: boolean; /** * Encodes the specified Params message. Does not implicitly {@link cosmos.distribution.v1beta1.Params.verify|verify} messages. * @param message Params message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Params message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.Params.verify|verify} messages. * @param message Params message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Params message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Params * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.Params; /** * Decodes a Params message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Params * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.Params; /** * Verifies a Params message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Params message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Params */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.Params; /** * Creates a plain object from a Params message. Also converts values to other types if specified. * @param message Params * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.Params, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Params to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ValidatorHistoricalRewards. */ interface IValidatorHistoricalRewards { /** ValidatorHistoricalRewards cumulative_reward_ratio */ cumulative_reward_ratio?: (cosmos.base.v1beta1.IDecCoin[]|null); /** ValidatorHistoricalRewards reference_count */ reference_count?: (number|null); } /** Represents a ValidatorHistoricalRewards. */ class ValidatorHistoricalRewards implements IValidatorHistoricalRewards { /** * Constructs a new ValidatorHistoricalRewards. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IValidatorHistoricalRewards); /** ValidatorHistoricalRewards cumulative_reward_ratio. */ public cumulative_reward_ratio: cosmos.base.v1beta1.IDecCoin[]; /** ValidatorHistoricalRewards reference_count. */ public reference_count: number; /** * Encodes the specified ValidatorHistoricalRewards message. Does not implicitly {@link cosmos.distribution.v1beta1.ValidatorHistoricalRewards.verify|verify} messages. * @param message ValidatorHistoricalRewards message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IValidatorHistoricalRewards, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ValidatorHistoricalRewards message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.ValidatorHistoricalRewards.verify|verify} messages. * @param message ValidatorHistoricalRewards message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IValidatorHistoricalRewards, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ValidatorHistoricalRewards message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ValidatorHistoricalRewards * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.ValidatorHistoricalRewards; /** * Decodes a ValidatorHistoricalRewards message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ValidatorHistoricalRewards * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.ValidatorHistoricalRewards; /** * Verifies a ValidatorHistoricalRewards message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ValidatorHistoricalRewards message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ValidatorHistoricalRewards */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.ValidatorHistoricalRewards; /** * Creates a plain object from a ValidatorHistoricalRewards message. Also converts values to other types if specified. * @param message ValidatorHistoricalRewards * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.ValidatorHistoricalRewards, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ValidatorHistoricalRewards to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ValidatorCurrentRewards. */ interface IValidatorCurrentRewards { /** ValidatorCurrentRewards rewards */ rewards?: (cosmos.base.v1beta1.IDecCoin[]|null); /** ValidatorCurrentRewards period */ period?: (Long|null); } /** Represents a ValidatorCurrentRewards. */ class ValidatorCurrentRewards implements IValidatorCurrentRewards { /** * Constructs a new ValidatorCurrentRewards. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IValidatorCurrentRewards); /** ValidatorCurrentRewards rewards. */ public rewards: cosmos.base.v1beta1.IDecCoin[]; /** ValidatorCurrentRewards period. */ public period: Long; /** * Encodes the specified ValidatorCurrentRewards message. Does not implicitly {@link cosmos.distribution.v1beta1.ValidatorCurrentRewards.verify|verify} messages. * @param message ValidatorCurrentRewards message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IValidatorCurrentRewards, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ValidatorCurrentRewards message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.ValidatorCurrentRewards.verify|verify} messages. * @param message ValidatorCurrentRewards message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IValidatorCurrentRewards, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ValidatorCurrentRewards message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ValidatorCurrentRewards * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.ValidatorCurrentRewards; /** * Decodes a ValidatorCurrentRewards message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ValidatorCurrentRewards * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.ValidatorCurrentRewards; /** * Verifies a ValidatorCurrentRewards message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ValidatorCurrentRewards message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ValidatorCurrentRewards */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.ValidatorCurrentRewards; /** * Creates a plain object from a ValidatorCurrentRewards message. Also converts values to other types if specified. * @param message ValidatorCurrentRewards * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.ValidatorCurrentRewards, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ValidatorCurrentRewards to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ValidatorAccumulatedCommission. */ interface IValidatorAccumulatedCommission { /** ValidatorAccumulatedCommission commission */ commission?: (cosmos.base.v1beta1.IDecCoin[]|null); } /** Represents a ValidatorAccumulatedCommission. */ class ValidatorAccumulatedCommission implements IValidatorAccumulatedCommission { /** * Constructs a new ValidatorAccumulatedCommission. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IValidatorAccumulatedCommission); /** ValidatorAccumulatedCommission commission. */ public commission: cosmos.base.v1beta1.IDecCoin[]; /** * Encodes the specified ValidatorAccumulatedCommission message. Does not implicitly {@link cosmos.distribution.v1beta1.ValidatorAccumulatedCommission.verify|verify} messages. * @param message ValidatorAccumulatedCommission message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IValidatorAccumulatedCommission, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ValidatorAccumulatedCommission message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.ValidatorAccumulatedCommission.verify|verify} messages. * @param message ValidatorAccumulatedCommission message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IValidatorAccumulatedCommission, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ValidatorAccumulatedCommission message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ValidatorAccumulatedCommission * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.ValidatorAccumulatedCommission; /** * Decodes a ValidatorAccumulatedCommission message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ValidatorAccumulatedCommission * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.ValidatorAccumulatedCommission; /** * Verifies a ValidatorAccumulatedCommission message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ValidatorAccumulatedCommission message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ValidatorAccumulatedCommission */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.ValidatorAccumulatedCommission; /** * Creates a plain object from a ValidatorAccumulatedCommission message. Also converts values to other types if specified. * @param message ValidatorAccumulatedCommission * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.ValidatorAccumulatedCommission, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ValidatorAccumulatedCommission to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ValidatorOutstandingRewards. */ interface IValidatorOutstandingRewards { /** ValidatorOutstandingRewards rewards */ rewards?: (cosmos.base.v1beta1.IDecCoin[]|null); } /** Represents a ValidatorOutstandingRewards. */ class ValidatorOutstandingRewards implements IValidatorOutstandingRewards { /** * Constructs a new ValidatorOutstandingRewards. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IValidatorOutstandingRewards); /** ValidatorOutstandingRewards rewards. */ public rewards: cosmos.base.v1beta1.IDecCoin[]; /** * Encodes the specified ValidatorOutstandingRewards message. Does not implicitly {@link cosmos.distribution.v1beta1.ValidatorOutstandingRewards.verify|verify} messages. * @param message ValidatorOutstandingRewards message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IValidatorOutstandingRewards, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ValidatorOutstandingRewards message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.ValidatorOutstandingRewards.verify|verify} messages. * @param message ValidatorOutstandingRewards message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IValidatorOutstandingRewards, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ValidatorOutstandingRewards message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ValidatorOutstandingRewards * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.ValidatorOutstandingRewards; /** * Decodes a ValidatorOutstandingRewards message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ValidatorOutstandingRewards * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.ValidatorOutstandingRewards; /** * Verifies a ValidatorOutstandingRewards message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ValidatorOutstandingRewards message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ValidatorOutstandingRewards */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.ValidatorOutstandingRewards; /** * Creates a plain object from a ValidatorOutstandingRewards message. Also converts values to other types if specified. * @param message ValidatorOutstandingRewards * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.ValidatorOutstandingRewards, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ValidatorOutstandingRewards to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ValidatorSlashEvent. */ interface IValidatorSlashEvent { /** ValidatorSlashEvent validator_period */ validator_period?: (Long|null); /** ValidatorSlashEvent fraction */ fraction?: (string|null); } /** Represents a ValidatorSlashEvent. */ class ValidatorSlashEvent implements IValidatorSlashEvent { /** * Constructs a new ValidatorSlashEvent. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IValidatorSlashEvent); /** ValidatorSlashEvent validator_period. */ public validator_period: Long; /** ValidatorSlashEvent fraction. */ public fraction: string; /** * Encodes the specified ValidatorSlashEvent message. Does not implicitly {@link cosmos.distribution.v1beta1.ValidatorSlashEvent.verify|verify} messages. * @param message ValidatorSlashEvent message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IValidatorSlashEvent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ValidatorSlashEvent message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.ValidatorSlashEvent.verify|verify} messages. * @param message ValidatorSlashEvent message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IValidatorSlashEvent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ValidatorSlashEvent message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ValidatorSlashEvent * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.ValidatorSlashEvent; /** * Decodes a ValidatorSlashEvent message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ValidatorSlashEvent * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.ValidatorSlashEvent; /** * Verifies a ValidatorSlashEvent message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ValidatorSlashEvent message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ValidatorSlashEvent */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.ValidatorSlashEvent; /** * Creates a plain object from a ValidatorSlashEvent message. Also converts values to other types if specified. * @param message ValidatorSlashEvent * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.ValidatorSlashEvent, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ValidatorSlashEvent to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ValidatorSlashEvents. */ interface IValidatorSlashEvents { /** ValidatorSlashEvents validator_slash_events */ validator_slash_events?: (cosmos.distribution.v1beta1.IValidatorSlashEvent[]|null); } /** Represents a ValidatorSlashEvents. */ class ValidatorSlashEvents implements IValidatorSlashEvents { /** * Constructs a new ValidatorSlashEvents. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IValidatorSlashEvents); /** ValidatorSlashEvents validator_slash_events. */ public validator_slash_events: cosmos.distribution.v1beta1.IValidatorSlashEvent[]; /** * Encodes the specified ValidatorSlashEvents message. Does not implicitly {@link cosmos.distribution.v1beta1.ValidatorSlashEvents.verify|verify} messages. * @param message ValidatorSlashEvents message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IValidatorSlashEvents, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ValidatorSlashEvents message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.ValidatorSlashEvents.verify|verify} messages. * @param message ValidatorSlashEvents message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IValidatorSlashEvents, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ValidatorSlashEvents message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ValidatorSlashEvents * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.ValidatorSlashEvents; /** * Decodes a ValidatorSlashEvents message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ValidatorSlashEvents * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.ValidatorSlashEvents; /** * Verifies a ValidatorSlashEvents message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ValidatorSlashEvents message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ValidatorSlashEvents */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.ValidatorSlashEvents; /** * Creates a plain object from a ValidatorSlashEvents message. Also converts values to other types if specified. * @param message ValidatorSlashEvents * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.ValidatorSlashEvents, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ValidatorSlashEvents to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a FeePool. */ interface IFeePool { /** FeePool community_pool */ community_pool?: (cosmos.base.v1beta1.IDecCoin[]|null); } /** Represents a FeePool. */ class FeePool implements IFeePool { /** * Constructs a new FeePool. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IFeePool); /** FeePool community_pool. */ public community_pool: cosmos.base.v1beta1.IDecCoin[]; /** * Encodes the specified FeePool message. Does not implicitly {@link cosmos.distribution.v1beta1.FeePool.verify|verify} messages. * @param message FeePool message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IFeePool, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FeePool message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.FeePool.verify|verify} messages. * @param message FeePool message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IFeePool, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FeePool message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FeePool * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.FeePool; /** * Decodes a FeePool message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FeePool * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.FeePool; /** * Verifies a FeePool message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FeePool message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FeePool */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.FeePool; /** * Creates a plain object from a FeePool message. Also converts values to other types if specified. * @param message FeePool * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.FeePool, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FeePool to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a CommunityPoolSpendProposal. */ interface ICommunityPoolSpendProposal { /** CommunityPoolSpendProposal title */ title?: (string|null); /** CommunityPoolSpendProposal description */ description?: (string|null); /** CommunityPoolSpendProposal recipient */ recipient?: (string|null); /** CommunityPoolSpendProposal amount */ amount?: (cosmos.base.v1beta1.ICoin[]|null); } /** Represents a CommunityPoolSpendProposal. */ class CommunityPoolSpendProposal implements ICommunityPoolSpendProposal { /** * Constructs a new CommunityPoolSpendProposal. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.ICommunityPoolSpendProposal); /** CommunityPoolSpendProposal title. */ public title: string; /** CommunityPoolSpendProposal description. */ public description: string; /** CommunityPoolSpendProposal recipient. */ public recipient: string; /** CommunityPoolSpendProposal amount. */ public amount: cosmos.base.v1beta1.ICoin[]; /** * Encodes the specified CommunityPoolSpendProposal message. Does not implicitly {@link cosmos.distribution.v1beta1.CommunityPoolSpendProposal.verify|verify} messages. * @param message CommunityPoolSpendProposal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.ICommunityPoolSpendProposal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CommunityPoolSpendProposal message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.CommunityPoolSpendProposal.verify|verify} messages. * @param message CommunityPoolSpendProposal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.ICommunityPoolSpendProposal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CommunityPoolSpendProposal message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CommunityPoolSpendProposal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.CommunityPoolSpendProposal; /** * Decodes a CommunityPoolSpendProposal message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CommunityPoolSpendProposal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.CommunityPoolSpendProposal; /** * Verifies a CommunityPoolSpendProposal message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CommunityPoolSpendProposal message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CommunityPoolSpendProposal */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.CommunityPoolSpendProposal; /** * Creates a plain object from a CommunityPoolSpendProposal message. Also converts values to other types if specified. * @param message CommunityPoolSpendProposal * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.CommunityPoolSpendProposal, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CommunityPoolSpendProposal to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a DelegatorStartingInfo. */ interface IDelegatorStartingInfo { /** DelegatorStartingInfo previous_period */ previous_period?: (Long|null); /** DelegatorStartingInfo stake */ stake?: (string|null); /** DelegatorStartingInfo height */ height?: (Long|null); } /** Represents a DelegatorStartingInfo. */ class DelegatorStartingInfo implements IDelegatorStartingInfo { /** * Constructs a new DelegatorStartingInfo. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IDelegatorStartingInfo); /** DelegatorStartingInfo previous_period. */ public previous_period: Long; /** DelegatorStartingInfo stake. */ public stake: string; /** DelegatorStartingInfo height. */ public height: Long; /** * Encodes the specified DelegatorStartingInfo message. Does not implicitly {@link cosmos.distribution.v1beta1.DelegatorStartingInfo.verify|verify} messages. * @param message DelegatorStartingInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IDelegatorStartingInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DelegatorStartingInfo message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.DelegatorStartingInfo.verify|verify} messages. * @param message DelegatorStartingInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IDelegatorStartingInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DelegatorStartingInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DelegatorStartingInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.DelegatorStartingInfo; /** * Decodes a DelegatorStartingInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DelegatorStartingInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.DelegatorStartingInfo; /** * Verifies a DelegatorStartingInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DelegatorStartingInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DelegatorStartingInfo */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.DelegatorStartingInfo; /** * Creates a plain object from a DelegatorStartingInfo message. Also converts values to other types if specified. * @param message DelegatorStartingInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.DelegatorStartingInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DelegatorStartingInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a DelegationDelegatorReward. */ interface IDelegationDelegatorReward { /** DelegationDelegatorReward validator_address */ validator_address?: (string|null); /** DelegationDelegatorReward reward */ reward?: (cosmos.base.v1beta1.IDecCoin[]|null); } /** Represents a DelegationDelegatorReward. */ class DelegationDelegatorReward implements IDelegationDelegatorReward { /** * Constructs a new DelegationDelegatorReward. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IDelegationDelegatorReward); /** DelegationDelegatorReward validator_address. */ public validator_address: string; /** DelegationDelegatorReward reward. */ public reward: cosmos.base.v1beta1.IDecCoin[]; /** * Encodes the specified DelegationDelegatorReward message. Does not implicitly {@link cosmos.distribution.v1beta1.DelegationDelegatorReward.verify|verify} messages. * @param message DelegationDelegatorReward message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IDelegationDelegatorReward, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DelegationDelegatorReward message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.DelegationDelegatorReward.verify|verify} messages. * @param message DelegationDelegatorReward message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IDelegationDelegatorReward, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DelegationDelegatorReward message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DelegationDelegatorReward * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.DelegationDelegatorReward; /** * Decodes a DelegationDelegatorReward message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DelegationDelegatorReward * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.DelegationDelegatorReward; /** * Verifies a DelegationDelegatorReward message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DelegationDelegatorReward message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DelegationDelegatorReward */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.DelegationDelegatorReward; /** * Creates a plain object from a DelegationDelegatorReward message. Also converts values to other types if specified. * @param message DelegationDelegatorReward * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.DelegationDelegatorReward, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DelegationDelegatorReward to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a CommunityPoolSpendProposalWithDeposit. */ interface ICommunityPoolSpendProposalWithDeposit { /** CommunityPoolSpendProposalWithDeposit title */ title?: (string|null); /** CommunityPoolSpendProposalWithDeposit description */ description?: (string|null); /** CommunityPoolSpendProposalWithDeposit recipient */ recipient?: (string|null); /** CommunityPoolSpendProposalWithDeposit amount */ amount?: (string|null); /** CommunityPoolSpendProposalWithDeposit deposit */ deposit?: (string|null); } /** Represents a CommunityPoolSpendProposalWithDeposit. */ class CommunityPoolSpendProposalWithDeposit implements ICommunityPoolSpendProposalWithDeposit { /** * Constructs a new CommunityPoolSpendProposalWithDeposit. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.ICommunityPoolSpendProposalWithDeposit); /** CommunityPoolSpendProposalWithDeposit title. */ public title: string; /** CommunityPoolSpendProposalWithDeposit description. */ public description: string; /** CommunityPoolSpendProposalWithDeposit recipient. */ public recipient: string; /** CommunityPoolSpendProposalWithDeposit amount. */ public amount: string; /** CommunityPoolSpendProposalWithDeposit deposit. */ public deposit: string; /** * Encodes the specified CommunityPoolSpendProposalWithDeposit message. Does not implicitly {@link cosmos.distribution.v1beta1.CommunityPoolSpendProposalWithDeposit.verify|verify} messages. * @param message CommunityPoolSpendProposalWithDeposit message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.ICommunityPoolSpendProposalWithDeposit, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CommunityPoolSpendProposalWithDeposit message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.CommunityPoolSpendProposalWithDeposit.verify|verify} messages. * @param message CommunityPoolSpendProposalWithDeposit message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.ICommunityPoolSpendProposalWithDeposit, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CommunityPoolSpendProposalWithDeposit message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CommunityPoolSpendProposalWithDeposit * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.CommunityPoolSpendProposalWithDeposit; /** * Decodes a CommunityPoolSpendProposalWithDeposit message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CommunityPoolSpendProposalWithDeposit * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.CommunityPoolSpendProposalWithDeposit; /** * Verifies a CommunityPoolSpendProposalWithDeposit message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CommunityPoolSpendProposalWithDeposit message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CommunityPoolSpendProposalWithDeposit */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.CommunityPoolSpendProposalWithDeposit; /** * Creates a plain object from a CommunityPoolSpendProposalWithDeposit message. Also converts values to other types if specified. * @param message CommunityPoolSpendProposalWithDeposit * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.CommunityPoolSpendProposalWithDeposit, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CommunityPoolSpendProposalWithDeposit to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Represents a Msg */ class Msg extends $protobuf.rpc.Service { /** * Constructs a new Msg service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls SetWithdrawAddress. * @param request MsgSetWithdrawAddress message or plain object * @param callback Node-style callback called with the error, if any, and MsgSetWithdrawAddressResponse */ public setWithdrawAddress(request: cosmos.distribution.v1beta1.IMsgSetWithdrawAddress, callback: cosmos.distribution.v1beta1.Msg.SetWithdrawAddressCallback): void; /** * Calls SetWithdrawAddress. * @param request MsgSetWithdrawAddress message or plain object * @returns Promise */ public setWithdrawAddress(request: cosmos.distribution.v1beta1.IMsgSetWithdrawAddress): Promise; /** * Calls WithdrawDelegatorReward. * @param request MsgWithdrawDelegatorReward message or plain object * @param callback Node-style callback called with the error, if any, and MsgWithdrawDelegatorRewardResponse */ public withdrawDelegatorReward(request: cosmos.distribution.v1beta1.IMsgWithdrawDelegatorReward, callback: cosmos.distribution.v1beta1.Msg.WithdrawDelegatorRewardCallback): void; /** * Calls WithdrawDelegatorReward. * @param request MsgWithdrawDelegatorReward message or plain object * @returns Promise */ public withdrawDelegatorReward(request: cosmos.distribution.v1beta1.IMsgWithdrawDelegatorReward): Promise; /** * Calls WithdrawValidatorCommission. * @param request MsgWithdrawValidatorCommission message or plain object * @param callback Node-style callback called with the error, if any, and MsgWithdrawValidatorCommissionResponse */ public withdrawValidatorCommission(request: cosmos.distribution.v1beta1.IMsgWithdrawValidatorCommission, callback: cosmos.distribution.v1beta1.Msg.WithdrawValidatorCommissionCallback): void; /** * Calls WithdrawValidatorCommission. * @param request MsgWithdrawValidatorCommission message or plain object * @returns Promise */ public withdrawValidatorCommission(request: cosmos.distribution.v1beta1.IMsgWithdrawValidatorCommission): Promise; /** * Calls FundCommunityPool. * @param request MsgFundCommunityPool message or plain object * @param callback Node-style callback called with the error, if any, and MsgFundCommunityPoolResponse */ public fundCommunityPool(request: cosmos.distribution.v1beta1.IMsgFundCommunityPool, callback: cosmos.distribution.v1beta1.Msg.FundCommunityPoolCallback): void; /** * Calls FundCommunityPool. * @param request MsgFundCommunityPool message or plain object * @returns Promise */ public fundCommunityPool(request: cosmos.distribution.v1beta1.IMsgFundCommunityPool): Promise; /** * Calls UpdateParams. * @param request MsgUpdateParams message or plain object * @param callback Node-style callback called with the error, if any, and MsgUpdateParamsResponse */ public updateParams(request: cosmos.distribution.v1beta1.IMsgUpdateParams, callback: cosmos.distribution.v1beta1.Msg.UpdateParamsCallback): void; /** * Calls UpdateParams. * @param request MsgUpdateParams message or plain object * @returns Promise */ public updateParams(request: cosmos.distribution.v1beta1.IMsgUpdateParams): Promise; /** * Calls CommunityPoolSpend. * @param request MsgCommunityPoolSpend message or plain object * @param callback Node-style callback called with the error, if any, and MsgCommunityPoolSpendResponse */ public communityPoolSpend(request: cosmos.distribution.v1beta1.IMsgCommunityPoolSpend, callback: cosmos.distribution.v1beta1.Msg.CommunityPoolSpendCallback): void; /** * Calls CommunityPoolSpend. * @param request MsgCommunityPoolSpend message or plain object * @returns Promise */ public communityPoolSpend(request: cosmos.distribution.v1beta1.IMsgCommunityPoolSpend): Promise; } namespace Msg { /** * Callback as used by {@link cosmos.distribution.v1beta1.Msg#setWithdrawAddress}. * @param error Error, if any * @param [response] MsgSetWithdrawAddressResponse */ type SetWithdrawAddressCallback = (error: (Error|null), response?: cosmos.distribution.v1beta1.MsgSetWithdrawAddressResponse) => void; /** * Callback as used by {@link cosmos.distribution.v1beta1.Msg#withdrawDelegatorReward}. * @param error Error, if any * @param [response] MsgWithdrawDelegatorRewardResponse */ type WithdrawDelegatorRewardCallback = (error: (Error|null), response?: cosmos.distribution.v1beta1.MsgWithdrawDelegatorRewardResponse) => void; /** * Callback as used by {@link cosmos.distribution.v1beta1.Msg#withdrawValidatorCommission}. * @param error Error, if any * @param [response] MsgWithdrawValidatorCommissionResponse */ type WithdrawValidatorCommissionCallback = (error: (Error|null), response?: cosmos.distribution.v1beta1.MsgWithdrawValidatorCommissionResponse) => void; /** * Callback as used by {@link cosmos.distribution.v1beta1.Msg#fundCommunityPool}. * @param error Error, if any * @param [response] MsgFundCommunityPoolResponse */ type FundCommunityPoolCallback = (error: (Error|null), response?: cosmos.distribution.v1beta1.MsgFundCommunityPoolResponse) => void; /** * Callback as used by {@link cosmos.distribution.v1beta1.Msg#updateParams}. * @param error Error, if any * @param [response] MsgUpdateParamsResponse */ type UpdateParamsCallback = (error: (Error|null), response?: cosmos.distribution.v1beta1.MsgUpdateParamsResponse) => void; /** * Callback as used by {@link cosmos.distribution.v1beta1.Msg#communityPoolSpend}. * @param error Error, if any * @param [response] MsgCommunityPoolSpendResponse */ type CommunityPoolSpendCallback = (error: (Error|null), response?: cosmos.distribution.v1beta1.MsgCommunityPoolSpendResponse) => void; } /** Properties of a MsgSetWithdrawAddress. */ interface IMsgSetWithdrawAddress { /** MsgSetWithdrawAddress delegator_address */ delegator_address?: (string|null); /** MsgSetWithdrawAddress withdraw_address */ withdraw_address?: (string|null); } /** Represents a MsgSetWithdrawAddress. */ class MsgSetWithdrawAddress implements IMsgSetWithdrawAddress { /** * Constructs a new MsgSetWithdrawAddress. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IMsgSetWithdrawAddress); /** MsgSetWithdrawAddress delegator_address. */ public delegator_address: string; /** MsgSetWithdrawAddress withdraw_address. */ public withdraw_address: string; /** * Encodes the specified MsgSetWithdrawAddress message. Does not implicitly {@link cosmos.distribution.v1beta1.MsgSetWithdrawAddress.verify|verify} messages. * @param message MsgSetWithdrawAddress message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IMsgSetWithdrawAddress, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgSetWithdrawAddress message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.MsgSetWithdrawAddress.verify|verify} messages. * @param message MsgSetWithdrawAddress message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IMsgSetWithdrawAddress, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgSetWithdrawAddress message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgSetWithdrawAddress * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.MsgSetWithdrawAddress; /** * Decodes a MsgSetWithdrawAddress message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgSetWithdrawAddress * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.MsgSetWithdrawAddress; /** * Verifies a MsgSetWithdrawAddress message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgSetWithdrawAddress message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgSetWithdrawAddress */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.MsgSetWithdrawAddress; /** * Creates a plain object from a MsgSetWithdrawAddress message. Also converts values to other types if specified. * @param message MsgSetWithdrawAddress * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.MsgSetWithdrawAddress, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgSetWithdrawAddress to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgSetWithdrawAddressResponse. */ interface IMsgSetWithdrawAddressResponse { } /** Represents a MsgSetWithdrawAddressResponse. */ class MsgSetWithdrawAddressResponse implements IMsgSetWithdrawAddressResponse { /** * Constructs a new MsgSetWithdrawAddressResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IMsgSetWithdrawAddressResponse); /** * Encodes the specified MsgSetWithdrawAddressResponse message. Does not implicitly {@link cosmos.distribution.v1beta1.MsgSetWithdrawAddressResponse.verify|verify} messages. * @param message MsgSetWithdrawAddressResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IMsgSetWithdrawAddressResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgSetWithdrawAddressResponse message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.MsgSetWithdrawAddressResponse.verify|verify} messages. * @param message MsgSetWithdrawAddressResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IMsgSetWithdrawAddressResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgSetWithdrawAddressResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgSetWithdrawAddressResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.MsgSetWithdrawAddressResponse; /** * Decodes a MsgSetWithdrawAddressResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgSetWithdrawAddressResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.MsgSetWithdrawAddressResponse; /** * Verifies a MsgSetWithdrawAddressResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgSetWithdrawAddressResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgSetWithdrawAddressResponse */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.MsgSetWithdrawAddressResponse; /** * Creates a plain object from a MsgSetWithdrawAddressResponse message. Also converts values to other types if specified. * @param message MsgSetWithdrawAddressResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.MsgSetWithdrawAddressResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgSetWithdrawAddressResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgWithdrawDelegatorReward. */ interface IMsgWithdrawDelegatorReward { /** MsgWithdrawDelegatorReward delegator_address */ delegator_address?: (string|null); /** MsgWithdrawDelegatorReward validator_address */ validator_address?: (string|null); } /** Represents a MsgWithdrawDelegatorReward. */ class MsgWithdrawDelegatorReward implements IMsgWithdrawDelegatorReward { /** * Constructs a new MsgWithdrawDelegatorReward. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IMsgWithdrawDelegatorReward); /** MsgWithdrawDelegatorReward delegator_address. */ public delegator_address: string; /** MsgWithdrawDelegatorReward validator_address. */ public validator_address: string; /** * Encodes the specified MsgWithdrawDelegatorReward message. Does not implicitly {@link cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward.verify|verify} messages. * @param message MsgWithdrawDelegatorReward message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IMsgWithdrawDelegatorReward, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgWithdrawDelegatorReward message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward.verify|verify} messages. * @param message MsgWithdrawDelegatorReward message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IMsgWithdrawDelegatorReward, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgWithdrawDelegatorReward message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgWithdrawDelegatorReward * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward; /** * Decodes a MsgWithdrawDelegatorReward message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgWithdrawDelegatorReward * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward; /** * Verifies a MsgWithdrawDelegatorReward message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgWithdrawDelegatorReward message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgWithdrawDelegatorReward */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward; /** * Creates a plain object from a MsgWithdrawDelegatorReward message. Also converts values to other types if specified. * @param message MsgWithdrawDelegatorReward * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgWithdrawDelegatorReward to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgWithdrawDelegatorRewardResponse. */ interface IMsgWithdrawDelegatorRewardResponse { /** MsgWithdrawDelegatorRewardResponse amount */ amount?: (cosmos.base.v1beta1.ICoin[]|null); } /** Represents a MsgWithdrawDelegatorRewardResponse. */ class MsgWithdrawDelegatorRewardResponse implements IMsgWithdrawDelegatorRewardResponse { /** * Constructs a new MsgWithdrawDelegatorRewardResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IMsgWithdrawDelegatorRewardResponse); /** MsgWithdrawDelegatorRewardResponse amount. */ public amount: cosmos.base.v1beta1.ICoin[]; /** * Encodes the specified MsgWithdrawDelegatorRewardResponse message. Does not implicitly {@link cosmos.distribution.v1beta1.MsgWithdrawDelegatorRewardResponse.verify|verify} messages. * @param message MsgWithdrawDelegatorRewardResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IMsgWithdrawDelegatorRewardResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgWithdrawDelegatorRewardResponse message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.MsgWithdrawDelegatorRewardResponse.verify|verify} messages. * @param message MsgWithdrawDelegatorRewardResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IMsgWithdrawDelegatorRewardResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgWithdrawDelegatorRewardResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgWithdrawDelegatorRewardResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.MsgWithdrawDelegatorRewardResponse; /** * Decodes a MsgWithdrawDelegatorRewardResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgWithdrawDelegatorRewardResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.MsgWithdrawDelegatorRewardResponse; /** * Verifies a MsgWithdrawDelegatorRewardResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgWithdrawDelegatorRewardResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgWithdrawDelegatorRewardResponse */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.MsgWithdrawDelegatorRewardResponse; /** * Creates a plain object from a MsgWithdrawDelegatorRewardResponse message. Also converts values to other types if specified. * @param message MsgWithdrawDelegatorRewardResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.MsgWithdrawDelegatorRewardResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgWithdrawDelegatorRewardResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgWithdrawValidatorCommission. */ interface IMsgWithdrawValidatorCommission { /** MsgWithdrawValidatorCommission validator_address */ validator_address?: (string|null); } /** Represents a MsgWithdrawValidatorCommission. */ class MsgWithdrawValidatorCommission implements IMsgWithdrawValidatorCommission { /** * Constructs a new MsgWithdrawValidatorCommission. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IMsgWithdrawValidatorCommission); /** MsgWithdrawValidatorCommission validator_address. */ public validator_address: string; /** * Encodes the specified MsgWithdrawValidatorCommission message. Does not implicitly {@link cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission.verify|verify} messages. * @param message MsgWithdrawValidatorCommission message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IMsgWithdrawValidatorCommission, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgWithdrawValidatorCommission message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission.verify|verify} messages. * @param message MsgWithdrawValidatorCommission message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IMsgWithdrawValidatorCommission, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgWithdrawValidatorCommission message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgWithdrawValidatorCommission * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission; /** * Decodes a MsgWithdrawValidatorCommission message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgWithdrawValidatorCommission * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission; /** * Verifies a MsgWithdrawValidatorCommission message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgWithdrawValidatorCommission message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgWithdrawValidatorCommission */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission; /** * Creates a plain object from a MsgWithdrawValidatorCommission message. Also converts values to other types if specified. * @param message MsgWithdrawValidatorCommission * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgWithdrawValidatorCommission to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgWithdrawValidatorCommissionResponse. */ interface IMsgWithdrawValidatorCommissionResponse { /** MsgWithdrawValidatorCommissionResponse amount */ amount?: (cosmos.base.v1beta1.ICoin[]|null); } /** Represents a MsgWithdrawValidatorCommissionResponse. */ class MsgWithdrawValidatorCommissionResponse implements IMsgWithdrawValidatorCommissionResponse { /** * Constructs a new MsgWithdrawValidatorCommissionResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IMsgWithdrawValidatorCommissionResponse); /** MsgWithdrawValidatorCommissionResponse amount. */ public amount: cosmos.base.v1beta1.ICoin[]; /** * Encodes the specified MsgWithdrawValidatorCommissionResponse message. Does not implicitly {@link cosmos.distribution.v1beta1.MsgWithdrawValidatorCommissionResponse.verify|verify} messages. * @param message MsgWithdrawValidatorCommissionResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IMsgWithdrawValidatorCommissionResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgWithdrawValidatorCommissionResponse message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.MsgWithdrawValidatorCommissionResponse.verify|verify} messages. * @param message MsgWithdrawValidatorCommissionResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IMsgWithdrawValidatorCommissionResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgWithdrawValidatorCommissionResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgWithdrawValidatorCommissionResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.MsgWithdrawValidatorCommissionResponse; /** * Decodes a MsgWithdrawValidatorCommissionResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgWithdrawValidatorCommissionResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.MsgWithdrawValidatorCommissionResponse; /** * Verifies a MsgWithdrawValidatorCommissionResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgWithdrawValidatorCommissionResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgWithdrawValidatorCommissionResponse */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.MsgWithdrawValidatorCommissionResponse; /** * Creates a plain object from a MsgWithdrawValidatorCommissionResponse message. Also converts values to other types if specified. * @param message MsgWithdrawValidatorCommissionResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.MsgWithdrawValidatorCommissionResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgWithdrawValidatorCommissionResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgFundCommunityPool. */ interface IMsgFundCommunityPool { /** MsgFundCommunityPool amount */ amount?: (cosmos.base.v1beta1.ICoin[]|null); /** MsgFundCommunityPool depositor */ depositor?: (string|null); } /** Represents a MsgFundCommunityPool. */ class MsgFundCommunityPool implements IMsgFundCommunityPool { /** * Constructs a new MsgFundCommunityPool. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IMsgFundCommunityPool); /** MsgFundCommunityPool amount. */ public amount: cosmos.base.v1beta1.ICoin[]; /** MsgFundCommunityPool depositor. */ public depositor: string; /** * Encodes the specified MsgFundCommunityPool message. Does not implicitly {@link cosmos.distribution.v1beta1.MsgFundCommunityPool.verify|verify} messages. * @param message MsgFundCommunityPool message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IMsgFundCommunityPool, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgFundCommunityPool message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.MsgFundCommunityPool.verify|verify} messages. * @param message MsgFundCommunityPool message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IMsgFundCommunityPool, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgFundCommunityPool message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgFundCommunityPool * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.MsgFundCommunityPool; /** * Decodes a MsgFundCommunityPool message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgFundCommunityPool * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.MsgFundCommunityPool; /** * Verifies a MsgFundCommunityPool message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgFundCommunityPool message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgFundCommunityPool */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.MsgFundCommunityPool; /** * Creates a plain object from a MsgFundCommunityPool message. Also converts values to other types if specified. * @param message MsgFundCommunityPool * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.MsgFundCommunityPool, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgFundCommunityPool to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgFundCommunityPoolResponse. */ interface IMsgFundCommunityPoolResponse { } /** Represents a MsgFundCommunityPoolResponse. */ class MsgFundCommunityPoolResponse implements IMsgFundCommunityPoolResponse { /** * Constructs a new MsgFundCommunityPoolResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IMsgFundCommunityPoolResponse); /** * Encodes the specified MsgFundCommunityPoolResponse message. Does not implicitly {@link cosmos.distribution.v1beta1.MsgFundCommunityPoolResponse.verify|verify} messages. * @param message MsgFundCommunityPoolResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IMsgFundCommunityPoolResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgFundCommunityPoolResponse message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.MsgFundCommunityPoolResponse.verify|verify} messages. * @param message MsgFundCommunityPoolResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IMsgFundCommunityPoolResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgFundCommunityPoolResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgFundCommunityPoolResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.MsgFundCommunityPoolResponse; /** * Decodes a MsgFundCommunityPoolResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgFundCommunityPoolResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.MsgFundCommunityPoolResponse; /** * Verifies a MsgFundCommunityPoolResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgFundCommunityPoolResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgFundCommunityPoolResponse */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.MsgFundCommunityPoolResponse; /** * Creates a plain object from a MsgFundCommunityPoolResponse message. Also converts values to other types if specified. * @param message MsgFundCommunityPoolResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.MsgFundCommunityPoolResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgFundCommunityPoolResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgUpdateParams. */ interface IMsgUpdateParams { /** MsgUpdateParams authority */ authority?: (string|null); /** MsgUpdateParams params */ params?: (cosmos.distribution.v1beta1.IParams|null); } /** Represents a MsgUpdateParams. */ class MsgUpdateParams implements IMsgUpdateParams { /** * Constructs a new MsgUpdateParams. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IMsgUpdateParams); /** MsgUpdateParams authority. */ public authority: string; /** MsgUpdateParams params. */ public params?: (cosmos.distribution.v1beta1.IParams|null); /** * Encodes the specified MsgUpdateParams message. Does not implicitly {@link cosmos.distribution.v1beta1.MsgUpdateParams.verify|verify} messages. * @param message MsgUpdateParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IMsgUpdateParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgUpdateParams message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.MsgUpdateParams.verify|verify} messages. * @param message MsgUpdateParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IMsgUpdateParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgUpdateParams message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgUpdateParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.MsgUpdateParams; /** * Decodes a MsgUpdateParams message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgUpdateParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.MsgUpdateParams; /** * Verifies a MsgUpdateParams message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgUpdateParams message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgUpdateParams */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.MsgUpdateParams; /** * Creates a plain object from a MsgUpdateParams message. Also converts values to other types if specified. * @param message MsgUpdateParams * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.MsgUpdateParams, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgUpdateParams to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgUpdateParamsResponse. */ interface IMsgUpdateParamsResponse { } /** Represents a MsgUpdateParamsResponse. */ class MsgUpdateParamsResponse implements IMsgUpdateParamsResponse { /** * Constructs a new MsgUpdateParamsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IMsgUpdateParamsResponse); /** * Encodes the specified MsgUpdateParamsResponse message. Does not implicitly {@link cosmos.distribution.v1beta1.MsgUpdateParamsResponse.verify|verify} messages. * @param message MsgUpdateParamsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IMsgUpdateParamsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgUpdateParamsResponse message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.MsgUpdateParamsResponse.verify|verify} messages. * @param message MsgUpdateParamsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IMsgUpdateParamsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgUpdateParamsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgUpdateParamsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.MsgUpdateParamsResponse; /** * Decodes a MsgUpdateParamsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgUpdateParamsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.MsgUpdateParamsResponse; /** * Verifies a MsgUpdateParamsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgUpdateParamsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgUpdateParamsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.MsgUpdateParamsResponse; /** * Creates a plain object from a MsgUpdateParamsResponse message. Also converts values to other types if specified. * @param message MsgUpdateParamsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.MsgUpdateParamsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgUpdateParamsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgCommunityPoolSpend. */ interface IMsgCommunityPoolSpend { /** MsgCommunityPoolSpend authority */ authority?: (string|null); /** MsgCommunityPoolSpend recipient */ recipient?: (string|null); /** MsgCommunityPoolSpend amount */ amount?: (cosmos.base.v1beta1.ICoin[]|null); } /** Represents a MsgCommunityPoolSpend. */ class MsgCommunityPoolSpend implements IMsgCommunityPoolSpend { /** * Constructs a new MsgCommunityPoolSpend. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IMsgCommunityPoolSpend); /** MsgCommunityPoolSpend authority. */ public authority: string; /** MsgCommunityPoolSpend recipient. */ public recipient: string; /** MsgCommunityPoolSpend amount. */ public amount: cosmos.base.v1beta1.ICoin[]; /** * Encodes the specified MsgCommunityPoolSpend message. Does not implicitly {@link cosmos.distribution.v1beta1.MsgCommunityPoolSpend.verify|verify} messages. * @param message MsgCommunityPoolSpend message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IMsgCommunityPoolSpend, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgCommunityPoolSpend message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.MsgCommunityPoolSpend.verify|verify} messages. * @param message MsgCommunityPoolSpend message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IMsgCommunityPoolSpend, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgCommunityPoolSpend message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgCommunityPoolSpend * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.MsgCommunityPoolSpend; /** * Decodes a MsgCommunityPoolSpend message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgCommunityPoolSpend * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.MsgCommunityPoolSpend; /** * Verifies a MsgCommunityPoolSpend message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgCommunityPoolSpend message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgCommunityPoolSpend */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.MsgCommunityPoolSpend; /** * Creates a plain object from a MsgCommunityPoolSpend message. Also converts values to other types if specified. * @param message MsgCommunityPoolSpend * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.MsgCommunityPoolSpend, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgCommunityPoolSpend to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgCommunityPoolSpendResponse. */ interface IMsgCommunityPoolSpendResponse { } /** Represents a MsgCommunityPoolSpendResponse. */ class MsgCommunityPoolSpendResponse implements IMsgCommunityPoolSpendResponse { /** * Constructs a new MsgCommunityPoolSpendResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IMsgCommunityPoolSpendResponse); /** * Encodes the specified MsgCommunityPoolSpendResponse message. Does not implicitly {@link cosmos.distribution.v1beta1.MsgCommunityPoolSpendResponse.verify|verify} messages. * @param message MsgCommunityPoolSpendResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IMsgCommunityPoolSpendResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgCommunityPoolSpendResponse message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.MsgCommunityPoolSpendResponse.verify|verify} messages. * @param message MsgCommunityPoolSpendResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IMsgCommunityPoolSpendResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgCommunityPoolSpendResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgCommunityPoolSpendResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.MsgCommunityPoolSpendResponse; /** * Decodes a MsgCommunityPoolSpendResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgCommunityPoolSpendResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.MsgCommunityPoolSpendResponse; /** * Verifies a MsgCommunityPoolSpendResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgCommunityPoolSpendResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgCommunityPoolSpendResponse */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.MsgCommunityPoolSpendResponse; /** * Creates a plain object from a MsgCommunityPoolSpendResponse message. Also converts values to other types if specified. * @param message MsgCommunityPoolSpendResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.MsgCommunityPoolSpendResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgCommunityPoolSpendResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a DelegatorWithdrawInfo. */ interface IDelegatorWithdrawInfo { /** DelegatorWithdrawInfo delegator_address */ delegator_address?: (string|null); /** DelegatorWithdrawInfo withdraw_address */ withdraw_address?: (string|null); } /** Represents a DelegatorWithdrawInfo. */ class DelegatorWithdrawInfo implements IDelegatorWithdrawInfo { /** * Constructs a new DelegatorWithdrawInfo. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IDelegatorWithdrawInfo); /** DelegatorWithdrawInfo delegator_address. */ public delegator_address: string; /** DelegatorWithdrawInfo withdraw_address. */ public withdraw_address: string; /** * Encodes the specified DelegatorWithdrawInfo message. Does not implicitly {@link cosmos.distribution.v1beta1.DelegatorWithdrawInfo.verify|verify} messages. * @param message DelegatorWithdrawInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IDelegatorWithdrawInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DelegatorWithdrawInfo message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.DelegatorWithdrawInfo.verify|verify} messages. * @param message DelegatorWithdrawInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IDelegatorWithdrawInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DelegatorWithdrawInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DelegatorWithdrawInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.DelegatorWithdrawInfo; /** * Decodes a DelegatorWithdrawInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DelegatorWithdrawInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.DelegatorWithdrawInfo; /** * Verifies a DelegatorWithdrawInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DelegatorWithdrawInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DelegatorWithdrawInfo */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.DelegatorWithdrawInfo; /** * Creates a plain object from a DelegatorWithdrawInfo message. Also converts values to other types if specified. * @param message DelegatorWithdrawInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.DelegatorWithdrawInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DelegatorWithdrawInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ValidatorOutstandingRewardsRecord. */ interface IValidatorOutstandingRewardsRecord { /** ValidatorOutstandingRewardsRecord validator_address */ validator_address?: (string|null); /** ValidatorOutstandingRewardsRecord outstanding_rewards */ outstanding_rewards?: (cosmos.base.v1beta1.IDecCoin[]|null); } /** Represents a ValidatorOutstandingRewardsRecord. */ class ValidatorOutstandingRewardsRecord implements IValidatorOutstandingRewardsRecord { /** * Constructs a new ValidatorOutstandingRewardsRecord. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IValidatorOutstandingRewardsRecord); /** ValidatorOutstandingRewardsRecord validator_address. */ public validator_address: string; /** ValidatorOutstandingRewardsRecord outstanding_rewards. */ public outstanding_rewards: cosmos.base.v1beta1.IDecCoin[]; /** * Encodes the specified ValidatorOutstandingRewardsRecord message. Does not implicitly {@link cosmos.distribution.v1beta1.ValidatorOutstandingRewardsRecord.verify|verify} messages. * @param message ValidatorOutstandingRewardsRecord message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IValidatorOutstandingRewardsRecord, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ValidatorOutstandingRewardsRecord message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.ValidatorOutstandingRewardsRecord.verify|verify} messages. * @param message ValidatorOutstandingRewardsRecord message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IValidatorOutstandingRewardsRecord, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ValidatorOutstandingRewardsRecord message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ValidatorOutstandingRewardsRecord * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.ValidatorOutstandingRewardsRecord; /** * Decodes a ValidatorOutstandingRewardsRecord message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ValidatorOutstandingRewardsRecord * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.ValidatorOutstandingRewardsRecord; /** * Verifies a ValidatorOutstandingRewardsRecord message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ValidatorOutstandingRewardsRecord message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ValidatorOutstandingRewardsRecord */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.ValidatorOutstandingRewardsRecord; /** * Creates a plain object from a ValidatorOutstandingRewardsRecord message. Also converts values to other types if specified. * @param message ValidatorOutstandingRewardsRecord * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.ValidatorOutstandingRewardsRecord, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ValidatorOutstandingRewardsRecord to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ValidatorAccumulatedCommissionRecord. */ interface IValidatorAccumulatedCommissionRecord { /** ValidatorAccumulatedCommissionRecord validator_address */ validator_address?: (string|null); /** ValidatorAccumulatedCommissionRecord accumulated */ accumulated?: (cosmos.distribution.v1beta1.IValidatorAccumulatedCommission|null); } /** Represents a ValidatorAccumulatedCommissionRecord. */ class ValidatorAccumulatedCommissionRecord implements IValidatorAccumulatedCommissionRecord { /** * Constructs a new ValidatorAccumulatedCommissionRecord. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IValidatorAccumulatedCommissionRecord); /** ValidatorAccumulatedCommissionRecord validator_address. */ public validator_address: string; /** ValidatorAccumulatedCommissionRecord accumulated. */ public accumulated?: (cosmos.distribution.v1beta1.IValidatorAccumulatedCommission|null); /** * Encodes the specified ValidatorAccumulatedCommissionRecord message. Does not implicitly {@link cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionRecord.verify|verify} messages. * @param message ValidatorAccumulatedCommissionRecord message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IValidatorAccumulatedCommissionRecord, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ValidatorAccumulatedCommissionRecord message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionRecord.verify|verify} messages. * @param message ValidatorAccumulatedCommissionRecord message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IValidatorAccumulatedCommissionRecord, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ValidatorAccumulatedCommissionRecord message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ValidatorAccumulatedCommissionRecord * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionRecord; /** * Decodes a ValidatorAccumulatedCommissionRecord message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ValidatorAccumulatedCommissionRecord * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionRecord; /** * Verifies a ValidatorAccumulatedCommissionRecord message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ValidatorAccumulatedCommissionRecord message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ValidatorAccumulatedCommissionRecord */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionRecord; /** * Creates a plain object from a ValidatorAccumulatedCommissionRecord message. Also converts values to other types if specified. * @param message ValidatorAccumulatedCommissionRecord * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionRecord, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ValidatorAccumulatedCommissionRecord to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ValidatorHistoricalRewardsRecord. */ interface IValidatorHistoricalRewardsRecord { /** ValidatorHistoricalRewardsRecord validator_address */ validator_address?: (string|null); /** ValidatorHistoricalRewardsRecord period */ period?: (Long|null); /** ValidatorHistoricalRewardsRecord rewards */ rewards?: (cosmos.distribution.v1beta1.IValidatorHistoricalRewards|null); } /** Represents a ValidatorHistoricalRewardsRecord. */ class ValidatorHistoricalRewardsRecord implements IValidatorHistoricalRewardsRecord { /** * Constructs a new ValidatorHistoricalRewardsRecord. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IValidatorHistoricalRewardsRecord); /** ValidatorHistoricalRewardsRecord validator_address. */ public validator_address: string; /** ValidatorHistoricalRewardsRecord period. */ public period: Long; /** ValidatorHistoricalRewardsRecord rewards. */ public rewards?: (cosmos.distribution.v1beta1.IValidatorHistoricalRewards|null); /** * Encodes the specified ValidatorHistoricalRewardsRecord message. Does not implicitly {@link cosmos.distribution.v1beta1.ValidatorHistoricalRewardsRecord.verify|verify} messages. * @param message ValidatorHistoricalRewardsRecord message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IValidatorHistoricalRewardsRecord, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ValidatorHistoricalRewardsRecord message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.ValidatorHistoricalRewardsRecord.verify|verify} messages. * @param message ValidatorHistoricalRewardsRecord message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IValidatorHistoricalRewardsRecord, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ValidatorHistoricalRewardsRecord message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ValidatorHistoricalRewardsRecord * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.ValidatorHistoricalRewardsRecord; /** * Decodes a ValidatorHistoricalRewardsRecord message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ValidatorHistoricalRewardsRecord * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.ValidatorHistoricalRewardsRecord; /** * Verifies a ValidatorHistoricalRewardsRecord message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ValidatorHistoricalRewardsRecord message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ValidatorHistoricalRewardsRecord */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.ValidatorHistoricalRewardsRecord; /** * Creates a plain object from a ValidatorHistoricalRewardsRecord message. Also converts values to other types if specified. * @param message ValidatorHistoricalRewardsRecord * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.ValidatorHistoricalRewardsRecord, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ValidatorHistoricalRewardsRecord to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ValidatorCurrentRewardsRecord. */ interface IValidatorCurrentRewardsRecord { /** ValidatorCurrentRewardsRecord validator_address */ validator_address?: (string|null); /** ValidatorCurrentRewardsRecord rewards */ rewards?: (cosmos.distribution.v1beta1.IValidatorCurrentRewards|null); } /** Represents a ValidatorCurrentRewardsRecord. */ class ValidatorCurrentRewardsRecord implements IValidatorCurrentRewardsRecord { /** * Constructs a new ValidatorCurrentRewardsRecord. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IValidatorCurrentRewardsRecord); /** ValidatorCurrentRewardsRecord validator_address. */ public validator_address: string; /** ValidatorCurrentRewardsRecord rewards. */ public rewards?: (cosmos.distribution.v1beta1.IValidatorCurrentRewards|null); /** * Encodes the specified ValidatorCurrentRewardsRecord message. Does not implicitly {@link cosmos.distribution.v1beta1.ValidatorCurrentRewardsRecord.verify|verify} messages. * @param message ValidatorCurrentRewardsRecord message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IValidatorCurrentRewardsRecord, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ValidatorCurrentRewardsRecord message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.ValidatorCurrentRewardsRecord.verify|verify} messages. * @param message ValidatorCurrentRewardsRecord message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IValidatorCurrentRewardsRecord, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ValidatorCurrentRewardsRecord message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ValidatorCurrentRewardsRecord * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.ValidatorCurrentRewardsRecord; /** * Decodes a ValidatorCurrentRewardsRecord message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ValidatorCurrentRewardsRecord * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.ValidatorCurrentRewardsRecord; /** * Verifies a ValidatorCurrentRewardsRecord message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ValidatorCurrentRewardsRecord message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ValidatorCurrentRewardsRecord */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.ValidatorCurrentRewardsRecord; /** * Creates a plain object from a ValidatorCurrentRewardsRecord message. Also converts values to other types if specified. * @param message ValidatorCurrentRewardsRecord * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.ValidatorCurrentRewardsRecord, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ValidatorCurrentRewardsRecord to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a DelegatorStartingInfoRecord. */ interface IDelegatorStartingInfoRecord { /** DelegatorStartingInfoRecord delegator_address */ delegator_address?: (string|null); /** DelegatorStartingInfoRecord validator_address */ validator_address?: (string|null); /** DelegatorStartingInfoRecord starting_info */ starting_info?: (cosmos.distribution.v1beta1.IDelegatorStartingInfo|null); } /** Represents a DelegatorStartingInfoRecord. */ class DelegatorStartingInfoRecord implements IDelegatorStartingInfoRecord { /** * Constructs a new DelegatorStartingInfoRecord. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IDelegatorStartingInfoRecord); /** DelegatorStartingInfoRecord delegator_address. */ public delegator_address: string; /** DelegatorStartingInfoRecord validator_address. */ public validator_address: string; /** DelegatorStartingInfoRecord starting_info. */ public starting_info?: (cosmos.distribution.v1beta1.IDelegatorStartingInfo|null); /** * Encodes the specified DelegatorStartingInfoRecord message. Does not implicitly {@link cosmos.distribution.v1beta1.DelegatorStartingInfoRecord.verify|verify} messages. * @param message DelegatorStartingInfoRecord message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IDelegatorStartingInfoRecord, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DelegatorStartingInfoRecord message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.DelegatorStartingInfoRecord.verify|verify} messages. * @param message DelegatorStartingInfoRecord message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IDelegatorStartingInfoRecord, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DelegatorStartingInfoRecord message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DelegatorStartingInfoRecord * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.DelegatorStartingInfoRecord; /** * Decodes a DelegatorStartingInfoRecord message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DelegatorStartingInfoRecord * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.DelegatorStartingInfoRecord; /** * Verifies a DelegatorStartingInfoRecord message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DelegatorStartingInfoRecord message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DelegatorStartingInfoRecord */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.DelegatorStartingInfoRecord; /** * Creates a plain object from a DelegatorStartingInfoRecord message. Also converts values to other types if specified. * @param message DelegatorStartingInfoRecord * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.DelegatorStartingInfoRecord, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DelegatorStartingInfoRecord to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ValidatorSlashEventRecord. */ interface IValidatorSlashEventRecord { /** ValidatorSlashEventRecord validator_address */ validator_address?: (string|null); /** ValidatorSlashEventRecord height */ height?: (Long|null); /** ValidatorSlashEventRecord period */ period?: (Long|null); /** ValidatorSlashEventRecord validator_slash_event */ validator_slash_event?: (cosmos.distribution.v1beta1.IValidatorSlashEvent|null); } /** Represents a ValidatorSlashEventRecord. */ class ValidatorSlashEventRecord implements IValidatorSlashEventRecord { /** * Constructs a new ValidatorSlashEventRecord. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IValidatorSlashEventRecord); /** ValidatorSlashEventRecord validator_address. */ public validator_address: string; /** ValidatorSlashEventRecord height. */ public height: Long; /** ValidatorSlashEventRecord period. */ public period: Long; /** ValidatorSlashEventRecord validator_slash_event. */ public validator_slash_event?: (cosmos.distribution.v1beta1.IValidatorSlashEvent|null); /** * Encodes the specified ValidatorSlashEventRecord message. Does not implicitly {@link cosmos.distribution.v1beta1.ValidatorSlashEventRecord.verify|verify} messages. * @param message ValidatorSlashEventRecord message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IValidatorSlashEventRecord, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ValidatorSlashEventRecord message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.ValidatorSlashEventRecord.verify|verify} messages. * @param message ValidatorSlashEventRecord message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IValidatorSlashEventRecord, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ValidatorSlashEventRecord message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ValidatorSlashEventRecord * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.ValidatorSlashEventRecord; /** * Decodes a ValidatorSlashEventRecord message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ValidatorSlashEventRecord * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.ValidatorSlashEventRecord; /** * Verifies a ValidatorSlashEventRecord message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ValidatorSlashEventRecord message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ValidatorSlashEventRecord */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.ValidatorSlashEventRecord; /** * Creates a plain object from a ValidatorSlashEventRecord message. Also converts values to other types if specified. * @param message ValidatorSlashEventRecord * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.ValidatorSlashEventRecord, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ValidatorSlashEventRecord to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GenesisState. */ interface IGenesisState { /** GenesisState params */ params?: (cosmos.distribution.v1beta1.IParams|null); /** GenesisState fee_pool */ fee_pool?: (cosmos.distribution.v1beta1.IFeePool|null); /** GenesisState delegator_withdraw_infos */ delegator_withdraw_infos?: (cosmos.distribution.v1beta1.IDelegatorWithdrawInfo[]|null); /** GenesisState previous_proposer */ previous_proposer?: (string|null); /** GenesisState outstanding_rewards */ outstanding_rewards?: (cosmos.distribution.v1beta1.IValidatorOutstandingRewardsRecord[]|null); /** GenesisState validator_accumulated_commissions */ validator_accumulated_commissions?: (cosmos.distribution.v1beta1.IValidatorAccumulatedCommissionRecord[]|null); /** GenesisState validator_historical_rewards */ validator_historical_rewards?: (cosmos.distribution.v1beta1.IValidatorHistoricalRewardsRecord[]|null); /** GenesisState validator_current_rewards */ validator_current_rewards?: (cosmos.distribution.v1beta1.IValidatorCurrentRewardsRecord[]|null); /** GenesisState delegator_starting_infos */ delegator_starting_infos?: (cosmos.distribution.v1beta1.IDelegatorStartingInfoRecord[]|null); /** GenesisState validator_slash_events */ validator_slash_events?: (cosmos.distribution.v1beta1.IValidatorSlashEventRecord[]|null); } /** Represents a GenesisState. */ class GenesisState implements IGenesisState { /** * Constructs a new GenesisState. * @param [properties] Properties to set */ constructor(properties?: cosmos.distribution.v1beta1.IGenesisState); /** GenesisState params. */ public params?: (cosmos.distribution.v1beta1.IParams|null); /** GenesisState fee_pool. */ public fee_pool?: (cosmos.distribution.v1beta1.IFeePool|null); /** GenesisState delegator_withdraw_infos. */ public delegator_withdraw_infos: cosmos.distribution.v1beta1.IDelegatorWithdrawInfo[]; /** GenesisState previous_proposer. */ public previous_proposer: string; /** GenesisState outstanding_rewards. */ public outstanding_rewards: cosmos.distribution.v1beta1.IValidatorOutstandingRewardsRecord[]; /** GenesisState validator_accumulated_commissions. */ public validator_accumulated_commissions: cosmos.distribution.v1beta1.IValidatorAccumulatedCommissionRecord[]; /** GenesisState validator_historical_rewards. */ public validator_historical_rewards: cosmos.distribution.v1beta1.IValidatorHistoricalRewardsRecord[]; /** GenesisState validator_current_rewards. */ public validator_current_rewards: cosmos.distribution.v1beta1.IValidatorCurrentRewardsRecord[]; /** GenesisState delegator_starting_infos. */ public delegator_starting_infos: cosmos.distribution.v1beta1.IDelegatorStartingInfoRecord[]; /** GenesisState validator_slash_events. */ public validator_slash_events: cosmos.distribution.v1beta1.IValidatorSlashEventRecord[]; /** * Encodes the specified GenesisState message. Does not implicitly {@link cosmos.distribution.v1beta1.GenesisState.verify|verify} messages. * @param message GenesisState message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.distribution.v1beta1.IGenesisState, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GenesisState message, length delimited. Does not implicitly {@link cosmos.distribution.v1beta1.GenesisState.verify|verify} messages. * @param message GenesisState message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.distribution.v1beta1.IGenesisState, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GenesisState message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GenesisState * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.distribution.v1beta1.GenesisState; /** * Decodes a GenesisState message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GenesisState * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.distribution.v1beta1.GenesisState; /** * Verifies a GenesisState message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GenesisState message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GenesisState */ public static fromObject(object: { [k: string]: any }): cosmos.distribution.v1beta1.GenesisState; /** * Creates a plain object from a GenesisState message. Also converts values to other types if specified. * @param message GenesisState * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.distribution.v1beta1.GenesisState, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GenesisState to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace evidence. */ namespace evidence { /** Namespace module. */ namespace module { /** Namespace v1. */ namespace v1 { /** Properties of a Module. */ interface IModule { } /** Represents a Module. */ class Module implements IModule { /** * Constructs a new Module. * @param [properties] Properties to set */ constructor(properties?: cosmos.evidence.module.v1.IModule); /** * Encodes the specified Module message. Does not implicitly {@link cosmos.evidence.module.v1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.evidence.module.v1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Module message, length delimited. Does not implicitly {@link cosmos.evidence.module.v1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.evidence.module.v1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Module message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.evidence.module.v1.Module; /** * Decodes a Module message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.evidence.module.v1.Module; /** * Verifies a Module message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Module message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Module */ public static fromObject(object: { [k: string]: any }): cosmos.evidence.module.v1.Module; /** * Creates a plain object from a Module message. Also converts values to other types if specified. * @param message Module * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.evidence.module.v1.Module, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Module to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace v1beta1. */ namespace v1beta1 { /** Properties of an Equivocation. */ interface IEquivocation { /** Equivocation height */ height?: (Long|null); /** Equivocation time */ time?: (google.protobuf.ITimestamp|null); /** Equivocation power */ power?: (Long|null); /** Equivocation consensus_address */ consensus_address?: (string|null); } /** Represents an Equivocation. */ class Equivocation implements IEquivocation { /** * Constructs a new Equivocation. * @param [properties] Properties to set */ constructor(properties?: cosmos.evidence.v1beta1.IEquivocation); /** Equivocation height. */ public height: Long; /** Equivocation time. */ public time?: (google.protobuf.ITimestamp|null); /** Equivocation power. */ public power: Long; /** Equivocation consensus_address. */ public consensus_address: string; /** * Encodes the specified Equivocation message. Does not implicitly {@link cosmos.evidence.v1beta1.Equivocation.verify|verify} messages. * @param message Equivocation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.evidence.v1beta1.IEquivocation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Equivocation message, length delimited. Does not implicitly {@link cosmos.evidence.v1beta1.Equivocation.verify|verify} messages. * @param message Equivocation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.evidence.v1beta1.IEquivocation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Equivocation message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Equivocation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.evidence.v1beta1.Equivocation; /** * Decodes an Equivocation message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Equivocation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.evidence.v1beta1.Equivocation; /** * Verifies an Equivocation message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Equivocation message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Equivocation */ public static fromObject(object: { [k: string]: any }): cosmos.evidence.v1beta1.Equivocation; /** * Creates a plain object from an Equivocation message. Also converts values to other types if specified. * @param message Equivocation * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.evidence.v1beta1.Equivocation, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Equivocation to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Represents a Query */ class Query extends $protobuf.rpc.Service { /** * Constructs a new Query service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls Evidence. * @param request QueryEvidenceRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryEvidenceResponse */ public evidence(request: cosmos.evidence.v1beta1.IQueryEvidenceRequest, callback: cosmos.evidence.v1beta1.Query.EvidenceCallback): void; /** * Calls Evidence. * @param request QueryEvidenceRequest message or plain object * @returns Promise */ public evidence(request: cosmos.evidence.v1beta1.IQueryEvidenceRequest): Promise; /** * Calls AllEvidence. * @param request QueryAllEvidenceRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryAllEvidenceResponse */ public allEvidence(request: cosmos.evidence.v1beta1.IQueryAllEvidenceRequest, callback: cosmos.evidence.v1beta1.Query.AllEvidenceCallback): void; /** * Calls AllEvidence. * @param request QueryAllEvidenceRequest message or plain object * @returns Promise */ public allEvidence(request: cosmos.evidence.v1beta1.IQueryAllEvidenceRequest): Promise; } namespace Query { /** * Callback as used by {@link cosmos.evidence.v1beta1.Query#evidence}. * @param error Error, if any * @param [response] QueryEvidenceResponse */ type EvidenceCallback = (error: (Error|null), response?: cosmos.evidence.v1beta1.QueryEvidenceResponse) => void; /** * Callback as used by {@link cosmos.evidence.v1beta1.Query#allEvidence}. * @param error Error, if any * @param [response] QueryAllEvidenceResponse */ type AllEvidenceCallback = (error: (Error|null), response?: cosmos.evidence.v1beta1.QueryAllEvidenceResponse) => void; } /** Properties of a QueryEvidenceRequest. */ interface IQueryEvidenceRequest { /** QueryEvidenceRequest evidence_hash */ evidence_hash?: (Uint8Array|null); /** QueryEvidenceRequest hash */ hash?: (string|null); } /** Represents a QueryEvidenceRequest. */ class QueryEvidenceRequest implements IQueryEvidenceRequest { /** * Constructs a new QueryEvidenceRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.evidence.v1beta1.IQueryEvidenceRequest); /** QueryEvidenceRequest evidence_hash. */ public evidence_hash: Uint8Array; /** QueryEvidenceRequest hash. */ public hash: string; /** * Encodes the specified QueryEvidenceRequest message. Does not implicitly {@link cosmos.evidence.v1beta1.QueryEvidenceRequest.verify|verify} messages. * @param message QueryEvidenceRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.evidence.v1beta1.IQueryEvidenceRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryEvidenceRequest message, length delimited. Does not implicitly {@link cosmos.evidence.v1beta1.QueryEvidenceRequest.verify|verify} messages. * @param message QueryEvidenceRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.evidence.v1beta1.IQueryEvidenceRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryEvidenceRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryEvidenceRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.evidence.v1beta1.QueryEvidenceRequest; /** * Decodes a QueryEvidenceRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryEvidenceRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.evidence.v1beta1.QueryEvidenceRequest; /** * Verifies a QueryEvidenceRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryEvidenceRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryEvidenceRequest */ public static fromObject(object: { [k: string]: any }): cosmos.evidence.v1beta1.QueryEvidenceRequest; /** * Creates a plain object from a QueryEvidenceRequest message. Also converts values to other types if specified. * @param message QueryEvidenceRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.evidence.v1beta1.QueryEvidenceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryEvidenceRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryEvidenceResponse. */ interface IQueryEvidenceResponse { /** QueryEvidenceResponse evidence */ evidence?: (google.protobuf.IAny|null); } /** Represents a QueryEvidenceResponse. */ class QueryEvidenceResponse implements IQueryEvidenceResponse { /** * Constructs a new QueryEvidenceResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.evidence.v1beta1.IQueryEvidenceResponse); /** QueryEvidenceResponse evidence. */ public evidence?: (google.protobuf.IAny|null); /** * Encodes the specified QueryEvidenceResponse message. Does not implicitly {@link cosmos.evidence.v1beta1.QueryEvidenceResponse.verify|verify} messages. * @param message QueryEvidenceResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.evidence.v1beta1.IQueryEvidenceResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryEvidenceResponse message, length delimited. Does not implicitly {@link cosmos.evidence.v1beta1.QueryEvidenceResponse.verify|verify} messages. * @param message QueryEvidenceResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.evidence.v1beta1.IQueryEvidenceResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryEvidenceResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryEvidenceResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.evidence.v1beta1.QueryEvidenceResponse; /** * Decodes a QueryEvidenceResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryEvidenceResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.evidence.v1beta1.QueryEvidenceResponse; /** * Verifies a QueryEvidenceResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryEvidenceResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryEvidenceResponse */ public static fromObject(object: { [k: string]: any }): cosmos.evidence.v1beta1.QueryEvidenceResponse; /** * Creates a plain object from a QueryEvidenceResponse message. Also converts values to other types if specified. * @param message QueryEvidenceResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.evidence.v1beta1.QueryEvidenceResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryEvidenceResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryAllEvidenceRequest. */ interface IQueryAllEvidenceRequest { /** QueryAllEvidenceRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a QueryAllEvidenceRequest. */ class QueryAllEvidenceRequest implements IQueryAllEvidenceRequest { /** * Constructs a new QueryAllEvidenceRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.evidence.v1beta1.IQueryAllEvidenceRequest); /** QueryAllEvidenceRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** * Encodes the specified QueryAllEvidenceRequest message. Does not implicitly {@link cosmos.evidence.v1beta1.QueryAllEvidenceRequest.verify|verify} messages. * @param message QueryAllEvidenceRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.evidence.v1beta1.IQueryAllEvidenceRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryAllEvidenceRequest message, length delimited. Does not implicitly {@link cosmos.evidence.v1beta1.QueryAllEvidenceRequest.verify|verify} messages. * @param message QueryAllEvidenceRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.evidence.v1beta1.IQueryAllEvidenceRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryAllEvidenceRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryAllEvidenceRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.evidence.v1beta1.QueryAllEvidenceRequest; /** * Decodes a QueryAllEvidenceRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryAllEvidenceRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.evidence.v1beta1.QueryAllEvidenceRequest; /** * Verifies a QueryAllEvidenceRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryAllEvidenceRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryAllEvidenceRequest */ public static fromObject(object: { [k: string]: any }): cosmos.evidence.v1beta1.QueryAllEvidenceRequest; /** * Creates a plain object from a QueryAllEvidenceRequest message. Also converts values to other types if specified. * @param message QueryAllEvidenceRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.evidence.v1beta1.QueryAllEvidenceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryAllEvidenceRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryAllEvidenceResponse. */ interface IQueryAllEvidenceResponse { /** QueryAllEvidenceResponse evidence */ evidence?: (google.protobuf.IAny[]|null); /** QueryAllEvidenceResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a QueryAllEvidenceResponse. */ class QueryAllEvidenceResponse implements IQueryAllEvidenceResponse { /** * Constructs a new QueryAllEvidenceResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.evidence.v1beta1.IQueryAllEvidenceResponse); /** QueryAllEvidenceResponse evidence. */ public evidence: google.protobuf.IAny[]; /** QueryAllEvidenceResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified QueryAllEvidenceResponse message. Does not implicitly {@link cosmos.evidence.v1beta1.QueryAllEvidenceResponse.verify|verify} messages. * @param message QueryAllEvidenceResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.evidence.v1beta1.IQueryAllEvidenceResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryAllEvidenceResponse message, length delimited. Does not implicitly {@link cosmos.evidence.v1beta1.QueryAllEvidenceResponse.verify|verify} messages. * @param message QueryAllEvidenceResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.evidence.v1beta1.IQueryAllEvidenceResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryAllEvidenceResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryAllEvidenceResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.evidence.v1beta1.QueryAllEvidenceResponse; /** * Decodes a QueryAllEvidenceResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryAllEvidenceResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.evidence.v1beta1.QueryAllEvidenceResponse; /** * Verifies a QueryAllEvidenceResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryAllEvidenceResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryAllEvidenceResponse */ public static fromObject(object: { [k: string]: any }): cosmos.evidence.v1beta1.QueryAllEvidenceResponse; /** * Creates a plain object from a QueryAllEvidenceResponse message. Also converts values to other types if specified. * @param message QueryAllEvidenceResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.evidence.v1beta1.QueryAllEvidenceResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryAllEvidenceResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Represents a Msg */ class Msg extends $protobuf.rpc.Service { /** * Constructs a new Msg service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls SubmitEvidence. * @param request MsgSubmitEvidence message or plain object * @param callback Node-style callback called with the error, if any, and MsgSubmitEvidenceResponse */ public submitEvidence(request: cosmos.evidence.v1beta1.IMsgSubmitEvidence, callback: cosmos.evidence.v1beta1.Msg.SubmitEvidenceCallback): void; /** * Calls SubmitEvidence. * @param request MsgSubmitEvidence message or plain object * @returns Promise */ public submitEvidence(request: cosmos.evidence.v1beta1.IMsgSubmitEvidence): Promise; } namespace Msg { /** * Callback as used by {@link cosmos.evidence.v1beta1.Msg#submitEvidence}. * @param error Error, if any * @param [response] MsgSubmitEvidenceResponse */ type SubmitEvidenceCallback = (error: (Error|null), response?: cosmos.evidence.v1beta1.MsgSubmitEvidenceResponse) => void; } /** Properties of a MsgSubmitEvidence. */ interface IMsgSubmitEvidence { /** MsgSubmitEvidence submitter */ submitter?: (string|null); /** MsgSubmitEvidence evidence */ evidence?: (google.protobuf.IAny|null); } /** Represents a MsgSubmitEvidence. */ class MsgSubmitEvidence implements IMsgSubmitEvidence { /** * Constructs a new MsgSubmitEvidence. * @param [properties] Properties to set */ constructor(properties?: cosmos.evidence.v1beta1.IMsgSubmitEvidence); /** MsgSubmitEvidence submitter. */ public submitter: string; /** MsgSubmitEvidence evidence. */ public evidence?: (google.protobuf.IAny|null); /** * Encodes the specified MsgSubmitEvidence message. Does not implicitly {@link cosmos.evidence.v1beta1.MsgSubmitEvidence.verify|verify} messages. * @param message MsgSubmitEvidence message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.evidence.v1beta1.IMsgSubmitEvidence, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgSubmitEvidence message, length delimited. Does not implicitly {@link cosmos.evidence.v1beta1.MsgSubmitEvidence.verify|verify} messages. * @param message MsgSubmitEvidence message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.evidence.v1beta1.IMsgSubmitEvidence, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgSubmitEvidence message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgSubmitEvidence * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.evidence.v1beta1.MsgSubmitEvidence; /** * Decodes a MsgSubmitEvidence message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgSubmitEvidence * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.evidence.v1beta1.MsgSubmitEvidence; /** * Verifies a MsgSubmitEvidence message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgSubmitEvidence message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgSubmitEvidence */ public static fromObject(object: { [k: string]: any }): cosmos.evidence.v1beta1.MsgSubmitEvidence; /** * Creates a plain object from a MsgSubmitEvidence message. Also converts values to other types if specified. * @param message MsgSubmitEvidence * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.evidence.v1beta1.MsgSubmitEvidence, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgSubmitEvidence to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgSubmitEvidenceResponse. */ interface IMsgSubmitEvidenceResponse { /** MsgSubmitEvidenceResponse hash */ hash?: (Uint8Array|null); } /** Represents a MsgSubmitEvidenceResponse. */ class MsgSubmitEvidenceResponse implements IMsgSubmitEvidenceResponse { /** * Constructs a new MsgSubmitEvidenceResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.evidence.v1beta1.IMsgSubmitEvidenceResponse); /** MsgSubmitEvidenceResponse hash. */ public hash: Uint8Array; /** * Encodes the specified MsgSubmitEvidenceResponse message. Does not implicitly {@link cosmos.evidence.v1beta1.MsgSubmitEvidenceResponse.verify|verify} messages. * @param message MsgSubmitEvidenceResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.evidence.v1beta1.IMsgSubmitEvidenceResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgSubmitEvidenceResponse message, length delimited. Does not implicitly {@link cosmos.evidence.v1beta1.MsgSubmitEvidenceResponse.verify|verify} messages. * @param message MsgSubmitEvidenceResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.evidence.v1beta1.IMsgSubmitEvidenceResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgSubmitEvidenceResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgSubmitEvidenceResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.evidence.v1beta1.MsgSubmitEvidenceResponse; /** * Decodes a MsgSubmitEvidenceResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgSubmitEvidenceResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.evidence.v1beta1.MsgSubmitEvidenceResponse; /** * Verifies a MsgSubmitEvidenceResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgSubmitEvidenceResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgSubmitEvidenceResponse */ public static fromObject(object: { [k: string]: any }): cosmos.evidence.v1beta1.MsgSubmitEvidenceResponse; /** * Creates a plain object from a MsgSubmitEvidenceResponse message. Also converts values to other types if specified. * @param message MsgSubmitEvidenceResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.evidence.v1beta1.MsgSubmitEvidenceResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgSubmitEvidenceResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GenesisState. */ interface IGenesisState { /** GenesisState evidence */ evidence?: (google.protobuf.IAny[]|null); } /** Represents a GenesisState. */ class GenesisState implements IGenesisState { /** * Constructs a new GenesisState. * @param [properties] Properties to set */ constructor(properties?: cosmos.evidence.v1beta1.IGenesisState); /** GenesisState evidence. */ public evidence: google.protobuf.IAny[]; /** * Encodes the specified GenesisState message. Does not implicitly {@link cosmos.evidence.v1beta1.GenesisState.verify|verify} messages. * @param message GenesisState message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.evidence.v1beta1.IGenesisState, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GenesisState message, length delimited. Does not implicitly {@link cosmos.evidence.v1beta1.GenesisState.verify|verify} messages. * @param message GenesisState message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.evidence.v1beta1.IGenesisState, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GenesisState message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GenesisState * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.evidence.v1beta1.GenesisState; /** * Decodes a GenesisState message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GenesisState * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.evidence.v1beta1.GenesisState; /** * Verifies a GenesisState message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GenesisState message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GenesisState */ public static fromObject(object: { [k: string]: any }): cosmos.evidence.v1beta1.GenesisState; /** * Creates a plain object from a GenesisState message. Also converts values to other types if specified. * @param message GenesisState * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.evidence.v1beta1.GenesisState, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GenesisState to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace feegrant. */ namespace feegrant { /** Namespace module. */ namespace module { /** Namespace v1. */ namespace v1 { /** Properties of a Module. */ interface IModule { } /** Represents a Module. */ class Module implements IModule { /** * Constructs a new Module. * @param [properties] Properties to set */ constructor(properties?: cosmos.feegrant.module.v1.IModule); /** * Encodes the specified Module message. Does not implicitly {@link cosmos.feegrant.module.v1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.feegrant.module.v1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Module message, length delimited. Does not implicitly {@link cosmos.feegrant.module.v1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.feegrant.module.v1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Module message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.feegrant.module.v1.Module; /** * Decodes a Module message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.feegrant.module.v1.Module; /** * Verifies a Module message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Module message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Module */ public static fromObject(object: { [k: string]: any }): cosmos.feegrant.module.v1.Module; /** * Creates a plain object from a Module message. Also converts values to other types if specified. * @param message Module * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.feegrant.module.v1.Module, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Module to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace v1beta1. */ namespace v1beta1 { /** Represents a Query */ class Query extends $protobuf.rpc.Service { /** * Constructs a new Query service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls Allowance. * @param request QueryAllowanceRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryAllowanceResponse */ public allowance(request: cosmos.feegrant.v1beta1.IQueryAllowanceRequest, callback: cosmos.feegrant.v1beta1.Query.AllowanceCallback): void; /** * Calls Allowance. * @param request QueryAllowanceRequest message or plain object * @returns Promise */ public allowance(request: cosmos.feegrant.v1beta1.IQueryAllowanceRequest): Promise; /** * Calls Allowances. * @param request QueryAllowancesRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryAllowancesResponse */ public allowances(request: cosmos.feegrant.v1beta1.IQueryAllowancesRequest, callback: cosmos.feegrant.v1beta1.Query.AllowancesCallback): void; /** * Calls Allowances. * @param request QueryAllowancesRequest message or plain object * @returns Promise */ public allowances(request: cosmos.feegrant.v1beta1.IQueryAllowancesRequest): Promise; /** * Calls AllowancesByGranter. * @param request QueryAllowancesByGranterRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryAllowancesByGranterResponse */ public allowancesByGranter(request: cosmos.feegrant.v1beta1.IQueryAllowancesByGranterRequest, callback: cosmos.feegrant.v1beta1.Query.AllowancesByGranterCallback): void; /** * Calls AllowancesByGranter. * @param request QueryAllowancesByGranterRequest message or plain object * @returns Promise */ public allowancesByGranter(request: cosmos.feegrant.v1beta1.IQueryAllowancesByGranterRequest): Promise; } namespace Query { /** * Callback as used by {@link cosmos.feegrant.v1beta1.Query#allowance}. * @param error Error, if any * @param [response] QueryAllowanceResponse */ type AllowanceCallback = (error: (Error|null), response?: cosmos.feegrant.v1beta1.QueryAllowanceResponse) => void; /** * Callback as used by {@link cosmos.feegrant.v1beta1.Query#allowances}. * @param error Error, if any * @param [response] QueryAllowancesResponse */ type AllowancesCallback = (error: (Error|null), response?: cosmos.feegrant.v1beta1.QueryAllowancesResponse) => void; /** * Callback as used by {@link cosmos.feegrant.v1beta1.Query#allowancesByGranter}. * @param error Error, if any * @param [response] QueryAllowancesByGranterResponse */ type AllowancesByGranterCallback = (error: (Error|null), response?: cosmos.feegrant.v1beta1.QueryAllowancesByGranterResponse) => void; } /** Properties of a QueryAllowanceRequest. */ interface IQueryAllowanceRequest { /** QueryAllowanceRequest granter */ granter?: (string|null); /** QueryAllowanceRequest grantee */ grantee?: (string|null); } /** Represents a QueryAllowanceRequest. */ class QueryAllowanceRequest implements IQueryAllowanceRequest { /** * Constructs a new QueryAllowanceRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.feegrant.v1beta1.IQueryAllowanceRequest); /** QueryAllowanceRequest granter. */ public granter: string; /** QueryAllowanceRequest grantee. */ public grantee: string; /** * Encodes the specified QueryAllowanceRequest message. Does not implicitly {@link cosmos.feegrant.v1beta1.QueryAllowanceRequest.verify|verify} messages. * @param message QueryAllowanceRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.feegrant.v1beta1.IQueryAllowanceRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryAllowanceRequest message, length delimited. Does not implicitly {@link cosmos.feegrant.v1beta1.QueryAllowanceRequest.verify|verify} messages. * @param message QueryAllowanceRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.feegrant.v1beta1.IQueryAllowanceRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryAllowanceRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryAllowanceRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.feegrant.v1beta1.QueryAllowanceRequest; /** * Decodes a QueryAllowanceRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryAllowanceRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.feegrant.v1beta1.QueryAllowanceRequest; /** * Verifies a QueryAllowanceRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryAllowanceRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryAllowanceRequest */ public static fromObject(object: { [k: string]: any }): cosmos.feegrant.v1beta1.QueryAllowanceRequest; /** * Creates a plain object from a QueryAllowanceRequest message. Also converts values to other types if specified. * @param message QueryAllowanceRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.feegrant.v1beta1.QueryAllowanceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryAllowanceRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryAllowanceResponse. */ interface IQueryAllowanceResponse { /** QueryAllowanceResponse allowance */ allowance?: (cosmos.feegrant.v1beta1.IGrant|null); } /** Represents a QueryAllowanceResponse. */ class QueryAllowanceResponse implements IQueryAllowanceResponse { /** * Constructs a new QueryAllowanceResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.feegrant.v1beta1.IQueryAllowanceResponse); /** QueryAllowanceResponse allowance. */ public allowance?: (cosmos.feegrant.v1beta1.IGrant|null); /** * Encodes the specified QueryAllowanceResponse message. Does not implicitly {@link cosmos.feegrant.v1beta1.QueryAllowanceResponse.verify|verify} messages. * @param message QueryAllowanceResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.feegrant.v1beta1.IQueryAllowanceResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryAllowanceResponse message, length delimited. Does not implicitly {@link cosmos.feegrant.v1beta1.QueryAllowanceResponse.verify|verify} messages. * @param message QueryAllowanceResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.feegrant.v1beta1.IQueryAllowanceResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryAllowanceResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryAllowanceResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.feegrant.v1beta1.QueryAllowanceResponse; /** * Decodes a QueryAllowanceResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryAllowanceResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.feegrant.v1beta1.QueryAllowanceResponse; /** * Verifies a QueryAllowanceResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryAllowanceResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryAllowanceResponse */ public static fromObject(object: { [k: string]: any }): cosmos.feegrant.v1beta1.QueryAllowanceResponse; /** * Creates a plain object from a QueryAllowanceResponse message. Also converts values to other types if specified. * @param message QueryAllowanceResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.feegrant.v1beta1.QueryAllowanceResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryAllowanceResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryAllowancesRequest. */ interface IQueryAllowancesRequest { /** QueryAllowancesRequest grantee */ grantee?: (string|null); /** QueryAllowancesRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a QueryAllowancesRequest. */ class QueryAllowancesRequest implements IQueryAllowancesRequest { /** * Constructs a new QueryAllowancesRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.feegrant.v1beta1.IQueryAllowancesRequest); /** QueryAllowancesRequest grantee. */ public grantee: string; /** QueryAllowancesRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** * Encodes the specified QueryAllowancesRequest message. Does not implicitly {@link cosmos.feegrant.v1beta1.QueryAllowancesRequest.verify|verify} messages. * @param message QueryAllowancesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.feegrant.v1beta1.IQueryAllowancesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryAllowancesRequest message, length delimited. Does not implicitly {@link cosmos.feegrant.v1beta1.QueryAllowancesRequest.verify|verify} messages. * @param message QueryAllowancesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.feegrant.v1beta1.IQueryAllowancesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryAllowancesRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryAllowancesRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.feegrant.v1beta1.QueryAllowancesRequest; /** * Decodes a QueryAllowancesRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryAllowancesRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.feegrant.v1beta1.QueryAllowancesRequest; /** * Verifies a QueryAllowancesRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryAllowancesRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryAllowancesRequest */ public static fromObject(object: { [k: string]: any }): cosmos.feegrant.v1beta1.QueryAllowancesRequest; /** * Creates a plain object from a QueryAllowancesRequest message. Also converts values to other types if specified. * @param message QueryAllowancesRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.feegrant.v1beta1.QueryAllowancesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryAllowancesRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryAllowancesResponse. */ interface IQueryAllowancesResponse { /** QueryAllowancesResponse allowances */ allowances?: (cosmos.feegrant.v1beta1.IGrant[]|null); /** QueryAllowancesResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a QueryAllowancesResponse. */ class QueryAllowancesResponse implements IQueryAllowancesResponse { /** * Constructs a new QueryAllowancesResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.feegrant.v1beta1.IQueryAllowancesResponse); /** QueryAllowancesResponse allowances. */ public allowances: cosmos.feegrant.v1beta1.IGrant[]; /** QueryAllowancesResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified QueryAllowancesResponse message. Does not implicitly {@link cosmos.feegrant.v1beta1.QueryAllowancesResponse.verify|verify} messages. * @param message QueryAllowancesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.feegrant.v1beta1.IQueryAllowancesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryAllowancesResponse message, length delimited. Does not implicitly {@link cosmos.feegrant.v1beta1.QueryAllowancesResponse.verify|verify} messages. * @param message QueryAllowancesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.feegrant.v1beta1.IQueryAllowancesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryAllowancesResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryAllowancesResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.feegrant.v1beta1.QueryAllowancesResponse; /** * Decodes a QueryAllowancesResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryAllowancesResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.feegrant.v1beta1.QueryAllowancesResponse; /** * Verifies a QueryAllowancesResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryAllowancesResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryAllowancesResponse */ public static fromObject(object: { [k: string]: any }): cosmos.feegrant.v1beta1.QueryAllowancesResponse; /** * Creates a plain object from a QueryAllowancesResponse message. Also converts values to other types if specified. * @param message QueryAllowancesResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.feegrant.v1beta1.QueryAllowancesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryAllowancesResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryAllowancesByGranterRequest. */ interface IQueryAllowancesByGranterRequest { /** QueryAllowancesByGranterRequest granter */ granter?: (string|null); /** QueryAllowancesByGranterRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a QueryAllowancesByGranterRequest. */ class QueryAllowancesByGranterRequest implements IQueryAllowancesByGranterRequest { /** * Constructs a new QueryAllowancesByGranterRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.feegrant.v1beta1.IQueryAllowancesByGranterRequest); /** QueryAllowancesByGranterRequest granter. */ public granter: string; /** QueryAllowancesByGranterRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** * Encodes the specified QueryAllowancesByGranterRequest message. Does not implicitly {@link cosmos.feegrant.v1beta1.QueryAllowancesByGranterRequest.verify|verify} messages. * @param message QueryAllowancesByGranterRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.feegrant.v1beta1.IQueryAllowancesByGranterRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryAllowancesByGranterRequest message, length delimited. Does not implicitly {@link cosmos.feegrant.v1beta1.QueryAllowancesByGranterRequest.verify|verify} messages. * @param message QueryAllowancesByGranterRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.feegrant.v1beta1.IQueryAllowancesByGranterRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryAllowancesByGranterRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryAllowancesByGranterRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.feegrant.v1beta1.QueryAllowancesByGranterRequest; /** * Decodes a QueryAllowancesByGranterRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryAllowancesByGranterRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.feegrant.v1beta1.QueryAllowancesByGranterRequest; /** * Verifies a QueryAllowancesByGranterRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryAllowancesByGranterRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryAllowancesByGranterRequest */ public static fromObject(object: { [k: string]: any }): cosmos.feegrant.v1beta1.QueryAllowancesByGranterRequest; /** * Creates a plain object from a QueryAllowancesByGranterRequest message. Also converts values to other types if specified. * @param message QueryAllowancesByGranterRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.feegrant.v1beta1.QueryAllowancesByGranterRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryAllowancesByGranterRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryAllowancesByGranterResponse. */ interface IQueryAllowancesByGranterResponse { /** QueryAllowancesByGranterResponse allowances */ allowances?: (cosmos.feegrant.v1beta1.IGrant[]|null); /** QueryAllowancesByGranterResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a QueryAllowancesByGranterResponse. */ class QueryAllowancesByGranterResponse implements IQueryAllowancesByGranterResponse { /** * Constructs a new QueryAllowancesByGranterResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.feegrant.v1beta1.IQueryAllowancesByGranterResponse); /** QueryAllowancesByGranterResponse allowances. */ public allowances: cosmos.feegrant.v1beta1.IGrant[]; /** QueryAllowancesByGranterResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified QueryAllowancesByGranterResponse message. Does not implicitly {@link cosmos.feegrant.v1beta1.QueryAllowancesByGranterResponse.verify|verify} messages. * @param message QueryAllowancesByGranterResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.feegrant.v1beta1.IQueryAllowancesByGranterResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryAllowancesByGranterResponse message, length delimited. Does not implicitly {@link cosmos.feegrant.v1beta1.QueryAllowancesByGranterResponse.verify|verify} messages. * @param message QueryAllowancesByGranterResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.feegrant.v1beta1.IQueryAllowancesByGranterResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryAllowancesByGranterResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryAllowancesByGranterResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.feegrant.v1beta1.QueryAllowancesByGranterResponse; /** * Decodes a QueryAllowancesByGranterResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryAllowancesByGranterResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.feegrant.v1beta1.QueryAllowancesByGranterResponse; /** * Verifies a QueryAllowancesByGranterResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryAllowancesByGranterResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryAllowancesByGranterResponse */ public static fromObject(object: { [k: string]: any }): cosmos.feegrant.v1beta1.QueryAllowancesByGranterResponse; /** * Creates a plain object from a QueryAllowancesByGranterResponse message. Also converts values to other types if specified. * @param message QueryAllowancesByGranterResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.feegrant.v1beta1.QueryAllowancesByGranterResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryAllowancesByGranterResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a BasicAllowance. */ interface IBasicAllowance { /** BasicAllowance spend_limit */ spend_limit?: (cosmos.base.v1beta1.ICoin[]|null); /** BasicAllowance expiration */ expiration?: (google.protobuf.ITimestamp|null); } /** Represents a BasicAllowance. */ class BasicAllowance implements IBasicAllowance { /** * Constructs a new BasicAllowance. * @param [properties] Properties to set */ constructor(properties?: cosmos.feegrant.v1beta1.IBasicAllowance); /** BasicAllowance spend_limit. */ public spend_limit: cosmos.base.v1beta1.ICoin[]; /** BasicAllowance expiration. */ public expiration?: (google.protobuf.ITimestamp|null); /** * Encodes the specified BasicAllowance message. Does not implicitly {@link cosmos.feegrant.v1beta1.BasicAllowance.verify|verify} messages. * @param message BasicAllowance message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.feegrant.v1beta1.IBasicAllowance, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BasicAllowance message, length delimited. Does not implicitly {@link cosmos.feegrant.v1beta1.BasicAllowance.verify|verify} messages. * @param message BasicAllowance message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.feegrant.v1beta1.IBasicAllowance, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BasicAllowance message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BasicAllowance * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.feegrant.v1beta1.BasicAllowance; /** * Decodes a BasicAllowance message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BasicAllowance * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.feegrant.v1beta1.BasicAllowance; /** * Verifies a BasicAllowance message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BasicAllowance message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BasicAllowance */ public static fromObject(object: { [k: string]: any }): cosmos.feegrant.v1beta1.BasicAllowance; /** * Creates a plain object from a BasicAllowance message. Also converts values to other types if specified. * @param message BasicAllowance * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.feegrant.v1beta1.BasicAllowance, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BasicAllowance to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a PeriodicAllowance. */ interface IPeriodicAllowance { /** PeriodicAllowance basic */ basic?: (cosmos.feegrant.v1beta1.IBasicAllowance|null); /** PeriodicAllowance period */ period?: (google.protobuf.IDuration|null); /** PeriodicAllowance period_spend_limit */ period_spend_limit?: (cosmos.base.v1beta1.ICoin[]|null); /** PeriodicAllowance period_can_spend */ period_can_spend?: (cosmos.base.v1beta1.ICoin[]|null); /** PeriodicAllowance period_reset */ period_reset?: (google.protobuf.ITimestamp|null); } /** Represents a PeriodicAllowance. */ class PeriodicAllowance implements IPeriodicAllowance { /** * Constructs a new PeriodicAllowance. * @param [properties] Properties to set */ constructor(properties?: cosmos.feegrant.v1beta1.IPeriodicAllowance); /** PeriodicAllowance basic. */ public basic?: (cosmos.feegrant.v1beta1.IBasicAllowance|null); /** PeriodicAllowance period. */ public period?: (google.protobuf.IDuration|null); /** PeriodicAllowance period_spend_limit. */ public period_spend_limit: cosmos.base.v1beta1.ICoin[]; /** PeriodicAllowance period_can_spend. */ public period_can_spend: cosmos.base.v1beta1.ICoin[]; /** PeriodicAllowance period_reset. */ public period_reset?: (google.protobuf.ITimestamp|null); /** * Encodes the specified PeriodicAllowance message. Does not implicitly {@link cosmos.feegrant.v1beta1.PeriodicAllowance.verify|verify} messages. * @param message PeriodicAllowance message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.feegrant.v1beta1.IPeriodicAllowance, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PeriodicAllowance message, length delimited. Does not implicitly {@link cosmos.feegrant.v1beta1.PeriodicAllowance.verify|verify} messages. * @param message PeriodicAllowance message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.feegrant.v1beta1.IPeriodicAllowance, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PeriodicAllowance message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PeriodicAllowance * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.feegrant.v1beta1.PeriodicAllowance; /** * Decodes a PeriodicAllowance message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PeriodicAllowance * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.feegrant.v1beta1.PeriodicAllowance; /** * Verifies a PeriodicAllowance message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PeriodicAllowance message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PeriodicAllowance */ public static fromObject(object: { [k: string]: any }): cosmos.feegrant.v1beta1.PeriodicAllowance; /** * Creates a plain object from a PeriodicAllowance message. Also converts values to other types if specified. * @param message PeriodicAllowance * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.feegrant.v1beta1.PeriodicAllowance, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PeriodicAllowance to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an AllowedMsgAllowance. */ interface IAllowedMsgAllowance { /** AllowedMsgAllowance allowance */ allowance?: (google.protobuf.IAny|null); /** AllowedMsgAllowance allowed_messages */ allowed_messages?: (string[]|null); } /** Represents an AllowedMsgAllowance. */ class AllowedMsgAllowance implements IAllowedMsgAllowance { /** * Constructs a new AllowedMsgAllowance. * @param [properties] Properties to set */ constructor(properties?: cosmos.feegrant.v1beta1.IAllowedMsgAllowance); /** AllowedMsgAllowance allowance. */ public allowance?: (google.protobuf.IAny|null); /** AllowedMsgAllowance allowed_messages. */ public allowed_messages: string[]; /** * Encodes the specified AllowedMsgAllowance message. Does not implicitly {@link cosmos.feegrant.v1beta1.AllowedMsgAllowance.verify|verify} messages. * @param message AllowedMsgAllowance message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.feegrant.v1beta1.IAllowedMsgAllowance, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AllowedMsgAllowance message, length delimited. Does not implicitly {@link cosmos.feegrant.v1beta1.AllowedMsgAllowance.verify|verify} messages. * @param message AllowedMsgAllowance message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.feegrant.v1beta1.IAllowedMsgAllowance, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AllowedMsgAllowance message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AllowedMsgAllowance * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.feegrant.v1beta1.AllowedMsgAllowance; /** * Decodes an AllowedMsgAllowance message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AllowedMsgAllowance * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.feegrant.v1beta1.AllowedMsgAllowance; /** * Verifies an AllowedMsgAllowance message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AllowedMsgAllowance message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AllowedMsgAllowance */ public static fromObject(object: { [k: string]: any }): cosmos.feegrant.v1beta1.AllowedMsgAllowance; /** * Creates a plain object from an AllowedMsgAllowance message. Also converts values to other types if specified. * @param message AllowedMsgAllowance * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.feegrant.v1beta1.AllowedMsgAllowance, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AllowedMsgAllowance to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Grant. */ interface IGrant { /** Grant granter */ granter?: (string|null); /** Grant grantee */ grantee?: (string|null); /** Grant allowance */ allowance?: (google.protobuf.IAny|null); } /** Represents a Grant. */ class Grant implements IGrant { /** * Constructs a new Grant. * @param [properties] Properties to set */ constructor(properties?: cosmos.feegrant.v1beta1.IGrant); /** Grant granter. */ public granter: string; /** Grant grantee. */ public grantee: string; /** Grant allowance. */ public allowance?: (google.protobuf.IAny|null); /** * Encodes the specified Grant message. Does not implicitly {@link cosmos.feegrant.v1beta1.Grant.verify|verify} messages. * @param message Grant message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.feegrant.v1beta1.IGrant, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Grant message, length delimited. Does not implicitly {@link cosmos.feegrant.v1beta1.Grant.verify|verify} messages. * @param message Grant message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.feegrant.v1beta1.IGrant, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Grant message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Grant * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.feegrant.v1beta1.Grant; /** * Decodes a Grant message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Grant * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.feegrant.v1beta1.Grant; /** * Verifies a Grant message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Grant message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Grant */ public static fromObject(object: { [k: string]: any }): cosmos.feegrant.v1beta1.Grant; /** * Creates a plain object from a Grant message. Also converts values to other types if specified. * @param message Grant * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.feegrant.v1beta1.Grant, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Grant to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Represents a Msg */ class Msg extends $protobuf.rpc.Service { /** * Constructs a new Msg service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls GrantAllowance. * @param request MsgGrantAllowance message or plain object * @param callback Node-style callback called with the error, if any, and MsgGrantAllowanceResponse */ public grantAllowance(request: cosmos.feegrant.v1beta1.IMsgGrantAllowance, callback: cosmos.feegrant.v1beta1.Msg.GrantAllowanceCallback): void; /** * Calls GrantAllowance. * @param request MsgGrantAllowance message or plain object * @returns Promise */ public grantAllowance(request: cosmos.feegrant.v1beta1.IMsgGrantAllowance): Promise; /** * Calls RevokeAllowance. * @param request MsgRevokeAllowance message or plain object * @param callback Node-style callback called with the error, if any, and MsgRevokeAllowanceResponse */ public revokeAllowance(request: cosmos.feegrant.v1beta1.IMsgRevokeAllowance, callback: cosmos.feegrant.v1beta1.Msg.RevokeAllowanceCallback): void; /** * Calls RevokeAllowance. * @param request MsgRevokeAllowance message or plain object * @returns Promise */ public revokeAllowance(request: cosmos.feegrant.v1beta1.IMsgRevokeAllowance): Promise; } namespace Msg { /** * Callback as used by {@link cosmos.feegrant.v1beta1.Msg#grantAllowance}. * @param error Error, if any * @param [response] MsgGrantAllowanceResponse */ type GrantAllowanceCallback = (error: (Error|null), response?: cosmos.feegrant.v1beta1.MsgGrantAllowanceResponse) => void; /** * Callback as used by {@link cosmos.feegrant.v1beta1.Msg#revokeAllowance}. * @param error Error, if any * @param [response] MsgRevokeAllowanceResponse */ type RevokeAllowanceCallback = (error: (Error|null), response?: cosmos.feegrant.v1beta1.MsgRevokeAllowanceResponse) => void; } /** Properties of a MsgGrantAllowance. */ interface IMsgGrantAllowance { /** MsgGrantAllowance granter */ granter?: (string|null); /** MsgGrantAllowance grantee */ grantee?: (string|null); /** MsgGrantAllowance allowance */ allowance?: (google.protobuf.IAny|null); } /** Represents a MsgGrantAllowance. */ class MsgGrantAllowance implements IMsgGrantAllowance { /** * Constructs a new MsgGrantAllowance. * @param [properties] Properties to set */ constructor(properties?: cosmos.feegrant.v1beta1.IMsgGrantAllowance); /** MsgGrantAllowance granter. */ public granter: string; /** MsgGrantAllowance grantee. */ public grantee: string; /** MsgGrantAllowance allowance. */ public allowance?: (google.protobuf.IAny|null); /** * Encodes the specified MsgGrantAllowance message. Does not implicitly {@link cosmos.feegrant.v1beta1.MsgGrantAllowance.verify|verify} messages. * @param message MsgGrantAllowance message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.feegrant.v1beta1.IMsgGrantAllowance, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgGrantAllowance message, length delimited. Does not implicitly {@link cosmos.feegrant.v1beta1.MsgGrantAllowance.verify|verify} messages. * @param message MsgGrantAllowance message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.feegrant.v1beta1.IMsgGrantAllowance, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgGrantAllowance message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgGrantAllowance * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.feegrant.v1beta1.MsgGrantAllowance; /** * Decodes a MsgGrantAllowance message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgGrantAllowance * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.feegrant.v1beta1.MsgGrantAllowance; /** * Verifies a MsgGrantAllowance message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgGrantAllowance message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgGrantAllowance */ public static fromObject(object: { [k: string]: any }): cosmos.feegrant.v1beta1.MsgGrantAllowance; /** * Creates a plain object from a MsgGrantAllowance message. Also converts values to other types if specified. * @param message MsgGrantAllowance * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.feegrant.v1beta1.MsgGrantAllowance, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgGrantAllowance to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgGrantAllowanceResponse. */ interface IMsgGrantAllowanceResponse { } /** Represents a MsgGrantAllowanceResponse. */ class MsgGrantAllowanceResponse implements IMsgGrantAllowanceResponse { /** * Constructs a new MsgGrantAllowanceResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.feegrant.v1beta1.IMsgGrantAllowanceResponse); /** * Encodes the specified MsgGrantAllowanceResponse message. Does not implicitly {@link cosmos.feegrant.v1beta1.MsgGrantAllowanceResponse.verify|verify} messages. * @param message MsgGrantAllowanceResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.feegrant.v1beta1.IMsgGrantAllowanceResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgGrantAllowanceResponse message, length delimited. Does not implicitly {@link cosmos.feegrant.v1beta1.MsgGrantAllowanceResponse.verify|verify} messages. * @param message MsgGrantAllowanceResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.feegrant.v1beta1.IMsgGrantAllowanceResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgGrantAllowanceResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgGrantAllowanceResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.feegrant.v1beta1.MsgGrantAllowanceResponse; /** * Decodes a MsgGrantAllowanceResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgGrantAllowanceResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.feegrant.v1beta1.MsgGrantAllowanceResponse; /** * Verifies a MsgGrantAllowanceResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgGrantAllowanceResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgGrantAllowanceResponse */ public static fromObject(object: { [k: string]: any }): cosmos.feegrant.v1beta1.MsgGrantAllowanceResponse; /** * Creates a plain object from a MsgGrantAllowanceResponse message. Also converts values to other types if specified. * @param message MsgGrantAllowanceResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.feegrant.v1beta1.MsgGrantAllowanceResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgGrantAllowanceResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgRevokeAllowance. */ interface IMsgRevokeAllowance { /** MsgRevokeAllowance granter */ granter?: (string|null); /** MsgRevokeAllowance grantee */ grantee?: (string|null); } /** Represents a MsgRevokeAllowance. */ class MsgRevokeAllowance implements IMsgRevokeAllowance { /** * Constructs a new MsgRevokeAllowance. * @param [properties] Properties to set */ constructor(properties?: cosmos.feegrant.v1beta1.IMsgRevokeAllowance); /** MsgRevokeAllowance granter. */ public granter: string; /** MsgRevokeAllowance grantee. */ public grantee: string; /** * Encodes the specified MsgRevokeAllowance message. Does not implicitly {@link cosmos.feegrant.v1beta1.MsgRevokeAllowance.verify|verify} messages. * @param message MsgRevokeAllowance message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.feegrant.v1beta1.IMsgRevokeAllowance, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgRevokeAllowance message, length delimited. Does not implicitly {@link cosmos.feegrant.v1beta1.MsgRevokeAllowance.verify|verify} messages. * @param message MsgRevokeAllowance message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.feegrant.v1beta1.IMsgRevokeAllowance, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgRevokeAllowance message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgRevokeAllowance * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.feegrant.v1beta1.MsgRevokeAllowance; /** * Decodes a MsgRevokeAllowance message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgRevokeAllowance * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.feegrant.v1beta1.MsgRevokeAllowance; /** * Verifies a MsgRevokeAllowance message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgRevokeAllowance message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgRevokeAllowance */ public static fromObject(object: { [k: string]: any }): cosmos.feegrant.v1beta1.MsgRevokeAllowance; /** * Creates a plain object from a MsgRevokeAllowance message. Also converts values to other types if specified. * @param message MsgRevokeAllowance * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.feegrant.v1beta1.MsgRevokeAllowance, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgRevokeAllowance to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgRevokeAllowanceResponse. */ interface IMsgRevokeAllowanceResponse { } /** Represents a MsgRevokeAllowanceResponse. */ class MsgRevokeAllowanceResponse implements IMsgRevokeAllowanceResponse { /** * Constructs a new MsgRevokeAllowanceResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.feegrant.v1beta1.IMsgRevokeAllowanceResponse); /** * Encodes the specified MsgRevokeAllowanceResponse message. Does not implicitly {@link cosmos.feegrant.v1beta1.MsgRevokeAllowanceResponse.verify|verify} messages. * @param message MsgRevokeAllowanceResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.feegrant.v1beta1.IMsgRevokeAllowanceResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgRevokeAllowanceResponse message, length delimited. Does not implicitly {@link cosmos.feegrant.v1beta1.MsgRevokeAllowanceResponse.verify|verify} messages. * @param message MsgRevokeAllowanceResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.feegrant.v1beta1.IMsgRevokeAllowanceResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgRevokeAllowanceResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgRevokeAllowanceResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.feegrant.v1beta1.MsgRevokeAllowanceResponse; /** * Decodes a MsgRevokeAllowanceResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgRevokeAllowanceResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.feegrant.v1beta1.MsgRevokeAllowanceResponse; /** * Verifies a MsgRevokeAllowanceResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgRevokeAllowanceResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgRevokeAllowanceResponse */ public static fromObject(object: { [k: string]: any }): cosmos.feegrant.v1beta1.MsgRevokeAllowanceResponse; /** * Creates a plain object from a MsgRevokeAllowanceResponse message. Also converts values to other types if specified. * @param message MsgRevokeAllowanceResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.feegrant.v1beta1.MsgRevokeAllowanceResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgRevokeAllowanceResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GenesisState. */ interface IGenesisState { /** GenesisState allowances */ allowances?: (cosmos.feegrant.v1beta1.IGrant[]|null); } /** Represents a GenesisState. */ class GenesisState implements IGenesisState { /** * Constructs a new GenesisState. * @param [properties] Properties to set */ constructor(properties?: cosmos.feegrant.v1beta1.IGenesisState); /** GenesisState allowances. */ public allowances: cosmos.feegrant.v1beta1.IGrant[]; /** * Encodes the specified GenesisState message. Does not implicitly {@link cosmos.feegrant.v1beta1.GenesisState.verify|verify} messages. * @param message GenesisState message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.feegrant.v1beta1.IGenesisState, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GenesisState message, length delimited. Does not implicitly {@link cosmos.feegrant.v1beta1.GenesisState.verify|verify} messages. * @param message GenesisState message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.feegrant.v1beta1.IGenesisState, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GenesisState message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GenesisState * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.feegrant.v1beta1.GenesisState; /** * Decodes a GenesisState message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GenesisState * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.feegrant.v1beta1.GenesisState; /** * Verifies a GenesisState message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GenesisState message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GenesisState */ public static fromObject(object: { [k: string]: any }): cosmos.feegrant.v1beta1.GenesisState; /** * Creates a plain object from a GenesisState message. Also converts values to other types if specified. * @param message GenesisState * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.feegrant.v1beta1.GenesisState, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GenesisState to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace genutil. */ namespace genutil { /** Namespace module. */ namespace module { /** Namespace v1. */ namespace v1 { /** Properties of a Module. */ interface IModule { } /** Represents a Module. */ class Module implements IModule { /** * Constructs a new Module. * @param [properties] Properties to set */ constructor(properties?: cosmos.genutil.module.v1.IModule); /** * Encodes the specified Module message. Does not implicitly {@link cosmos.genutil.module.v1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.genutil.module.v1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Module message, length delimited. Does not implicitly {@link cosmos.genutil.module.v1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.genutil.module.v1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Module message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.genutil.module.v1.Module; /** * Decodes a Module message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.genutil.module.v1.Module; /** * Verifies a Module message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Module message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Module */ public static fromObject(object: { [k: string]: any }): cosmos.genutil.module.v1.Module; /** * Creates a plain object from a Module message. Also converts values to other types if specified. * @param message Module * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.genutil.module.v1.Module, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Module to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace v1beta1. */ namespace v1beta1 { /** Properties of a GenesisState. */ interface IGenesisState { /** GenesisState gen_txs */ gen_txs?: (Uint8Array[]|null); } /** Represents a GenesisState. */ class GenesisState implements IGenesisState { /** * Constructs a new GenesisState. * @param [properties] Properties to set */ constructor(properties?: cosmos.genutil.v1beta1.IGenesisState); /** GenesisState gen_txs. */ public gen_txs: Uint8Array[]; /** * Encodes the specified GenesisState message. Does not implicitly {@link cosmos.genutil.v1beta1.GenesisState.verify|verify} messages. * @param message GenesisState message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.genutil.v1beta1.IGenesisState, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GenesisState message, length delimited. Does not implicitly {@link cosmos.genutil.v1beta1.GenesisState.verify|verify} messages. * @param message GenesisState message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.genutil.v1beta1.IGenesisState, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GenesisState message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GenesisState * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.genutil.v1beta1.GenesisState; /** * Decodes a GenesisState message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GenesisState * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.genutil.v1beta1.GenesisState; /** * Verifies a GenesisState message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GenesisState message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GenesisState */ public static fromObject(object: { [k: string]: any }): cosmos.genutil.v1beta1.GenesisState; /** * Creates a plain object from a GenesisState message. Also converts values to other types if specified. * @param message GenesisState * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.genutil.v1beta1.GenesisState, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GenesisState to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace gov. */ namespace gov { /** Namespace module. */ namespace module { /** Namespace v1. */ namespace v1 { /** Properties of a Module. */ interface IModule { /** Module max_metadata_len */ max_metadata_len?: (Long|null); /** Module authority */ authority?: (string|null); } /** Represents a Module. */ class Module implements IModule { /** * Constructs a new Module. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.module.v1.IModule); /** Module max_metadata_len. */ public max_metadata_len: Long; /** Module authority. */ public authority: string; /** * Encodes the specified Module message. Does not implicitly {@link cosmos.gov.module.v1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.module.v1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Module message, length delimited. Does not implicitly {@link cosmos.gov.module.v1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.module.v1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Module message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.module.v1.Module; /** * Decodes a Module message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.module.v1.Module; /** * Verifies a Module message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Module message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Module */ public static fromObject(object: { [k: string]: any }): cosmos.gov.module.v1.Module; /** * Creates a plain object from a Module message. Also converts values to other types if specified. * @param message Module * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.module.v1.Module, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Module to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace v1. */ namespace v1 { /** Represents a Query */ class Query extends $protobuf.rpc.Service { /** * Constructs a new Query service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls Proposal. * @param request QueryProposalRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryProposalResponse */ public proposal(request: cosmos.gov.v1.IQueryProposalRequest, callback: cosmos.gov.v1.Query.ProposalCallback): void; /** * Calls Proposal. * @param request QueryProposalRequest message or plain object * @returns Promise */ public proposal(request: cosmos.gov.v1.IQueryProposalRequest): Promise; /** * Calls Proposals. * @param request QueryProposalsRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryProposalsResponse */ public proposals(request: cosmos.gov.v1.IQueryProposalsRequest, callback: cosmos.gov.v1.Query.ProposalsCallback): void; /** * Calls Proposals. * @param request QueryProposalsRequest message or plain object * @returns Promise */ public proposals(request: cosmos.gov.v1.IQueryProposalsRequest): Promise; /** * Calls Vote. * @param request QueryVoteRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryVoteResponse */ public vote(request: cosmos.gov.v1.IQueryVoteRequest, callback: cosmos.gov.v1.Query.VoteCallback): void; /** * Calls Vote. * @param request QueryVoteRequest message or plain object * @returns Promise */ public vote(request: cosmos.gov.v1.IQueryVoteRequest): Promise; /** * Calls Votes. * @param request QueryVotesRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryVotesResponse */ public votes(request: cosmos.gov.v1.IQueryVotesRequest, callback: cosmos.gov.v1.Query.VotesCallback): void; /** * Calls Votes. * @param request QueryVotesRequest message or plain object * @returns Promise */ public votes(request: cosmos.gov.v1.IQueryVotesRequest): Promise; /** * Calls Params. * @param request QueryParamsRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryParamsResponse */ public params(request: cosmos.gov.v1.IQueryParamsRequest, callback: cosmos.gov.v1.Query.ParamsCallback): void; /** * Calls Params. * @param request QueryParamsRequest message or plain object * @returns Promise */ public params(request: cosmos.gov.v1.IQueryParamsRequest): Promise; /** * Calls Deposit. * @param request QueryDepositRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryDepositResponse */ public deposit(request: cosmos.gov.v1.IQueryDepositRequest, callback: cosmos.gov.v1.Query.DepositCallback): void; /** * Calls Deposit. * @param request QueryDepositRequest message or plain object * @returns Promise */ public deposit(request: cosmos.gov.v1.IQueryDepositRequest): Promise; /** * Calls Deposits. * @param request QueryDepositsRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryDepositsResponse */ public deposits(request: cosmos.gov.v1.IQueryDepositsRequest, callback: cosmos.gov.v1.Query.DepositsCallback): void; /** * Calls Deposits. * @param request QueryDepositsRequest message or plain object * @returns Promise */ public deposits(request: cosmos.gov.v1.IQueryDepositsRequest): Promise; /** * Calls TallyResult. * @param request QueryTallyResultRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryTallyResultResponse */ public tallyResult(request: cosmos.gov.v1.IQueryTallyResultRequest, callback: cosmos.gov.v1.Query.TallyResultCallback): void; /** * Calls TallyResult. * @param request QueryTallyResultRequest message or plain object * @returns Promise */ public tallyResult(request: cosmos.gov.v1.IQueryTallyResultRequest): Promise; } namespace Query { /** * Callback as used by {@link cosmos.gov.v1.Query#proposal}. * @param error Error, if any * @param [response] QueryProposalResponse */ type ProposalCallback = (error: (Error|null), response?: cosmos.gov.v1.QueryProposalResponse) => void; /** * Callback as used by {@link cosmos.gov.v1.Query#proposals}. * @param error Error, if any * @param [response] QueryProposalsResponse */ type ProposalsCallback = (error: (Error|null), response?: cosmos.gov.v1.QueryProposalsResponse) => void; /** * Callback as used by {@link cosmos.gov.v1.Query#vote}. * @param error Error, if any * @param [response] QueryVoteResponse */ type VoteCallback = (error: (Error|null), response?: cosmos.gov.v1.QueryVoteResponse) => void; /** * Callback as used by {@link cosmos.gov.v1.Query#votes}. * @param error Error, if any * @param [response] QueryVotesResponse */ type VotesCallback = (error: (Error|null), response?: cosmos.gov.v1.QueryVotesResponse) => void; /** * Callback as used by {@link cosmos.gov.v1.Query#params}. * @param error Error, if any * @param [response] QueryParamsResponse */ type ParamsCallback = (error: (Error|null), response?: cosmos.gov.v1.QueryParamsResponse) => void; /** * Callback as used by {@link cosmos.gov.v1.Query#deposit}. * @param error Error, if any * @param [response] QueryDepositResponse */ type DepositCallback = (error: (Error|null), response?: cosmos.gov.v1.QueryDepositResponse) => void; /** * Callback as used by {@link cosmos.gov.v1.Query#deposits}. * @param error Error, if any * @param [response] QueryDepositsResponse */ type DepositsCallback = (error: (Error|null), response?: cosmos.gov.v1.QueryDepositsResponse) => void; /** * Callback as used by {@link cosmos.gov.v1.Query#tallyResult}. * @param error Error, if any * @param [response] QueryTallyResultResponse */ type TallyResultCallback = (error: (Error|null), response?: cosmos.gov.v1.QueryTallyResultResponse) => void; } /** Properties of a QueryProposalRequest. */ interface IQueryProposalRequest { /** QueryProposalRequest proposal_id */ proposal_id?: (Long|null); } /** Represents a QueryProposalRequest. */ class QueryProposalRequest implements IQueryProposalRequest { /** * Constructs a new QueryProposalRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1.IQueryProposalRequest); /** QueryProposalRequest proposal_id. */ public proposal_id: Long; /** * Encodes the specified QueryProposalRequest message. Does not implicitly {@link cosmos.gov.v1.QueryProposalRequest.verify|verify} messages. * @param message QueryProposalRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1.IQueryProposalRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryProposalRequest message, length delimited. Does not implicitly {@link cosmos.gov.v1.QueryProposalRequest.verify|verify} messages. * @param message QueryProposalRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1.IQueryProposalRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryProposalRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryProposalRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1.QueryProposalRequest; /** * Decodes a QueryProposalRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryProposalRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1.QueryProposalRequest; /** * Verifies a QueryProposalRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryProposalRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryProposalRequest */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1.QueryProposalRequest; /** * Creates a plain object from a QueryProposalRequest message. Also converts values to other types if specified. * @param message QueryProposalRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1.QueryProposalRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryProposalRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryProposalResponse. */ interface IQueryProposalResponse { /** QueryProposalResponse proposal */ proposal?: (cosmos.gov.v1.IProposal|null); } /** Represents a QueryProposalResponse. */ class QueryProposalResponse implements IQueryProposalResponse { /** * Constructs a new QueryProposalResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1.IQueryProposalResponse); /** QueryProposalResponse proposal. */ public proposal?: (cosmos.gov.v1.IProposal|null); /** * Encodes the specified QueryProposalResponse message. Does not implicitly {@link cosmos.gov.v1.QueryProposalResponse.verify|verify} messages. * @param message QueryProposalResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1.IQueryProposalResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryProposalResponse message, length delimited. Does not implicitly {@link cosmos.gov.v1.QueryProposalResponse.verify|verify} messages. * @param message QueryProposalResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1.IQueryProposalResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryProposalResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryProposalResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1.QueryProposalResponse; /** * Decodes a QueryProposalResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryProposalResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1.QueryProposalResponse; /** * Verifies a QueryProposalResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryProposalResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryProposalResponse */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1.QueryProposalResponse; /** * Creates a plain object from a QueryProposalResponse message. Also converts values to other types if specified. * @param message QueryProposalResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1.QueryProposalResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryProposalResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryProposalsRequest. */ interface IQueryProposalsRequest { /** QueryProposalsRequest proposal_status */ proposal_status?: (cosmos.gov.v1.ProposalStatus|null); /** QueryProposalsRequest voter */ voter?: (string|null); /** QueryProposalsRequest depositor */ depositor?: (string|null); /** QueryProposalsRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a QueryProposalsRequest. */ class QueryProposalsRequest implements IQueryProposalsRequest { /** * Constructs a new QueryProposalsRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1.IQueryProposalsRequest); /** QueryProposalsRequest proposal_status. */ public proposal_status: cosmos.gov.v1.ProposalStatus; /** QueryProposalsRequest voter. */ public voter: string; /** QueryProposalsRequest depositor. */ public depositor: string; /** QueryProposalsRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** * Encodes the specified QueryProposalsRequest message. Does not implicitly {@link cosmos.gov.v1.QueryProposalsRequest.verify|verify} messages. * @param message QueryProposalsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1.IQueryProposalsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryProposalsRequest message, length delimited. Does not implicitly {@link cosmos.gov.v1.QueryProposalsRequest.verify|verify} messages. * @param message QueryProposalsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1.IQueryProposalsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryProposalsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryProposalsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1.QueryProposalsRequest; /** * Decodes a QueryProposalsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryProposalsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1.QueryProposalsRequest; /** * Verifies a QueryProposalsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryProposalsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryProposalsRequest */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1.QueryProposalsRequest; /** * Creates a plain object from a QueryProposalsRequest message. Also converts values to other types if specified. * @param message QueryProposalsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1.QueryProposalsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryProposalsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryProposalsResponse. */ interface IQueryProposalsResponse { /** QueryProposalsResponse proposals */ proposals?: (cosmos.gov.v1.IProposal[]|null); /** QueryProposalsResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a QueryProposalsResponse. */ class QueryProposalsResponse implements IQueryProposalsResponse { /** * Constructs a new QueryProposalsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1.IQueryProposalsResponse); /** QueryProposalsResponse proposals. */ public proposals: cosmos.gov.v1.IProposal[]; /** QueryProposalsResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified QueryProposalsResponse message. Does not implicitly {@link cosmos.gov.v1.QueryProposalsResponse.verify|verify} messages. * @param message QueryProposalsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1.IQueryProposalsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryProposalsResponse message, length delimited. Does not implicitly {@link cosmos.gov.v1.QueryProposalsResponse.verify|verify} messages. * @param message QueryProposalsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1.IQueryProposalsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryProposalsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryProposalsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1.QueryProposalsResponse; /** * Decodes a QueryProposalsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryProposalsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1.QueryProposalsResponse; /** * Verifies a QueryProposalsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryProposalsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryProposalsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1.QueryProposalsResponse; /** * Creates a plain object from a QueryProposalsResponse message. Also converts values to other types if specified. * @param message QueryProposalsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1.QueryProposalsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryProposalsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryVoteRequest. */ interface IQueryVoteRequest { /** QueryVoteRequest proposal_id */ proposal_id?: (Long|null); /** QueryVoteRequest voter */ voter?: (string|null); } /** Represents a QueryVoteRequest. */ class QueryVoteRequest implements IQueryVoteRequest { /** * Constructs a new QueryVoteRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1.IQueryVoteRequest); /** QueryVoteRequest proposal_id. */ public proposal_id: Long; /** QueryVoteRequest voter. */ public voter: string; /** * Encodes the specified QueryVoteRequest message. Does not implicitly {@link cosmos.gov.v1.QueryVoteRequest.verify|verify} messages. * @param message QueryVoteRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1.IQueryVoteRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryVoteRequest message, length delimited. Does not implicitly {@link cosmos.gov.v1.QueryVoteRequest.verify|verify} messages. * @param message QueryVoteRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1.IQueryVoteRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryVoteRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryVoteRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1.QueryVoteRequest; /** * Decodes a QueryVoteRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryVoteRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1.QueryVoteRequest; /** * Verifies a QueryVoteRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryVoteRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryVoteRequest */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1.QueryVoteRequest; /** * Creates a plain object from a QueryVoteRequest message. Also converts values to other types if specified. * @param message QueryVoteRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1.QueryVoteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryVoteRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryVoteResponse. */ interface IQueryVoteResponse { /** QueryVoteResponse vote */ vote?: (cosmos.gov.v1.IVote|null); } /** Represents a QueryVoteResponse. */ class QueryVoteResponse implements IQueryVoteResponse { /** * Constructs a new QueryVoteResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1.IQueryVoteResponse); /** QueryVoteResponse vote. */ public vote?: (cosmos.gov.v1.IVote|null); /** * Encodes the specified QueryVoteResponse message. Does not implicitly {@link cosmos.gov.v1.QueryVoteResponse.verify|verify} messages. * @param message QueryVoteResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1.IQueryVoteResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryVoteResponse message, length delimited. Does not implicitly {@link cosmos.gov.v1.QueryVoteResponse.verify|verify} messages. * @param message QueryVoteResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1.IQueryVoteResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryVoteResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryVoteResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1.QueryVoteResponse; /** * Decodes a QueryVoteResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryVoteResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1.QueryVoteResponse; /** * Verifies a QueryVoteResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryVoteResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryVoteResponse */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1.QueryVoteResponse; /** * Creates a plain object from a QueryVoteResponse message. Also converts values to other types if specified. * @param message QueryVoteResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1.QueryVoteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryVoteResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryVotesRequest. */ interface IQueryVotesRequest { /** QueryVotesRequest proposal_id */ proposal_id?: (Long|null); /** QueryVotesRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a QueryVotesRequest. */ class QueryVotesRequest implements IQueryVotesRequest { /** * Constructs a new QueryVotesRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1.IQueryVotesRequest); /** QueryVotesRequest proposal_id. */ public proposal_id: Long; /** QueryVotesRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** * Encodes the specified QueryVotesRequest message. Does not implicitly {@link cosmos.gov.v1.QueryVotesRequest.verify|verify} messages. * @param message QueryVotesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1.IQueryVotesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryVotesRequest message, length delimited. Does not implicitly {@link cosmos.gov.v1.QueryVotesRequest.verify|verify} messages. * @param message QueryVotesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1.IQueryVotesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryVotesRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryVotesRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1.QueryVotesRequest; /** * Decodes a QueryVotesRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryVotesRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1.QueryVotesRequest; /** * Verifies a QueryVotesRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryVotesRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryVotesRequest */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1.QueryVotesRequest; /** * Creates a plain object from a QueryVotesRequest message. Also converts values to other types if specified. * @param message QueryVotesRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1.QueryVotesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryVotesRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryVotesResponse. */ interface IQueryVotesResponse { /** QueryVotesResponse votes */ votes?: (cosmos.gov.v1.IVote[]|null); /** QueryVotesResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a QueryVotesResponse. */ class QueryVotesResponse implements IQueryVotesResponse { /** * Constructs a new QueryVotesResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1.IQueryVotesResponse); /** QueryVotesResponse votes. */ public votes: cosmos.gov.v1.IVote[]; /** QueryVotesResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified QueryVotesResponse message. Does not implicitly {@link cosmos.gov.v1.QueryVotesResponse.verify|verify} messages. * @param message QueryVotesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1.IQueryVotesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryVotesResponse message, length delimited. Does not implicitly {@link cosmos.gov.v1.QueryVotesResponse.verify|verify} messages. * @param message QueryVotesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1.IQueryVotesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryVotesResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryVotesResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1.QueryVotesResponse; /** * Decodes a QueryVotesResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryVotesResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1.QueryVotesResponse; /** * Verifies a QueryVotesResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryVotesResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryVotesResponse */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1.QueryVotesResponse; /** * Creates a plain object from a QueryVotesResponse message. Also converts values to other types if specified. * @param message QueryVotesResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1.QueryVotesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryVotesResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryParamsRequest. */ interface IQueryParamsRequest { /** QueryParamsRequest params_type */ params_type?: (string|null); } /** Represents a QueryParamsRequest. */ class QueryParamsRequest implements IQueryParamsRequest { /** * Constructs a new QueryParamsRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1.IQueryParamsRequest); /** QueryParamsRequest params_type. */ public params_type: string; /** * Encodes the specified QueryParamsRequest message. Does not implicitly {@link cosmos.gov.v1.QueryParamsRequest.verify|verify} messages. * @param message QueryParamsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1.IQueryParamsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryParamsRequest message, length delimited. Does not implicitly {@link cosmos.gov.v1.QueryParamsRequest.verify|verify} messages. * @param message QueryParamsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1.IQueryParamsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryParamsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryParamsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1.QueryParamsRequest; /** * Decodes a QueryParamsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryParamsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1.QueryParamsRequest; /** * Verifies a QueryParamsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryParamsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryParamsRequest */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1.QueryParamsRequest; /** * Creates a plain object from a QueryParamsRequest message. Also converts values to other types if specified. * @param message QueryParamsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1.QueryParamsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryParamsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryParamsResponse. */ interface IQueryParamsResponse { /** QueryParamsResponse voting_params */ voting_params?: (cosmos.gov.v1.IVotingParams|null); /** QueryParamsResponse deposit_params */ deposit_params?: (cosmos.gov.v1.IDepositParams|null); /** QueryParamsResponse tally_params */ tally_params?: (cosmos.gov.v1.ITallyParams|null); /** QueryParamsResponse params */ params?: (cosmos.gov.v1.IParams|null); } /** Represents a QueryParamsResponse. */ class QueryParamsResponse implements IQueryParamsResponse { /** * Constructs a new QueryParamsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1.IQueryParamsResponse); /** QueryParamsResponse voting_params. */ public voting_params?: (cosmos.gov.v1.IVotingParams|null); /** QueryParamsResponse deposit_params. */ public deposit_params?: (cosmos.gov.v1.IDepositParams|null); /** QueryParamsResponse tally_params. */ public tally_params?: (cosmos.gov.v1.ITallyParams|null); /** QueryParamsResponse params. */ public params?: (cosmos.gov.v1.IParams|null); /** * Encodes the specified QueryParamsResponse message. Does not implicitly {@link cosmos.gov.v1.QueryParamsResponse.verify|verify} messages. * @param message QueryParamsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1.IQueryParamsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryParamsResponse message, length delimited. Does not implicitly {@link cosmos.gov.v1.QueryParamsResponse.verify|verify} messages. * @param message QueryParamsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1.IQueryParamsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryParamsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryParamsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1.QueryParamsResponse; /** * Decodes a QueryParamsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryParamsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1.QueryParamsResponse; /** * Verifies a QueryParamsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryParamsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryParamsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1.QueryParamsResponse; /** * Creates a plain object from a QueryParamsResponse message. Also converts values to other types if specified. * @param message QueryParamsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1.QueryParamsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryParamsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryDepositRequest. */ interface IQueryDepositRequest { /** QueryDepositRequest proposal_id */ proposal_id?: (Long|null); /** QueryDepositRequest depositor */ depositor?: (string|null); } /** Represents a QueryDepositRequest. */ class QueryDepositRequest implements IQueryDepositRequest { /** * Constructs a new QueryDepositRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1.IQueryDepositRequest); /** QueryDepositRequest proposal_id. */ public proposal_id: Long; /** QueryDepositRequest depositor. */ public depositor: string; /** * Encodes the specified QueryDepositRequest message. Does not implicitly {@link cosmos.gov.v1.QueryDepositRequest.verify|verify} messages. * @param message QueryDepositRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1.IQueryDepositRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryDepositRequest message, length delimited. Does not implicitly {@link cosmos.gov.v1.QueryDepositRequest.verify|verify} messages. * @param message QueryDepositRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1.IQueryDepositRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryDepositRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryDepositRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1.QueryDepositRequest; /** * Decodes a QueryDepositRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryDepositRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1.QueryDepositRequest; /** * Verifies a QueryDepositRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryDepositRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryDepositRequest */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1.QueryDepositRequest; /** * Creates a plain object from a QueryDepositRequest message. Also converts values to other types if specified. * @param message QueryDepositRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1.QueryDepositRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryDepositRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryDepositResponse. */ interface IQueryDepositResponse { /** QueryDepositResponse deposit */ deposit?: (cosmos.gov.v1.IDeposit|null); } /** Represents a QueryDepositResponse. */ class QueryDepositResponse implements IQueryDepositResponse { /** * Constructs a new QueryDepositResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1.IQueryDepositResponse); /** QueryDepositResponse deposit. */ public deposit?: (cosmos.gov.v1.IDeposit|null); /** * Encodes the specified QueryDepositResponse message. Does not implicitly {@link cosmos.gov.v1.QueryDepositResponse.verify|verify} messages. * @param message QueryDepositResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1.IQueryDepositResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryDepositResponse message, length delimited. Does not implicitly {@link cosmos.gov.v1.QueryDepositResponse.verify|verify} messages. * @param message QueryDepositResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1.IQueryDepositResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryDepositResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryDepositResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1.QueryDepositResponse; /** * Decodes a QueryDepositResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryDepositResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1.QueryDepositResponse; /** * Verifies a QueryDepositResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryDepositResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryDepositResponse */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1.QueryDepositResponse; /** * Creates a plain object from a QueryDepositResponse message. Also converts values to other types if specified. * @param message QueryDepositResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1.QueryDepositResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryDepositResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryDepositsRequest. */ interface IQueryDepositsRequest { /** QueryDepositsRequest proposal_id */ proposal_id?: (Long|null); /** QueryDepositsRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a QueryDepositsRequest. */ class QueryDepositsRequest implements IQueryDepositsRequest { /** * Constructs a new QueryDepositsRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1.IQueryDepositsRequest); /** QueryDepositsRequest proposal_id. */ public proposal_id: Long; /** QueryDepositsRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** * Encodes the specified QueryDepositsRequest message. Does not implicitly {@link cosmos.gov.v1.QueryDepositsRequest.verify|verify} messages. * @param message QueryDepositsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1.IQueryDepositsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryDepositsRequest message, length delimited. Does not implicitly {@link cosmos.gov.v1.QueryDepositsRequest.verify|verify} messages. * @param message QueryDepositsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1.IQueryDepositsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryDepositsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryDepositsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1.QueryDepositsRequest; /** * Decodes a QueryDepositsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryDepositsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1.QueryDepositsRequest; /** * Verifies a QueryDepositsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryDepositsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryDepositsRequest */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1.QueryDepositsRequest; /** * Creates a plain object from a QueryDepositsRequest message. Also converts values to other types if specified. * @param message QueryDepositsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1.QueryDepositsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryDepositsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryDepositsResponse. */ interface IQueryDepositsResponse { /** QueryDepositsResponse deposits */ deposits?: (cosmos.gov.v1.IDeposit[]|null); /** QueryDepositsResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a QueryDepositsResponse. */ class QueryDepositsResponse implements IQueryDepositsResponse { /** * Constructs a new QueryDepositsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1.IQueryDepositsResponse); /** QueryDepositsResponse deposits. */ public deposits: cosmos.gov.v1.IDeposit[]; /** QueryDepositsResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified QueryDepositsResponse message. Does not implicitly {@link cosmos.gov.v1.QueryDepositsResponse.verify|verify} messages. * @param message QueryDepositsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1.IQueryDepositsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryDepositsResponse message, length delimited. Does not implicitly {@link cosmos.gov.v1.QueryDepositsResponse.verify|verify} messages. * @param message QueryDepositsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1.IQueryDepositsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryDepositsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryDepositsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1.QueryDepositsResponse; /** * Decodes a QueryDepositsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryDepositsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1.QueryDepositsResponse; /** * Verifies a QueryDepositsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryDepositsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryDepositsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1.QueryDepositsResponse; /** * Creates a plain object from a QueryDepositsResponse message. Also converts values to other types if specified. * @param message QueryDepositsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1.QueryDepositsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryDepositsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryTallyResultRequest. */ interface IQueryTallyResultRequest { /** QueryTallyResultRequest proposal_id */ proposal_id?: (Long|null); } /** Represents a QueryTallyResultRequest. */ class QueryTallyResultRequest implements IQueryTallyResultRequest { /** * Constructs a new QueryTallyResultRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1.IQueryTallyResultRequest); /** QueryTallyResultRequest proposal_id. */ public proposal_id: Long; /** * Encodes the specified QueryTallyResultRequest message. Does not implicitly {@link cosmos.gov.v1.QueryTallyResultRequest.verify|verify} messages. * @param message QueryTallyResultRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1.IQueryTallyResultRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryTallyResultRequest message, length delimited. Does not implicitly {@link cosmos.gov.v1.QueryTallyResultRequest.verify|verify} messages. * @param message QueryTallyResultRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1.IQueryTallyResultRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryTallyResultRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryTallyResultRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1.QueryTallyResultRequest; /** * Decodes a QueryTallyResultRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryTallyResultRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1.QueryTallyResultRequest; /** * Verifies a QueryTallyResultRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryTallyResultRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryTallyResultRequest */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1.QueryTallyResultRequest; /** * Creates a plain object from a QueryTallyResultRequest message. Also converts values to other types if specified. * @param message QueryTallyResultRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1.QueryTallyResultRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryTallyResultRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryTallyResultResponse. */ interface IQueryTallyResultResponse { /** QueryTallyResultResponse tally */ tally?: (cosmos.gov.v1.ITallyResult|null); } /** Represents a QueryTallyResultResponse. */ class QueryTallyResultResponse implements IQueryTallyResultResponse { /** * Constructs a new QueryTallyResultResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1.IQueryTallyResultResponse); /** QueryTallyResultResponse tally. */ public tally?: (cosmos.gov.v1.ITallyResult|null); /** * Encodes the specified QueryTallyResultResponse message. Does not implicitly {@link cosmos.gov.v1.QueryTallyResultResponse.verify|verify} messages. * @param message QueryTallyResultResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1.IQueryTallyResultResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryTallyResultResponse message, length delimited. Does not implicitly {@link cosmos.gov.v1.QueryTallyResultResponse.verify|verify} messages. * @param message QueryTallyResultResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1.IQueryTallyResultResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryTallyResultResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryTallyResultResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1.QueryTallyResultResponse; /** * Decodes a QueryTallyResultResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryTallyResultResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1.QueryTallyResultResponse; /** * Verifies a QueryTallyResultResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryTallyResultResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryTallyResultResponse */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1.QueryTallyResultResponse; /** * Creates a plain object from a QueryTallyResultResponse message. Also converts values to other types if specified. * @param message QueryTallyResultResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1.QueryTallyResultResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryTallyResultResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** VoteOption enum. */ enum VoteOption { VOTE_OPTION_UNSPECIFIED = 0, VOTE_OPTION_YES = 1, VOTE_OPTION_ABSTAIN = 2, VOTE_OPTION_NO = 3, VOTE_OPTION_NO_WITH_VETO = 4 } /** Properties of a WeightedVoteOption. */ interface IWeightedVoteOption { /** WeightedVoteOption option */ option?: (cosmos.gov.v1.VoteOption|null); /** WeightedVoteOption weight */ weight?: (string|null); } /** Represents a WeightedVoteOption. */ class WeightedVoteOption implements IWeightedVoteOption { /** * Constructs a new WeightedVoteOption. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1.IWeightedVoteOption); /** WeightedVoteOption option. */ public option: cosmos.gov.v1.VoteOption; /** WeightedVoteOption weight. */ public weight: string; /** * Encodes the specified WeightedVoteOption message. Does not implicitly {@link cosmos.gov.v1.WeightedVoteOption.verify|verify} messages. * @param message WeightedVoteOption message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1.IWeightedVoteOption, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified WeightedVoteOption message, length delimited. Does not implicitly {@link cosmos.gov.v1.WeightedVoteOption.verify|verify} messages. * @param message WeightedVoteOption message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1.IWeightedVoteOption, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a WeightedVoteOption message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns WeightedVoteOption * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1.WeightedVoteOption; /** * Decodes a WeightedVoteOption message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns WeightedVoteOption * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1.WeightedVoteOption; /** * Verifies a WeightedVoteOption message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a WeightedVoteOption message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns WeightedVoteOption */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1.WeightedVoteOption; /** * Creates a plain object from a WeightedVoteOption message. Also converts values to other types if specified. * @param message WeightedVoteOption * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1.WeightedVoteOption, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this WeightedVoteOption to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Deposit. */ interface IDeposit { /** Deposit proposal_id */ proposal_id?: (Long|null); /** Deposit depositor */ depositor?: (string|null); /** Deposit amount */ amount?: (cosmos.base.v1beta1.ICoin[]|null); } /** Represents a Deposit. */ class Deposit implements IDeposit { /** * Constructs a new Deposit. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1.IDeposit); /** Deposit proposal_id. */ public proposal_id: Long; /** Deposit depositor. */ public depositor: string; /** Deposit amount. */ public amount: cosmos.base.v1beta1.ICoin[]; /** * Encodes the specified Deposit message. Does not implicitly {@link cosmos.gov.v1.Deposit.verify|verify} messages. * @param message Deposit message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1.IDeposit, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Deposit message, length delimited. Does not implicitly {@link cosmos.gov.v1.Deposit.verify|verify} messages. * @param message Deposit message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1.IDeposit, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Deposit message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Deposit * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1.Deposit; /** * Decodes a Deposit message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Deposit * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1.Deposit; /** * Verifies a Deposit message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Deposit message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Deposit */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1.Deposit; /** * Creates a plain object from a Deposit message. Also converts values to other types if specified. * @param message Deposit * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1.Deposit, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Deposit to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Proposal. */ interface IProposal { /** Proposal id */ id?: (Long|null); /** Proposal messages */ messages?: (google.protobuf.IAny[]|null); /** Proposal status */ status?: (cosmos.gov.v1.ProposalStatus|null); /** Proposal final_tally_result */ final_tally_result?: (cosmos.gov.v1.ITallyResult|null); /** Proposal submit_time */ submit_time?: (google.protobuf.ITimestamp|null); /** Proposal deposit_end_time */ deposit_end_time?: (google.protobuf.ITimestamp|null); /** Proposal total_deposit */ total_deposit?: (cosmos.base.v1beta1.ICoin[]|null); /** Proposal voting_start_time */ voting_start_time?: (google.protobuf.ITimestamp|null); /** Proposal voting_end_time */ voting_end_time?: (google.protobuf.ITimestamp|null); /** Proposal metadata */ metadata?: (string|null); /** Proposal title */ title?: (string|null); /** Proposal summary */ summary?: (string|null); /** Proposal proposer */ proposer?: (string|null); } /** Represents a Proposal. */ class Proposal implements IProposal { /** * Constructs a new Proposal. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1.IProposal); /** Proposal id. */ public id: Long; /** Proposal messages. */ public messages: google.protobuf.IAny[]; /** Proposal status. */ public status: cosmos.gov.v1.ProposalStatus; /** Proposal final_tally_result. */ public final_tally_result?: (cosmos.gov.v1.ITallyResult|null); /** Proposal submit_time. */ public submit_time?: (google.protobuf.ITimestamp|null); /** Proposal deposit_end_time. */ public deposit_end_time?: (google.protobuf.ITimestamp|null); /** Proposal total_deposit. */ public total_deposit: cosmos.base.v1beta1.ICoin[]; /** Proposal voting_start_time. */ public voting_start_time?: (google.protobuf.ITimestamp|null); /** Proposal voting_end_time. */ public voting_end_time?: (google.protobuf.ITimestamp|null); /** Proposal metadata. */ public metadata: string; /** Proposal title. */ public title: string; /** Proposal summary. */ public summary: string; /** Proposal proposer. */ public proposer: string; /** * Encodes the specified Proposal message. Does not implicitly {@link cosmos.gov.v1.Proposal.verify|verify} messages. * @param message Proposal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1.IProposal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Proposal message, length delimited. Does not implicitly {@link cosmos.gov.v1.Proposal.verify|verify} messages. * @param message Proposal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1.IProposal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Proposal message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Proposal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1.Proposal; /** * Decodes a Proposal message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Proposal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1.Proposal; /** * Verifies a Proposal message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Proposal message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Proposal */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1.Proposal; /** * Creates a plain object from a Proposal message. Also converts values to other types if specified. * @param message Proposal * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1.Proposal, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Proposal to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** ProposalStatus enum. */ enum ProposalStatus { PROPOSAL_STATUS_UNSPECIFIED = 0, PROPOSAL_STATUS_DEPOSIT_PERIOD = 1, PROPOSAL_STATUS_VOTING_PERIOD = 2, PROPOSAL_STATUS_PASSED = 3, PROPOSAL_STATUS_REJECTED = 4, PROPOSAL_STATUS_FAILED = 5 } /** Properties of a TallyResult. */ interface ITallyResult { /** TallyResult yes_count */ yes_count?: (string|null); /** TallyResult abstain_count */ abstain_count?: (string|null); /** TallyResult no_count */ no_count?: (string|null); /** TallyResult no_with_veto_count */ no_with_veto_count?: (string|null); } /** Represents a TallyResult. */ class TallyResult implements ITallyResult { /** * Constructs a new TallyResult. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1.ITallyResult); /** TallyResult yes_count. */ public yes_count: string; /** TallyResult abstain_count. */ public abstain_count: string; /** TallyResult no_count. */ public no_count: string; /** TallyResult no_with_veto_count. */ public no_with_veto_count: string; /** * Encodes the specified TallyResult message. Does not implicitly {@link cosmos.gov.v1.TallyResult.verify|verify} messages. * @param message TallyResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1.ITallyResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TallyResult message, length delimited. Does not implicitly {@link cosmos.gov.v1.TallyResult.verify|verify} messages. * @param message TallyResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1.ITallyResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TallyResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TallyResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1.TallyResult; /** * Decodes a TallyResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TallyResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1.TallyResult; /** * Verifies a TallyResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TallyResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TallyResult */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1.TallyResult; /** * Creates a plain object from a TallyResult message. Also converts values to other types if specified. * @param message TallyResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1.TallyResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TallyResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Vote. */ interface IVote { /** Vote proposal_id */ proposal_id?: (Long|null); /** Vote voter */ voter?: (string|null); /** Vote options */ options?: (cosmos.gov.v1.IWeightedVoteOption[]|null); /** Vote metadata */ metadata?: (string|null); } /** Represents a Vote. */ class Vote implements IVote { /** * Constructs a new Vote. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1.IVote); /** Vote proposal_id. */ public proposal_id: Long; /** Vote voter. */ public voter: string; /** Vote options. */ public options: cosmos.gov.v1.IWeightedVoteOption[]; /** Vote metadata. */ public metadata: string; /** * Encodes the specified Vote message. Does not implicitly {@link cosmos.gov.v1.Vote.verify|verify} messages. * @param message Vote message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1.IVote, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Vote message, length delimited. Does not implicitly {@link cosmos.gov.v1.Vote.verify|verify} messages. * @param message Vote message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1.IVote, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Vote message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Vote * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1.Vote; /** * Decodes a Vote message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Vote * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1.Vote; /** * Verifies a Vote message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Vote message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Vote */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1.Vote; /** * Creates a plain object from a Vote message. Also converts values to other types if specified. * @param message Vote * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1.Vote, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Vote to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a DepositParams. */ interface IDepositParams { /** DepositParams min_deposit */ min_deposit?: (cosmos.base.v1beta1.ICoin[]|null); /** DepositParams max_deposit_period */ max_deposit_period?: (google.protobuf.IDuration|null); } /** Represents a DepositParams. */ class DepositParams implements IDepositParams { /** * Constructs a new DepositParams. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1.IDepositParams); /** DepositParams min_deposit. */ public min_deposit: cosmos.base.v1beta1.ICoin[]; /** DepositParams max_deposit_period. */ public max_deposit_period?: (google.protobuf.IDuration|null); /** * Encodes the specified DepositParams message. Does not implicitly {@link cosmos.gov.v1.DepositParams.verify|verify} messages. * @param message DepositParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1.IDepositParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DepositParams message, length delimited. Does not implicitly {@link cosmos.gov.v1.DepositParams.verify|verify} messages. * @param message DepositParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1.IDepositParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DepositParams message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DepositParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1.DepositParams; /** * Decodes a DepositParams message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DepositParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1.DepositParams; /** * Verifies a DepositParams message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DepositParams message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DepositParams */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1.DepositParams; /** * Creates a plain object from a DepositParams message. Also converts values to other types if specified. * @param message DepositParams * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1.DepositParams, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DepositParams to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a VotingParams. */ interface IVotingParams { /** VotingParams voting_period */ voting_period?: (google.protobuf.IDuration|null); } /** Represents a VotingParams. */ class VotingParams implements IVotingParams { /** * Constructs a new VotingParams. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1.IVotingParams); /** VotingParams voting_period. */ public voting_period?: (google.protobuf.IDuration|null); /** * Encodes the specified VotingParams message. Does not implicitly {@link cosmos.gov.v1.VotingParams.verify|verify} messages. * @param message VotingParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1.IVotingParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified VotingParams message, length delimited. Does not implicitly {@link cosmos.gov.v1.VotingParams.verify|verify} messages. * @param message VotingParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1.IVotingParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a VotingParams message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns VotingParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1.VotingParams; /** * Decodes a VotingParams message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns VotingParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1.VotingParams; /** * Verifies a VotingParams message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a VotingParams message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns VotingParams */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1.VotingParams; /** * Creates a plain object from a VotingParams message. Also converts values to other types if specified. * @param message VotingParams * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1.VotingParams, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this VotingParams to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a TallyParams. */ interface ITallyParams { /** TallyParams quorum */ quorum?: (string|null); /** TallyParams threshold */ threshold?: (string|null); /** TallyParams veto_threshold */ veto_threshold?: (string|null); } /** Represents a TallyParams. */ class TallyParams implements ITallyParams { /** * Constructs a new TallyParams. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1.ITallyParams); /** TallyParams quorum. */ public quorum: string; /** TallyParams threshold. */ public threshold: string; /** TallyParams veto_threshold. */ public veto_threshold: string; /** * Encodes the specified TallyParams message. Does not implicitly {@link cosmos.gov.v1.TallyParams.verify|verify} messages. * @param message TallyParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1.ITallyParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TallyParams message, length delimited. Does not implicitly {@link cosmos.gov.v1.TallyParams.verify|verify} messages. * @param message TallyParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1.ITallyParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TallyParams message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TallyParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1.TallyParams; /** * Decodes a TallyParams message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TallyParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1.TallyParams; /** * Verifies a TallyParams message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TallyParams message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TallyParams */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1.TallyParams; /** * Creates a plain object from a TallyParams message. Also converts values to other types if specified. * @param message TallyParams * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1.TallyParams, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TallyParams to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Params. */ interface IParams { /** Params min_deposit */ min_deposit?: (cosmos.base.v1beta1.ICoin[]|null); /** Params max_deposit_period */ max_deposit_period?: (google.protobuf.IDuration|null); /** Params voting_period */ voting_period?: (google.protobuf.IDuration|null); /** Params quorum */ quorum?: (string|null); /** Params threshold */ threshold?: (string|null); /** Params veto_threshold */ veto_threshold?: (string|null); /** Params min_initial_deposit_ratio */ min_initial_deposit_ratio?: (string|null); /** Params burn_vote_quorum */ burn_vote_quorum?: (boolean|null); /** Params burn_proposal_deposit_prevote */ burn_proposal_deposit_prevote?: (boolean|null); /** Params burn_vote_veto */ burn_vote_veto?: (boolean|null); } /** Represents a Params. */ class Params implements IParams { /** * Constructs a new Params. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1.IParams); /** Params min_deposit. */ public min_deposit: cosmos.base.v1beta1.ICoin[]; /** Params max_deposit_period. */ public max_deposit_period?: (google.protobuf.IDuration|null); /** Params voting_period. */ public voting_period?: (google.protobuf.IDuration|null); /** Params quorum. */ public quorum: string; /** Params threshold. */ public threshold: string; /** Params veto_threshold. */ public veto_threshold: string; /** Params min_initial_deposit_ratio. */ public min_initial_deposit_ratio: string; /** Params burn_vote_quorum. */ public burn_vote_quorum: boolean; /** Params burn_proposal_deposit_prevote. */ public burn_proposal_deposit_prevote: boolean; /** Params burn_vote_veto. */ public burn_vote_veto: boolean; /** * Encodes the specified Params message. Does not implicitly {@link cosmos.gov.v1.Params.verify|verify} messages. * @param message Params message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1.IParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Params message, length delimited. Does not implicitly {@link cosmos.gov.v1.Params.verify|verify} messages. * @param message Params message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1.IParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Params message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Params * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1.Params; /** * Decodes a Params message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Params * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1.Params; /** * Verifies a Params message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Params message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Params */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1.Params; /** * Creates a plain object from a Params message. Also converts values to other types if specified. * @param message Params * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1.Params, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Params to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Represents a Msg */ class Msg extends $protobuf.rpc.Service { /** * Constructs a new Msg service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls SubmitProposal. * @param request MsgSubmitProposal message or plain object * @param callback Node-style callback called with the error, if any, and MsgSubmitProposalResponse */ public submitProposal(request: cosmos.gov.v1.IMsgSubmitProposal, callback: cosmos.gov.v1.Msg.SubmitProposalCallback): void; /** * Calls SubmitProposal. * @param request MsgSubmitProposal message or plain object * @returns Promise */ public submitProposal(request: cosmos.gov.v1.IMsgSubmitProposal): Promise; /** * Calls ExecLegacyContent. * @param request MsgExecLegacyContent message or plain object * @param callback Node-style callback called with the error, if any, and MsgExecLegacyContentResponse */ public execLegacyContent(request: cosmos.gov.v1.IMsgExecLegacyContent, callback: cosmos.gov.v1.Msg.ExecLegacyContentCallback): void; /** * Calls ExecLegacyContent. * @param request MsgExecLegacyContent message or plain object * @returns Promise */ public execLegacyContent(request: cosmos.gov.v1.IMsgExecLegacyContent): Promise; /** * Calls Vote. * @param request MsgVote message or plain object * @param callback Node-style callback called with the error, if any, and MsgVoteResponse */ public vote(request: cosmos.gov.v1.IMsgVote, callback: cosmos.gov.v1.Msg.VoteCallback): void; /** * Calls Vote. * @param request MsgVote message or plain object * @returns Promise */ public vote(request: cosmos.gov.v1.IMsgVote): Promise; /** * Calls VoteWeighted. * @param request MsgVoteWeighted message or plain object * @param callback Node-style callback called with the error, if any, and MsgVoteWeightedResponse */ public voteWeighted(request: cosmos.gov.v1.IMsgVoteWeighted, callback: cosmos.gov.v1.Msg.VoteWeightedCallback): void; /** * Calls VoteWeighted. * @param request MsgVoteWeighted message or plain object * @returns Promise */ public voteWeighted(request: cosmos.gov.v1.IMsgVoteWeighted): Promise; /** * Calls Deposit. * @param request MsgDeposit message or plain object * @param callback Node-style callback called with the error, if any, and MsgDepositResponse */ public deposit(request: cosmos.gov.v1.IMsgDeposit, callback: cosmos.gov.v1.Msg.DepositCallback): void; /** * Calls Deposit. * @param request MsgDeposit message or plain object * @returns Promise */ public deposit(request: cosmos.gov.v1.IMsgDeposit): Promise; /** * Calls UpdateParams. * @param request MsgUpdateParams message or plain object * @param callback Node-style callback called with the error, if any, and MsgUpdateParamsResponse */ public updateParams(request: cosmos.gov.v1.IMsgUpdateParams, callback: cosmos.gov.v1.Msg.UpdateParamsCallback): void; /** * Calls UpdateParams. * @param request MsgUpdateParams message or plain object * @returns Promise */ public updateParams(request: cosmos.gov.v1.IMsgUpdateParams): Promise; } namespace Msg { /** * Callback as used by {@link cosmos.gov.v1.Msg#submitProposal}. * @param error Error, if any * @param [response] MsgSubmitProposalResponse */ type SubmitProposalCallback = (error: (Error|null), response?: cosmos.gov.v1.MsgSubmitProposalResponse) => void; /** * Callback as used by {@link cosmos.gov.v1.Msg#execLegacyContent}. * @param error Error, if any * @param [response] MsgExecLegacyContentResponse */ type ExecLegacyContentCallback = (error: (Error|null), response?: cosmos.gov.v1.MsgExecLegacyContentResponse) => void; /** * Callback as used by {@link cosmos.gov.v1.Msg#vote}. * @param error Error, if any * @param [response] MsgVoteResponse */ type VoteCallback = (error: (Error|null), response?: cosmos.gov.v1.MsgVoteResponse) => void; /** * Callback as used by {@link cosmos.gov.v1.Msg#voteWeighted}. * @param error Error, if any * @param [response] MsgVoteWeightedResponse */ type VoteWeightedCallback = (error: (Error|null), response?: cosmos.gov.v1.MsgVoteWeightedResponse) => void; /** * Callback as used by {@link cosmos.gov.v1.Msg#deposit}. * @param error Error, if any * @param [response] MsgDepositResponse */ type DepositCallback = (error: (Error|null), response?: cosmos.gov.v1.MsgDepositResponse) => void; /** * Callback as used by {@link cosmos.gov.v1.Msg#updateParams}. * @param error Error, if any * @param [response] MsgUpdateParamsResponse */ type UpdateParamsCallback = (error: (Error|null), response?: cosmos.gov.v1.MsgUpdateParamsResponse) => void; } /** Properties of a MsgSubmitProposal. */ interface IMsgSubmitProposal { /** MsgSubmitProposal messages */ messages?: (google.protobuf.IAny[]|null); /** MsgSubmitProposal initial_deposit */ initial_deposit?: (cosmos.base.v1beta1.ICoin[]|null); /** MsgSubmitProposal proposer */ proposer?: (string|null); /** MsgSubmitProposal metadata */ metadata?: (string|null); /** MsgSubmitProposal title */ title?: (string|null); /** MsgSubmitProposal summary */ summary?: (string|null); } /** Represents a MsgSubmitProposal. */ class MsgSubmitProposal implements IMsgSubmitProposal { /** * Constructs a new MsgSubmitProposal. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1.IMsgSubmitProposal); /** MsgSubmitProposal messages. */ public messages: google.protobuf.IAny[]; /** MsgSubmitProposal initial_deposit. */ public initial_deposit: cosmos.base.v1beta1.ICoin[]; /** MsgSubmitProposal proposer. */ public proposer: string; /** MsgSubmitProposal metadata. */ public metadata: string; /** MsgSubmitProposal title. */ public title: string; /** MsgSubmitProposal summary. */ public summary: string; /** * Encodes the specified MsgSubmitProposal message. Does not implicitly {@link cosmos.gov.v1.MsgSubmitProposal.verify|verify} messages. * @param message MsgSubmitProposal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1.IMsgSubmitProposal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgSubmitProposal message, length delimited. Does not implicitly {@link cosmos.gov.v1.MsgSubmitProposal.verify|verify} messages. * @param message MsgSubmitProposal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1.IMsgSubmitProposal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgSubmitProposal message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgSubmitProposal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1.MsgSubmitProposal; /** * Decodes a MsgSubmitProposal message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgSubmitProposal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1.MsgSubmitProposal; /** * Verifies a MsgSubmitProposal message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgSubmitProposal message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgSubmitProposal */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1.MsgSubmitProposal; /** * Creates a plain object from a MsgSubmitProposal message. Also converts values to other types if specified. * @param message MsgSubmitProposal * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1.MsgSubmitProposal, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgSubmitProposal to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgSubmitProposalResponse. */ interface IMsgSubmitProposalResponse { /** MsgSubmitProposalResponse proposal_id */ proposal_id?: (Long|null); } /** Represents a MsgSubmitProposalResponse. */ class MsgSubmitProposalResponse implements IMsgSubmitProposalResponse { /** * Constructs a new MsgSubmitProposalResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1.IMsgSubmitProposalResponse); /** MsgSubmitProposalResponse proposal_id. */ public proposal_id: Long; /** * Encodes the specified MsgSubmitProposalResponse message. Does not implicitly {@link cosmos.gov.v1.MsgSubmitProposalResponse.verify|verify} messages. * @param message MsgSubmitProposalResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1.IMsgSubmitProposalResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgSubmitProposalResponse message, length delimited. Does not implicitly {@link cosmos.gov.v1.MsgSubmitProposalResponse.verify|verify} messages. * @param message MsgSubmitProposalResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1.IMsgSubmitProposalResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgSubmitProposalResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgSubmitProposalResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1.MsgSubmitProposalResponse; /** * Decodes a MsgSubmitProposalResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgSubmitProposalResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1.MsgSubmitProposalResponse; /** * Verifies a MsgSubmitProposalResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgSubmitProposalResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgSubmitProposalResponse */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1.MsgSubmitProposalResponse; /** * Creates a plain object from a MsgSubmitProposalResponse message. Also converts values to other types if specified. * @param message MsgSubmitProposalResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1.MsgSubmitProposalResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgSubmitProposalResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgExecLegacyContent. */ interface IMsgExecLegacyContent { /** MsgExecLegacyContent content */ content?: (google.protobuf.IAny|null); /** MsgExecLegacyContent authority */ authority?: (string|null); } /** Represents a MsgExecLegacyContent. */ class MsgExecLegacyContent implements IMsgExecLegacyContent { /** * Constructs a new MsgExecLegacyContent. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1.IMsgExecLegacyContent); /** MsgExecLegacyContent content. */ public content?: (google.protobuf.IAny|null); /** MsgExecLegacyContent authority. */ public authority: string; /** * Encodes the specified MsgExecLegacyContent message. Does not implicitly {@link cosmos.gov.v1.MsgExecLegacyContent.verify|verify} messages. * @param message MsgExecLegacyContent message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1.IMsgExecLegacyContent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgExecLegacyContent message, length delimited. Does not implicitly {@link cosmos.gov.v1.MsgExecLegacyContent.verify|verify} messages. * @param message MsgExecLegacyContent message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1.IMsgExecLegacyContent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgExecLegacyContent message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgExecLegacyContent * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1.MsgExecLegacyContent; /** * Decodes a MsgExecLegacyContent message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgExecLegacyContent * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1.MsgExecLegacyContent; /** * Verifies a MsgExecLegacyContent message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgExecLegacyContent message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgExecLegacyContent */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1.MsgExecLegacyContent; /** * Creates a plain object from a MsgExecLegacyContent message. Also converts values to other types if specified. * @param message MsgExecLegacyContent * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1.MsgExecLegacyContent, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgExecLegacyContent to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgExecLegacyContentResponse. */ interface IMsgExecLegacyContentResponse { } /** Represents a MsgExecLegacyContentResponse. */ class MsgExecLegacyContentResponse implements IMsgExecLegacyContentResponse { /** * Constructs a new MsgExecLegacyContentResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1.IMsgExecLegacyContentResponse); /** * Encodes the specified MsgExecLegacyContentResponse message. Does not implicitly {@link cosmos.gov.v1.MsgExecLegacyContentResponse.verify|verify} messages. * @param message MsgExecLegacyContentResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1.IMsgExecLegacyContentResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgExecLegacyContentResponse message, length delimited. Does not implicitly {@link cosmos.gov.v1.MsgExecLegacyContentResponse.verify|verify} messages. * @param message MsgExecLegacyContentResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1.IMsgExecLegacyContentResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgExecLegacyContentResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgExecLegacyContentResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1.MsgExecLegacyContentResponse; /** * Decodes a MsgExecLegacyContentResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgExecLegacyContentResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1.MsgExecLegacyContentResponse; /** * Verifies a MsgExecLegacyContentResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgExecLegacyContentResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgExecLegacyContentResponse */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1.MsgExecLegacyContentResponse; /** * Creates a plain object from a MsgExecLegacyContentResponse message. Also converts values to other types if specified. * @param message MsgExecLegacyContentResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1.MsgExecLegacyContentResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgExecLegacyContentResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgVote. */ interface IMsgVote { /** MsgVote proposal_id */ proposal_id?: (Long|null); /** MsgVote voter */ voter?: (string|null); /** MsgVote option */ option?: (cosmos.gov.v1.VoteOption|null); /** MsgVote metadata */ metadata?: (string|null); } /** Represents a MsgVote. */ class MsgVote implements IMsgVote { /** * Constructs a new MsgVote. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1.IMsgVote); /** MsgVote proposal_id. */ public proposal_id: Long; /** MsgVote voter. */ public voter: string; /** MsgVote option. */ public option: cosmos.gov.v1.VoteOption; /** MsgVote metadata. */ public metadata: string; /** * Encodes the specified MsgVote message. Does not implicitly {@link cosmos.gov.v1.MsgVote.verify|verify} messages. * @param message MsgVote message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1.IMsgVote, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgVote message, length delimited. Does not implicitly {@link cosmos.gov.v1.MsgVote.verify|verify} messages. * @param message MsgVote message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1.IMsgVote, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgVote message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgVote * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1.MsgVote; /** * Decodes a MsgVote message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgVote * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1.MsgVote; /** * Verifies a MsgVote message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgVote message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgVote */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1.MsgVote; /** * Creates a plain object from a MsgVote message. Also converts values to other types if specified. * @param message MsgVote * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1.MsgVote, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgVote to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgVoteResponse. */ interface IMsgVoteResponse { } /** Represents a MsgVoteResponse. */ class MsgVoteResponse implements IMsgVoteResponse { /** * Constructs a new MsgVoteResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1.IMsgVoteResponse); /** * Encodes the specified MsgVoteResponse message. Does not implicitly {@link cosmos.gov.v1.MsgVoteResponse.verify|verify} messages. * @param message MsgVoteResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1.IMsgVoteResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgVoteResponse message, length delimited. Does not implicitly {@link cosmos.gov.v1.MsgVoteResponse.verify|verify} messages. * @param message MsgVoteResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1.IMsgVoteResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgVoteResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgVoteResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1.MsgVoteResponse; /** * Decodes a MsgVoteResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgVoteResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1.MsgVoteResponse; /** * Verifies a MsgVoteResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgVoteResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgVoteResponse */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1.MsgVoteResponse; /** * Creates a plain object from a MsgVoteResponse message. Also converts values to other types if specified. * @param message MsgVoteResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1.MsgVoteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgVoteResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgVoteWeighted. */ interface IMsgVoteWeighted { /** MsgVoteWeighted proposal_id */ proposal_id?: (Long|null); /** MsgVoteWeighted voter */ voter?: (string|null); /** MsgVoteWeighted options */ options?: (cosmos.gov.v1.IWeightedVoteOption[]|null); /** MsgVoteWeighted metadata */ metadata?: (string|null); } /** Represents a MsgVoteWeighted. */ class MsgVoteWeighted implements IMsgVoteWeighted { /** * Constructs a new MsgVoteWeighted. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1.IMsgVoteWeighted); /** MsgVoteWeighted proposal_id. */ public proposal_id: Long; /** MsgVoteWeighted voter. */ public voter: string; /** MsgVoteWeighted options. */ public options: cosmos.gov.v1.IWeightedVoteOption[]; /** MsgVoteWeighted metadata. */ public metadata: string; /** * Encodes the specified MsgVoteWeighted message. Does not implicitly {@link cosmos.gov.v1.MsgVoteWeighted.verify|verify} messages. * @param message MsgVoteWeighted message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1.IMsgVoteWeighted, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgVoteWeighted message, length delimited. Does not implicitly {@link cosmos.gov.v1.MsgVoteWeighted.verify|verify} messages. * @param message MsgVoteWeighted message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1.IMsgVoteWeighted, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgVoteWeighted message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgVoteWeighted * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1.MsgVoteWeighted; /** * Decodes a MsgVoteWeighted message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgVoteWeighted * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1.MsgVoteWeighted; /** * Verifies a MsgVoteWeighted message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgVoteWeighted message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgVoteWeighted */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1.MsgVoteWeighted; /** * Creates a plain object from a MsgVoteWeighted message. Also converts values to other types if specified. * @param message MsgVoteWeighted * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1.MsgVoteWeighted, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgVoteWeighted to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgVoteWeightedResponse. */ interface IMsgVoteWeightedResponse { } /** Represents a MsgVoteWeightedResponse. */ class MsgVoteWeightedResponse implements IMsgVoteWeightedResponse { /** * Constructs a new MsgVoteWeightedResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1.IMsgVoteWeightedResponse); /** * Encodes the specified MsgVoteWeightedResponse message. Does not implicitly {@link cosmos.gov.v1.MsgVoteWeightedResponse.verify|verify} messages. * @param message MsgVoteWeightedResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1.IMsgVoteWeightedResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgVoteWeightedResponse message, length delimited. Does not implicitly {@link cosmos.gov.v1.MsgVoteWeightedResponse.verify|verify} messages. * @param message MsgVoteWeightedResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1.IMsgVoteWeightedResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgVoteWeightedResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgVoteWeightedResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1.MsgVoteWeightedResponse; /** * Decodes a MsgVoteWeightedResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgVoteWeightedResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1.MsgVoteWeightedResponse; /** * Verifies a MsgVoteWeightedResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgVoteWeightedResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgVoteWeightedResponse */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1.MsgVoteWeightedResponse; /** * Creates a plain object from a MsgVoteWeightedResponse message. Also converts values to other types if specified. * @param message MsgVoteWeightedResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1.MsgVoteWeightedResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgVoteWeightedResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgDeposit. */ interface IMsgDeposit { /** MsgDeposit proposal_id */ proposal_id?: (Long|null); /** MsgDeposit depositor */ depositor?: (string|null); /** MsgDeposit amount */ amount?: (cosmos.base.v1beta1.ICoin[]|null); } /** Represents a MsgDeposit. */ class MsgDeposit implements IMsgDeposit { /** * Constructs a new MsgDeposit. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1.IMsgDeposit); /** MsgDeposit proposal_id. */ public proposal_id: Long; /** MsgDeposit depositor. */ public depositor: string; /** MsgDeposit amount. */ public amount: cosmos.base.v1beta1.ICoin[]; /** * Encodes the specified MsgDeposit message. Does not implicitly {@link cosmos.gov.v1.MsgDeposit.verify|verify} messages. * @param message MsgDeposit message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1.IMsgDeposit, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgDeposit message, length delimited. Does not implicitly {@link cosmos.gov.v1.MsgDeposit.verify|verify} messages. * @param message MsgDeposit message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1.IMsgDeposit, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgDeposit message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgDeposit * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1.MsgDeposit; /** * Decodes a MsgDeposit message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgDeposit * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1.MsgDeposit; /** * Verifies a MsgDeposit message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgDeposit message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgDeposit */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1.MsgDeposit; /** * Creates a plain object from a MsgDeposit message. Also converts values to other types if specified. * @param message MsgDeposit * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1.MsgDeposit, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgDeposit to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgDepositResponse. */ interface IMsgDepositResponse { } /** Represents a MsgDepositResponse. */ class MsgDepositResponse implements IMsgDepositResponse { /** * Constructs a new MsgDepositResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1.IMsgDepositResponse); /** * Encodes the specified MsgDepositResponse message. Does not implicitly {@link cosmos.gov.v1.MsgDepositResponse.verify|verify} messages. * @param message MsgDepositResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1.IMsgDepositResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgDepositResponse message, length delimited. Does not implicitly {@link cosmos.gov.v1.MsgDepositResponse.verify|verify} messages. * @param message MsgDepositResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1.IMsgDepositResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgDepositResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgDepositResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1.MsgDepositResponse; /** * Decodes a MsgDepositResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgDepositResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1.MsgDepositResponse; /** * Verifies a MsgDepositResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgDepositResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgDepositResponse */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1.MsgDepositResponse; /** * Creates a plain object from a MsgDepositResponse message. Also converts values to other types if specified. * @param message MsgDepositResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1.MsgDepositResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgDepositResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgUpdateParams. */ interface IMsgUpdateParams { /** MsgUpdateParams authority */ authority?: (string|null); /** MsgUpdateParams params */ params?: (cosmos.gov.v1.IParams|null); } /** Represents a MsgUpdateParams. */ class MsgUpdateParams implements IMsgUpdateParams { /** * Constructs a new MsgUpdateParams. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1.IMsgUpdateParams); /** MsgUpdateParams authority. */ public authority: string; /** MsgUpdateParams params. */ public params?: (cosmos.gov.v1.IParams|null); /** * Encodes the specified MsgUpdateParams message. Does not implicitly {@link cosmos.gov.v1.MsgUpdateParams.verify|verify} messages. * @param message MsgUpdateParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1.IMsgUpdateParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgUpdateParams message, length delimited. Does not implicitly {@link cosmos.gov.v1.MsgUpdateParams.verify|verify} messages. * @param message MsgUpdateParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1.IMsgUpdateParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgUpdateParams message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgUpdateParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1.MsgUpdateParams; /** * Decodes a MsgUpdateParams message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgUpdateParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1.MsgUpdateParams; /** * Verifies a MsgUpdateParams message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgUpdateParams message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgUpdateParams */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1.MsgUpdateParams; /** * Creates a plain object from a MsgUpdateParams message. Also converts values to other types if specified. * @param message MsgUpdateParams * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1.MsgUpdateParams, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgUpdateParams to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgUpdateParamsResponse. */ interface IMsgUpdateParamsResponse { } /** Represents a MsgUpdateParamsResponse. */ class MsgUpdateParamsResponse implements IMsgUpdateParamsResponse { /** * Constructs a new MsgUpdateParamsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1.IMsgUpdateParamsResponse); /** * Encodes the specified MsgUpdateParamsResponse message. Does not implicitly {@link cosmos.gov.v1.MsgUpdateParamsResponse.verify|verify} messages. * @param message MsgUpdateParamsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1.IMsgUpdateParamsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgUpdateParamsResponse message, length delimited. Does not implicitly {@link cosmos.gov.v1.MsgUpdateParamsResponse.verify|verify} messages. * @param message MsgUpdateParamsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1.IMsgUpdateParamsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgUpdateParamsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgUpdateParamsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1.MsgUpdateParamsResponse; /** * Decodes a MsgUpdateParamsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgUpdateParamsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1.MsgUpdateParamsResponse; /** * Verifies a MsgUpdateParamsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgUpdateParamsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgUpdateParamsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1.MsgUpdateParamsResponse; /** * Creates a plain object from a MsgUpdateParamsResponse message. Also converts values to other types if specified. * @param message MsgUpdateParamsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1.MsgUpdateParamsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgUpdateParamsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GenesisState. */ interface IGenesisState { /** GenesisState starting_proposal_id */ starting_proposal_id?: (Long|null); /** GenesisState deposits */ deposits?: (cosmos.gov.v1.IDeposit[]|null); /** GenesisState votes */ votes?: (cosmos.gov.v1.IVote[]|null); /** GenesisState proposals */ proposals?: (cosmos.gov.v1.IProposal[]|null); /** GenesisState deposit_params */ deposit_params?: (cosmos.gov.v1.IDepositParams|null); /** GenesisState voting_params */ voting_params?: (cosmos.gov.v1.IVotingParams|null); /** GenesisState tally_params */ tally_params?: (cosmos.gov.v1.ITallyParams|null); /** GenesisState params */ params?: (cosmos.gov.v1.IParams|null); } /** Represents a GenesisState. */ class GenesisState implements IGenesisState { /** * Constructs a new GenesisState. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1.IGenesisState); /** GenesisState starting_proposal_id. */ public starting_proposal_id: Long; /** GenesisState deposits. */ public deposits: cosmos.gov.v1.IDeposit[]; /** GenesisState votes. */ public votes: cosmos.gov.v1.IVote[]; /** GenesisState proposals. */ public proposals: cosmos.gov.v1.IProposal[]; /** GenesisState deposit_params. */ public deposit_params?: (cosmos.gov.v1.IDepositParams|null); /** GenesisState voting_params. */ public voting_params?: (cosmos.gov.v1.IVotingParams|null); /** GenesisState tally_params. */ public tally_params?: (cosmos.gov.v1.ITallyParams|null); /** GenesisState params. */ public params?: (cosmos.gov.v1.IParams|null); /** * Encodes the specified GenesisState message. Does not implicitly {@link cosmos.gov.v1.GenesisState.verify|verify} messages. * @param message GenesisState message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1.IGenesisState, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GenesisState message, length delimited. Does not implicitly {@link cosmos.gov.v1.GenesisState.verify|verify} messages. * @param message GenesisState message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1.IGenesisState, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GenesisState message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GenesisState * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1.GenesisState; /** * Decodes a GenesisState message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GenesisState * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1.GenesisState; /** * Verifies a GenesisState message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GenesisState message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GenesisState */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1.GenesisState; /** * Creates a plain object from a GenesisState message. Also converts values to other types if specified. * @param message GenesisState * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1.GenesisState, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GenesisState to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } /** Namespace v1beta1. */ namespace v1beta1 { /** Represents a Query */ class Query extends $protobuf.rpc.Service { /** * Constructs a new Query service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls Proposal. * @param request QueryProposalRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryProposalResponse */ public proposal(request: cosmos.gov.v1beta1.IQueryProposalRequest, callback: cosmos.gov.v1beta1.Query.ProposalCallback): void; /** * Calls Proposal. * @param request QueryProposalRequest message or plain object * @returns Promise */ public proposal(request: cosmos.gov.v1beta1.IQueryProposalRequest): Promise; /** * Calls Proposals. * @param request QueryProposalsRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryProposalsResponse */ public proposals(request: cosmos.gov.v1beta1.IQueryProposalsRequest, callback: cosmos.gov.v1beta1.Query.ProposalsCallback): void; /** * Calls Proposals. * @param request QueryProposalsRequest message or plain object * @returns Promise */ public proposals(request: cosmos.gov.v1beta1.IQueryProposalsRequest): Promise; /** * Calls Vote. * @param request QueryVoteRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryVoteResponse */ public vote(request: cosmos.gov.v1beta1.IQueryVoteRequest, callback: cosmos.gov.v1beta1.Query.VoteCallback): void; /** * Calls Vote. * @param request QueryVoteRequest message or plain object * @returns Promise */ public vote(request: cosmos.gov.v1beta1.IQueryVoteRequest): Promise; /** * Calls Votes. * @param request QueryVotesRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryVotesResponse */ public votes(request: cosmos.gov.v1beta1.IQueryVotesRequest, callback: cosmos.gov.v1beta1.Query.VotesCallback): void; /** * Calls Votes. * @param request QueryVotesRequest message or plain object * @returns Promise */ public votes(request: cosmos.gov.v1beta1.IQueryVotesRequest): Promise; /** * Calls Params. * @param request QueryParamsRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryParamsResponse */ public params(request: cosmos.gov.v1beta1.IQueryParamsRequest, callback: cosmos.gov.v1beta1.Query.ParamsCallback): void; /** * Calls Params. * @param request QueryParamsRequest message or plain object * @returns Promise */ public params(request: cosmos.gov.v1beta1.IQueryParamsRequest): Promise; /** * Calls Deposit. * @param request QueryDepositRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryDepositResponse */ public deposit(request: cosmos.gov.v1beta1.IQueryDepositRequest, callback: cosmos.gov.v1beta1.Query.DepositCallback): void; /** * Calls Deposit. * @param request QueryDepositRequest message or plain object * @returns Promise */ public deposit(request: cosmos.gov.v1beta1.IQueryDepositRequest): Promise; /** * Calls Deposits. * @param request QueryDepositsRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryDepositsResponse */ public deposits(request: cosmos.gov.v1beta1.IQueryDepositsRequest, callback: cosmos.gov.v1beta1.Query.DepositsCallback): void; /** * Calls Deposits. * @param request QueryDepositsRequest message or plain object * @returns Promise */ public deposits(request: cosmos.gov.v1beta1.IQueryDepositsRequest): Promise; /** * Calls TallyResult. * @param request QueryTallyResultRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryTallyResultResponse */ public tallyResult(request: cosmos.gov.v1beta1.IQueryTallyResultRequest, callback: cosmos.gov.v1beta1.Query.TallyResultCallback): void; /** * Calls TallyResult. * @param request QueryTallyResultRequest message or plain object * @returns Promise */ public tallyResult(request: cosmos.gov.v1beta1.IQueryTallyResultRequest): Promise; } namespace Query { /** * Callback as used by {@link cosmos.gov.v1beta1.Query#proposal}. * @param error Error, if any * @param [response] QueryProposalResponse */ type ProposalCallback = (error: (Error|null), response?: cosmos.gov.v1beta1.QueryProposalResponse) => void; /** * Callback as used by {@link cosmos.gov.v1beta1.Query#proposals}. * @param error Error, if any * @param [response] QueryProposalsResponse */ type ProposalsCallback = (error: (Error|null), response?: cosmos.gov.v1beta1.QueryProposalsResponse) => void; /** * Callback as used by {@link cosmos.gov.v1beta1.Query#vote}. * @param error Error, if any * @param [response] QueryVoteResponse */ type VoteCallback = (error: (Error|null), response?: cosmos.gov.v1beta1.QueryVoteResponse) => void; /** * Callback as used by {@link cosmos.gov.v1beta1.Query#votes}. * @param error Error, if any * @param [response] QueryVotesResponse */ type VotesCallback = (error: (Error|null), response?: cosmos.gov.v1beta1.QueryVotesResponse) => void; /** * Callback as used by {@link cosmos.gov.v1beta1.Query#params}. * @param error Error, if any * @param [response] QueryParamsResponse */ type ParamsCallback = (error: (Error|null), response?: cosmos.gov.v1beta1.QueryParamsResponse) => void; /** * Callback as used by {@link cosmos.gov.v1beta1.Query#deposit}. * @param error Error, if any * @param [response] QueryDepositResponse */ type DepositCallback = (error: (Error|null), response?: cosmos.gov.v1beta1.QueryDepositResponse) => void; /** * Callback as used by {@link cosmos.gov.v1beta1.Query#deposits}. * @param error Error, if any * @param [response] QueryDepositsResponse */ type DepositsCallback = (error: (Error|null), response?: cosmos.gov.v1beta1.QueryDepositsResponse) => void; /** * Callback as used by {@link cosmos.gov.v1beta1.Query#tallyResult}. * @param error Error, if any * @param [response] QueryTallyResultResponse */ type TallyResultCallback = (error: (Error|null), response?: cosmos.gov.v1beta1.QueryTallyResultResponse) => void; } /** Properties of a QueryProposalRequest. */ interface IQueryProposalRequest { /** QueryProposalRequest proposal_id */ proposal_id?: (Long|null); } /** Represents a QueryProposalRequest. */ class QueryProposalRequest implements IQueryProposalRequest { /** * Constructs a new QueryProposalRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1beta1.IQueryProposalRequest); /** QueryProposalRequest proposal_id. */ public proposal_id: Long; /** * Encodes the specified QueryProposalRequest message. Does not implicitly {@link cosmos.gov.v1beta1.QueryProposalRequest.verify|verify} messages. * @param message QueryProposalRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1beta1.IQueryProposalRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryProposalRequest message, length delimited. Does not implicitly {@link cosmos.gov.v1beta1.QueryProposalRequest.verify|verify} messages. * @param message QueryProposalRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1beta1.IQueryProposalRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryProposalRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryProposalRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1beta1.QueryProposalRequest; /** * Decodes a QueryProposalRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryProposalRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1beta1.QueryProposalRequest; /** * Verifies a QueryProposalRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryProposalRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryProposalRequest */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1beta1.QueryProposalRequest; /** * Creates a plain object from a QueryProposalRequest message. Also converts values to other types if specified. * @param message QueryProposalRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1beta1.QueryProposalRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryProposalRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryProposalResponse. */ interface IQueryProposalResponse { /** QueryProposalResponse proposal */ proposal?: (cosmos.gov.v1beta1.IProposal|null); } /** Represents a QueryProposalResponse. */ class QueryProposalResponse implements IQueryProposalResponse { /** * Constructs a new QueryProposalResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1beta1.IQueryProposalResponse); /** QueryProposalResponse proposal. */ public proposal?: (cosmos.gov.v1beta1.IProposal|null); /** * Encodes the specified QueryProposalResponse message. Does not implicitly {@link cosmos.gov.v1beta1.QueryProposalResponse.verify|verify} messages. * @param message QueryProposalResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1beta1.IQueryProposalResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryProposalResponse message, length delimited. Does not implicitly {@link cosmos.gov.v1beta1.QueryProposalResponse.verify|verify} messages. * @param message QueryProposalResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1beta1.IQueryProposalResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryProposalResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryProposalResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1beta1.QueryProposalResponse; /** * Decodes a QueryProposalResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryProposalResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1beta1.QueryProposalResponse; /** * Verifies a QueryProposalResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryProposalResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryProposalResponse */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1beta1.QueryProposalResponse; /** * Creates a plain object from a QueryProposalResponse message. Also converts values to other types if specified. * @param message QueryProposalResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1beta1.QueryProposalResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryProposalResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryProposalsRequest. */ interface IQueryProposalsRequest { /** QueryProposalsRequest proposal_status */ proposal_status?: (cosmos.gov.v1beta1.ProposalStatus|null); /** QueryProposalsRequest voter */ voter?: (string|null); /** QueryProposalsRequest depositor */ depositor?: (string|null); /** QueryProposalsRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a QueryProposalsRequest. */ class QueryProposalsRequest implements IQueryProposalsRequest { /** * Constructs a new QueryProposalsRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1beta1.IQueryProposalsRequest); /** QueryProposalsRequest proposal_status. */ public proposal_status: cosmos.gov.v1beta1.ProposalStatus; /** QueryProposalsRequest voter. */ public voter: string; /** QueryProposalsRequest depositor. */ public depositor: string; /** QueryProposalsRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** * Encodes the specified QueryProposalsRequest message. Does not implicitly {@link cosmos.gov.v1beta1.QueryProposalsRequest.verify|verify} messages. * @param message QueryProposalsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1beta1.IQueryProposalsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryProposalsRequest message, length delimited. Does not implicitly {@link cosmos.gov.v1beta1.QueryProposalsRequest.verify|verify} messages. * @param message QueryProposalsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1beta1.IQueryProposalsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryProposalsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryProposalsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1beta1.QueryProposalsRequest; /** * Decodes a QueryProposalsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryProposalsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1beta1.QueryProposalsRequest; /** * Verifies a QueryProposalsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryProposalsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryProposalsRequest */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1beta1.QueryProposalsRequest; /** * Creates a plain object from a QueryProposalsRequest message. Also converts values to other types if specified. * @param message QueryProposalsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1beta1.QueryProposalsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryProposalsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryProposalsResponse. */ interface IQueryProposalsResponse { /** QueryProposalsResponse proposals */ proposals?: (cosmos.gov.v1beta1.IProposal[]|null); /** QueryProposalsResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a QueryProposalsResponse. */ class QueryProposalsResponse implements IQueryProposalsResponse { /** * Constructs a new QueryProposalsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1beta1.IQueryProposalsResponse); /** QueryProposalsResponse proposals. */ public proposals: cosmos.gov.v1beta1.IProposal[]; /** QueryProposalsResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified QueryProposalsResponse message. Does not implicitly {@link cosmos.gov.v1beta1.QueryProposalsResponse.verify|verify} messages. * @param message QueryProposalsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1beta1.IQueryProposalsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryProposalsResponse message, length delimited. Does not implicitly {@link cosmos.gov.v1beta1.QueryProposalsResponse.verify|verify} messages. * @param message QueryProposalsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1beta1.IQueryProposalsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryProposalsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryProposalsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1beta1.QueryProposalsResponse; /** * Decodes a QueryProposalsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryProposalsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1beta1.QueryProposalsResponse; /** * Verifies a QueryProposalsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryProposalsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryProposalsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1beta1.QueryProposalsResponse; /** * Creates a plain object from a QueryProposalsResponse message. Also converts values to other types if specified. * @param message QueryProposalsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1beta1.QueryProposalsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryProposalsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryVoteRequest. */ interface IQueryVoteRequest { /** QueryVoteRequest proposal_id */ proposal_id?: (Long|null); /** QueryVoteRequest voter */ voter?: (string|null); } /** Represents a QueryVoteRequest. */ class QueryVoteRequest implements IQueryVoteRequest { /** * Constructs a new QueryVoteRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1beta1.IQueryVoteRequest); /** QueryVoteRequest proposal_id. */ public proposal_id: Long; /** QueryVoteRequest voter. */ public voter: string; /** * Encodes the specified QueryVoteRequest message. Does not implicitly {@link cosmos.gov.v1beta1.QueryVoteRequest.verify|verify} messages. * @param message QueryVoteRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1beta1.IQueryVoteRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryVoteRequest message, length delimited. Does not implicitly {@link cosmos.gov.v1beta1.QueryVoteRequest.verify|verify} messages. * @param message QueryVoteRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1beta1.IQueryVoteRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryVoteRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryVoteRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1beta1.QueryVoteRequest; /** * Decodes a QueryVoteRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryVoteRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1beta1.QueryVoteRequest; /** * Verifies a QueryVoteRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryVoteRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryVoteRequest */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1beta1.QueryVoteRequest; /** * Creates a plain object from a QueryVoteRequest message. Also converts values to other types if specified. * @param message QueryVoteRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1beta1.QueryVoteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryVoteRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryVoteResponse. */ interface IQueryVoteResponse { /** QueryVoteResponse vote */ vote?: (cosmos.gov.v1beta1.IVote|null); } /** Represents a QueryVoteResponse. */ class QueryVoteResponse implements IQueryVoteResponse { /** * Constructs a new QueryVoteResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1beta1.IQueryVoteResponse); /** QueryVoteResponse vote. */ public vote?: (cosmos.gov.v1beta1.IVote|null); /** * Encodes the specified QueryVoteResponse message. Does not implicitly {@link cosmos.gov.v1beta1.QueryVoteResponse.verify|verify} messages. * @param message QueryVoteResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1beta1.IQueryVoteResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryVoteResponse message, length delimited. Does not implicitly {@link cosmos.gov.v1beta1.QueryVoteResponse.verify|verify} messages. * @param message QueryVoteResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1beta1.IQueryVoteResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryVoteResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryVoteResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1beta1.QueryVoteResponse; /** * Decodes a QueryVoteResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryVoteResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1beta1.QueryVoteResponse; /** * Verifies a QueryVoteResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryVoteResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryVoteResponse */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1beta1.QueryVoteResponse; /** * Creates a plain object from a QueryVoteResponse message. Also converts values to other types if specified. * @param message QueryVoteResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1beta1.QueryVoteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryVoteResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryVotesRequest. */ interface IQueryVotesRequest { /** QueryVotesRequest proposal_id */ proposal_id?: (Long|null); /** QueryVotesRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a QueryVotesRequest. */ class QueryVotesRequest implements IQueryVotesRequest { /** * Constructs a new QueryVotesRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1beta1.IQueryVotesRequest); /** QueryVotesRequest proposal_id. */ public proposal_id: Long; /** QueryVotesRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** * Encodes the specified QueryVotesRequest message. Does not implicitly {@link cosmos.gov.v1beta1.QueryVotesRequest.verify|verify} messages. * @param message QueryVotesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1beta1.IQueryVotesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryVotesRequest message, length delimited. Does not implicitly {@link cosmos.gov.v1beta1.QueryVotesRequest.verify|verify} messages. * @param message QueryVotesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1beta1.IQueryVotesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryVotesRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryVotesRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1beta1.QueryVotesRequest; /** * Decodes a QueryVotesRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryVotesRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1beta1.QueryVotesRequest; /** * Verifies a QueryVotesRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryVotesRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryVotesRequest */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1beta1.QueryVotesRequest; /** * Creates a plain object from a QueryVotesRequest message. Also converts values to other types if specified. * @param message QueryVotesRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1beta1.QueryVotesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryVotesRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryVotesResponse. */ interface IQueryVotesResponse { /** QueryVotesResponse votes */ votes?: (cosmos.gov.v1beta1.IVote[]|null); /** QueryVotesResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a QueryVotesResponse. */ class QueryVotesResponse implements IQueryVotesResponse { /** * Constructs a new QueryVotesResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1beta1.IQueryVotesResponse); /** QueryVotesResponse votes. */ public votes: cosmos.gov.v1beta1.IVote[]; /** QueryVotesResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified QueryVotesResponse message. Does not implicitly {@link cosmos.gov.v1beta1.QueryVotesResponse.verify|verify} messages. * @param message QueryVotesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1beta1.IQueryVotesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryVotesResponse message, length delimited. Does not implicitly {@link cosmos.gov.v1beta1.QueryVotesResponse.verify|verify} messages. * @param message QueryVotesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1beta1.IQueryVotesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryVotesResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryVotesResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1beta1.QueryVotesResponse; /** * Decodes a QueryVotesResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryVotesResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1beta1.QueryVotesResponse; /** * Verifies a QueryVotesResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryVotesResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryVotesResponse */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1beta1.QueryVotesResponse; /** * Creates a plain object from a QueryVotesResponse message. Also converts values to other types if specified. * @param message QueryVotesResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1beta1.QueryVotesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryVotesResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryParamsRequest. */ interface IQueryParamsRequest { /** QueryParamsRequest params_type */ params_type?: (string|null); } /** Represents a QueryParamsRequest. */ class QueryParamsRequest implements IQueryParamsRequest { /** * Constructs a new QueryParamsRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1beta1.IQueryParamsRequest); /** QueryParamsRequest params_type. */ public params_type: string; /** * Encodes the specified QueryParamsRequest message. Does not implicitly {@link cosmos.gov.v1beta1.QueryParamsRequest.verify|verify} messages. * @param message QueryParamsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1beta1.IQueryParamsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryParamsRequest message, length delimited. Does not implicitly {@link cosmos.gov.v1beta1.QueryParamsRequest.verify|verify} messages. * @param message QueryParamsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1beta1.IQueryParamsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryParamsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryParamsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1beta1.QueryParamsRequest; /** * Decodes a QueryParamsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryParamsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1beta1.QueryParamsRequest; /** * Verifies a QueryParamsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryParamsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryParamsRequest */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1beta1.QueryParamsRequest; /** * Creates a plain object from a QueryParamsRequest message. Also converts values to other types if specified. * @param message QueryParamsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1beta1.QueryParamsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryParamsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryParamsResponse. */ interface IQueryParamsResponse { /** QueryParamsResponse voting_params */ voting_params?: (cosmos.gov.v1beta1.IVotingParams|null); /** QueryParamsResponse deposit_params */ deposit_params?: (cosmos.gov.v1beta1.IDepositParams|null); /** QueryParamsResponse tally_params */ tally_params?: (cosmos.gov.v1beta1.ITallyParams|null); } /** Represents a QueryParamsResponse. */ class QueryParamsResponse implements IQueryParamsResponse { /** * Constructs a new QueryParamsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1beta1.IQueryParamsResponse); /** QueryParamsResponse voting_params. */ public voting_params?: (cosmos.gov.v1beta1.IVotingParams|null); /** QueryParamsResponse deposit_params. */ public deposit_params?: (cosmos.gov.v1beta1.IDepositParams|null); /** QueryParamsResponse tally_params. */ public tally_params?: (cosmos.gov.v1beta1.ITallyParams|null); /** * Encodes the specified QueryParamsResponse message. Does not implicitly {@link cosmos.gov.v1beta1.QueryParamsResponse.verify|verify} messages. * @param message QueryParamsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1beta1.IQueryParamsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryParamsResponse message, length delimited. Does not implicitly {@link cosmos.gov.v1beta1.QueryParamsResponse.verify|verify} messages. * @param message QueryParamsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1beta1.IQueryParamsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryParamsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryParamsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1beta1.QueryParamsResponse; /** * Decodes a QueryParamsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryParamsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1beta1.QueryParamsResponse; /** * Verifies a QueryParamsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryParamsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryParamsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1beta1.QueryParamsResponse; /** * Creates a plain object from a QueryParamsResponse message. Also converts values to other types if specified. * @param message QueryParamsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1beta1.QueryParamsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryParamsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryDepositRequest. */ interface IQueryDepositRequest { /** QueryDepositRequest proposal_id */ proposal_id?: (Long|null); /** QueryDepositRequest depositor */ depositor?: (string|null); } /** Represents a QueryDepositRequest. */ class QueryDepositRequest implements IQueryDepositRequest { /** * Constructs a new QueryDepositRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1beta1.IQueryDepositRequest); /** QueryDepositRequest proposal_id. */ public proposal_id: Long; /** QueryDepositRequest depositor. */ public depositor: string; /** * Encodes the specified QueryDepositRequest message. Does not implicitly {@link cosmos.gov.v1beta1.QueryDepositRequest.verify|verify} messages. * @param message QueryDepositRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1beta1.IQueryDepositRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryDepositRequest message, length delimited. Does not implicitly {@link cosmos.gov.v1beta1.QueryDepositRequest.verify|verify} messages. * @param message QueryDepositRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1beta1.IQueryDepositRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryDepositRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryDepositRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1beta1.QueryDepositRequest; /** * Decodes a QueryDepositRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryDepositRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1beta1.QueryDepositRequest; /** * Verifies a QueryDepositRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryDepositRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryDepositRequest */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1beta1.QueryDepositRequest; /** * Creates a plain object from a QueryDepositRequest message. Also converts values to other types if specified. * @param message QueryDepositRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1beta1.QueryDepositRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryDepositRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryDepositResponse. */ interface IQueryDepositResponse { /** QueryDepositResponse deposit */ deposit?: (cosmos.gov.v1beta1.IDeposit|null); } /** Represents a QueryDepositResponse. */ class QueryDepositResponse implements IQueryDepositResponse { /** * Constructs a new QueryDepositResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1beta1.IQueryDepositResponse); /** QueryDepositResponse deposit. */ public deposit?: (cosmos.gov.v1beta1.IDeposit|null); /** * Encodes the specified QueryDepositResponse message. Does not implicitly {@link cosmos.gov.v1beta1.QueryDepositResponse.verify|verify} messages. * @param message QueryDepositResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1beta1.IQueryDepositResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryDepositResponse message, length delimited. Does not implicitly {@link cosmos.gov.v1beta1.QueryDepositResponse.verify|verify} messages. * @param message QueryDepositResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1beta1.IQueryDepositResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryDepositResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryDepositResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1beta1.QueryDepositResponse; /** * Decodes a QueryDepositResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryDepositResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1beta1.QueryDepositResponse; /** * Verifies a QueryDepositResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryDepositResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryDepositResponse */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1beta1.QueryDepositResponse; /** * Creates a plain object from a QueryDepositResponse message. Also converts values to other types if specified. * @param message QueryDepositResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1beta1.QueryDepositResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryDepositResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryDepositsRequest. */ interface IQueryDepositsRequest { /** QueryDepositsRequest proposal_id */ proposal_id?: (Long|null); /** QueryDepositsRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a QueryDepositsRequest. */ class QueryDepositsRequest implements IQueryDepositsRequest { /** * Constructs a new QueryDepositsRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1beta1.IQueryDepositsRequest); /** QueryDepositsRequest proposal_id. */ public proposal_id: Long; /** QueryDepositsRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** * Encodes the specified QueryDepositsRequest message. Does not implicitly {@link cosmos.gov.v1beta1.QueryDepositsRequest.verify|verify} messages. * @param message QueryDepositsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1beta1.IQueryDepositsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryDepositsRequest message, length delimited. Does not implicitly {@link cosmos.gov.v1beta1.QueryDepositsRequest.verify|verify} messages. * @param message QueryDepositsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1beta1.IQueryDepositsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryDepositsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryDepositsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1beta1.QueryDepositsRequest; /** * Decodes a QueryDepositsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryDepositsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1beta1.QueryDepositsRequest; /** * Verifies a QueryDepositsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryDepositsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryDepositsRequest */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1beta1.QueryDepositsRequest; /** * Creates a plain object from a QueryDepositsRequest message. Also converts values to other types if specified. * @param message QueryDepositsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1beta1.QueryDepositsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryDepositsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryDepositsResponse. */ interface IQueryDepositsResponse { /** QueryDepositsResponse deposits */ deposits?: (cosmos.gov.v1beta1.IDeposit[]|null); /** QueryDepositsResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a QueryDepositsResponse. */ class QueryDepositsResponse implements IQueryDepositsResponse { /** * Constructs a new QueryDepositsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1beta1.IQueryDepositsResponse); /** QueryDepositsResponse deposits. */ public deposits: cosmos.gov.v1beta1.IDeposit[]; /** QueryDepositsResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified QueryDepositsResponse message. Does not implicitly {@link cosmos.gov.v1beta1.QueryDepositsResponse.verify|verify} messages. * @param message QueryDepositsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1beta1.IQueryDepositsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryDepositsResponse message, length delimited. Does not implicitly {@link cosmos.gov.v1beta1.QueryDepositsResponse.verify|verify} messages. * @param message QueryDepositsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1beta1.IQueryDepositsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryDepositsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryDepositsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1beta1.QueryDepositsResponse; /** * Decodes a QueryDepositsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryDepositsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1beta1.QueryDepositsResponse; /** * Verifies a QueryDepositsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryDepositsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryDepositsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1beta1.QueryDepositsResponse; /** * Creates a plain object from a QueryDepositsResponse message. Also converts values to other types if specified. * @param message QueryDepositsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1beta1.QueryDepositsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryDepositsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryTallyResultRequest. */ interface IQueryTallyResultRequest { /** QueryTallyResultRequest proposal_id */ proposal_id?: (Long|null); } /** Represents a QueryTallyResultRequest. */ class QueryTallyResultRequest implements IQueryTallyResultRequest { /** * Constructs a new QueryTallyResultRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1beta1.IQueryTallyResultRequest); /** QueryTallyResultRequest proposal_id. */ public proposal_id: Long; /** * Encodes the specified QueryTallyResultRequest message. Does not implicitly {@link cosmos.gov.v1beta1.QueryTallyResultRequest.verify|verify} messages. * @param message QueryTallyResultRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1beta1.IQueryTallyResultRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryTallyResultRequest message, length delimited. Does not implicitly {@link cosmos.gov.v1beta1.QueryTallyResultRequest.verify|verify} messages. * @param message QueryTallyResultRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1beta1.IQueryTallyResultRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryTallyResultRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryTallyResultRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1beta1.QueryTallyResultRequest; /** * Decodes a QueryTallyResultRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryTallyResultRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1beta1.QueryTallyResultRequest; /** * Verifies a QueryTallyResultRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryTallyResultRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryTallyResultRequest */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1beta1.QueryTallyResultRequest; /** * Creates a plain object from a QueryTallyResultRequest message. Also converts values to other types if specified. * @param message QueryTallyResultRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1beta1.QueryTallyResultRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryTallyResultRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryTallyResultResponse. */ interface IQueryTallyResultResponse { /** QueryTallyResultResponse tally */ tally?: (cosmos.gov.v1beta1.ITallyResult|null); } /** Represents a QueryTallyResultResponse. */ class QueryTallyResultResponse implements IQueryTallyResultResponse { /** * Constructs a new QueryTallyResultResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1beta1.IQueryTallyResultResponse); /** QueryTallyResultResponse tally. */ public tally?: (cosmos.gov.v1beta1.ITallyResult|null); /** * Encodes the specified QueryTallyResultResponse message. Does not implicitly {@link cosmos.gov.v1beta1.QueryTallyResultResponse.verify|verify} messages. * @param message QueryTallyResultResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1beta1.IQueryTallyResultResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryTallyResultResponse message, length delimited. Does not implicitly {@link cosmos.gov.v1beta1.QueryTallyResultResponse.verify|verify} messages. * @param message QueryTallyResultResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1beta1.IQueryTallyResultResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryTallyResultResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryTallyResultResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1beta1.QueryTallyResultResponse; /** * Decodes a QueryTallyResultResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryTallyResultResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1beta1.QueryTallyResultResponse; /** * Verifies a QueryTallyResultResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryTallyResultResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryTallyResultResponse */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1beta1.QueryTallyResultResponse; /** * Creates a plain object from a QueryTallyResultResponse message. Also converts values to other types if specified. * @param message QueryTallyResultResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1beta1.QueryTallyResultResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryTallyResultResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** VoteOption enum. */ enum VoteOption { VOTE_OPTION_UNSPECIFIED = 0, VOTE_OPTION_YES = 1, VOTE_OPTION_ABSTAIN = 2, VOTE_OPTION_NO = 3, VOTE_OPTION_NO_WITH_VETO = 4 } /** Properties of a WeightedVoteOption. */ interface IWeightedVoteOption { /** WeightedVoteOption option */ option?: (cosmos.gov.v1beta1.VoteOption|null); /** WeightedVoteOption weight */ weight?: (string|null); } /** Represents a WeightedVoteOption. */ class WeightedVoteOption implements IWeightedVoteOption { /** * Constructs a new WeightedVoteOption. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1beta1.IWeightedVoteOption); /** WeightedVoteOption option. */ public option: cosmos.gov.v1beta1.VoteOption; /** WeightedVoteOption weight. */ public weight: string; /** * Encodes the specified WeightedVoteOption message. Does not implicitly {@link cosmos.gov.v1beta1.WeightedVoteOption.verify|verify} messages. * @param message WeightedVoteOption message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1beta1.IWeightedVoteOption, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified WeightedVoteOption message, length delimited. Does not implicitly {@link cosmos.gov.v1beta1.WeightedVoteOption.verify|verify} messages. * @param message WeightedVoteOption message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1beta1.IWeightedVoteOption, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a WeightedVoteOption message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns WeightedVoteOption * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1beta1.WeightedVoteOption; /** * Decodes a WeightedVoteOption message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns WeightedVoteOption * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1beta1.WeightedVoteOption; /** * Verifies a WeightedVoteOption message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a WeightedVoteOption message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns WeightedVoteOption */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1beta1.WeightedVoteOption; /** * Creates a plain object from a WeightedVoteOption message. Also converts values to other types if specified. * @param message WeightedVoteOption * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1beta1.WeightedVoteOption, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this WeightedVoteOption to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a TextProposal. */ interface ITextProposal { /** TextProposal title */ title?: (string|null); /** TextProposal description */ description?: (string|null); } /** Represents a TextProposal. */ class TextProposal implements ITextProposal { /** * Constructs a new TextProposal. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1beta1.ITextProposal); /** TextProposal title. */ public title: string; /** TextProposal description. */ public description: string; /** * Encodes the specified TextProposal message. Does not implicitly {@link cosmos.gov.v1beta1.TextProposal.verify|verify} messages. * @param message TextProposal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1beta1.ITextProposal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TextProposal message, length delimited. Does not implicitly {@link cosmos.gov.v1beta1.TextProposal.verify|verify} messages. * @param message TextProposal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1beta1.ITextProposal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TextProposal message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TextProposal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1beta1.TextProposal; /** * Decodes a TextProposal message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TextProposal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1beta1.TextProposal; /** * Verifies a TextProposal message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TextProposal message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TextProposal */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1beta1.TextProposal; /** * Creates a plain object from a TextProposal message. Also converts values to other types if specified. * @param message TextProposal * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1beta1.TextProposal, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TextProposal to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Deposit. */ interface IDeposit { /** Deposit proposal_id */ proposal_id?: (Long|null); /** Deposit depositor */ depositor?: (string|null); /** Deposit amount */ amount?: (cosmos.base.v1beta1.ICoin[]|null); } /** Represents a Deposit. */ class Deposit implements IDeposit { /** * Constructs a new Deposit. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1beta1.IDeposit); /** Deposit proposal_id. */ public proposal_id: Long; /** Deposit depositor. */ public depositor: string; /** Deposit amount. */ public amount: cosmos.base.v1beta1.ICoin[]; /** * Encodes the specified Deposit message. Does not implicitly {@link cosmos.gov.v1beta1.Deposit.verify|verify} messages. * @param message Deposit message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1beta1.IDeposit, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Deposit message, length delimited. Does not implicitly {@link cosmos.gov.v1beta1.Deposit.verify|verify} messages. * @param message Deposit message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1beta1.IDeposit, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Deposit message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Deposit * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1beta1.Deposit; /** * Decodes a Deposit message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Deposit * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1beta1.Deposit; /** * Verifies a Deposit message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Deposit message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Deposit */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1beta1.Deposit; /** * Creates a plain object from a Deposit message. Also converts values to other types if specified. * @param message Deposit * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1beta1.Deposit, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Deposit to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Proposal. */ interface IProposal { /** Proposal proposal_id */ proposal_id?: (Long|null); /** Proposal content */ content?: (google.protobuf.IAny|null); /** Proposal status */ status?: (cosmos.gov.v1beta1.ProposalStatus|null); /** Proposal final_tally_result */ final_tally_result?: (cosmos.gov.v1beta1.ITallyResult|null); /** Proposal submit_time */ submit_time?: (google.protobuf.ITimestamp|null); /** Proposal deposit_end_time */ deposit_end_time?: (google.protobuf.ITimestamp|null); /** Proposal total_deposit */ total_deposit?: (cosmos.base.v1beta1.ICoin[]|null); /** Proposal voting_start_time */ voting_start_time?: (google.protobuf.ITimestamp|null); /** Proposal voting_end_time */ voting_end_time?: (google.protobuf.ITimestamp|null); } /** Represents a Proposal. */ class Proposal implements IProposal { /** * Constructs a new Proposal. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1beta1.IProposal); /** Proposal proposal_id. */ public proposal_id: Long; /** Proposal content. */ public content?: (google.protobuf.IAny|null); /** Proposal status. */ public status: cosmos.gov.v1beta1.ProposalStatus; /** Proposal final_tally_result. */ public final_tally_result?: (cosmos.gov.v1beta1.ITallyResult|null); /** Proposal submit_time. */ public submit_time?: (google.protobuf.ITimestamp|null); /** Proposal deposit_end_time. */ public deposit_end_time?: (google.protobuf.ITimestamp|null); /** Proposal total_deposit. */ public total_deposit: cosmos.base.v1beta1.ICoin[]; /** Proposal voting_start_time. */ public voting_start_time?: (google.protobuf.ITimestamp|null); /** Proposal voting_end_time. */ public voting_end_time?: (google.protobuf.ITimestamp|null); /** * Encodes the specified Proposal message. Does not implicitly {@link cosmos.gov.v1beta1.Proposal.verify|verify} messages. * @param message Proposal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1beta1.IProposal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Proposal message, length delimited. Does not implicitly {@link cosmos.gov.v1beta1.Proposal.verify|verify} messages. * @param message Proposal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1beta1.IProposal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Proposal message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Proposal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1beta1.Proposal; /** * Decodes a Proposal message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Proposal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1beta1.Proposal; /** * Verifies a Proposal message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Proposal message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Proposal */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1beta1.Proposal; /** * Creates a plain object from a Proposal message. Also converts values to other types if specified. * @param message Proposal * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1beta1.Proposal, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Proposal to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** ProposalStatus enum. */ enum ProposalStatus { PROPOSAL_STATUS_UNSPECIFIED = 0, PROPOSAL_STATUS_DEPOSIT_PERIOD = 1, PROPOSAL_STATUS_VOTING_PERIOD = 2, PROPOSAL_STATUS_PASSED = 3, PROPOSAL_STATUS_REJECTED = 4, PROPOSAL_STATUS_FAILED = 5 } /** Properties of a TallyResult. */ interface ITallyResult { /** TallyResult yes */ yes?: (string|null); /** TallyResult abstain */ abstain?: (string|null); /** TallyResult no */ no?: (string|null); /** TallyResult no_with_veto */ no_with_veto?: (string|null); } /** Represents a TallyResult. */ class TallyResult implements ITallyResult { /** * Constructs a new TallyResult. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1beta1.ITallyResult); /** TallyResult yes. */ public yes: string; /** TallyResult abstain. */ public abstain: string; /** TallyResult no. */ public no: string; /** TallyResult no_with_veto. */ public no_with_veto: string; /** * Encodes the specified TallyResult message. Does not implicitly {@link cosmos.gov.v1beta1.TallyResult.verify|verify} messages. * @param message TallyResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1beta1.ITallyResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TallyResult message, length delimited. Does not implicitly {@link cosmos.gov.v1beta1.TallyResult.verify|verify} messages. * @param message TallyResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1beta1.ITallyResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TallyResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TallyResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1beta1.TallyResult; /** * Decodes a TallyResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TallyResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1beta1.TallyResult; /** * Verifies a TallyResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TallyResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TallyResult */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1beta1.TallyResult; /** * Creates a plain object from a TallyResult message. Also converts values to other types if specified. * @param message TallyResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1beta1.TallyResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TallyResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Vote. */ interface IVote { /** Vote proposal_id */ proposal_id?: (Long|null); /** Vote voter */ voter?: (string|null); /** Vote option */ option?: (cosmos.gov.v1beta1.VoteOption|null); /** Vote options */ options?: (cosmos.gov.v1beta1.IWeightedVoteOption[]|null); } /** Represents a Vote. */ class Vote implements IVote { /** * Constructs a new Vote. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1beta1.IVote); /** Vote proposal_id. */ public proposal_id: Long; /** Vote voter. */ public voter: string; /** Vote option. */ public option: cosmos.gov.v1beta1.VoteOption; /** Vote options. */ public options: cosmos.gov.v1beta1.IWeightedVoteOption[]; /** * Encodes the specified Vote message. Does not implicitly {@link cosmos.gov.v1beta1.Vote.verify|verify} messages. * @param message Vote message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1beta1.IVote, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Vote message, length delimited. Does not implicitly {@link cosmos.gov.v1beta1.Vote.verify|verify} messages. * @param message Vote message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1beta1.IVote, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Vote message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Vote * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1beta1.Vote; /** * Decodes a Vote message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Vote * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1beta1.Vote; /** * Verifies a Vote message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Vote message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Vote */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1beta1.Vote; /** * Creates a plain object from a Vote message. Also converts values to other types if specified. * @param message Vote * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1beta1.Vote, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Vote to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a DepositParams. */ interface IDepositParams { /** DepositParams min_deposit */ min_deposit?: (cosmos.base.v1beta1.ICoin[]|null); /** DepositParams max_deposit_period */ max_deposit_period?: (google.protobuf.IDuration|null); } /** Represents a DepositParams. */ class DepositParams implements IDepositParams { /** * Constructs a new DepositParams. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1beta1.IDepositParams); /** DepositParams min_deposit. */ public min_deposit: cosmos.base.v1beta1.ICoin[]; /** DepositParams max_deposit_period. */ public max_deposit_period?: (google.protobuf.IDuration|null); /** * Encodes the specified DepositParams message. Does not implicitly {@link cosmos.gov.v1beta1.DepositParams.verify|verify} messages. * @param message DepositParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1beta1.IDepositParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DepositParams message, length delimited. Does not implicitly {@link cosmos.gov.v1beta1.DepositParams.verify|verify} messages. * @param message DepositParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1beta1.IDepositParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DepositParams message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DepositParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1beta1.DepositParams; /** * Decodes a DepositParams message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DepositParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1beta1.DepositParams; /** * Verifies a DepositParams message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DepositParams message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DepositParams */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1beta1.DepositParams; /** * Creates a plain object from a DepositParams message. Also converts values to other types if specified. * @param message DepositParams * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1beta1.DepositParams, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DepositParams to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a VotingParams. */ interface IVotingParams { /** VotingParams voting_period */ voting_period?: (google.protobuf.IDuration|null); } /** Represents a VotingParams. */ class VotingParams implements IVotingParams { /** * Constructs a new VotingParams. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1beta1.IVotingParams); /** VotingParams voting_period. */ public voting_period?: (google.protobuf.IDuration|null); /** * Encodes the specified VotingParams message. Does not implicitly {@link cosmos.gov.v1beta1.VotingParams.verify|verify} messages. * @param message VotingParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1beta1.IVotingParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified VotingParams message, length delimited. Does not implicitly {@link cosmos.gov.v1beta1.VotingParams.verify|verify} messages. * @param message VotingParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1beta1.IVotingParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a VotingParams message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns VotingParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1beta1.VotingParams; /** * Decodes a VotingParams message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns VotingParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1beta1.VotingParams; /** * Verifies a VotingParams message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a VotingParams message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns VotingParams */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1beta1.VotingParams; /** * Creates a plain object from a VotingParams message. Also converts values to other types if specified. * @param message VotingParams * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1beta1.VotingParams, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this VotingParams to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a TallyParams. */ interface ITallyParams { /** TallyParams quorum */ quorum?: (Uint8Array|null); /** TallyParams threshold */ threshold?: (Uint8Array|null); /** TallyParams veto_threshold */ veto_threshold?: (Uint8Array|null); } /** Represents a TallyParams. */ class TallyParams implements ITallyParams { /** * Constructs a new TallyParams. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1beta1.ITallyParams); /** TallyParams quorum. */ public quorum: Uint8Array; /** TallyParams threshold. */ public threshold: Uint8Array; /** TallyParams veto_threshold. */ public veto_threshold: Uint8Array; /** * Encodes the specified TallyParams message. Does not implicitly {@link cosmos.gov.v1beta1.TallyParams.verify|verify} messages. * @param message TallyParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1beta1.ITallyParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TallyParams message, length delimited. Does not implicitly {@link cosmos.gov.v1beta1.TallyParams.verify|verify} messages. * @param message TallyParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1beta1.ITallyParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TallyParams message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TallyParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1beta1.TallyParams; /** * Decodes a TallyParams message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TallyParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1beta1.TallyParams; /** * Verifies a TallyParams message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TallyParams message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TallyParams */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1beta1.TallyParams; /** * Creates a plain object from a TallyParams message. Also converts values to other types if specified. * @param message TallyParams * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1beta1.TallyParams, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TallyParams to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Represents a Msg */ class Msg extends $protobuf.rpc.Service { /** * Constructs a new Msg service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls SubmitProposal. * @param request MsgSubmitProposal message or plain object * @param callback Node-style callback called with the error, if any, and MsgSubmitProposalResponse */ public submitProposal(request: cosmos.gov.v1beta1.IMsgSubmitProposal, callback: cosmos.gov.v1beta1.Msg.SubmitProposalCallback): void; /** * Calls SubmitProposal. * @param request MsgSubmitProposal message or plain object * @returns Promise */ public submitProposal(request: cosmos.gov.v1beta1.IMsgSubmitProposal): Promise; /** * Calls Vote. * @param request MsgVote message or plain object * @param callback Node-style callback called with the error, if any, and MsgVoteResponse */ public vote(request: cosmos.gov.v1beta1.IMsgVote, callback: cosmos.gov.v1beta1.Msg.VoteCallback): void; /** * Calls Vote. * @param request MsgVote message or plain object * @returns Promise */ public vote(request: cosmos.gov.v1beta1.IMsgVote): Promise; /** * Calls VoteWeighted. * @param request MsgVoteWeighted message or plain object * @param callback Node-style callback called with the error, if any, and MsgVoteWeightedResponse */ public voteWeighted(request: cosmos.gov.v1beta1.IMsgVoteWeighted, callback: cosmos.gov.v1beta1.Msg.VoteWeightedCallback): void; /** * Calls VoteWeighted. * @param request MsgVoteWeighted message or plain object * @returns Promise */ public voteWeighted(request: cosmos.gov.v1beta1.IMsgVoteWeighted): Promise; /** * Calls Deposit. * @param request MsgDeposit message or plain object * @param callback Node-style callback called with the error, if any, and MsgDepositResponse */ public deposit(request: cosmos.gov.v1beta1.IMsgDeposit, callback: cosmos.gov.v1beta1.Msg.DepositCallback): void; /** * Calls Deposit. * @param request MsgDeposit message or plain object * @returns Promise */ public deposit(request: cosmos.gov.v1beta1.IMsgDeposit): Promise; } namespace Msg { /** * Callback as used by {@link cosmos.gov.v1beta1.Msg#submitProposal}. * @param error Error, if any * @param [response] MsgSubmitProposalResponse */ type SubmitProposalCallback = (error: (Error|null), response?: cosmos.gov.v1beta1.MsgSubmitProposalResponse) => void; /** * Callback as used by {@link cosmos.gov.v1beta1.Msg#vote}. * @param error Error, if any * @param [response] MsgVoteResponse */ type VoteCallback = (error: (Error|null), response?: cosmos.gov.v1beta1.MsgVoteResponse) => void; /** * Callback as used by {@link cosmos.gov.v1beta1.Msg#voteWeighted}. * @param error Error, if any * @param [response] MsgVoteWeightedResponse */ type VoteWeightedCallback = (error: (Error|null), response?: cosmos.gov.v1beta1.MsgVoteWeightedResponse) => void; /** * Callback as used by {@link cosmos.gov.v1beta1.Msg#deposit}. * @param error Error, if any * @param [response] MsgDepositResponse */ type DepositCallback = (error: (Error|null), response?: cosmos.gov.v1beta1.MsgDepositResponse) => void; } /** Properties of a MsgSubmitProposal. */ interface IMsgSubmitProposal { /** MsgSubmitProposal content */ content?: (google.protobuf.IAny|null); /** MsgSubmitProposal initial_deposit */ initial_deposit?: (cosmos.base.v1beta1.ICoin[]|null); /** MsgSubmitProposal proposer */ proposer?: (string|null); } /** Represents a MsgSubmitProposal. */ class MsgSubmitProposal implements IMsgSubmitProposal { /** * Constructs a new MsgSubmitProposal. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1beta1.IMsgSubmitProposal); /** MsgSubmitProposal content. */ public content?: (google.protobuf.IAny|null); /** MsgSubmitProposal initial_deposit. */ public initial_deposit: cosmos.base.v1beta1.ICoin[]; /** MsgSubmitProposal proposer. */ public proposer: string; /** * Encodes the specified MsgSubmitProposal message. Does not implicitly {@link cosmos.gov.v1beta1.MsgSubmitProposal.verify|verify} messages. * @param message MsgSubmitProposal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1beta1.IMsgSubmitProposal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgSubmitProposal message, length delimited. Does not implicitly {@link cosmos.gov.v1beta1.MsgSubmitProposal.verify|verify} messages. * @param message MsgSubmitProposal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1beta1.IMsgSubmitProposal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgSubmitProposal message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgSubmitProposal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1beta1.MsgSubmitProposal; /** * Decodes a MsgSubmitProposal message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgSubmitProposal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1beta1.MsgSubmitProposal; /** * Verifies a MsgSubmitProposal message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgSubmitProposal message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgSubmitProposal */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1beta1.MsgSubmitProposal; /** * Creates a plain object from a MsgSubmitProposal message. Also converts values to other types if specified. * @param message MsgSubmitProposal * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1beta1.MsgSubmitProposal, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgSubmitProposal to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgSubmitProposalResponse. */ interface IMsgSubmitProposalResponse { /** MsgSubmitProposalResponse proposal_id */ proposal_id?: (Long|null); } /** Represents a MsgSubmitProposalResponse. */ class MsgSubmitProposalResponse implements IMsgSubmitProposalResponse { /** * Constructs a new MsgSubmitProposalResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1beta1.IMsgSubmitProposalResponse); /** MsgSubmitProposalResponse proposal_id. */ public proposal_id: Long; /** * Encodes the specified MsgSubmitProposalResponse message. Does not implicitly {@link cosmos.gov.v1beta1.MsgSubmitProposalResponse.verify|verify} messages. * @param message MsgSubmitProposalResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1beta1.IMsgSubmitProposalResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgSubmitProposalResponse message, length delimited. Does not implicitly {@link cosmos.gov.v1beta1.MsgSubmitProposalResponse.verify|verify} messages. * @param message MsgSubmitProposalResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1beta1.IMsgSubmitProposalResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgSubmitProposalResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgSubmitProposalResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1beta1.MsgSubmitProposalResponse; /** * Decodes a MsgSubmitProposalResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgSubmitProposalResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1beta1.MsgSubmitProposalResponse; /** * Verifies a MsgSubmitProposalResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgSubmitProposalResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgSubmitProposalResponse */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1beta1.MsgSubmitProposalResponse; /** * Creates a plain object from a MsgSubmitProposalResponse message. Also converts values to other types if specified. * @param message MsgSubmitProposalResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1beta1.MsgSubmitProposalResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgSubmitProposalResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgVote. */ interface IMsgVote { /** MsgVote proposal_id */ proposal_id?: (Long|null); /** MsgVote voter */ voter?: (string|null); /** MsgVote option */ option?: (cosmos.gov.v1beta1.VoteOption|null); } /** Represents a MsgVote. */ class MsgVote implements IMsgVote { /** * Constructs a new MsgVote. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1beta1.IMsgVote); /** MsgVote proposal_id. */ public proposal_id: Long; /** MsgVote voter. */ public voter: string; /** MsgVote option. */ public option: cosmos.gov.v1beta1.VoteOption; /** * Encodes the specified MsgVote message. Does not implicitly {@link cosmos.gov.v1beta1.MsgVote.verify|verify} messages. * @param message MsgVote message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1beta1.IMsgVote, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgVote message, length delimited. Does not implicitly {@link cosmos.gov.v1beta1.MsgVote.verify|verify} messages. * @param message MsgVote message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1beta1.IMsgVote, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgVote message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgVote * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1beta1.MsgVote; /** * Decodes a MsgVote message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgVote * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1beta1.MsgVote; /** * Verifies a MsgVote message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgVote message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgVote */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1beta1.MsgVote; /** * Creates a plain object from a MsgVote message. Also converts values to other types if specified. * @param message MsgVote * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1beta1.MsgVote, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgVote to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgVoteResponse. */ interface IMsgVoteResponse { } /** Represents a MsgVoteResponse. */ class MsgVoteResponse implements IMsgVoteResponse { /** * Constructs a new MsgVoteResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1beta1.IMsgVoteResponse); /** * Encodes the specified MsgVoteResponse message. Does not implicitly {@link cosmos.gov.v1beta1.MsgVoteResponse.verify|verify} messages. * @param message MsgVoteResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1beta1.IMsgVoteResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgVoteResponse message, length delimited. Does not implicitly {@link cosmos.gov.v1beta1.MsgVoteResponse.verify|verify} messages. * @param message MsgVoteResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1beta1.IMsgVoteResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgVoteResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgVoteResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1beta1.MsgVoteResponse; /** * Decodes a MsgVoteResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgVoteResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1beta1.MsgVoteResponse; /** * Verifies a MsgVoteResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgVoteResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgVoteResponse */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1beta1.MsgVoteResponse; /** * Creates a plain object from a MsgVoteResponse message. Also converts values to other types if specified. * @param message MsgVoteResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1beta1.MsgVoteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgVoteResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgVoteWeighted. */ interface IMsgVoteWeighted { /** MsgVoteWeighted proposal_id */ proposal_id?: (Long|null); /** MsgVoteWeighted voter */ voter?: (string|null); /** MsgVoteWeighted options */ options?: (cosmos.gov.v1beta1.IWeightedVoteOption[]|null); } /** Represents a MsgVoteWeighted. */ class MsgVoteWeighted implements IMsgVoteWeighted { /** * Constructs a new MsgVoteWeighted. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1beta1.IMsgVoteWeighted); /** MsgVoteWeighted proposal_id. */ public proposal_id: Long; /** MsgVoteWeighted voter. */ public voter: string; /** MsgVoteWeighted options. */ public options: cosmos.gov.v1beta1.IWeightedVoteOption[]; /** * Encodes the specified MsgVoteWeighted message. Does not implicitly {@link cosmos.gov.v1beta1.MsgVoteWeighted.verify|verify} messages. * @param message MsgVoteWeighted message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1beta1.IMsgVoteWeighted, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgVoteWeighted message, length delimited. Does not implicitly {@link cosmos.gov.v1beta1.MsgVoteWeighted.verify|verify} messages. * @param message MsgVoteWeighted message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1beta1.IMsgVoteWeighted, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgVoteWeighted message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgVoteWeighted * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1beta1.MsgVoteWeighted; /** * Decodes a MsgVoteWeighted message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgVoteWeighted * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1beta1.MsgVoteWeighted; /** * Verifies a MsgVoteWeighted message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgVoteWeighted message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgVoteWeighted */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1beta1.MsgVoteWeighted; /** * Creates a plain object from a MsgVoteWeighted message. Also converts values to other types if specified. * @param message MsgVoteWeighted * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1beta1.MsgVoteWeighted, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgVoteWeighted to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgVoteWeightedResponse. */ interface IMsgVoteWeightedResponse { } /** Represents a MsgVoteWeightedResponse. */ class MsgVoteWeightedResponse implements IMsgVoteWeightedResponse { /** * Constructs a new MsgVoteWeightedResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1beta1.IMsgVoteWeightedResponse); /** * Encodes the specified MsgVoteWeightedResponse message. Does not implicitly {@link cosmos.gov.v1beta1.MsgVoteWeightedResponse.verify|verify} messages. * @param message MsgVoteWeightedResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1beta1.IMsgVoteWeightedResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgVoteWeightedResponse message, length delimited. Does not implicitly {@link cosmos.gov.v1beta1.MsgVoteWeightedResponse.verify|verify} messages. * @param message MsgVoteWeightedResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1beta1.IMsgVoteWeightedResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgVoteWeightedResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgVoteWeightedResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1beta1.MsgVoteWeightedResponse; /** * Decodes a MsgVoteWeightedResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgVoteWeightedResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1beta1.MsgVoteWeightedResponse; /** * Verifies a MsgVoteWeightedResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgVoteWeightedResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgVoteWeightedResponse */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1beta1.MsgVoteWeightedResponse; /** * Creates a plain object from a MsgVoteWeightedResponse message. Also converts values to other types if specified. * @param message MsgVoteWeightedResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1beta1.MsgVoteWeightedResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgVoteWeightedResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgDeposit. */ interface IMsgDeposit { /** MsgDeposit proposal_id */ proposal_id?: (Long|null); /** MsgDeposit depositor */ depositor?: (string|null); /** MsgDeposit amount */ amount?: (cosmos.base.v1beta1.ICoin[]|null); } /** Represents a MsgDeposit. */ class MsgDeposit implements IMsgDeposit { /** * Constructs a new MsgDeposit. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1beta1.IMsgDeposit); /** MsgDeposit proposal_id. */ public proposal_id: Long; /** MsgDeposit depositor. */ public depositor: string; /** MsgDeposit amount. */ public amount: cosmos.base.v1beta1.ICoin[]; /** * Encodes the specified MsgDeposit message. Does not implicitly {@link cosmos.gov.v1beta1.MsgDeposit.verify|verify} messages. * @param message MsgDeposit message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1beta1.IMsgDeposit, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgDeposit message, length delimited. Does not implicitly {@link cosmos.gov.v1beta1.MsgDeposit.verify|verify} messages. * @param message MsgDeposit message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1beta1.IMsgDeposit, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgDeposit message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgDeposit * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1beta1.MsgDeposit; /** * Decodes a MsgDeposit message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgDeposit * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1beta1.MsgDeposit; /** * Verifies a MsgDeposit message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgDeposit message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgDeposit */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1beta1.MsgDeposit; /** * Creates a plain object from a MsgDeposit message. Also converts values to other types if specified. * @param message MsgDeposit * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1beta1.MsgDeposit, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgDeposit to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgDepositResponse. */ interface IMsgDepositResponse { } /** Represents a MsgDepositResponse. */ class MsgDepositResponse implements IMsgDepositResponse { /** * Constructs a new MsgDepositResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1beta1.IMsgDepositResponse); /** * Encodes the specified MsgDepositResponse message. Does not implicitly {@link cosmos.gov.v1beta1.MsgDepositResponse.verify|verify} messages. * @param message MsgDepositResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1beta1.IMsgDepositResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgDepositResponse message, length delimited. Does not implicitly {@link cosmos.gov.v1beta1.MsgDepositResponse.verify|verify} messages. * @param message MsgDepositResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1beta1.IMsgDepositResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgDepositResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgDepositResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1beta1.MsgDepositResponse; /** * Decodes a MsgDepositResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgDepositResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1beta1.MsgDepositResponse; /** * Verifies a MsgDepositResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgDepositResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgDepositResponse */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1beta1.MsgDepositResponse; /** * Creates a plain object from a MsgDepositResponse message. Also converts values to other types if specified. * @param message MsgDepositResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1beta1.MsgDepositResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgDepositResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GenesisState. */ interface IGenesisState { /** GenesisState starting_proposal_id */ starting_proposal_id?: (Long|null); /** GenesisState deposits */ deposits?: (cosmos.gov.v1beta1.IDeposit[]|null); /** GenesisState votes */ votes?: (cosmos.gov.v1beta1.IVote[]|null); /** GenesisState proposals */ proposals?: (cosmos.gov.v1beta1.IProposal[]|null); /** GenesisState deposit_params */ deposit_params?: (cosmos.gov.v1beta1.IDepositParams|null); /** GenesisState voting_params */ voting_params?: (cosmos.gov.v1beta1.IVotingParams|null); /** GenesisState tally_params */ tally_params?: (cosmos.gov.v1beta1.ITallyParams|null); } /** Represents a GenesisState. */ class GenesisState implements IGenesisState { /** * Constructs a new GenesisState. * @param [properties] Properties to set */ constructor(properties?: cosmos.gov.v1beta1.IGenesisState); /** GenesisState starting_proposal_id. */ public starting_proposal_id: Long; /** GenesisState deposits. */ public deposits: cosmos.gov.v1beta1.IDeposit[]; /** GenesisState votes. */ public votes: cosmos.gov.v1beta1.IVote[]; /** GenesisState proposals. */ public proposals: cosmos.gov.v1beta1.IProposal[]; /** GenesisState deposit_params. */ public deposit_params?: (cosmos.gov.v1beta1.IDepositParams|null); /** GenesisState voting_params. */ public voting_params?: (cosmos.gov.v1beta1.IVotingParams|null); /** GenesisState tally_params. */ public tally_params?: (cosmos.gov.v1beta1.ITallyParams|null); /** * Encodes the specified GenesisState message. Does not implicitly {@link cosmos.gov.v1beta1.GenesisState.verify|verify} messages. * @param message GenesisState message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.gov.v1beta1.IGenesisState, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GenesisState message, length delimited. Does not implicitly {@link cosmos.gov.v1beta1.GenesisState.verify|verify} messages. * @param message GenesisState message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.gov.v1beta1.IGenesisState, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GenesisState message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GenesisState * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.gov.v1beta1.GenesisState; /** * Decodes a GenesisState message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GenesisState * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.gov.v1beta1.GenesisState; /** * Verifies a GenesisState message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GenesisState message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GenesisState */ public static fromObject(object: { [k: string]: any }): cosmos.gov.v1beta1.GenesisState; /** * Creates a plain object from a GenesisState message. Also converts values to other types if specified. * @param message GenesisState * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.gov.v1beta1.GenesisState, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GenesisState to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace group. */ namespace group { /** Namespace module. */ namespace module { /** Namespace v1. */ namespace v1 { /** Properties of a Module. */ interface IModule { /** Module max_execution_period */ max_execution_period?: (google.protobuf.IDuration|null); /** Module max_metadata_len */ max_metadata_len?: (Long|null); } /** Represents a Module. */ class Module implements IModule { /** * Constructs a new Module. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.module.v1.IModule); /** Module max_execution_period. */ public max_execution_period?: (google.protobuf.IDuration|null); /** Module max_metadata_len. */ public max_metadata_len: Long; /** * Encodes the specified Module message. Does not implicitly {@link cosmos.group.module.v1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.module.v1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Module message, length delimited. Does not implicitly {@link cosmos.group.module.v1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.module.v1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Module message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.module.v1.Module; /** * Decodes a Module message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.module.v1.Module; /** * Verifies a Module message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Module message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Module */ public static fromObject(object: { [k: string]: any }): cosmos.group.module.v1.Module; /** * Creates a plain object from a Module message. Also converts values to other types if specified. * @param message Module * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.module.v1.Module, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Module to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace v1. */ namespace v1 { /** Represents a Query */ class Query extends $protobuf.rpc.Service { /** * Constructs a new Query service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls GroupInfo. * @param request QueryGroupInfoRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryGroupInfoResponse */ public groupInfo(request: cosmos.group.v1.IQueryGroupInfoRequest, callback: cosmos.group.v1.Query.GroupInfoCallback): void; /** * Calls GroupInfo. * @param request QueryGroupInfoRequest message or plain object * @returns Promise */ public groupInfo(request: cosmos.group.v1.IQueryGroupInfoRequest): Promise; /** * Calls GroupPolicyInfo. * @param request QueryGroupPolicyInfoRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryGroupPolicyInfoResponse */ public groupPolicyInfo(request: cosmos.group.v1.IQueryGroupPolicyInfoRequest, callback: cosmos.group.v1.Query.GroupPolicyInfoCallback): void; /** * Calls GroupPolicyInfo. * @param request QueryGroupPolicyInfoRequest message or plain object * @returns Promise */ public groupPolicyInfo(request: cosmos.group.v1.IQueryGroupPolicyInfoRequest): Promise; /** * Calls GroupMembers. * @param request QueryGroupMembersRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryGroupMembersResponse */ public groupMembers(request: cosmos.group.v1.IQueryGroupMembersRequest, callback: cosmos.group.v1.Query.GroupMembersCallback): void; /** * Calls GroupMembers. * @param request QueryGroupMembersRequest message or plain object * @returns Promise */ public groupMembers(request: cosmos.group.v1.IQueryGroupMembersRequest): Promise; /** * Calls GroupsByAdmin. * @param request QueryGroupsByAdminRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryGroupsByAdminResponse */ public groupsByAdmin(request: cosmos.group.v1.IQueryGroupsByAdminRequest, callback: cosmos.group.v1.Query.GroupsByAdminCallback): void; /** * Calls GroupsByAdmin. * @param request QueryGroupsByAdminRequest message or plain object * @returns Promise */ public groupsByAdmin(request: cosmos.group.v1.IQueryGroupsByAdminRequest): Promise; /** * Calls GroupPoliciesByGroup. * @param request QueryGroupPoliciesByGroupRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryGroupPoliciesByGroupResponse */ public groupPoliciesByGroup(request: cosmos.group.v1.IQueryGroupPoliciesByGroupRequest, callback: cosmos.group.v1.Query.GroupPoliciesByGroupCallback): void; /** * Calls GroupPoliciesByGroup. * @param request QueryGroupPoliciesByGroupRequest message or plain object * @returns Promise */ public groupPoliciesByGroup(request: cosmos.group.v1.IQueryGroupPoliciesByGroupRequest): Promise; /** * Calls GroupPoliciesByAdmin. * @param request QueryGroupPoliciesByAdminRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryGroupPoliciesByAdminResponse */ public groupPoliciesByAdmin(request: cosmos.group.v1.IQueryGroupPoliciesByAdminRequest, callback: cosmos.group.v1.Query.GroupPoliciesByAdminCallback): void; /** * Calls GroupPoliciesByAdmin. * @param request QueryGroupPoliciesByAdminRequest message or plain object * @returns Promise */ public groupPoliciesByAdmin(request: cosmos.group.v1.IQueryGroupPoliciesByAdminRequest): Promise; /** * Calls Proposal. * @param request QueryProposalRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryProposalResponse */ public proposal(request: cosmos.group.v1.IQueryProposalRequest, callback: cosmos.group.v1.Query.ProposalCallback): void; /** * Calls Proposal. * @param request QueryProposalRequest message or plain object * @returns Promise */ public proposal(request: cosmos.group.v1.IQueryProposalRequest): Promise; /** * Calls ProposalsByGroupPolicy. * @param request QueryProposalsByGroupPolicyRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryProposalsByGroupPolicyResponse */ public proposalsByGroupPolicy(request: cosmos.group.v1.IQueryProposalsByGroupPolicyRequest, callback: cosmos.group.v1.Query.ProposalsByGroupPolicyCallback): void; /** * Calls ProposalsByGroupPolicy. * @param request QueryProposalsByGroupPolicyRequest message or plain object * @returns Promise */ public proposalsByGroupPolicy(request: cosmos.group.v1.IQueryProposalsByGroupPolicyRequest): Promise; /** * Calls VoteByProposalVoter. * @param request QueryVoteByProposalVoterRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryVoteByProposalVoterResponse */ public voteByProposalVoter(request: cosmos.group.v1.IQueryVoteByProposalVoterRequest, callback: cosmos.group.v1.Query.VoteByProposalVoterCallback): void; /** * Calls VoteByProposalVoter. * @param request QueryVoteByProposalVoterRequest message or plain object * @returns Promise */ public voteByProposalVoter(request: cosmos.group.v1.IQueryVoteByProposalVoterRequest): Promise; /** * Calls VotesByProposal. * @param request QueryVotesByProposalRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryVotesByProposalResponse */ public votesByProposal(request: cosmos.group.v1.IQueryVotesByProposalRequest, callback: cosmos.group.v1.Query.VotesByProposalCallback): void; /** * Calls VotesByProposal. * @param request QueryVotesByProposalRequest message or plain object * @returns Promise */ public votesByProposal(request: cosmos.group.v1.IQueryVotesByProposalRequest): Promise; /** * Calls VotesByVoter. * @param request QueryVotesByVoterRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryVotesByVoterResponse */ public votesByVoter(request: cosmos.group.v1.IQueryVotesByVoterRequest, callback: cosmos.group.v1.Query.VotesByVoterCallback): void; /** * Calls VotesByVoter. * @param request QueryVotesByVoterRequest message or plain object * @returns Promise */ public votesByVoter(request: cosmos.group.v1.IQueryVotesByVoterRequest): Promise; /** * Calls GroupsByMember. * @param request QueryGroupsByMemberRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryGroupsByMemberResponse */ public groupsByMember(request: cosmos.group.v1.IQueryGroupsByMemberRequest, callback: cosmos.group.v1.Query.GroupsByMemberCallback): void; /** * Calls GroupsByMember. * @param request QueryGroupsByMemberRequest message or plain object * @returns Promise */ public groupsByMember(request: cosmos.group.v1.IQueryGroupsByMemberRequest): Promise; /** * Calls TallyResult. * @param request QueryTallyResultRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryTallyResultResponse */ public tallyResult(request: cosmos.group.v1.IQueryTallyResultRequest, callback: cosmos.group.v1.Query.TallyResultCallback): void; /** * Calls TallyResult. * @param request QueryTallyResultRequest message or plain object * @returns Promise */ public tallyResult(request: cosmos.group.v1.IQueryTallyResultRequest): Promise; } namespace Query { /** * Callback as used by {@link cosmos.group.v1.Query#groupInfo}. * @param error Error, if any * @param [response] QueryGroupInfoResponse */ type GroupInfoCallback = (error: (Error|null), response?: cosmos.group.v1.QueryGroupInfoResponse) => void; /** * Callback as used by {@link cosmos.group.v1.Query#groupPolicyInfo}. * @param error Error, if any * @param [response] QueryGroupPolicyInfoResponse */ type GroupPolicyInfoCallback = (error: (Error|null), response?: cosmos.group.v1.QueryGroupPolicyInfoResponse) => void; /** * Callback as used by {@link cosmos.group.v1.Query#groupMembers}. * @param error Error, if any * @param [response] QueryGroupMembersResponse */ type GroupMembersCallback = (error: (Error|null), response?: cosmos.group.v1.QueryGroupMembersResponse) => void; /** * Callback as used by {@link cosmos.group.v1.Query#groupsByAdmin}. * @param error Error, if any * @param [response] QueryGroupsByAdminResponse */ type GroupsByAdminCallback = (error: (Error|null), response?: cosmos.group.v1.QueryGroupsByAdminResponse) => void; /** * Callback as used by {@link cosmos.group.v1.Query#groupPoliciesByGroup}. * @param error Error, if any * @param [response] QueryGroupPoliciesByGroupResponse */ type GroupPoliciesByGroupCallback = (error: (Error|null), response?: cosmos.group.v1.QueryGroupPoliciesByGroupResponse) => void; /** * Callback as used by {@link cosmos.group.v1.Query#groupPoliciesByAdmin}. * @param error Error, if any * @param [response] QueryGroupPoliciesByAdminResponse */ type GroupPoliciesByAdminCallback = (error: (Error|null), response?: cosmos.group.v1.QueryGroupPoliciesByAdminResponse) => void; /** * Callback as used by {@link cosmos.group.v1.Query#proposal}. * @param error Error, if any * @param [response] QueryProposalResponse */ type ProposalCallback = (error: (Error|null), response?: cosmos.group.v1.QueryProposalResponse) => void; /** * Callback as used by {@link cosmos.group.v1.Query#proposalsByGroupPolicy}. * @param error Error, if any * @param [response] QueryProposalsByGroupPolicyResponse */ type ProposalsByGroupPolicyCallback = (error: (Error|null), response?: cosmos.group.v1.QueryProposalsByGroupPolicyResponse) => void; /** * Callback as used by {@link cosmos.group.v1.Query#voteByProposalVoter}. * @param error Error, if any * @param [response] QueryVoteByProposalVoterResponse */ type VoteByProposalVoterCallback = (error: (Error|null), response?: cosmos.group.v1.QueryVoteByProposalVoterResponse) => void; /** * Callback as used by {@link cosmos.group.v1.Query#votesByProposal}. * @param error Error, if any * @param [response] QueryVotesByProposalResponse */ type VotesByProposalCallback = (error: (Error|null), response?: cosmos.group.v1.QueryVotesByProposalResponse) => void; /** * Callback as used by {@link cosmos.group.v1.Query#votesByVoter}. * @param error Error, if any * @param [response] QueryVotesByVoterResponse */ type VotesByVoterCallback = (error: (Error|null), response?: cosmos.group.v1.QueryVotesByVoterResponse) => void; /** * Callback as used by {@link cosmos.group.v1.Query#groupsByMember}. * @param error Error, if any * @param [response] QueryGroupsByMemberResponse */ type GroupsByMemberCallback = (error: (Error|null), response?: cosmos.group.v1.QueryGroupsByMemberResponse) => void; /** * Callback as used by {@link cosmos.group.v1.Query#tallyResult}. * @param error Error, if any * @param [response] QueryTallyResultResponse */ type TallyResultCallback = (error: (Error|null), response?: cosmos.group.v1.QueryTallyResultResponse) => void; } /** Properties of a QueryGroupInfoRequest. */ interface IQueryGroupInfoRequest { /** QueryGroupInfoRequest group_id */ group_id?: (Long|null); } /** Represents a QueryGroupInfoRequest. */ class QueryGroupInfoRequest implements IQueryGroupInfoRequest { /** * Constructs a new QueryGroupInfoRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IQueryGroupInfoRequest); /** QueryGroupInfoRequest group_id. */ public group_id: Long; /** * Encodes the specified QueryGroupInfoRequest message. Does not implicitly {@link cosmos.group.v1.QueryGroupInfoRequest.verify|verify} messages. * @param message QueryGroupInfoRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IQueryGroupInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryGroupInfoRequest message, length delimited. Does not implicitly {@link cosmos.group.v1.QueryGroupInfoRequest.verify|verify} messages. * @param message QueryGroupInfoRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IQueryGroupInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryGroupInfoRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryGroupInfoRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.QueryGroupInfoRequest; /** * Decodes a QueryGroupInfoRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryGroupInfoRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.QueryGroupInfoRequest; /** * Verifies a QueryGroupInfoRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryGroupInfoRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryGroupInfoRequest */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.QueryGroupInfoRequest; /** * Creates a plain object from a QueryGroupInfoRequest message. Also converts values to other types if specified. * @param message QueryGroupInfoRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.QueryGroupInfoRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryGroupInfoRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryGroupInfoResponse. */ interface IQueryGroupInfoResponse { /** QueryGroupInfoResponse info */ info?: (cosmos.group.v1.IGroupInfo|null); } /** Represents a QueryGroupInfoResponse. */ class QueryGroupInfoResponse implements IQueryGroupInfoResponse { /** * Constructs a new QueryGroupInfoResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IQueryGroupInfoResponse); /** QueryGroupInfoResponse info. */ public info?: (cosmos.group.v1.IGroupInfo|null); /** * Encodes the specified QueryGroupInfoResponse message. Does not implicitly {@link cosmos.group.v1.QueryGroupInfoResponse.verify|verify} messages. * @param message QueryGroupInfoResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IQueryGroupInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryGroupInfoResponse message, length delimited. Does not implicitly {@link cosmos.group.v1.QueryGroupInfoResponse.verify|verify} messages. * @param message QueryGroupInfoResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IQueryGroupInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryGroupInfoResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryGroupInfoResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.QueryGroupInfoResponse; /** * Decodes a QueryGroupInfoResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryGroupInfoResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.QueryGroupInfoResponse; /** * Verifies a QueryGroupInfoResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryGroupInfoResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryGroupInfoResponse */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.QueryGroupInfoResponse; /** * Creates a plain object from a QueryGroupInfoResponse message. Also converts values to other types if specified. * @param message QueryGroupInfoResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.QueryGroupInfoResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryGroupInfoResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryGroupPolicyInfoRequest. */ interface IQueryGroupPolicyInfoRequest { /** QueryGroupPolicyInfoRequest address */ address?: (string|null); } /** Represents a QueryGroupPolicyInfoRequest. */ class QueryGroupPolicyInfoRequest implements IQueryGroupPolicyInfoRequest { /** * Constructs a new QueryGroupPolicyInfoRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IQueryGroupPolicyInfoRequest); /** QueryGroupPolicyInfoRequest address. */ public address: string; /** * Encodes the specified QueryGroupPolicyInfoRequest message. Does not implicitly {@link cosmos.group.v1.QueryGroupPolicyInfoRequest.verify|verify} messages. * @param message QueryGroupPolicyInfoRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IQueryGroupPolicyInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryGroupPolicyInfoRequest message, length delimited. Does not implicitly {@link cosmos.group.v1.QueryGroupPolicyInfoRequest.verify|verify} messages. * @param message QueryGroupPolicyInfoRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IQueryGroupPolicyInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryGroupPolicyInfoRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryGroupPolicyInfoRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.QueryGroupPolicyInfoRequest; /** * Decodes a QueryGroupPolicyInfoRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryGroupPolicyInfoRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.QueryGroupPolicyInfoRequest; /** * Verifies a QueryGroupPolicyInfoRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryGroupPolicyInfoRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryGroupPolicyInfoRequest */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.QueryGroupPolicyInfoRequest; /** * Creates a plain object from a QueryGroupPolicyInfoRequest message. Also converts values to other types if specified. * @param message QueryGroupPolicyInfoRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.QueryGroupPolicyInfoRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryGroupPolicyInfoRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryGroupPolicyInfoResponse. */ interface IQueryGroupPolicyInfoResponse { /** QueryGroupPolicyInfoResponse info */ info?: (cosmos.group.v1.IGroupPolicyInfo|null); } /** Represents a QueryGroupPolicyInfoResponse. */ class QueryGroupPolicyInfoResponse implements IQueryGroupPolicyInfoResponse { /** * Constructs a new QueryGroupPolicyInfoResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IQueryGroupPolicyInfoResponse); /** QueryGroupPolicyInfoResponse info. */ public info?: (cosmos.group.v1.IGroupPolicyInfo|null); /** * Encodes the specified QueryGroupPolicyInfoResponse message. Does not implicitly {@link cosmos.group.v1.QueryGroupPolicyInfoResponse.verify|verify} messages. * @param message QueryGroupPolicyInfoResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IQueryGroupPolicyInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryGroupPolicyInfoResponse message, length delimited. Does not implicitly {@link cosmos.group.v1.QueryGroupPolicyInfoResponse.verify|verify} messages. * @param message QueryGroupPolicyInfoResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IQueryGroupPolicyInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryGroupPolicyInfoResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryGroupPolicyInfoResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.QueryGroupPolicyInfoResponse; /** * Decodes a QueryGroupPolicyInfoResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryGroupPolicyInfoResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.QueryGroupPolicyInfoResponse; /** * Verifies a QueryGroupPolicyInfoResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryGroupPolicyInfoResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryGroupPolicyInfoResponse */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.QueryGroupPolicyInfoResponse; /** * Creates a plain object from a QueryGroupPolicyInfoResponse message. Also converts values to other types if specified. * @param message QueryGroupPolicyInfoResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.QueryGroupPolicyInfoResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryGroupPolicyInfoResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryGroupMembersRequest. */ interface IQueryGroupMembersRequest { /** QueryGroupMembersRequest group_id */ group_id?: (Long|null); /** QueryGroupMembersRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a QueryGroupMembersRequest. */ class QueryGroupMembersRequest implements IQueryGroupMembersRequest { /** * Constructs a new QueryGroupMembersRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IQueryGroupMembersRequest); /** QueryGroupMembersRequest group_id. */ public group_id: Long; /** QueryGroupMembersRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** * Encodes the specified QueryGroupMembersRequest message. Does not implicitly {@link cosmos.group.v1.QueryGroupMembersRequest.verify|verify} messages. * @param message QueryGroupMembersRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IQueryGroupMembersRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryGroupMembersRequest message, length delimited. Does not implicitly {@link cosmos.group.v1.QueryGroupMembersRequest.verify|verify} messages. * @param message QueryGroupMembersRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IQueryGroupMembersRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryGroupMembersRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryGroupMembersRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.QueryGroupMembersRequest; /** * Decodes a QueryGroupMembersRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryGroupMembersRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.QueryGroupMembersRequest; /** * Verifies a QueryGroupMembersRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryGroupMembersRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryGroupMembersRequest */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.QueryGroupMembersRequest; /** * Creates a plain object from a QueryGroupMembersRequest message. Also converts values to other types if specified. * @param message QueryGroupMembersRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.QueryGroupMembersRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryGroupMembersRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryGroupMembersResponse. */ interface IQueryGroupMembersResponse { /** QueryGroupMembersResponse members */ members?: (cosmos.group.v1.IGroupMember[]|null); /** QueryGroupMembersResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a QueryGroupMembersResponse. */ class QueryGroupMembersResponse implements IQueryGroupMembersResponse { /** * Constructs a new QueryGroupMembersResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IQueryGroupMembersResponse); /** QueryGroupMembersResponse members. */ public members: cosmos.group.v1.IGroupMember[]; /** QueryGroupMembersResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified QueryGroupMembersResponse message. Does not implicitly {@link cosmos.group.v1.QueryGroupMembersResponse.verify|verify} messages. * @param message QueryGroupMembersResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IQueryGroupMembersResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryGroupMembersResponse message, length delimited. Does not implicitly {@link cosmos.group.v1.QueryGroupMembersResponse.verify|verify} messages. * @param message QueryGroupMembersResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IQueryGroupMembersResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryGroupMembersResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryGroupMembersResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.QueryGroupMembersResponse; /** * Decodes a QueryGroupMembersResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryGroupMembersResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.QueryGroupMembersResponse; /** * Verifies a QueryGroupMembersResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryGroupMembersResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryGroupMembersResponse */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.QueryGroupMembersResponse; /** * Creates a plain object from a QueryGroupMembersResponse message. Also converts values to other types if specified. * @param message QueryGroupMembersResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.QueryGroupMembersResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryGroupMembersResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryGroupsByAdminRequest. */ interface IQueryGroupsByAdminRequest { /** QueryGroupsByAdminRequest admin */ admin?: (string|null); /** QueryGroupsByAdminRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a QueryGroupsByAdminRequest. */ class QueryGroupsByAdminRequest implements IQueryGroupsByAdminRequest { /** * Constructs a new QueryGroupsByAdminRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IQueryGroupsByAdminRequest); /** QueryGroupsByAdminRequest admin. */ public admin: string; /** QueryGroupsByAdminRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** * Encodes the specified QueryGroupsByAdminRequest message. Does not implicitly {@link cosmos.group.v1.QueryGroupsByAdminRequest.verify|verify} messages. * @param message QueryGroupsByAdminRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IQueryGroupsByAdminRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryGroupsByAdminRequest message, length delimited. Does not implicitly {@link cosmos.group.v1.QueryGroupsByAdminRequest.verify|verify} messages. * @param message QueryGroupsByAdminRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IQueryGroupsByAdminRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryGroupsByAdminRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryGroupsByAdminRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.QueryGroupsByAdminRequest; /** * Decodes a QueryGroupsByAdminRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryGroupsByAdminRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.QueryGroupsByAdminRequest; /** * Verifies a QueryGroupsByAdminRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryGroupsByAdminRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryGroupsByAdminRequest */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.QueryGroupsByAdminRequest; /** * Creates a plain object from a QueryGroupsByAdminRequest message. Also converts values to other types if specified. * @param message QueryGroupsByAdminRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.QueryGroupsByAdminRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryGroupsByAdminRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryGroupsByAdminResponse. */ interface IQueryGroupsByAdminResponse { /** QueryGroupsByAdminResponse groups */ groups?: (cosmos.group.v1.IGroupInfo[]|null); /** QueryGroupsByAdminResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a QueryGroupsByAdminResponse. */ class QueryGroupsByAdminResponse implements IQueryGroupsByAdminResponse { /** * Constructs a new QueryGroupsByAdminResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IQueryGroupsByAdminResponse); /** QueryGroupsByAdminResponse groups. */ public groups: cosmos.group.v1.IGroupInfo[]; /** QueryGroupsByAdminResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified QueryGroupsByAdminResponse message. Does not implicitly {@link cosmos.group.v1.QueryGroupsByAdminResponse.verify|verify} messages. * @param message QueryGroupsByAdminResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IQueryGroupsByAdminResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryGroupsByAdminResponse message, length delimited. Does not implicitly {@link cosmos.group.v1.QueryGroupsByAdminResponse.verify|verify} messages. * @param message QueryGroupsByAdminResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IQueryGroupsByAdminResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryGroupsByAdminResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryGroupsByAdminResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.QueryGroupsByAdminResponse; /** * Decodes a QueryGroupsByAdminResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryGroupsByAdminResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.QueryGroupsByAdminResponse; /** * Verifies a QueryGroupsByAdminResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryGroupsByAdminResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryGroupsByAdminResponse */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.QueryGroupsByAdminResponse; /** * Creates a plain object from a QueryGroupsByAdminResponse message. Also converts values to other types if specified. * @param message QueryGroupsByAdminResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.QueryGroupsByAdminResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryGroupsByAdminResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryGroupPoliciesByGroupRequest. */ interface IQueryGroupPoliciesByGroupRequest { /** QueryGroupPoliciesByGroupRequest group_id */ group_id?: (Long|null); /** QueryGroupPoliciesByGroupRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a QueryGroupPoliciesByGroupRequest. */ class QueryGroupPoliciesByGroupRequest implements IQueryGroupPoliciesByGroupRequest { /** * Constructs a new QueryGroupPoliciesByGroupRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IQueryGroupPoliciesByGroupRequest); /** QueryGroupPoliciesByGroupRequest group_id. */ public group_id: Long; /** QueryGroupPoliciesByGroupRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** * Encodes the specified QueryGroupPoliciesByGroupRequest message. Does not implicitly {@link cosmos.group.v1.QueryGroupPoliciesByGroupRequest.verify|verify} messages. * @param message QueryGroupPoliciesByGroupRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IQueryGroupPoliciesByGroupRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryGroupPoliciesByGroupRequest message, length delimited. Does not implicitly {@link cosmos.group.v1.QueryGroupPoliciesByGroupRequest.verify|verify} messages. * @param message QueryGroupPoliciesByGroupRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IQueryGroupPoliciesByGroupRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryGroupPoliciesByGroupRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryGroupPoliciesByGroupRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.QueryGroupPoliciesByGroupRequest; /** * Decodes a QueryGroupPoliciesByGroupRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryGroupPoliciesByGroupRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.QueryGroupPoliciesByGroupRequest; /** * Verifies a QueryGroupPoliciesByGroupRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryGroupPoliciesByGroupRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryGroupPoliciesByGroupRequest */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.QueryGroupPoliciesByGroupRequest; /** * Creates a plain object from a QueryGroupPoliciesByGroupRequest message. Also converts values to other types if specified. * @param message QueryGroupPoliciesByGroupRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.QueryGroupPoliciesByGroupRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryGroupPoliciesByGroupRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryGroupPoliciesByGroupResponse. */ interface IQueryGroupPoliciesByGroupResponse { /** QueryGroupPoliciesByGroupResponse group_policies */ group_policies?: (cosmos.group.v1.IGroupPolicyInfo[]|null); /** QueryGroupPoliciesByGroupResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a QueryGroupPoliciesByGroupResponse. */ class QueryGroupPoliciesByGroupResponse implements IQueryGroupPoliciesByGroupResponse { /** * Constructs a new QueryGroupPoliciesByGroupResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IQueryGroupPoliciesByGroupResponse); /** QueryGroupPoliciesByGroupResponse group_policies. */ public group_policies: cosmos.group.v1.IGroupPolicyInfo[]; /** QueryGroupPoliciesByGroupResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified QueryGroupPoliciesByGroupResponse message. Does not implicitly {@link cosmos.group.v1.QueryGroupPoliciesByGroupResponse.verify|verify} messages. * @param message QueryGroupPoliciesByGroupResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IQueryGroupPoliciesByGroupResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryGroupPoliciesByGroupResponse message, length delimited. Does not implicitly {@link cosmos.group.v1.QueryGroupPoliciesByGroupResponse.verify|verify} messages. * @param message QueryGroupPoliciesByGroupResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IQueryGroupPoliciesByGroupResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryGroupPoliciesByGroupResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryGroupPoliciesByGroupResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.QueryGroupPoliciesByGroupResponse; /** * Decodes a QueryGroupPoliciesByGroupResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryGroupPoliciesByGroupResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.QueryGroupPoliciesByGroupResponse; /** * Verifies a QueryGroupPoliciesByGroupResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryGroupPoliciesByGroupResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryGroupPoliciesByGroupResponse */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.QueryGroupPoliciesByGroupResponse; /** * Creates a plain object from a QueryGroupPoliciesByGroupResponse message. Also converts values to other types if specified. * @param message QueryGroupPoliciesByGroupResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.QueryGroupPoliciesByGroupResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryGroupPoliciesByGroupResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryGroupPoliciesByAdminRequest. */ interface IQueryGroupPoliciesByAdminRequest { /** QueryGroupPoliciesByAdminRequest admin */ admin?: (string|null); /** QueryGroupPoliciesByAdminRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a QueryGroupPoliciesByAdminRequest. */ class QueryGroupPoliciesByAdminRequest implements IQueryGroupPoliciesByAdminRequest { /** * Constructs a new QueryGroupPoliciesByAdminRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IQueryGroupPoliciesByAdminRequest); /** QueryGroupPoliciesByAdminRequest admin. */ public admin: string; /** QueryGroupPoliciesByAdminRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** * Encodes the specified QueryGroupPoliciesByAdminRequest message. Does not implicitly {@link cosmos.group.v1.QueryGroupPoliciesByAdminRequest.verify|verify} messages. * @param message QueryGroupPoliciesByAdminRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IQueryGroupPoliciesByAdminRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryGroupPoliciesByAdminRequest message, length delimited. Does not implicitly {@link cosmos.group.v1.QueryGroupPoliciesByAdminRequest.verify|verify} messages. * @param message QueryGroupPoliciesByAdminRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IQueryGroupPoliciesByAdminRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryGroupPoliciesByAdminRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryGroupPoliciesByAdminRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.QueryGroupPoliciesByAdminRequest; /** * Decodes a QueryGroupPoliciesByAdminRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryGroupPoliciesByAdminRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.QueryGroupPoliciesByAdminRequest; /** * Verifies a QueryGroupPoliciesByAdminRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryGroupPoliciesByAdminRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryGroupPoliciesByAdminRequest */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.QueryGroupPoliciesByAdminRequest; /** * Creates a plain object from a QueryGroupPoliciesByAdminRequest message. Also converts values to other types if specified. * @param message QueryGroupPoliciesByAdminRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.QueryGroupPoliciesByAdminRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryGroupPoliciesByAdminRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryGroupPoliciesByAdminResponse. */ interface IQueryGroupPoliciesByAdminResponse { /** QueryGroupPoliciesByAdminResponse group_policies */ group_policies?: (cosmos.group.v1.IGroupPolicyInfo[]|null); /** QueryGroupPoliciesByAdminResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a QueryGroupPoliciesByAdminResponse. */ class QueryGroupPoliciesByAdminResponse implements IQueryGroupPoliciesByAdminResponse { /** * Constructs a new QueryGroupPoliciesByAdminResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IQueryGroupPoliciesByAdminResponse); /** QueryGroupPoliciesByAdminResponse group_policies. */ public group_policies: cosmos.group.v1.IGroupPolicyInfo[]; /** QueryGroupPoliciesByAdminResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified QueryGroupPoliciesByAdminResponse message. Does not implicitly {@link cosmos.group.v1.QueryGroupPoliciesByAdminResponse.verify|verify} messages. * @param message QueryGroupPoliciesByAdminResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IQueryGroupPoliciesByAdminResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryGroupPoliciesByAdminResponse message, length delimited. Does not implicitly {@link cosmos.group.v1.QueryGroupPoliciesByAdminResponse.verify|verify} messages. * @param message QueryGroupPoliciesByAdminResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IQueryGroupPoliciesByAdminResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryGroupPoliciesByAdminResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryGroupPoliciesByAdminResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.QueryGroupPoliciesByAdminResponse; /** * Decodes a QueryGroupPoliciesByAdminResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryGroupPoliciesByAdminResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.QueryGroupPoliciesByAdminResponse; /** * Verifies a QueryGroupPoliciesByAdminResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryGroupPoliciesByAdminResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryGroupPoliciesByAdminResponse */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.QueryGroupPoliciesByAdminResponse; /** * Creates a plain object from a QueryGroupPoliciesByAdminResponse message. Also converts values to other types if specified. * @param message QueryGroupPoliciesByAdminResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.QueryGroupPoliciesByAdminResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryGroupPoliciesByAdminResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryProposalRequest. */ interface IQueryProposalRequest { /** QueryProposalRequest proposal_id */ proposal_id?: (Long|null); } /** Represents a QueryProposalRequest. */ class QueryProposalRequest implements IQueryProposalRequest { /** * Constructs a new QueryProposalRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IQueryProposalRequest); /** QueryProposalRequest proposal_id. */ public proposal_id: Long; /** * Encodes the specified QueryProposalRequest message. Does not implicitly {@link cosmos.group.v1.QueryProposalRequest.verify|verify} messages. * @param message QueryProposalRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IQueryProposalRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryProposalRequest message, length delimited. Does not implicitly {@link cosmos.group.v1.QueryProposalRequest.verify|verify} messages. * @param message QueryProposalRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IQueryProposalRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryProposalRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryProposalRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.QueryProposalRequest; /** * Decodes a QueryProposalRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryProposalRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.QueryProposalRequest; /** * Verifies a QueryProposalRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryProposalRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryProposalRequest */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.QueryProposalRequest; /** * Creates a plain object from a QueryProposalRequest message. Also converts values to other types if specified. * @param message QueryProposalRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.QueryProposalRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryProposalRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryProposalResponse. */ interface IQueryProposalResponse { /** QueryProposalResponse proposal */ proposal?: (cosmos.group.v1.IProposal|null); } /** Represents a QueryProposalResponse. */ class QueryProposalResponse implements IQueryProposalResponse { /** * Constructs a new QueryProposalResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IQueryProposalResponse); /** QueryProposalResponse proposal. */ public proposal?: (cosmos.group.v1.IProposal|null); /** * Encodes the specified QueryProposalResponse message. Does not implicitly {@link cosmos.group.v1.QueryProposalResponse.verify|verify} messages. * @param message QueryProposalResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IQueryProposalResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryProposalResponse message, length delimited. Does not implicitly {@link cosmos.group.v1.QueryProposalResponse.verify|verify} messages. * @param message QueryProposalResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IQueryProposalResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryProposalResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryProposalResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.QueryProposalResponse; /** * Decodes a QueryProposalResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryProposalResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.QueryProposalResponse; /** * Verifies a QueryProposalResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryProposalResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryProposalResponse */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.QueryProposalResponse; /** * Creates a plain object from a QueryProposalResponse message. Also converts values to other types if specified. * @param message QueryProposalResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.QueryProposalResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryProposalResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryProposalsByGroupPolicyRequest. */ interface IQueryProposalsByGroupPolicyRequest { /** QueryProposalsByGroupPolicyRequest address */ address?: (string|null); /** QueryProposalsByGroupPolicyRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a QueryProposalsByGroupPolicyRequest. */ class QueryProposalsByGroupPolicyRequest implements IQueryProposalsByGroupPolicyRequest { /** * Constructs a new QueryProposalsByGroupPolicyRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IQueryProposalsByGroupPolicyRequest); /** QueryProposalsByGroupPolicyRequest address. */ public address: string; /** QueryProposalsByGroupPolicyRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** * Encodes the specified QueryProposalsByGroupPolicyRequest message. Does not implicitly {@link cosmos.group.v1.QueryProposalsByGroupPolicyRequest.verify|verify} messages. * @param message QueryProposalsByGroupPolicyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IQueryProposalsByGroupPolicyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryProposalsByGroupPolicyRequest message, length delimited. Does not implicitly {@link cosmos.group.v1.QueryProposalsByGroupPolicyRequest.verify|verify} messages. * @param message QueryProposalsByGroupPolicyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IQueryProposalsByGroupPolicyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryProposalsByGroupPolicyRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryProposalsByGroupPolicyRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.QueryProposalsByGroupPolicyRequest; /** * Decodes a QueryProposalsByGroupPolicyRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryProposalsByGroupPolicyRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.QueryProposalsByGroupPolicyRequest; /** * Verifies a QueryProposalsByGroupPolicyRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryProposalsByGroupPolicyRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryProposalsByGroupPolicyRequest */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.QueryProposalsByGroupPolicyRequest; /** * Creates a plain object from a QueryProposalsByGroupPolicyRequest message. Also converts values to other types if specified. * @param message QueryProposalsByGroupPolicyRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.QueryProposalsByGroupPolicyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryProposalsByGroupPolicyRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryProposalsByGroupPolicyResponse. */ interface IQueryProposalsByGroupPolicyResponse { /** QueryProposalsByGroupPolicyResponse proposals */ proposals?: (cosmos.group.v1.IProposal[]|null); /** QueryProposalsByGroupPolicyResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a QueryProposalsByGroupPolicyResponse. */ class QueryProposalsByGroupPolicyResponse implements IQueryProposalsByGroupPolicyResponse { /** * Constructs a new QueryProposalsByGroupPolicyResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IQueryProposalsByGroupPolicyResponse); /** QueryProposalsByGroupPolicyResponse proposals. */ public proposals: cosmos.group.v1.IProposal[]; /** QueryProposalsByGroupPolicyResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified QueryProposalsByGroupPolicyResponse message. Does not implicitly {@link cosmos.group.v1.QueryProposalsByGroupPolicyResponse.verify|verify} messages. * @param message QueryProposalsByGroupPolicyResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IQueryProposalsByGroupPolicyResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryProposalsByGroupPolicyResponse message, length delimited. Does not implicitly {@link cosmos.group.v1.QueryProposalsByGroupPolicyResponse.verify|verify} messages. * @param message QueryProposalsByGroupPolicyResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IQueryProposalsByGroupPolicyResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryProposalsByGroupPolicyResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryProposalsByGroupPolicyResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.QueryProposalsByGroupPolicyResponse; /** * Decodes a QueryProposalsByGroupPolicyResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryProposalsByGroupPolicyResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.QueryProposalsByGroupPolicyResponse; /** * Verifies a QueryProposalsByGroupPolicyResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryProposalsByGroupPolicyResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryProposalsByGroupPolicyResponse */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.QueryProposalsByGroupPolicyResponse; /** * Creates a plain object from a QueryProposalsByGroupPolicyResponse message. Also converts values to other types if specified. * @param message QueryProposalsByGroupPolicyResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.QueryProposalsByGroupPolicyResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryProposalsByGroupPolicyResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryVoteByProposalVoterRequest. */ interface IQueryVoteByProposalVoterRequest { /** QueryVoteByProposalVoterRequest proposal_id */ proposal_id?: (Long|null); /** QueryVoteByProposalVoterRequest voter */ voter?: (string|null); } /** Represents a QueryVoteByProposalVoterRequest. */ class QueryVoteByProposalVoterRequest implements IQueryVoteByProposalVoterRequest { /** * Constructs a new QueryVoteByProposalVoterRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IQueryVoteByProposalVoterRequest); /** QueryVoteByProposalVoterRequest proposal_id. */ public proposal_id: Long; /** QueryVoteByProposalVoterRequest voter. */ public voter: string; /** * Encodes the specified QueryVoteByProposalVoterRequest message. Does not implicitly {@link cosmos.group.v1.QueryVoteByProposalVoterRequest.verify|verify} messages. * @param message QueryVoteByProposalVoterRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IQueryVoteByProposalVoterRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryVoteByProposalVoterRequest message, length delimited. Does not implicitly {@link cosmos.group.v1.QueryVoteByProposalVoterRequest.verify|verify} messages. * @param message QueryVoteByProposalVoterRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IQueryVoteByProposalVoterRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryVoteByProposalVoterRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryVoteByProposalVoterRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.QueryVoteByProposalVoterRequest; /** * Decodes a QueryVoteByProposalVoterRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryVoteByProposalVoterRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.QueryVoteByProposalVoterRequest; /** * Verifies a QueryVoteByProposalVoterRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryVoteByProposalVoterRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryVoteByProposalVoterRequest */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.QueryVoteByProposalVoterRequest; /** * Creates a plain object from a QueryVoteByProposalVoterRequest message. Also converts values to other types if specified. * @param message QueryVoteByProposalVoterRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.QueryVoteByProposalVoterRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryVoteByProposalVoterRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryVoteByProposalVoterResponse. */ interface IQueryVoteByProposalVoterResponse { /** QueryVoteByProposalVoterResponse vote */ vote?: (cosmos.group.v1.IVote|null); } /** Represents a QueryVoteByProposalVoterResponse. */ class QueryVoteByProposalVoterResponse implements IQueryVoteByProposalVoterResponse { /** * Constructs a new QueryVoteByProposalVoterResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IQueryVoteByProposalVoterResponse); /** QueryVoteByProposalVoterResponse vote. */ public vote?: (cosmos.group.v1.IVote|null); /** * Encodes the specified QueryVoteByProposalVoterResponse message. Does not implicitly {@link cosmos.group.v1.QueryVoteByProposalVoterResponse.verify|verify} messages. * @param message QueryVoteByProposalVoterResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IQueryVoteByProposalVoterResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryVoteByProposalVoterResponse message, length delimited. Does not implicitly {@link cosmos.group.v1.QueryVoteByProposalVoterResponse.verify|verify} messages. * @param message QueryVoteByProposalVoterResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IQueryVoteByProposalVoterResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryVoteByProposalVoterResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryVoteByProposalVoterResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.QueryVoteByProposalVoterResponse; /** * Decodes a QueryVoteByProposalVoterResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryVoteByProposalVoterResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.QueryVoteByProposalVoterResponse; /** * Verifies a QueryVoteByProposalVoterResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryVoteByProposalVoterResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryVoteByProposalVoterResponse */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.QueryVoteByProposalVoterResponse; /** * Creates a plain object from a QueryVoteByProposalVoterResponse message. Also converts values to other types if specified. * @param message QueryVoteByProposalVoterResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.QueryVoteByProposalVoterResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryVoteByProposalVoterResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryVotesByProposalRequest. */ interface IQueryVotesByProposalRequest { /** QueryVotesByProposalRequest proposal_id */ proposal_id?: (Long|null); /** QueryVotesByProposalRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a QueryVotesByProposalRequest. */ class QueryVotesByProposalRequest implements IQueryVotesByProposalRequest { /** * Constructs a new QueryVotesByProposalRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IQueryVotesByProposalRequest); /** QueryVotesByProposalRequest proposal_id. */ public proposal_id: Long; /** QueryVotesByProposalRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** * Encodes the specified QueryVotesByProposalRequest message. Does not implicitly {@link cosmos.group.v1.QueryVotesByProposalRequest.verify|verify} messages. * @param message QueryVotesByProposalRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IQueryVotesByProposalRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryVotesByProposalRequest message, length delimited. Does not implicitly {@link cosmos.group.v1.QueryVotesByProposalRequest.verify|verify} messages. * @param message QueryVotesByProposalRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IQueryVotesByProposalRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryVotesByProposalRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryVotesByProposalRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.QueryVotesByProposalRequest; /** * Decodes a QueryVotesByProposalRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryVotesByProposalRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.QueryVotesByProposalRequest; /** * Verifies a QueryVotesByProposalRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryVotesByProposalRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryVotesByProposalRequest */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.QueryVotesByProposalRequest; /** * Creates a plain object from a QueryVotesByProposalRequest message. Also converts values to other types if specified. * @param message QueryVotesByProposalRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.QueryVotesByProposalRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryVotesByProposalRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryVotesByProposalResponse. */ interface IQueryVotesByProposalResponse { /** QueryVotesByProposalResponse votes */ votes?: (cosmos.group.v1.IVote[]|null); /** QueryVotesByProposalResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a QueryVotesByProposalResponse. */ class QueryVotesByProposalResponse implements IQueryVotesByProposalResponse { /** * Constructs a new QueryVotesByProposalResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IQueryVotesByProposalResponse); /** QueryVotesByProposalResponse votes. */ public votes: cosmos.group.v1.IVote[]; /** QueryVotesByProposalResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified QueryVotesByProposalResponse message. Does not implicitly {@link cosmos.group.v1.QueryVotesByProposalResponse.verify|verify} messages. * @param message QueryVotesByProposalResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IQueryVotesByProposalResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryVotesByProposalResponse message, length delimited. Does not implicitly {@link cosmos.group.v1.QueryVotesByProposalResponse.verify|verify} messages. * @param message QueryVotesByProposalResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IQueryVotesByProposalResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryVotesByProposalResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryVotesByProposalResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.QueryVotesByProposalResponse; /** * Decodes a QueryVotesByProposalResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryVotesByProposalResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.QueryVotesByProposalResponse; /** * Verifies a QueryVotesByProposalResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryVotesByProposalResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryVotesByProposalResponse */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.QueryVotesByProposalResponse; /** * Creates a plain object from a QueryVotesByProposalResponse message. Also converts values to other types if specified. * @param message QueryVotesByProposalResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.QueryVotesByProposalResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryVotesByProposalResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryVotesByVoterRequest. */ interface IQueryVotesByVoterRequest { /** QueryVotesByVoterRequest voter */ voter?: (string|null); /** QueryVotesByVoterRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a QueryVotesByVoterRequest. */ class QueryVotesByVoterRequest implements IQueryVotesByVoterRequest { /** * Constructs a new QueryVotesByVoterRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IQueryVotesByVoterRequest); /** QueryVotesByVoterRequest voter. */ public voter: string; /** QueryVotesByVoterRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** * Encodes the specified QueryVotesByVoterRequest message. Does not implicitly {@link cosmos.group.v1.QueryVotesByVoterRequest.verify|verify} messages. * @param message QueryVotesByVoterRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IQueryVotesByVoterRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryVotesByVoterRequest message, length delimited. Does not implicitly {@link cosmos.group.v1.QueryVotesByVoterRequest.verify|verify} messages. * @param message QueryVotesByVoterRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IQueryVotesByVoterRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryVotesByVoterRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryVotesByVoterRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.QueryVotesByVoterRequest; /** * Decodes a QueryVotesByVoterRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryVotesByVoterRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.QueryVotesByVoterRequest; /** * Verifies a QueryVotesByVoterRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryVotesByVoterRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryVotesByVoterRequest */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.QueryVotesByVoterRequest; /** * Creates a plain object from a QueryVotesByVoterRequest message. Also converts values to other types if specified. * @param message QueryVotesByVoterRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.QueryVotesByVoterRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryVotesByVoterRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryVotesByVoterResponse. */ interface IQueryVotesByVoterResponse { /** QueryVotesByVoterResponse votes */ votes?: (cosmos.group.v1.IVote[]|null); /** QueryVotesByVoterResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a QueryVotesByVoterResponse. */ class QueryVotesByVoterResponse implements IQueryVotesByVoterResponse { /** * Constructs a new QueryVotesByVoterResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IQueryVotesByVoterResponse); /** QueryVotesByVoterResponse votes. */ public votes: cosmos.group.v1.IVote[]; /** QueryVotesByVoterResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified QueryVotesByVoterResponse message. Does not implicitly {@link cosmos.group.v1.QueryVotesByVoterResponse.verify|verify} messages. * @param message QueryVotesByVoterResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IQueryVotesByVoterResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryVotesByVoterResponse message, length delimited. Does not implicitly {@link cosmos.group.v1.QueryVotesByVoterResponse.verify|verify} messages. * @param message QueryVotesByVoterResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IQueryVotesByVoterResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryVotesByVoterResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryVotesByVoterResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.QueryVotesByVoterResponse; /** * Decodes a QueryVotesByVoterResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryVotesByVoterResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.QueryVotesByVoterResponse; /** * Verifies a QueryVotesByVoterResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryVotesByVoterResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryVotesByVoterResponse */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.QueryVotesByVoterResponse; /** * Creates a plain object from a QueryVotesByVoterResponse message. Also converts values to other types if specified. * @param message QueryVotesByVoterResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.QueryVotesByVoterResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryVotesByVoterResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryGroupsByMemberRequest. */ interface IQueryGroupsByMemberRequest { /** QueryGroupsByMemberRequest address */ address?: (string|null); /** QueryGroupsByMemberRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a QueryGroupsByMemberRequest. */ class QueryGroupsByMemberRequest implements IQueryGroupsByMemberRequest { /** * Constructs a new QueryGroupsByMemberRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IQueryGroupsByMemberRequest); /** QueryGroupsByMemberRequest address. */ public address: string; /** QueryGroupsByMemberRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** * Encodes the specified QueryGroupsByMemberRequest message. Does not implicitly {@link cosmos.group.v1.QueryGroupsByMemberRequest.verify|verify} messages. * @param message QueryGroupsByMemberRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IQueryGroupsByMemberRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryGroupsByMemberRequest message, length delimited. Does not implicitly {@link cosmos.group.v1.QueryGroupsByMemberRequest.verify|verify} messages. * @param message QueryGroupsByMemberRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IQueryGroupsByMemberRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryGroupsByMemberRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryGroupsByMemberRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.QueryGroupsByMemberRequest; /** * Decodes a QueryGroupsByMemberRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryGroupsByMemberRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.QueryGroupsByMemberRequest; /** * Verifies a QueryGroupsByMemberRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryGroupsByMemberRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryGroupsByMemberRequest */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.QueryGroupsByMemberRequest; /** * Creates a plain object from a QueryGroupsByMemberRequest message. Also converts values to other types if specified. * @param message QueryGroupsByMemberRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.QueryGroupsByMemberRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryGroupsByMemberRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryGroupsByMemberResponse. */ interface IQueryGroupsByMemberResponse { /** QueryGroupsByMemberResponse groups */ groups?: (cosmos.group.v1.IGroupInfo[]|null); /** QueryGroupsByMemberResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a QueryGroupsByMemberResponse. */ class QueryGroupsByMemberResponse implements IQueryGroupsByMemberResponse { /** * Constructs a new QueryGroupsByMemberResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IQueryGroupsByMemberResponse); /** QueryGroupsByMemberResponse groups. */ public groups: cosmos.group.v1.IGroupInfo[]; /** QueryGroupsByMemberResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified QueryGroupsByMemberResponse message. Does not implicitly {@link cosmos.group.v1.QueryGroupsByMemberResponse.verify|verify} messages. * @param message QueryGroupsByMemberResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IQueryGroupsByMemberResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryGroupsByMemberResponse message, length delimited. Does not implicitly {@link cosmos.group.v1.QueryGroupsByMemberResponse.verify|verify} messages. * @param message QueryGroupsByMemberResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IQueryGroupsByMemberResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryGroupsByMemberResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryGroupsByMemberResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.QueryGroupsByMemberResponse; /** * Decodes a QueryGroupsByMemberResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryGroupsByMemberResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.QueryGroupsByMemberResponse; /** * Verifies a QueryGroupsByMemberResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryGroupsByMemberResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryGroupsByMemberResponse */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.QueryGroupsByMemberResponse; /** * Creates a plain object from a QueryGroupsByMemberResponse message. Also converts values to other types if specified. * @param message QueryGroupsByMemberResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.QueryGroupsByMemberResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryGroupsByMemberResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryTallyResultRequest. */ interface IQueryTallyResultRequest { /** QueryTallyResultRequest proposal_id */ proposal_id?: (Long|null); } /** Represents a QueryTallyResultRequest. */ class QueryTallyResultRequest implements IQueryTallyResultRequest { /** * Constructs a new QueryTallyResultRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IQueryTallyResultRequest); /** QueryTallyResultRequest proposal_id. */ public proposal_id: Long; /** * Encodes the specified QueryTallyResultRequest message. Does not implicitly {@link cosmos.group.v1.QueryTallyResultRequest.verify|verify} messages. * @param message QueryTallyResultRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IQueryTallyResultRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryTallyResultRequest message, length delimited. Does not implicitly {@link cosmos.group.v1.QueryTallyResultRequest.verify|verify} messages. * @param message QueryTallyResultRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IQueryTallyResultRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryTallyResultRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryTallyResultRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.QueryTallyResultRequest; /** * Decodes a QueryTallyResultRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryTallyResultRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.QueryTallyResultRequest; /** * Verifies a QueryTallyResultRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryTallyResultRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryTallyResultRequest */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.QueryTallyResultRequest; /** * Creates a plain object from a QueryTallyResultRequest message. Also converts values to other types if specified. * @param message QueryTallyResultRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.QueryTallyResultRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryTallyResultRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryTallyResultResponse. */ interface IQueryTallyResultResponse { /** QueryTallyResultResponse tally */ tally?: (cosmos.group.v1.ITallyResult|null); } /** Represents a QueryTallyResultResponse. */ class QueryTallyResultResponse implements IQueryTallyResultResponse { /** * Constructs a new QueryTallyResultResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IQueryTallyResultResponse); /** QueryTallyResultResponse tally. */ public tally?: (cosmos.group.v1.ITallyResult|null); /** * Encodes the specified QueryTallyResultResponse message. Does not implicitly {@link cosmos.group.v1.QueryTallyResultResponse.verify|verify} messages. * @param message QueryTallyResultResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IQueryTallyResultResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryTallyResultResponse message, length delimited. Does not implicitly {@link cosmos.group.v1.QueryTallyResultResponse.verify|verify} messages. * @param message QueryTallyResultResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IQueryTallyResultResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryTallyResultResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryTallyResultResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.QueryTallyResultResponse; /** * Decodes a QueryTallyResultResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryTallyResultResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.QueryTallyResultResponse; /** * Verifies a QueryTallyResultResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryTallyResultResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryTallyResultResponse */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.QueryTallyResultResponse; /** * Creates a plain object from a QueryTallyResultResponse message. Also converts values to other types if specified. * @param message QueryTallyResultResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.QueryTallyResultResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryTallyResultResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Member. */ interface IMember { /** Member address */ address?: (string|null); /** Member weight */ weight?: (string|null); /** Member metadata */ metadata?: (string|null); /** Member added_at */ added_at?: (google.protobuf.ITimestamp|null); } /** Represents a Member. */ class Member implements IMember { /** * Constructs a new Member. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IMember); /** Member address. */ public address: string; /** Member weight. */ public weight: string; /** Member metadata. */ public metadata: string; /** Member added_at. */ public added_at?: (google.protobuf.ITimestamp|null); /** * Encodes the specified Member message. Does not implicitly {@link cosmos.group.v1.Member.verify|verify} messages. * @param message Member message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IMember, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Member message, length delimited. Does not implicitly {@link cosmos.group.v1.Member.verify|verify} messages. * @param message Member message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IMember, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Member message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Member * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.Member; /** * Decodes a Member message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Member * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.Member; /** * Verifies a Member message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Member message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Member */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.Member; /** * Creates a plain object from a Member message. Also converts values to other types if specified. * @param message Member * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.Member, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Member to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MemberRequest. */ interface IMemberRequest { /** MemberRequest address */ address?: (string|null); /** MemberRequest weight */ weight?: (string|null); /** MemberRequest metadata */ metadata?: (string|null); } /** Represents a MemberRequest. */ class MemberRequest implements IMemberRequest { /** * Constructs a new MemberRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IMemberRequest); /** MemberRequest address. */ public address: string; /** MemberRequest weight. */ public weight: string; /** MemberRequest metadata. */ public metadata: string; /** * Encodes the specified MemberRequest message. Does not implicitly {@link cosmos.group.v1.MemberRequest.verify|verify} messages. * @param message MemberRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IMemberRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MemberRequest message, length delimited. Does not implicitly {@link cosmos.group.v1.MemberRequest.verify|verify} messages. * @param message MemberRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IMemberRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MemberRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MemberRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.MemberRequest; /** * Decodes a MemberRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MemberRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.MemberRequest; /** * Verifies a MemberRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MemberRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MemberRequest */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.MemberRequest; /** * Creates a plain object from a MemberRequest message. Also converts values to other types if specified. * @param message MemberRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.MemberRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MemberRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ThresholdDecisionPolicy. */ interface IThresholdDecisionPolicy { /** ThresholdDecisionPolicy threshold */ threshold?: (string|null); /** ThresholdDecisionPolicy windows */ windows?: (cosmos.group.v1.IDecisionPolicyWindows|null); } /** Represents a ThresholdDecisionPolicy. */ class ThresholdDecisionPolicy implements IThresholdDecisionPolicy { /** * Constructs a new ThresholdDecisionPolicy. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IThresholdDecisionPolicy); /** ThresholdDecisionPolicy threshold. */ public threshold: string; /** ThresholdDecisionPolicy windows. */ public windows?: (cosmos.group.v1.IDecisionPolicyWindows|null); /** * Encodes the specified ThresholdDecisionPolicy message. Does not implicitly {@link cosmos.group.v1.ThresholdDecisionPolicy.verify|verify} messages. * @param message ThresholdDecisionPolicy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IThresholdDecisionPolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ThresholdDecisionPolicy message, length delimited. Does not implicitly {@link cosmos.group.v1.ThresholdDecisionPolicy.verify|verify} messages. * @param message ThresholdDecisionPolicy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IThresholdDecisionPolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ThresholdDecisionPolicy message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ThresholdDecisionPolicy * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.ThresholdDecisionPolicy; /** * Decodes a ThresholdDecisionPolicy message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ThresholdDecisionPolicy * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.ThresholdDecisionPolicy; /** * Verifies a ThresholdDecisionPolicy message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ThresholdDecisionPolicy message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ThresholdDecisionPolicy */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.ThresholdDecisionPolicy; /** * Creates a plain object from a ThresholdDecisionPolicy message. Also converts values to other types if specified. * @param message ThresholdDecisionPolicy * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.ThresholdDecisionPolicy, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ThresholdDecisionPolicy to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a PercentageDecisionPolicy. */ interface IPercentageDecisionPolicy { /** PercentageDecisionPolicy percentage */ percentage?: (string|null); /** PercentageDecisionPolicy windows */ windows?: (cosmos.group.v1.IDecisionPolicyWindows|null); } /** Represents a PercentageDecisionPolicy. */ class PercentageDecisionPolicy implements IPercentageDecisionPolicy { /** * Constructs a new PercentageDecisionPolicy. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IPercentageDecisionPolicy); /** PercentageDecisionPolicy percentage. */ public percentage: string; /** PercentageDecisionPolicy windows. */ public windows?: (cosmos.group.v1.IDecisionPolicyWindows|null); /** * Encodes the specified PercentageDecisionPolicy message. Does not implicitly {@link cosmos.group.v1.PercentageDecisionPolicy.verify|verify} messages. * @param message PercentageDecisionPolicy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IPercentageDecisionPolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PercentageDecisionPolicy message, length delimited. Does not implicitly {@link cosmos.group.v1.PercentageDecisionPolicy.verify|verify} messages. * @param message PercentageDecisionPolicy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IPercentageDecisionPolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PercentageDecisionPolicy message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PercentageDecisionPolicy * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.PercentageDecisionPolicy; /** * Decodes a PercentageDecisionPolicy message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PercentageDecisionPolicy * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.PercentageDecisionPolicy; /** * Verifies a PercentageDecisionPolicy message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PercentageDecisionPolicy message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PercentageDecisionPolicy */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.PercentageDecisionPolicy; /** * Creates a plain object from a PercentageDecisionPolicy message. Also converts values to other types if specified. * @param message PercentageDecisionPolicy * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.PercentageDecisionPolicy, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PercentageDecisionPolicy to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a DecisionPolicyWindows. */ interface IDecisionPolicyWindows { /** DecisionPolicyWindows voting_period */ voting_period?: (google.protobuf.IDuration|null); /** DecisionPolicyWindows min_execution_period */ min_execution_period?: (google.protobuf.IDuration|null); } /** Represents a DecisionPolicyWindows. */ class DecisionPolicyWindows implements IDecisionPolicyWindows { /** * Constructs a new DecisionPolicyWindows. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IDecisionPolicyWindows); /** DecisionPolicyWindows voting_period. */ public voting_period?: (google.protobuf.IDuration|null); /** DecisionPolicyWindows min_execution_period. */ public min_execution_period?: (google.protobuf.IDuration|null); /** * Encodes the specified DecisionPolicyWindows message. Does not implicitly {@link cosmos.group.v1.DecisionPolicyWindows.verify|verify} messages. * @param message DecisionPolicyWindows message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IDecisionPolicyWindows, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DecisionPolicyWindows message, length delimited. Does not implicitly {@link cosmos.group.v1.DecisionPolicyWindows.verify|verify} messages. * @param message DecisionPolicyWindows message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IDecisionPolicyWindows, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DecisionPolicyWindows message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DecisionPolicyWindows * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.DecisionPolicyWindows; /** * Decodes a DecisionPolicyWindows message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DecisionPolicyWindows * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.DecisionPolicyWindows; /** * Verifies a DecisionPolicyWindows message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DecisionPolicyWindows message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DecisionPolicyWindows */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.DecisionPolicyWindows; /** * Creates a plain object from a DecisionPolicyWindows message. Also converts values to other types if specified. * @param message DecisionPolicyWindows * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.DecisionPolicyWindows, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DecisionPolicyWindows to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** VoteOption enum. */ enum VoteOption { VOTE_OPTION_UNSPECIFIED = 0, VOTE_OPTION_YES = 1, VOTE_OPTION_ABSTAIN = 2, VOTE_OPTION_NO = 3, VOTE_OPTION_NO_WITH_VETO = 4 } /** Properties of a GroupInfo. */ interface IGroupInfo { /** GroupInfo id */ id?: (Long|null); /** GroupInfo admin */ admin?: (string|null); /** GroupInfo metadata */ metadata?: (string|null); /** GroupInfo version */ version?: (Long|null); /** GroupInfo total_weight */ total_weight?: (string|null); /** GroupInfo created_at */ created_at?: (google.protobuf.ITimestamp|null); } /** Represents a GroupInfo. */ class GroupInfo implements IGroupInfo { /** * Constructs a new GroupInfo. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IGroupInfo); /** GroupInfo id. */ public id: Long; /** GroupInfo admin. */ public admin: string; /** GroupInfo metadata. */ public metadata: string; /** GroupInfo version. */ public version: Long; /** GroupInfo total_weight. */ public total_weight: string; /** GroupInfo created_at. */ public created_at?: (google.protobuf.ITimestamp|null); /** * Encodes the specified GroupInfo message. Does not implicitly {@link cosmos.group.v1.GroupInfo.verify|verify} messages. * @param message GroupInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IGroupInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GroupInfo message, length delimited. Does not implicitly {@link cosmos.group.v1.GroupInfo.verify|verify} messages. * @param message GroupInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IGroupInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GroupInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GroupInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.GroupInfo; /** * Decodes a GroupInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GroupInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.GroupInfo; /** * Verifies a GroupInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GroupInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GroupInfo */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.GroupInfo; /** * Creates a plain object from a GroupInfo message. Also converts values to other types if specified. * @param message GroupInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.GroupInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GroupInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GroupMember. */ interface IGroupMember { /** GroupMember group_id */ group_id?: (Long|null); /** GroupMember member */ member?: (cosmos.group.v1.IMember|null); } /** Represents a GroupMember. */ class GroupMember implements IGroupMember { /** * Constructs a new GroupMember. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IGroupMember); /** GroupMember group_id. */ public group_id: Long; /** GroupMember member. */ public member?: (cosmos.group.v1.IMember|null); /** * Encodes the specified GroupMember message. Does not implicitly {@link cosmos.group.v1.GroupMember.verify|verify} messages. * @param message GroupMember message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IGroupMember, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GroupMember message, length delimited. Does not implicitly {@link cosmos.group.v1.GroupMember.verify|verify} messages. * @param message GroupMember message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IGroupMember, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GroupMember message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GroupMember * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.GroupMember; /** * Decodes a GroupMember message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GroupMember * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.GroupMember; /** * Verifies a GroupMember message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GroupMember message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GroupMember */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.GroupMember; /** * Creates a plain object from a GroupMember message. Also converts values to other types if specified. * @param message GroupMember * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.GroupMember, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GroupMember to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GroupPolicyInfo. */ interface IGroupPolicyInfo { /** GroupPolicyInfo address */ address?: (string|null); /** GroupPolicyInfo group_id */ group_id?: (Long|null); /** GroupPolicyInfo admin */ admin?: (string|null); /** GroupPolicyInfo metadata */ metadata?: (string|null); /** GroupPolicyInfo version */ version?: (Long|null); /** GroupPolicyInfo decision_policy */ decision_policy?: (google.protobuf.IAny|null); /** GroupPolicyInfo created_at */ created_at?: (google.protobuf.ITimestamp|null); } /** Represents a GroupPolicyInfo. */ class GroupPolicyInfo implements IGroupPolicyInfo { /** * Constructs a new GroupPolicyInfo. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IGroupPolicyInfo); /** GroupPolicyInfo address. */ public address: string; /** GroupPolicyInfo group_id. */ public group_id: Long; /** GroupPolicyInfo admin. */ public admin: string; /** GroupPolicyInfo metadata. */ public metadata: string; /** GroupPolicyInfo version. */ public version: Long; /** GroupPolicyInfo decision_policy. */ public decision_policy?: (google.protobuf.IAny|null); /** GroupPolicyInfo created_at. */ public created_at?: (google.protobuf.ITimestamp|null); /** * Encodes the specified GroupPolicyInfo message. Does not implicitly {@link cosmos.group.v1.GroupPolicyInfo.verify|verify} messages. * @param message GroupPolicyInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IGroupPolicyInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GroupPolicyInfo message, length delimited. Does not implicitly {@link cosmos.group.v1.GroupPolicyInfo.verify|verify} messages. * @param message GroupPolicyInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IGroupPolicyInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GroupPolicyInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GroupPolicyInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.GroupPolicyInfo; /** * Decodes a GroupPolicyInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GroupPolicyInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.GroupPolicyInfo; /** * Verifies a GroupPolicyInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GroupPolicyInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GroupPolicyInfo */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.GroupPolicyInfo; /** * Creates a plain object from a GroupPolicyInfo message. Also converts values to other types if specified. * @param message GroupPolicyInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.GroupPolicyInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GroupPolicyInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Proposal. */ interface IProposal { /** Proposal id */ id?: (Long|null); /** Proposal group_policy_address */ group_policy_address?: (string|null); /** Proposal metadata */ metadata?: (string|null); /** Proposal proposers */ proposers?: (string[]|null); /** Proposal submit_time */ submit_time?: (google.protobuf.ITimestamp|null); /** Proposal group_version */ group_version?: (Long|null); /** Proposal group_policy_version */ group_policy_version?: (Long|null); /** Proposal status */ status?: (cosmos.group.v1.ProposalStatus|null); /** Proposal final_tally_result */ final_tally_result?: (cosmos.group.v1.ITallyResult|null); /** Proposal voting_period_end */ voting_period_end?: (google.protobuf.ITimestamp|null); /** Proposal executor_result */ executor_result?: (cosmos.group.v1.ProposalExecutorResult|null); /** Proposal messages */ messages?: (google.protobuf.IAny[]|null); /** Proposal title */ title?: (string|null); /** Proposal summary */ summary?: (string|null); } /** Represents a Proposal. */ class Proposal implements IProposal { /** * Constructs a new Proposal. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IProposal); /** Proposal id. */ public id: Long; /** Proposal group_policy_address. */ public group_policy_address: string; /** Proposal metadata. */ public metadata: string; /** Proposal proposers. */ public proposers: string[]; /** Proposal submit_time. */ public submit_time?: (google.protobuf.ITimestamp|null); /** Proposal group_version. */ public group_version: Long; /** Proposal group_policy_version. */ public group_policy_version: Long; /** Proposal status. */ public status: cosmos.group.v1.ProposalStatus; /** Proposal final_tally_result. */ public final_tally_result?: (cosmos.group.v1.ITallyResult|null); /** Proposal voting_period_end. */ public voting_period_end?: (google.protobuf.ITimestamp|null); /** Proposal executor_result. */ public executor_result: cosmos.group.v1.ProposalExecutorResult; /** Proposal messages. */ public messages: google.protobuf.IAny[]; /** Proposal title. */ public title: string; /** Proposal summary. */ public summary: string; /** * Encodes the specified Proposal message. Does not implicitly {@link cosmos.group.v1.Proposal.verify|verify} messages. * @param message Proposal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IProposal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Proposal message, length delimited. Does not implicitly {@link cosmos.group.v1.Proposal.verify|verify} messages. * @param message Proposal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IProposal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Proposal message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Proposal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.Proposal; /** * Decodes a Proposal message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Proposal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.Proposal; /** * Verifies a Proposal message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Proposal message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Proposal */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.Proposal; /** * Creates a plain object from a Proposal message. Also converts values to other types if specified. * @param message Proposal * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.Proposal, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Proposal to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** ProposalStatus enum. */ enum ProposalStatus { PROPOSAL_STATUS_UNSPECIFIED = 0, PROPOSAL_STATUS_SUBMITTED = 1, PROPOSAL_STATUS_ACCEPTED = 2, PROPOSAL_STATUS_REJECTED = 3, PROPOSAL_STATUS_ABORTED = 4, PROPOSAL_STATUS_WITHDRAWN = 5 } /** ProposalExecutorResult enum. */ enum ProposalExecutorResult { PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED = 0, PROPOSAL_EXECUTOR_RESULT_NOT_RUN = 1, PROPOSAL_EXECUTOR_RESULT_SUCCESS = 2, PROPOSAL_EXECUTOR_RESULT_FAILURE = 3 } /** Properties of a TallyResult. */ interface ITallyResult { /** TallyResult yes_count */ yes_count?: (string|null); /** TallyResult abstain_count */ abstain_count?: (string|null); /** TallyResult no_count */ no_count?: (string|null); /** TallyResult no_with_veto_count */ no_with_veto_count?: (string|null); } /** Represents a TallyResult. */ class TallyResult implements ITallyResult { /** * Constructs a new TallyResult. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.ITallyResult); /** TallyResult yes_count. */ public yes_count: string; /** TallyResult abstain_count. */ public abstain_count: string; /** TallyResult no_count. */ public no_count: string; /** TallyResult no_with_veto_count. */ public no_with_veto_count: string; /** * Encodes the specified TallyResult message. Does not implicitly {@link cosmos.group.v1.TallyResult.verify|verify} messages. * @param message TallyResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.ITallyResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TallyResult message, length delimited. Does not implicitly {@link cosmos.group.v1.TallyResult.verify|verify} messages. * @param message TallyResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.ITallyResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TallyResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TallyResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.TallyResult; /** * Decodes a TallyResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TallyResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.TallyResult; /** * Verifies a TallyResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TallyResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TallyResult */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.TallyResult; /** * Creates a plain object from a TallyResult message. Also converts values to other types if specified. * @param message TallyResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.TallyResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TallyResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Vote. */ interface IVote { /** Vote proposal_id */ proposal_id?: (Long|null); /** Vote voter */ voter?: (string|null); /** Vote option */ option?: (cosmos.group.v1.VoteOption|null); /** Vote metadata */ metadata?: (string|null); /** Vote submit_time */ submit_time?: (google.protobuf.ITimestamp|null); } /** Represents a Vote. */ class Vote implements IVote { /** * Constructs a new Vote. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IVote); /** Vote proposal_id. */ public proposal_id: Long; /** Vote voter. */ public voter: string; /** Vote option. */ public option: cosmos.group.v1.VoteOption; /** Vote metadata. */ public metadata: string; /** Vote submit_time. */ public submit_time?: (google.protobuf.ITimestamp|null); /** * Encodes the specified Vote message. Does not implicitly {@link cosmos.group.v1.Vote.verify|verify} messages. * @param message Vote message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IVote, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Vote message, length delimited. Does not implicitly {@link cosmos.group.v1.Vote.verify|verify} messages. * @param message Vote message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IVote, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Vote message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Vote * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.Vote; /** * Decodes a Vote message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Vote * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.Vote; /** * Verifies a Vote message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Vote message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Vote */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.Vote; /** * Creates a plain object from a Vote message. Also converts values to other types if specified. * @param message Vote * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.Vote, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Vote to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an EventCreateGroup. */ interface IEventCreateGroup { /** EventCreateGroup group_id */ group_id?: (Long|null); } /** Represents an EventCreateGroup. */ class EventCreateGroup implements IEventCreateGroup { /** * Constructs a new EventCreateGroup. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IEventCreateGroup); /** EventCreateGroup group_id. */ public group_id: Long; /** * Encodes the specified EventCreateGroup message. Does not implicitly {@link cosmos.group.v1.EventCreateGroup.verify|verify} messages. * @param message EventCreateGroup message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IEventCreateGroup, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EventCreateGroup message, length delimited. Does not implicitly {@link cosmos.group.v1.EventCreateGroup.verify|verify} messages. * @param message EventCreateGroup message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IEventCreateGroup, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EventCreateGroup message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EventCreateGroup * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.EventCreateGroup; /** * Decodes an EventCreateGroup message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EventCreateGroup * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.EventCreateGroup; /** * Verifies an EventCreateGroup message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EventCreateGroup message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EventCreateGroup */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.EventCreateGroup; /** * Creates a plain object from an EventCreateGroup message. Also converts values to other types if specified. * @param message EventCreateGroup * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.EventCreateGroup, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EventCreateGroup to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an EventUpdateGroup. */ interface IEventUpdateGroup { /** EventUpdateGroup group_id */ group_id?: (Long|null); } /** Represents an EventUpdateGroup. */ class EventUpdateGroup implements IEventUpdateGroup { /** * Constructs a new EventUpdateGroup. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IEventUpdateGroup); /** EventUpdateGroup group_id. */ public group_id: Long; /** * Encodes the specified EventUpdateGroup message. Does not implicitly {@link cosmos.group.v1.EventUpdateGroup.verify|verify} messages. * @param message EventUpdateGroup message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IEventUpdateGroup, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EventUpdateGroup message, length delimited. Does not implicitly {@link cosmos.group.v1.EventUpdateGroup.verify|verify} messages. * @param message EventUpdateGroup message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IEventUpdateGroup, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EventUpdateGroup message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EventUpdateGroup * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.EventUpdateGroup; /** * Decodes an EventUpdateGroup message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EventUpdateGroup * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.EventUpdateGroup; /** * Verifies an EventUpdateGroup message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EventUpdateGroup message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EventUpdateGroup */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.EventUpdateGroup; /** * Creates a plain object from an EventUpdateGroup message. Also converts values to other types if specified. * @param message EventUpdateGroup * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.EventUpdateGroup, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EventUpdateGroup to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an EventCreateGroupPolicy. */ interface IEventCreateGroupPolicy { /** EventCreateGroupPolicy address */ address?: (string|null); } /** Represents an EventCreateGroupPolicy. */ class EventCreateGroupPolicy implements IEventCreateGroupPolicy { /** * Constructs a new EventCreateGroupPolicy. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IEventCreateGroupPolicy); /** EventCreateGroupPolicy address. */ public address: string; /** * Encodes the specified EventCreateGroupPolicy message. Does not implicitly {@link cosmos.group.v1.EventCreateGroupPolicy.verify|verify} messages. * @param message EventCreateGroupPolicy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IEventCreateGroupPolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EventCreateGroupPolicy message, length delimited. Does not implicitly {@link cosmos.group.v1.EventCreateGroupPolicy.verify|verify} messages. * @param message EventCreateGroupPolicy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IEventCreateGroupPolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EventCreateGroupPolicy message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EventCreateGroupPolicy * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.EventCreateGroupPolicy; /** * Decodes an EventCreateGroupPolicy message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EventCreateGroupPolicy * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.EventCreateGroupPolicy; /** * Verifies an EventCreateGroupPolicy message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EventCreateGroupPolicy message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EventCreateGroupPolicy */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.EventCreateGroupPolicy; /** * Creates a plain object from an EventCreateGroupPolicy message. Also converts values to other types if specified. * @param message EventCreateGroupPolicy * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.EventCreateGroupPolicy, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EventCreateGroupPolicy to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an EventUpdateGroupPolicy. */ interface IEventUpdateGroupPolicy { /** EventUpdateGroupPolicy address */ address?: (string|null); } /** Represents an EventUpdateGroupPolicy. */ class EventUpdateGroupPolicy implements IEventUpdateGroupPolicy { /** * Constructs a new EventUpdateGroupPolicy. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IEventUpdateGroupPolicy); /** EventUpdateGroupPolicy address. */ public address: string; /** * Encodes the specified EventUpdateGroupPolicy message. Does not implicitly {@link cosmos.group.v1.EventUpdateGroupPolicy.verify|verify} messages. * @param message EventUpdateGroupPolicy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IEventUpdateGroupPolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EventUpdateGroupPolicy message, length delimited. Does not implicitly {@link cosmos.group.v1.EventUpdateGroupPolicy.verify|verify} messages. * @param message EventUpdateGroupPolicy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IEventUpdateGroupPolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EventUpdateGroupPolicy message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EventUpdateGroupPolicy * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.EventUpdateGroupPolicy; /** * Decodes an EventUpdateGroupPolicy message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EventUpdateGroupPolicy * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.EventUpdateGroupPolicy; /** * Verifies an EventUpdateGroupPolicy message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EventUpdateGroupPolicy message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EventUpdateGroupPolicy */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.EventUpdateGroupPolicy; /** * Creates a plain object from an EventUpdateGroupPolicy message. Also converts values to other types if specified. * @param message EventUpdateGroupPolicy * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.EventUpdateGroupPolicy, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EventUpdateGroupPolicy to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an EventSubmitProposal. */ interface IEventSubmitProposal { /** EventSubmitProposal proposal_id */ proposal_id?: (Long|null); } /** Represents an EventSubmitProposal. */ class EventSubmitProposal implements IEventSubmitProposal { /** * Constructs a new EventSubmitProposal. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IEventSubmitProposal); /** EventSubmitProposal proposal_id. */ public proposal_id: Long; /** * Encodes the specified EventSubmitProposal message. Does not implicitly {@link cosmos.group.v1.EventSubmitProposal.verify|verify} messages. * @param message EventSubmitProposal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IEventSubmitProposal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EventSubmitProposal message, length delimited. Does not implicitly {@link cosmos.group.v1.EventSubmitProposal.verify|verify} messages. * @param message EventSubmitProposal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IEventSubmitProposal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EventSubmitProposal message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EventSubmitProposal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.EventSubmitProposal; /** * Decodes an EventSubmitProposal message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EventSubmitProposal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.EventSubmitProposal; /** * Verifies an EventSubmitProposal message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EventSubmitProposal message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EventSubmitProposal */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.EventSubmitProposal; /** * Creates a plain object from an EventSubmitProposal message. Also converts values to other types if specified. * @param message EventSubmitProposal * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.EventSubmitProposal, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EventSubmitProposal to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an EventWithdrawProposal. */ interface IEventWithdrawProposal { /** EventWithdrawProposal proposal_id */ proposal_id?: (Long|null); } /** Represents an EventWithdrawProposal. */ class EventWithdrawProposal implements IEventWithdrawProposal { /** * Constructs a new EventWithdrawProposal. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IEventWithdrawProposal); /** EventWithdrawProposal proposal_id. */ public proposal_id: Long; /** * Encodes the specified EventWithdrawProposal message. Does not implicitly {@link cosmos.group.v1.EventWithdrawProposal.verify|verify} messages. * @param message EventWithdrawProposal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IEventWithdrawProposal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EventWithdrawProposal message, length delimited. Does not implicitly {@link cosmos.group.v1.EventWithdrawProposal.verify|verify} messages. * @param message EventWithdrawProposal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IEventWithdrawProposal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EventWithdrawProposal message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EventWithdrawProposal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.EventWithdrawProposal; /** * Decodes an EventWithdrawProposal message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EventWithdrawProposal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.EventWithdrawProposal; /** * Verifies an EventWithdrawProposal message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EventWithdrawProposal message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EventWithdrawProposal */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.EventWithdrawProposal; /** * Creates a plain object from an EventWithdrawProposal message. Also converts values to other types if specified. * @param message EventWithdrawProposal * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.EventWithdrawProposal, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EventWithdrawProposal to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an EventVote. */ interface IEventVote { /** EventVote proposal_id */ proposal_id?: (Long|null); } /** Represents an EventVote. */ class EventVote implements IEventVote { /** * Constructs a new EventVote. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IEventVote); /** EventVote proposal_id. */ public proposal_id: Long; /** * Encodes the specified EventVote message. Does not implicitly {@link cosmos.group.v1.EventVote.verify|verify} messages. * @param message EventVote message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IEventVote, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EventVote message, length delimited. Does not implicitly {@link cosmos.group.v1.EventVote.verify|verify} messages. * @param message EventVote message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IEventVote, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EventVote message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EventVote * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.EventVote; /** * Decodes an EventVote message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EventVote * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.EventVote; /** * Verifies an EventVote message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EventVote message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EventVote */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.EventVote; /** * Creates a plain object from an EventVote message. Also converts values to other types if specified. * @param message EventVote * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.EventVote, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EventVote to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an EventExec. */ interface IEventExec { /** EventExec proposal_id */ proposal_id?: (Long|null); /** EventExec result */ result?: (cosmos.group.v1.ProposalExecutorResult|null); /** EventExec logs */ logs?: (string|null); } /** Represents an EventExec. */ class EventExec implements IEventExec { /** * Constructs a new EventExec. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IEventExec); /** EventExec proposal_id. */ public proposal_id: Long; /** EventExec result. */ public result: cosmos.group.v1.ProposalExecutorResult; /** EventExec logs. */ public logs: string; /** * Encodes the specified EventExec message. Does not implicitly {@link cosmos.group.v1.EventExec.verify|verify} messages. * @param message EventExec message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IEventExec, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EventExec message, length delimited. Does not implicitly {@link cosmos.group.v1.EventExec.verify|verify} messages. * @param message EventExec message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IEventExec, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EventExec message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EventExec * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.EventExec; /** * Decodes an EventExec message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EventExec * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.EventExec; /** * Verifies an EventExec message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EventExec message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EventExec */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.EventExec; /** * Creates a plain object from an EventExec message. Also converts values to other types if specified. * @param message EventExec * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.EventExec, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EventExec to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an EventLeaveGroup. */ interface IEventLeaveGroup { /** EventLeaveGroup group_id */ group_id?: (Long|null); /** EventLeaveGroup address */ address?: (string|null); } /** Represents an EventLeaveGroup. */ class EventLeaveGroup implements IEventLeaveGroup { /** * Constructs a new EventLeaveGroup. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IEventLeaveGroup); /** EventLeaveGroup group_id. */ public group_id: Long; /** EventLeaveGroup address. */ public address: string; /** * Encodes the specified EventLeaveGroup message. Does not implicitly {@link cosmos.group.v1.EventLeaveGroup.verify|verify} messages. * @param message EventLeaveGroup message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IEventLeaveGroup, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EventLeaveGroup message, length delimited. Does not implicitly {@link cosmos.group.v1.EventLeaveGroup.verify|verify} messages. * @param message EventLeaveGroup message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IEventLeaveGroup, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EventLeaveGroup message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EventLeaveGroup * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.EventLeaveGroup; /** * Decodes an EventLeaveGroup message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EventLeaveGroup * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.EventLeaveGroup; /** * Verifies an EventLeaveGroup message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EventLeaveGroup message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EventLeaveGroup */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.EventLeaveGroup; /** * Creates a plain object from an EventLeaveGroup message. Also converts values to other types if specified. * @param message EventLeaveGroup * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.EventLeaveGroup, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EventLeaveGroup to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Represents a Msg */ class Msg extends $protobuf.rpc.Service { /** * Constructs a new Msg service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls CreateGroup. * @param request MsgCreateGroup message or plain object * @param callback Node-style callback called with the error, if any, and MsgCreateGroupResponse */ public createGroup(request: cosmos.group.v1.IMsgCreateGroup, callback: cosmos.group.v1.Msg.CreateGroupCallback): void; /** * Calls CreateGroup. * @param request MsgCreateGroup message or plain object * @returns Promise */ public createGroup(request: cosmos.group.v1.IMsgCreateGroup): Promise; /** * Calls UpdateGroupMembers. * @param request MsgUpdateGroupMembers message or plain object * @param callback Node-style callback called with the error, if any, and MsgUpdateGroupMembersResponse */ public updateGroupMembers(request: cosmos.group.v1.IMsgUpdateGroupMembers, callback: cosmos.group.v1.Msg.UpdateGroupMembersCallback): void; /** * Calls UpdateGroupMembers. * @param request MsgUpdateGroupMembers message or plain object * @returns Promise */ public updateGroupMembers(request: cosmos.group.v1.IMsgUpdateGroupMembers): Promise; /** * Calls UpdateGroupAdmin. * @param request MsgUpdateGroupAdmin message or plain object * @param callback Node-style callback called with the error, if any, and MsgUpdateGroupAdminResponse */ public updateGroupAdmin(request: cosmos.group.v1.IMsgUpdateGroupAdmin, callback: cosmos.group.v1.Msg.UpdateGroupAdminCallback): void; /** * Calls UpdateGroupAdmin. * @param request MsgUpdateGroupAdmin message or plain object * @returns Promise */ public updateGroupAdmin(request: cosmos.group.v1.IMsgUpdateGroupAdmin): Promise; /** * Calls UpdateGroupMetadata. * @param request MsgUpdateGroupMetadata message or plain object * @param callback Node-style callback called with the error, if any, and MsgUpdateGroupMetadataResponse */ public updateGroupMetadata(request: cosmos.group.v1.IMsgUpdateGroupMetadata, callback: cosmos.group.v1.Msg.UpdateGroupMetadataCallback): void; /** * Calls UpdateGroupMetadata. * @param request MsgUpdateGroupMetadata message or plain object * @returns Promise */ public updateGroupMetadata(request: cosmos.group.v1.IMsgUpdateGroupMetadata): Promise; /** * Calls CreateGroupPolicy. * @param request MsgCreateGroupPolicy message or plain object * @param callback Node-style callback called with the error, if any, and MsgCreateGroupPolicyResponse */ public createGroupPolicy(request: cosmos.group.v1.IMsgCreateGroupPolicy, callback: cosmos.group.v1.Msg.CreateGroupPolicyCallback): void; /** * Calls CreateGroupPolicy. * @param request MsgCreateGroupPolicy message or plain object * @returns Promise */ public createGroupPolicy(request: cosmos.group.v1.IMsgCreateGroupPolicy): Promise; /** * Calls CreateGroupWithPolicy. * @param request MsgCreateGroupWithPolicy message or plain object * @param callback Node-style callback called with the error, if any, and MsgCreateGroupWithPolicyResponse */ public createGroupWithPolicy(request: cosmos.group.v1.IMsgCreateGroupWithPolicy, callback: cosmos.group.v1.Msg.CreateGroupWithPolicyCallback): void; /** * Calls CreateGroupWithPolicy. * @param request MsgCreateGroupWithPolicy message or plain object * @returns Promise */ public createGroupWithPolicy(request: cosmos.group.v1.IMsgCreateGroupWithPolicy): Promise; /** * Calls UpdateGroupPolicyAdmin. * @param request MsgUpdateGroupPolicyAdmin message or plain object * @param callback Node-style callback called with the error, if any, and MsgUpdateGroupPolicyAdminResponse */ public updateGroupPolicyAdmin(request: cosmos.group.v1.IMsgUpdateGroupPolicyAdmin, callback: cosmos.group.v1.Msg.UpdateGroupPolicyAdminCallback): void; /** * Calls UpdateGroupPolicyAdmin. * @param request MsgUpdateGroupPolicyAdmin message or plain object * @returns Promise */ public updateGroupPolicyAdmin(request: cosmos.group.v1.IMsgUpdateGroupPolicyAdmin): Promise; /** * Calls UpdateGroupPolicyDecisionPolicy. * @param request MsgUpdateGroupPolicyDecisionPolicy message or plain object * @param callback Node-style callback called with the error, if any, and MsgUpdateGroupPolicyDecisionPolicyResponse */ public updateGroupPolicyDecisionPolicy(request: cosmos.group.v1.IMsgUpdateGroupPolicyDecisionPolicy, callback: cosmos.group.v1.Msg.UpdateGroupPolicyDecisionPolicyCallback): void; /** * Calls UpdateGroupPolicyDecisionPolicy. * @param request MsgUpdateGroupPolicyDecisionPolicy message or plain object * @returns Promise */ public updateGroupPolicyDecisionPolicy(request: cosmos.group.v1.IMsgUpdateGroupPolicyDecisionPolicy): Promise; /** * Calls UpdateGroupPolicyMetadata. * @param request MsgUpdateGroupPolicyMetadata message or plain object * @param callback Node-style callback called with the error, if any, and MsgUpdateGroupPolicyMetadataResponse */ public updateGroupPolicyMetadata(request: cosmos.group.v1.IMsgUpdateGroupPolicyMetadata, callback: cosmos.group.v1.Msg.UpdateGroupPolicyMetadataCallback): void; /** * Calls UpdateGroupPolicyMetadata. * @param request MsgUpdateGroupPolicyMetadata message or plain object * @returns Promise */ public updateGroupPolicyMetadata(request: cosmos.group.v1.IMsgUpdateGroupPolicyMetadata): Promise; /** * Calls SubmitProposal. * @param request MsgSubmitProposal message or plain object * @param callback Node-style callback called with the error, if any, and MsgSubmitProposalResponse */ public submitProposal(request: cosmos.group.v1.IMsgSubmitProposal, callback: cosmos.group.v1.Msg.SubmitProposalCallback): void; /** * Calls SubmitProposal. * @param request MsgSubmitProposal message or plain object * @returns Promise */ public submitProposal(request: cosmos.group.v1.IMsgSubmitProposal): Promise; /** * Calls WithdrawProposal. * @param request MsgWithdrawProposal message or plain object * @param callback Node-style callback called with the error, if any, and MsgWithdrawProposalResponse */ public withdrawProposal(request: cosmos.group.v1.IMsgWithdrawProposal, callback: cosmos.group.v1.Msg.WithdrawProposalCallback): void; /** * Calls WithdrawProposal. * @param request MsgWithdrawProposal message or plain object * @returns Promise */ public withdrawProposal(request: cosmos.group.v1.IMsgWithdrawProposal): Promise; /** * Calls Vote. * @param request MsgVote message or plain object * @param callback Node-style callback called with the error, if any, and MsgVoteResponse */ public vote(request: cosmos.group.v1.IMsgVote, callback: cosmos.group.v1.Msg.VoteCallback): void; /** * Calls Vote. * @param request MsgVote message or plain object * @returns Promise */ public vote(request: cosmos.group.v1.IMsgVote): Promise; /** * Calls Exec. * @param request MsgExec message or plain object * @param callback Node-style callback called with the error, if any, and MsgExecResponse */ public exec(request: cosmos.group.v1.IMsgExec, callback: cosmos.group.v1.Msg.ExecCallback): void; /** * Calls Exec. * @param request MsgExec message or plain object * @returns Promise */ public exec(request: cosmos.group.v1.IMsgExec): Promise; /** * Calls LeaveGroup. * @param request MsgLeaveGroup message or plain object * @param callback Node-style callback called with the error, if any, and MsgLeaveGroupResponse */ public leaveGroup(request: cosmos.group.v1.IMsgLeaveGroup, callback: cosmos.group.v1.Msg.LeaveGroupCallback): void; /** * Calls LeaveGroup. * @param request MsgLeaveGroup message or plain object * @returns Promise */ public leaveGroup(request: cosmos.group.v1.IMsgLeaveGroup): Promise; } namespace Msg { /** * Callback as used by {@link cosmos.group.v1.Msg#createGroup}. * @param error Error, if any * @param [response] MsgCreateGroupResponse */ type CreateGroupCallback = (error: (Error|null), response?: cosmos.group.v1.MsgCreateGroupResponse) => void; /** * Callback as used by {@link cosmos.group.v1.Msg#updateGroupMembers}. * @param error Error, if any * @param [response] MsgUpdateGroupMembersResponse */ type UpdateGroupMembersCallback = (error: (Error|null), response?: cosmos.group.v1.MsgUpdateGroupMembersResponse) => void; /** * Callback as used by {@link cosmos.group.v1.Msg#updateGroupAdmin}. * @param error Error, if any * @param [response] MsgUpdateGroupAdminResponse */ type UpdateGroupAdminCallback = (error: (Error|null), response?: cosmos.group.v1.MsgUpdateGroupAdminResponse) => void; /** * Callback as used by {@link cosmos.group.v1.Msg#updateGroupMetadata}. * @param error Error, if any * @param [response] MsgUpdateGroupMetadataResponse */ type UpdateGroupMetadataCallback = (error: (Error|null), response?: cosmos.group.v1.MsgUpdateGroupMetadataResponse) => void; /** * Callback as used by {@link cosmos.group.v1.Msg#createGroupPolicy}. * @param error Error, if any * @param [response] MsgCreateGroupPolicyResponse */ type CreateGroupPolicyCallback = (error: (Error|null), response?: cosmos.group.v1.MsgCreateGroupPolicyResponse) => void; /** * Callback as used by {@link cosmos.group.v1.Msg#createGroupWithPolicy}. * @param error Error, if any * @param [response] MsgCreateGroupWithPolicyResponse */ type CreateGroupWithPolicyCallback = (error: (Error|null), response?: cosmos.group.v1.MsgCreateGroupWithPolicyResponse) => void; /** * Callback as used by {@link cosmos.group.v1.Msg#updateGroupPolicyAdmin}. * @param error Error, if any * @param [response] MsgUpdateGroupPolicyAdminResponse */ type UpdateGroupPolicyAdminCallback = (error: (Error|null), response?: cosmos.group.v1.MsgUpdateGroupPolicyAdminResponse) => void; /** * Callback as used by {@link cosmos.group.v1.Msg#updateGroupPolicyDecisionPolicy}. * @param error Error, if any * @param [response] MsgUpdateGroupPolicyDecisionPolicyResponse */ type UpdateGroupPolicyDecisionPolicyCallback = (error: (Error|null), response?: cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicyResponse) => void; /** * Callback as used by {@link cosmos.group.v1.Msg#updateGroupPolicyMetadata}. * @param error Error, if any * @param [response] MsgUpdateGroupPolicyMetadataResponse */ type UpdateGroupPolicyMetadataCallback = (error: (Error|null), response?: cosmos.group.v1.MsgUpdateGroupPolicyMetadataResponse) => void; /** * Callback as used by {@link cosmos.group.v1.Msg#submitProposal}. * @param error Error, if any * @param [response] MsgSubmitProposalResponse */ type SubmitProposalCallback = (error: (Error|null), response?: cosmos.group.v1.MsgSubmitProposalResponse) => void; /** * Callback as used by {@link cosmos.group.v1.Msg#withdrawProposal}. * @param error Error, if any * @param [response] MsgWithdrawProposalResponse */ type WithdrawProposalCallback = (error: (Error|null), response?: cosmos.group.v1.MsgWithdrawProposalResponse) => void; /** * Callback as used by {@link cosmos.group.v1.Msg#vote}. * @param error Error, if any * @param [response] MsgVoteResponse */ type VoteCallback = (error: (Error|null), response?: cosmos.group.v1.MsgVoteResponse) => void; /** * Callback as used by {@link cosmos.group.v1.Msg#exec}. * @param error Error, if any * @param [response] MsgExecResponse */ type ExecCallback = (error: (Error|null), response?: cosmos.group.v1.MsgExecResponse) => void; /** * Callback as used by {@link cosmos.group.v1.Msg#leaveGroup}. * @param error Error, if any * @param [response] MsgLeaveGroupResponse */ type LeaveGroupCallback = (error: (Error|null), response?: cosmos.group.v1.MsgLeaveGroupResponse) => void; } /** Properties of a MsgCreateGroup. */ interface IMsgCreateGroup { /** MsgCreateGroup admin */ admin?: (string|null); /** MsgCreateGroup members */ members?: (cosmos.group.v1.IMemberRequest[]|null); /** MsgCreateGroup metadata */ metadata?: (string|null); } /** Represents a MsgCreateGroup. */ class MsgCreateGroup implements IMsgCreateGroup { /** * Constructs a new MsgCreateGroup. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IMsgCreateGroup); /** MsgCreateGroup admin. */ public admin: string; /** MsgCreateGroup members. */ public members: cosmos.group.v1.IMemberRequest[]; /** MsgCreateGroup metadata. */ public metadata: string; /** * Encodes the specified MsgCreateGroup message. Does not implicitly {@link cosmos.group.v1.MsgCreateGroup.verify|verify} messages. * @param message MsgCreateGroup message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IMsgCreateGroup, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgCreateGroup message, length delimited. Does not implicitly {@link cosmos.group.v1.MsgCreateGroup.verify|verify} messages. * @param message MsgCreateGroup message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IMsgCreateGroup, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgCreateGroup message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgCreateGroup * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.MsgCreateGroup; /** * Decodes a MsgCreateGroup message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgCreateGroup * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.MsgCreateGroup; /** * Verifies a MsgCreateGroup message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgCreateGroup message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgCreateGroup */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.MsgCreateGroup; /** * Creates a plain object from a MsgCreateGroup message. Also converts values to other types if specified. * @param message MsgCreateGroup * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.MsgCreateGroup, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgCreateGroup to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgCreateGroupResponse. */ interface IMsgCreateGroupResponse { /** MsgCreateGroupResponse group_id */ group_id?: (Long|null); } /** Represents a MsgCreateGroupResponse. */ class MsgCreateGroupResponse implements IMsgCreateGroupResponse { /** * Constructs a new MsgCreateGroupResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IMsgCreateGroupResponse); /** MsgCreateGroupResponse group_id. */ public group_id: Long; /** * Encodes the specified MsgCreateGroupResponse message. Does not implicitly {@link cosmos.group.v1.MsgCreateGroupResponse.verify|verify} messages. * @param message MsgCreateGroupResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IMsgCreateGroupResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgCreateGroupResponse message, length delimited. Does not implicitly {@link cosmos.group.v1.MsgCreateGroupResponse.verify|verify} messages. * @param message MsgCreateGroupResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IMsgCreateGroupResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgCreateGroupResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgCreateGroupResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.MsgCreateGroupResponse; /** * Decodes a MsgCreateGroupResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgCreateGroupResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.MsgCreateGroupResponse; /** * Verifies a MsgCreateGroupResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgCreateGroupResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgCreateGroupResponse */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.MsgCreateGroupResponse; /** * Creates a plain object from a MsgCreateGroupResponse message. Also converts values to other types if specified. * @param message MsgCreateGroupResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.MsgCreateGroupResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgCreateGroupResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgUpdateGroupMembers. */ interface IMsgUpdateGroupMembers { /** MsgUpdateGroupMembers admin */ admin?: (string|null); /** MsgUpdateGroupMembers group_id */ group_id?: (Long|null); /** MsgUpdateGroupMembers member_updates */ member_updates?: (cosmos.group.v1.IMemberRequest[]|null); } /** Represents a MsgUpdateGroupMembers. */ class MsgUpdateGroupMembers implements IMsgUpdateGroupMembers { /** * Constructs a new MsgUpdateGroupMembers. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IMsgUpdateGroupMembers); /** MsgUpdateGroupMembers admin. */ public admin: string; /** MsgUpdateGroupMembers group_id. */ public group_id: Long; /** MsgUpdateGroupMembers member_updates. */ public member_updates: cosmos.group.v1.IMemberRequest[]; /** * Encodes the specified MsgUpdateGroupMembers message. Does not implicitly {@link cosmos.group.v1.MsgUpdateGroupMembers.verify|verify} messages. * @param message MsgUpdateGroupMembers message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IMsgUpdateGroupMembers, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgUpdateGroupMembers message, length delimited. Does not implicitly {@link cosmos.group.v1.MsgUpdateGroupMembers.verify|verify} messages. * @param message MsgUpdateGroupMembers message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IMsgUpdateGroupMembers, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgUpdateGroupMembers message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgUpdateGroupMembers * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.MsgUpdateGroupMembers; /** * Decodes a MsgUpdateGroupMembers message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgUpdateGroupMembers * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.MsgUpdateGroupMembers; /** * Verifies a MsgUpdateGroupMembers message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgUpdateGroupMembers message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgUpdateGroupMembers */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.MsgUpdateGroupMembers; /** * Creates a plain object from a MsgUpdateGroupMembers message. Also converts values to other types if specified. * @param message MsgUpdateGroupMembers * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.MsgUpdateGroupMembers, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgUpdateGroupMembers to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgUpdateGroupMembersResponse. */ interface IMsgUpdateGroupMembersResponse { } /** Represents a MsgUpdateGroupMembersResponse. */ class MsgUpdateGroupMembersResponse implements IMsgUpdateGroupMembersResponse { /** * Constructs a new MsgUpdateGroupMembersResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IMsgUpdateGroupMembersResponse); /** * Encodes the specified MsgUpdateGroupMembersResponse message. Does not implicitly {@link cosmos.group.v1.MsgUpdateGroupMembersResponse.verify|verify} messages. * @param message MsgUpdateGroupMembersResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IMsgUpdateGroupMembersResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgUpdateGroupMembersResponse message, length delimited. Does not implicitly {@link cosmos.group.v1.MsgUpdateGroupMembersResponse.verify|verify} messages. * @param message MsgUpdateGroupMembersResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IMsgUpdateGroupMembersResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgUpdateGroupMembersResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgUpdateGroupMembersResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.MsgUpdateGroupMembersResponse; /** * Decodes a MsgUpdateGroupMembersResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgUpdateGroupMembersResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.MsgUpdateGroupMembersResponse; /** * Verifies a MsgUpdateGroupMembersResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgUpdateGroupMembersResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgUpdateGroupMembersResponse */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.MsgUpdateGroupMembersResponse; /** * Creates a plain object from a MsgUpdateGroupMembersResponse message. Also converts values to other types if specified. * @param message MsgUpdateGroupMembersResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.MsgUpdateGroupMembersResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgUpdateGroupMembersResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgUpdateGroupAdmin. */ interface IMsgUpdateGroupAdmin { /** MsgUpdateGroupAdmin admin */ admin?: (string|null); /** MsgUpdateGroupAdmin group_id */ group_id?: (Long|null); /** MsgUpdateGroupAdmin new_admin */ new_admin?: (string|null); } /** Represents a MsgUpdateGroupAdmin. */ class MsgUpdateGroupAdmin implements IMsgUpdateGroupAdmin { /** * Constructs a new MsgUpdateGroupAdmin. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IMsgUpdateGroupAdmin); /** MsgUpdateGroupAdmin admin. */ public admin: string; /** MsgUpdateGroupAdmin group_id. */ public group_id: Long; /** MsgUpdateGroupAdmin new_admin. */ public new_admin: string; /** * Encodes the specified MsgUpdateGroupAdmin message. Does not implicitly {@link cosmos.group.v1.MsgUpdateGroupAdmin.verify|verify} messages. * @param message MsgUpdateGroupAdmin message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IMsgUpdateGroupAdmin, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgUpdateGroupAdmin message, length delimited. Does not implicitly {@link cosmos.group.v1.MsgUpdateGroupAdmin.verify|verify} messages. * @param message MsgUpdateGroupAdmin message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IMsgUpdateGroupAdmin, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgUpdateGroupAdmin message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgUpdateGroupAdmin * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.MsgUpdateGroupAdmin; /** * Decodes a MsgUpdateGroupAdmin message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgUpdateGroupAdmin * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.MsgUpdateGroupAdmin; /** * Verifies a MsgUpdateGroupAdmin message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgUpdateGroupAdmin message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgUpdateGroupAdmin */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.MsgUpdateGroupAdmin; /** * Creates a plain object from a MsgUpdateGroupAdmin message. Also converts values to other types if specified. * @param message MsgUpdateGroupAdmin * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.MsgUpdateGroupAdmin, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgUpdateGroupAdmin to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgUpdateGroupAdminResponse. */ interface IMsgUpdateGroupAdminResponse { } /** Represents a MsgUpdateGroupAdminResponse. */ class MsgUpdateGroupAdminResponse implements IMsgUpdateGroupAdminResponse { /** * Constructs a new MsgUpdateGroupAdminResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IMsgUpdateGroupAdminResponse); /** * Encodes the specified MsgUpdateGroupAdminResponse message. Does not implicitly {@link cosmos.group.v1.MsgUpdateGroupAdminResponse.verify|verify} messages. * @param message MsgUpdateGroupAdminResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IMsgUpdateGroupAdminResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgUpdateGroupAdminResponse message, length delimited. Does not implicitly {@link cosmos.group.v1.MsgUpdateGroupAdminResponse.verify|verify} messages. * @param message MsgUpdateGroupAdminResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IMsgUpdateGroupAdminResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgUpdateGroupAdminResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgUpdateGroupAdminResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.MsgUpdateGroupAdminResponse; /** * Decodes a MsgUpdateGroupAdminResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgUpdateGroupAdminResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.MsgUpdateGroupAdminResponse; /** * Verifies a MsgUpdateGroupAdminResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgUpdateGroupAdminResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgUpdateGroupAdminResponse */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.MsgUpdateGroupAdminResponse; /** * Creates a plain object from a MsgUpdateGroupAdminResponse message. Also converts values to other types if specified. * @param message MsgUpdateGroupAdminResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.MsgUpdateGroupAdminResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgUpdateGroupAdminResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgUpdateGroupMetadata. */ interface IMsgUpdateGroupMetadata { /** MsgUpdateGroupMetadata admin */ admin?: (string|null); /** MsgUpdateGroupMetadata group_id */ group_id?: (Long|null); /** MsgUpdateGroupMetadata metadata */ metadata?: (string|null); } /** Represents a MsgUpdateGroupMetadata. */ class MsgUpdateGroupMetadata implements IMsgUpdateGroupMetadata { /** * Constructs a new MsgUpdateGroupMetadata. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IMsgUpdateGroupMetadata); /** MsgUpdateGroupMetadata admin. */ public admin: string; /** MsgUpdateGroupMetadata group_id. */ public group_id: Long; /** MsgUpdateGroupMetadata metadata. */ public metadata: string; /** * Encodes the specified MsgUpdateGroupMetadata message. Does not implicitly {@link cosmos.group.v1.MsgUpdateGroupMetadata.verify|verify} messages. * @param message MsgUpdateGroupMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IMsgUpdateGroupMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgUpdateGroupMetadata message, length delimited. Does not implicitly {@link cosmos.group.v1.MsgUpdateGroupMetadata.verify|verify} messages. * @param message MsgUpdateGroupMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IMsgUpdateGroupMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgUpdateGroupMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgUpdateGroupMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.MsgUpdateGroupMetadata; /** * Decodes a MsgUpdateGroupMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgUpdateGroupMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.MsgUpdateGroupMetadata; /** * Verifies a MsgUpdateGroupMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgUpdateGroupMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgUpdateGroupMetadata */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.MsgUpdateGroupMetadata; /** * Creates a plain object from a MsgUpdateGroupMetadata message. Also converts values to other types if specified. * @param message MsgUpdateGroupMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.MsgUpdateGroupMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgUpdateGroupMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgUpdateGroupMetadataResponse. */ interface IMsgUpdateGroupMetadataResponse { } /** Represents a MsgUpdateGroupMetadataResponse. */ class MsgUpdateGroupMetadataResponse implements IMsgUpdateGroupMetadataResponse { /** * Constructs a new MsgUpdateGroupMetadataResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IMsgUpdateGroupMetadataResponse); /** * Encodes the specified MsgUpdateGroupMetadataResponse message. Does not implicitly {@link cosmos.group.v1.MsgUpdateGroupMetadataResponse.verify|verify} messages. * @param message MsgUpdateGroupMetadataResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IMsgUpdateGroupMetadataResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgUpdateGroupMetadataResponse message, length delimited. Does not implicitly {@link cosmos.group.v1.MsgUpdateGroupMetadataResponse.verify|verify} messages. * @param message MsgUpdateGroupMetadataResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IMsgUpdateGroupMetadataResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgUpdateGroupMetadataResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgUpdateGroupMetadataResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.MsgUpdateGroupMetadataResponse; /** * Decodes a MsgUpdateGroupMetadataResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgUpdateGroupMetadataResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.MsgUpdateGroupMetadataResponse; /** * Verifies a MsgUpdateGroupMetadataResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgUpdateGroupMetadataResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgUpdateGroupMetadataResponse */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.MsgUpdateGroupMetadataResponse; /** * Creates a plain object from a MsgUpdateGroupMetadataResponse message. Also converts values to other types if specified. * @param message MsgUpdateGroupMetadataResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.MsgUpdateGroupMetadataResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgUpdateGroupMetadataResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgCreateGroupPolicy. */ interface IMsgCreateGroupPolicy { /** MsgCreateGroupPolicy admin */ admin?: (string|null); /** MsgCreateGroupPolicy group_id */ group_id?: (Long|null); /** MsgCreateGroupPolicy metadata */ metadata?: (string|null); /** MsgCreateGroupPolicy decision_policy */ decision_policy?: (google.protobuf.IAny|null); } /** Represents a MsgCreateGroupPolicy. */ class MsgCreateGroupPolicy implements IMsgCreateGroupPolicy { /** * Constructs a new MsgCreateGroupPolicy. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IMsgCreateGroupPolicy); /** MsgCreateGroupPolicy admin. */ public admin: string; /** MsgCreateGroupPolicy group_id. */ public group_id: Long; /** MsgCreateGroupPolicy metadata. */ public metadata: string; /** MsgCreateGroupPolicy decision_policy. */ public decision_policy?: (google.protobuf.IAny|null); /** * Encodes the specified MsgCreateGroupPolicy message. Does not implicitly {@link cosmos.group.v1.MsgCreateGroupPolicy.verify|verify} messages. * @param message MsgCreateGroupPolicy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IMsgCreateGroupPolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgCreateGroupPolicy message, length delimited. Does not implicitly {@link cosmos.group.v1.MsgCreateGroupPolicy.verify|verify} messages. * @param message MsgCreateGroupPolicy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IMsgCreateGroupPolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgCreateGroupPolicy message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgCreateGroupPolicy * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.MsgCreateGroupPolicy; /** * Decodes a MsgCreateGroupPolicy message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgCreateGroupPolicy * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.MsgCreateGroupPolicy; /** * Verifies a MsgCreateGroupPolicy message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgCreateGroupPolicy message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgCreateGroupPolicy */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.MsgCreateGroupPolicy; /** * Creates a plain object from a MsgCreateGroupPolicy message. Also converts values to other types if specified. * @param message MsgCreateGroupPolicy * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.MsgCreateGroupPolicy, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgCreateGroupPolicy to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgCreateGroupPolicyResponse. */ interface IMsgCreateGroupPolicyResponse { /** MsgCreateGroupPolicyResponse address */ address?: (string|null); } /** Represents a MsgCreateGroupPolicyResponse. */ class MsgCreateGroupPolicyResponse implements IMsgCreateGroupPolicyResponse { /** * Constructs a new MsgCreateGroupPolicyResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IMsgCreateGroupPolicyResponse); /** MsgCreateGroupPolicyResponse address. */ public address: string; /** * Encodes the specified MsgCreateGroupPolicyResponse message. Does not implicitly {@link cosmos.group.v1.MsgCreateGroupPolicyResponse.verify|verify} messages. * @param message MsgCreateGroupPolicyResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IMsgCreateGroupPolicyResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgCreateGroupPolicyResponse message, length delimited. Does not implicitly {@link cosmos.group.v1.MsgCreateGroupPolicyResponse.verify|verify} messages. * @param message MsgCreateGroupPolicyResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IMsgCreateGroupPolicyResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgCreateGroupPolicyResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgCreateGroupPolicyResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.MsgCreateGroupPolicyResponse; /** * Decodes a MsgCreateGroupPolicyResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgCreateGroupPolicyResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.MsgCreateGroupPolicyResponse; /** * Verifies a MsgCreateGroupPolicyResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgCreateGroupPolicyResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgCreateGroupPolicyResponse */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.MsgCreateGroupPolicyResponse; /** * Creates a plain object from a MsgCreateGroupPolicyResponse message. Also converts values to other types if specified. * @param message MsgCreateGroupPolicyResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.MsgCreateGroupPolicyResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgCreateGroupPolicyResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgUpdateGroupPolicyAdmin. */ interface IMsgUpdateGroupPolicyAdmin { /** MsgUpdateGroupPolicyAdmin admin */ admin?: (string|null); /** MsgUpdateGroupPolicyAdmin group_policy_address */ group_policy_address?: (string|null); /** MsgUpdateGroupPolicyAdmin new_admin */ new_admin?: (string|null); } /** Represents a MsgUpdateGroupPolicyAdmin. */ class MsgUpdateGroupPolicyAdmin implements IMsgUpdateGroupPolicyAdmin { /** * Constructs a new MsgUpdateGroupPolicyAdmin. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IMsgUpdateGroupPolicyAdmin); /** MsgUpdateGroupPolicyAdmin admin. */ public admin: string; /** MsgUpdateGroupPolicyAdmin group_policy_address. */ public group_policy_address: string; /** MsgUpdateGroupPolicyAdmin new_admin. */ public new_admin: string; /** * Encodes the specified MsgUpdateGroupPolicyAdmin message. Does not implicitly {@link cosmos.group.v1.MsgUpdateGroupPolicyAdmin.verify|verify} messages. * @param message MsgUpdateGroupPolicyAdmin message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IMsgUpdateGroupPolicyAdmin, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgUpdateGroupPolicyAdmin message, length delimited. Does not implicitly {@link cosmos.group.v1.MsgUpdateGroupPolicyAdmin.verify|verify} messages. * @param message MsgUpdateGroupPolicyAdmin message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IMsgUpdateGroupPolicyAdmin, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgUpdateGroupPolicyAdmin message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgUpdateGroupPolicyAdmin * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.MsgUpdateGroupPolicyAdmin; /** * Decodes a MsgUpdateGroupPolicyAdmin message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgUpdateGroupPolicyAdmin * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.MsgUpdateGroupPolicyAdmin; /** * Verifies a MsgUpdateGroupPolicyAdmin message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgUpdateGroupPolicyAdmin message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgUpdateGroupPolicyAdmin */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.MsgUpdateGroupPolicyAdmin; /** * Creates a plain object from a MsgUpdateGroupPolicyAdmin message. Also converts values to other types if specified. * @param message MsgUpdateGroupPolicyAdmin * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.MsgUpdateGroupPolicyAdmin, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgUpdateGroupPolicyAdmin to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgUpdateGroupPolicyAdminResponse. */ interface IMsgUpdateGroupPolicyAdminResponse { } /** Represents a MsgUpdateGroupPolicyAdminResponse. */ class MsgUpdateGroupPolicyAdminResponse implements IMsgUpdateGroupPolicyAdminResponse { /** * Constructs a new MsgUpdateGroupPolicyAdminResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IMsgUpdateGroupPolicyAdminResponse); /** * Encodes the specified MsgUpdateGroupPolicyAdminResponse message. Does not implicitly {@link cosmos.group.v1.MsgUpdateGroupPolicyAdminResponse.verify|verify} messages. * @param message MsgUpdateGroupPolicyAdminResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IMsgUpdateGroupPolicyAdminResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgUpdateGroupPolicyAdminResponse message, length delimited. Does not implicitly {@link cosmos.group.v1.MsgUpdateGroupPolicyAdminResponse.verify|verify} messages. * @param message MsgUpdateGroupPolicyAdminResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IMsgUpdateGroupPolicyAdminResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgUpdateGroupPolicyAdminResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgUpdateGroupPolicyAdminResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.MsgUpdateGroupPolicyAdminResponse; /** * Decodes a MsgUpdateGroupPolicyAdminResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgUpdateGroupPolicyAdminResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.MsgUpdateGroupPolicyAdminResponse; /** * Verifies a MsgUpdateGroupPolicyAdminResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgUpdateGroupPolicyAdminResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgUpdateGroupPolicyAdminResponse */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.MsgUpdateGroupPolicyAdminResponse; /** * Creates a plain object from a MsgUpdateGroupPolicyAdminResponse message. Also converts values to other types if specified. * @param message MsgUpdateGroupPolicyAdminResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.MsgUpdateGroupPolicyAdminResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgUpdateGroupPolicyAdminResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgCreateGroupWithPolicy. */ interface IMsgCreateGroupWithPolicy { /** MsgCreateGroupWithPolicy admin */ admin?: (string|null); /** MsgCreateGroupWithPolicy members */ members?: (cosmos.group.v1.IMemberRequest[]|null); /** MsgCreateGroupWithPolicy group_metadata */ group_metadata?: (string|null); /** MsgCreateGroupWithPolicy group_policy_metadata */ group_policy_metadata?: (string|null); /** MsgCreateGroupWithPolicy group_policy_as_admin */ group_policy_as_admin?: (boolean|null); /** MsgCreateGroupWithPolicy decision_policy */ decision_policy?: (google.protobuf.IAny|null); } /** Represents a MsgCreateGroupWithPolicy. */ class MsgCreateGroupWithPolicy implements IMsgCreateGroupWithPolicy { /** * Constructs a new MsgCreateGroupWithPolicy. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IMsgCreateGroupWithPolicy); /** MsgCreateGroupWithPolicy admin. */ public admin: string; /** MsgCreateGroupWithPolicy members. */ public members: cosmos.group.v1.IMemberRequest[]; /** MsgCreateGroupWithPolicy group_metadata. */ public group_metadata: string; /** MsgCreateGroupWithPolicy group_policy_metadata. */ public group_policy_metadata: string; /** MsgCreateGroupWithPolicy group_policy_as_admin. */ public group_policy_as_admin: boolean; /** MsgCreateGroupWithPolicy decision_policy. */ public decision_policy?: (google.protobuf.IAny|null); /** * Encodes the specified MsgCreateGroupWithPolicy message. Does not implicitly {@link cosmos.group.v1.MsgCreateGroupWithPolicy.verify|verify} messages. * @param message MsgCreateGroupWithPolicy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IMsgCreateGroupWithPolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgCreateGroupWithPolicy message, length delimited. Does not implicitly {@link cosmos.group.v1.MsgCreateGroupWithPolicy.verify|verify} messages. * @param message MsgCreateGroupWithPolicy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IMsgCreateGroupWithPolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgCreateGroupWithPolicy message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgCreateGroupWithPolicy * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.MsgCreateGroupWithPolicy; /** * Decodes a MsgCreateGroupWithPolicy message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgCreateGroupWithPolicy * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.MsgCreateGroupWithPolicy; /** * Verifies a MsgCreateGroupWithPolicy message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgCreateGroupWithPolicy message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgCreateGroupWithPolicy */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.MsgCreateGroupWithPolicy; /** * Creates a plain object from a MsgCreateGroupWithPolicy message. Also converts values to other types if specified. * @param message MsgCreateGroupWithPolicy * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.MsgCreateGroupWithPolicy, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgCreateGroupWithPolicy to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgCreateGroupWithPolicyResponse. */ interface IMsgCreateGroupWithPolicyResponse { /** MsgCreateGroupWithPolicyResponse group_id */ group_id?: (Long|null); /** MsgCreateGroupWithPolicyResponse group_policy_address */ group_policy_address?: (string|null); } /** Represents a MsgCreateGroupWithPolicyResponse. */ class MsgCreateGroupWithPolicyResponse implements IMsgCreateGroupWithPolicyResponse { /** * Constructs a new MsgCreateGroupWithPolicyResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IMsgCreateGroupWithPolicyResponse); /** MsgCreateGroupWithPolicyResponse group_id. */ public group_id: Long; /** MsgCreateGroupWithPolicyResponse group_policy_address. */ public group_policy_address: string; /** * Encodes the specified MsgCreateGroupWithPolicyResponse message. Does not implicitly {@link cosmos.group.v1.MsgCreateGroupWithPolicyResponse.verify|verify} messages. * @param message MsgCreateGroupWithPolicyResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IMsgCreateGroupWithPolicyResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgCreateGroupWithPolicyResponse message, length delimited. Does not implicitly {@link cosmos.group.v1.MsgCreateGroupWithPolicyResponse.verify|verify} messages. * @param message MsgCreateGroupWithPolicyResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IMsgCreateGroupWithPolicyResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgCreateGroupWithPolicyResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgCreateGroupWithPolicyResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.MsgCreateGroupWithPolicyResponse; /** * Decodes a MsgCreateGroupWithPolicyResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgCreateGroupWithPolicyResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.MsgCreateGroupWithPolicyResponse; /** * Verifies a MsgCreateGroupWithPolicyResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgCreateGroupWithPolicyResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgCreateGroupWithPolicyResponse */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.MsgCreateGroupWithPolicyResponse; /** * Creates a plain object from a MsgCreateGroupWithPolicyResponse message. Also converts values to other types if specified. * @param message MsgCreateGroupWithPolicyResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.MsgCreateGroupWithPolicyResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgCreateGroupWithPolicyResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgUpdateGroupPolicyDecisionPolicy. */ interface IMsgUpdateGroupPolicyDecisionPolicy { /** MsgUpdateGroupPolicyDecisionPolicy admin */ admin?: (string|null); /** MsgUpdateGroupPolicyDecisionPolicy group_policy_address */ group_policy_address?: (string|null); /** MsgUpdateGroupPolicyDecisionPolicy decision_policy */ decision_policy?: (google.protobuf.IAny|null); } /** Represents a MsgUpdateGroupPolicyDecisionPolicy. */ class MsgUpdateGroupPolicyDecisionPolicy implements IMsgUpdateGroupPolicyDecisionPolicy { /** * Constructs a new MsgUpdateGroupPolicyDecisionPolicy. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IMsgUpdateGroupPolicyDecisionPolicy); /** MsgUpdateGroupPolicyDecisionPolicy admin. */ public admin: string; /** MsgUpdateGroupPolicyDecisionPolicy group_policy_address. */ public group_policy_address: string; /** MsgUpdateGroupPolicyDecisionPolicy decision_policy. */ public decision_policy?: (google.protobuf.IAny|null); /** * Encodes the specified MsgUpdateGroupPolicyDecisionPolicy message. Does not implicitly {@link cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy.verify|verify} messages. * @param message MsgUpdateGroupPolicyDecisionPolicy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IMsgUpdateGroupPolicyDecisionPolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgUpdateGroupPolicyDecisionPolicy message, length delimited. Does not implicitly {@link cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy.verify|verify} messages. * @param message MsgUpdateGroupPolicyDecisionPolicy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IMsgUpdateGroupPolicyDecisionPolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgUpdateGroupPolicyDecisionPolicy message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgUpdateGroupPolicyDecisionPolicy * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy; /** * Decodes a MsgUpdateGroupPolicyDecisionPolicy message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgUpdateGroupPolicyDecisionPolicy * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy; /** * Verifies a MsgUpdateGroupPolicyDecisionPolicy message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgUpdateGroupPolicyDecisionPolicy message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgUpdateGroupPolicyDecisionPolicy */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy; /** * Creates a plain object from a MsgUpdateGroupPolicyDecisionPolicy message. Also converts values to other types if specified. * @param message MsgUpdateGroupPolicyDecisionPolicy * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgUpdateGroupPolicyDecisionPolicy to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgUpdateGroupPolicyDecisionPolicyResponse. */ interface IMsgUpdateGroupPolicyDecisionPolicyResponse { } /** Represents a MsgUpdateGroupPolicyDecisionPolicyResponse. */ class MsgUpdateGroupPolicyDecisionPolicyResponse implements IMsgUpdateGroupPolicyDecisionPolicyResponse { /** * Constructs a new MsgUpdateGroupPolicyDecisionPolicyResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IMsgUpdateGroupPolicyDecisionPolicyResponse); /** * Encodes the specified MsgUpdateGroupPolicyDecisionPolicyResponse message. Does not implicitly {@link cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicyResponse.verify|verify} messages. * @param message MsgUpdateGroupPolicyDecisionPolicyResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IMsgUpdateGroupPolicyDecisionPolicyResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgUpdateGroupPolicyDecisionPolicyResponse message, length delimited. Does not implicitly {@link cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicyResponse.verify|verify} messages. * @param message MsgUpdateGroupPolicyDecisionPolicyResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IMsgUpdateGroupPolicyDecisionPolicyResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgUpdateGroupPolicyDecisionPolicyResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgUpdateGroupPolicyDecisionPolicyResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicyResponse; /** * Decodes a MsgUpdateGroupPolicyDecisionPolicyResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgUpdateGroupPolicyDecisionPolicyResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicyResponse; /** * Verifies a MsgUpdateGroupPolicyDecisionPolicyResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgUpdateGroupPolicyDecisionPolicyResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgUpdateGroupPolicyDecisionPolicyResponse */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicyResponse; /** * Creates a plain object from a MsgUpdateGroupPolicyDecisionPolicyResponse message. Also converts values to other types if specified. * @param message MsgUpdateGroupPolicyDecisionPolicyResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicyResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgUpdateGroupPolicyDecisionPolicyResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgUpdateGroupPolicyMetadata. */ interface IMsgUpdateGroupPolicyMetadata { /** MsgUpdateGroupPolicyMetadata admin */ admin?: (string|null); /** MsgUpdateGroupPolicyMetadata group_policy_address */ group_policy_address?: (string|null); /** MsgUpdateGroupPolicyMetadata metadata */ metadata?: (string|null); } /** Represents a MsgUpdateGroupPolicyMetadata. */ class MsgUpdateGroupPolicyMetadata implements IMsgUpdateGroupPolicyMetadata { /** * Constructs a new MsgUpdateGroupPolicyMetadata. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IMsgUpdateGroupPolicyMetadata); /** MsgUpdateGroupPolicyMetadata admin. */ public admin: string; /** MsgUpdateGroupPolicyMetadata group_policy_address. */ public group_policy_address: string; /** MsgUpdateGroupPolicyMetadata metadata. */ public metadata: string; /** * Encodes the specified MsgUpdateGroupPolicyMetadata message. Does not implicitly {@link cosmos.group.v1.MsgUpdateGroupPolicyMetadata.verify|verify} messages. * @param message MsgUpdateGroupPolicyMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IMsgUpdateGroupPolicyMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgUpdateGroupPolicyMetadata message, length delimited. Does not implicitly {@link cosmos.group.v1.MsgUpdateGroupPolicyMetadata.verify|verify} messages. * @param message MsgUpdateGroupPolicyMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IMsgUpdateGroupPolicyMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgUpdateGroupPolicyMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgUpdateGroupPolicyMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.MsgUpdateGroupPolicyMetadata; /** * Decodes a MsgUpdateGroupPolicyMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgUpdateGroupPolicyMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.MsgUpdateGroupPolicyMetadata; /** * Verifies a MsgUpdateGroupPolicyMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgUpdateGroupPolicyMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgUpdateGroupPolicyMetadata */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.MsgUpdateGroupPolicyMetadata; /** * Creates a plain object from a MsgUpdateGroupPolicyMetadata message. Also converts values to other types if specified. * @param message MsgUpdateGroupPolicyMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.MsgUpdateGroupPolicyMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgUpdateGroupPolicyMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgUpdateGroupPolicyMetadataResponse. */ interface IMsgUpdateGroupPolicyMetadataResponse { } /** Represents a MsgUpdateGroupPolicyMetadataResponse. */ class MsgUpdateGroupPolicyMetadataResponse implements IMsgUpdateGroupPolicyMetadataResponse { /** * Constructs a new MsgUpdateGroupPolicyMetadataResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IMsgUpdateGroupPolicyMetadataResponse); /** * Encodes the specified MsgUpdateGroupPolicyMetadataResponse message. Does not implicitly {@link cosmos.group.v1.MsgUpdateGroupPolicyMetadataResponse.verify|verify} messages. * @param message MsgUpdateGroupPolicyMetadataResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IMsgUpdateGroupPolicyMetadataResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgUpdateGroupPolicyMetadataResponse message, length delimited. Does not implicitly {@link cosmos.group.v1.MsgUpdateGroupPolicyMetadataResponse.verify|verify} messages. * @param message MsgUpdateGroupPolicyMetadataResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IMsgUpdateGroupPolicyMetadataResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgUpdateGroupPolicyMetadataResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgUpdateGroupPolicyMetadataResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.MsgUpdateGroupPolicyMetadataResponse; /** * Decodes a MsgUpdateGroupPolicyMetadataResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgUpdateGroupPolicyMetadataResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.MsgUpdateGroupPolicyMetadataResponse; /** * Verifies a MsgUpdateGroupPolicyMetadataResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgUpdateGroupPolicyMetadataResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgUpdateGroupPolicyMetadataResponse */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.MsgUpdateGroupPolicyMetadataResponse; /** * Creates a plain object from a MsgUpdateGroupPolicyMetadataResponse message. Also converts values to other types if specified. * @param message MsgUpdateGroupPolicyMetadataResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.MsgUpdateGroupPolicyMetadataResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgUpdateGroupPolicyMetadataResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Exec enum. */ enum Exec { EXEC_UNSPECIFIED = 0, EXEC_TRY = 1 } /** Properties of a MsgSubmitProposal. */ interface IMsgSubmitProposal { /** MsgSubmitProposal group_policy_address */ group_policy_address?: (string|null); /** MsgSubmitProposal proposers */ proposers?: (string[]|null); /** MsgSubmitProposal metadata */ metadata?: (string|null); /** MsgSubmitProposal messages */ messages?: (google.protobuf.IAny[]|null); /** MsgSubmitProposal exec */ exec?: (cosmos.group.v1.Exec|null); /** MsgSubmitProposal title */ title?: (string|null); /** MsgSubmitProposal summary */ summary?: (string|null); } /** Represents a MsgSubmitProposal. */ class MsgSubmitProposal implements IMsgSubmitProposal { /** * Constructs a new MsgSubmitProposal. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IMsgSubmitProposal); /** MsgSubmitProposal group_policy_address. */ public group_policy_address: string; /** MsgSubmitProposal proposers. */ public proposers: string[]; /** MsgSubmitProposal metadata. */ public metadata: string; /** MsgSubmitProposal messages. */ public messages: google.protobuf.IAny[]; /** MsgSubmitProposal exec. */ public exec: cosmos.group.v1.Exec; /** MsgSubmitProposal title. */ public title: string; /** MsgSubmitProposal summary. */ public summary: string; /** * Encodes the specified MsgSubmitProposal message. Does not implicitly {@link cosmos.group.v1.MsgSubmitProposal.verify|verify} messages. * @param message MsgSubmitProposal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IMsgSubmitProposal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgSubmitProposal message, length delimited. Does not implicitly {@link cosmos.group.v1.MsgSubmitProposal.verify|verify} messages. * @param message MsgSubmitProposal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IMsgSubmitProposal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgSubmitProposal message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgSubmitProposal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.MsgSubmitProposal; /** * Decodes a MsgSubmitProposal message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgSubmitProposal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.MsgSubmitProposal; /** * Verifies a MsgSubmitProposal message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgSubmitProposal message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgSubmitProposal */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.MsgSubmitProposal; /** * Creates a plain object from a MsgSubmitProposal message. Also converts values to other types if specified. * @param message MsgSubmitProposal * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.MsgSubmitProposal, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgSubmitProposal to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgSubmitProposalResponse. */ interface IMsgSubmitProposalResponse { /** MsgSubmitProposalResponse proposal_id */ proposal_id?: (Long|null); } /** Represents a MsgSubmitProposalResponse. */ class MsgSubmitProposalResponse implements IMsgSubmitProposalResponse { /** * Constructs a new MsgSubmitProposalResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IMsgSubmitProposalResponse); /** MsgSubmitProposalResponse proposal_id. */ public proposal_id: Long; /** * Encodes the specified MsgSubmitProposalResponse message. Does not implicitly {@link cosmos.group.v1.MsgSubmitProposalResponse.verify|verify} messages. * @param message MsgSubmitProposalResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IMsgSubmitProposalResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgSubmitProposalResponse message, length delimited. Does not implicitly {@link cosmos.group.v1.MsgSubmitProposalResponse.verify|verify} messages. * @param message MsgSubmitProposalResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IMsgSubmitProposalResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgSubmitProposalResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgSubmitProposalResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.MsgSubmitProposalResponse; /** * Decodes a MsgSubmitProposalResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgSubmitProposalResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.MsgSubmitProposalResponse; /** * Verifies a MsgSubmitProposalResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgSubmitProposalResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgSubmitProposalResponse */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.MsgSubmitProposalResponse; /** * Creates a plain object from a MsgSubmitProposalResponse message. Also converts values to other types if specified. * @param message MsgSubmitProposalResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.MsgSubmitProposalResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgSubmitProposalResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgWithdrawProposal. */ interface IMsgWithdrawProposal { /** MsgWithdrawProposal proposal_id */ proposal_id?: (Long|null); /** MsgWithdrawProposal address */ address?: (string|null); } /** Represents a MsgWithdrawProposal. */ class MsgWithdrawProposal implements IMsgWithdrawProposal { /** * Constructs a new MsgWithdrawProposal. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IMsgWithdrawProposal); /** MsgWithdrawProposal proposal_id. */ public proposal_id: Long; /** MsgWithdrawProposal address. */ public address: string; /** * Encodes the specified MsgWithdrawProposal message. Does not implicitly {@link cosmos.group.v1.MsgWithdrawProposal.verify|verify} messages. * @param message MsgWithdrawProposal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IMsgWithdrawProposal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgWithdrawProposal message, length delimited. Does not implicitly {@link cosmos.group.v1.MsgWithdrawProposal.verify|verify} messages. * @param message MsgWithdrawProposal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IMsgWithdrawProposal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgWithdrawProposal message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgWithdrawProposal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.MsgWithdrawProposal; /** * Decodes a MsgWithdrawProposal message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgWithdrawProposal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.MsgWithdrawProposal; /** * Verifies a MsgWithdrawProposal message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgWithdrawProposal message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgWithdrawProposal */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.MsgWithdrawProposal; /** * Creates a plain object from a MsgWithdrawProposal message. Also converts values to other types if specified. * @param message MsgWithdrawProposal * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.MsgWithdrawProposal, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgWithdrawProposal to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgWithdrawProposalResponse. */ interface IMsgWithdrawProposalResponse { } /** Represents a MsgWithdrawProposalResponse. */ class MsgWithdrawProposalResponse implements IMsgWithdrawProposalResponse { /** * Constructs a new MsgWithdrawProposalResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IMsgWithdrawProposalResponse); /** * Encodes the specified MsgWithdrawProposalResponse message. Does not implicitly {@link cosmos.group.v1.MsgWithdrawProposalResponse.verify|verify} messages. * @param message MsgWithdrawProposalResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IMsgWithdrawProposalResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgWithdrawProposalResponse message, length delimited. Does not implicitly {@link cosmos.group.v1.MsgWithdrawProposalResponse.verify|verify} messages. * @param message MsgWithdrawProposalResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IMsgWithdrawProposalResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgWithdrawProposalResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgWithdrawProposalResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.MsgWithdrawProposalResponse; /** * Decodes a MsgWithdrawProposalResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgWithdrawProposalResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.MsgWithdrawProposalResponse; /** * Verifies a MsgWithdrawProposalResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgWithdrawProposalResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgWithdrawProposalResponse */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.MsgWithdrawProposalResponse; /** * Creates a plain object from a MsgWithdrawProposalResponse message. Also converts values to other types if specified. * @param message MsgWithdrawProposalResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.MsgWithdrawProposalResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgWithdrawProposalResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgVote. */ interface IMsgVote { /** MsgVote proposal_id */ proposal_id?: (Long|null); /** MsgVote voter */ voter?: (string|null); /** MsgVote option */ option?: (cosmos.group.v1.VoteOption|null); /** MsgVote metadata */ metadata?: (string|null); /** MsgVote exec */ exec?: (cosmos.group.v1.Exec|null); } /** Represents a MsgVote. */ class MsgVote implements IMsgVote { /** * Constructs a new MsgVote. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IMsgVote); /** MsgVote proposal_id. */ public proposal_id: Long; /** MsgVote voter. */ public voter: string; /** MsgVote option. */ public option: cosmos.group.v1.VoteOption; /** MsgVote metadata. */ public metadata: string; /** MsgVote exec. */ public exec: cosmos.group.v1.Exec; /** * Encodes the specified MsgVote message. Does not implicitly {@link cosmos.group.v1.MsgVote.verify|verify} messages. * @param message MsgVote message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IMsgVote, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgVote message, length delimited. Does not implicitly {@link cosmos.group.v1.MsgVote.verify|verify} messages. * @param message MsgVote message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IMsgVote, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgVote message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgVote * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.MsgVote; /** * Decodes a MsgVote message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgVote * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.MsgVote; /** * Verifies a MsgVote message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgVote message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgVote */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.MsgVote; /** * Creates a plain object from a MsgVote message. Also converts values to other types if specified. * @param message MsgVote * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.MsgVote, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgVote to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgVoteResponse. */ interface IMsgVoteResponse { } /** Represents a MsgVoteResponse. */ class MsgVoteResponse implements IMsgVoteResponse { /** * Constructs a new MsgVoteResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IMsgVoteResponse); /** * Encodes the specified MsgVoteResponse message. Does not implicitly {@link cosmos.group.v1.MsgVoteResponse.verify|verify} messages. * @param message MsgVoteResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IMsgVoteResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgVoteResponse message, length delimited. Does not implicitly {@link cosmos.group.v1.MsgVoteResponse.verify|verify} messages. * @param message MsgVoteResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IMsgVoteResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgVoteResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgVoteResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.MsgVoteResponse; /** * Decodes a MsgVoteResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgVoteResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.MsgVoteResponse; /** * Verifies a MsgVoteResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgVoteResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgVoteResponse */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.MsgVoteResponse; /** * Creates a plain object from a MsgVoteResponse message. Also converts values to other types if specified. * @param message MsgVoteResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.MsgVoteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgVoteResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgExec. */ interface IMsgExec { /** MsgExec proposal_id */ proposal_id?: (Long|null); /** MsgExec executor */ executor?: (string|null); } /** Represents a MsgExec. */ class MsgExec implements IMsgExec { /** * Constructs a new MsgExec. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IMsgExec); /** MsgExec proposal_id. */ public proposal_id: Long; /** MsgExec executor. */ public executor: string; /** * Encodes the specified MsgExec message. Does not implicitly {@link cosmos.group.v1.MsgExec.verify|verify} messages. * @param message MsgExec message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IMsgExec, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgExec message, length delimited. Does not implicitly {@link cosmos.group.v1.MsgExec.verify|verify} messages. * @param message MsgExec message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IMsgExec, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgExec message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgExec * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.MsgExec; /** * Decodes a MsgExec message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgExec * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.MsgExec; /** * Verifies a MsgExec message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgExec message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgExec */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.MsgExec; /** * Creates a plain object from a MsgExec message. Also converts values to other types if specified. * @param message MsgExec * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.MsgExec, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgExec to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgExecResponse. */ interface IMsgExecResponse { /** MsgExecResponse result */ result?: (cosmos.group.v1.ProposalExecutorResult|null); } /** Represents a MsgExecResponse. */ class MsgExecResponse implements IMsgExecResponse { /** * Constructs a new MsgExecResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IMsgExecResponse); /** MsgExecResponse result. */ public result: cosmos.group.v1.ProposalExecutorResult; /** * Encodes the specified MsgExecResponse message. Does not implicitly {@link cosmos.group.v1.MsgExecResponse.verify|verify} messages. * @param message MsgExecResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IMsgExecResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgExecResponse message, length delimited. Does not implicitly {@link cosmos.group.v1.MsgExecResponse.verify|verify} messages. * @param message MsgExecResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IMsgExecResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgExecResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgExecResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.MsgExecResponse; /** * Decodes a MsgExecResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgExecResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.MsgExecResponse; /** * Verifies a MsgExecResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgExecResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgExecResponse */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.MsgExecResponse; /** * Creates a plain object from a MsgExecResponse message. Also converts values to other types if specified. * @param message MsgExecResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.MsgExecResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgExecResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgLeaveGroup. */ interface IMsgLeaveGroup { /** MsgLeaveGroup address */ address?: (string|null); /** MsgLeaveGroup group_id */ group_id?: (Long|null); } /** Represents a MsgLeaveGroup. */ class MsgLeaveGroup implements IMsgLeaveGroup { /** * Constructs a new MsgLeaveGroup. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IMsgLeaveGroup); /** MsgLeaveGroup address. */ public address: string; /** MsgLeaveGroup group_id. */ public group_id: Long; /** * Encodes the specified MsgLeaveGroup message. Does not implicitly {@link cosmos.group.v1.MsgLeaveGroup.verify|verify} messages. * @param message MsgLeaveGroup message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IMsgLeaveGroup, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgLeaveGroup message, length delimited. Does not implicitly {@link cosmos.group.v1.MsgLeaveGroup.verify|verify} messages. * @param message MsgLeaveGroup message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IMsgLeaveGroup, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgLeaveGroup message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgLeaveGroup * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.MsgLeaveGroup; /** * Decodes a MsgLeaveGroup message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgLeaveGroup * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.MsgLeaveGroup; /** * Verifies a MsgLeaveGroup message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgLeaveGroup message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgLeaveGroup */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.MsgLeaveGroup; /** * Creates a plain object from a MsgLeaveGroup message. Also converts values to other types if specified. * @param message MsgLeaveGroup * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.MsgLeaveGroup, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgLeaveGroup to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgLeaveGroupResponse. */ interface IMsgLeaveGroupResponse { } /** Represents a MsgLeaveGroupResponse. */ class MsgLeaveGroupResponse implements IMsgLeaveGroupResponse { /** * Constructs a new MsgLeaveGroupResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IMsgLeaveGroupResponse); /** * Encodes the specified MsgLeaveGroupResponse message. Does not implicitly {@link cosmos.group.v1.MsgLeaveGroupResponse.verify|verify} messages. * @param message MsgLeaveGroupResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IMsgLeaveGroupResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgLeaveGroupResponse message, length delimited. Does not implicitly {@link cosmos.group.v1.MsgLeaveGroupResponse.verify|verify} messages. * @param message MsgLeaveGroupResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IMsgLeaveGroupResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgLeaveGroupResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgLeaveGroupResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.MsgLeaveGroupResponse; /** * Decodes a MsgLeaveGroupResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgLeaveGroupResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.MsgLeaveGroupResponse; /** * Verifies a MsgLeaveGroupResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgLeaveGroupResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgLeaveGroupResponse */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.MsgLeaveGroupResponse; /** * Creates a plain object from a MsgLeaveGroupResponse message. Also converts values to other types if specified. * @param message MsgLeaveGroupResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.MsgLeaveGroupResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgLeaveGroupResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GenesisState. */ interface IGenesisState { /** GenesisState group_seq */ group_seq?: (Long|null); /** GenesisState groups */ groups?: (cosmos.group.v1.IGroupInfo[]|null); /** GenesisState group_members */ group_members?: (cosmos.group.v1.IGroupMember[]|null); /** GenesisState group_policy_seq */ group_policy_seq?: (Long|null); /** GenesisState group_policies */ group_policies?: (cosmos.group.v1.IGroupPolicyInfo[]|null); /** GenesisState proposal_seq */ proposal_seq?: (Long|null); /** GenesisState proposals */ proposals?: (cosmos.group.v1.IProposal[]|null); /** GenesisState votes */ votes?: (cosmos.group.v1.IVote[]|null); } /** Represents a GenesisState. */ class GenesisState implements IGenesisState { /** * Constructs a new GenesisState. * @param [properties] Properties to set */ constructor(properties?: cosmos.group.v1.IGenesisState); /** GenesisState group_seq. */ public group_seq: Long; /** GenesisState groups. */ public groups: cosmos.group.v1.IGroupInfo[]; /** GenesisState group_members. */ public group_members: cosmos.group.v1.IGroupMember[]; /** GenesisState group_policy_seq. */ public group_policy_seq: Long; /** GenesisState group_policies. */ public group_policies: cosmos.group.v1.IGroupPolicyInfo[]; /** GenesisState proposal_seq. */ public proposal_seq: Long; /** GenesisState proposals. */ public proposals: cosmos.group.v1.IProposal[]; /** GenesisState votes. */ public votes: cosmos.group.v1.IVote[]; /** * Encodes the specified GenesisState message. Does not implicitly {@link cosmos.group.v1.GenesisState.verify|verify} messages. * @param message GenesisState message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.group.v1.IGenesisState, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GenesisState message, length delimited. Does not implicitly {@link cosmos.group.v1.GenesisState.verify|verify} messages. * @param message GenesisState message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.group.v1.IGenesisState, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GenesisState message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GenesisState * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.group.v1.GenesisState; /** * Decodes a GenesisState message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GenesisState * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.group.v1.GenesisState; /** * Verifies a GenesisState message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GenesisState message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GenesisState */ public static fromObject(object: { [k: string]: any }): cosmos.group.v1.GenesisState; /** * Creates a plain object from a GenesisState message. Also converts values to other types if specified. * @param message GenesisState * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.group.v1.GenesisState, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GenesisState to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace mint. */ namespace mint { /** Namespace module. */ namespace module { /** Namespace v1. */ namespace v1 { /** Properties of a Module. */ interface IModule { /** Module fee_collector_name */ fee_collector_name?: (string|null); /** Module authority */ authority?: (string|null); } /** Represents a Module. */ class Module implements IModule { /** * Constructs a new Module. * @param [properties] Properties to set */ constructor(properties?: cosmos.mint.module.v1.IModule); /** Module fee_collector_name. */ public fee_collector_name: string; /** Module authority. */ public authority: string; /** * Encodes the specified Module message. Does not implicitly {@link cosmos.mint.module.v1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.mint.module.v1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Module message, length delimited. Does not implicitly {@link cosmos.mint.module.v1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.mint.module.v1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Module message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.mint.module.v1.Module; /** * Decodes a Module message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.mint.module.v1.Module; /** * Verifies a Module message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Module message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Module */ public static fromObject(object: { [k: string]: any }): cosmos.mint.module.v1.Module; /** * Creates a plain object from a Module message. Also converts values to other types if specified. * @param message Module * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.mint.module.v1.Module, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Module to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace v1beta1. */ namespace v1beta1 { /** Represents a Query */ class Query extends $protobuf.rpc.Service { /** * Constructs a new Query service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls Params. * @param request QueryParamsRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryParamsResponse */ public params(request: cosmos.mint.v1beta1.IQueryParamsRequest, callback: cosmos.mint.v1beta1.Query.ParamsCallback): void; /** * Calls Params. * @param request QueryParamsRequest message or plain object * @returns Promise */ public params(request: cosmos.mint.v1beta1.IQueryParamsRequest): Promise; /** * Calls Inflation. * @param request QueryInflationRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryInflationResponse */ public inflation(request: cosmos.mint.v1beta1.IQueryInflationRequest, callback: cosmos.mint.v1beta1.Query.InflationCallback): void; /** * Calls Inflation. * @param request QueryInflationRequest message or plain object * @returns Promise */ public inflation(request: cosmos.mint.v1beta1.IQueryInflationRequest): Promise; /** * Calls AnnualProvisions. * @param request QueryAnnualProvisionsRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryAnnualProvisionsResponse */ public annualProvisions(request: cosmos.mint.v1beta1.IQueryAnnualProvisionsRequest, callback: cosmos.mint.v1beta1.Query.AnnualProvisionsCallback): void; /** * Calls AnnualProvisions. * @param request QueryAnnualProvisionsRequest message or plain object * @returns Promise */ public annualProvisions(request: cosmos.mint.v1beta1.IQueryAnnualProvisionsRequest): Promise; } namespace Query { /** * Callback as used by {@link cosmos.mint.v1beta1.Query#params}. * @param error Error, if any * @param [response] QueryParamsResponse */ type ParamsCallback = (error: (Error|null), response?: cosmos.mint.v1beta1.QueryParamsResponse) => void; /** * Callback as used by {@link cosmos.mint.v1beta1.Query#inflation}. * @param error Error, if any * @param [response] QueryInflationResponse */ type InflationCallback = (error: (Error|null), response?: cosmos.mint.v1beta1.QueryInflationResponse) => void; /** * Callback as used by {@link cosmos.mint.v1beta1.Query#annualProvisions}. * @param error Error, if any * @param [response] QueryAnnualProvisionsResponse */ type AnnualProvisionsCallback = (error: (Error|null), response?: cosmos.mint.v1beta1.QueryAnnualProvisionsResponse) => void; } /** Properties of a QueryParamsRequest. */ interface IQueryParamsRequest { } /** Represents a QueryParamsRequest. */ class QueryParamsRequest implements IQueryParamsRequest { /** * Constructs a new QueryParamsRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.mint.v1beta1.IQueryParamsRequest); /** * Encodes the specified QueryParamsRequest message. Does not implicitly {@link cosmos.mint.v1beta1.QueryParamsRequest.verify|verify} messages. * @param message QueryParamsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.mint.v1beta1.IQueryParamsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryParamsRequest message, length delimited. Does not implicitly {@link cosmos.mint.v1beta1.QueryParamsRequest.verify|verify} messages. * @param message QueryParamsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.mint.v1beta1.IQueryParamsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryParamsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryParamsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.mint.v1beta1.QueryParamsRequest; /** * Decodes a QueryParamsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryParamsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.mint.v1beta1.QueryParamsRequest; /** * Verifies a QueryParamsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryParamsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryParamsRequest */ public static fromObject(object: { [k: string]: any }): cosmos.mint.v1beta1.QueryParamsRequest; /** * Creates a plain object from a QueryParamsRequest message. Also converts values to other types if specified. * @param message QueryParamsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.mint.v1beta1.QueryParamsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryParamsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryParamsResponse. */ interface IQueryParamsResponse { /** QueryParamsResponse params */ params?: (cosmos.mint.v1beta1.IParams|null); } /** Represents a QueryParamsResponse. */ class QueryParamsResponse implements IQueryParamsResponse { /** * Constructs a new QueryParamsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.mint.v1beta1.IQueryParamsResponse); /** QueryParamsResponse params. */ public params?: (cosmos.mint.v1beta1.IParams|null); /** * Encodes the specified QueryParamsResponse message. Does not implicitly {@link cosmos.mint.v1beta1.QueryParamsResponse.verify|verify} messages. * @param message QueryParamsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.mint.v1beta1.IQueryParamsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryParamsResponse message, length delimited. Does not implicitly {@link cosmos.mint.v1beta1.QueryParamsResponse.verify|verify} messages. * @param message QueryParamsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.mint.v1beta1.IQueryParamsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryParamsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryParamsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.mint.v1beta1.QueryParamsResponse; /** * Decodes a QueryParamsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryParamsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.mint.v1beta1.QueryParamsResponse; /** * Verifies a QueryParamsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryParamsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryParamsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.mint.v1beta1.QueryParamsResponse; /** * Creates a plain object from a QueryParamsResponse message. Also converts values to other types if specified. * @param message QueryParamsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.mint.v1beta1.QueryParamsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryParamsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryInflationRequest. */ interface IQueryInflationRequest { } /** Represents a QueryInflationRequest. */ class QueryInflationRequest implements IQueryInflationRequest { /** * Constructs a new QueryInflationRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.mint.v1beta1.IQueryInflationRequest); /** * Encodes the specified QueryInflationRequest message. Does not implicitly {@link cosmos.mint.v1beta1.QueryInflationRequest.verify|verify} messages. * @param message QueryInflationRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.mint.v1beta1.IQueryInflationRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryInflationRequest message, length delimited. Does not implicitly {@link cosmos.mint.v1beta1.QueryInflationRequest.verify|verify} messages. * @param message QueryInflationRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.mint.v1beta1.IQueryInflationRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryInflationRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryInflationRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.mint.v1beta1.QueryInflationRequest; /** * Decodes a QueryInflationRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryInflationRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.mint.v1beta1.QueryInflationRequest; /** * Verifies a QueryInflationRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryInflationRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryInflationRequest */ public static fromObject(object: { [k: string]: any }): cosmos.mint.v1beta1.QueryInflationRequest; /** * Creates a plain object from a QueryInflationRequest message. Also converts values to other types if specified. * @param message QueryInflationRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.mint.v1beta1.QueryInflationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryInflationRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryInflationResponse. */ interface IQueryInflationResponse { /** QueryInflationResponse inflation */ inflation?: (Uint8Array|null); } /** Represents a QueryInflationResponse. */ class QueryInflationResponse implements IQueryInflationResponse { /** * Constructs a new QueryInflationResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.mint.v1beta1.IQueryInflationResponse); /** QueryInflationResponse inflation. */ public inflation: Uint8Array; /** * Encodes the specified QueryInflationResponse message. Does not implicitly {@link cosmos.mint.v1beta1.QueryInflationResponse.verify|verify} messages. * @param message QueryInflationResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.mint.v1beta1.IQueryInflationResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryInflationResponse message, length delimited. Does not implicitly {@link cosmos.mint.v1beta1.QueryInflationResponse.verify|verify} messages. * @param message QueryInflationResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.mint.v1beta1.IQueryInflationResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryInflationResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryInflationResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.mint.v1beta1.QueryInflationResponse; /** * Decodes a QueryInflationResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryInflationResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.mint.v1beta1.QueryInflationResponse; /** * Verifies a QueryInflationResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryInflationResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryInflationResponse */ public static fromObject(object: { [k: string]: any }): cosmos.mint.v1beta1.QueryInflationResponse; /** * Creates a plain object from a QueryInflationResponse message. Also converts values to other types if specified. * @param message QueryInflationResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.mint.v1beta1.QueryInflationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryInflationResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryAnnualProvisionsRequest. */ interface IQueryAnnualProvisionsRequest { } /** Represents a QueryAnnualProvisionsRequest. */ class QueryAnnualProvisionsRequest implements IQueryAnnualProvisionsRequest { /** * Constructs a new QueryAnnualProvisionsRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.mint.v1beta1.IQueryAnnualProvisionsRequest); /** * Encodes the specified QueryAnnualProvisionsRequest message. Does not implicitly {@link cosmos.mint.v1beta1.QueryAnnualProvisionsRequest.verify|verify} messages. * @param message QueryAnnualProvisionsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.mint.v1beta1.IQueryAnnualProvisionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryAnnualProvisionsRequest message, length delimited. Does not implicitly {@link cosmos.mint.v1beta1.QueryAnnualProvisionsRequest.verify|verify} messages. * @param message QueryAnnualProvisionsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.mint.v1beta1.IQueryAnnualProvisionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryAnnualProvisionsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryAnnualProvisionsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.mint.v1beta1.QueryAnnualProvisionsRequest; /** * Decodes a QueryAnnualProvisionsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryAnnualProvisionsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.mint.v1beta1.QueryAnnualProvisionsRequest; /** * Verifies a QueryAnnualProvisionsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryAnnualProvisionsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryAnnualProvisionsRequest */ public static fromObject(object: { [k: string]: any }): cosmos.mint.v1beta1.QueryAnnualProvisionsRequest; /** * Creates a plain object from a QueryAnnualProvisionsRequest message. Also converts values to other types if specified. * @param message QueryAnnualProvisionsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.mint.v1beta1.QueryAnnualProvisionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryAnnualProvisionsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryAnnualProvisionsResponse. */ interface IQueryAnnualProvisionsResponse { /** QueryAnnualProvisionsResponse annual_provisions */ annual_provisions?: (Uint8Array|null); } /** Represents a QueryAnnualProvisionsResponse. */ class QueryAnnualProvisionsResponse implements IQueryAnnualProvisionsResponse { /** * Constructs a new QueryAnnualProvisionsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.mint.v1beta1.IQueryAnnualProvisionsResponse); /** QueryAnnualProvisionsResponse annual_provisions. */ public annual_provisions: Uint8Array; /** * Encodes the specified QueryAnnualProvisionsResponse message. Does not implicitly {@link cosmos.mint.v1beta1.QueryAnnualProvisionsResponse.verify|verify} messages. * @param message QueryAnnualProvisionsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.mint.v1beta1.IQueryAnnualProvisionsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryAnnualProvisionsResponse message, length delimited. Does not implicitly {@link cosmos.mint.v1beta1.QueryAnnualProvisionsResponse.verify|verify} messages. * @param message QueryAnnualProvisionsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.mint.v1beta1.IQueryAnnualProvisionsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryAnnualProvisionsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryAnnualProvisionsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.mint.v1beta1.QueryAnnualProvisionsResponse; /** * Decodes a QueryAnnualProvisionsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryAnnualProvisionsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.mint.v1beta1.QueryAnnualProvisionsResponse; /** * Verifies a QueryAnnualProvisionsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryAnnualProvisionsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryAnnualProvisionsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.mint.v1beta1.QueryAnnualProvisionsResponse; /** * Creates a plain object from a QueryAnnualProvisionsResponse message. Also converts values to other types if specified. * @param message QueryAnnualProvisionsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.mint.v1beta1.QueryAnnualProvisionsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryAnnualProvisionsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Minter. */ interface IMinter { /** Minter inflation */ inflation?: (string|null); /** Minter annual_provisions */ annual_provisions?: (string|null); } /** Represents a Minter. */ class Minter implements IMinter { /** * Constructs a new Minter. * @param [properties] Properties to set */ constructor(properties?: cosmos.mint.v1beta1.IMinter); /** Minter inflation. */ public inflation: string; /** Minter annual_provisions. */ public annual_provisions: string; /** * Encodes the specified Minter message. Does not implicitly {@link cosmos.mint.v1beta1.Minter.verify|verify} messages. * @param message Minter message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.mint.v1beta1.IMinter, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Minter message, length delimited. Does not implicitly {@link cosmos.mint.v1beta1.Minter.verify|verify} messages. * @param message Minter message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.mint.v1beta1.IMinter, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Minter message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Minter * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.mint.v1beta1.Minter; /** * Decodes a Minter message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Minter * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.mint.v1beta1.Minter; /** * Verifies a Minter message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Minter message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Minter */ public static fromObject(object: { [k: string]: any }): cosmos.mint.v1beta1.Minter; /** * Creates a plain object from a Minter message. Also converts values to other types if specified. * @param message Minter * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.mint.v1beta1.Minter, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Minter to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Params. */ interface IParams { /** Params mint_denom */ mint_denom?: (string|null); /** Params inflation_rate_change */ inflation_rate_change?: (string|null); /** Params inflation_max */ inflation_max?: (string|null); /** Params inflation_min */ inflation_min?: (string|null); /** Params goal_bonded */ goal_bonded?: (string|null); /** Params blocks_per_year */ blocks_per_year?: (Long|null); } /** Represents a Params. */ class Params implements IParams { /** * Constructs a new Params. * @param [properties] Properties to set */ constructor(properties?: cosmos.mint.v1beta1.IParams); /** Params mint_denom. */ public mint_denom: string; /** Params inflation_rate_change. */ public inflation_rate_change: string; /** Params inflation_max. */ public inflation_max: string; /** Params inflation_min. */ public inflation_min: string; /** Params goal_bonded. */ public goal_bonded: string; /** Params blocks_per_year. */ public blocks_per_year: Long; /** * Encodes the specified Params message. Does not implicitly {@link cosmos.mint.v1beta1.Params.verify|verify} messages. * @param message Params message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.mint.v1beta1.IParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Params message, length delimited. Does not implicitly {@link cosmos.mint.v1beta1.Params.verify|verify} messages. * @param message Params message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.mint.v1beta1.IParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Params message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Params * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.mint.v1beta1.Params; /** * Decodes a Params message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Params * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.mint.v1beta1.Params; /** * Verifies a Params message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Params message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Params */ public static fromObject(object: { [k: string]: any }): cosmos.mint.v1beta1.Params; /** * Creates a plain object from a Params message. Also converts values to other types if specified. * @param message Params * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.mint.v1beta1.Params, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Params to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Represents a Msg */ class Msg extends $protobuf.rpc.Service { /** * Constructs a new Msg service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls UpdateParams. * @param request MsgUpdateParams message or plain object * @param callback Node-style callback called with the error, if any, and MsgUpdateParamsResponse */ public updateParams(request: cosmos.mint.v1beta1.IMsgUpdateParams, callback: cosmos.mint.v1beta1.Msg.UpdateParamsCallback): void; /** * Calls UpdateParams. * @param request MsgUpdateParams message or plain object * @returns Promise */ public updateParams(request: cosmos.mint.v1beta1.IMsgUpdateParams): Promise; } namespace Msg { /** * Callback as used by {@link cosmos.mint.v1beta1.Msg#updateParams}. * @param error Error, if any * @param [response] MsgUpdateParamsResponse */ type UpdateParamsCallback = (error: (Error|null), response?: cosmos.mint.v1beta1.MsgUpdateParamsResponse) => void; } /** Properties of a MsgUpdateParams. */ interface IMsgUpdateParams { /** MsgUpdateParams authority */ authority?: (string|null); /** MsgUpdateParams params */ params?: (cosmos.mint.v1beta1.IParams|null); } /** Represents a MsgUpdateParams. */ class MsgUpdateParams implements IMsgUpdateParams { /** * Constructs a new MsgUpdateParams. * @param [properties] Properties to set */ constructor(properties?: cosmos.mint.v1beta1.IMsgUpdateParams); /** MsgUpdateParams authority. */ public authority: string; /** MsgUpdateParams params. */ public params?: (cosmos.mint.v1beta1.IParams|null); /** * Encodes the specified MsgUpdateParams message. Does not implicitly {@link cosmos.mint.v1beta1.MsgUpdateParams.verify|verify} messages. * @param message MsgUpdateParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.mint.v1beta1.IMsgUpdateParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgUpdateParams message, length delimited. Does not implicitly {@link cosmos.mint.v1beta1.MsgUpdateParams.verify|verify} messages. * @param message MsgUpdateParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.mint.v1beta1.IMsgUpdateParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgUpdateParams message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgUpdateParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.mint.v1beta1.MsgUpdateParams; /** * Decodes a MsgUpdateParams message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgUpdateParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.mint.v1beta1.MsgUpdateParams; /** * Verifies a MsgUpdateParams message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgUpdateParams message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgUpdateParams */ public static fromObject(object: { [k: string]: any }): cosmos.mint.v1beta1.MsgUpdateParams; /** * Creates a plain object from a MsgUpdateParams message. Also converts values to other types if specified. * @param message MsgUpdateParams * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.mint.v1beta1.MsgUpdateParams, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgUpdateParams to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgUpdateParamsResponse. */ interface IMsgUpdateParamsResponse { } /** Represents a MsgUpdateParamsResponse. */ class MsgUpdateParamsResponse implements IMsgUpdateParamsResponse { /** * Constructs a new MsgUpdateParamsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.mint.v1beta1.IMsgUpdateParamsResponse); /** * Encodes the specified MsgUpdateParamsResponse message. Does not implicitly {@link cosmos.mint.v1beta1.MsgUpdateParamsResponse.verify|verify} messages. * @param message MsgUpdateParamsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.mint.v1beta1.IMsgUpdateParamsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgUpdateParamsResponse message, length delimited. Does not implicitly {@link cosmos.mint.v1beta1.MsgUpdateParamsResponse.verify|verify} messages. * @param message MsgUpdateParamsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.mint.v1beta1.IMsgUpdateParamsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgUpdateParamsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgUpdateParamsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.mint.v1beta1.MsgUpdateParamsResponse; /** * Decodes a MsgUpdateParamsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgUpdateParamsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.mint.v1beta1.MsgUpdateParamsResponse; /** * Verifies a MsgUpdateParamsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgUpdateParamsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgUpdateParamsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.mint.v1beta1.MsgUpdateParamsResponse; /** * Creates a plain object from a MsgUpdateParamsResponse message. Also converts values to other types if specified. * @param message MsgUpdateParamsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.mint.v1beta1.MsgUpdateParamsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgUpdateParamsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GenesisState. */ interface IGenesisState { /** GenesisState minter */ minter?: (cosmos.mint.v1beta1.IMinter|null); /** GenesisState params */ params?: (cosmos.mint.v1beta1.IParams|null); } /** Represents a GenesisState. */ class GenesisState implements IGenesisState { /** * Constructs a new GenesisState. * @param [properties] Properties to set */ constructor(properties?: cosmos.mint.v1beta1.IGenesisState); /** GenesisState minter. */ public minter?: (cosmos.mint.v1beta1.IMinter|null); /** GenesisState params. */ public params?: (cosmos.mint.v1beta1.IParams|null); /** * Encodes the specified GenesisState message. Does not implicitly {@link cosmos.mint.v1beta1.GenesisState.verify|verify} messages. * @param message GenesisState message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.mint.v1beta1.IGenesisState, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GenesisState message, length delimited. Does not implicitly {@link cosmos.mint.v1beta1.GenesisState.verify|verify} messages. * @param message GenesisState message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.mint.v1beta1.IGenesisState, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GenesisState message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GenesisState * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.mint.v1beta1.GenesisState; /** * Decodes a GenesisState message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GenesisState * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.mint.v1beta1.GenesisState; /** * Verifies a GenesisState message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GenesisState message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GenesisState */ public static fromObject(object: { [k: string]: any }): cosmos.mint.v1beta1.GenesisState; /** * Creates a plain object from a GenesisState message. Also converts values to other types if specified. * @param message GenesisState * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.mint.v1beta1.GenesisState, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GenesisState to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace nft. */ namespace nft { /** Namespace module. */ namespace module { /** Namespace v1. */ namespace v1 { /** Properties of a Module. */ interface IModule { } /** Represents a Module. */ class Module implements IModule { /** * Constructs a new Module. * @param [properties] Properties to set */ constructor(properties?: cosmos.nft.module.v1.IModule); /** * Encodes the specified Module message. Does not implicitly {@link cosmos.nft.module.v1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.nft.module.v1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Module message, length delimited. Does not implicitly {@link cosmos.nft.module.v1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.nft.module.v1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Module message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.nft.module.v1.Module; /** * Decodes a Module message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.nft.module.v1.Module; /** * Verifies a Module message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Module message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Module */ public static fromObject(object: { [k: string]: any }): cosmos.nft.module.v1.Module; /** * Creates a plain object from a Module message. Also converts values to other types if specified. * @param message Module * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.nft.module.v1.Module, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Module to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace v1beta1. */ namespace v1beta1 { /** Represents a Query */ class Query extends $protobuf.rpc.Service { /** * Constructs a new Query service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls Balance. * @param request QueryBalanceRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryBalanceResponse */ public balance(request: cosmos.nft.v1beta1.IQueryBalanceRequest, callback: cosmos.nft.v1beta1.Query.BalanceCallback): void; /** * Calls Balance. * @param request QueryBalanceRequest message or plain object * @returns Promise */ public balance(request: cosmos.nft.v1beta1.IQueryBalanceRequest): Promise; /** * Calls Owner. * @param request QueryOwnerRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryOwnerResponse */ public owner(request: cosmos.nft.v1beta1.IQueryOwnerRequest, callback: cosmos.nft.v1beta1.Query.OwnerCallback): void; /** * Calls Owner. * @param request QueryOwnerRequest message or plain object * @returns Promise */ public owner(request: cosmos.nft.v1beta1.IQueryOwnerRequest): Promise; /** * Calls Supply. * @param request QuerySupplyRequest message or plain object * @param callback Node-style callback called with the error, if any, and QuerySupplyResponse */ public supply(request: cosmos.nft.v1beta1.IQuerySupplyRequest, callback: cosmos.nft.v1beta1.Query.SupplyCallback): void; /** * Calls Supply. * @param request QuerySupplyRequest message or plain object * @returns Promise */ public supply(request: cosmos.nft.v1beta1.IQuerySupplyRequest): Promise; /** * Calls NFTs. * @param request QueryNFTsRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryNFTsResponse */ public nFTs(request: cosmos.nft.v1beta1.IQueryNFTsRequest, callback: cosmos.nft.v1beta1.Query.NFTsCallback): void; /** * Calls NFTs. * @param request QueryNFTsRequest message or plain object * @returns Promise */ public nFTs(request: cosmos.nft.v1beta1.IQueryNFTsRequest): Promise; /** * Calls NFT. * @param request QueryNFTRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryNFTResponse */ public nFT(request: cosmos.nft.v1beta1.IQueryNFTRequest, callback: cosmos.nft.v1beta1.Query.NFTCallback): void; /** * Calls NFT. * @param request QueryNFTRequest message or plain object * @returns Promise */ public nFT(request: cosmos.nft.v1beta1.IQueryNFTRequest): Promise; /** * Calls Class. * @param request QueryClassRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryClassResponse */ public class(request: cosmos.nft.v1beta1.IQueryClassRequest, callback: cosmos.nft.v1beta1.Query.ClassCallback): void; /** * Calls Class. * @param request QueryClassRequest message or plain object * @returns Promise */ public class(request: cosmos.nft.v1beta1.IQueryClassRequest): Promise; /** * Calls Classes. * @param request QueryClassesRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryClassesResponse */ public classes(request: cosmos.nft.v1beta1.IQueryClassesRequest, callback: cosmos.nft.v1beta1.Query.ClassesCallback): void; /** * Calls Classes. * @param request QueryClassesRequest message or plain object * @returns Promise */ public classes(request: cosmos.nft.v1beta1.IQueryClassesRequest): Promise; } namespace Query { /** * Callback as used by {@link cosmos.nft.v1beta1.Query#balance}. * @param error Error, if any * @param [response] QueryBalanceResponse */ type BalanceCallback = (error: (Error|null), response?: cosmos.nft.v1beta1.QueryBalanceResponse) => void; /** * Callback as used by {@link cosmos.nft.v1beta1.Query#owner}. * @param error Error, if any * @param [response] QueryOwnerResponse */ type OwnerCallback = (error: (Error|null), response?: cosmos.nft.v1beta1.QueryOwnerResponse) => void; /** * Callback as used by {@link cosmos.nft.v1beta1.Query#supply}. * @param error Error, if any * @param [response] QuerySupplyResponse */ type SupplyCallback = (error: (Error|null), response?: cosmos.nft.v1beta1.QuerySupplyResponse) => void; /** * Callback as used by {@link cosmos.nft.v1beta1.Query#nFTs}. * @param error Error, if any * @param [response] QueryNFTsResponse */ type NFTsCallback = (error: (Error|null), response?: cosmos.nft.v1beta1.QueryNFTsResponse) => void; /** * Callback as used by {@link cosmos.nft.v1beta1.Query#nFT}. * @param error Error, if any * @param [response] QueryNFTResponse */ type NFTCallback = (error: (Error|null), response?: cosmos.nft.v1beta1.QueryNFTResponse) => void; /** * Callback as used by {@link cosmos.nft.v1beta1.Query#class_}. * @param error Error, if any * @param [response] QueryClassResponse */ type ClassCallback = (error: (Error|null), response?: cosmos.nft.v1beta1.QueryClassResponse) => void; /** * Callback as used by {@link cosmos.nft.v1beta1.Query#classes}. * @param error Error, if any * @param [response] QueryClassesResponse */ type ClassesCallback = (error: (Error|null), response?: cosmos.nft.v1beta1.QueryClassesResponse) => void; } /** Properties of a QueryBalanceRequest. */ interface IQueryBalanceRequest { /** QueryBalanceRequest class_id */ class_id?: (string|null); /** QueryBalanceRequest owner */ owner?: (string|null); } /** Represents a QueryBalanceRequest. */ class QueryBalanceRequest implements IQueryBalanceRequest { /** * Constructs a new QueryBalanceRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.nft.v1beta1.IQueryBalanceRequest); /** QueryBalanceRequest class_id. */ public class_id: string; /** QueryBalanceRequest owner. */ public owner: string; /** * Encodes the specified QueryBalanceRequest message. Does not implicitly {@link cosmos.nft.v1beta1.QueryBalanceRequest.verify|verify} messages. * @param message QueryBalanceRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.nft.v1beta1.IQueryBalanceRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryBalanceRequest message, length delimited. Does not implicitly {@link cosmos.nft.v1beta1.QueryBalanceRequest.verify|verify} messages. * @param message QueryBalanceRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.nft.v1beta1.IQueryBalanceRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryBalanceRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryBalanceRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.nft.v1beta1.QueryBalanceRequest; /** * Decodes a QueryBalanceRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryBalanceRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.nft.v1beta1.QueryBalanceRequest; /** * Verifies a QueryBalanceRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryBalanceRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryBalanceRequest */ public static fromObject(object: { [k: string]: any }): cosmos.nft.v1beta1.QueryBalanceRequest; /** * Creates a plain object from a QueryBalanceRequest message. Also converts values to other types if specified. * @param message QueryBalanceRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.nft.v1beta1.QueryBalanceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryBalanceRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryBalanceResponse. */ interface IQueryBalanceResponse { /** QueryBalanceResponse amount */ amount?: (Long|null); } /** Represents a QueryBalanceResponse. */ class QueryBalanceResponse implements IQueryBalanceResponse { /** * Constructs a new QueryBalanceResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.nft.v1beta1.IQueryBalanceResponse); /** QueryBalanceResponse amount. */ public amount: Long; /** * Encodes the specified QueryBalanceResponse message. Does not implicitly {@link cosmos.nft.v1beta1.QueryBalanceResponse.verify|verify} messages. * @param message QueryBalanceResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.nft.v1beta1.IQueryBalanceResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryBalanceResponse message, length delimited. Does not implicitly {@link cosmos.nft.v1beta1.QueryBalanceResponse.verify|verify} messages. * @param message QueryBalanceResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.nft.v1beta1.IQueryBalanceResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryBalanceResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryBalanceResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.nft.v1beta1.QueryBalanceResponse; /** * Decodes a QueryBalanceResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryBalanceResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.nft.v1beta1.QueryBalanceResponse; /** * Verifies a QueryBalanceResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryBalanceResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryBalanceResponse */ public static fromObject(object: { [k: string]: any }): cosmos.nft.v1beta1.QueryBalanceResponse; /** * Creates a plain object from a QueryBalanceResponse message. Also converts values to other types if specified. * @param message QueryBalanceResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.nft.v1beta1.QueryBalanceResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryBalanceResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryOwnerRequest. */ interface IQueryOwnerRequest { /** QueryOwnerRequest class_id */ class_id?: (string|null); /** QueryOwnerRequest id */ id?: (string|null); } /** Represents a QueryOwnerRequest. */ class QueryOwnerRequest implements IQueryOwnerRequest { /** * Constructs a new QueryOwnerRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.nft.v1beta1.IQueryOwnerRequest); /** QueryOwnerRequest class_id. */ public class_id: string; /** QueryOwnerRequest id. */ public id: string; /** * Encodes the specified QueryOwnerRequest message. Does not implicitly {@link cosmos.nft.v1beta1.QueryOwnerRequest.verify|verify} messages. * @param message QueryOwnerRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.nft.v1beta1.IQueryOwnerRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryOwnerRequest message, length delimited. Does not implicitly {@link cosmos.nft.v1beta1.QueryOwnerRequest.verify|verify} messages. * @param message QueryOwnerRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.nft.v1beta1.IQueryOwnerRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryOwnerRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryOwnerRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.nft.v1beta1.QueryOwnerRequest; /** * Decodes a QueryOwnerRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryOwnerRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.nft.v1beta1.QueryOwnerRequest; /** * Verifies a QueryOwnerRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryOwnerRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryOwnerRequest */ public static fromObject(object: { [k: string]: any }): cosmos.nft.v1beta1.QueryOwnerRequest; /** * Creates a plain object from a QueryOwnerRequest message. Also converts values to other types if specified. * @param message QueryOwnerRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.nft.v1beta1.QueryOwnerRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryOwnerRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryOwnerResponse. */ interface IQueryOwnerResponse { /** QueryOwnerResponse owner */ owner?: (string|null); } /** Represents a QueryOwnerResponse. */ class QueryOwnerResponse implements IQueryOwnerResponse { /** * Constructs a new QueryOwnerResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.nft.v1beta1.IQueryOwnerResponse); /** QueryOwnerResponse owner. */ public owner: string; /** * Encodes the specified QueryOwnerResponse message. Does not implicitly {@link cosmos.nft.v1beta1.QueryOwnerResponse.verify|verify} messages. * @param message QueryOwnerResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.nft.v1beta1.IQueryOwnerResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryOwnerResponse message, length delimited. Does not implicitly {@link cosmos.nft.v1beta1.QueryOwnerResponse.verify|verify} messages. * @param message QueryOwnerResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.nft.v1beta1.IQueryOwnerResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryOwnerResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryOwnerResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.nft.v1beta1.QueryOwnerResponse; /** * Decodes a QueryOwnerResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryOwnerResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.nft.v1beta1.QueryOwnerResponse; /** * Verifies a QueryOwnerResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryOwnerResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryOwnerResponse */ public static fromObject(object: { [k: string]: any }): cosmos.nft.v1beta1.QueryOwnerResponse; /** * Creates a plain object from a QueryOwnerResponse message. Also converts values to other types if specified. * @param message QueryOwnerResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.nft.v1beta1.QueryOwnerResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryOwnerResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QuerySupplyRequest. */ interface IQuerySupplyRequest { /** QuerySupplyRequest class_id */ class_id?: (string|null); } /** Represents a QuerySupplyRequest. */ class QuerySupplyRequest implements IQuerySupplyRequest { /** * Constructs a new QuerySupplyRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.nft.v1beta1.IQuerySupplyRequest); /** QuerySupplyRequest class_id. */ public class_id: string; /** * Encodes the specified QuerySupplyRequest message. Does not implicitly {@link cosmos.nft.v1beta1.QuerySupplyRequest.verify|verify} messages. * @param message QuerySupplyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.nft.v1beta1.IQuerySupplyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QuerySupplyRequest message, length delimited. Does not implicitly {@link cosmos.nft.v1beta1.QuerySupplyRequest.verify|verify} messages. * @param message QuerySupplyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.nft.v1beta1.IQuerySupplyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QuerySupplyRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QuerySupplyRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.nft.v1beta1.QuerySupplyRequest; /** * Decodes a QuerySupplyRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QuerySupplyRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.nft.v1beta1.QuerySupplyRequest; /** * Verifies a QuerySupplyRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QuerySupplyRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QuerySupplyRequest */ public static fromObject(object: { [k: string]: any }): cosmos.nft.v1beta1.QuerySupplyRequest; /** * Creates a plain object from a QuerySupplyRequest message. Also converts values to other types if specified. * @param message QuerySupplyRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.nft.v1beta1.QuerySupplyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QuerySupplyRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QuerySupplyResponse. */ interface IQuerySupplyResponse { /** QuerySupplyResponse amount */ amount?: (Long|null); } /** Represents a QuerySupplyResponse. */ class QuerySupplyResponse implements IQuerySupplyResponse { /** * Constructs a new QuerySupplyResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.nft.v1beta1.IQuerySupplyResponse); /** QuerySupplyResponse amount. */ public amount: Long; /** * Encodes the specified QuerySupplyResponse message. Does not implicitly {@link cosmos.nft.v1beta1.QuerySupplyResponse.verify|verify} messages. * @param message QuerySupplyResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.nft.v1beta1.IQuerySupplyResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QuerySupplyResponse message, length delimited. Does not implicitly {@link cosmos.nft.v1beta1.QuerySupplyResponse.verify|verify} messages. * @param message QuerySupplyResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.nft.v1beta1.IQuerySupplyResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QuerySupplyResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QuerySupplyResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.nft.v1beta1.QuerySupplyResponse; /** * Decodes a QuerySupplyResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QuerySupplyResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.nft.v1beta1.QuerySupplyResponse; /** * Verifies a QuerySupplyResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QuerySupplyResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QuerySupplyResponse */ public static fromObject(object: { [k: string]: any }): cosmos.nft.v1beta1.QuerySupplyResponse; /** * Creates a plain object from a QuerySupplyResponse message. Also converts values to other types if specified. * @param message QuerySupplyResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.nft.v1beta1.QuerySupplyResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QuerySupplyResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryNFTsRequest. */ interface IQueryNFTsRequest { /** QueryNFTsRequest class_id */ class_id?: (string|null); /** QueryNFTsRequest owner */ owner?: (string|null); /** QueryNFTsRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a QueryNFTsRequest. */ class QueryNFTsRequest implements IQueryNFTsRequest { /** * Constructs a new QueryNFTsRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.nft.v1beta1.IQueryNFTsRequest); /** QueryNFTsRequest class_id. */ public class_id: string; /** QueryNFTsRequest owner. */ public owner: string; /** QueryNFTsRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** * Encodes the specified QueryNFTsRequest message. Does not implicitly {@link cosmos.nft.v1beta1.QueryNFTsRequest.verify|verify} messages. * @param message QueryNFTsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.nft.v1beta1.IQueryNFTsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryNFTsRequest message, length delimited. Does not implicitly {@link cosmos.nft.v1beta1.QueryNFTsRequest.verify|verify} messages. * @param message QueryNFTsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.nft.v1beta1.IQueryNFTsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryNFTsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryNFTsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.nft.v1beta1.QueryNFTsRequest; /** * Decodes a QueryNFTsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryNFTsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.nft.v1beta1.QueryNFTsRequest; /** * Verifies a QueryNFTsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryNFTsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryNFTsRequest */ public static fromObject(object: { [k: string]: any }): cosmos.nft.v1beta1.QueryNFTsRequest; /** * Creates a plain object from a QueryNFTsRequest message. Also converts values to other types if specified. * @param message QueryNFTsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.nft.v1beta1.QueryNFTsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryNFTsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryNFTsResponse. */ interface IQueryNFTsResponse { /** QueryNFTsResponse nfts */ nfts?: (cosmos.nft.v1beta1.INFT[]|null); /** QueryNFTsResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a QueryNFTsResponse. */ class QueryNFTsResponse implements IQueryNFTsResponse { /** * Constructs a new QueryNFTsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.nft.v1beta1.IQueryNFTsResponse); /** QueryNFTsResponse nfts. */ public nfts: cosmos.nft.v1beta1.INFT[]; /** QueryNFTsResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified QueryNFTsResponse message. Does not implicitly {@link cosmos.nft.v1beta1.QueryNFTsResponse.verify|verify} messages. * @param message QueryNFTsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.nft.v1beta1.IQueryNFTsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryNFTsResponse message, length delimited. Does not implicitly {@link cosmos.nft.v1beta1.QueryNFTsResponse.verify|verify} messages. * @param message QueryNFTsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.nft.v1beta1.IQueryNFTsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryNFTsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryNFTsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.nft.v1beta1.QueryNFTsResponse; /** * Decodes a QueryNFTsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryNFTsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.nft.v1beta1.QueryNFTsResponse; /** * Verifies a QueryNFTsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryNFTsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryNFTsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.nft.v1beta1.QueryNFTsResponse; /** * Creates a plain object from a QueryNFTsResponse message. Also converts values to other types if specified. * @param message QueryNFTsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.nft.v1beta1.QueryNFTsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryNFTsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryNFTRequest. */ interface IQueryNFTRequest { /** QueryNFTRequest class_id */ class_id?: (string|null); /** QueryNFTRequest id */ id?: (string|null); } /** Represents a QueryNFTRequest. */ class QueryNFTRequest implements IQueryNFTRequest { /** * Constructs a new QueryNFTRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.nft.v1beta1.IQueryNFTRequest); /** QueryNFTRequest class_id. */ public class_id: string; /** QueryNFTRequest id. */ public id: string; /** * Encodes the specified QueryNFTRequest message. Does not implicitly {@link cosmos.nft.v1beta1.QueryNFTRequest.verify|verify} messages. * @param message QueryNFTRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.nft.v1beta1.IQueryNFTRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryNFTRequest message, length delimited. Does not implicitly {@link cosmos.nft.v1beta1.QueryNFTRequest.verify|verify} messages. * @param message QueryNFTRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.nft.v1beta1.IQueryNFTRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryNFTRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryNFTRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.nft.v1beta1.QueryNFTRequest; /** * Decodes a QueryNFTRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryNFTRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.nft.v1beta1.QueryNFTRequest; /** * Verifies a QueryNFTRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryNFTRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryNFTRequest */ public static fromObject(object: { [k: string]: any }): cosmos.nft.v1beta1.QueryNFTRequest; /** * Creates a plain object from a QueryNFTRequest message. Also converts values to other types if specified. * @param message QueryNFTRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.nft.v1beta1.QueryNFTRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryNFTRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryNFTResponse. */ interface IQueryNFTResponse { /** QueryNFTResponse nft */ nft?: (cosmos.nft.v1beta1.INFT|null); } /** Represents a QueryNFTResponse. */ class QueryNFTResponse implements IQueryNFTResponse { /** * Constructs a new QueryNFTResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.nft.v1beta1.IQueryNFTResponse); /** QueryNFTResponse nft. */ public nft?: (cosmos.nft.v1beta1.INFT|null); /** * Encodes the specified QueryNFTResponse message. Does not implicitly {@link cosmos.nft.v1beta1.QueryNFTResponse.verify|verify} messages. * @param message QueryNFTResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.nft.v1beta1.IQueryNFTResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryNFTResponse message, length delimited. Does not implicitly {@link cosmos.nft.v1beta1.QueryNFTResponse.verify|verify} messages. * @param message QueryNFTResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.nft.v1beta1.IQueryNFTResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryNFTResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryNFTResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.nft.v1beta1.QueryNFTResponse; /** * Decodes a QueryNFTResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryNFTResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.nft.v1beta1.QueryNFTResponse; /** * Verifies a QueryNFTResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryNFTResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryNFTResponse */ public static fromObject(object: { [k: string]: any }): cosmos.nft.v1beta1.QueryNFTResponse; /** * Creates a plain object from a QueryNFTResponse message. Also converts values to other types if specified. * @param message QueryNFTResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.nft.v1beta1.QueryNFTResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryNFTResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryClassRequest. */ interface IQueryClassRequest { /** QueryClassRequest class_id */ class_id?: (string|null); } /** Represents a QueryClassRequest. */ class QueryClassRequest implements IQueryClassRequest { /** * Constructs a new QueryClassRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.nft.v1beta1.IQueryClassRequest); /** QueryClassRequest class_id. */ public class_id: string; /** * Encodes the specified QueryClassRequest message. Does not implicitly {@link cosmos.nft.v1beta1.QueryClassRequest.verify|verify} messages. * @param message QueryClassRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.nft.v1beta1.IQueryClassRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryClassRequest message, length delimited. Does not implicitly {@link cosmos.nft.v1beta1.QueryClassRequest.verify|verify} messages. * @param message QueryClassRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.nft.v1beta1.IQueryClassRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryClassRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryClassRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.nft.v1beta1.QueryClassRequest; /** * Decodes a QueryClassRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryClassRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.nft.v1beta1.QueryClassRequest; /** * Verifies a QueryClassRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryClassRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryClassRequest */ public static fromObject(object: { [k: string]: any }): cosmos.nft.v1beta1.QueryClassRequest; /** * Creates a plain object from a QueryClassRequest message. Also converts values to other types if specified. * @param message QueryClassRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.nft.v1beta1.QueryClassRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryClassRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryClassResponse. */ interface IQueryClassResponse { /** QueryClassResponse class */ "class"?: (cosmos.nft.v1beta1.IClass|null); } /** Represents a QueryClassResponse. */ class QueryClassResponse implements IQueryClassResponse { /** * Constructs a new QueryClassResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.nft.v1beta1.IQueryClassResponse); /** QueryClassResponse class. */ public class?: (cosmos.nft.v1beta1.IClass|null); /** * Encodes the specified QueryClassResponse message. Does not implicitly {@link cosmos.nft.v1beta1.QueryClassResponse.verify|verify} messages. * @param message QueryClassResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.nft.v1beta1.IQueryClassResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryClassResponse message, length delimited. Does not implicitly {@link cosmos.nft.v1beta1.QueryClassResponse.verify|verify} messages. * @param message QueryClassResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.nft.v1beta1.IQueryClassResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryClassResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryClassResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.nft.v1beta1.QueryClassResponse; /** * Decodes a QueryClassResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryClassResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.nft.v1beta1.QueryClassResponse; /** * Verifies a QueryClassResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryClassResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryClassResponse */ public static fromObject(object: { [k: string]: any }): cosmos.nft.v1beta1.QueryClassResponse; /** * Creates a plain object from a QueryClassResponse message. Also converts values to other types if specified. * @param message QueryClassResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.nft.v1beta1.QueryClassResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryClassResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryClassesRequest. */ interface IQueryClassesRequest { /** QueryClassesRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a QueryClassesRequest. */ class QueryClassesRequest implements IQueryClassesRequest { /** * Constructs a new QueryClassesRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.nft.v1beta1.IQueryClassesRequest); /** QueryClassesRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** * Encodes the specified QueryClassesRequest message. Does not implicitly {@link cosmos.nft.v1beta1.QueryClassesRequest.verify|verify} messages. * @param message QueryClassesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.nft.v1beta1.IQueryClassesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryClassesRequest message, length delimited. Does not implicitly {@link cosmos.nft.v1beta1.QueryClassesRequest.verify|verify} messages. * @param message QueryClassesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.nft.v1beta1.IQueryClassesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryClassesRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryClassesRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.nft.v1beta1.QueryClassesRequest; /** * Decodes a QueryClassesRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryClassesRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.nft.v1beta1.QueryClassesRequest; /** * Verifies a QueryClassesRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryClassesRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryClassesRequest */ public static fromObject(object: { [k: string]: any }): cosmos.nft.v1beta1.QueryClassesRequest; /** * Creates a plain object from a QueryClassesRequest message. Also converts values to other types if specified. * @param message QueryClassesRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.nft.v1beta1.QueryClassesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryClassesRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryClassesResponse. */ interface IQueryClassesResponse { /** QueryClassesResponse classes */ classes?: (cosmos.nft.v1beta1.IClass[]|null); /** QueryClassesResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a QueryClassesResponse. */ class QueryClassesResponse implements IQueryClassesResponse { /** * Constructs a new QueryClassesResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.nft.v1beta1.IQueryClassesResponse); /** QueryClassesResponse classes. */ public classes: cosmos.nft.v1beta1.IClass[]; /** QueryClassesResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified QueryClassesResponse message. Does not implicitly {@link cosmos.nft.v1beta1.QueryClassesResponse.verify|verify} messages. * @param message QueryClassesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.nft.v1beta1.IQueryClassesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryClassesResponse message, length delimited. Does not implicitly {@link cosmos.nft.v1beta1.QueryClassesResponse.verify|verify} messages. * @param message QueryClassesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.nft.v1beta1.IQueryClassesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryClassesResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryClassesResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.nft.v1beta1.QueryClassesResponse; /** * Decodes a QueryClassesResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryClassesResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.nft.v1beta1.QueryClassesResponse; /** * Verifies a QueryClassesResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryClassesResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryClassesResponse */ public static fromObject(object: { [k: string]: any }): cosmos.nft.v1beta1.QueryClassesResponse; /** * Creates a plain object from a QueryClassesResponse message. Also converts values to other types if specified. * @param message QueryClassesResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.nft.v1beta1.QueryClassesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryClassesResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Class. */ interface IClass { /** Class id */ id?: (string|null); /** Class name */ name?: (string|null); /** Class symbol */ symbol?: (string|null); /** Class description */ description?: (string|null); /** Class uri */ uri?: (string|null); /** Class uri_hash */ uri_hash?: (string|null); /** Class data */ data?: (google.protobuf.IAny|null); } /** Represents a Class. */ class Class implements IClass { /** * Constructs a new Class. * @param [properties] Properties to set */ constructor(properties?: cosmos.nft.v1beta1.IClass); /** Class id. */ public id: string; /** Class name. */ public name: string; /** Class symbol. */ public symbol: string; /** Class description. */ public description: string; /** Class uri. */ public uri: string; /** Class uri_hash. */ public uri_hash: string; /** Class data. */ public data?: (google.protobuf.IAny|null); /** * Encodes the specified Class message. Does not implicitly {@link cosmos.nft.v1beta1.Class.verify|verify} messages. * @param message Class message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.nft.v1beta1.IClass, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Class message, length delimited. Does not implicitly {@link cosmos.nft.v1beta1.Class.verify|verify} messages. * @param message Class message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.nft.v1beta1.IClass, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Class message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Class * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.nft.v1beta1.Class; /** * Decodes a Class message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Class * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.nft.v1beta1.Class; /** * Verifies a Class message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Class message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Class */ public static fromObject(object: { [k: string]: any }): cosmos.nft.v1beta1.Class; /** * Creates a plain object from a Class message. Also converts values to other types if specified. * @param message Class * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.nft.v1beta1.Class, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Class to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a NFT. */ interface INFT { /** NFT class_id */ class_id?: (string|null); /** NFT id */ id?: (string|null); /** NFT uri */ uri?: (string|null); /** NFT uri_hash */ uri_hash?: (string|null); /** NFT data */ data?: (google.protobuf.IAny|null); } /** Represents a NFT. */ class NFT implements INFT { /** * Constructs a new NFT. * @param [properties] Properties to set */ constructor(properties?: cosmos.nft.v1beta1.INFT); /** NFT class_id. */ public class_id: string; /** NFT id. */ public id: string; /** NFT uri. */ public uri: string; /** NFT uri_hash. */ public uri_hash: string; /** NFT data. */ public data?: (google.protobuf.IAny|null); /** * Encodes the specified NFT message. Does not implicitly {@link cosmos.nft.v1beta1.NFT.verify|verify} messages. * @param message NFT message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.nft.v1beta1.INFT, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified NFT message, length delimited. Does not implicitly {@link cosmos.nft.v1beta1.NFT.verify|verify} messages. * @param message NFT message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.nft.v1beta1.INFT, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a NFT message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns NFT * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.nft.v1beta1.NFT; /** * Decodes a NFT message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns NFT * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.nft.v1beta1.NFT; /** * Verifies a NFT message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a NFT message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns NFT */ public static fromObject(object: { [k: string]: any }): cosmos.nft.v1beta1.NFT; /** * Creates a plain object from a NFT message. Also converts values to other types if specified. * @param message NFT * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.nft.v1beta1.NFT, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this NFT to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Represents a Msg */ class Msg extends $protobuf.rpc.Service { /** * Constructs a new Msg service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls Send. * @param request MsgSend message or plain object * @param callback Node-style callback called with the error, if any, and MsgSendResponse */ public send(request: cosmos.nft.v1beta1.IMsgSend, callback: cosmos.nft.v1beta1.Msg.SendCallback): void; /** * Calls Send. * @param request MsgSend message or plain object * @returns Promise */ public send(request: cosmos.nft.v1beta1.IMsgSend): Promise; } namespace Msg { /** * Callback as used by {@link cosmos.nft.v1beta1.Msg#send}. * @param error Error, if any * @param [response] MsgSendResponse */ type SendCallback = (error: (Error|null), response?: cosmos.nft.v1beta1.MsgSendResponse) => void; } /** Properties of a MsgSend. */ interface IMsgSend { /** MsgSend class_id */ class_id?: (string|null); /** MsgSend id */ id?: (string|null); /** MsgSend sender */ sender?: (string|null); /** MsgSend receiver */ receiver?: (string|null); } /** Represents a MsgSend. */ class MsgSend implements IMsgSend { /** * Constructs a new MsgSend. * @param [properties] Properties to set */ constructor(properties?: cosmos.nft.v1beta1.IMsgSend); /** MsgSend class_id. */ public class_id: string; /** MsgSend id. */ public id: string; /** MsgSend sender. */ public sender: string; /** MsgSend receiver. */ public receiver: string; /** * Encodes the specified MsgSend message. Does not implicitly {@link cosmos.nft.v1beta1.MsgSend.verify|verify} messages. * @param message MsgSend message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.nft.v1beta1.IMsgSend, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgSend message, length delimited. Does not implicitly {@link cosmos.nft.v1beta1.MsgSend.verify|verify} messages. * @param message MsgSend message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.nft.v1beta1.IMsgSend, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgSend message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgSend * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.nft.v1beta1.MsgSend; /** * Decodes a MsgSend message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgSend * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.nft.v1beta1.MsgSend; /** * Verifies a MsgSend message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgSend message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgSend */ public static fromObject(object: { [k: string]: any }): cosmos.nft.v1beta1.MsgSend; /** * Creates a plain object from a MsgSend message. Also converts values to other types if specified. * @param message MsgSend * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.nft.v1beta1.MsgSend, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgSend to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgSendResponse. */ interface IMsgSendResponse { } /** Represents a MsgSendResponse. */ class MsgSendResponse implements IMsgSendResponse { /** * Constructs a new MsgSendResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.nft.v1beta1.IMsgSendResponse); /** * Encodes the specified MsgSendResponse message. Does not implicitly {@link cosmos.nft.v1beta1.MsgSendResponse.verify|verify} messages. * @param message MsgSendResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.nft.v1beta1.IMsgSendResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgSendResponse message, length delimited. Does not implicitly {@link cosmos.nft.v1beta1.MsgSendResponse.verify|verify} messages. * @param message MsgSendResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.nft.v1beta1.IMsgSendResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgSendResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgSendResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.nft.v1beta1.MsgSendResponse; /** * Decodes a MsgSendResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgSendResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.nft.v1beta1.MsgSendResponse; /** * Verifies a MsgSendResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgSendResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgSendResponse */ public static fromObject(object: { [k: string]: any }): cosmos.nft.v1beta1.MsgSendResponse; /** * Creates a plain object from a MsgSendResponse message. Also converts values to other types if specified. * @param message MsgSendResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.nft.v1beta1.MsgSendResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgSendResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GenesisState. */ interface IGenesisState { /** GenesisState classes */ classes?: (cosmos.nft.v1beta1.IClass[]|null); /** GenesisState entries */ entries?: (cosmos.nft.v1beta1.IEntry[]|null); } /** Represents a GenesisState. */ class GenesisState implements IGenesisState { /** * Constructs a new GenesisState. * @param [properties] Properties to set */ constructor(properties?: cosmos.nft.v1beta1.IGenesisState); /** GenesisState classes. */ public classes: cosmos.nft.v1beta1.IClass[]; /** GenesisState entries. */ public entries: cosmos.nft.v1beta1.IEntry[]; /** * Encodes the specified GenesisState message. Does not implicitly {@link cosmos.nft.v1beta1.GenesisState.verify|verify} messages. * @param message GenesisState message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.nft.v1beta1.IGenesisState, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GenesisState message, length delimited. Does not implicitly {@link cosmos.nft.v1beta1.GenesisState.verify|verify} messages. * @param message GenesisState message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.nft.v1beta1.IGenesisState, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GenesisState message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GenesisState * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.nft.v1beta1.GenesisState; /** * Decodes a GenesisState message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GenesisState * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.nft.v1beta1.GenesisState; /** * Verifies a GenesisState message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GenesisState message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GenesisState */ public static fromObject(object: { [k: string]: any }): cosmos.nft.v1beta1.GenesisState; /** * Creates a plain object from a GenesisState message. Also converts values to other types if specified. * @param message GenesisState * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.nft.v1beta1.GenesisState, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GenesisState to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an Entry. */ interface IEntry { /** Entry owner */ owner?: (string|null); /** Entry nfts */ nfts?: (cosmos.nft.v1beta1.INFT[]|null); } /** Represents an Entry. */ class Entry implements IEntry { /** * Constructs a new Entry. * @param [properties] Properties to set */ constructor(properties?: cosmos.nft.v1beta1.IEntry); /** Entry owner. */ public owner: string; /** Entry nfts. */ public nfts: cosmos.nft.v1beta1.INFT[]; /** * Encodes the specified Entry message. Does not implicitly {@link cosmos.nft.v1beta1.Entry.verify|verify} messages. * @param message Entry message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.nft.v1beta1.IEntry, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Entry message, length delimited. Does not implicitly {@link cosmos.nft.v1beta1.Entry.verify|verify} messages. * @param message Entry message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.nft.v1beta1.IEntry, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Entry message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Entry * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.nft.v1beta1.Entry; /** * Decodes an Entry message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Entry * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.nft.v1beta1.Entry; /** * Verifies an Entry message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Entry message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Entry */ public static fromObject(object: { [k: string]: any }): cosmos.nft.v1beta1.Entry; /** * Creates a plain object from an Entry message. Also converts values to other types if specified. * @param message Entry * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.nft.v1beta1.Entry, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Entry to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an EventSend. */ interface IEventSend { /** EventSend class_id */ class_id?: (string|null); /** EventSend id */ id?: (string|null); /** EventSend sender */ sender?: (string|null); /** EventSend receiver */ receiver?: (string|null); } /** Represents an EventSend. */ class EventSend implements IEventSend { /** * Constructs a new EventSend. * @param [properties] Properties to set */ constructor(properties?: cosmos.nft.v1beta1.IEventSend); /** EventSend class_id. */ public class_id: string; /** EventSend id. */ public id: string; /** EventSend sender. */ public sender: string; /** EventSend receiver. */ public receiver: string; /** * Encodes the specified EventSend message. Does not implicitly {@link cosmos.nft.v1beta1.EventSend.verify|verify} messages. * @param message EventSend message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.nft.v1beta1.IEventSend, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EventSend message, length delimited. Does not implicitly {@link cosmos.nft.v1beta1.EventSend.verify|verify} messages. * @param message EventSend message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.nft.v1beta1.IEventSend, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EventSend message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EventSend * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.nft.v1beta1.EventSend; /** * Decodes an EventSend message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EventSend * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.nft.v1beta1.EventSend; /** * Verifies an EventSend message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EventSend message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EventSend */ public static fromObject(object: { [k: string]: any }): cosmos.nft.v1beta1.EventSend; /** * Creates a plain object from an EventSend message. Also converts values to other types if specified. * @param message EventSend * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.nft.v1beta1.EventSend, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EventSend to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an EventMint. */ interface IEventMint { /** EventMint class_id */ class_id?: (string|null); /** EventMint id */ id?: (string|null); /** EventMint owner */ owner?: (string|null); } /** Represents an EventMint. */ class EventMint implements IEventMint { /** * Constructs a new EventMint. * @param [properties] Properties to set */ constructor(properties?: cosmos.nft.v1beta1.IEventMint); /** EventMint class_id. */ public class_id: string; /** EventMint id. */ public id: string; /** EventMint owner. */ public owner: string; /** * Encodes the specified EventMint message. Does not implicitly {@link cosmos.nft.v1beta1.EventMint.verify|verify} messages. * @param message EventMint message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.nft.v1beta1.IEventMint, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EventMint message, length delimited. Does not implicitly {@link cosmos.nft.v1beta1.EventMint.verify|verify} messages. * @param message EventMint message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.nft.v1beta1.IEventMint, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EventMint message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EventMint * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.nft.v1beta1.EventMint; /** * Decodes an EventMint message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EventMint * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.nft.v1beta1.EventMint; /** * Verifies an EventMint message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EventMint message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EventMint */ public static fromObject(object: { [k: string]: any }): cosmos.nft.v1beta1.EventMint; /** * Creates a plain object from an EventMint message. Also converts values to other types if specified. * @param message EventMint * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.nft.v1beta1.EventMint, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EventMint to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an EventBurn. */ interface IEventBurn { /** EventBurn class_id */ class_id?: (string|null); /** EventBurn id */ id?: (string|null); /** EventBurn owner */ owner?: (string|null); } /** Represents an EventBurn. */ class EventBurn implements IEventBurn { /** * Constructs a new EventBurn. * @param [properties] Properties to set */ constructor(properties?: cosmos.nft.v1beta1.IEventBurn); /** EventBurn class_id. */ public class_id: string; /** EventBurn id. */ public id: string; /** EventBurn owner. */ public owner: string; /** * Encodes the specified EventBurn message. Does not implicitly {@link cosmos.nft.v1beta1.EventBurn.verify|verify} messages. * @param message EventBurn message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.nft.v1beta1.IEventBurn, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EventBurn message, length delimited. Does not implicitly {@link cosmos.nft.v1beta1.EventBurn.verify|verify} messages. * @param message EventBurn message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.nft.v1beta1.IEventBurn, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EventBurn message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EventBurn * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.nft.v1beta1.EventBurn; /** * Decodes an EventBurn message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EventBurn * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.nft.v1beta1.EventBurn; /** * Verifies an EventBurn message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EventBurn message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EventBurn */ public static fromObject(object: { [k: string]: any }): cosmos.nft.v1beta1.EventBurn; /** * Creates a plain object from an EventBurn message. Also converts values to other types if specified. * @param message EventBurn * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.nft.v1beta1.EventBurn, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EventBurn to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace orm. */ namespace orm { /** Namespace module. */ namespace module { /** Namespace v1alpha1. */ namespace v1alpha1 { /** Properties of a Module. */ interface IModule { } /** Represents a Module. */ class Module implements IModule { /** * Constructs a new Module. * @param [properties] Properties to set */ constructor(properties?: cosmos.orm.module.v1alpha1.IModule); /** * Encodes the specified Module message. Does not implicitly {@link cosmos.orm.module.v1alpha1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.orm.module.v1alpha1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Module message, length delimited. Does not implicitly {@link cosmos.orm.module.v1alpha1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.orm.module.v1alpha1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Module message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.orm.module.v1alpha1.Module; /** * Decodes a Module message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.orm.module.v1alpha1.Module; /** * Verifies a Module message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Module message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Module */ public static fromObject(object: { [k: string]: any }): cosmos.orm.module.v1alpha1.Module; /** * Creates a plain object from a Module message. Also converts values to other types if specified. * @param message Module * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.orm.module.v1alpha1.Module, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Module to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace query. */ namespace query { /** Namespace v1alpha1. */ namespace v1alpha1 { /** Represents a Query */ class Query extends $protobuf.rpc.Service { /** * Constructs a new Query service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls Get. * @param request GetRequest message or plain object * @param callback Node-style callback called with the error, if any, and GetResponse */ public get(request: cosmos.orm.query.v1alpha1.IGetRequest, callback: cosmos.orm.query.v1alpha1.Query.GetCallback): void; /** * Calls Get. * @param request GetRequest message or plain object * @returns Promise */ public get(request: cosmos.orm.query.v1alpha1.IGetRequest): Promise; /** * Calls List. * @param request ListRequest message or plain object * @param callback Node-style callback called with the error, if any, and ListResponse */ public list(request: cosmos.orm.query.v1alpha1.IListRequest, callback: cosmos.orm.query.v1alpha1.Query.ListCallback): void; /** * Calls List. * @param request ListRequest message or plain object * @returns Promise */ public list(request: cosmos.orm.query.v1alpha1.IListRequest): Promise; } namespace Query { /** * Callback as used by {@link cosmos.orm.query.v1alpha1.Query#get}. * @param error Error, if any * @param [response] GetResponse */ type GetCallback = (error: (Error|null), response?: cosmos.orm.query.v1alpha1.GetResponse) => void; /** * Callback as used by {@link cosmos.orm.query.v1alpha1.Query#list}. * @param error Error, if any * @param [response] ListResponse */ type ListCallback = (error: (Error|null), response?: cosmos.orm.query.v1alpha1.ListResponse) => void; } /** Properties of a GetRequest. */ interface IGetRequest { /** GetRequest message_name */ message_name?: (string|null); /** GetRequest index */ index?: (string|null); /** GetRequest values */ values?: (cosmos.orm.query.v1alpha1.IIndexValue[]|null); } /** Represents a GetRequest. */ class GetRequest implements IGetRequest { /** * Constructs a new GetRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.orm.query.v1alpha1.IGetRequest); /** GetRequest message_name. */ public message_name: string; /** GetRequest index. */ public index: string; /** GetRequest values. */ public values: cosmos.orm.query.v1alpha1.IIndexValue[]; /** * Encodes the specified GetRequest message. Does not implicitly {@link cosmos.orm.query.v1alpha1.GetRequest.verify|verify} messages. * @param message GetRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.orm.query.v1alpha1.IGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetRequest message, length delimited. Does not implicitly {@link cosmos.orm.query.v1alpha1.GetRequest.verify|verify} messages. * @param message GetRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.orm.query.v1alpha1.IGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.orm.query.v1alpha1.GetRequest; /** * Decodes a GetRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.orm.query.v1alpha1.GetRequest; /** * Verifies a GetRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetRequest */ public static fromObject(object: { [k: string]: any }): cosmos.orm.query.v1alpha1.GetRequest; /** * Creates a plain object from a GetRequest message. Also converts values to other types if specified. * @param message GetRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.orm.query.v1alpha1.GetRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GetResponse. */ interface IGetResponse { /** GetResponse result */ result?: (google.protobuf.IAny|null); } /** Represents a GetResponse. */ class GetResponse implements IGetResponse { /** * Constructs a new GetResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.orm.query.v1alpha1.IGetResponse); /** GetResponse result. */ public result?: (google.protobuf.IAny|null); /** * Encodes the specified GetResponse message. Does not implicitly {@link cosmos.orm.query.v1alpha1.GetResponse.verify|verify} messages. * @param message GetResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.orm.query.v1alpha1.IGetResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetResponse message, length delimited. Does not implicitly {@link cosmos.orm.query.v1alpha1.GetResponse.verify|verify} messages. * @param message GetResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.orm.query.v1alpha1.IGetResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.orm.query.v1alpha1.GetResponse; /** * Decodes a GetResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.orm.query.v1alpha1.GetResponse; /** * Verifies a GetResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetResponse */ public static fromObject(object: { [k: string]: any }): cosmos.orm.query.v1alpha1.GetResponse; /** * Creates a plain object from a GetResponse message. Also converts values to other types if specified. * @param message GetResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.orm.query.v1alpha1.GetResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ListRequest. */ interface IListRequest { /** ListRequest message_name */ message_name?: (string|null); /** ListRequest index */ index?: (string|null); /** ListRequest prefix */ prefix?: (cosmos.orm.query.v1alpha1.ListRequest.IPrefix|null); /** ListRequest range */ range?: (cosmos.orm.query.v1alpha1.ListRequest.IRange|null); /** ListRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a ListRequest. */ class ListRequest implements IListRequest { /** * Constructs a new ListRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.orm.query.v1alpha1.IListRequest); /** ListRequest message_name. */ public message_name: string; /** ListRequest index. */ public index: string; /** ListRequest prefix. */ public prefix?: (cosmos.orm.query.v1alpha1.ListRequest.IPrefix|null); /** ListRequest range. */ public range?: (cosmos.orm.query.v1alpha1.ListRequest.IRange|null); /** ListRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** ListRequest query. */ public query?: ("prefix"|"range"); /** * Encodes the specified ListRequest message. Does not implicitly {@link cosmos.orm.query.v1alpha1.ListRequest.verify|verify} messages. * @param message ListRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.orm.query.v1alpha1.IListRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListRequest message, length delimited. Does not implicitly {@link cosmos.orm.query.v1alpha1.ListRequest.verify|verify} messages. * @param message ListRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.orm.query.v1alpha1.IListRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.orm.query.v1alpha1.ListRequest; /** * Decodes a ListRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.orm.query.v1alpha1.ListRequest; /** * Verifies a ListRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListRequest */ public static fromObject(object: { [k: string]: any }): cosmos.orm.query.v1alpha1.ListRequest; /** * Creates a plain object from a ListRequest message. Also converts values to other types if specified. * @param message ListRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.orm.query.v1alpha1.ListRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } namespace ListRequest { /** Properties of a Prefix. */ interface IPrefix { /** Prefix values */ values?: (cosmos.orm.query.v1alpha1.IIndexValue[]|null); } /** Represents a Prefix. */ class Prefix implements IPrefix { /** * Constructs a new Prefix. * @param [properties] Properties to set */ constructor(properties?: cosmos.orm.query.v1alpha1.ListRequest.IPrefix); /** Prefix values. */ public values: cosmos.orm.query.v1alpha1.IIndexValue[]; /** * Encodes the specified Prefix message. Does not implicitly {@link cosmos.orm.query.v1alpha1.ListRequest.Prefix.verify|verify} messages. * @param message Prefix message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.orm.query.v1alpha1.ListRequest.IPrefix, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Prefix message, length delimited. Does not implicitly {@link cosmos.orm.query.v1alpha1.ListRequest.Prefix.verify|verify} messages. * @param message Prefix message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.orm.query.v1alpha1.ListRequest.IPrefix, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Prefix message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Prefix * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.orm.query.v1alpha1.ListRequest.Prefix; /** * Decodes a Prefix message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Prefix * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.orm.query.v1alpha1.ListRequest.Prefix; /** * Verifies a Prefix message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Prefix message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Prefix */ public static fromObject(object: { [k: string]: any }): cosmos.orm.query.v1alpha1.ListRequest.Prefix; /** * Creates a plain object from a Prefix message. Also converts values to other types if specified. * @param message Prefix * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.orm.query.v1alpha1.ListRequest.Prefix, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Prefix to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Range. */ interface IRange { /** Range start */ start?: (cosmos.orm.query.v1alpha1.IIndexValue[]|null); /** Range end */ end?: (cosmos.orm.query.v1alpha1.IIndexValue[]|null); } /** Represents a Range. */ class Range implements IRange { /** * Constructs a new Range. * @param [properties] Properties to set */ constructor(properties?: cosmos.orm.query.v1alpha1.ListRequest.IRange); /** Range start. */ public start: cosmos.orm.query.v1alpha1.IIndexValue[]; /** Range end. */ public end: cosmos.orm.query.v1alpha1.IIndexValue[]; /** * Encodes the specified Range message. Does not implicitly {@link cosmos.orm.query.v1alpha1.ListRequest.Range.verify|verify} messages. * @param message Range message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.orm.query.v1alpha1.ListRequest.IRange, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Range message, length delimited. Does not implicitly {@link cosmos.orm.query.v1alpha1.ListRequest.Range.verify|verify} messages. * @param message Range message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.orm.query.v1alpha1.ListRequest.IRange, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Range message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Range * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.orm.query.v1alpha1.ListRequest.Range; /** * Decodes a Range message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Range * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.orm.query.v1alpha1.ListRequest.Range; /** * Verifies a Range message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Range message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Range */ public static fromObject(object: { [k: string]: any }): cosmos.orm.query.v1alpha1.ListRequest.Range; /** * Creates a plain object from a Range message. Also converts values to other types if specified. * @param message Range * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.orm.query.v1alpha1.ListRequest.Range, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Range to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } /** Properties of a ListResponse. */ interface IListResponse { /** ListResponse results */ results?: (google.protobuf.IAny[]|null); /** ListResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a ListResponse. */ class ListResponse implements IListResponse { /** * Constructs a new ListResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.orm.query.v1alpha1.IListResponse); /** ListResponse results. */ public results: google.protobuf.IAny[]; /** ListResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified ListResponse message. Does not implicitly {@link cosmos.orm.query.v1alpha1.ListResponse.verify|verify} messages. * @param message ListResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.orm.query.v1alpha1.IListResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListResponse message, length delimited. Does not implicitly {@link cosmos.orm.query.v1alpha1.ListResponse.verify|verify} messages. * @param message ListResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.orm.query.v1alpha1.IListResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.orm.query.v1alpha1.ListResponse; /** * Decodes a ListResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.orm.query.v1alpha1.ListResponse; /** * Verifies a ListResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListResponse */ public static fromObject(object: { [k: string]: any }): cosmos.orm.query.v1alpha1.ListResponse; /** * Creates a plain object from a ListResponse message. Also converts values to other types if specified. * @param message ListResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.orm.query.v1alpha1.ListResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an IndexValue. */ interface IIndexValue { /** IndexValue uint */ uint?: (Long|null); /** IndexValue int */ int?: (Long|null); /** IndexValue str */ str?: (string|null); /** IndexValue bytes */ bytes?: (Uint8Array|null); /** IndexValue enum */ "enum"?: (string|null); /** IndexValue bool */ bool?: (boolean|null); /** IndexValue timestamp */ timestamp?: (google.protobuf.ITimestamp|null); /** IndexValue duration */ duration?: (google.protobuf.IDuration|null); } /** Represents an IndexValue. */ class IndexValue implements IIndexValue { /** * Constructs a new IndexValue. * @param [properties] Properties to set */ constructor(properties?: cosmos.orm.query.v1alpha1.IIndexValue); /** IndexValue uint. */ public uint?: (Long|null); /** IndexValue int. */ public int?: (Long|null); /** IndexValue str. */ public str?: (string|null); /** IndexValue bytes. */ public bytes?: (Uint8Array|null); /** IndexValue enum. */ public enum?: (string|null); /** IndexValue bool. */ public bool?: (boolean|null); /** IndexValue timestamp. */ public timestamp?: (google.protobuf.ITimestamp|null); /** IndexValue duration. */ public duration?: (google.protobuf.IDuration|null); /** IndexValue value. */ public value?: ("uint"|"int"|"str"|"bytes"|"enum"|"bool"|"timestamp"|"duration"); /** * Encodes the specified IndexValue message. Does not implicitly {@link cosmos.orm.query.v1alpha1.IndexValue.verify|verify} messages. * @param message IndexValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.orm.query.v1alpha1.IIndexValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified IndexValue message, length delimited. Does not implicitly {@link cosmos.orm.query.v1alpha1.IndexValue.verify|verify} messages. * @param message IndexValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.orm.query.v1alpha1.IIndexValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an IndexValue message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns IndexValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.orm.query.v1alpha1.IndexValue; /** * Decodes an IndexValue message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns IndexValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.orm.query.v1alpha1.IndexValue; /** * Verifies an IndexValue message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an IndexValue message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns IndexValue */ public static fromObject(object: { [k: string]: any }): cosmos.orm.query.v1alpha1.IndexValue; /** * Creates a plain object from an IndexValue message. Also converts values to other types if specified. * @param message IndexValue * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.orm.query.v1alpha1.IndexValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this IndexValue to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace v1. */ namespace v1 { /** Properties of a TableDescriptor. */ interface ITableDescriptor { /** TableDescriptor primary_key */ primary_key?: (cosmos.orm.v1.IPrimaryKeyDescriptor|null); /** TableDescriptor index */ index?: (cosmos.orm.v1.ISecondaryIndexDescriptor[]|null); /** TableDescriptor id */ id?: (number|null); } /** Represents a TableDescriptor. */ class TableDescriptor implements ITableDescriptor { /** * Constructs a new TableDescriptor. * @param [properties] Properties to set */ constructor(properties?: cosmos.orm.v1.ITableDescriptor); /** TableDescriptor primary_key. */ public primary_key?: (cosmos.orm.v1.IPrimaryKeyDescriptor|null); /** TableDescriptor index. */ public index: cosmos.orm.v1.ISecondaryIndexDescriptor[]; /** TableDescriptor id. */ public id: number; /** * Encodes the specified TableDescriptor message. Does not implicitly {@link cosmos.orm.v1.TableDescriptor.verify|verify} messages. * @param message TableDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.orm.v1.ITableDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TableDescriptor message, length delimited. Does not implicitly {@link cosmos.orm.v1.TableDescriptor.verify|verify} messages. * @param message TableDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.orm.v1.ITableDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TableDescriptor message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TableDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.orm.v1.TableDescriptor; /** * Decodes a TableDescriptor message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TableDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.orm.v1.TableDescriptor; /** * Verifies a TableDescriptor message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TableDescriptor message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TableDescriptor */ public static fromObject(object: { [k: string]: any }): cosmos.orm.v1.TableDescriptor; /** * Creates a plain object from a TableDescriptor message. Also converts values to other types if specified. * @param message TableDescriptor * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.orm.v1.TableDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TableDescriptor to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a PrimaryKeyDescriptor. */ interface IPrimaryKeyDescriptor { /** PrimaryKeyDescriptor fields */ fields?: (string|null); /** PrimaryKeyDescriptor auto_increment */ auto_increment?: (boolean|null); } /** Represents a PrimaryKeyDescriptor. */ class PrimaryKeyDescriptor implements IPrimaryKeyDescriptor { /** * Constructs a new PrimaryKeyDescriptor. * @param [properties] Properties to set */ constructor(properties?: cosmos.orm.v1.IPrimaryKeyDescriptor); /** PrimaryKeyDescriptor fields. */ public fields: string; /** PrimaryKeyDescriptor auto_increment. */ public auto_increment: boolean; /** * Encodes the specified PrimaryKeyDescriptor message. Does not implicitly {@link cosmos.orm.v1.PrimaryKeyDescriptor.verify|verify} messages. * @param message PrimaryKeyDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.orm.v1.IPrimaryKeyDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PrimaryKeyDescriptor message, length delimited. Does not implicitly {@link cosmos.orm.v1.PrimaryKeyDescriptor.verify|verify} messages. * @param message PrimaryKeyDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.orm.v1.IPrimaryKeyDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PrimaryKeyDescriptor message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PrimaryKeyDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.orm.v1.PrimaryKeyDescriptor; /** * Decodes a PrimaryKeyDescriptor message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PrimaryKeyDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.orm.v1.PrimaryKeyDescriptor; /** * Verifies a PrimaryKeyDescriptor message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PrimaryKeyDescriptor message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PrimaryKeyDescriptor */ public static fromObject(object: { [k: string]: any }): cosmos.orm.v1.PrimaryKeyDescriptor; /** * Creates a plain object from a PrimaryKeyDescriptor message. Also converts values to other types if specified. * @param message PrimaryKeyDescriptor * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.orm.v1.PrimaryKeyDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PrimaryKeyDescriptor to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a SecondaryIndexDescriptor. */ interface ISecondaryIndexDescriptor { /** SecondaryIndexDescriptor fields */ fields?: (string|null); /** SecondaryIndexDescriptor id */ id?: (number|null); /** SecondaryIndexDescriptor unique */ unique?: (boolean|null); } /** Represents a SecondaryIndexDescriptor. */ class SecondaryIndexDescriptor implements ISecondaryIndexDescriptor { /** * Constructs a new SecondaryIndexDescriptor. * @param [properties] Properties to set */ constructor(properties?: cosmos.orm.v1.ISecondaryIndexDescriptor); /** SecondaryIndexDescriptor fields. */ public fields: string; /** SecondaryIndexDescriptor id. */ public id: number; /** SecondaryIndexDescriptor unique. */ public unique: boolean; /** * Encodes the specified SecondaryIndexDescriptor message. Does not implicitly {@link cosmos.orm.v1.SecondaryIndexDescriptor.verify|verify} messages. * @param message SecondaryIndexDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.orm.v1.ISecondaryIndexDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SecondaryIndexDescriptor message, length delimited. Does not implicitly {@link cosmos.orm.v1.SecondaryIndexDescriptor.verify|verify} messages. * @param message SecondaryIndexDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.orm.v1.ISecondaryIndexDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SecondaryIndexDescriptor message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SecondaryIndexDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.orm.v1.SecondaryIndexDescriptor; /** * Decodes a SecondaryIndexDescriptor message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SecondaryIndexDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.orm.v1.SecondaryIndexDescriptor; /** * Verifies a SecondaryIndexDescriptor message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SecondaryIndexDescriptor message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SecondaryIndexDescriptor */ public static fromObject(object: { [k: string]: any }): cosmos.orm.v1.SecondaryIndexDescriptor; /** * Creates a plain object from a SecondaryIndexDescriptor message. Also converts values to other types if specified. * @param message SecondaryIndexDescriptor * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.orm.v1.SecondaryIndexDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SecondaryIndexDescriptor to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a SingletonDescriptor. */ interface ISingletonDescriptor { /** SingletonDescriptor id */ id?: (number|null); } /** Represents a SingletonDescriptor. */ class SingletonDescriptor implements ISingletonDescriptor { /** * Constructs a new SingletonDescriptor. * @param [properties] Properties to set */ constructor(properties?: cosmos.orm.v1.ISingletonDescriptor); /** SingletonDescriptor id. */ public id: number; /** * Encodes the specified SingletonDescriptor message. Does not implicitly {@link cosmos.orm.v1.SingletonDescriptor.verify|verify} messages. * @param message SingletonDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.orm.v1.ISingletonDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SingletonDescriptor message, length delimited. Does not implicitly {@link cosmos.orm.v1.SingletonDescriptor.verify|verify} messages. * @param message SingletonDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.orm.v1.ISingletonDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SingletonDescriptor message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SingletonDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.orm.v1.SingletonDescriptor; /** * Decodes a SingletonDescriptor message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SingletonDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.orm.v1.SingletonDescriptor; /** * Verifies a SingletonDescriptor message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SingletonDescriptor message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SingletonDescriptor */ public static fromObject(object: { [k: string]: any }): cosmos.orm.v1.SingletonDescriptor; /** * Creates a plain object from a SingletonDescriptor message. Also converts values to other types if specified. * @param message SingletonDescriptor * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.orm.v1.SingletonDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SingletonDescriptor to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } /** Namespace v1alpha1. */ namespace v1alpha1 { /** Properties of a ModuleSchemaDescriptor. */ interface IModuleSchemaDescriptor { /** ModuleSchemaDescriptor schema_file */ schema_file?: (cosmos.orm.v1alpha1.ModuleSchemaDescriptor.IFileEntry[]|null); /** ModuleSchemaDescriptor prefix */ prefix?: (Uint8Array|null); } /** Represents a ModuleSchemaDescriptor. */ class ModuleSchemaDescriptor implements IModuleSchemaDescriptor { /** * Constructs a new ModuleSchemaDescriptor. * @param [properties] Properties to set */ constructor(properties?: cosmos.orm.v1alpha1.IModuleSchemaDescriptor); /** ModuleSchemaDescriptor schema_file. */ public schema_file: cosmos.orm.v1alpha1.ModuleSchemaDescriptor.IFileEntry[]; /** ModuleSchemaDescriptor prefix. */ public prefix: Uint8Array; /** * Encodes the specified ModuleSchemaDescriptor message. Does not implicitly {@link cosmos.orm.v1alpha1.ModuleSchemaDescriptor.verify|verify} messages. * @param message ModuleSchemaDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.orm.v1alpha1.IModuleSchemaDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ModuleSchemaDescriptor message, length delimited. Does not implicitly {@link cosmos.orm.v1alpha1.ModuleSchemaDescriptor.verify|verify} messages. * @param message ModuleSchemaDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.orm.v1alpha1.IModuleSchemaDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ModuleSchemaDescriptor message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ModuleSchemaDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.orm.v1alpha1.ModuleSchemaDescriptor; /** * Decodes a ModuleSchemaDescriptor message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ModuleSchemaDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.orm.v1alpha1.ModuleSchemaDescriptor; /** * Verifies a ModuleSchemaDescriptor message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ModuleSchemaDescriptor message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ModuleSchemaDescriptor */ public static fromObject(object: { [k: string]: any }): cosmos.orm.v1alpha1.ModuleSchemaDescriptor; /** * Creates a plain object from a ModuleSchemaDescriptor message. Also converts values to other types if specified. * @param message ModuleSchemaDescriptor * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.orm.v1alpha1.ModuleSchemaDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ModuleSchemaDescriptor to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } namespace ModuleSchemaDescriptor { /** Properties of a FileEntry. */ interface IFileEntry { /** FileEntry id */ id?: (number|null); /** FileEntry proto_file_name */ proto_file_name?: (string|null); /** FileEntry storage_type */ storage_type?: (cosmos.orm.v1alpha1.StorageType|null); } /** Represents a FileEntry. */ class FileEntry implements IFileEntry { /** * Constructs a new FileEntry. * @param [properties] Properties to set */ constructor(properties?: cosmos.orm.v1alpha1.ModuleSchemaDescriptor.IFileEntry); /** FileEntry id. */ public id: number; /** FileEntry proto_file_name. */ public proto_file_name: string; /** FileEntry storage_type. */ public storage_type: cosmos.orm.v1alpha1.StorageType; /** * Encodes the specified FileEntry message. Does not implicitly {@link cosmos.orm.v1alpha1.ModuleSchemaDescriptor.FileEntry.verify|verify} messages. * @param message FileEntry message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.orm.v1alpha1.ModuleSchemaDescriptor.IFileEntry, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FileEntry message, length delimited. Does not implicitly {@link cosmos.orm.v1alpha1.ModuleSchemaDescriptor.FileEntry.verify|verify} messages. * @param message FileEntry message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.orm.v1alpha1.ModuleSchemaDescriptor.IFileEntry, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FileEntry message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FileEntry * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.orm.v1alpha1.ModuleSchemaDescriptor.FileEntry; /** * Decodes a FileEntry message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FileEntry * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.orm.v1alpha1.ModuleSchemaDescriptor.FileEntry; /** * Verifies a FileEntry message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FileEntry message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FileEntry */ public static fromObject(object: { [k: string]: any }): cosmos.orm.v1alpha1.ModuleSchemaDescriptor.FileEntry; /** * Creates a plain object from a FileEntry message. Also converts values to other types if specified. * @param message FileEntry * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.orm.v1alpha1.ModuleSchemaDescriptor.FileEntry, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FileEntry to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } /** StorageType enum. */ enum StorageType { STORAGE_TYPE_DEFAULT_UNSPECIFIED = 0, STORAGE_TYPE_MEMORY = 1, STORAGE_TYPE_TRANSIENT = 2, STORAGE_TYPE_INDEX = 3, STORAGE_TYPE_COMMITMENT = 4 } } } /** Namespace params. */ namespace params { /** Namespace module. */ namespace module { /** Namespace v1. */ namespace v1 { /** Properties of a Module. */ interface IModule { } /** Represents a Module. */ class Module implements IModule { /** * Constructs a new Module. * @param [properties] Properties to set */ constructor(properties?: cosmos.params.module.v1.IModule); /** * Encodes the specified Module message. Does not implicitly {@link cosmos.params.module.v1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.params.module.v1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Module message, length delimited. Does not implicitly {@link cosmos.params.module.v1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.params.module.v1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Module message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.params.module.v1.Module; /** * Decodes a Module message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.params.module.v1.Module; /** * Verifies a Module message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Module message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Module */ public static fromObject(object: { [k: string]: any }): cosmos.params.module.v1.Module; /** * Creates a plain object from a Module message. Also converts values to other types if specified. * @param message Module * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.params.module.v1.Module, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Module to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace v1beta1. */ namespace v1beta1 { /** Represents a Query */ class Query extends $protobuf.rpc.Service { /** * Constructs a new Query service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls Params. * @param request QueryParamsRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryParamsResponse */ public params(request: cosmos.params.v1beta1.IQueryParamsRequest, callback: cosmos.params.v1beta1.Query.ParamsCallback): void; /** * Calls Params. * @param request QueryParamsRequest message or plain object * @returns Promise */ public params(request: cosmos.params.v1beta1.IQueryParamsRequest): Promise; /** * Calls Subspaces. * @param request QuerySubspacesRequest message or plain object * @param callback Node-style callback called with the error, if any, and QuerySubspacesResponse */ public subspaces(request: cosmos.params.v1beta1.IQuerySubspacesRequest, callback: cosmos.params.v1beta1.Query.SubspacesCallback): void; /** * Calls Subspaces. * @param request QuerySubspacesRequest message or plain object * @returns Promise */ public subspaces(request: cosmos.params.v1beta1.IQuerySubspacesRequest): Promise; } namespace Query { /** * Callback as used by {@link cosmos.params.v1beta1.Query#params}. * @param error Error, if any * @param [response] QueryParamsResponse */ type ParamsCallback = (error: (Error|null), response?: cosmos.params.v1beta1.QueryParamsResponse) => void; /** * Callback as used by {@link cosmos.params.v1beta1.Query#subspaces}. * @param error Error, if any * @param [response] QuerySubspacesResponse */ type SubspacesCallback = (error: (Error|null), response?: cosmos.params.v1beta1.QuerySubspacesResponse) => void; } /** Properties of a QueryParamsRequest. */ interface IQueryParamsRequest { /** QueryParamsRequest subspace */ subspace?: (string|null); /** QueryParamsRequest key */ key?: (string|null); } /** Represents a QueryParamsRequest. */ class QueryParamsRequest implements IQueryParamsRequest { /** * Constructs a new QueryParamsRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.params.v1beta1.IQueryParamsRequest); /** QueryParamsRequest subspace. */ public subspace: string; /** QueryParamsRequest key. */ public key: string; /** * Encodes the specified QueryParamsRequest message. Does not implicitly {@link cosmos.params.v1beta1.QueryParamsRequest.verify|verify} messages. * @param message QueryParamsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.params.v1beta1.IQueryParamsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryParamsRequest message, length delimited. Does not implicitly {@link cosmos.params.v1beta1.QueryParamsRequest.verify|verify} messages. * @param message QueryParamsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.params.v1beta1.IQueryParamsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryParamsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryParamsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.params.v1beta1.QueryParamsRequest; /** * Decodes a QueryParamsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryParamsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.params.v1beta1.QueryParamsRequest; /** * Verifies a QueryParamsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryParamsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryParamsRequest */ public static fromObject(object: { [k: string]: any }): cosmos.params.v1beta1.QueryParamsRequest; /** * Creates a plain object from a QueryParamsRequest message. Also converts values to other types if specified. * @param message QueryParamsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.params.v1beta1.QueryParamsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryParamsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryParamsResponse. */ interface IQueryParamsResponse { /** QueryParamsResponse param */ param?: (cosmos.params.v1beta1.IParamChange|null); } /** Represents a QueryParamsResponse. */ class QueryParamsResponse implements IQueryParamsResponse { /** * Constructs a new QueryParamsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.params.v1beta1.IQueryParamsResponse); /** QueryParamsResponse param. */ public param?: (cosmos.params.v1beta1.IParamChange|null); /** * Encodes the specified QueryParamsResponse message. Does not implicitly {@link cosmos.params.v1beta1.QueryParamsResponse.verify|verify} messages. * @param message QueryParamsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.params.v1beta1.IQueryParamsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryParamsResponse message, length delimited. Does not implicitly {@link cosmos.params.v1beta1.QueryParamsResponse.verify|verify} messages. * @param message QueryParamsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.params.v1beta1.IQueryParamsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryParamsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryParamsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.params.v1beta1.QueryParamsResponse; /** * Decodes a QueryParamsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryParamsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.params.v1beta1.QueryParamsResponse; /** * Verifies a QueryParamsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryParamsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryParamsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.params.v1beta1.QueryParamsResponse; /** * Creates a plain object from a QueryParamsResponse message. Also converts values to other types if specified. * @param message QueryParamsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.params.v1beta1.QueryParamsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryParamsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QuerySubspacesRequest. */ interface IQuerySubspacesRequest { } /** Represents a QuerySubspacesRequest. */ class QuerySubspacesRequest implements IQuerySubspacesRequest { /** * Constructs a new QuerySubspacesRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.params.v1beta1.IQuerySubspacesRequest); /** * Encodes the specified QuerySubspacesRequest message. Does not implicitly {@link cosmos.params.v1beta1.QuerySubspacesRequest.verify|verify} messages. * @param message QuerySubspacesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.params.v1beta1.IQuerySubspacesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QuerySubspacesRequest message, length delimited. Does not implicitly {@link cosmos.params.v1beta1.QuerySubspacesRequest.verify|verify} messages. * @param message QuerySubspacesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.params.v1beta1.IQuerySubspacesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QuerySubspacesRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QuerySubspacesRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.params.v1beta1.QuerySubspacesRequest; /** * Decodes a QuerySubspacesRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QuerySubspacesRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.params.v1beta1.QuerySubspacesRequest; /** * Verifies a QuerySubspacesRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QuerySubspacesRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QuerySubspacesRequest */ public static fromObject(object: { [k: string]: any }): cosmos.params.v1beta1.QuerySubspacesRequest; /** * Creates a plain object from a QuerySubspacesRequest message. Also converts values to other types if specified. * @param message QuerySubspacesRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.params.v1beta1.QuerySubspacesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QuerySubspacesRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QuerySubspacesResponse. */ interface IQuerySubspacesResponse { /** QuerySubspacesResponse subspaces */ subspaces?: (cosmos.params.v1beta1.ISubspace[]|null); } /** Represents a QuerySubspacesResponse. */ class QuerySubspacesResponse implements IQuerySubspacesResponse { /** * Constructs a new QuerySubspacesResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.params.v1beta1.IQuerySubspacesResponse); /** QuerySubspacesResponse subspaces. */ public subspaces: cosmos.params.v1beta1.ISubspace[]; /** * Encodes the specified QuerySubspacesResponse message. Does not implicitly {@link cosmos.params.v1beta1.QuerySubspacesResponse.verify|verify} messages. * @param message QuerySubspacesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.params.v1beta1.IQuerySubspacesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QuerySubspacesResponse message, length delimited. Does not implicitly {@link cosmos.params.v1beta1.QuerySubspacesResponse.verify|verify} messages. * @param message QuerySubspacesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.params.v1beta1.IQuerySubspacesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QuerySubspacesResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QuerySubspacesResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.params.v1beta1.QuerySubspacesResponse; /** * Decodes a QuerySubspacesResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QuerySubspacesResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.params.v1beta1.QuerySubspacesResponse; /** * Verifies a QuerySubspacesResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QuerySubspacesResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QuerySubspacesResponse */ public static fromObject(object: { [k: string]: any }): cosmos.params.v1beta1.QuerySubspacesResponse; /** * Creates a plain object from a QuerySubspacesResponse message. Also converts values to other types if specified. * @param message QuerySubspacesResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.params.v1beta1.QuerySubspacesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QuerySubspacesResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Subspace. */ interface ISubspace { /** Subspace subspace */ subspace?: (string|null); /** Subspace keys */ keys?: (string[]|null); } /** Represents a Subspace. */ class Subspace implements ISubspace { /** * Constructs a new Subspace. * @param [properties] Properties to set */ constructor(properties?: cosmos.params.v1beta1.ISubspace); /** Subspace subspace. */ public subspace: string; /** Subspace keys. */ public keys: string[]; /** * Encodes the specified Subspace message. Does not implicitly {@link cosmos.params.v1beta1.Subspace.verify|verify} messages. * @param message Subspace message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.params.v1beta1.ISubspace, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Subspace message, length delimited. Does not implicitly {@link cosmos.params.v1beta1.Subspace.verify|verify} messages. * @param message Subspace message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.params.v1beta1.ISubspace, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Subspace message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Subspace * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.params.v1beta1.Subspace; /** * Decodes a Subspace message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Subspace * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.params.v1beta1.Subspace; /** * Verifies a Subspace message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Subspace message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Subspace */ public static fromObject(object: { [k: string]: any }): cosmos.params.v1beta1.Subspace; /** * Creates a plain object from a Subspace message. Also converts values to other types if specified. * @param message Subspace * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.params.v1beta1.Subspace, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Subspace to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ParameterChangeProposal. */ interface IParameterChangeProposal { /** ParameterChangeProposal title */ title?: (string|null); /** ParameterChangeProposal description */ description?: (string|null); /** ParameterChangeProposal changes */ changes?: (cosmos.params.v1beta1.IParamChange[]|null); } /** Represents a ParameterChangeProposal. */ class ParameterChangeProposal implements IParameterChangeProposal { /** * Constructs a new ParameterChangeProposal. * @param [properties] Properties to set */ constructor(properties?: cosmos.params.v1beta1.IParameterChangeProposal); /** ParameterChangeProposal title. */ public title: string; /** ParameterChangeProposal description. */ public description: string; /** ParameterChangeProposal changes. */ public changes: cosmos.params.v1beta1.IParamChange[]; /** * Encodes the specified ParameterChangeProposal message. Does not implicitly {@link cosmos.params.v1beta1.ParameterChangeProposal.verify|verify} messages. * @param message ParameterChangeProposal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.params.v1beta1.IParameterChangeProposal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ParameterChangeProposal message, length delimited. Does not implicitly {@link cosmos.params.v1beta1.ParameterChangeProposal.verify|verify} messages. * @param message ParameterChangeProposal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.params.v1beta1.IParameterChangeProposal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ParameterChangeProposal message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ParameterChangeProposal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.params.v1beta1.ParameterChangeProposal; /** * Decodes a ParameterChangeProposal message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ParameterChangeProposal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.params.v1beta1.ParameterChangeProposal; /** * Verifies a ParameterChangeProposal message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ParameterChangeProposal message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ParameterChangeProposal */ public static fromObject(object: { [k: string]: any }): cosmos.params.v1beta1.ParameterChangeProposal; /** * Creates a plain object from a ParameterChangeProposal message. Also converts values to other types if specified. * @param message ParameterChangeProposal * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.params.v1beta1.ParameterChangeProposal, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ParameterChangeProposal to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ParamChange. */ interface IParamChange { /** ParamChange subspace */ subspace?: (string|null); /** ParamChange key */ key?: (string|null); /** ParamChange value */ value?: (string|null); } /** Represents a ParamChange. */ class ParamChange implements IParamChange { /** * Constructs a new ParamChange. * @param [properties] Properties to set */ constructor(properties?: cosmos.params.v1beta1.IParamChange); /** ParamChange subspace. */ public subspace: string; /** ParamChange key. */ public key: string; /** ParamChange value. */ public value: string; /** * Encodes the specified ParamChange message. Does not implicitly {@link cosmos.params.v1beta1.ParamChange.verify|verify} messages. * @param message ParamChange message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.params.v1beta1.IParamChange, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ParamChange message, length delimited. Does not implicitly {@link cosmos.params.v1beta1.ParamChange.verify|verify} messages. * @param message ParamChange message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.params.v1beta1.IParamChange, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ParamChange message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ParamChange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.params.v1beta1.ParamChange; /** * Decodes a ParamChange message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ParamChange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.params.v1beta1.ParamChange; /** * Verifies a ParamChange message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ParamChange message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ParamChange */ public static fromObject(object: { [k: string]: any }): cosmos.params.v1beta1.ParamChange; /** * Creates a plain object from a ParamChange message. Also converts values to other types if specified. * @param message ParamChange * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.params.v1beta1.ParamChange, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ParamChange to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace reflection. */ namespace reflection { /** Namespace v1. */ namespace v1 { /** Represents a ReflectionService */ class ReflectionService extends $protobuf.rpc.Service { /** * Constructs a new ReflectionService service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls FileDescriptors. * @param request FileDescriptorsRequest message or plain object * @param callback Node-style callback called with the error, if any, and FileDescriptorsResponse */ public fileDescriptors(request: cosmos.reflection.v1.IFileDescriptorsRequest, callback: cosmos.reflection.v1.ReflectionService.FileDescriptorsCallback): void; /** * Calls FileDescriptors. * @param request FileDescriptorsRequest message or plain object * @returns Promise */ public fileDescriptors(request: cosmos.reflection.v1.IFileDescriptorsRequest): Promise; } namespace ReflectionService { /** * Callback as used by {@link cosmos.reflection.v1.ReflectionService#fileDescriptors}. * @param error Error, if any * @param [response] FileDescriptorsResponse */ type FileDescriptorsCallback = (error: (Error|null), response?: cosmos.reflection.v1.FileDescriptorsResponse) => void; } /** Properties of a FileDescriptorsRequest. */ interface IFileDescriptorsRequest { } /** Represents a FileDescriptorsRequest. */ class FileDescriptorsRequest implements IFileDescriptorsRequest { /** * Constructs a new FileDescriptorsRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.reflection.v1.IFileDescriptorsRequest); /** * Encodes the specified FileDescriptorsRequest message. Does not implicitly {@link cosmos.reflection.v1.FileDescriptorsRequest.verify|verify} messages. * @param message FileDescriptorsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.reflection.v1.IFileDescriptorsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FileDescriptorsRequest message, length delimited. Does not implicitly {@link cosmos.reflection.v1.FileDescriptorsRequest.verify|verify} messages. * @param message FileDescriptorsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.reflection.v1.IFileDescriptorsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FileDescriptorsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FileDescriptorsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.reflection.v1.FileDescriptorsRequest; /** * Decodes a FileDescriptorsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FileDescriptorsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.reflection.v1.FileDescriptorsRequest; /** * Verifies a FileDescriptorsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FileDescriptorsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FileDescriptorsRequest */ public static fromObject(object: { [k: string]: any }): cosmos.reflection.v1.FileDescriptorsRequest; /** * Creates a plain object from a FileDescriptorsRequest message. Also converts values to other types if specified. * @param message FileDescriptorsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.reflection.v1.FileDescriptorsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FileDescriptorsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a FileDescriptorsResponse. */ interface IFileDescriptorsResponse { /** FileDescriptorsResponse files */ files?: (google.protobuf.IFileDescriptorProto[]|null); } /** Represents a FileDescriptorsResponse. */ class FileDescriptorsResponse implements IFileDescriptorsResponse { /** * Constructs a new FileDescriptorsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.reflection.v1.IFileDescriptorsResponse); /** FileDescriptorsResponse files. */ public files: google.protobuf.IFileDescriptorProto[]; /** * Encodes the specified FileDescriptorsResponse message. Does not implicitly {@link cosmos.reflection.v1.FileDescriptorsResponse.verify|verify} messages. * @param message FileDescriptorsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.reflection.v1.IFileDescriptorsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FileDescriptorsResponse message, length delimited. Does not implicitly {@link cosmos.reflection.v1.FileDescriptorsResponse.verify|verify} messages. * @param message FileDescriptorsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.reflection.v1.IFileDescriptorsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FileDescriptorsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FileDescriptorsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.reflection.v1.FileDescriptorsResponse; /** * Decodes a FileDescriptorsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FileDescriptorsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.reflection.v1.FileDescriptorsResponse; /** * Verifies a FileDescriptorsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FileDescriptorsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FileDescriptorsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.reflection.v1.FileDescriptorsResponse; /** * Creates a plain object from a FileDescriptorsResponse message. Also converts values to other types if specified. * @param message FileDescriptorsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.reflection.v1.FileDescriptorsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FileDescriptorsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace slashing. */ namespace slashing { /** Namespace module. */ namespace module { /** Namespace v1. */ namespace v1 { /** Properties of a Module. */ interface IModule { /** Module authority */ authority?: (string|null); } /** Represents a Module. */ class Module implements IModule { /** * Constructs a new Module. * @param [properties] Properties to set */ constructor(properties?: cosmos.slashing.module.v1.IModule); /** Module authority. */ public authority: string; /** * Encodes the specified Module message. Does not implicitly {@link cosmos.slashing.module.v1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.slashing.module.v1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Module message, length delimited. Does not implicitly {@link cosmos.slashing.module.v1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.slashing.module.v1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Module message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.slashing.module.v1.Module; /** * Decodes a Module message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.slashing.module.v1.Module; /** * Verifies a Module message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Module message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Module */ public static fromObject(object: { [k: string]: any }): cosmos.slashing.module.v1.Module; /** * Creates a plain object from a Module message. Also converts values to other types if specified. * @param message Module * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.slashing.module.v1.Module, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Module to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace v1beta1. */ namespace v1beta1 { /** Represents a Query */ class Query extends $protobuf.rpc.Service { /** * Constructs a new Query service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls Params. * @param request QueryParamsRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryParamsResponse */ public params(request: cosmos.slashing.v1beta1.IQueryParamsRequest, callback: cosmos.slashing.v1beta1.Query.ParamsCallback): void; /** * Calls Params. * @param request QueryParamsRequest message or plain object * @returns Promise */ public params(request: cosmos.slashing.v1beta1.IQueryParamsRequest): Promise; /** * Calls SigningInfo. * @param request QuerySigningInfoRequest message or plain object * @param callback Node-style callback called with the error, if any, and QuerySigningInfoResponse */ public signingInfo(request: cosmos.slashing.v1beta1.IQuerySigningInfoRequest, callback: cosmos.slashing.v1beta1.Query.SigningInfoCallback): void; /** * Calls SigningInfo. * @param request QuerySigningInfoRequest message or plain object * @returns Promise */ public signingInfo(request: cosmos.slashing.v1beta1.IQuerySigningInfoRequest): Promise; /** * Calls SigningInfos. * @param request QuerySigningInfosRequest message or plain object * @param callback Node-style callback called with the error, if any, and QuerySigningInfosResponse */ public signingInfos(request: cosmos.slashing.v1beta1.IQuerySigningInfosRequest, callback: cosmos.slashing.v1beta1.Query.SigningInfosCallback): void; /** * Calls SigningInfos. * @param request QuerySigningInfosRequest message or plain object * @returns Promise */ public signingInfos(request: cosmos.slashing.v1beta1.IQuerySigningInfosRequest): Promise; } namespace Query { /** * Callback as used by {@link cosmos.slashing.v1beta1.Query#params}. * @param error Error, if any * @param [response] QueryParamsResponse */ type ParamsCallback = (error: (Error|null), response?: cosmos.slashing.v1beta1.QueryParamsResponse) => void; /** * Callback as used by {@link cosmos.slashing.v1beta1.Query#signingInfo}. * @param error Error, if any * @param [response] QuerySigningInfoResponse */ type SigningInfoCallback = (error: (Error|null), response?: cosmos.slashing.v1beta1.QuerySigningInfoResponse) => void; /** * Callback as used by {@link cosmos.slashing.v1beta1.Query#signingInfos}. * @param error Error, if any * @param [response] QuerySigningInfosResponse */ type SigningInfosCallback = (error: (Error|null), response?: cosmos.slashing.v1beta1.QuerySigningInfosResponse) => void; } /** Properties of a QueryParamsRequest. */ interface IQueryParamsRequest { } /** Represents a QueryParamsRequest. */ class QueryParamsRequest implements IQueryParamsRequest { /** * Constructs a new QueryParamsRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.slashing.v1beta1.IQueryParamsRequest); /** * Encodes the specified QueryParamsRequest message. Does not implicitly {@link cosmos.slashing.v1beta1.QueryParamsRequest.verify|verify} messages. * @param message QueryParamsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.slashing.v1beta1.IQueryParamsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryParamsRequest message, length delimited. Does not implicitly {@link cosmos.slashing.v1beta1.QueryParamsRequest.verify|verify} messages. * @param message QueryParamsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.slashing.v1beta1.IQueryParamsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryParamsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryParamsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.slashing.v1beta1.QueryParamsRequest; /** * Decodes a QueryParamsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryParamsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.slashing.v1beta1.QueryParamsRequest; /** * Verifies a QueryParamsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryParamsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryParamsRequest */ public static fromObject(object: { [k: string]: any }): cosmos.slashing.v1beta1.QueryParamsRequest; /** * Creates a plain object from a QueryParamsRequest message. Also converts values to other types if specified. * @param message QueryParamsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.slashing.v1beta1.QueryParamsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryParamsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryParamsResponse. */ interface IQueryParamsResponse { /** QueryParamsResponse params */ params?: (cosmos.slashing.v1beta1.IParams|null); } /** Represents a QueryParamsResponse. */ class QueryParamsResponse implements IQueryParamsResponse { /** * Constructs a new QueryParamsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.slashing.v1beta1.IQueryParamsResponse); /** QueryParamsResponse params. */ public params?: (cosmos.slashing.v1beta1.IParams|null); /** * Encodes the specified QueryParamsResponse message. Does not implicitly {@link cosmos.slashing.v1beta1.QueryParamsResponse.verify|verify} messages. * @param message QueryParamsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.slashing.v1beta1.IQueryParamsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryParamsResponse message, length delimited. Does not implicitly {@link cosmos.slashing.v1beta1.QueryParamsResponse.verify|verify} messages. * @param message QueryParamsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.slashing.v1beta1.IQueryParamsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryParamsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryParamsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.slashing.v1beta1.QueryParamsResponse; /** * Decodes a QueryParamsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryParamsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.slashing.v1beta1.QueryParamsResponse; /** * Verifies a QueryParamsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryParamsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryParamsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.slashing.v1beta1.QueryParamsResponse; /** * Creates a plain object from a QueryParamsResponse message. Also converts values to other types if specified. * @param message QueryParamsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.slashing.v1beta1.QueryParamsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryParamsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QuerySigningInfoRequest. */ interface IQuerySigningInfoRequest { /** QuerySigningInfoRequest cons_address */ cons_address?: (string|null); } /** Represents a QuerySigningInfoRequest. */ class QuerySigningInfoRequest implements IQuerySigningInfoRequest { /** * Constructs a new QuerySigningInfoRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.slashing.v1beta1.IQuerySigningInfoRequest); /** QuerySigningInfoRequest cons_address. */ public cons_address: string; /** * Encodes the specified QuerySigningInfoRequest message. Does not implicitly {@link cosmos.slashing.v1beta1.QuerySigningInfoRequest.verify|verify} messages. * @param message QuerySigningInfoRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.slashing.v1beta1.IQuerySigningInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QuerySigningInfoRequest message, length delimited. Does not implicitly {@link cosmos.slashing.v1beta1.QuerySigningInfoRequest.verify|verify} messages. * @param message QuerySigningInfoRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.slashing.v1beta1.IQuerySigningInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QuerySigningInfoRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QuerySigningInfoRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.slashing.v1beta1.QuerySigningInfoRequest; /** * Decodes a QuerySigningInfoRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QuerySigningInfoRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.slashing.v1beta1.QuerySigningInfoRequest; /** * Verifies a QuerySigningInfoRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QuerySigningInfoRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QuerySigningInfoRequest */ public static fromObject(object: { [k: string]: any }): cosmos.slashing.v1beta1.QuerySigningInfoRequest; /** * Creates a plain object from a QuerySigningInfoRequest message. Also converts values to other types if specified. * @param message QuerySigningInfoRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.slashing.v1beta1.QuerySigningInfoRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QuerySigningInfoRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QuerySigningInfoResponse. */ interface IQuerySigningInfoResponse { /** QuerySigningInfoResponse val_signing_info */ val_signing_info?: (cosmos.slashing.v1beta1.IValidatorSigningInfo|null); } /** Represents a QuerySigningInfoResponse. */ class QuerySigningInfoResponse implements IQuerySigningInfoResponse { /** * Constructs a new QuerySigningInfoResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.slashing.v1beta1.IQuerySigningInfoResponse); /** QuerySigningInfoResponse val_signing_info. */ public val_signing_info?: (cosmos.slashing.v1beta1.IValidatorSigningInfo|null); /** * Encodes the specified QuerySigningInfoResponse message. Does not implicitly {@link cosmos.slashing.v1beta1.QuerySigningInfoResponse.verify|verify} messages. * @param message QuerySigningInfoResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.slashing.v1beta1.IQuerySigningInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QuerySigningInfoResponse message, length delimited. Does not implicitly {@link cosmos.slashing.v1beta1.QuerySigningInfoResponse.verify|verify} messages. * @param message QuerySigningInfoResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.slashing.v1beta1.IQuerySigningInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QuerySigningInfoResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QuerySigningInfoResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.slashing.v1beta1.QuerySigningInfoResponse; /** * Decodes a QuerySigningInfoResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QuerySigningInfoResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.slashing.v1beta1.QuerySigningInfoResponse; /** * Verifies a QuerySigningInfoResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QuerySigningInfoResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QuerySigningInfoResponse */ public static fromObject(object: { [k: string]: any }): cosmos.slashing.v1beta1.QuerySigningInfoResponse; /** * Creates a plain object from a QuerySigningInfoResponse message. Also converts values to other types if specified. * @param message QuerySigningInfoResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.slashing.v1beta1.QuerySigningInfoResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QuerySigningInfoResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QuerySigningInfosRequest. */ interface IQuerySigningInfosRequest { /** QuerySigningInfosRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a QuerySigningInfosRequest. */ class QuerySigningInfosRequest implements IQuerySigningInfosRequest { /** * Constructs a new QuerySigningInfosRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.slashing.v1beta1.IQuerySigningInfosRequest); /** QuerySigningInfosRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** * Encodes the specified QuerySigningInfosRequest message. Does not implicitly {@link cosmos.slashing.v1beta1.QuerySigningInfosRequest.verify|verify} messages. * @param message QuerySigningInfosRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.slashing.v1beta1.IQuerySigningInfosRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QuerySigningInfosRequest message, length delimited. Does not implicitly {@link cosmos.slashing.v1beta1.QuerySigningInfosRequest.verify|verify} messages. * @param message QuerySigningInfosRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.slashing.v1beta1.IQuerySigningInfosRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QuerySigningInfosRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QuerySigningInfosRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.slashing.v1beta1.QuerySigningInfosRequest; /** * Decodes a QuerySigningInfosRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QuerySigningInfosRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.slashing.v1beta1.QuerySigningInfosRequest; /** * Verifies a QuerySigningInfosRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QuerySigningInfosRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QuerySigningInfosRequest */ public static fromObject(object: { [k: string]: any }): cosmos.slashing.v1beta1.QuerySigningInfosRequest; /** * Creates a plain object from a QuerySigningInfosRequest message. Also converts values to other types if specified. * @param message QuerySigningInfosRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.slashing.v1beta1.QuerySigningInfosRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QuerySigningInfosRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QuerySigningInfosResponse. */ interface IQuerySigningInfosResponse { /** QuerySigningInfosResponse info */ info?: (cosmos.slashing.v1beta1.IValidatorSigningInfo[]|null); /** QuerySigningInfosResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a QuerySigningInfosResponse. */ class QuerySigningInfosResponse implements IQuerySigningInfosResponse { /** * Constructs a new QuerySigningInfosResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.slashing.v1beta1.IQuerySigningInfosResponse); /** QuerySigningInfosResponse info. */ public info: cosmos.slashing.v1beta1.IValidatorSigningInfo[]; /** QuerySigningInfosResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified QuerySigningInfosResponse message. Does not implicitly {@link cosmos.slashing.v1beta1.QuerySigningInfosResponse.verify|verify} messages. * @param message QuerySigningInfosResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.slashing.v1beta1.IQuerySigningInfosResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QuerySigningInfosResponse message, length delimited. Does not implicitly {@link cosmos.slashing.v1beta1.QuerySigningInfosResponse.verify|verify} messages. * @param message QuerySigningInfosResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.slashing.v1beta1.IQuerySigningInfosResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QuerySigningInfosResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QuerySigningInfosResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.slashing.v1beta1.QuerySigningInfosResponse; /** * Decodes a QuerySigningInfosResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QuerySigningInfosResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.slashing.v1beta1.QuerySigningInfosResponse; /** * Verifies a QuerySigningInfosResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QuerySigningInfosResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QuerySigningInfosResponse */ public static fromObject(object: { [k: string]: any }): cosmos.slashing.v1beta1.QuerySigningInfosResponse; /** * Creates a plain object from a QuerySigningInfosResponse message. Also converts values to other types if specified. * @param message QuerySigningInfosResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.slashing.v1beta1.QuerySigningInfosResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QuerySigningInfosResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ValidatorSigningInfo. */ interface IValidatorSigningInfo { /** ValidatorSigningInfo address */ address?: (string|null); /** ValidatorSigningInfo start_height */ start_height?: (Long|null); /** ValidatorSigningInfo index_offset */ index_offset?: (Long|null); /** ValidatorSigningInfo jailed_until */ jailed_until?: (google.protobuf.ITimestamp|null); /** ValidatorSigningInfo tombstoned */ tombstoned?: (boolean|null); /** ValidatorSigningInfo missed_blocks_counter */ missed_blocks_counter?: (Long|null); } /** Represents a ValidatorSigningInfo. */ class ValidatorSigningInfo implements IValidatorSigningInfo { /** * Constructs a new ValidatorSigningInfo. * @param [properties] Properties to set */ constructor(properties?: cosmos.slashing.v1beta1.IValidatorSigningInfo); /** ValidatorSigningInfo address. */ public address: string; /** ValidatorSigningInfo start_height. */ public start_height: Long; /** ValidatorSigningInfo index_offset. */ public index_offset: Long; /** ValidatorSigningInfo jailed_until. */ public jailed_until?: (google.protobuf.ITimestamp|null); /** ValidatorSigningInfo tombstoned. */ public tombstoned: boolean; /** ValidatorSigningInfo missed_blocks_counter. */ public missed_blocks_counter: Long; /** * Encodes the specified ValidatorSigningInfo message. Does not implicitly {@link cosmos.slashing.v1beta1.ValidatorSigningInfo.verify|verify} messages. * @param message ValidatorSigningInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.slashing.v1beta1.IValidatorSigningInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ValidatorSigningInfo message, length delimited. Does not implicitly {@link cosmos.slashing.v1beta1.ValidatorSigningInfo.verify|verify} messages. * @param message ValidatorSigningInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.slashing.v1beta1.IValidatorSigningInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ValidatorSigningInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ValidatorSigningInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.slashing.v1beta1.ValidatorSigningInfo; /** * Decodes a ValidatorSigningInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ValidatorSigningInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.slashing.v1beta1.ValidatorSigningInfo; /** * Verifies a ValidatorSigningInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ValidatorSigningInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ValidatorSigningInfo */ public static fromObject(object: { [k: string]: any }): cosmos.slashing.v1beta1.ValidatorSigningInfo; /** * Creates a plain object from a ValidatorSigningInfo message. Also converts values to other types if specified. * @param message ValidatorSigningInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.slashing.v1beta1.ValidatorSigningInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ValidatorSigningInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Params. */ interface IParams { /** Params signed_blocks_window */ signed_blocks_window?: (Long|null); /** Params min_signed_per_window */ min_signed_per_window?: (Uint8Array|null); /** Params downtime_jail_duration */ downtime_jail_duration?: (google.protobuf.IDuration|null); /** Params slash_fraction_double_sign */ slash_fraction_double_sign?: (Uint8Array|null); /** Params slash_fraction_downtime */ slash_fraction_downtime?: (Uint8Array|null); } /** Represents a Params. */ class Params implements IParams { /** * Constructs a new Params. * @param [properties] Properties to set */ constructor(properties?: cosmos.slashing.v1beta1.IParams); /** Params signed_blocks_window. */ public signed_blocks_window: Long; /** Params min_signed_per_window. */ public min_signed_per_window: Uint8Array; /** Params downtime_jail_duration. */ public downtime_jail_duration?: (google.protobuf.IDuration|null); /** Params slash_fraction_double_sign. */ public slash_fraction_double_sign: Uint8Array; /** Params slash_fraction_downtime. */ public slash_fraction_downtime: Uint8Array; /** * Encodes the specified Params message. Does not implicitly {@link cosmos.slashing.v1beta1.Params.verify|verify} messages. * @param message Params message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.slashing.v1beta1.IParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Params message, length delimited. Does not implicitly {@link cosmos.slashing.v1beta1.Params.verify|verify} messages. * @param message Params message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.slashing.v1beta1.IParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Params message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Params * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.slashing.v1beta1.Params; /** * Decodes a Params message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Params * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.slashing.v1beta1.Params; /** * Verifies a Params message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Params message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Params */ public static fromObject(object: { [k: string]: any }): cosmos.slashing.v1beta1.Params; /** * Creates a plain object from a Params message. Also converts values to other types if specified. * @param message Params * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.slashing.v1beta1.Params, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Params to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Represents a Msg */ class Msg extends $protobuf.rpc.Service { /** * Constructs a new Msg service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls Unjail. * @param request MsgUnjail message or plain object * @param callback Node-style callback called with the error, if any, and MsgUnjailResponse */ public unjail(request: cosmos.slashing.v1beta1.IMsgUnjail, callback: cosmos.slashing.v1beta1.Msg.UnjailCallback): void; /** * Calls Unjail. * @param request MsgUnjail message or plain object * @returns Promise */ public unjail(request: cosmos.slashing.v1beta1.IMsgUnjail): Promise; /** * Calls UpdateParams. * @param request MsgUpdateParams message or plain object * @param callback Node-style callback called with the error, if any, and MsgUpdateParamsResponse */ public updateParams(request: cosmos.slashing.v1beta1.IMsgUpdateParams, callback: cosmos.slashing.v1beta1.Msg.UpdateParamsCallback): void; /** * Calls UpdateParams. * @param request MsgUpdateParams message or plain object * @returns Promise */ public updateParams(request: cosmos.slashing.v1beta1.IMsgUpdateParams): Promise; } namespace Msg { /** * Callback as used by {@link cosmos.slashing.v1beta1.Msg#unjail}. * @param error Error, if any * @param [response] MsgUnjailResponse */ type UnjailCallback = (error: (Error|null), response?: cosmos.slashing.v1beta1.MsgUnjailResponse) => void; /** * Callback as used by {@link cosmos.slashing.v1beta1.Msg#updateParams}. * @param error Error, if any * @param [response] MsgUpdateParamsResponse */ type UpdateParamsCallback = (error: (Error|null), response?: cosmos.slashing.v1beta1.MsgUpdateParamsResponse) => void; } /** Properties of a MsgUnjail. */ interface IMsgUnjail { /** MsgUnjail validator_addr */ validator_addr?: (string|null); } /** Represents a MsgUnjail. */ class MsgUnjail implements IMsgUnjail { /** * Constructs a new MsgUnjail. * @param [properties] Properties to set */ constructor(properties?: cosmos.slashing.v1beta1.IMsgUnjail); /** MsgUnjail validator_addr. */ public validator_addr: string; /** * Encodes the specified MsgUnjail message. Does not implicitly {@link cosmos.slashing.v1beta1.MsgUnjail.verify|verify} messages. * @param message MsgUnjail message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.slashing.v1beta1.IMsgUnjail, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgUnjail message, length delimited. Does not implicitly {@link cosmos.slashing.v1beta1.MsgUnjail.verify|verify} messages. * @param message MsgUnjail message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.slashing.v1beta1.IMsgUnjail, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgUnjail message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgUnjail * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.slashing.v1beta1.MsgUnjail; /** * Decodes a MsgUnjail message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgUnjail * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.slashing.v1beta1.MsgUnjail; /** * Verifies a MsgUnjail message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgUnjail message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgUnjail */ public static fromObject(object: { [k: string]: any }): cosmos.slashing.v1beta1.MsgUnjail; /** * Creates a plain object from a MsgUnjail message. Also converts values to other types if specified. * @param message MsgUnjail * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.slashing.v1beta1.MsgUnjail, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgUnjail to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgUnjailResponse. */ interface IMsgUnjailResponse { } /** Represents a MsgUnjailResponse. */ class MsgUnjailResponse implements IMsgUnjailResponse { /** * Constructs a new MsgUnjailResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.slashing.v1beta1.IMsgUnjailResponse); /** * Encodes the specified MsgUnjailResponse message. Does not implicitly {@link cosmos.slashing.v1beta1.MsgUnjailResponse.verify|verify} messages. * @param message MsgUnjailResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.slashing.v1beta1.IMsgUnjailResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgUnjailResponse message, length delimited. Does not implicitly {@link cosmos.slashing.v1beta1.MsgUnjailResponse.verify|verify} messages. * @param message MsgUnjailResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.slashing.v1beta1.IMsgUnjailResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgUnjailResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgUnjailResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.slashing.v1beta1.MsgUnjailResponse; /** * Decodes a MsgUnjailResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgUnjailResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.slashing.v1beta1.MsgUnjailResponse; /** * Verifies a MsgUnjailResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgUnjailResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgUnjailResponse */ public static fromObject(object: { [k: string]: any }): cosmos.slashing.v1beta1.MsgUnjailResponse; /** * Creates a plain object from a MsgUnjailResponse message. Also converts values to other types if specified. * @param message MsgUnjailResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.slashing.v1beta1.MsgUnjailResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgUnjailResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgUpdateParams. */ interface IMsgUpdateParams { /** MsgUpdateParams authority */ authority?: (string|null); /** MsgUpdateParams params */ params?: (cosmos.slashing.v1beta1.IParams|null); } /** Represents a MsgUpdateParams. */ class MsgUpdateParams implements IMsgUpdateParams { /** * Constructs a new MsgUpdateParams. * @param [properties] Properties to set */ constructor(properties?: cosmos.slashing.v1beta1.IMsgUpdateParams); /** MsgUpdateParams authority. */ public authority: string; /** MsgUpdateParams params. */ public params?: (cosmos.slashing.v1beta1.IParams|null); /** * Encodes the specified MsgUpdateParams message. Does not implicitly {@link cosmos.slashing.v1beta1.MsgUpdateParams.verify|verify} messages. * @param message MsgUpdateParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.slashing.v1beta1.IMsgUpdateParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgUpdateParams message, length delimited. Does not implicitly {@link cosmos.slashing.v1beta1.MsgUpdateParams.verify|verify} messages. * @param message MsgUpdateParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.slashing.v1beta1.IMsgUpdateParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgUpdateParams message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgUpdateParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.slashing.v1beta1.MsgUpdateParams; /** * Decodes a MsgUpdateParams message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgUpdateParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.slashing.v1beta1.MsgUpdateParams; /** * Verifies a MsgUpdateParams message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgUpdateParams message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgUpdateParams */ public static fromObject(object: { [k: string]: any }): cosmos.slashing.v1beta1.MsgUpdateParams; /** * Creates a plain object from a MsgUpdateParams message. Also converts values to other types if specified. * @param message MsgUpdateParams * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.slashing.v1beta1.MsgUpdateParams, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgUpdateParams to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgUpdateParamsResponse. */ interface IMsgUpdateParamsResponse { } /** Represents a MsgUpdateParamsResponse. */ class MsgUpdateParamsResponse implements IMsgUpdateParamsResponse { /** * Constructs a new MsgUpdateParamsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.slashing.v1beta1.IMsgUpdateParamsResponse); /** * Encodes the specified MsgUpdateParamsResponse message. Does not implicitly {@link cosmos.slashing.v1beta1.MsgUpdateParamsResponse.verify|verify} messages. * @param message MsgUpdateParamsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.slashing.v1beta1.IMsgUpdateParamsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgUpdateParamsResponse message, length delimited. Does not implicitly {@link cosmos.slashing.v1beta1.MsgUpdateParamsResponse.verify|verify} messages. * @param message MsgUpdateParamsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.slashing.v1beta1.IMsgUpdateParamsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgUpdateParamsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgUpdateParamsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.slashing.v1beta1.MsgUpdateParamsResponse; /** * Decodes a MsgUpdateParamsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgUpdateParamsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.slashing.v1beta1.MsgUpdateParamsResponse; /** * Verifies a MsgUpdateParamsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgUpdateParamsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgUpdateParamsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.slashing.v1beta1.MsgUpdateParamsResponse; /** * Creates a plain object from a MsgUpdateParamsResponse message. Also converts values to other types if specified. * @param message MsgUpdateParamsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.slashing.v1beta1.MsgUpdateParamsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgUpdateParamsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GenesisState. */ interface IGenesisState { /** GenesisState params */ params?: (cosmos.slashing.v1beta1.IParams|null); /** GenesisState signing_infos */ signing_infos?: (cosmos.slashing.v1beta1.ISigningInfo[]|null); /** GenesisState missed_blocks */ missed_blocks?: (cosmos.slashing.v1beta1.IValidatorMissedBlocks[]|null); } /** Represents a GenesisState. */ class GenesisState implements IGenesisState { /** * Constructs a new GenesisState. * @param [properties] Properties to set */ constructor(properties?: cosmos.slashing.v1beta1.IGenesisState); /** GenesisState params. */ public params?: (cosmos.slashing.v1beta1.IParams|null); /** GenesisState signing_infos. */ public signing_infos: cosmos.slashing.v1beta1.ISigningInfo[]; /** GenesisState missed_blocks. */ public missed_blocks: cosmos.slashing.v1beta1.IValidatorMissedBlocks[]; /** * Encodes the specified GenesisState message. Does not implicitly {@link cosmos.slashing.v1beta1.GenesisState.verify|verify} messages. * @param message GenesisState message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.slashing.v1beta1.IGenesisState, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GenesisState message, length delimited. Does not implicitly {@link cosmos.slashing.v1beta1.GenesisState.verify|verify} messages. * @param message GenesisState message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.slashing.v1beta1.IGenesisState, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GenesisState message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GenesisState * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.slashing.v1beta1.GenesisState; /** * Decodes a GenesisState message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GenesisState * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.slashing.v1beta1.GenesisState; /** * Verifies a GenesisState message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GenesisState message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GenesisState */ public static fromObject(object: { [k: string]: any }): cosmos.slashing.v1beta1.GenesisState; /** * Creates a plain object from a GenesisState message. Also converts values to other types if specified. * @param message GenesisState * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.slashing.v1beta1.GenesisState, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GenesisState to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a SigningInfo. */ interface ISigningInfo { /** SigningInfo address */ address?: (string|null); /** SigningInfo validator_signing_info */ validator_signing_info?: (cosmos.slashing.v1beta1.IValidatorSigningInfo|null); } /** Represents a SigningInfo. */ class SigningInfo implements ISigningInfo { /** * Constructs a new SigningInfo. * @param [properties] Properties to set */ constructor(properties?: cosmos.slashing.v1beta1.ISigningInfo); /** SigningInfo address. */ public address: string; /** SigningInfo validator_signing_info. */ public validator_signing_info?: (cosmos.slashing.v1beta1.IValidatorSigningInfo|null); /** * Encodes the specified SigningInfo message. Does not implicitly {@link cosmos.slashing.v1beta1.SigningInfo.verify|verify} messages. * @param message SigningInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.slashing.v1beta1.ISigningInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SigningInfo message, length delimited. Does not implicitly {@link cosmos.slashing.v1beta1.SigningInfo.verify|verify} messages. * @param message SigningInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.slashing.v1beta1.ISigningInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SigningInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SigningInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.slashing.v1beta1.SigningInfo; /** * Decodes a SigningInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SigningInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.slashing.v1beta1.SigningInfo; /** * Verifies a SigningInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SigningInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SigningInfo */ public static fromObject(object: { [k: string]: any }): cosmos.slashing.v1beta1.SigningInfo; /** * Creates a plain object from a SigningInfo message. Also converts values to other types if specified. * @param message SigningInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.slashing.v1beta1.SigningInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SigningInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ValidatorMissedBlocks. */ interface IValidatorMissedBlocks { /** ValidatorMissedBlocks address */ address?: (string|null); /** ValidatorMissedBlocks missed_blocks */ missed_blocks?: (cosmos.slashing.v1beta1.IMissedBlock[]|null); } /** Represents a ValidatorMissedBlocks. */ class ValidatorMissedBlocks implements IValidatorMissedBlocks { /** * Constructs a new ValidatorMissedBlocks. * @param [properties] Properties to set */ constructor(properties?: cosmos.slashing.v1beta1.IValidatorMissedBlocks); /** ValidatorMissedBlocks address. */ public address: string; /** ValidatorMissedBlocks missed_blocks. */ public missed_blocks: cosmos.slashing.v1beta1.IMissedBlock[]; /** * Encodes the specified ValidatorMissedBlocks message. Does not implicitly {@link cosmos.slashing.v1beta1.ValidatorMissedBlocks.verify|verify} messages. * @param message ValidatorMissedBlocks message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.slashing.v1beta1.IValidatorMissedBlocks, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ValidatorMissedBlocks message, length delimited. Does not implicitly {@link cosmos.slashing.v1beta1.ValidatorMissedBlocks.verify|verify} messages. * @param message ValidatorMissedBlocks message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.slashing.v1beta1.IValidatorMissedBlocks, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ValidatorMissedBlocks message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ValidatorMissedBlocks * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.slashing.v1beta1.ValidatorMissedBlocks; /** * Decodes a ValidatorMissedBlocks message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ValidatorMissedBlocks * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.slashing.v1beta1.ValidatorMissedBlocks; /** * Verifies a ValidatorMissedBlocks message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ValidatorMissedBlocks message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ValidatorMissedBlocks */ public static fromObject(object: { [k: string]: any }): cosmos.slashing.v1beta1.ValidatorMissedBlocks; /** * Creates a plain object from a ValidatorMissedBlocks message. Also converts values to other types if specified. * @param message ValidatorMissedBlocks * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.slashing.v1beta1.ValidatorMissedBlocks, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ValidatorMissedBlocks to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MissedBlock. */ interface IMissedBlock { /** MissedBlock index */ index?: (Long|null); /** MissedBlock missed */ missed?: (boolean|null); } /** Represents a MissedBlock. */ class MissedBlock implements IMissedBlock { /** * Constructs a new MissedBlock. * @param [properties] Properties to set */ constructor(properties?: cosmos.slashing.v1beta1.IMissedBlock); /** MissedBlock index. */ public index: Long; /** MissedBlock missed. */ public missed: boolean; /** * Encodes the specified MissedBlock message. Does not implicitly {@link cosmos.slashing.v1beta1.MissedBlock.verify|verify} messages. * @param message MissedBlock message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.slashing.v1beta1.IMissedBlock, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MissedBlock message, length delimited. Does not implicitly {@link cosmos.slashing.v1beta1.MissedBlock.verify|verify} messages. * @param message MissedBlock message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.slashing.v1beta1.IMissedBlock, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MissedBlock message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MissedBlock * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.slashing.v1beta1.MissedBlock; /** * Decodes a MissedBlock message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MissedBlock * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.slashing.v1beta1.MissedBlock; /** * Verifies a MissedBlock message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MissedBlock message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MissedBlock */ public static fromObject(object: { [k: string]: any }): cosmos.slashing.v1beta1.MissedBlock; /** * Creates a plain object from a MissedBlock message. Also converts values to other types if specified. * @param message MissedBlock * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.slashing.v1beta1.MissedBlock, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MissedBlock to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace staking. */ namespace staking { /** Namespace module. */ namespace module { /** Namespace v1. */ namespace v1 { /** Properties of a Module. */ interface IModule { /** Module hooks_order */ hooks_order?: (string[]|null); /** Module authority */ authority?: (string|null); } /** Represents a Module. */ class Module implements IModule { /** * Constructs a new Module. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.module.v1.IModule); /** Module hooks_order. */ public hooks_order: string[]; /** Module authority. */ public authority: string; /** * Encodes the specified Module message. Does not implicitly {@link cosmos.staking.module.v1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.module.v1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Module message, length delimited. Does not implicitly {@link cosmos.staking.module.v1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.module.v1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Module message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.module.v1.Module; /** * Decodes a Module message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.module.v1.Module; /** * Verifies a Module message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Module message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Module */ public static fromObject(object: { [k: string]: any }): cosmos.staking.module.v1.Module; /** * Creates a plain object from a Module message. Also converts values to other types if specified. * @param message Module * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.module.v1.Module, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Module to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace v1beta1. */ namespace v1beta1 { /** Properties of a HistoricalInfo. */ interface IHistoricalInfo { /** HistoricalInfo header */ header?: (cometbft.types.IHeader|null); /** HistoricalInfo valset */ valset?: (cosmos.staking.v1beta1.IValidator[]|null); } /** Represents a HistoricalInfo. */ class HistoricalInfo implements IHistoricalInfo { /** * Constructs a new HistoricalInfo. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IHistoricalInfo); /** HistoricalInfo header. */ public header?: (cometbft.types.IHeader|null); /** HistoricalInfo valset. */ public valset: cosmos.staking.v1beta1.IValidator[]; /** * Encodes the specified HistoricalInfo message. Does not implicitly {@link cosmos.staking.v1beta1.HistoricalInfo.verify|verify} messages. * @param message HistoricalInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IHistoricalInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified HistoricalInfo message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.HistoricalInfo.verify|verify} messages. * @param message HistoricalInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IHistoricalInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a HistoricalInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns HistoricalInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.HistoricalInfo; /** * Decodes a HistoricalInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns HistoricalInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.HistoricalInfo; /** * Verifies a HistoricalInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a HistoricalInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns HistoricalInfo */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.HistoricalInfo; /** * Creates a plain object from a HistoricalInfo message. Also converts values to other types if specified. * @param message HistoricalInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.HistoricalInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this HistoricalInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a CommissionRates. */ interface ICommissionRates { /** CommissionRates rate */ rate?: (string|null); /** CommissionRates max_rate */ max_rate?: (string|null); /** CommissionRates max_change_rate */ max_change_rate?: (string|null); } /** Represents a CommissionRates. */ class CommissionRates implements ICommissionRates { /** * Constructs a new CommissionRates. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.ICommissionRates); /** CommissionRates rate. */ public rate: string; /** CommissionRates max_rate. */ public max_rate: string; /** CommissionRates max_change_rate. */ public max_change_rate: string; /** * Encodes the specified CommissionRates message. Does not implicitly {@link cosmos.staking.v1beta1.CommissionRates.verify|verify} messages. * @param message CommissionRates message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.ICommissionRates, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CommissionRates message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.CommissionRates.verify|verify} messages. * @param message CommissionRates message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.ICommissionRates, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CommissionRates message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CommissionRates * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.CommissionRates; /** * Decodes a CommissionRates message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CommissionRates * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.CommissionRates; /** * Verifies a CommissionRates message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CommissionRates message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CommissionRates */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.CommissionRates; /** * Creates a plain object from a CommissionRates message. Also converts values to other types if specified. * @param message CommissionRates * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.CommissionRates, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CommissionRates to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Commission. */ interface ICommission { /** Commission commission_rates */ commission_rates?: (cosmos.staking.v1beta1.ICommissionRates|null); /** Commission update_time */ update_time?: (google.protobuf.ITimestamp|null); } /** Represents a Commission. */ class Commission implements ICommission { /** * Constructs a new Commission. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.ICommission); /** Commission commission_rates. */ public commission_rates?: (cosmos.staking.v1beta1.ICommissionRates|null); /** Commission update_time. */ public update_time?: (google.protobuf.ITimestamp|null); /** * Encodes the specified Commission message. Does not implicitly {@link cosmos.staking.v1beta1.Commission.verify|verify} messages. * @param message Commission message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.ICommission, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Commission message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.Commission.verify|verify} messages. * @param message Commission message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.ICommission, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Commission message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Commission * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.Commission; /** * Decodes a Commission message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Commission * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.Commission; /** * Verifies a Commission message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Commission message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Commission */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.Commission; /** * Creates a plain object from a Commission message. Also converts values to other types if specified. * @param message Commission * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.Commission, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Commission to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Description. */ interface IDescription { /** Description moniker */ moniker?: (string|null); /** Description identity */ identity?: (string|null); /** Description website */ website?: (string|null); /** Description security_contact */ security_contact?: (string|null); /** Description details */ details?: (string|null); } /** Represents a Description. */ class Description implements IDescription { /** * Constructs a new Description. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IDescription); /** Description moniker. */ public moniker: string; /** Description identity. */ public identity: string; /** Description website. */ public website: string; /** Description security_contact. */ public security_contact: string; /** Description details. */ public details: string; /** * Encodes the specified Description message. Does not implicitly {@link cosmos.staking.v1beta1.Description.verify|verify} messages. * @param message Description message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IDescription, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Description message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.Description.verify|verify} messages. * @param message Description message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IDescription, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Description message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Description * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.Description; /** * Decodes a Description message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Description * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.Description; /** * Verifies a Description message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Description message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Description */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.Description; /** * Creates a plain object from a Description message. Also converts values to other types if specified. * @param message Description * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.Description, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Description to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Validator. */ interface IValidator { /** Validator operator_address */ operator_address?: (string|null); /** Validator consensus_pubkey */ consensus_pubkey?: (google.protobuf.IAny|null); /** Validator jailed */ jailed?: (boolean|null); /** Validator status */ status?: (cosmos.staking.v1beta1.BondStatus|null); /** Validator tokens */ tokens?: (string|null); /** Validator delegator_shares */ delegator_shares?: (string|null); /** Validator description */ description?: (cosmos.staking.v1beta1.IDescription|null); /** Validator unbonding_height */ unbonding_height?: (Long|null); /** Validator unbonding_time */ unbonding_time?: (google.protobuf.ITimestamp|null); /** Validator commission */ commission?: (cosmos.staking.v1beta1.ICommission|null); /** Validator min_self_delegation */ min_self_delegation?: (string|null); /** Validator unbonding_on_hold_ref_count */ unbonding_on_hold_ref_count?: (Long|null); /** Validator unbonding_ids */ unbonding_ids?: (Long[]|null); } /** Represents a Validator. */ class Validator implements IValidator { /** * Constructs a new Validator. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IValidator); /** Validator operator_address. */ public operator_address: string; /** Validator consensus_pubkey. */ public consensus_pubkey?: (google.protobuf.IAny|null); /** Validator jailed. */ public jailed: boolean; /** Validator status. */ public status: cosmos.staking.v1beta1.BondStatus; /** Validator tokens. */ public tokens: string; /** Validator delegator_shares. */ public delegator_shares: string; /** Validator description. */ public description?: (cosmos.staking.v1beta1.IDescription|null); /** Validator unbonding_height. */ public unbonding_height: Long; /** Validator unbonding_time. */ public unbonding_time?: (google.protobuf.ITimestamp|null); /** Validator commission. */ public commission?: (cosmos.staking.v1beta1.ICommission|null); /** Validator min_self_delegation. */ public min_self_delegation: string; /** Validator unbonding_on_hold_ref_count. */ public unbonding_on_hold_ref_count: Long; /** Validator unbonding_ids. */ public unbonding_ids: Long[]; /** * Encodes the specified Validator message. Does not implicitly {@link cosmos.staking.v1beta1.Validator.verify|verify} messages. * @param message Validator message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IValidator, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Validator message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.Validator.verify|verify} messages. * @param message Validator message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IValidator, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Validator message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Validator * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.Validator; /** * Decodes a Validator message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Validator * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.Validator; /** * Verifies a Validator message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Validator message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Validator */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.Validator; /** * Creates a plain object from a Validator message. Also converts values to other types if specified. * @param message Validator * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.Validator, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Validator to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** BondStatus enum. */ enum BondStatus { BOND_STATUS_UNSPECIFIED = 0, BOND_STATUS_UNBONDED = 1, BOND_STATUS_UNBONDING = 2, BOND_STATUS_BONDED = 3 } /** Properties of a ValAddresses. */ interface IValAddresses { /** ValAddresses addresses */ addresses?: (string[]|null); } /** Represents a ValAddresses. */ class ValAddresses implements IValAddresses { /** * Constructs a new ValAddresses. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IValAddresses); /** ValAddresses addresses. */ public addresses: string[]; /** * Encodes the specified ValAddresses message. Does not implicitly {@link cosmos.staking.v1beta1.ValAddresses.verify|verify} messages. * @param message ValAddresses message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IValAddresses, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ValAddresses message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.ValAddresses.verify|verify} messages. * @param message ValAddresses message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IValAddresses, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ValAddresses message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ValAddresses * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.ValAddresses; /** * Decodes a ValAddresses message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ValAddresses * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.ValAddresses; /** * Verifies a ValAddresses message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ValAddresses message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ValAddresses */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.ValAddresses; /** * Creates a plain object from a ValAddresses message. Also converts values to other types if specified. * @param message ValAddresses * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.ValAddresses, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ValAddresses to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a DVPair. */ interface IDVPair { /** DVPair delegator_address */ delegator_address?: (string|null); /** DVPair validator_address */ validator_address?: (string|null); } /** Represents a DVPair. */ class DVPair implements IDVPair { /** * Constructs a new DVPair. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IDVPair); /** DVPair delegator_address. */ public delegator_address: string; /** DVPair validator_address. */ public validator_address: string; /** * Encodes the specified DVPair message. Does not implicitly {@link cosmos.staking.v1beta1.DVPair.verify|verify} messages. * @param message DVPair message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IDVPair, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DVPair message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.DVPair.verify|verify} messages. * @param message DVPair message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IDVPair, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DVPair message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DVPair * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.DVPair; /** * Decodes a DVPair message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DVPair * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.DVPair; /** * Verifies a DVPair message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DVPair message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DVPair */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.DVPair; /** * Creates a plain object from a DVPair message. Also converts values to other types if specified. * @param message DVPair * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.DVPair, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DVPair to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a DVPairs. */ interface IDVPairs { /** DVPairs pairs */ pairs?: (cosmos.staking.v1beta1.IDVPair[]|null); } /** Represents a DVPairs. */ class DVPairs implements IDVPairs { /** * Constructs a new DVPairs. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IDVPairs); /** DVPairs pairs. */ public pairs: cosmos.staking.v1beta1.IDVPair[]; /** * Encodes the specified DVPairs message. Does not implicitly {@link cosmos.staking.v1beta1.DVPairs.verify|verify} messages. * @param message DVPairs message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IDVPairs, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DVPairs message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.DVPairs.verify|verify} messages. * @param message DVPairs message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IDVPairs, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DVPairs message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DVPairs * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.DVPairs; /** * Decodes a DVPairs message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DVPairs * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.DVPairs; /** * Verifies a DVPairs message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DVPairs message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DVPairs */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.DVPairs; /** * Creates a plain object from a DVPairs message. Also converts values to other types if specified. * @param message DVPairs * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.DVPairs, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DVPairs to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a DVVTriplet. */ interface IDVVTriplet { /** DVVTriplet delegator_address */ delegator_address?: (string|null); /** DVVTriplet validator_src_address */ validator_src_address?: (string|null); /** DVVTriplet validator_dst_address */ validator_dst_address?: (string|null); } /** Represents a DVVTriplet. */ class DVVTriplet implements IDVVTriplet { /** * Constructs a new DVVTriplet. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IDVVTriplet); /** DVVTriplet delegator_address. */ public delegator_address: string; /** DVVTriplet validator_src_address. */ public validator_src_address: string; /** DVVTriplet validator_dst_address. */ public validator_dst_address: string; /** * Encodes the specified DVVTriplet message. Does not implicitly {@link cosmos.staking.v1beta1.DVVTriplet.verify|verify} messages. * @param message DVVTriplet message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IDVVTriplet, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DVVTriplet message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.DVVTriplet.verify|verify} messages. * @param message DVVTriplet message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IDVVTriplet, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DVVTriplet message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DVVTriplet * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.DVVTriplet; /** * Decodes a DVVTriplet message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DVVTriplet * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.DVVTriplet; /** * Verifies a DVVTriplet message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DVVTriplet message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DVVTriplet */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.DVVTriplet; /** * Creates a plain object from a DVVTriplet message. Also converts values to other types if specified. * @param message DVVTriplet * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.DVVTriplet, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DVVTriplet to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a DVVTriplets. */ interface IDVVTriplets { /** DVVTriplets triplets */ triplets?: (cosmos.staking.v1beta1.IDVVTriplet[]|null); } /** Represents a DVVTriplets. */ class DVVTriplets implements IDVVTriplets { /** * Constructs a new DVVTriplets. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IDVVTriplets); /** DVVTriplets triplets. */ public triplets: cosmos.staking.v1beta1.IDVVTriplet[]; /** * Encodes the specified DVVTriplets message. Does not implicitly {@link cosmos.staking.v1beta1.DVVTriplets.verify|verify} messages. * @param message DVVTriplets message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IDVVTriplets, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DVVTriplets message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.DVVTriplets.verify|verify} messages. * @param message DVVTriplets message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IDVVTriplets, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DVVTriplets message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DVVTriplets * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.DVVTriplets; /** * Decodes a DVVTriplets message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DVVTriplets * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.DVVTriplets; /** * Verifies a DVVTriplets message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DVVTriplets message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DVVTriplets */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.DVVTriplets; /** * Creates a plain object from a DVVTriplets message. Also converts values to other types if specified. * @param message DVVTriplets * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.DVVTriplets, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DVVTriplets to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Delegation. */ interface IDelegation { /** Delegation delegator_address */ delegator_address?: (string|null); /** Delegation validator_address */ validator_address?: (string|null); /** Delegation shares */ shares?: (string|null); } /** Represents a Delegation. */ class Delegation implements IDelegation { /** * Constructs a new Delegation. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IDelegation); /** Delegation delegator_address. */ public delegator_address: string; /** Delegation validator_address. */ public validator_address: string; /** Delegation shares. */ public shares: string; /** * Encodes the specified Delegation message. Does not implicitly {@link cosmos.staking.v1beta1.Delegation.verify|verify} messages. * @param message Delegation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IDelegation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Delegation message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.Delegation.verify|verify} messages. * @param message Delegation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IDelegation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Delegation message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Delegation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.Delegation; /** * Decodes a Delegation message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Delegation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.Delegation; /** * Verifies a Delegation message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Delegation message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Delegation */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.Delegation; /** * Creates a plain object from a Delegation message. Also converts values to other types if specified. * @param message Delegation * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.Delegation, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Delegation to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an UnbondingDelegation. */ interface IUnbondingDelegation { /** UnbondingDelegation delegator_address */ delegator_address?: (string|null); /** UnbondingDelegation validator_address */ validator_address?: (string|null); /** UnbondingDelegation entries */ entries?: (cosmos.staking.v1beta1.IUnbondingDelegationEntry[]|null); } /** Represents an UnbondingDelegation. */ class UnbondingDelegation implements IUnbondingDelegation { /** * Constructs a new UnbondingDelegation. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IUnbondingDelegation); /** UnbondingDelegation delegator_address. */ public delegator_address: string; /** UnbondingDelegation validator_address. */ public validator_address: string; /** UnbondingDelegation entries. */ public entries: cosmos.staking.v1beta1.IUnbondingDelegationEntry[]; /** * Encodes the specified UnbondingDelegation message. Does not implicitly {@link cosmos.staking.v1beta1.UnbondingDelegation.verify|verify} messages. * @param message UnbondingDelegation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IUnbondingDelegation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UnbondingDelegation message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.UnbondingDelegation.verify|verify} messages. * @param message UnbondingDelegation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IUnbondingDelegation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an UnbondingDelegation message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UnbondingDelegation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.UnbondingDelegation; /** * Decodes an UnbondingDelegation message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UnbondingDelegation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.UnbondingDelegation; /** * Verifies an UnbondingDelegation message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an UnbondingDelegation message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UnbondingDelegation */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.UnbondingDelegation; /** * Creates a plain object from an UnbondingDelegation message. Also converts values to other types if specified. * @param message UnbondingDelegation * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.UnbondingDelegation, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UnbondingDelegation to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an UnbondingDelegationEntry. */ interface IUnbondingDelegationEntry { /** UnbondingDelegationEntry creation_height */ creation_height?: (Long|null); /** UnbondingDelegationEntry completion_time */ completion_time?: (google.protobuf.ITimestamp|null); /** UnbondingDelegationEntry initial_balance */ initial_balance?: (string|null); /** UnbondingDelegationEntry balance */ balance?: (string|null); /** UnbondingDelegationEntry unbonding_id */ unbonding_id?: (Long|null); /** UnbondingDelegationEntry unbonding_on_hold_ref_count */ unbonding_on_hold_ref_count?: (Long|null); } /** Represents an UnbondingDelegationEntry. */ class UnbondingDelegationEntry implements IUnbondingDelegationEntry { /** * Constructs a new UnbondingDelegationEntry. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IUnbondingDelegationEntry); /** UnbondingDelegationEntry creation_height. */ public creation_height: Long; /** UnbondingDelegationEntry completion_time. */ public completion_time?: (google.protobuf.ITimestamp|null); /** UnbondingDelegationEntry initial_balance. */ public initial_balance: string; /** UnbondingDelegationEntry balance. */ public balance: string; /** UnbondingDelegationEntry unbonding_id. */ public unbonding_id: Long; /** UnbondingDelegationEntry unbonding_on_hold_ref_count. */ public unbonding_on_hold_ref_count: Long; /** * Encodes the specified UnbondingDelegationEntry message. Does not implicitly {@link cosmos.staking.v1beta1.UnbondingDelegationEntry.verify|verify} messages. * @param message UnbondingDelegationEntry message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IUnbondingDelegationEntry, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UnbondingDelegationEntry message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.UnbondingDelegationEntry.verify|verify} messages. * @param message UnbondingDelegationEntry message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IUnbondingDelegationEntry, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an UnbondingDelegationEntry message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UnbondingDelegationEntry * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.UnbondingDelegationEntry; /** * Decodes an UnbondingDelegationEntry message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UnbondingDelegationEntry * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.UnbondingDelegationEntry; /** * Verifies an UnbondingDelegationEntry message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an UnbondingDelegationEntry message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UnbondingDelegationEntry */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.UnbondingDelegationEntry; /** * Creates a plain object from an UnbondingDelegationEntry message. Also converts values to other types if specified. * @param message UnbondingDelegationEntry * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.UnbondingDelegationEntry, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UnbondingDelegationEntry to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a RedelegationEntry. */ interface IRedelegationEntry { /** RedelegationEntry creation_height */ creation_height?: (Long|null); /** RedelegationEntry completion_time */ completion_time?: (google.protobuf.ITimestamp|null); /** RedelegationEntry initial_balance */ initial_balance?: (string|null); /** RedelegationEntry shares_dst */ shares_dst?: (string|null); /** RedelegationEntry unbonding_id */ unbonding_id?: (Long|null); /** RedelegationEntry unbonding_on_hold_ref_count */ unbonding_on_hold_ref_count?: (Long|null); } /** Represents a RedelegationEntry. */ class RedelegationEntry implements IRedelegationEntry { /** * Constructs a new RedelegationEntry. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IRedelegationEntry); /** RedelegationEntry creation_height. */ public creation_height: Long; /** RedelegationEntry completion_time. */ public completion_time?: (google.protobuf.ITimestamp|null); /** RedelegationEntry initial_balance. */ public initial_balance: string; /** RedelegationEntry shares_dst. */ public shares_dst: string; /** RedelegationEntry unbonding_id. */ public unbonding_id: Long; /** RedelegationEntry unbonding_on_hold_ref_count. */ public unbonding_on_hold_ref_count: Long; /** * Encodes the specified RedelegationEntry message. Does not implicitly {@link cosmos.staking.v1beta1.RedelegationEntry.verify|verify} messages. * @param message RedelegationEntry message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IRedelegationEntry, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RedelegationEntry message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.RedelegationEntry.verify|verify} messages. * @param message RedelegationEntry message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IRedelegationEntry, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RedelegationEntry message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RedelegationEntry * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.RedelegationEntry; /** * Decodes a RedelegationEntry message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RedelegationEntry * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.RedelegationEntry; /** * Verifies a RedelegationEntry message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RedelegationEntry message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RedelegationEntry */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.RedelegationEntry; /** * Creates a plain object from a RedelegationEntry message. Also converts values to other types if specified. * @param message RedelegationEntry * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.RedelegationEntry, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RedelegationEntry to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Redelegation. */ interface IRedelegation { /** Redelegation delegator_address */ delegator_address?: (string|null); /** Redelegation validator_src_address */ validator_src_address?: (string|null); /** Redelegation validator_dst_address */ validator_dst_address?: (string|null); /** Redelegation entries */ entries?: (cosmos.staking.v1beta1.IRedelegationEntry[]|null); } /** Represents a Redelegation. */ class Redelegation implements IRedelegation { /** * Constructs a new Redelegation. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IRedelegation); /** Redelegation delegator_address. */ public delegator_address: string; /** Redelegation validator_src_address. */ public validator_src_address: string; /** Redelegation validator_dst_address. */ public validator_dst_address: string; /** Redelegation entries. */ public entries: cosmos.staking.v1beta1.IRedelegationEntry[]; /** * Encodes the specified Redelegation message. Does not implicitly {@link cosmos.staking.v1beta1.Redelegation.verify|verify} messages. * @param message Redelegation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IRedelegation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Redelegation message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.Redelegation.verify|verify} messages. * @param message Redelegation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IRedelegation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Redelegation message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Redelegation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.Redelegation; /** * Decodes a Redelegation message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Redelegation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.Redelegation; /** * Verifies a Redelegation message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Redelegation message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Redelegation */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.Redelegation; /** * Creates a plain object from a Redelegation message. Also converts values to other types if specified. * @param message Redelegation * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.Redelegation, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Redelegation to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Params. */ interface IParams { /** Params unbonding_time */ unbonding_time?: (google.protobuf.IDuration|null); /** Params max_validators */ max_validators?: (number|null); /** Params max_entries */ max_entries?: (number|null); /** Params historical_entries */ historical_entries?: (number|null); /** Params bond_denom */ bond_denom?: (string|null); /** Params min_commission_rate */ min_commission_rate?: (string|null); } /** Represents a Params. */ class Params implements IParams { /** * Constructs a new Params. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IParams); /** Params unbonding_time. */ public unbonding_time?: (google.protobuf.IDuration|null); /** Params max_validators. */ public max_validators: number; /** Params max_entries. */ public max_entries: number; /** Params historical_entries. */ public historical_entries: number; /** Params bond_denom. */ public bond_denom: string; /** Params min_commission_rate. */ public min_commission_rate: string; /** * Encodes the specified Params message. Does not implicitly {@link cosmos.staking.v1beta1.Params.verify|verify} messages. * @param message Params message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Params message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.Params.verify|verify} messages. * @param message Params message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Params message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Params * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.Params; /** * Decodes a Params message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Params * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.Params; /** * Verifies a Params message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Params message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Params */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.Params; /** * Creates a plain object from a Params message. Also converts values to other types if specified. * @param message Params * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.Params, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Params to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a DelegationResponse. */ interface IDelegationResponse { /** DelegationResponse delegation */ delegation?: (cosmos.staking.v1beta1.IDelegation|null); /** DelegationResponse balance */ balance?: (cosmos.base.v1beta1.ICoin|null); } /** Represents a DelegationResponse. */ class DelegationResponse implements IDelegationResponse { /** * Constructs a new DelegationResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IDelegationResponse); /** DelegationResponse delegation. */ public delegation?: (cosmos.staking.v1beta1.IDelegation|null); /** DelegationResponse balance. */ public balance?: (cosmos.base.v1beta1.ICoin|null); /** * Encodes the specified DelegationResponse message. Does not implicitly {@link cosmos.staking.v1beta1.DelegationResponse.verify|verify} messages. * @param message DelegationResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IDelegationResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DelegationResponse message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.DelegationResponse.verify|verify} messages. * @param message DelegationResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IDelegationResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DelegationResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DelegationResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.DelegationResponse; /** * Decodes a DelegationResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DelegationResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.DelegationResponse; /** * Verifies a DelegationResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DelegationResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DelegationResponse */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.DelegationResponse; /** * Creates a plain object from a DelegationResponse message. Also converts values to other types if specified. * @param message DelegationResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.DelegationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DelegationResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a RedelegationEntryResponse. */ interface IRedelegationEntryResponse { /** RedelegationEntryResponse redelegation_entry */ redelegation_entry?: (cosmos.staking.v1beta1.IRedelegationEntry|null); /** RedelegationEntryResponse balance */ balance?: (string|null); } /** Represents a RedelegationEntryResponse. */ class RedelegationEntryResponse implements IRedelegationEntryResponse { /** * Constructs a new RedelegationEntryResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IRedelegationEntryResponse); /** RedelegationEntryResponse redelegation_entry. */ public redelegation_entry?: (cosmos.staking.v1beta1.IRedelegationEntry|null); /** RedelegationEntryResponse balance. */ public balance: string; /** * Encodes the specified RedelegationEntryResponse message. Does not implicitly {@link cosmos.staking.v1beta1.RedelegationEntryResponse.verify|verify} messages. * @param message RedelegationEntryResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IRedelegationEntryResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RedelegationEntryResponse message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.RedelegationEntryResponse.verify|verify} messages. * @param message RedelegationEntryResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IRedelegationEntryResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RedelegationEntryResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RedelegationEntryResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.RedelegationEntryResponse; /** * Decodes a RedelegationEntryResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RedelegationEntryResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.RedelegationEntryResponse; /** * Verifies a RedelegationEntryResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RedelegationEntryResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RedelegationEntryResponse */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.RedelegationEntryResponse; /** * Creates a plain object from a RedelegationEntryResponse message. Also converts values to other types if specified. * @param message RedelegationEntryResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.RedelegationEntryResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RedelegationEntryResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a RedelegationResponse. */ interface IRedelegationResponse { /** RedelegationResponse redelegation */ redelegation?: (cosmos.staking.v1beta1.IRedelegation|null); /** RedelegationResponse entries */ entries?: (cosmos.staking.v1beta1.IRedelegationEntryResponse[]|null); } /** Represents a RedelegationResponse. */ class RedelegationResponse implements IRedelegationResponse { /** * Constructs a new RedelegationResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IRedelegationResponse); /** RedelegationResponse redelegation. */ public redelegation?: (cosmos.staking.v1beta1.IRedelegation|null); /** RedelegationResponse entries. */ public entries: cosmos.staking.v1beta1.IRedelegationEntryResponse[]; /** * Encodes the specified RedelegationResponse message. Does not implicitly {@link cosmos.staking.v1beta1.RedelegationResponse.verify|verify} messages. * @param message RedelegationResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IRedelegationResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RedelegationResponse message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.RedelegationResponse.verify|verify} messages. * @param message RedelegationResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IRedelegationResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RedelegationResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RedelegationResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.RedelegationResponse; /** * Decodes a RedelegationResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RedelegationResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.RedelegationResponse; /** * Verifies a RedelegationResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RedelegationResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RedelegationResponse */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.RedelegationResponse; /** * Creates a plain object from a RedelegationResponse message. Also converts values to other types if specified. * @param message RedelegationResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.RedelegationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RedelegationResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Pool. */ interface IPool { /** Pool not_bonded_tokens */ not_bonded_tokens?: (string|null); /** Pool bonded_tokens */ bonded_tokens?: (string|null); } /** Represents a Pool. */ class Pool implements IPool { /** * Constructs a new Pool. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IPool); /** Pool not_bonded_tokens. */ public not_bonded_tokens: string; /** Pool bonded_tokens. */ public bonded_tokens: string; /** * Encodes the specified Pool message. Does not implicitly {@link cosmos.staking.v1beta1.Pool.verify|verify} messages. * @param message Pool message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IPool, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Pool message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.Pool.verify|verify} messages. * @param message Pool message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IPool, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Pool message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Pool * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.Pool; /** * Decodes a Pool message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Pool * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.Pool; /** * Verifies a Pool message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Pool message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Pool */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.Pool; /** * Creates a plain object from a Pool message. Also converts values to other types if specified. * @param message Pool * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.Pool, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Pool to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Infraction enum. */ enum Infraction { INFRACTION_UNSPECIFIED = 0, INFRACTION_DOUBLE_SIGN = 1, INFRACTION_DOWNTIME = 2 } /** Properties of a ValidatorUpdates. */ interface IValidatorUpdates { /** ValidatorUpdates updates */ updates?: (cometbft.abci.IValidatorUpdate[]|null); } /** Represents a ValidatorUpdates. */ class ValidatorUpdates implements IValidatorUpdates { /** * Constructs a new ValidatorUpdates. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IValidatorUpdates); /** ValidatorUpdates updates. */ public updates: cometbft.abci.IValidatorUpdate[]; /** * Encodes the specified ValidatorUpdates message. Does not implicitly {@link cosmos.staking.v1beta1.ValidatorUpdates.verify|verify} messages. * @param message ValidatorUpdates message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IValidatorUpdates, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ValidatorUpdates message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.ValidatorUpdates.verify|verify} messages. * @param message ValidatorUpdates message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IValidatorUpdates, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ValidatorUpdates message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ValidatorUpdates * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.ValidatorUpdates; /** * Decodes a ValidatorUpdates message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ValidatorUpdates * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.ValidatorUpdates; /** * Verifies a ValidatorUpdates message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ValidatorUpdates message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ValidatorUpdates */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.ValidatorUpdates; /** * Creates a plain object from a ValidatorUpdates message. Also converts values to other types if specified. * @param message ValidatorUpdates * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.ValidatorUpdates, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ValidatorUpdates to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a StakeAuthorization. */ interface IStakeAuthorization { /** StakeAuthorization max_tokens */ max_tokens?: (cosmos.base.v1beta1.ICoin|null); /** StakeAuthorization allow_list */ allow_list?: (cosmos.staking.v1beta1.StakeAuthorization.IValidators|null); /** StakeAuthorization deny_list */ deny_list?: (cosmos.staking.v1beta1.StakeAuthorization.IValidators|null); /** StakeAuthorization authorization_type */ authorization_type?: (cosmos.staking.v1beta1.AuthorizationType|null); } /** Represents a StakeAuthorization. */ class StakeAuthorization implements IStakeAuthorization { /** * Constructs a new StakeAuthorization. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IStakeAuthorization); /** StakeAuthorization max_tokens. */ public max_tokens?: (cosmos.base.v1beta1.ICoin|null); /** StakeAuthorization allow_list. */ public allow_list?: (cosmos.staking.v1beta1.StakeAuthorization.IValidators|null); /** StakeAuthorization deny_list. */ public deny_list?: (cosmos.staking.v1beta1.StakeAuthorization.IValidators|null); /** StakeAuthorization authorization_type. */ public authorization_type: cosmos.staking.v1beta1.AuthorizationType; /** StakeAuthorization validators. */ public validators?: ("allow_list"|"deny_list"); /** * Encodes the specified StakeAuthorization message. Does not implicitly {@link cosmos.staking.v1beta1.StakeAuthorization.verify|verify} messages. * @param message StakeAuthorization message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IStakeAuthorization, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified StakeAuthorization message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.StakeAuthorization.verify|verify} messages. * @param message StakeAuthorization message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IStakeAuthorization, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a StakeAuthorization message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns StakeAuthorization * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.StakeAuthorization; /** * Decodes a StakeAuthorization message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns StakeAuthorization * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.StakeAuthorization; /** * Verifies a StakeAuthorization message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a StakeAuthorization message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns StakeAuthorization */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.StakeAuthorization; /** * Creates a plain object from a StakeAuthorization message. Also converts values to other types if specified. * @param message StakeAuthorization * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.StakeAuthorization, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this StakeAuthorization to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } namespace StakeAuthorization { /** Properties of a Validators. */ interface IValidators { /** Validators address */ address?: (string[]|null); } /** Represents a Validators. */ class Validators implements IValidators { /** * Constructs a new Validators. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.StakeAuthorization.IValidators); /** Validators address. */ public address: string[]; /** * Encodes the specified Validators message. Does not implicitly {@link cosmos.staking.v1beta1.StakeAuthorization.Validators.verify|verify} messages. * @param message Validators message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.StakeAuthorization.IValidators, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Validators message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.StakeAuthorization.Validators.verify|verify} messages. * @param message Validators message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.StakeAuthorization.IValidators, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Validators message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Validators * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.StakeAuthorization.Validators; /** * Decodes a Validators message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Validators * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.StakeAuthorization.Validators; /** * Verifies a Validators message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Validators message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Validators */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.StakeAuthorization.Validators; /** * Creates a plain object from a Validators message. Also converts values to other types if specified. * @param message Validators * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.StakeAuthorization.Validators, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Validators to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } /** AuthorizationType enum. */ enum AuthorizationType { AUTHORIZATION_TYPE_UNSPECIFIED = 0, AUTHORIZATION_TYPE_DELEGATE = 1, AUTHORIZATION_TYPE_UNDELEGATE = 2, AUTHORIZATION_TYPE_REDELEGATE = 3 } /** Represents a Query */ class Query extends $protobuf.rpc.Service { /** * Constructs a new Query service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls Validators. * @param request QueryValidatorsRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryValidatorsResponse */ public validators(request: cosmos.staking.v1beta1.IQueryValidatorsRequest, callback: cosmos.staking.v1beta1.Query.ValidatorsCallback): void; /** * Calls Validators. * @param request QueryValidatorsRequest message or plain object * @returns Promise */ public validators(request: cosmos.staking.v1beta1.IQueryValidatorsRequest): Promise; /** * Calls Validator. * @param request QueryValidatorRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryValidatorResponse */ public validator(request: cosmos.staking.v1beta1.IQueryValidatorRequest, callback: cosmos.staking.v1beta1.Query.ValidatorCallback): void; /** * Calls Validator. * @param request QueryValidatorRequest message or plain object * @returns Promise */ public validator(request: cosmos.staking.v1beta1.IQueryValidatorRequest): Promise; /** * Calls ValidatorDelegations. * @param request QueryValidatorDelegationsRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryValidatorDelegationsResponse */ public validatorDelegations(request: cosmos.staking.v1beta1.IQueryValidatorDelegationsRequest, callback: cosmos.staking.v1beta1.Query.ValidatorDelegationsCallback): void; /** * Calls ValidatorDelegations. * @param request QueryValidatorDelegationsRequest message or plain object * @returns Promise */ public validatorDelegations(request: cosmos.staking.v1beta1.IQueryValidatorDelegationsRequest): Promise; /** * Calls ValidatorUnbondingDelegations. * @param request QueryValidatorUnbondingDelegationsRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryValidatorUnbondingDelegationsResponse */ public validatorUnbondingDelegations(request: cosmos.staking.v1beta1.IQueryValidatorUnbondingDelegationsRequest, callback: cosmos.staking.v1beta1.Query.ValidatorUnbondingDelegationsCallback): void; /** * Calls ValidatorUnbondingDelegations. * @param request QueryValidatorUnbondingDelegationsRequest message or plain object * @returns Promise */ public validatorUnbondingDelegations(request: cosmos.staking.v1beta1.IQueryValidatorUnbondingDelegationsRequest): Promise; /** * Calls Delegation. * @param request QueryDelegationRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryDelegationResponse */ public delegation(request: cosmos.staking.v1beta1.IQueryDelegationRequest, callback: cosmos.staking.v1beta1.Query.DelegationCallback): void; /** * Calls Delegation. * @param request QueryDelegationRequest message or plain object * @returns Promise */ public delegation(request: cosmos.staking.v1beta1.IQueryDelegationRequest): Promise; /** * Calls UnbondingDelegation. * @param request QueryUnbondingDelegationRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryUnbondingDelegationResponse */ public unbondingDelegation(request: cosmos.staking.v1beta1.IQueryUnbondingDelegationRequest, callback: cosmos.staking.v1beta1.Query.UnbondingDelegationCallback): void; /** * Calls UnbondingDelegation. * @param request QueryUnbondingDelegationRequest message or plain object * @returns Promise */ public unbondingDelegation(request: cosmos.staking.v1beta1.IQueryUnbondingDelegationRequest): Promise; /** * Calls DelegatorDelegations. * @param request QueryDelegatorDelegationsRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryDelegatorDelegationsResponse */ public delegatorDelegations(request: cosmos.staking.v1beta1.IQueryDelegatorDelegationsRequest, callback: cosmos.staking.v1beta1.Query.DelegatorDelegationsCallback): void; /** * Calls DelegatorDelegations. * @param request QueryDelegatorDelegationsRequest message or plain object * @returns Promise */ public delegatorDelegations(request: cosmos.staking.v1beta1.IQueryDelegatorDelegationsRequest): Promise; /** * Calls DelegatorUnbondingDelegations. * @param request QueryDelegatorUnbondingDelegationsRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryDelegatorUnbondingDelegationsResponse */ public delegatorUnbondingDelegations(request: cosmos.staking.v1beta1.IQueryDelegatorUnbondingDelegationsRequest, callback: cosmos.staking.v1beta1.Query.DelegatorUnbondingDelegationsCallback): void; /** * Calls DelegatorUnbondingDelegations. * @param request QueryDelegatorUnbondingDelegationsRequest message or plain object * @returns Promise */ public delegatorUnbondingDelegations(request: cosmos.staking.v1beta1.IQueryDelegatorUnbondingDelegationsRequest): Promise; /** * Calls Redelegations. * @param request QueryRedelegationsRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryRedelegationsResponse */ public redelegations(request: cosmos.staking.v1beta1.IQueryRedelegationsRequest, callback: cosmos.staking.v1beta1.Query.RedelegationsCallback): void; /** * Calls Redelegations. * @param request QueryRedelegationsRequest message or plain object * @returns Promise */ public redelegations(request: cosmos.staking.v1beta1.IQueryRedelegationsRequest): Promise; /** * Calls DelegatorValidators. * @param request QueryDelegatorValidatorsRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryDelegatorValidatorsResponse */ public delegatorValidators(request: cosmos.staking.v1beta1.IQueryDelegatorValidatorsRequest, callback: cosmos.staking.v1beta1.Query.DelegatorValidatorsCallback): void; /** * Calls DelegatorValidators. * @param request QueryDelegatorValidatorsRequest message or plain object * @returns Promise */ public delegatorValidators(request: cosmos.staking.v1beta1.IQueryDelegatorValidatorsRequest): Promise; /** * Calls DelegatorValidator. * @param request QueryDelegatorValidatorRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryDelegatorValidatorResponse */ public delegatorValidator(request: cosmos.staking.v1beta1.IQueryDelegatorValidatorRequest, callback: cosmos.staking.v1beta1.Query.DelegatorValidatorCallback): void; /** * Calls DelegatorValidator. * @param request QueryDelegatorValidatorRequest message or plain object * @returns Promise */ public delegatorValidator(request: cosmos.staking.v1beta1.IQueryDelegatorValidatorRequest): Promise; /** * Calls HistoricalInfo. * @param request QueryHistoricalInfoRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryHistoricalInfoResponse */ public historicalInfo(request: cosmos.staking.v1beta1.IQueryHistoricalInfoRequest, callback: cosmos.staking.v1beta1.Query.HistoricalInfoCallback): void; /** * Calls HistoricalInfo. * @param request QueryHistoricalInfoRequest message or plain object * @returns Promise */ public historicalInfo(request: cosmos.staking.v1beta1.IQueryHistoricalInfoRequest): Promise; /** * Calls Pool. * @param request QueryPoolRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryPoolResponse */ public pool(request: cosmos.staking.v1beta1.IQueryPoolRequest, callback: cosmos.staking.v1beta1.Query.PoolCallback): void; /** * Calls Pool. * @param request QueryPoolRequest message or plain object * @returns Promise */ public pool(request: cosmos.staking.v1beta1.IQueryPoolRequest): Promise; /** * Calls Params. * @param request QueryParamsRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryParamsResponse */ public params(request: cosmos.staking.v1beta1.IQueryParamsRequest, callback: cosmos.staking.v1beta1.Query.ParamsCallback): void; /** * Calls Params. * @param request QueryParamsRequest message or plain object * @returns Promise */ public params(request: cosmos.staking.v1beta1.IQueryParamsRequest): Promise; } namespace Query { /** * Callback as used by {@link cosmos.staking.v1beta1.Query#validators}. * @param error Error, if any * @param [response] QueryValidatorsResponse */ type ValidatorsCallback = (error: (Error|null), response?: cosmos.staking.v1beta1.QueryValidatorsResponse) => void; /** * Callback as used by {@link cosmos.staking.v1beta1.Query#validator}. * @param error Error, if any * @param [response] QueryValidatorResponse */ type ValidatorCallback = (error: (Error|null), response?: cosmos.staking.v1beta1.QueryValidatorResponse) => void; /** * Callback as used by {@link cosmos.staking.v1beta1.Query#validatorDelegations}. * @param error Error, if any * @param [response] QueryValidatorDelegationsResponse */ type ValidatorDelegationsCallback = (error: (Error|null), response?: cosmos.staking.v1beta1.QueryValidatorDelegationsResponse) => void; /** * Callback as used by {@link cosmos.staking.v1beta1.Query#validatorUnbondingDelegations}. * @param error Error, if any * @param [response] QueryValidatorUnbondingDelegationsResponse */ type ValidatorUnbondingDelegationsCallback = (error: (Error|null), response?: cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsResponse) => void; /** * Callback as used by {@link cosmos.staking.v1beta1.Query#delegation}. * @param error Error, if any * @param [response] QueryDelegationResponse */ type DelegationCallback = (error: (Error|null), response?: cosmos.staking.v1beta1.QueryDelegationResponse) => void; /** * Callback as used by {@link cosmos.staking.v1beta1.Query#unbondingDelegation}. * @param error Error, if any * @param [response] QueryUnbondingDelegationResponse */ type UnbondingDelegationCallback = (error: (Error|null), response?: cosmos.staking.v1beta1.QueryUnbondingDelegationResponse) => void; /** * Callback as used by {@link cosmos.staking.v1beta1.Query#delegatorDelegations}. * @param error Error, if any * @param [response] QueryDelegatorDelegationsResponse */ type DelegatorDelegationsCallback = (error: (Error|null), response?: cosmos.staking.v1beta1.QueryDelegatorDelegationsResponse) => void; /** * Callback as used by {@link cosmos.staking.v1beta1.Query#delegatorUnbondingDelegations}. * @param error Error, if any * @param [response] QueryDelegatorUnbondingDelegationsResponse */ type DelegatorUnbondingDelegationsCallback = (error: (Error|null), response?: cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsResponse) => void; /** * Callback as used by {@link cosmos.staking.v1beta1.Query#redelegations}. * @param error Error, if any * @param [response] QueryRedelegationsResponse */ type RedelegationsCallback = (error: (Error|null), response?: cosmos.staking.v1beta1.QueryRedelegationsResponse) => void; /** * Callback as used by {@link cosmos.staking.v1beta1.Query#delegatorValidators}. * @param error Error, if any * @param [response] QueryDelegatorValidatorsResponse */ type DelegatorValidatorsCallback = (error: (Error|null), response?: cosmos.staking.v1beta1.QueryDelegatorValidatorsResponse) => void; /** * Callback as used by {@link cosmos.staking.v1beta1.Query#delegatorValidator}. * @param error Error, if any * @param [response] QueryDelegatorValidatorResponse */ type DelegatorValidatorCallback = (error: (Error|null), response?: cosmos.staking.v1beta1.QueryDelegatorValidatorResponse) => void; /** * Callback as used by {@link cosmos.staking.v1beta1.Query#historicalInfo}. * @param error Error, if any * @param [response] QueryHistoricalInfoResponse */ type HistoricalInfoCallback = (error: (Error|null), response?: cosmos.staking.v1beta1.QueryHistoricalInfoResponse) => void; /** * Callback as used by {@link cosmos.staking.v1beta1.Query#pool}. * @param error Error, if any * @param [response] QueryPoolResponse */ type PoolCallback = (error: (Error|null), response?: cosmos.staking.v1beta1.QueryPoolResponse) => void; /** * Callback as used by {@link cosmos.staking.v1beta1.Query#params}. * @param error Error, if any * @param [response] QueryParamsResponse */ type ParamsCallback = (error: (Error|null), response?: cosmos.staking.v1beta1.QueryParamsResponse) => void; } /** Properties of a QueryValidatorsRequest. */ interface IQueryValidatorsRequest { /** QueryValidatorsRequest status */ status?: (string|null); /** QueryValidatorsRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a QueryValidatorsRequest. */ class QueryValidatorsRequest implements IQueryValidatorsRequest { /** * Constructs a new QueryValidatorsRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IQueryValidatorsRequest); /** QueryValidatorsRequest status. */ public status: string; /** QueryValidatorsRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** * Encodes the specified QueryValidatorsRequest message. Does not implicitly {@link cosmos.staking.v1beta1.QueryValidatorsRequest.verify|verify} messages. * @param message QueryValidatorsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IQueryValidatorsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryValidatorsRequest message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.QueryValidatorsRequest.verify|verify} messages. * @param message QueryValidatorsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IQueryValidatorsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryValidatorsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryValidatorsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.QueryValidatorsRequest; /** * Decodes a QueryValidatorsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryValidatorsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.QueryValidatorsRequest; /** * Verifies a QueryValidatorsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryValidatorsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryValidatorsRequest */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.QueryValidatorsRequest; /** * Creates a plain object from a QueryValidatorsRequest message. Also converts values to other types if specified. * @param message QueryValidatorsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.QueryValidatorsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryValidatorsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryValidatorsResponse. */ interface IQueryValidatorsResponse { /** QueryValidatorsResponse validators */ validators?: (cosmos.staking.v1beta1.IValidator[]|null); /** QueryValidatorsResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a QueryValidatorsResponse. */ class QueryValidatorsResponse implements IQueryValidatorsResponse { /** * Constructs a new QueryValidatorsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IQueryValidatorsResponse); /** QueryValidatorsResponse validators. */ public validators: cosmos.staking.v1beta1.IValidator[]; /** QueryValidatorsResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified QueryValidatorsResponse message. Does not implicitly {@link cosmos.staking.v1beta1.QueryValidatorsResponse.verify|verify} messages. * @param message QueryValidatorsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IQueryValidatorsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryValidatorsResponse message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.QueryValidatorsResponse.verify|verify} messages. * @param message QueryValidatorsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IQueryValidatorsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryValidatorsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryValidatorsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.QueryValidatorsResponse; /** * Decodes a QueryValidatorsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryValidatorsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.QueryValidatorsResponse; /** * Verifies a QueryValidatorsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryValidatorsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryValidatorsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.QueryValidatorsResponse; /** * Creates a plain object from a QueryValidatorsResponse message. Also converts values to other types if specified. * @param message QueryValidatorsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.QueryValidatorsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryValidatorsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryValidatorRequest. */ interface IQueryValidatorRequest { /** QueryValidatorRequest validator_addr */ validator_addr?: (string|null); } /** Represents a QueryValidatorRequest. */ class QueryValidatorRequest implements IQueryValidatorRequest { /** * Constructs a new QueryValidatorRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IQueryValidatorRequest); /** QueryValidatorRequest validator_addr. */ public validator_addr: string; /** * Encodes the specified QueryValidatorRequest message. Does not implicitly {@link cosmos.staking.v1beta1.QueryValidatorRequest.verify|verify} messages. * @param message QueryValidatorRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IQueryValidatorRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryValidatorRequest message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.QueryValidatorRequest.verify|verify} messages. * @param message QueryValidatorRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IQueryValidatorRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryValidatorRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryValidatorRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.QueryValidatorRequest; /** * Decodes a QueryValidatorRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryValidatorRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.QueryValidatorRequest; /** * Verifies a QueryValidatorRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryValidatorRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryValidatorRequest */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.QueryValidatorRequest; /** * Creates a plain object from a QueryValidatorRequest message. Also converts values to other types if specified. * @param message QueryValidatorRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.QueryValidatorRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryValidatorRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryValidatorResponse. */ interface IQueryValidatorResponse { /** QueryValidatorResponse validator */ validator?: (cosmos.staking.v1beta1.IValidator|null); } /** Represents a QueryValidatorResponse. */ class QueryValidatorResponse implements IQueryValidatorResponse { /** * Constructs a new QueryValidatorResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IQueryValidatorResponse); /** QueryValidatorResponse validator. */ public validator?: (cosmos.staking.v1beta1.IValidator|null); /** * Encodes the specified QueryValidatorResponse message. Does not implicitly {@link cosmos.staking.v1beta1.QueryValidatorResponse.verify|verify} messages. * @param message QueryValidatorResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IQueryValidatorResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryValidatorResponse message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.QueryValidatorResponse.verify|verify} messages. * @param message QueryValidatorResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IQueryValidatorResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryValidatorResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryValidatorResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.QueryValidatorResponse; /** * Decodes a QueryValidatorResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryValidatorResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.QueryValidatorResponse; /** * Verifies a QueryValidatorResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryValidatorResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryValidatorResponse */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.QueryValidatorResponse; /** * Creates a plain object from a QueryValidatorResponse message. Also converts values to other types if specified. * @param message QueryValidatorResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.QueryValidatorResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryValidatorResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryValidatorDelegationsRequest. */ interface IQueryValidatorDelegationsRequest { /** QueryValidatorDelegationsRequest validator_addr */ validator_addr?: (string|null); /** QueryValidatorDelegationsRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a QueryValidatorDelegationsRequest. */ class QueryValidatorDelegationsRequest implements IQueryValidatorDelegationsRequest { /** * Constructs a new QueryValidatorDelegationsRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IQueryValidatorDelegationsRequest); /** QueryValidatorDelegationsRequest validator_addr. */ public validator_addr: string; /** QueryValidatorDelegationsRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** * Encodes the specified QueryValidatorDelegationsRequest message. Does not implicitly {@link cosmos.staking.v1beta1.QueryValidatorDelegationsRequest.verify|verify} messages. * @param message QueryValidatorDelegationsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IQueryValidatorDelegationsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryValidatorDelegationsRequest message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.QueryValidatorDelegationsRequest.verify|verify} messages. * @param message QueryValidatorDelegationsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IQueryValidatorDelegationsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryValidatorDelegationsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryValidatorDelegationsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.QueryValidatorDelegationsRequest; /** * Decodes a QueryValidatorDelegationsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryValidatorDelegationsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.QueryValidatorDelegationsRequest; /** * Verifies a QueryValidatorDelegationsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryValidatorDelegationsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryValidatorDelegationsRequest */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.QueryValidatorDelegationsRequest; /** * Creates a plain object from a QueryValidatorDelegationsRequest message. Also converts values to other types if specified. * @param message QueryValidatorDelegationsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.QueryValidatorDelegationsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryValidatorDelegationsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryValidatorDelegationsResponse. */ interface IQueryValidatorDelegationsResponse { /** QueryValidatorDelegationsResponse delegation_responses */ delegation_responses?: (cosmos.staking.v1beta1.IDelegationResponse[]|null); /** QueryValidatorDelegationsResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a QueryValidatorDelegationsResponse. */ class QueryValidatorDelegationsResponse implements IQueryValidatorDelegationsResponse { /** * Constructs a new QueryValidatorDelegationsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IQueryValidatorDelegationsResponse); /** QueryValidatorDelegationsResponse delegation_responses. */ public delegation_responses: cosmos.staking.v1beta1.IDelegationResponse[]; /** QueryValidatorDelegationsResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified QueryValidatorDelegationsResponse message. Does not implicitly {@link cosmos.staking.v1beta1.QueryValidatorDelegationsResponse.verify|verify} messages. * @param message QueryValidatorDelegationsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IQueryValidatorDelegationsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryValidatorDelegationsResponse message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.QueryValidatorDelegationsResponse.verify|verify} messages. * @param message QueryValidatorDelegationsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IQueryValidatorDelegationsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryValidatorDelegationsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryValidatorDelegationsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.QueryValidatorDelegationsResponse; /** * Decodes a QueryValidatorDelegationsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryValidatorDelegationsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.QueryValidatorDelegationsResponse; /** * Verifies a QueryValidatorDelegationsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryValidatorDelegationsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryValidatorDelegationsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.QueryValidatorDelegationsResponse; /** * Creates a plain object from a QueryValidatorDelegationsResponse message. Also converts values to other types if specified. * @param message QueryValidatorDelegationsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.QueryValidatorDelegationsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryValidatorDelegationsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryValidatorUnbondingDelegationsRequest. */ interface IQueryValidatorUnbondingDelegationsRequest { /** QueryValidatorUnbondingDelegationsRequest validator_addr */ validator_addr?: (string|null); /** QueryValidatorUnbondingDelegationsRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a QueryValidatorUnbondingDelegationsRequest. */ class QueryValidatorUnbondingDelegationsRequest implements IQueryValidatorUnbondingDelegationsRequest { /** * Constructs a new QueryValidatorUnbondingDelegationsRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IQueryValidatorUnbondingDelegationsRequest); /** QueryValidatorUnbondingDelegationsRequest validator_addr. */ public validator_addr: string; /** QueryValidatorUnbondingDelegationsRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** * Encodes the specified QueryValidatorUnbondingDelegationsRequest message. Does not implicitly {@link cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsRequest.verify|verify} messages. * @param message QueryValidatorUnbondingDelegationsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IQueryValidatorUnbondingDelegationsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryValidatorUnbondingDelegationsRequest message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsRequest.verify|verify} messages. * @param message QueryValidatorUnbondingDelegationsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IQueryValidatorUnbondingDelegationsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryValidatorUnbondingDelegationsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryValidatorUnbondingDelegationsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsRequest; /** * Decodes a QueryValidatorUnbondingDelegationsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryValidatorUnbondingDelegationsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsRequest; /** * Verifies a QueryValidatorUnbondingDelegationsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryValidatorUnbondingDelegationsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryValidatorUnbondingDelegationsRequest */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsRequest; /** * Creates a plain object from a QueryValidatorUnbondingDelegationsRequest message. Also converts values to other types if specified. * @param message QueryValidatorUnbondingDelegationsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryValidatorUnbondingDelegationsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryValidatorUnbondingDelegationsResponse. */ interface IQueryValidatorUnbondingDelegationsResponse { /** QueryValidatorUnbondingDelegationsResponse unbonding_responses */ unbonding_responses?: (cosmos.staking.v1beta1.IUnbondingDelegation[]|null); /** QueryValidatorUnbondingDelegationsResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a QueryValidatorUnbondingDelegationsResponse. */ class QueryValidatorUnbondingDelegationsResponse implements IQueryValidatorUnbondingDelegationsResponse { /** * Constructs a new QueryValidatorUnbondingDelegationsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IQueryValidatorUnbondingDelegationsResponse); /** QueryValidatorUnbondingDelegationsResponse unbonding_responses. */ public unbonding_responses: cosmos.staking.v1beta1.IUnbondingDelegation[]; /** QueryValidatorUnbondingDelegationsResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified QueryValidatorUnbondingDelegationsResponse message. Does not implicitly {@link cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsResponse.verify|verify} messages. * @param message QueryValidatorUnbondingDelegationsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IQueryValidatorUnbondingDelegationsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryValidatorUnbondingDelegationsResponse message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsResponse.verify|verify} messages. * @param message QueryValidatorUnbondingDelegationsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IQueryValidatorUnbondingDelegationsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryValidatorUnbondingDelegationsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryValidatorUnbondingDelegationsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsResponse; /** * Decodes a QueryValidatorUnbondingDelegationsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryValidatorUnbondingDelegationsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsResponse; /** * Verifies a QueryValidatorUnbondingDelegationsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryValidatorUnbondingDelegationsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryValidatorUnbondingDelegationsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsResponse; /** * Creates a plain object from a QueryValidatorUnbondingDelegationsResponse message. Also converts values to other types if specified. * @param message QueryValidatorUnbondingDelegationsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryValidatorUnbondingDelegationsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryDelegationRequest. */ interface IQueryDelegationRequest { /** QueryDelegationRequest delegator_addr */ delegator_addr?: (string|null); /** QueryDelegationRequest validator_addr */ validator_addr?: (string|null); } /** Represents a QueryDelegationRequest. */ class QueryDelegationRequest implements IQueryDelegationRequest { /** * Constructs a new QueryDelegationRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IQueryDelegationRequest); /** QueryDelegationRequest delegator_addr. */ public delegator_addr: string; /** QueryDelegationRequest validator_addr. */ public validator_addr: string; /** * Encodes the specified QueryDelegationRequest message. Does not implicitly {@link cosmos.staking.v1beta1.QueryDelegationRequest.verify|verify} messages. * @param message QueryDelegationRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IQueryDelegationRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryDelegationRequest message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.QueryDelegationRequest.verify|verify} messages. * @param message QueryDelegationRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IQueryDelegationRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryDelegationRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryDelegationRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.QueryDelegationRequest; /** * Decodes a QueryDelegationRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryDelegationRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.QueryDelegationRequest; /** * Verifies a QueryDelegationRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryDelegationRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryDelegationRequest */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.QueryDelegationRequest; /** * Creates a plain object from a QueryDelegationRequest message. Also converts values to other types if specified. * @param message QueryDelegationRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.QueryDelegationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryDelegationRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryDelegationResponse. */ interface IQueryDelegationResponse { /** QueryDelegationResponse delegation_response */ delegation_response?: (cosmos.staking.v1beta1.IDelegationResponse|null); } /** Represents a QueryDelegationResponse. */ class QueryDelegationResponse implements IQueryDelegationResponse { /** * Constructs a new QueryDelegationResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IQueryDelegationResponse); /** QueryDelegationResponse delegation_response. */ public delegation_response?: (cosmos.staking.v1beta1.IDelegationResponse|null); /** * Encodes the specified QueryDelegationResponse message. Does not implicitly {@link cosmos.staking.v1beta1.QueryDelegationResponse.verify|verify} messages. * @param message QueryDelegationResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IQueryDelegationResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryDelegationResponse message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.QueryDelegationResponse.verify|verify} messages. * @param message QueryDelegationResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IQueryDelegationResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryDelegationResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryDelegationResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.QueryDelegationResponse; /** * Decodes a QueryDelegationResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryDelegationResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.QueryDelegationResponse; /** * Verifies a QueryDelegationResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryDelegationResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryDelegationResponse */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.QueryDelegationResponse; /** * Creates a plain object from a QueryDelegationResponse message. Also converts values to other types if specified. * @param message QueryDelegationResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.QueryDelegationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryDelegationResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryUnbondingDelegationRequest. */ interface IQueryUnbondingDelegationRequest { /** QueryUnbondingDelegationRequest delegator_addr */ delegator_addr?: (string|null); /** QueryUnbondingDelegationRequest validator_addr */ validator_addr?: (string|null); } /** Represents a QueryUnbondingDelegationRequest. */ class QueryUnbondingDelegationRequest implements IQueryUnbondingDelegationRequest { /** * Constructs a new QueryUnbondingDelegationRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IQueryUnbondingDelegationRequest); /** QueryUnbondingDelegationRequest delegator_addr. */ public delegator_addr: string; /** QueryUnbondingDelegationRequest validator_addr. */ public validator_addr: string; /** * Encodes the specified QueryUnbondingDelegationRequest message. Does not implicitly {@link cosmos.staking.v1beta1.QueryUnbondingDelegationRequest.verify|verify} messages. * @param message QueryUnbondingDelegationRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IQueryUnbondingDelegationRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryUnbondingDelegationRequest message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.QueryUnbondingDelegationRequest.verify|verify} messages. * @param message QueryUnbondingDelegationRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IQueryUnbondingDelegationRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryUnbondingDelegationRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryUnbondingDelegationRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.QueryUnbondingDelegationRequest; /** * Decodes a QueryUnbondingDelegationRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryUnbondingDelegationRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.QueryUnbondingDelegationRequest; /** * Verifies a QueryUnbondingDelegationRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryUnbondingDelegationRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryUnbondingDelegationRequest */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.QueryUnbondingDelegationRequest; /** * Creates a plain object from a QueryUnbondingDelegationRequest message. Also converts values to other types if specified. * @param message QueryUnbondingDelegationRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.QueryUnbondingDelegationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryUnbondingDelegationRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryUnbondingDelegationResponse. */ interface IQueryUnbondingDelegationResponse { /** QueryUnbondingDelegationResponse unbond */ unbond?: (cosmos.staking.v1beta1.IUnbondingDelegation|null); } /** Represents a QueryUnbondingDelegationResponse. */ class QueryUnbondingDelegationResponse implements IQueryUnbondingDelegationResponse { /** * Constructs a new QueryUnbondingDelegationResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IQueryUnbondingDelegationResponse); /** QueryUnbondingDelegationResponse unbond. */ public unbond?: (cosmos.staking.v1beta1.IUnbondingDelegation|null); /** * Encodes the specified QueryUnbondingDelegationResponse message. Does not implicitly {@link cosmos.staking.v1beta1.QueryUnbondingDelegationResponse.verify|verify} messages. * @param message QueryUnbondingDelegationResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IQueryUnbondingDelegationResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryUnbondingDelegationResponse message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.QueryUnbondingDelegationResponse.verify|verify} messages. * @param message QueryUnbondingDelegationResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IQueryUnbondingDelegationResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryUnbondingDelegationResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryUnbondingDelegationResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.QueryUnbondingDelegationResponse; /** * Decodes a QueryUnbondingDelegationResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryUnbondingDelegationResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.QueryUnbondingDelegationResponse; /** * Verifies a QueryUnbondingDelegationResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryUnbondingDelegationResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryUnbondingDelegationResponse */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.QueryUnbondingDelegationResponse; /** * Creates a plain object from a QueryUnbondingDelegationResponse message. Also converts values to other types if specified. * @param message QueryUnbondingDelegationResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.QueryUnbondingDelegationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryUnbondingDelegationResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryDelegatorDelegationsRequest. */ interface IQueryDelegatorDelegationsRequest { /** QueryDelegatorDelegationsRequest delegator_addr */ delegator_addr?: (string|null); /** QueryDelegatorDelegationsRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a QueryDelegatorDelegationsRequest. */ class QueryDelegatorDelegationsRequest implements IQueryDelegatorDelegationsRequest { /** * Constructs a new QueryDelegatorDelegationsRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IQueryDelegatorDelegationsRequest); /** QueryDelegatorDelegationsRequest delegator_addr. */ public delegator_addr: string; /** QueryDelegatorDelegationsRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** * Encodes the specified QueryDelegatorDelegationsRequest message. Does not implicitly {@link cosmos.staking.v1beta1.QueryDelegatorDelegationsRequest.verify|verify} messages. * @param message QueryDelegatorDelegationsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IQueryDelegatorDelegationsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryDelegatorDelegationsRequest message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.QueryDelegatorDelegationsRequest.verify|verify} messages. * @param message QueryDelegatorDelegationsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IQueryDelegatorDelegationsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryDelegatorDelegationsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryDelegatorDelegationsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.QueryDelegatorDelegationsRequest; /** * Decodes a QueryDelegatorDelegationsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryDelegatorDelegationsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.QueryDelegatorDelegationsRequest; /** * Verifies a QueryDelegatorDelegationsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryDelegatorDelegationsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryDelegatorDelegationsRequest */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.QueryDelegatorDelegationsRequest; /** * Creates a plain object from a QueryDelegatorDelegationsRequest message. Also converts values to other types if specified. * @param message QueryDelegatorDelegationsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.QueryDelegatorDelegationsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryDelegatorDelegationsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryDelegatorDelegationsResponse. */ interface IQueryDelegatorDelegationsResponse { /** QueryDelegatorDelegationsResponse delegation_responses */ delegation_responses?: (cosmos.staking.v1beta1.IDelegationResponse[]|null); /** QueryDelegatorDelegationsResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a QueryDelegatorDelegationsResponse. */ class QueryDelegatorDelegationsResponse implements IQueryDelegatorDelegationsResponse { /** * Constructs a new QueryDelegatorDelegationsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IQueryDelegatorDelegationsResponse); /** QueryDelegatorDelegationsResponse delegation_responses. */ public delegation_responses: cosmos.staking.v1beta1.IDelegationResponse[]; /** QueryDelegatorDelegationsResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified QueryDelegatorDelegationsResponse message. Does not implicitly {@link cosmos.staking.v1beta1.QueryDelegatorDelegationsResponse.verify|verify} messages. * @param message QueryDelegatorDelegationsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IQueryDelegatorDelegationsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryDelegatorDelegationsResponse message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.QueryDelegatorDelegationsResponse.verify|verify} messages. * @param message QueryDelegatorDelegationsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IQueryDelegatorDelegationsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryDelegatorDelegationsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryDelegatorDelegationsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.QueryDelegatorDelegationsResponse; /** * Decodes a QueryDelegatorDelegationsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryDelegatorDelegationsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.QueryDelegatorDelegationsResponse; /** * Verifies a QueryDelegatorDelegationsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryDelegatorDelegationsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryDelegatorDelegationsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.QueryDelegatorDelegationsResponse; /** * Creates a plain object from a QueryDelegatorDelegationsResponse message. Also converts values to other types if specified. * @param message QueryDelegatorDelegationsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.QueryDelegatorDelegationsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryDelegatorDelegationsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryDelegatorUnbondingDelegationsRequest. */ interface IQueryDelegatorUnbondingDelegationsRequest { /** QueryDelegatorUnbondingDelegationsRequest delegator_addr */ delegator_addr?: (string|null); /** QueryDelegatorUnbondingDelegationsRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a QueryDelegatorUnbondingDelegationsRequest. */ class QueryDelegatorUnbondingDelegationsRequest implements IQueryDelegatorUnbondingDelegationsRequest { /** * Constructs a new QueryDelegatorUnbondingDelegationsRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IQueryDelegatorUnbondingDelegationsRequest); /** QueryDelegatorUnbondingDelegationsRequest delegator_addr. */ public delegator_addr: string; /** QueryDelegatorUnbondingDelegationsRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** * Encodes the specified QueryDelegatorUnbondingDelegationsRequest message. Does not implicitly {@link cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsRequest.verify|verify} messages. * @param message QueryDelegatorUnbondingDelegationsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IQueryDelegatorUnbondingDelegationsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryDelegatorUnbondingDelegationsRequest message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsRequest.verify|verify} messages. * @param message QueryDelegatorUnbondingDelegationsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IQueryDelegatorUnbondingDelegationsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryDelegatorUnbondingDelegationsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryDelegatorUnbondingDelegationsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsRequest; /** * Decodes a QueryDelegatorUnbondingDelegationsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryDelegatorUnbondingDelegationsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsRequest; /** * Verifies a QueryDelegatorUnbondingDelegationsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryDelegatorUnbondingDelegationsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryDelegatorUnbondingDelegationsRequest */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsRequest; /** * Creates a plain object from a QueryDelegatorUnbondingDelegationsRequest message. Also converts values to other types if specified. * @param message QueryDelegatorUnbondingDelegationsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryDelegatorUnbondingDelegationsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryDelegatorUnbondingDelegationsResponse. */ interface IQueryDelegatorUnbondingDelegationsResponse { /** QueryDelegatorUnbondingDelegationsResponse unbonding_responses */ unbonding_responses?: (cosmos.staking.v1beta1.IUnbondingDelegation[]|null); /** QueryDelegatorUnbondingDelegationsResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a QueryDelegatorUnbondingDelegationsResponse. */ class QueryDelegatorUnbondingDelegationsResponse implements IQueryDelegatorUnbondingDelegationsResponse { /** * Constructs a new QueryDelegatorUnbondingDelegationsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IQueryDelegatorUnbondingDelegationsResponse); /** QueryDelegatorUnbondingDelegationsResponse unbonding_responses. */ public unbonding_responses: cosmos.staking.v1beta1.IUnbondingDelegation[]; /** QueryDelegatorUnbondingDelegationsResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified QueryDelegatorUnbondingDelegationsResponse message. Does not implicitly {@link cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsResponse.verify|verify} messages. * @param message QueryDelegatorUnbondingDelegationsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IQueryDelegatorUnbondingDelegationsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryDelegatorUnbondingDelegationsResponse message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsResponse.verify|verify} messages. * @param message QueryDelegatorUnbondingDelegationsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IQueryDelegatorUnbondingDelegationsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryDelegatorUnbondingDelegationsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryDelegatorUnbondingDelegationsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsResponse; /** * Decodes a QueryDelegatorUnbondingDelegationsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryDelegatorUnbondingDelegationsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsResponse; /** * Verifies a QueryDelegatorUnbondingDelegationsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryDelegatorUnbondingDelegationsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryDelegatorUnbondingDelegationsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsResponse; /** * Creates a plain object from a QueryDelegatorUnbondingDelegationsResponse message. Also converts values to other types if specified. * @param message QueryDelegatorUnbondingDelegationsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryDelegatorUnbondingDelegationsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryRedelegationsRequest. */ interface IQueryRedelegationsRequest { /** QueryRedelegationsRequest delegator_addr */ delegator_addr?: (string|null); /** QueryRedelegationsRequest src_validator_addr */ src_validator_addr?: (string|null); /** QueryRedelegationsRequest dst_validator_addr */ dst_validator_addr?: (string|null); /** QueryRedelegationsRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a QueryRedelegationsRequest. */ class QueryRedelegationsRequest implements IQueryRedelegationsRequest { /** * Constructs a new QueryRedelegationsRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IQueryRedelegationsRequest); /** QueryRedelegationsRequest delegator_addr. */ public delegator_addr: string; /** QueryRedelegationsRequest src_validator_addr. */ public src_validator_addr: string; /** QueryRedelegationsRequest dst_validator_addr. */ public dst_validator_addr: string; /** QueryRedelegationsRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** * Encodes the specified QueryRedelegationsRequest message. Does not implicitly {@link cosmos.staking.v1beta1.QueryRedelegationsRequest.verify|verify} messages. * @param message QueryRedelegationsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IQueryRedelegationsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryRedelegationsRequest message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.QueryRedelegationsRequest.verify|verify} messages. * @param message QueryRedelegationsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IQueryRedelegationsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryRedelegationsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryRedelegationsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.QueryRedelegationsRequest; /** * Decodes a QueryRedelegationsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryRedelegationsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.QueryRedelegationsRequest; /** * Verifies a QueryRedelegationsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryRedelegationsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryRedelegationsRequest */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.QueryRedelegationsRequest; /** * Creates a plain object from a QueryRedelegationsRequest message. Also converts values to other types if specified. * @param message QueryRedelegationsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.QueryRedelegationsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryRedelegationsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryRedelegationsResponse. */ interface IQueryRedelegationsResponse { /** QueryRedelegationsResponse redelegation_responses */ redelegation_responses?: (cosmos.staking.v1beta1.IRedelegationResponse[]|null); /** QueryRedelegationsResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a QueryRedelegationsResponse. */ class QueryRedelegationsResponse implements IQueryRedelegationsResponse { /** * Constructs a new QueryRedelegationsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IQueryRedelegationsResponse); /** QueryRedelegationsResponse redelegation_responses. */ public redelegation_responses: cosmos.staking.v1beta1.IRedelegationResponse[]; /** QueryRedelegationsResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified QueryRedelegationsResponse message. Does not implicitly {@link cosmos.staking.v1beta1.QueryRedelegationsResponse.verify|verify} messages. * @param message QueryRedelegationsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IQueryRedelegationsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryRedelegationsResponse message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.QueryRedelegationsResponse.verify|verify} messages. * @param message QueryRedelegationsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IQueryRedelegationsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryRedelegationsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryRedelegationsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.QueryRedelegationsResponse; /** * Decodes a QueryRedelegationsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryRedelegationsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.QueryRedelegationsResponse; /** * Verifies a QueryRedelegationsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryRedelegationsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryRedelegationsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.QueryRedelegationsResponse; /** * Creates a plain object from a QueryRedelegationsResponse message. Also converts values to other types if specified. * @param message QueryRedelegationsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.QueryRedelegationsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryRedelegationsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryDelegatorValidatorsRequest. */ interface IQueryDelegatorValidatorsRequest { /** QueryDelegatorValidatorsRequest delegator_addr */ delegator_addr?: (string|null); /** QueryDelegatorValidatorsRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a QueryDelegatorValidatorsRequest. */ class QueryDelegatorValidatorsRequest implements IQueryDelegatorValidatorsRequest { /** * Constructs a new QueryDelegatorValidatorsRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IQueryDelegatorValidatorsRequest); /** QueryDelegatorValidatorsRequest delegator_addr. */ public delegator_addr: string; /** QueryDelegatorValidatorsRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** * Encodes the specified QueryDelegatorValidatorsRequest message. Does not implicitly {@link cosmos.staking.v1beta1.QueryDelegatorValidatorsRequest.verify|verify} messages. * @param message QueryDelegatorValidatorsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IQueryDelegatorValidatorsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryDelegatorValidatorsRequest message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.QueryDelegatorValidatorsRequest.verify|verify} messages. * @param message QueryDelegatorValidatorsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IQueryDelegatorValidatorsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryDelegatorValidatorsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryDelegatorValidatorsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.QueryDelegatorValidatorsRequest; /** * Decodes a QueryDelegatorValidatorsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryDelegatorValidatorsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.QueryDelegatorValidatorsRequest; /** * Verifies a QueryDelegatorValidatorsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryDelegatorValidatorsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryDelegatorValidatorsRequest */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.QueryDelegatorValidatorsRequest; /** * Creates a plain object from a QueryDelegatorValidatorsRequest message. Also converts values to other types if specified. * @param message QueryDelegatorValidatorsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.QueryDelegatorValidatorsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryDelegatorValidatorsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryDelegatorValidatorsResponse. */ interface IQueryDelegatorValidatorsResponse { /** QueryDelegatorValidatorsResponse validators */ validators?: (cosmos.staking.v1beta1.IValidator[]|null); /** QueryDelegatorValidatorsResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a QueryDelegatorValidatorsResponse. */ class QueryDelegatorValidatorsResponse implements IQueryDelegatorValidatorsResponse { /** * Constructs a new QueryDelegatorValidatorsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IQueryDelegatorValidatorsResponse); /** QueryDelegatorValidatorsResponse validators. */ public validators: cosmos.staking.v1beta1.IValidator[]; /** QueryDelegatorValidatorsResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified QueryDelegatorValidatorsResponse message. Does not implicitly {@link cosmos.staking.v1beta1.QueryDelegatorValidatorsResponse.verify|verify} messages. * @param message QueryDelegatorValidatorsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IQueryDelegatorValidatorsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryDelegatorValidatorsResponse message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.QueryDelegatorValidatorsResponse.verify|verify} messages. * @param message QueryDelegatorValidatorsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IQueryDelegatorValidatorsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryDelegatorValidatorsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryDelegatorValidatorsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.QueryDelegatorValidatorsResponse; /** * Decodes a QueryDelegatorValidatorsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryDelegatorValidatorsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.QueryDelegatorValidatorsResponse; /** * Verifies a QueryDelegatorValidatorsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryDelegatorValidatorsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryDelegatorValidatorsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.QueryDelegatorValidatorsResponse; /** * Creates a plain object from a QueryDelegatorValidatorsResponse message. Also converts values to other types if specified. * @param message QueryDelegatorValidatorsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.QueryDelegatorValidatorsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryDelegatorValidatorsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryDelegatorValidatorRequest. */ interface IQueryDelegatorValidatorRequest { /** QueryDelegatorValidatorRequest delegator_addr */ delegator_addr?: (string|null); /** QueryDelegatorValidatorRequest validator_addr */ validator_addr?: (string|null); } /** Represents a QueryDelegatorValidatorRequest. */ class QueryDelegatorValidatorRequest implements IQueryDelegatorValidatorRequest { /** * Constructs a new QueryDelegatorValidatorRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IQueryDelegatorValidatorRequest); /** QueryDelegatorValidatorRequest delegator_addr. */ public delegator_addr: string; /** QueryDelegatorValidatorRequest validator_addr. */ public validator_addr: string; /** * Encodes the specified QueryDelegatorValidatorRequest message. Does not implicitly {@link cosmos.staking.v1beta1.QueryDelegatorValidatorRequest.verify|verify} messages. * @param message QueryDelegatorValidatorRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IQueryDelegatorValidatorRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryDelegatorValidatorRequest message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.QueryDelegatorValidatorRequest.verify|verify} messages. * @param message QueryDelegatorValidatorRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IQueryDelegatorValidatorRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryDelegatorValidatorRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryDelegatorValidatorRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.QueryDelegatorValidatorRequest; /** * Decodes a QueryDelegatorValidatorRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryDelegatorValidatorRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.QueryDelegatorValidatorRequest; /** * Verifies a QueryDelegatorValidatorRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryDelegatorValidatorRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryDelegatorValidatorRequest */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.QueryDelegatorValidatorRequest; /** * Creates a plain object from a QueryDelegatorValidatorRequest message. Also converts values to other types if specified. * @param message QueryDelegatorValidatorRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.QueryDelegatorValidatorRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryDelegatorValidatorRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryDelegatorValidatorResponse. */ interface IQueryDelegatorValidatorResponse { /** QueryDelegatorValidatorResponse validator */ validator?: (cosmos.staking.v1beta1.IValidator|null); } /** Represents a QueryDelegatorValidatorResponse. */ class QueryDelegatorValidatorResponse implements IQueryDelegatorValidatorResponse { /** * Constructs a new QueryDelegatorValidatorResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IQueryDelegatorValidatorResponse); /** QueryDelegatorValidatorResponse validator. */ public validator?: (cosmos.staking.v1beta1.IValidator|null); /** * Encodes the specified QueryDelegatorValidatorResponse message. Does not implicitly {@link cosmos.staking.v1beta1.QueryDelegatorValidatorResponse.verify|verify} messages. * @param message QueryDelegatorValidatorResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IQueryDelegatorValidatorResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryDelegatorValidatorResponse message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.QueryDelegatorValidatorResponse.verify|verify} messages. * @param message QueryDelegatorValidatorResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IQueryDelegatorValidatorResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryDelegatorValidatorResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryDelegatorValidatorResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.QueryDelegatorValidatorResponse; /** * Decodes a QueryDelegatorValidatorResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryDelegatorValidatorResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.QueryDelegatorValidatorResponse; /** * Verifies a QueryDelegatorValidatorResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryDelegatorValidatorResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryDelegatorValidatorResponse */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.QueryDelegatorValidatorResponse; /** * Creates a plain object from a QueryDelegatorValidatorResponse message. Also converts values to other types if specified. * @param message QueryDelegatorValidatorResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.QueryDelegatorValidatorResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryDelegatorValidatorResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryHistoricalInfoRequest. */ interface IQueryHistoricalInfoRequest { /** QueryHistoricalInfoRequest height */ height?: (Long|null); } /** Represents a QueryHistoricalInfoRequest. */ class QueryHistoricalInfoRequest implements IQueryHistoricalInfoRequest { /** * Constructs a new QueryHistoricalInfoRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IQueryHistoricalInfoRequest); /** QueryHistoricalInfoRequest height. */ public height: Long; /** * Encodes the specified QueryHistoricalInfoRequest message. Does not implicitly {@link cosmos.staking.v1beta1.QueryHistoricalInfoRequest.verify|verify} messages. * @param message QueryHistoricalInfoRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IQueryHistoricalInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryHistoricalInfoRequest message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.QueryHistoricalInfoRequest.verify|verify} messages. * @param message QueryHistoricalInfoRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IQueryHistoricalInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryHistoricalInfoRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryHistoricalInfoRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.QueryHistoricalInfoRequest; /** * Decodes a QueryHistoricalInfoRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryHistoricalInfoRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.QueryHistoricalInfoRequest; /** * Verifies a QueryHistoricalInfoRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryHistoricalInfoRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryHistoricalInfoRequest */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.QueryHistoricalInfoRequest; /** * Creates a plain object from a QueryHistoricalInfoRequest message. Also converts values to other types if specified. * @param message QueryHistoricalInfoRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.QueryHistoricalInfoRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryHistoricalInfoRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryHistoricalInfoResponse. */ interface IQueryHistoricalInfoResponse { /** QueryHistoricalInfoResponse hist */ hist?: (cosmos.staking.v1beta1.IHistoricalInfo|null); } /** Represents a QueryHistoricalInfoResponse. */ class QueryHistoricalInfoResponse implements IQueryHistoricalInfoResponse { /** * Constructs a new QueryHistoricalInfoResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IQueryHistoricalInfoResponse); /** QueryHistoricalInfoResponse hist. */ public hist?: (cosmos.staking.v1beta1.IHistoricalInfo|null); /** * Encodes the specified QueryHistoricalInfoResponse message. Does not implicitly {@link cosmos.staking.v1beta1.QueryHistoricalInfoResponse.verify|verify} messages. * @param message QueryHistoricalInfoResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IQueryHistoricalInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryHistoricalInfoResponse message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.QueryHistoricalInfoResponse.verify|verify} messages. * @param message QueryHistoricalInfoResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IQueryHistoricalInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryHistoricalInfoResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryHistoricalInfoResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.QueryHistoricalInfoResponse; /** * Decodes a QueryHistoricalInfoResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryHistoricalInfoResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.QueryHistoricalInfoResponse; /** * Verifies a QueryHistoricalInfoResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryHistoricalInfoResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryHistoricalInfoResponse */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.QueryHistoricalInfoResponse; /** * Creates a plain object from a QueryHistoricalInfoResponse message. Also converts values to other types if specified. * @param message QueryHistoricalInfoResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.QueryHistoricalInfoResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryHistoricalInfoResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryPoolRequest. */ interface IQueryPoolRequest { } /** Represents a QueryPoolRequest. */ class QueryPoolRequest implements IQueryPoolRequest { /** * Constructs a new QueryPoolRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IQueryPoolRequest); /** * Encodes the specified QueryPoolRequest message. Does not implicitly {@link cosmos.staking.v1beta1.QueryPoolRequest.verify|verify} messages. * @param message QueryPoolRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IQueryPoolRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryPoolRequest message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.QueryPoolRequest.verify|verify} messages. * @param message QueryPoolRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IQueryPoolRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryPoolRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryPoolRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.QueryPoolRequest; /** * Decodes a QueryPoolRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryPoolRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.QueryPoolRequest; /** * Verifies a QueryPoolRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryPoolRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryPoolRequest */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.QueryPoolRequest; /** * Creates a plain object from a QueryPoolRequest message. Also converts values to other types if specified. * @param message QueryPoolRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.QueryPoolRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryPoolRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryPoolResponse. */ interface IQueryPoolResponse { /** QueryPoolResponse pool */ pool?: (cosmos.staking.v1beta1.IPool|null); } /** Represents a QueryPoolResponse. */ class QueryPoolResponse implements IQueryPoolResponse { /** * Constructs a new QueryPoolResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IQueryPoolResponse); /** QueryPoolResponse pool. */ public pool?: (cosmos.staking.v1beta1.IPool|null); /** * Encodes the specified QueryPoolResponse message. Does not implicitly {@link cosmos.staking.v1beta1.QueryPoolResponse.verify|verify} messages. * @param message QueryPoolResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IQueryPoolResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryPoolResponse message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.QueryPoolResponse.verify|verify} messages. * @param message QueryPoolResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IQueryPoolResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryPoolResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryPoolResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.QueryPoolResponse; /** * Decodes a QueryPoolResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryPoolResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.QueryPoolResponse; /** * Verifies a QueryPoolResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryPoolResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryPoolResponse */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.QueryPoolResponse; /** * Creates a plain object from a QueryPoolResponse message. Also converts values to other types if specified. * @param message QueryPoolResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.QueryPoolResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryPoolResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryParamsRequest. */ interface IQueryParamsRequest { } /** Represents a QueryParamsRequest. */ class QueryParamsRequest implements IQueryParamsRequest { /** * Constructs a new QueryParamsRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IQueryParamsRequest); /** * Encodes the specified QueryParamsRequest message. Does not implicitly {@link cosmos.staking.v1beta1.QueryParamsRequest.verify|verify} messages. * @param message QueryParamsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IQueryParamsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryParamsRequest message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.QueryParamsRequest.verify|verify} messages. * @param message QueryParamsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IQueryParamsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryParamsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryParamsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.QueryParamsRequest; /** * Decodes a QueryParamsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryParamsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.QueryParamsRequest; /** * Verifies a QueryParamsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryParamsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryParamsRequest */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.QueryParamsRequest; /** * Creates a plain object from a QueryParamsRequest message. Also converts values to other types if specified. * @param message QueryParamsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.QueryParamsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryParamsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryParamsResponse. */ interface IQueryParamsResponse { /** QueryParamsResponse params */ params?: (cosmos.staking.v1beta1.IParams|null); } /** Represents a QueryParamsResponse. */ class QueryParamsResponse implements IQueryParamsResponse { /** * Constructs a new QueryParamsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IQueryParamsResponse); /** QueryParamsResponse params. */ public params?: (cosmos.staking.v1beta1.IParams|null); /** * Encodes the specified QueryParamsResponse message. Does not implicitly {@link cosmos.staking.v1beta1.QueryParamsResponse.verify|verify} messages. * @param message QueryParamsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IQueryParamsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryParamsResponse message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.QueryParamsResponse.verify|verify} messages. * @param message QueryParamsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IQueryParamsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryParamsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryParamsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.QueryParamsResponse; /** * Decodes a QueryParamsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryParamsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.QueryParamsResponse; /** * Verifies a QueryParamsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryParamsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryParamsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.QueryParamsResponse; /** * Creates a plain object from a QueryParamsResponse message. Also converts values to other types if specified. * @param message QueryParamsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.QueryParamsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryParamsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Represents a Msg */ class Msg extends $protobuf.rpc.Service { /** * Constructs a new Msg service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls CreateValidator. * @param request MsgCreateValidator message or plain object * @param callback Node-style callback called with the error, if any, and MsgCreateValidatorResponse */ public createValidator(request: cosmos.staking.v1beta1.IMsgCreateValidator, callback: cosmos.staking.v1beta1.Msg.CreateValidatorCallback): void; /** * Calls CreateValidator. * @param request MsgCreateValidator message or plain object * @returns Promise */ public createValidator(request: cosmos.staking.v1beta1.IMsgCreateValidator): Promise; /** * Calls EditValidator. * @param request MsgEditValidator message or plain object * @param callback Node-style callback called with the error, if any, and MsgEditValidatorResponse */ public editValidator(request: cosmos.staking.v1beta1.IMsgEditValidator, callback: cosmos.staking.v1beta1.Msg.EditValidatorCallback): void; /** * Calls EditValidator. * @param request MsgEditValidator message or plain object * @returns Promise */ public editValidator(request: cosmos.staking.v1beta1.IMsgEditValidator): Promise; /** * Calls Delegate. * @param request MsgDelegate message or plain object * @param callback Node-style callback called with the error, if any, and MsgDelegateResponse */ public delegate(request: cosmos.staking.v1beta1.IMsgDelegate, callback: cosmos.staking.v1beta1.Msg.DelegateCallback): void; /** * Calls Delegate. * @param request MsgDelegate message or plain object * @returns Promise */ public delegate(request: cosmos.staking.v1beta1.IMsgDelegate): Promise; /** * Calls BeginRedelegate. * @param request MsgBeginRedelegate message or plain object * @param callback Node-style callback called with the error, if any, and MsgBeginRedelegateResponse */ public beginRedelegate(request: cosmos.staking.v1beta1.IMsgBeginRedelegate, callback: cosmos.staking.v1beta1.Msg.BeginRedelegateCallback): void; /** * Calls BeginRedelegate. * @param request MsgBeginRedelegate message or plain object * @returns Promise */ public beginRedelegate(request: cosmos.staking.v1beta1.IMsgBeginRedelegate): Promise; /** * Calls Undelegate. * @param request MsgUndelegate message or plain object * @param callback Node-style callback called with the error, if any, and MsgUndelegateResponse */ public undelegate(request: cosmos.staking.v1beta1.IMsgUndelegate, callback: cosmos.staking.v1beta1.Msg.UndelegateCallback): void; /** * Calls Undelegate. * @param request MsgUndelegate message or plain object * @returns Promise */ public undelegate(request: cosmos.staking.v1beta1.IMsgUndelegate): Promise; /** * Calls CancelUnbondingDelegation. * @param request MsgCancelUnbondingDelegation message or plain object * @param callback Node-style callback called with the error, if any, and MsgCancelUnbondingDelegationResponse */ public cancelUnbondingDelegation(request: cosmos.staking.v1beta1.IMsgCancelUnbondingDelegation, callback: cosmos.staking.v1beta1.Msg.CancelUnbondingDelegationCallback): void; /** * Calls CancelUnbondingDelegation. * @param request MsgCancelUnbondingDelegation message or plain object * @returns Promise */ public cancelUnbondingDelegation(request: cosmos.staking.v1beta1.IMsgCancelUnbondingDelegation): Promise; /** * Calls UpdateParams. * @param request MsgUpdateParams message or plain object * @param callback Node-style callback called with the error, if any, and MsgUpdateParamsResponse */ public updateParams(request: cosmos.staking.v1beta1.IMsgUpdateParams, callback: cosmos.staking.v1beta1.Msg.UpdateParamsCallback): void; /** * Calls UpdateParams. * @param request MsgUpdateParams message or plain object * @returns Promise */ public updateParams(request: cosmos.staking.v1beta1.IMsgUpdateParams): Promise; } namespace Msg { /** * Callback as used by {@link cosmos.staking.v1beta1.Msg#createValidator}. * @param error Error, if any * @param [response] MsgCreateValidatorResponse */ type CreateValidatorCallback = (error: (Error|null), response?: cosmos.staking.v1beta1.MsgCreateValidatorResponse) => void; /** * Callback as used by {@link cosmos.staking.v1beta1.Msg#editValidator}. * @param error Error, if any * @param [response] MsgEditValidatorResponse */ type EditValidatorCallback = (error: (Error|null), response?: cosmos.staking.v1beta1.MsgEditValidatorResponse) => void; /** * Callback as used by {@link cosmos.staking.v1beta1.Msg#delegate}. * @param error Error, if any * @param [response] MsgDelegateResponse */ type DelegateCallback = (error: (Error|null), response?: cosmos.staking.v1beta1.MsgDelegateResponse) => void; /** * Callback as used by {@link cosmos.staking.v1beta1.Msg#beginRedelegate}. * @param error Error, if any * @param [response] MsgBeginRedelegateResponse */ type BeginRedelegateCallback = (error: (Error|null), response?: cosmos.staking.v1beta1.MsgBeginRedelegateResponse) => void; /** * Callback as used by {@link cosmos.staking.v1beta1.Msg#undelegate}. * @param error Error, if any * @param [response] MsgUndelegateResponse */ type UndelegateCallback = (error: (Error|null), response?: cosmos.staking.v1beta1.MsgUndelegateResponse) => void; /** * Callback as used by {@link cosmos.staking.v1beta1.Msg#cancelUnbondingDelegation}. * @param error Error, if any * @param [response] MsgCancelUnbondingDelegationResponse */ type CancelUnbondingDelegationCallback = (error: (Error|null), response?: cosmos.staking.v1beta1.MsgCancelUnbondingDelegationResponse) => void; /** * Callback as used by {@link cosmos.staking.v1beta1.Msg#updateParams}. * @param error Error, if any * @param [response] MsgUpdateParamsResponse */ type UpdateParamsCallback = (error: (Error|null), response?: cosmos.staking.v1beta1.MsgUpdateParamsResponse) => void; } /** Properties of a MsgCreateValidator. */ interface IMsgCreateValidator { /** MsgCreateValidator description */ description?: (cosmos.staking.v1beta1.IDescription|null); /** MsgCreateValidator commission */ commission?: (cosmos.staking.v1beta1.ICommissionRates|null); /** MsgCreateValidator min_self_delegation */ min_self_delegation?: (string|null); /** MsgCreateValidator delegator_address */ delegator_address?: (string|null); /** MsgCreateValidator validator_address */ validator_address?: (string|null); /** MsgCreateValidator pubkey */ pubkey?: (google.protobuf.IAny|null); /** MsgCreateValidator value */ value?: (cosmos.base.v1beta1.ICoin|null); } /** Represents a MsgCreateValidator. */ class MsgCreateValidator implements IMsgCreateValidator { /** * Constructs a new MsgCreateValidator. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IMsgCreateValidator); /** MsgCreateValidator description. */ public description?: (cosmos.staking.v1beta1.IDescription|null); /** MsgCreateValidator commission. */ public commission?: (cosmos.staking.v1beta1.ICommissionRates|null); /** MsgCreateValidator min_self_delegation. */ public min_self_delegation: string; /** MsgCreateValidator delegator_address. */ public delegator_address: string; /** MsgCreateValidator validator_address. */ public validator_address: string; /** MsgCreateValidator pubkey. */ public pubkey?: (google.protobuf.IAny|null); /** MsgCreateValidator value. */ public value?: (cosmos.base.v1beta1.ICoin|null); /** * Encodes the specified MsgCreateValidator message. Does not implicitly {@link cosmos.staking.v1beta1.MsgCreateValidator.verify|verify} messages. * @param message MsgCreateValidator message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IMsgCreateValidator, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgCreateValidator message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.MsgCreateValidator.verify|verify} messages. * @param message MsgCreateValidator message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IMsgCreateValidator, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgCreateValidator message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgCreateValidator * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.MsgCreateValidator; /** * Decodes a MsgCreateValidator message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgCreateValidator * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.MsgCreateValidator; /** * Verifies a MsgCreateValidator message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgCreateValidator message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgCreateValidator */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.MsgCreateValidator; /** * Creates a plain object from a MsgCreateValidator message. Also converts values to other types if specified. * @param message MsgCreateValidator * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.MsgCreateValidator, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgCreateValidator to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgCreateValidatorResponse. */ interface IMsgCreateValidatorResponse { } /** Represents a MsgCreateValidatorResponse. */ class MsgCreateValidatorResponse implements IMsgCreateValidatorResponse { /** * Constructs a new MsgCreateValidatorResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IMsgCreateValidatorResponse); /** * Encodes the specified MsgCreateValidatorResponse message. Does not implicitly {@link cosmos.staking.v1beta1.MsgCreateValidatorResponse.verify|verify} messages. * @param message MsgCreateValidatorResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IMsgCreateValidatorResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgCreateValidatorResponse message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.MsgCreateValidatorResponse.verify|verify} messages. * @param message MsgCreateValidatorResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IMsgCreateValidatorResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgCreateValidatorResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgCreateValidatorResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.MsgCreateValidatorResponse; /** * Decodes a MsgCreateValidatorResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgCreateValidatorResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.MsgCreateValidatorResponse; /** * Verifies a MsgCreateValidatorResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgCreateValidatorResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgCreateValidatorResponse */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.MsgCreateValidatorResponse; /** * Creates a plain object from a MsgCreateValidatorResponse message. Also converts values to other types if specified. * @param message MsgCreateValidatorResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.MsgCreateValidatorResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgCreateValidatorResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgEditValidator. */ interface IMsgEditValidator { /** MsgEditValidator description */ description?: (cosmos.staking.v1beta1.IDescription|null); /** MsgEditValidator validator_address */ validator_address?: (string|null); /** MsgEditValidator commission_rate */ commission_rate?: (string|null); /** MsgEditValidator min_self_delegation */ min_self_delegation?: (string|null); } /** Represents a MsgEditValidator. */ class MsgEditValidator implements IMsgEditValidator { /** * Constructs a new MsgEditValidator. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IMsgEditValidator); /** MsgEditValidator description. */ public description?: (cosmos.staking.v1beta1.IDescription|null); /** MsgEditValidator validator_address. */ public validator_address: string; /** MsgEditValidator commission_rate. */ public commission_rate: string; /** MsgEditValidator min_self_delegation. */ public min_self_delegation: string; /** * Encodes the specified MsgEditValidator message. Does not implicitly {@link cosmos.staking.v1beta1.MsgEditValidator.verify|verify} messages. * @param message MsgEditValidator message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IMsgEditValidator, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgEditValidator message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.MsgEditValidator.verify|verify} messages. * @param message MsgEditValidator message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IMsgEditValidator, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgEditValidator message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgEditValidator * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.MsgEditValidator; /** * Decodes a MsgEditValidator message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgEditValidator * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.MsgEditValidator; /** * Verifies a MsgEditValidator message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgEditValidator message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgEditValidator */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.MsgEditValidator; /** * Creates a plain object from a MsgEditValidator message. Also converts values to other types if specified. * @param message MsgEditValidator * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.MsgEditValidator, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgEditValidator to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgEditValidatorResponse. */ interface IMsgEditValidatorResponse { } /** Represents a MsgEditValidatorResponse. */ class MsgEditValidatorResponse implements IMsgEditValidatorResponse { /** * Constructs a new MsgEditValidatorResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IMsgEditValidatorResponse); /** * Encodes the specified MsgEditValidatorResponse message. Does not implicitly {@link cosmos.staking.v1beta1.MsgEditValidatorResponse.verify|verify} messages. * @param message MsgEditValidatorResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IMsgEditValidatorResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgEditValidatorResponse message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.MsgEditValidatorResponse.verify|verify} messages. * @param message MsgEditValidatorResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IMsgEditValidatorResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgEditValidatorResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgEditValidatorResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.MsgEditValidatorResponse; /** * Decodes a MsgEditValidatorResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgEditValidatorResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.MsgEditValidatorResponse; /** * Verifies a MsgEditValidatorResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgEditValidatorResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgEditValidatorResponse */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.MsgEditValidatorResponse; /** * Creates a plain object from a MsgEditValidatorResponse message. Also converts values to other types if specified. * @param message MsgEditValidatorResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.MsgEditValidatorResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgEditValidatorResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgDelegate. */ interface IMsgDelegate { /** MsgDelegate delegator_address */ delegator_address?: (string|null); /** MsgDelegate validator_address */ validator_address?: (string|null); /** MsgDelegate amount */ amount?: (cosmos.base.v1beta1.ICoin|null); } /** Represents a MsgDelegate. */ class MsgDelegate implements IMsgDelegate { /** * Constructs a new MsgDelegate. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IMsgDelegate); /** MsgDelegate delegator_address. */ public delegator_address: string; /** MsgDelegate validator_address. */ public validator_address: string; /** MsgDelegate amount. */ public amount?: (cosmos.base.v1beta1.ICoin|null); /** * Encodes the specified MsgDelegate message. Does not implicitly {@link cosmos.staking.v1beta1.MsgDelegate.verify|verify} messages. * @param message MsgDelegate message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IMsgDelegate, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgDelegate message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.MsgDelegate.verify|verify} messages. * @param message MsgDelegate message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IMsgDelegate, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgDelegate message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgDelegate * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.MsgDelegate; /** * Decodes a MsgDelegate message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgDelegate * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.MsgDelegate; /** * Verifies a MsgDelegate message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgDelegate message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgDelegate */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.MsgDelegate; /** * Creates a plain object from a MsgDelegate message. Also converts values to other types if specified. * @param message MsgDelegate * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.MsgDelegate, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgDelegate to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgDelegateResponse. */ interface IMsgDelegateResponse { } /** Represents a MsgDelegateResponse. */ class MsgDelegateResponse implements IMsgDelegateResponse { /** * Constructs a new MsgDelegateResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IMsgDelegateResponse); /** * Encodes the specified MsgDelegateResponse message. Does not implicitly {@link cosmos.staking.v1beta1.MsgDelegateResponse.verify|verify} messages. * @param message MsgDelegateResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IMsgDelegateResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgDelegateResponse message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.MsgDelegateResponse.verify|verify} messages. * @param message MsgDelegateResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IMsgDelegateResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgDelegateResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgDelegateResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.MsgDelegateResponse; /** * Decodes a MsgDelegateResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgDelegateResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.MsgDelegateResponse; /** * Verifies a MsgDelegateResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgDelegateResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgDelegateResponse */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.MsgDelegateResponse; /** * Creates a plain object from a MsgDelegateResponse message. Also converts values to other types if specified. * @param message MsgDelegateResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.MsgDelegateResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgDelegateResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgBeginRedelegate. */ interface IMsgBeginRedelegate { /** MsgBeginRedelegate delegator_address */ delegator_address?: (string|null); /** MsgBeginRedelegate validator_src_address */ validator_src_address?: (string|null); /** MsgBeginRedelegate validator_dst_address */ validator_dst_address?: (string|null); /** MsgBeginRedelegate amount */ amount?: (cosmos.base.v1beta1.ICoin|null); } /** Represents a MsgBeginRedelegate. */ class MsgBeginRedelegate implements IMsgBeginRedelegate { /** * Constructs a new MsgBeginRedelegate. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IMsgBeginRedelegate); /** MsgBeginRedelegate delegator_address. */ public delegator_address: string; /** MsgBeginRedelegate validator_src_address. */ public validator_src_address: string; /** MsgBeginRedelegate validator_dst_address. */ public validator_dst_address: string; /** MsgBeginRedelegate amount. */ public amount?: (cosmos.base.v1beta1.ICoin|null); /** * Encodes the specified MsgBeginRedelegate message. Does not implicitly {@link cosmos.staking.v1beta1.MsgBeginRedelegate.verify|verify} messages. * @param message MsgBeginRedelegate message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IMsgBeginRedelegate, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgBeginRedelegate message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.MsgBeginRedelegate.verify|verify} messages. * @param message MsgBeginRedelegate message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IMsgBeginRedelegate, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgBeginRedelegate message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgBeginRedelegate * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.MsgBeginRedelegate; /** * Decodes a MsgBeginRedelegate message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgBeginRedelegate * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.MsgBeginRedelegate; /** * Verifies a MsgBeginRedelegate message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgBeginRedelegate message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgBeginRedelegate */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.MsgBeginRedelegate; /** * Creates a plain object from a MsgBeginRedelegate message. Also converts values to other types if specified. * @param message MsgBeginRedelegate * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.MsgBeginRedelegate, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgBeginRedelegate to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgBeginRedelegateResponse. */ interface IMsgBeginRedelegateResponse { /** MsgBeginRedelegateResponse completion_time */ completion_time?: (google.protobuf.ITimestamp|null); } /** Represents a MsgBeginRedelegateResponse. */ class MsgBeginRedelegateResponse implements IMsgBeginRedelegateResponse { /** * Constructs a new MsgBeginRedelegateResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IMsgBeginRedelegateResponse); /** MsgBeginRedelegateResponse completion_time. */ public completion_time?: (google.protobuf.ITimestamp|null); /** * Encodes the specified MsgBeginRedelegateResponse message. Does not implicitly {@link cosmos.staking.v1beta1.MsgBeginRedelegateResponse.verify|verify} messages. * @param message MsgBeginRedelegateResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IMsgBeginRedelegateResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgBeginRedelegateResponse message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.MsgBeginRedelegateResponse.verify|verify} messages. * @param message MsgBeginRedelegateResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IMsgBeginRedelegateResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgBeginRedelegateResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgBeginRedelegateResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.MsgBeginRedelegateResponse; /** * Decodes a MsgBeginRedelegateResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgBeginRedelegateResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.MsgBeginRedelegateResponse; /** * Verifies a MsgBeginRedelegateResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgBeginRedelegateResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgBeginRedelegateResponse */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.MsgBeginRedelegateResponse; /** * Creates a plain object from a MsgBeginRedelegateResponse message. Also converts values to other types if specified. * @param message MsgBeginRedelegateResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.MsgBeginRedelegateResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgBeginRedelegateResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgUndelegate. */ interface IMsgUndelegate { /** MsgUndelegate delegator_address */ delegator_address?: (string|null); /** MsgUndelegate validator_address */ validator_address?: (string|null); /** MsgUndelegate amount */ amount?: (cosmos.base.v1beta1.ICoin|null); } /** Represents a MsgUndelegate. */ class MsgUndelegate implements IMsgUndelegate { /** * Constructs a new MsgUndelegate. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IMsgUndelegate); /** MsgUndelegate delegator_address. */ public delegator_address: string; /** MsgUndelegate validator_address. */ public validator_address: string; /** MsgUndelegate amount. */ public amount?: (cosmos.base.v1beta1.ICoin|null); /** * Encodes the specified MsgUndelegate message. Does not implicitly {@link cosmos.staking.v1beta1.MsgUndelegate.verify|verify} messages. * @param message MsgUndelegate message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IMsgUndelegate, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgUndelegate message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.MsgUndelegate.verify|verify} messages. * @param message MsgUndelegate message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IMsgUndelegate, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgUndelegate message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgUndelegate * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.MsgUndelegate; /** * Decodes a MsgUndelegate message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgUndelegate * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.MsgUndelegate; /** * Verifies a MsgUndelegate message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgUndelegate message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgUndelegate */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.MsgUndelegate; /** * Creates a plain object from a MsgUndelegate message. Also converts values to other types if specified. * @param message MsgUndelegate * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.MsgUndelegate, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgUndelegate to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgUndelegateResponse. */ interface IMsgUndelegateResponse { /** MsgUndelegateResponse completion_time */ completion_time?: (google.protobuf.ITimestamp|null); } /** Represents a MsgUndelegateResponse. */ class MsgUndelegateResponse implements IMsgUndelegateResponse { /** * Constructs a new MsgUndelegateResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IMsgUndelegateResponse); /** MsgUndelegateResponse completion_time. */ public completion_time?: (google.protobuf.ITimestamp|null); /** * Encodes the specified MsgUndelegateResponse message. Does not implicitly {@link cosmos.staking.v1beta1.MsgUndelegateResponse.verify|verify} messages. * @param message MsgUndelegateResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IMsgUndelegateResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgUndelegateResponse message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.MsgUndelegateResponse.verify|verify} messages. * @param message MsgUndelegateResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IMsgUndelegateResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgUndelegateResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgUndelegateResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.MsgUndelegateResponse; /** * Decodes a MsgUndelegateResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgUndelegateResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.MsgUndelegateResponse; /** * Verifies a MsgUndelegateResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgUndelegateResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgUndelegateResponse */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.MsgUndelegateResponse; /** * Creates a plain object from a MsgUndelegateResponse message. Also converts values to other types if specified. * @param message MsgUndelegateResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.MsgUndelegateResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgUndelegateResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgCancelUnbondingDelegation. */ interface IMsgCancelUnbondingDelegation { /** MsgCancelUnbondingDelegation delegator_address */ delegator_address?: (string|null); /** MsgCancelUnbondingDelegation validator_address */ validator_address?: (string|null); /** MsgCancelUnbondingDelegation amount */ amount?: (cosmos.base.v1beta1.ICoin|null); /** MsgCancelUnbondingDelegation creation_height */ creation_height?: (Long|null); } /** Represents a MsgCancelUnbondingDelegation. */ class MsgCancelUnbondingDelegation implements IMsgCancelUnbondingDelegation { /** * Constructs a new MsgCancelUnbondingDelegation. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IMsgCancelUnbondingDelegation); /** MsgCancelUnbondingDelegation delegator_address. */ public delegator_address: string; /** MsgCancelUnbondingDelegation validator_address. */ public validator_address: string; /** MsgCancelUnbondingDelegation amount. */ public amount?: (cosmos.base.v1beta1.ICoin|null); /** MsgCancelUnbondingDelegation creation_height. */ public creation_height: Long; /** * Encodes the specified MsgCancelUnbondingDelegation message. Does not implicitly {@link cosmos.staking.v1beta1.MsgCancelUnbondingDelegation.verify|verify} messages. * @param message MsgCancelUnbondingDelegation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IMsgCancelUnbondingDelegation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgCancelUnbondingDelegation message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.MsgCancelUnbondingDelegation.verify|verify} messages. * @param message MsgCancelUnbondingDelegation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IMsgCancelUnbondingDelegation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgCancelUnbondingDelegation message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgCancelUnbondingDelegation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.MsgCancelUnbondingDelegation; /** * Decodes a MsgCancelUnbondingDelegation message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgCancelUnbondingDelegation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.MsgCancelUnbondingDelegation; /** * Verifies a MsgCancelUnbondingDelegation message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgCancelUnbondingDelegation message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgCancelUnbondingDelegation */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.MsgCancelUnbondingDelegation; /** * Creates a plain object from a MsgCancelUnbondingDelegation message. Also converts values to other types if specified. * @param message MsgCancelUnbondingDelegation * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.MsgCancelUnbondingDelegation, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgCancelUnbondingDelegation to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgCancelUnbondingDelegationResponse. */ interface IMsgCancelUnbondingDelegationResponse { } /** Represents a MsgCancelUnbondingDelegationResponse. */ class MsgCancelUnbondingDelegationResponse implements IMsgCancelUnbondingDelegationResponse { /** * Constructs a new MsgCancelUnbondingDelegationResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IMsgCancelUnbondingDelegationResponse); /** * Encodes the specified MsgCancelUnbondingDelegationResponse message. Does not implicitly {@link cosmos.staking.v1beta1.MsgCancelUnbondingDelegationResponse.verify|verify} messages. * @param message MsgCancelUnbondingDelegationResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IMsgCancelUnbondingDelegationResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgCancelUnbondingDelegationResponse message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.MsgCancelUnbondingDelegationResponse.verify|verify} messages. * @param message MsgCancelUnbondingDelegationResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IMsgCancelUnbondingDelegationResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgCancelUnbondingDelegationResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgCancelUnbondingDelegationResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.MsgCancelUnbondingDelegationResponse; /** * Decodes a MsgCancelUnbondingDelegationResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgCancelUnbondingDelegationResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.MsgCancelUnbondingDelegationResponse; /** * Verifies a MsgCancelUnbondingDelegationResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgCancelUnbondingDelegationResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgCancelUnbondingDelegationResponse */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.MsgCancelUnbondingDelegationResponse; /** * Creates a plain object from a MsgCancelUnbondingDelegationResponse message. Also converts values to other types if specified. * @param message MsgCancelUnbondingDelegationResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.MsgCancelUnbondingDelegationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgCancelUnbondingDelegationResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgUpdateParams. */ interface IMsgUpdateParams { /** MsgUpdateParams authority */ authority?: (string|null); /** MsgUpdateParams params */ params?: (cosmos.staking.v1beta1.IParams|null); } /** Represents a MsgUpdateParams. */ class MsgUpdateParams implements IMsgUpdateParams { /** * Constructs a new MsgUpdateParams. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IMsgUpdateParams); /** MsgUpdateParams authority. */ public authority: string; /** MsgUpdateParams params. */ public params?: (cosmos.staking.v1beta1.IParams|null); /** * Encodes the specified MsgUpdateParams message. Does not implicitly {@link cosmos.staking.v1beta1.MsgUpdateParams.verify|verify} messages. * @param message MsgUpdateParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IMsgUpdateParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgUpdateParams message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.MsgUpdateParams.verify|verify} messages. * @param message MsgUpdateParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IMsgUpdateParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgUpdateParams message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgUpdateParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.MsgUpdateParams; /** * Decodes a MsgUpdateParams message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgUpdateParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.MsgUpdateParams; /** * Verifies a MsgUpdateParams message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgUpdateParams message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgUpdateParams */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.MsgUpdateParams; /** * Creates a plain object from a MsgUpdateParams message. Also converts values to other types if specified. * @param message MsgUpdateParams * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.MsgUpdateParams, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgUpdateParams to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgUpdateParamsResponse. */ interface IMsgUpdateParamsResponse { } /** Represents a MsgUpdateParamsResponse. */ class MsgUpdateParamsResponse implements IMsgUpdateParamsResponse { /** * Constructs a new MsgUpdateParamsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IMsgUpdateParamsResponse); /** * Encodes the specified MsgUpdateParamsResponse message. Does not implicitly {@link cosmos.staking.v1beta1.MsgUpdateParamsResponse.verify|verify} messages. * @param message MsgUpdateParamsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IMsgUpdateParamsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgUpdateParamsResponse message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.MsgUpdateParamsResponse.verify|verify} messages. * @param message MsgUpdateParamsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IMsgUpdateParamsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgUpdateParamsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgUpdateParamsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.MsgUpdateParamsResponse; /** * Decodes a MsgUpdateParamsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgUpdateParamsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.MsgUpdateParamsResponse; /** * Verifies a MsgUpdateParamsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgUpdateParamsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgUpdateParamsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.MsgUpdateParamsResponse; /** * Creates a plain object from a MsgUpdateParamsResponse message. Also converts values to other types if specified. * @param message MsgUpdateParamsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.MsgUpdateParamsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgUpdateParamsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GenesisState. */ interface IGenesisState { /** GenesisState params */ params?: (cosmos.staking.v1beta1.IParams|null); /** GenesisState last_total_power */ last_total_power?: (Uint8Array|null); /** GenesisState last_validator_powers */ last_validator_powers?: (cosmos.staking.v1beta1.ILastValidatorPower[]|null); /** GenesisState validators */ validators?: (cosmos.staking.v1beta1.IValidator[]|null); /** GenesisState delegations */ delegations?: (cosmos.staking.v1beta1.IDelegation[]|null); /** GenesisState unbonding_delegations */ unbonding_delegations?: (cosmos.staking.v1beta1.IUnbondingDelegation[]|null); /** GenesisState redelegations */ redelegations?: (cosmos.staking.v1beta1.IRedelegation[]|null); /** GenesisState exported */ exported?: (boolean|null); } /** Represents a GenesisState. */ class GenesisState implements IGenesisState { /** * Constructs a new GenesisState. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.IGenesisState); /** GenesisState params. */ public params?: (cosmos.staking.v1beta1.IParams|null); /** GenesisState last_total_power. */ public last_total_power: Uint8Array; /** GenesisState last_validator_powers. */ public last_validator_powers: cosmos.staking.v1beta1.ILastValidatorPower[]; /** GenesisState validators. */ public validators: cosmos.staking.v1beta1.IValidator[]; /** GenesisState delegations. */ public delegations: cosmos.staking.v1beta1.IDelegation[]; /** GenesisState unbonding_delegations. */ public unbonding_delegations: cosmos.staking.v1beta1.IUnbondingDelegation[]; /** GenesisState redelegations. */ public redelegations: cosmos.staking.v1beta1.IRedelegation[]; /** GenesisState exported. */ public exported: boolean; /** * Encodes the specified GenesisState message. Does not implicitly {@link cosmos.staking.v1beta1.GenesisState.verify|verify} messages. * @param message GenesisState message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.IGenesisState, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GenesisState message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.GenesisState.verify|verify} messages. * @param message GenesisState message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.IGenesisState, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GenesisState message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GenesisState * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.GenesisState; /** * Decodes a GenesisState message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GenesisState * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.GenesisState; /** * Verifies a GenesisState message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GenesisState message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GenesisState */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.GenesisState; /** * Creates a plain object from a GenesisState message. Also converts values to other types if specified. * @param message GenesisState * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.GenesisState, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GenesisState to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a LastValidatorPower. */ interface ILastValidatorPower { /** LastValidatorPower address */ address?: (string|null); /** LastValidatorPower power */ power?: (Long|null); } /** Represents a LastValidatorPower. */ class LastValidatorPower implements ILastValidatorPower { /** * Constructs a new LastValidatorPower. * @param [properties] Properties to set */ constructor(properties?: cosmos.staking.v1beta1.ILastValidatorPower); /** LastValidatorPower address. */ public address: string; /** LastValidatorPower power. */ public power: Long; /** * Encodes the specified LastValidatorPower message. Does not implicitly {@link cosmos.staking.v1beta1.LastValidatorPower.verify|verify} messages. * @param message LastValidatorPower message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.staking.v1beta1.ILastValidatorPower, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified LastValidatorPower message, length delimited. Does not implicitly {@link cosmos.staking.v1beta1.LastValidatorPower.verify|verify} messages. * @param message LastValidatorPower message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.staking.v1beta1.ILastValidatorPower, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a LastValidatorPower message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns LastValidatorPower * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.staking.v1beta1.LastValidatorPower; /** * Decodes a LastValidatorPower message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns LastValidatorPower * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.staking.v1beta1.LastValidatorPower; /** * Verifies a LastValidatorPower message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a LastValidatorPower message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns LastValidatorPower */ public static fromObject(object: { [k: string]: any }): cosmos.staking.v1beta1.LastValidatorPower; /** * Creates a plain object from a LastValidatorPower message. Also converts values to other types if specified. * @param message LastValidatorPower * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.staking.v1beta1.LastValidatorPower, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this LastValidatorPower to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace tx. */ namespace tx { /** Namespace config. */ namespace config { /** Namespace v1. */ namespace v1 { /** Properties of a Config. */ interface IConfig { /** Config skip_ante_handler */ skip_ante_handler?: (boolean|null); /** Config skip_post_handler */ skip_post_handler?: (boolean|null); } /** Represents a Config. */ class Config implements IConfig { /** * Constructs a new Config. * @param [properties] Properties to set */ constructor(properties?: cosmos.tx.config.v1.IConfig); /** Config skip_ante_handler. */ public skip_ante_handler: boolean; /** Config skip_post_handler. */ public skip_post_handler: boolean; /** * Encodes the specified Config message. Does not implicitly {@link cosmos.tx.config.v1.Config.verify|verify} messages. * @param message Config message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.tx.config.v1.IConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Config message, length delimited. Does not implicitly {@link cosmos.tx.config.v1.Config.verify|verify} messages. * @param message Config message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.tx.config.v1.IConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Config message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Config * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.tx.config.v1.Config; /** * Decodes a Config message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Config * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.tx.config.v1.Config; /** * Verifies a Config message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Config message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Config */ public static fromObject(object: { [k: string]: any }): cosmos.tx.config.v1.Config; /** * Creates a plain object from a Config message. Also converts values to other types if specified. * @param message Config * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.tx.config.v1.Config, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Config to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace signing. */ namespace signing { /** Namespace v1beta1. */ namespace v1beta1 { /** SignMode enum. */ enum SignMode { SIGN_MODE_UNSPECIFIED = 0, SIGN_MODE_DIRECT = 1, SIGN_MODE_TEXTUAL = 2, SIGN_MODE_DIRECT_AUX = 3, SIGN_MODE_LEGACY_AMINO_JSON = 127, SIGN_MODE_EIP_191 = 191 } /** Properties of a SignatureDescriptors. */ interface ISignatureDescriptors { /** SignatureDescriptors signatures */ signatures?: (cosmos.tx.signing.v1beta1.ISignatureDescriptor[]|null); } /** Represents a SignatureDescriptors. */ class SignatureDescriptors implements ISignatureDescriptors { /** * Constructs a new SignatureDescriptors. * @param [properties] Properties to set */ constructor(properties?: cosmos.tx.signing.v1beta1.ISignatureDescriptors); /** SignatureDescriptors signatures. */ public signatures: cosmos.tx.signing.v1beta1.ISignatureDescriptor[]; /** * Encodes the specified SignatureDescriptors message. Does not implicitly {@link cosmos.tx.signing.v1beta1.SignatureDescriptors.verify|verify} messages. * @param message SignatureDescriptors message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.tx.signing.v1beta1.ISignatureDescriptors, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SignatureDescriptors message, length delimited. Does not implicitly {@link cosmos.tx.signing.v1beta1.SignatureDescriptors.verify|verify} messages. * @param message SignatureDescriptors message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.tx.signing.v1beta1.ISignatureDescriptors, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SignatureDescriptors message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SignatureDescriptors * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.tx.signing.v1beta1.SignatureDescriptors; /** * Decodes a SignatureDescriptors message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SignatureDescriptors * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.tx.signing.v1beta1.SignatureDescriptors; /** * Verifies a SignatureDescriptors message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SignatureDescriptors message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SignatureDescriptors */ public static fromObject(object: { [k: string]: any }): cosmos.tx.signing.v1beta1.SignatureDescriptors; /** * Creates a plain object from a SignatureDescriptors message. Also converts values to other types if specified. * @param message SignatureDescriptors * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.tx.signing.v1beta1.SignatureDescriptors, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SignatureDescriptors to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a SignatureDescriptor. */ interface ISignatureDescriptor { /** SignatureDescriptor public_key */ public_key?: (google.protobuf.IAny|null); /** SignatureDescriptor data */ data?: (cosmos.tx.signing.v1beta1.SignatureDescriptor.IData|null); /** SignatureDescriptor sequence */ sequence?: (Long|null); } /** Represents a SignatureDescriptor. */ class SignatureDescriptor implements ISignatureDescriptor { /** * Constructs a new SignatureDescriptor. * @param [properties] Properties to set */ constructor(properties?: cosmos.tx.signing.v1beta1.ISignatureDescriptor); /** SignatureDescriptor public_key. */ public public_key?: (google.protobuf.IAny|null); /** SignatureDescriptor data. */ public data?: (cosmos.tx.signing.v1beta1.SignatureDescriptor.IData|null); /** SignatureDescriptor sequence. */ public sequence: Long; /** * Encodes the specified SignatureDescriptor message. Does not implicitly {@link cosmos.tx.signing.v1beta1.SignatureDescriptor.verify|verify} messages. * @param message SignatureDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.tx.signing.v1beta1.ISignatureDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SignatureDescriptor message, length delimited. Does not implicitly {@link cosmos.tx.signing.v1beta1.SignatureDescriptor.verify|verify} messages. * @param message SignatureDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.tx.signing.v1beta1.ISignatureDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SignatureDescriptor message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SignatureDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.tx.signing.v1beta1.SignatureDescriptor; /** * Decodes a SignatureDescriptor message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SignatureDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.tx.signing.v1beta1.SignatureDescriptor; /** * Verifies a SignatureDescriptor message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SignatureDescriptor message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SignatureDescriptor */ public static fromObject(object: { [k: string]: any }): cosmos.tx.signing.v1beta1.SignatureDescriptor; /** * Creates a plain object from a SignatureDescriptor message. Also converts values to other types if specified. * @param message SignatureDescriptor * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.tx.signing.v1beta1.SignatureDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SignatureDescriptor to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } namespace SignatureDescriptor { /** Properties of a Data. */ interface IData { /** Data single */ single?: (cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.ISingle|null); /** Data multi */ multi?: (cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.IMulti|null); } /** Represents a Data. */ class Data implements IData { /** * Constructs a new Data. * @param [properties] Properties to set */ constructor(properties?: cosmos.tx.signing.v1beta1.SignatureDescriptor.IData); /** Data single. */ public single?: (cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.ISingle|null); /** Data multi. */ public multi?: (cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.IMulti|null); /** Data sum. */ public sum?: ("single"|"multi"); /** * Encodes the specified Data message. Does not implicitly {@link cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.verify|verify} messages. * @param message Data message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.tx.signing.v1beta1.SignatureDescriptor.IData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Data message, length delimited. Does not implicitly {@link cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.verify|verify} messages. * @param message Data message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.tx.signing.v1beta1.SignatureDescriptor.IData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Data message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Data * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.tx.signing.v1beta1.SignatureDescriptor.Data; /** * Decodes a Data message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Data * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.tx.signing.v1beta1.SignatureDescriptor.Data; /** * Verifies a Data message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Data message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Data */ public static fromObject(object: { [k: string]: any }): cosmos.tx.signing.v1beta1.SignatureDescriptor.Data; /** * Creates a plain object from a Data message. Also converts values to other types if specified. * @param message Data * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.tx.signing.v1beta1.SignatureDescriptor.Data, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Data to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } namespace Data { /** Properties of a Single. */ interface ISingle { /** Single mode */ mode?: (cosmos.tx.signing.v1beta1.SignMode|null); /** Single signature */ signature?: (Uint8Array|null); } /** Represents a Single. */ class Single implements ISingle { /** * Constructs a new Single. * @param [properties] Properties to set */ constructor(properties?: cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.ISingle); /** Single mode. */ public mode: cosmos.tx.signing.v1beta1.SignMode; /** Single signature. */ public signature: Uint8Array; /** * Encodes the specified Single message. Does not implicitly {@link cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Single.verify|verify} messages. * @param message Single message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.ISingle, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Single message, length delimited. Does not implicitly {@link cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Single.verify|verify} messages. * @param message Single message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.ISingle, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Single message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Single * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Single; /** * Decodes a Single message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Single * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Single; /** * Verifies a Single message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Single message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Single */ public static fromObject(object: { [k: string]: any }): cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Single; /** * Creates a plain object from a Single message. Also converts values to other types if specified. * @param message Single * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Single, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Single to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Multi. */ interface IMulti { /** Multi bitarray */ bitarray?: (cosmos.crypto.multisig.v1beta1.ICompactBitArray|null); /** Multi signatures */ signatures?: (cosmos.tx.signing.v1beta1.SignatureDescriptor.IData[]|null); } /** Represents a Multi. */ class Multi implements IMulti { /** * Constructs a new Multi. * @param [properties] Properties to set */ constructor(properties?: cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.IMulti); /** Multi bitarray. */ public bitarray?: (cosmos.crypto.multisig.v1beta1.ICompactBitArray|null); /** Multi signatures. */ public signatures: cosmos.tx.signing.v1beta1.SignatureDescriptor.IData[]; /** * Encodes the specified Multi message. Does not implicitly {@link cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Multi.verify|verify} messages. * @param message Multi message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.IMulti, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Multi message, length delimited. Does not implicitly {@link cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Multi.verify|verify} messages. * @param message Multi message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.IMulti, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Multi message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Multi * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Multi; /** * Decodes a Multi message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Multi * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Multi; /** * Verifies a Multi message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Multi message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Multi */ public static fromObject(object: { [k: string]: any }): cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Multi; /** * Creates a plain object from a Multi message. Also converts values to other types if specified. * @param message Multi * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Multi, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Multi to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } } } /** Namespace v1beta1. */ namespace v1beta1 { /** Properties of a Tx. */ interface ITx { /** Tx body */ body?: (cosmos.tx.v1beta1.ITxBody|null); /** Tx auth_info */ auth_info?: (cosmos.tx.v1beta1.IAuthInfo|null); /** Tx signatures */ signatures?: (Uint8Array[]|null); } /** Represents a Tx. */ class Tx implements ITx { /** * Constructs a new Tx. * @param [properties] Properties to set */ constructor(properties?: cosmos.tx.v1beta1.ITx); /** Tx body. */ public body?: (cosmos.tx.v1beta1.ITxBody|null); /** Tx auth_info. */ public auth_info?: (cosmos.tx.v1beta1.IAuthInfo|null); /** Tx signatures. */ public signatures: Uint8Array[]; /** * Encodes the specified Tx message. Does not implicitly {@link cosmos.tx.v1beta1.Tx.verify|verify} messages. * @param message Tx message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.tx.v1beta1.ITx, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Tx message, length delimited. Does not implicitly {@link cosmos.tx.v1beta1.Tx.verify|verify} messages. * @param message Tx message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.tx.v1beta1.ITx, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Tx message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Tx * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.tx.v1beta1.Tx; /** * Decodes a Tx message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Tx * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.tx.v1beta1.Tx; /** * Verifies a Tx message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Tx message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Tx */ public static fromObject(object: { [k: string]: any }): cosmos.tx.v1beta1.Tx; /** * Creates a plain object from a Tx message. Also converts values to other types if specified. * @param message Tx * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.tx.v1beta1.Tx, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Tx to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a TxRaw. */ interface ITxRaw { /** TxRaw body_bytes */ body_bytes?: (Uint8Array|null); /** TxRaw auth_info_bytes */ auth_info_bytes?: (Uint8Array|null); /** TxRaw signatures */ signatures?: (Uint8Array[]|null); } /** Represents a TxRaw. */ class TxRaw implements ITxRaw { /** * Constructs a new TxRaw. * @param [properties] Properties to set */ constructor(properties?: cosmos.tx.v1beta1.ITxRaw); /** TxRaw body_bytes. */ public body_bytes: Uint8Array; /** TxRaw auth_info_bytes. */ public auth_info_bytes: Uint8Array; /** TxRaw signatures. */ public signatures: Uint8Array[]; /** * Encodes the specified TxRaw message. Does not implicitly {@link cosmos.tx.v1beta1.TxRaw.verify|verify} messages. * @param message TxRaw message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.tx.v1beta1.ITxRaw, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TxRaw message, length delimited. Does not implicitly {@link cosmos.tx.v1beta1.TxRaw.verify|verify} messages. * @param message TxRaw message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.tx.v1beta1.ITxRaw, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TxRaw message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TxRaw * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.tx.v1beta1.TxRaw; /** * Decodes a TxRaw message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TxRaw * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.tx.v1beta1.TxRaw; /** * Verifies a TxRaw message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TxRaw message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TxRaw */ public static fromObject(object: { [k: string]: any }): cosmos.tx.v1beta1.TxRaw; /** * Creates a plain object from a TxRaw message. Also converts values to other types if specified. * @param message TxRaw * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.tx.v1beta1.TxRaw, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TxRaw to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a SignDoc. */ interface ISignDoc { /** SignDoc body_bytes */ body_bytes?: (Uint8Array|null); /** SignDoc auth_info_bytes */ auth_info_bytes?: (Uint8Array|null); /** SignDoc chain_id */ chain_id?: (string|null); /** SignDoc account_number */ account_number?: (Long|null); } /** Represents a SignDoc. */ class SignDoc implements ISignDoc { /** * Constructs a new SignDoc. * @param [properties] Properties to set */ constructor(properties?: cosmos.tx.v1beta1.ISignDoc); /** SignDoc body_bytes. */ public body_bytes: Uint8Array; /** SignDoc auth_info_bytes. */ public auth_info_bytes: Uint8Array; /** SignDoc chain_id. */ public chain_id: string; /** SignDoc account_number. */ public account_number: Long; /** * Encodes the specified SignDoc message. Does not implicitly {@link cosmos.tx.v1beta1.SignDoc.verify|verify} messages. * @param message SignDoc message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.tx.v1beta1.ISignDoc, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SignDoc message, length delimited. Does not implicitly {@link cosmos.tx.v1beta1.SignDoc.verify|verify} messages. * @param message SignDoc message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.tx.v1beta1.ISignDoc, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SignDoc message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SignDoc * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.tx.v1beta1.SignDoc; /** * Decodes a SignDoc message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SignDoc * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.tx.v1beta1.SignDoc; /** * Verifies a SignDoc message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SignDoc message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SignDoc */ public static fromObject(object: { [k: string]: any }): cosmos.tx.v1beta1.SignDoc; /** * Creates a plain object from a SignDoc message. Also converts values to other types if specified. * @param message SignDoc * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.tx.v1beta1.SignDoc, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SignDoc to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a SignDocDirectAux. */ interface ISignDocDirectAux { /** SignDocDirectAux body_bytes */ body_bytes?: (Uint8Array|null); /** SignDocDirectAux public_key */ public_key?: (google.protobuf.IAny|null); /** SignDocDirectAux chain_id */ chain_id?: (string|null); /** SignDocDirectAux account_number */ account_number?: (Long|null); /** SignDocDirectAux sequence */ sequence?: (Long|null); /** SignDocDirectAux tip */ tip?: (cosmos.tx.v1beta1.ITip|null); } /** Represents a SignDocDirectAux. */ class SignDocDirectAux implements ISignDocDirectAux { /** * Constructs a new SignDocDirectAux. * @param [properties] Properties to set */ constructor(properties?: cosmos.tx.v1beta1.ISignDocDirectAux); /** SignDocDirectAux body_bytes. */ public body_bytes: Uint8Array; /** SignDocDirectAux public_key. */ public public_key?: (google.protobuf.IAny|null); /** SignDocDirectAux chain_id. */ public chain_id: string; /** SignDocDirectAux account_number. */ public account_number: Long; /** SignDocDirectAux sequence. */ public sequence: Long; /** SignDocDirectAux tip. */ public tip?: (cosmos.tx.v1beta1.ITip|null); /** * Encodes the specified SignDocDirectAux message. Does not implicitly {@link cosmos.tx.v1beta1.SignDocDirectAux.verify|verify} messages. * @param message SignDocDirectAux message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.tx.v1beta1.ISignDocDirectAux, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SignDocDirectAux message, length delimited. Does not implicitly {@link cosmos.tx.v1beta1.SignDocDirectAux.verify|verify} messages. * @param message SignDocDirectAux message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.tx.v1beta1.ISignDocDirectAux, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SignDocDirectAux message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SignDocDirectAux * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.tx.v1beta1.SignDocDirectAux; /** * Decodes a SignDocDirectAux message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SignDocDirectAux * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.tx.v1beta1.SignDocDirectAux; /** * Verifies a SignDocDirectAux message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SignDocDirectAux message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SignDocDirectAux */ public static fromObject(object: { [k: string]: any }): cosmos.tx.v1beta1.SignDocDirectAux; /** * Creates a plain object from a SignDocDirectAux message. Also converts values to other types if specified. * @param message SignDocDirectAux * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.tx.v1beta1.SignDocDirectAux, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SignDocDirectAux to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a TxBody. */ interface ITxBody { /** TxBody messages */ messages?: (google.protobuf.IAny[]|null); /** TxBody memo */ memo?: (string|null); /** TxBody timeout_height */ timeout_height?: (Long|null); /** TxBody extension_options */ extension_options?: (google.protobuf.IAny[]|null); /** TxBody non_critical_extension_options */ non_critical_extension_options?: (google.protobuf.IAny[]|null); } /** Represents a TxBody. */ class TxBody implements ITxBody { /** * Constructs a new TxBody. * @param [properties] Properties to set */ constructor(properties?: cosmos.tx.v1beta1.ITxBody); /** TxBody messages. */ public messages: google.protobuf.IAny[]; /** TxBody memo. */ public memo: string; /** TxBody timeout_height. */ public timeout_height: Long; /** TxBody extension_options. */ public extension_options: google.protobuf.IAny[]; /** TxBody non_critical_extension_options. */ public non_critical_extension_options: google.protobuf.IAny[]; /** * Encodes the specified TxBody message. Does not implicitly {@link cosmos.tx.v1beta1.TxBody.verify|verify} messages. * @param message TxBody message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.tx.v1beta1.ITxBody, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TxBody message, length delimited. Does not implicitly {@link cosmos.tx.v1beta1.TxBody.verify|verify} messages. * @param message TxBody message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.tx.v1beta1.ITxBody, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TxBody message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TxBody * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.tx.v1beta1.TxBody; /** * Decodes a TxBody message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TxBody * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.tx.v1beta1.TxBody; /** * Verifies a TxBody message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TxBody message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TxBody */ public static fromObject(object: { [k: string]: any }): cosmos.tx.v1beta1.TxBody; /** * Creates a plain object from a TxBody message. Also converts values to other types if specified. * @param message TxBody * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.tx.v1beta1.TxBody, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TxBody to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an AuthInfo. */ interface IAuthInfo { /** AuthInfo signer_infos */ signer_infos?: (cosmos.tx.v1beta1.ISignerInfo[]|null); /** AuthInfo fee */ fee?: (cosmos.tx.v1beta1.IFee|null); /** AuthInfo tip */ tip?: (cosmos.tx.v1beta1.ITip|null); } /** Represents an AuthInfo. */ class AuthInfo implements IAuthInfo { /** * Constructs a new AuthInfo. * @param [properties] Properties to set */ constructor(properties?: cosmos.tx.v1beta1.IAuthInfo); /** AuthInfo signer_infos. */ public signer_infos: cosmos.tx.v1beta1.ISignerInfo[]; /** AuthInfo fee. */ public fee?: (cosmos.tx.v1beta1.IFee|null); /** AuthInfo tip. */ public tip?: (cosmos.tx.v1beta1.ITip|null); /** * Encodes the specified AuthInfo message. Does not implicitly {@link cosmos.tx.v1beta1.AuthInfo.verify|verify} messages. * @param message AuthInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.tx.v1beta1.IAuthInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AuthInfo message, length delimited. Does not implicitly {@link cosmos.tx.v1beta1.AuthInfo.verify|verify} messages. * @param message AuthInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.tx.v1beta1.IAuthInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AuthInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AuthInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.tx.v1beta1.AuthInfo; /** * Decodes an AuthInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AuthInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.tx.v1beta1.AuthInfo; /** * Verifies an AuthInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AuthInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AuthInfo */ public static fromObject(object: { [k: string]: any }): cosmos.tx.v1beta1.AuthInfo; /** * Creates a plain object from an AuthInfo message. Also converts values to other types if specified. * @param message AuthInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.tx.v1beta1.AuthInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AuthInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a SignerInfo. */ interface ISignerInfo { /** SignerInfo public_key */ public_key?: (google.protobuf.IAny|null); /** SignerInfo mode_info */ mode_info?: (cosmos.tx.v1beta1.IModeInfo|null); /** SignerInfo sequence */ sequence?: (Long|null); } /** Represents a SignerInfo. */ class SignerInfo implements ISignerInfo { /** * Constructs a new SignerInfo. * @param [properties] Properties to set */ constructor(properties?: cosmos.tx.v1beta1.ISignerInfo); /** SignerInfo public_key. */ public public_key?: (google.protobuf.IAny|null); /** SignerInfo mode_info. */ public mode_info?: (cosmos.tx.v1beta1.IModeInfo|null); /** SignerInfo sequence. */ public sequence: Long; /** * Encodes the specified SignerInfo message. Does not implicitly {@link cosmos.tx.v1beta1.SignerInfo.verify|verify} messages. * @param message SignerInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.tx.v1beta1.ISignerInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SignerInfo message, length delimited. Does not implicitly {@link cosmos.tx.v1beta1.SignerInfo.verify|verify} messages. * @param message SignerInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.tx.v1beta1.ISignerInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SignerInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SignerInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.tx.v1beta1.SignerInfo; /** * Decodes a SignerInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SignerInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.tx.v1beta1.SignerInfo; /** * Verifies a SignerInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SignerInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SignerInfo */ public static fromObject(object: { [k: string]: any }): cosmos.tx.v1beta1.SignerInfo; /** * Creates a plain object from a SignerInfo message. Also converts values to other types if specified. * @param message SignerInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.tx.v1beta1.SignerInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SignerInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ModeInfo. */ interface IModeInfo { /** ModeInfo single */ single?: (cosmos.tx.v1beta1.ModeInfo.ISingle|null); /** ModeInfo multi */ multi?: (cosmos.tx.v1beta1.ModeInfo.IMulti|null); } /** Represents a ModeInfo. */ class ModeInfo implements IModeInfo { /** * Constructs a new ModeInfo. * @param [properties] Properties to set */ constructor(properties?: cosmos.tx.v1beta1.IModeInfo); /** ModeInfo single. */ public single?: (cosmos.tx.v1beta1.ModeInfo.ISingle|null); /** ModeInfo multi. */ public multi?: (cosmos.tx.v1beta1.ModeInfo.IMulti|null); /** ModeInfo sum. */ public sum?: ("single"|"multi"); /** * Encodes the specified ModeInfo message. Does not implicitly {@link cosmos.tx.v1beta1.ModeInfo.verify|verify} messages. * @param message ModeInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.tx.v1beta1.IModeInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ModeInfo message, length delimited. Does not implicitly {@link cosmos.tx.v1beta1.ModeInfo.verify|verify} messages. * @param message ModeInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.tx.v1beta1.IModeInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ModeInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ModeInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.tx.v1beta1.ModeInfo; /** * Decodes a ModeInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ModeInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.tx.v1beta1.ModeInfo; /** * Verifies a ModeInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ModeInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ModeInfo */ public static fromObject(object: { [k: string]: any }): cosmos.tx.v1beta1.ModeInfo; /** * Creates a plain object from a ModeInfo message. Also converts values to other types if specified. * @param message ModeInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.tx.v1beta1.ModeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ModeInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } namespace ModeInfo { /** Properties of a Single. */ interface ISingle { /** Single mode */ mode?: (cosmos.tx.signing.v1beta1.SignMode|null); } /** Represents a Single. */ class Single implements ISingle { /** * Constructs a new Single. * @param [properties] Properties to set */ constructor(properties?: cosmos.tx.v1beta1.ModeInfo.ISingle); /** Single mode. */ public mode: cosmos.tx.signing.v1beta1.SignMode; /** * Encodes the specified Single message. Does not implicitly {@link cosmos.tx.v1beta1.ModeInfo.Single.verify|verify} messages. * @param message Single message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.tx.v1beta1.ModeInfo.ISingle, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Single message, length delimited. Does not implicitly {@link cosmos.tx.v1beta1.ModeInfo.Single.verify|verify} messages. * @param message Single message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.tx.v1beta1.ModeInfo.ISingle, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Single message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Single * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.tx.v1beta1.ModeInfo.Single; /** * Decodes a Single message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Single * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.tx.v1beta1.ModeInfo.Single; /** * Verifies a Single message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Single message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Single */ public static fromObject(object: { [k: string]: any }): cosmos.tx.v1beta1.ModeInfo.Single; /** * Creates a plain object from a Single message. Also converts values to other types if specified. * @param message Single * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.tx.v1beta1.ModeInfo.Single, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Single to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Multi. */ interface IMulti { /** Multi bitarray */ bitarray?: (cosmos.crypto.multisig.v1beta1.ICompactBitArray|null); /** Multi mode_infos */ mode_infos?: (cosmos.tx.v1beta1.IModeInfo[]|null); } /** Represents a Multi. */ class Multi implements IMulti { /** * Constructs a new Multi. * @param [properties] Properties to set */ constructor(properties?: cosmos.tx.v1beta1.ModeInfo.IMulti); /** Multi bitarray. */ public bitarray?: (cosmos.crypto.multisig.v1beta1.ICompactBitArray|null); /** Multi mode_infos. */ public mode_infos: cosmos.tx.v1beta1.IModeInfo[]; /** * Encodes the specified Multi message. Does not implicitly {@link cosmos.tx.v1beta1.ModeInfo.Multi.verify|verify} messages. * @param message Multi message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.tx.v1beta1.ModeInfo.IMulti, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Multi message, length delimited. Does not implicitly {@link cosmos.tx.v1beta1.ModeInfo.Multi.verify|verify} messages. * @param message Multi message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.tx.v1beta1.ModeInfo.IMulti, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Multi message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Multi * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.tx.v1beta1.ModeInfo.Multi; /** * Decodes a Multi message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Multi * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.tx.v1beta1.ModeInfo.Multi; /** * Verifies a Multi message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Multi message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Multi */ public static fromObject(object: { [k: string]: any }): cosmos.tx.v1beta1.ModeInfo.Multi; /** * Creates a plain object from a Multi message. Also converts values to other types if specified. * @param message Multi * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.tx.v1beta1.ModeInfo.Multi, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Multi to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } /** Properties of a Fee. */ interface IFee { /** Fee amount */ amount?: (cosmos.base.v1beta1.ICoin[]|null); /** Fee gas_limit */ gas_limit?: (Long|null); /** Fee payer */ payer?: (string|null); /** Fee granter */ granter?: (string|null); } /** Represents a Fee. */ class Fee implements IFee { /** * Constructs a new Fee. * @param [properties] Properties to set */ constructor(properties?: cosmos.tx.v1beta1.IFee); /** Fee amount. */ public amount: cosmos.base.v1beta1.ICoin[]; /** Fee gas_limit. */ public gas_limit: Long; /** Fee payer. */ public payer: string; /** Fee granter. */ public granter: string; /** * Encodes the specified Fee message. Does not implicitly {@link cosmos.tx.v1beta1.Fee.verify|verify} messages. * @param message Fee message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.tx.v1beta1.IFee, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Fee message, length delimited. Does not implicitly {@link cosmos.tx.v1beta1.Fee.verify|verify} messages. * @param message Fee message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.tx.v1beta1.IFee, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Fee message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Fee * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.tx.v1beta1.Fee; /** * Decodes a Fee message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Fee * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.tx.v1beta1.Fee; /** * Verifies a Fee message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Fee message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Fee */ public static fromObject(object: { [k: string]: any }): cosmos.tx.v1beta1.Fee; /** * Creates a plain object from a Fee message. Also converts values to other types if specified. * @param message Fee * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.tx.v1beta1.Fee, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Fee to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Tip. */ interface ITip { /** Tip amount */ amount?: (cosmos.base.v1beta1.ICoin[]|null); /** Tip tipper */ tipper?: (string|null); } /** Represents a Tip. */ class Tip implements ITip { /** * Constructs a new Tip. * @param [properties] Properties to set */ constructor(properties?: cosmos.tx.v1beta1.ITip); /** Tip amount. */ public amount: cosmos.base.v1beta1.ICoin[]; /** Tip tipper. */ public tipper: string; /** * Encodes the specified Tip message. Does not implicitly {@link cosmos.tx.v1beta1.Tip.verify|verify} messages. * @param message Tip message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.tx.v1beta1.ITip, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Tip message, length delimited. Does not implicitly {@link cosmos.tx.v1beta1.Tip.verify|verify} messages. * @param message Tip message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.tx.v1beta1.ITip, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Tip message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Tip * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.tx.v1beta1.Tip; /** * Decodes a Tip message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Tip * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.tx.v1beta1.Tip; /** * Verifies a Tip message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Tip message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Tip */ public static fromObject(object: { [k: string]: any }): cosmos.tx.v1beta1.Tip; /** * Creates a plain object from a Tip message. Also converts values to other types if specified. * @param message Tip * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.tx.v1beta1.Tip, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Tip to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an AuxSignerData. */ interface IAuxSignerData { /** AuxSignerData address */ address?: (string|null); /** AuxSignerData sign_doc */ sign_doc?: (cosmos.tx.v1beta1.ISignDocDirectAux|null); /** AuxSignerData mode */ mode?: (cosmos.tx.signing.v1beta1.SignMode|null); /** AuxSignerData sig */ sig?: (Uint8Array|null); } /** Represents an AuxSignerData. */ class AuxSignerData implements IAuxSignerData { /** * Constructs a new AuxSignerData. * @param [properties] Properties to set */ constructor(properties?: cosmos.tx.v1beta1.IAuxSignerData); /** AuxSignerData address. */ public address: string; /** AuxSignerData sign_doc. */ public sign_doc?: (cosmos.tx.v1beta1.ISignDocDirectAux|null); /** AuxSignerData mode. */ public mode: cosmos.tx.signing.v1beta1.SignMode; /** AuxSignerData sig. */ public sig: Uint8Array; /** * Encodes the specified AuxSignerData message. Does not implicitly {@link cosmos.tx.v1beta1.AuxSignerData.verify|verify} messages. * @param message AuxSignerData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.tx.v1beta1.IAuxSignerData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AuxSignerData message, length delimited. Does not implicitly {@link cosmos.tx.v1beta1.AuxSignerData.verify|verify} messages. * @param message AuxSignerData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.tx.v1beta1.IAuxSignerData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AuxSignerData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AuxSignerData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.tx.v1beta1.AuxSignerData; /** * Decodes an AuxSignerData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AuxSignerData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.tx.v1beta1.AuxSignerData; /** * Verifies an AuxSignerData message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AuxSignerData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AuxSignerData */ public static fromObject(object: { [k: string]: any }): cosmos.tx.v1beta1.AuxSignerData; /** * Creates a plain object from an AuxSignerData message. Also converts values to other types if specified. * @param message AuxSignerData * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.tx.v1beta1.AuxSignerData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AuxSignerData to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Represents a Service */ class Service extends $protobuf.rpc.Service { /** * Constructs a new Service service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls Simulate. * @param request SimulateRequest message or plain object * @param callback Node-style callback called with the error, if any, and SimulateResponse */ public simulate(request: cosmos.tx.v1beta1.ISimulateRequest, callback: cosmos.tx.v1beta1.Service.SimulateCallback): void; /** * Calls Simulate. * @param request SimulateRequest message or plain object * @returns Promise */ public simulate(request: cosmos.tx.v1beta1.ISimulateRequest): Promise; /** * Calls GetTx. * @param request GetTxRequest message or plain object * @param callback Node-style callback called with the error, if any, and GetTxResponse */ public getTx(request: cosmos.tx.v1beta1.IGetTxRequest, callback: cosmos.tx.v1beta1.Service.GetTxCallback): void; /** * Calls GetTx. * @param request GetTxRequest message or plain object * @returns Promise */ public getTx(request: cosmos.tx.v1beta1.IGetTxRequest): Promise; /** * Calls BroadcastTx. * @param request BroadcastTxRequest message or plain object * @param callback Node-style callback called with the error, if any, and BroadcastTxResponse */ public broadcastTx(request: cosmos.tx.v1beta1.IBroadcastTxRequest, callback: cosmos.tx.v1beta1.Service.BroadcastTxCallback): void; /** * Calls BroadcastTx. * @param request BroadcastTxRequest message or plain object * @returns Promise */ public broadcastTx(request: cosmos.tx.v1beta1.IBroadcastTxRequest): Promise; /** * Calls GetTxsEvent. * @param request GetTxsEventRequest message or plain object * @param callback Node-style callback called with the error, if any, and GetTxsEventResponse */ public getTxsEvent(request: cosmos.tx.v1beta1.IGetTxsEventRequest, callback: cosmos.tx.v1beta1.Service.GetTxsEventCallback): void; /** * Calls GetTxsEvent. * @param request GetTxsEventRequest message or plain object * @returns Promise */ public getTxsEvent(request: cosmos.tx.v1beta1.IGetTxsEventRequest): Promise; /** * Calls GetBlockWithTxs. * @param request GetBlockWithTxsRequest message or plain object * @param callback Node-style callback called with the error, if any, and GetBlockWithTxsResponse */ public getBlockWithTxs(request: cosmos.tx.v1beta1.IGetBlockWithTxsRequest, callback: cosmos.tx.v1beta1.Service.GetBlockWithTxsCallback): void; /** * Calls GetBlockWithTxs. * @param request GetBlockWithTxsRequest message or plain object * @returns Promise */ public getBlockWithTxs(request: cosmos.tx.v1beta1.IGetBlockWithTxsRequest): Promise; /** * Calls TxDecode. * @param request TxDecodeRequest message or plain object * @param callback Node-style callback called with the error, if any, and TxDecodeResponse */ public txDecode(request: cosmos.tx.v1beta1.ITxDecodeRequest, callback: cosmos.tx.v1beta1.Service.TxDecodeCallback): void; /** * Calls TxDecode. * @param request TxDecodeRequest message or plain object * @returns Promise */ public txDecode(request: cosmos.tx.v1beta1.ITxDecodeRequest): Promise; /** * Calls TxEncode. * @param request TxEncodeRequest message or plain object * @param callback Node-style callback called with the error, if any, and TxEncodeResponse */ public txEncode(request: cosmos.tx.v1beta1.ITxEncodeRequest, callback: cosmos.tx.v1beta1.Service.TxEncodeCallback): void; /** * Calls TxEncode. * @param request TxEncodeRequest message or plain object * @returns Promise */ public txEncode(request: cosmos.tx.v1beta1.ITxEncodeRequest): Promise; /** * Calls TxEncodeAmino. * @param request TxEncodeAminoRequest message or plain object * @param callback Node-style callback called with the error, if any, and TxEncodeAminoResponse */ public txEncodeAmino(request: cosmos.tx.v1beta1.ITxEncodeAminoRequest, callback: cosmos.tx.v1beta1.Service.TxEncodeAminoCallback): void; /** * Calls TxEncodeAmino. * @param request TxEncodeAminoRequest message or plain object * @returns Promise */ public txEncodeAmino(request: cosmos.tx.v1beta1.ITxEncodeAminoRequest): Promise; /** * Calls TxDecodeAmino. * @param request TxDecodeAminoRequest message or plain object * @param callback Node-style callback called with the error, if any, and TxDecodeAminoResponse */ public txDecodeAmino(request: cosmos.tx.v1beta1.ITxDecodeAminoRequest, callback: cosmos.tx.v1beta1.Service.TxDecodeAminoCallback): void; /** * Calls TxDecodeAmino. * @param request TxDecodeAminoRequest message or plain object * @returns Promise */ public txDecodeAmino(request: cosmos.tx.v1beta1.ITxDecodeAminoRequest): Promise; } namespace Service { /** * Callback as used by {@link cosmos.tx.v1beta1.Service#simulate}. * @param error Error, if any * @param [response] SimulateResponse */ type SimulateCallback = (error: (Error|null), response?: cosmos.tx.v1beta1.SimulateResponse) => void; /** * Callback as used by {@link cosmos.tx.v1beta1.Service#getTx}. * @param error Error, if any * @param [response] GetTxResponse */ type GetTxCallback = (error: (Error|null), response?: cosmos.tx.v1beta1.GetTxResponse) => void; /** * Callback as used by {@link cosmos.tx.v1beta1.Service#broadcastTx}. * @param error Error, if any * @param [response] BroadcastTxResponse */ type BroadcastTxCallback = (error: (Error|null), response?: cosmos.tx.v1beta1.BroadcastTxResponse) => void; /** * Callback as used by {@link cosmos.tx.v1beta1.Service#getTxsEvent}. * @param error Error, if any * @param [response] GetTxsEventResponse */ type GetTxsEventCallback = (error: (Error|null), response?: cosmos.tx.v1beta1.GetTxsEventResponse) => void; /** * Callback as used by {@link cosmos.tx.v1beta1.Service#getBlockWithTxs}. * @param error Error, if any * @param [response] GetBlockWithTxsResponse */ type GetBlockWithTxsCallback = (error: (Error|null), response?: cosmos.tx.v1beta1.GetBlockWithTxsResponse) => void; /** * Callback as used by {@link cosmos.tx.v1beta1.Service#txDecode}. * @param error Error, if any * @param [response] TxDecodeResponse */ type TxDecodeCallback = (error: (Error|null), response?: cosmos.tx.v1beta1.TxDecodeResponse) => void; /** * Callback as used by {@link cosmos.tx.v1beta1.Service#txEncode}. * @param error Error, if any * @param [response] TxEncodeResponse */ type TxEncodeCallback = (error: (Error|null), response?: cosmos.tx.v1beta1.TxEncodeResponse) => void; /** * Callback as used by {@link cosmos.tx.v1beta1.Service#txEncodeAmino}. * @param error Error, if any * @param [response] TxEncodeAminoResponse */ type TxEncodeAminoCallback = (error: (Error|null), response?: cosmos.tx.v1beta1.TxEncodeAminoResponse) => void; /** * Callback as used by {@link cosmos.tx.v1beta1.Service#txDecodeAmino}. * @param error Error, if any * @param [response] TxDecodeAminoResponse */ type TxDecodeAminoCallback = (error: (Error|null), response?: cosmos.tx.v1beta1.TxDecodeAminoResponse) => void; } /** Properties of a GetTxsEventRequest. */ interface IGetTxsEventRequest { /** GetTxsEventRequest events */ events?: (string[]|null); /** GetTxsEventRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** GetTxsEventRequest order_by */ order_by?: (cosmos.tx.v1beta1.OrderBy|null); /** GetTxsEventRequest page */ page?: (Long|null); /** GetTxsEventRequest limit */ limit?: (Long|null); } /** Represents a GetTxsEventRequest. */ class GetTxsEventRequest implements IGetTxsEventRequest { /** * Constructs a new GetTxsEventRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.tx.v1beta1.IGetTxsEventRequest); /** GetTxsEventRequest events. */ public events: string[]; /** GetTxsEventRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** GetTxsEventRequest order_by. */ public order_by: cosmos.tx.v1beta1.OrderBy; /** GetTxsEventRequest page. */ public page: Long; /** GetTxsEventRequest limit. */ public limit: Long; /** * Encodes the specified GetTxsEventRequest message. Does not implicitly {@link cosmos.tx.v1beta1.GetTxsEventRequest.verify|verify} messages. * @param message GetTxsEventRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.tx.v1beta1.IGetTxsEventRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetTxsEventRequest message, length delimited. Does not implicitly {@link cosmos.tx.v1beta1.GetTxsEventRequest.verify|verify} messages. * @param message GetTxsEventRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.tx.v1beta1.IGetTxsEventRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetTxsEventRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetTxsEventRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.tx.v1beta1.GetTxsEventRequest; /** * Decodes a GetTxsEventRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetTxsEventRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.tx.v1beta1.GetTxsEventRequest; /** * Verifies a GetTxsEventRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetTxsEventRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetTxsEventRequest */ public static fromObject(object: { [k: string]: any }): cosmos.tx.v1beta1.GetTxsEventRequest; /** * Creates a plain object from a GetTxsEventRequest message. Also converts values to other types if specified. * @param message GetTxsEventRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.tx.v1beta1.GetTxsEventRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetTxsEventRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** OrderBy enum. */ enum OrderBy { ORDER_BY_UNSPECIFIED = 0, ORDER_BY_ASC = 1, ORDER_BY_DESC = 2 } /** Properties of a GetTxsEventResponse. */ interface IGetTxsEventResponse { /** GetTxsEventResponse txs */ txs?: (cosmos.tx.v1beta1.ITx[]|null); /** GetTxsEventResponse tx_responses */ tx_responses?: (cosmos.base.abci.v1beta1.ITxResponse[]|null); /** GetTxsEventResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** GetTxsEventResponse total */ total?: (Long|null); } /** Represents a GetTxsEventResponse. */ class GetTxsEventResponse implements IGetTxsEventResponse { /** * Constructs a new GetTxsEventResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.tx.v1beta1.IGetTxsEventResponse); /** GetTxsEventResponse txs. */ public txs: cosmos.tx.v1beta1.ITx[]; /** GetTxsEventResponse tx_responses. */ public tx_responses: cosmos.base.abci.v1beta1.ITxResponse[]; /** GetTxsEventResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** GetTxsEventResponse total. */ public total: Long; /** * Encodes the specified GetTxsEventResponse message. Does not implicitly {@link cosmos.tx.v1beta1.GetTxsEventResponse.verify|verify} messages. * @param message GetTxsEventResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.tx.v1beta1.IGetTxsEventResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetTxsEventResponse message, length delimited. Does not implicitly {@link cosmos.tx.v1beta1.GetTxsEventResponse.verify|verify} messages. * @param message GetTxsEventResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.tx.v1beta1.IGetTxsEventResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetTxsEventResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetTxsEventResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.tx.v1beta1.GetTxsEventResponse; /** * Decodes a GetTxsEventResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetTxsEventResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.tx.v1beta1.GetTxsEventResponse; /** * Verifies a GetTxsEventResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetTxsEventResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetTxsEventResponse */ public static fromObject(object: { [k: string]: any }): cosmos.tx.v1beta1.GetTxsEventResponse; /** * Creates a plain object from a GetTxsEventResponse message. Also converts values to other types if specified. * @param message GetTxsEventResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.tx.v1beta1.GetTxsEventResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetTxsEventResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a BroadcastTxRequest. */ interface IBroadcastTxRequest { /** BroadcastTxRequest tx_bytes */ tx_bytes?: (Uint8Array|null); /** BroadcastTxRequest mode */ mode?: (cosmos.tx.v1beta1.BroadcastMode|null); } /** Represents a BroadcastTxRequest. */ class BroadcastTxRequest implements IBroadcastTxRequest { /** * Constructs a new BroadcastTxRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.tx.v1beta1.IBroadcastTxRequest); /** BroadcastTxRequest tx_bytes. */ public tx_bytes: Uint8Array; /** BroadcastTxRequest mode. */ public mode: cosmos.tx.v1beta1.BroadcastMode; /** * Encodes the specified BroadcastTxRequest message. Does not implicitly {@link cosmos.tx.v1beta1.BroadcastTxRequest.verify|verify} messages. * @param message BroadcastTxRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.tx.v1beta1.IBroadcastTxRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BroadcastTxRequest message, length delimited. Does not implicitly {@link cosmos.tx.v1beta1.BroadcastTxRequest.verify|verify} messages. * @param message BroadcastTxRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.tx.v1beta1.IBroadcastTxRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BroadcastTxRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BroadcastTxRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.tx.v1beta1.BroadcastTxRequest; /** * Decodes a BroadcastTxRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BroadcastTxRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.tx.v1beta1.BroadcastTxRequest; /** * Verifies a BroadcastTxRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BroadcastTxRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BroadcastTxRequest */ public static fromObject(object: { [k: string]: any }): cosmos.tx.v1beta1.BroadcastTxRequest; /** * Creates a plain object from a BroadcastTxRequest message. Also converts values to other types if specified. * @param message BroadcastTxRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.tx.v1beta1.BroadcastTxRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BroadcastTxRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** BroadcastMode enum. */ enum BroadcastMode { BROADCAST_MODE_UNSPECIFIED = 0, BROADCAST_MODE_BLOCK = 1, BROADCAST_MODE_SYNC = 2, BROADCAST_MODE_ASYNC = 3 } /** Properties of a BroadcastTxResponse. */ interface IBroadcastTxResponse { /** BroadcastTxResponse tx_response */ tx_response?: (cosmos.base.abci.v1beta1.ITxResponse|null); } /** Represents a BroadcastTxResponse. */ class BroadcastTxResponse implements IBroadcastTxResponse { /** * Constructs a new BroadcastTxResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.tx.v1beta1.IBroadcastTxResponse); /** BroadcastTxResponse tx_response. */ public tx_response?: (cosmos.base.abci.v1beta1.ITxResponse|null); /** * Encodes the specified BroadcastTxResponse message. Does not implicitly {@link cosmos.tx.v1beta1.BroadcastTxResponse.verify|verify} messages. * @param message BroadcastTxResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.tx.v1beta1.IBroadcastTxResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BroadcastTxResponse message, length delimited. Does not implicitly {@link cosmos.tx.v1beta1.BroadcastTxResponse.verify|verify} messages. * @param message BroadcastTxResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.tx.v1beta1.IBroadcastTxResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BroadcastTxResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BroadcastTxResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.tx.v1beta1.BroadcastTxResponse; /** * Decodes a BroadcastTxResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BroadcastTxResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.tx.v1beta1.BroadcastTxResponse; /** * Verifies a BroadcastTxResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BroadcastTxResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BroadcastTxResponse */ public static fromObject(object: { [k: string]: any }): cosmos.tx.v1beta1.BroadcastTxResponse; /** * Creates a plain object from a BroadcastTxResponse message. Also converts values to other types if specified. * @param message BroadcastTxResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.tx.v1beta1.BroadcastTxResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BroadcastTxResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a SimulateRequest. */ interface ISimulateRequest { /** SimulateRequest tx */ tx?: (cosmos.tx.v1beta1.ITx|null); /** SimulateRequest tx_bytes */ tx_bytes?: (Uint8Array|null); } /** Represents a SimulateRequest. */ class SimulateRequest implements ISimulateRequest { /** * Constructs a new SimulateRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.tx.v1beta1.ISimulateRequest); /** SimulateRequest tx. */ public tx?: (cosmos.tx.v1beta1.ITx|null); /** SimulateRequest tx_bytes. */ public tx_bytes: Uint8Array; /** * Encodes the specified SimulateRequest message. Does not implicitly {@link cosmos.tx.v1beta1.SimulateRequest.verify|verify} messages. * @param message SimulateRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.tx.v1beta1.ISimulateRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SimulateRequest message, length delimited. Does not implicitly {@link cosmos.tx.v1beta1.SimulateRequest.verify|verify} messages. * @param message SimulateRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.tx.v1beta1.ISimulateRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SimulateRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SimulateRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.tx.v1beta1.SimulateRequest; /** * Decodes a SimulateRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SimulateRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.tx.v1beta1.SimulateRequest; /** * Verifies a SimulateRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SimulateRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SimulateRequest */ public static fromObject(object: { [k: string]: any }): cosmos.tx.v1beta1.SimulateRequest; /** * Creates a plain object from a SimulateRequest message. Also converts values to other types if specified. * @param message SimulateRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.tx.v1beta1.SimulateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SimulateRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a SimulateResponse. */ interface ISimulateResponse { /** SimulateResponse gas_info */ gas_info?: (cosmos.base.abci.v1beta1.IGasInfo|null); /** SimulateResponse result */ result?: (cosmos.base.abci.v1beta1.IResult|null); } /** Represents a SimulateResponse. */ class SimulateResponse implements ISimulateResponse { /** * Constructs a new SimulateResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.tx.v1beta1.ISimulateResponse); /** SimulateResponse gas_info. */ public gas_info?: (cosmos.base.abci.v1beta1.IGasInfo|null); /** SimulateResponse result. */ public result?: (cosmos.base.abci.v1beta1.IResult|null); /** * Encodes the specified SimulateResponse message. Does not implicitly {@link cosmos.tx.v1beta1.SimulateResponse.verify|verify} messages. * @param message SimulateResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.tx.v1beta1.ISimulateResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SimulateResponse message, length delimited. Does not implicitly {@link cosmos.tx.v1beta1.SimulateResponse.verify|verify} messages. * @param message SimulateResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.tx.v1beta1.ISimulateResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SimulateResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SimulateResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.tx.v1beta1.SimulateResponse; /** * Decodes a SimulateResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SimulateResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.tx.v1beta1.SimulateResponse; /** * Verifies a SimulateResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SimulateResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SimulateResponse */ public static fromObject(object: { [k: string]: any }): cosmos.tx.v1beta1.SimulateResponse; /** * Creates a plain object from a SimulateResponse message. Also converts values to other types if specified. * @param message SimulateResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.tx.v1beta1.SimulateResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SimulateResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GetTxRequest. */ interface IGetTxRequest { /** GetTxRequest hash */ hash?: (string|null); } /** Represents a GetTxRequest. */ class GetTxRequest implements IGetTxRequest { /** * Constructs a new GetTxRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.tx.v1beta1.IGetTxRequest); /** GetTxRequest hash. */ public hash: string; /** * Encodes the specified GetTxRequest message. Does not implicitly {@link cosmos.tx.v1beta1.GetTxRequest.verify|verify} messages. * @param message GetTxRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.tx.v1beta1.IGetTxRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetTxRequest message, length delimited. Does not implicitly {@link cosmos.tx.v1beta1.GetTxRequest.verify|verify} messages. * @param message GetTxRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.tx.v1beta1.IGetTxRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetTxRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetTxRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.tx.v1beta1.GetTxRequest; /** * Decodes a GetTxRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetTxRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.tx.v1beta1.GetTxRequest; /** * Verifies a GetTxRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetTxRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetTxRequest */ public static fromObject(object: { [k: string]: any }): cosmos.tx.v1beta1.GetTxRequest; /** * Creates a plain object from a GetTxRequest message. Also converts values to other types if specified. * @param message GetTxRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.tx.v1beta1.GetTxRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetTxRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GetTxResponse. */ interface IGetTxResponse { /** GetTxResponse tx */ tx?: (cosmos.tx.v1beta1.ITx|null); /** GetTxResponse tx_response */ tx_response?: (cosmos.base.abci.v1beta1.ITxResponse|null); } /** Represents a GetTxResponse. */ class GetTxResponse implements IGetTxResponse { /** * Constructs a new GetTxResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.tx.v1beta1.IGetTxResponse); /** GetTxResponse tx. */ public tx?: (cosmos.tx.v1beta1.ITx|null); /** GetTxResponse tx_response. */ public tx_response?: (cosmos.base.abci.v1beta1.ITxResponse|null); /** * Encodes the specified GetTxResponse message. Does not implicitly {@link cosmos.tx.v1beta1.GetTxResponse.verify|verify} messages. * @param message GetTxResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.tx.v1beta1.IGetTxResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetTxResponse message, length delimited. Does not implicitly {@link cosmos.tx.v1beta1.GetTxResponse.verify|verify} messages. * @param message GetTxResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.tx.v1beta1.IGetTxResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetTxResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetTxResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.tx.v1beta1.GetTxResponse; /** * Decodes a GetTxResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetTxResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.tx.v1beta1.GetTxResponse; /** * Verifies a GetTxResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetTxResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetTxResponse */ public static fromObject(object: { [k: string]: any }): cosmos.tx.v1beta1.GetTxResponse; /** * Creates a plain object from a GetTxResponse message. Also converts values to other types if specified. * @param message GetTxResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.tx.v1beta1.GetTxResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetTxResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GetBlockWithTxsRequest. */ interface IGetBlockWithTxsRequest { /** GetBlockWithTxsRequest height */ height?: (Long|null); /** GetBlockWithTxsRequest pagination */ pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); } /** Represents a GetBlockWithTxsRequest. */ class GetBlockWithTxsRequest implements IGetBlockWithTxsRequest { /** * Constructs a new GetBlockWithTxsRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.tx.v1beta1.IGetBlockWithTxsRequest); /** GetBlockWithTxsRequest height. */ public height: Long; /** GetBlockWithTxsRequest pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageRequest|null); /** * Encodes the specified GetBlockWithTxsRequest message. Does not implicitly {@link cosmos.tx.v1beta1.GetBlockWithTxsRequest.verify|verify} messages. * @param message GetBlockWithTxsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.tx.v1beta1.IGetBlockWithTxsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetBlockWithTxsRequest message, length delimited. Does not implicitly {@link cosmos.tx.v1beta1.GetBlockWithTxsRequest.verify|verify} messages. * @param message GetBlockWithTxsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.tx.v1beta1.IGetBlockWithTxsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetBlockWithTxsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetBlockWithTxsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.tx.v1beta1.GetBlockWithTxsRequest; /** * Decodes a GetBlockWithTxsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetBlockWithTxsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.tx.v1beta1.GetBlockWithTxsRequest; /** * Verifies a GetBlockWithTxsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetBlockWithTxsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetBlockWithTxsRequest */ public static fromObject(object: { [k: string]: any }): cosmos.tx.v1beta1.GetBlockWithTxsRequest; /** * Creates a plain object from a GetBlockWithTxsRequest message. Also converts values to other types if specified. * @param message GetBlockWithTxsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.tx.v1beta1.GetBlockWithTxsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetBlockWithTxsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GetBlockWithTxsResponse. */ interface IGetBlockWithTxsResponse { /** GetBlockWithTxsResponse txs */ txs?: (cosmos.tx.v1beta1.ITx[]|null); /** GetBlockWithTxsResponse block_id */ block_id?: (cometbft.types.IBlockID|null); /** GetBlockWithTxsResponse block */ block?: (cometbft.types.IBlock|null); /** GetBlockWithTxsResponse pagination */ pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); } /** Represents a GetBlockWithTxsResponse. */ class GetBlockWithTxsResponse implements IGetBlockWithTxsResponse { /** * Constructs a new GetBlockWithTxsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.tx.v1beta1.IGetBlockWithTxsResponse); /** GetBlockWithTxsResponse txs. */ public txs: cosmos.tx.v1beta1.ITx[]; /** GetBlockWithTxsResponse block_id. */ public block_id?: (cometbft.types.IBlockID|null); /** GetBlockWithTxsResponse block. */ public block?: (cometbft.types.IBlock|null); /** GetBlockWithTxsResponse pagination. */ public pagination?: (cosmos.base.query.v1beta1.IPageResponse|null); /** * Encodes the specified GetBlockWithTxsResponse message. Does not implicitly {@link cosmos.tx.v1beta1.GetBlockWithTxsResponse.verify|verify} messages. * @param message GetBlockWithTxsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.tx.v1beta1.IGetBlockWithTxsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetBlockWithTxsResponse message, length delimited. Does not implicitly {@link cosmos.tx.v1beta1.GetBlockWithTxsResponse.verify|verify} messages. * @param message GetBlockWithTxsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.tx.v1beta1.IGetBlockWithTxsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetBlockWithTxsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetBlockWithTxsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.tx.v1beta1.GetBlockWithTxsResponse; /** * Decodes a GetBlockWithTxsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetBlockWithTxsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.tx.v1beta1.GetBlockWithTxsResponse; /** * Verifies a GetBlockWithTxsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetBlockWithTxsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetBlockWithTxsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.tx.v1beta1.GetBlockWithTxsResponse; /** * Creates a plain object from a GetBlockWithTxsResponse message. Also converts values to other types if specified. * @param message GetBlockWithTxsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.tx.v1beta1.GetBlockWithTxsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetBlockWithTxsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a TxDecodeRequest. */ interface ITxDecodeRequest { /** TxDecodeRequest tx_bytes */ tx_bytes?: (Uint8Array|null); } /** Represents a TxDecodeRequest. */ class TxDecodeRequest implements ITxDecodeRequest { /** * Constructs a new TxDecodeRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.tx.v1beta1.ITxDecodeRequest); /** TxDecodeRequest tx_bytes. */ public tx_bytes: Uint8Array; /** * Encodes the specified TxDecodeRequest message. Does not implicitly {@link cosmos.tx.v1beta1.TxDecodeRequest.verify|verify} messages. * @param message TxDecodeRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.tx.v1beta1.ITxDecodeRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TxDecodeRequest message, length delimited. Does not implicitly {@link cosmos.tx.v1beta1.TxDecodeRequest.verify|verify} messages. * @param message TxDecodeRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.tx.v1beta1.ITxDecodeRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TxDecodeRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TxDecodeRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.tx.v1beta1.TxDecodeRequest; /** * Decodes a TxDecodeRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TxDecodeRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.tx.v1beta1.TxDecodeRequest; /** * Verifies a TxDecodeRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TxDecodeRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TxDecodeRequest */ public static fromObject(object: { [k: string]: any }): cosmos.tx.v1beta1.TxDecodeRequest; /** * Creates a plain object from a TxDecodeRequest message. Also converts values to other types if specified. * @param message TxDecodeRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.tx.v1beta1.TxDecodeRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TxDecodeRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a TxDecodeResponse. */ interface ITxDecodeResponse { /** TxDecodeResponse tx */ tx?: (cosmos.tx.v1beta1.ITx|null); } /** Represents a TxDecodeResponse. */ class TxDecodeResponse implements ITxDecodeResponse { /** * Constructs a new TxDecodeResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.tx.v1beta1.ITxDecodeResponse); /** TxDecodeResponse tx. */ public tx?: (cosmos.tx.v1beta1.ITx|null); /** * Encodes the specified TxDecodeResponse message. Does not implicitly {@link cosmos.tx.v1beta1.TxDecodeResponse.verify|verify} messages. * @param message TxDecodeResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.tx.v1beta1.ITxDecodeResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TxDecodeResponse message, length delimited. Does not implicitly {@link cosmos.tx.v1beta1.TxDecodeResponse.verify|verify} messages. * @param message TxDecodeResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.tx.v1beta1.ITxDecodeResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TxDecodeResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TxDecodeResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.tx.v1beta1.TxDecodeResponse; /** * Decodes a TxDecodeResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TxDecodeResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.tx.v1beta1.TxDecodeResponse; /** * Verifies a TxDecodeResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TxDecodeResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TxDecodeResponse */ public static fromObject(object: { [k: string]: any }): cosmos.tx.v1beta1.TxDecodeResponse; /** * Creates a plain object from a TxDecodeResponse message. Also converts values to other types if specified. * @param message TxDecodeResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.tx.v1beta1.TxDecodeResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TxDecodeResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a TxEncodeRequest. */ interface ITxEncodeRequest { /** TxEncodeRequest tx */ tx?: (cosmos.tx.v1beta1.ITx|null); } /** Represents a TxEncodeRequest. */ class TxEncodeRequest implements ITxEncodeRequest { /** * Constructs a new TxEncodeRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.tx.v1beta1.ITxEncodeRequest); /** TxEncodeRequest tx. */ public tx?: (cosmos.tx.v1beta1.ITx|null); /** * Encodes the specified TxEncodeRequest message. Does not implicitly {@link cosmos.tx.v1beta1.TxEncodeRequest.verify|verify} messages. * @param message TxEncodeRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.tx.v1beta1.ITxEncodeRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TxEncodeRequest message, length delimited. Does not implicitly {@link cosmos.tx.v1beta1.TxEncodeRequest.verify|verify} messages. * @param message TxEncodeRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.tx.v1beta1.ITxEncodeRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TxEncodeRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TxEncodeRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.tx.v1beta1.TxEncodeRequest; /** * Decodes a TxEncodeRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TxEncodeRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.tx.v1beta1.TxEncodeRequest; /** * Verifies a TxEncodeRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TxEncodeRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TxEncodeRequest */ public static fromObject(object: { [k: string]: any }): cosmos.tx.v1beta1.TxEncodeRequest; /** * Creates a plain object from a TxEncodeRequest message. Also converts values to other types if specified. * @param message TxEncodeRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.tx.v1beta1.TxEncodeRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TxEncodeRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a TxEncodeResponse. */ interface ITxEncodeResponse { /** TxEncodeResponse tx_bytes */ tx_bytes?: (Uint8Array|null); } /** Represents a TxEncodeResponse. */ class TxEncodeResponse implements ITxEncodeResponse { /** * Constructs a new TxEncodeResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.tx.v1beta1.ITxEncodeResponse); /** TxEncodeResponse tx_bytes. */ public tx_bytes: Uint8Array; /** * Encodes the specified TxEncodeResponse message. Does not implicitly {@link cosmos.tx.v1beta1.TxEncodeResponse.verify|verify} messages. * @param message TxEncodeResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.tx.v1beta1.ITxEncodeResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TxEncodeResponse message, length delimited. Does not implicitly {@link cosmos.tx.v1beta1.TxEncodeResponse.verify|verify} messages. * @param message TxEncodeResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.tx.v1beta1.ITxEncodeResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TxEncodeResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TxEncodeResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.tx.v1beta1.TxEncodeResponse; /** * Decodes a TxEncodeResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TxEncodeResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.tx.v1beta1.TxEncodeResponse; /** * Verifies a TxEncodeResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TxEncodeResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TxEncodeResponse */ public static fromObject(object: { [k: string]: any }): cosmos.tx.v1beta1.TxEncodeResponse; /** * Creates a plain object from a TxEncodeResponse message. Also converts values to other types if specified. * @param message TxEncodeResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.tx.v1beta1.TxEncodeResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TxEncodeResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a TxEncodeAminoRequest. */ interface ITxEncodeAminoRequest { /** TxEncodeAminoRequest amino_json */ amino_json?: (string|null); } /** Represents a TxEncodeAminoRequest. */ class TxEncodeAminoRequest implements ITxEncodeAminoRequest { /** * Constructs a new TxEncodeAminoRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.tx.v1beta1.ITxEncodeAminoRequest); /** TxEncodeAminoRequest amino_json. */ public amino_json: string; /** * Encodes the specified TxEncodeAminoRequest message. Does not implicitly {@link cosmos.tx.v1beta1.TxEncodeAminoRequest.verify|verify} messages. * @param message TxEncodeAminoRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.tx.v1beta1.ITxEncodeAminoRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TxEncodeAminoRequest message, length delimited. Does not implicitly {@link cosmos.tx.v1beta1.TxEncodeAminoRequest.verify|verify} messages. * @param message TxEncodeAminoRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.tx.v1beta1.ITxEncodeAminoRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TxEncodeAminoRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TxEncodeAminoRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.tx.v1beta1.TxEncodeAminoRequest; /** * Decodes a TxEncodeAminoRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TxEncodeAminoRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.tx.v1beta1.TxEncodeAminoRequest; /** * Verifies a TxEncodeAminoRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TxEncodeAminoRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TxEncodeAminoRequest */ public static fromObject(object: { [k: string]: any }): cosmos.tx.v1beta1.TxEncodeAminoRequest; /** * Creates a plain object from a TxEncodeAminoRequest message. Also converts values to other types if specified. * @param message TxEncodeAminoRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.tx.v1beta1.TxEncodeAminoRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TxEncodeAminoRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a TxEncodeAminoResponse. */ interface ITxEncodeAminoResponse { /** TxEncodeAminoResponse amino_binary */ amino_binary?: (Uint8Array|null); } /** Represents a TxEncodeAminoResponse. */ class TxEncodeAminoResponse implements ITxEncodeAminoResponse { /** * Constructs a new TxEncodeAminoResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.tx.v1beta1.ITxEncodeAminoResponse); /** TxEncodeAminoResponse amino_binary. */ public amino_binary: Uint8Array; /** * Encodes the specified TxEncodeAminoResponse message. Does not implicitly {@link cosmos.tx.v1beta1.TxEncodeAminoResponse.verify|verify} messages. * @param message TxEncodeAminoResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.tx.v1beta1.ITxEncodeAminoResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TxEncodeAminoResponse message, length delimited. Does not implicitly {@link cosmos.tx.v1beta1.TxEncodeAminoResponse.verify|verify} messages. * @param message TxEncodeAminoResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.tx.v1beta1.ITxEncodeAminoResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TxEncodeAminoResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TxEncodeAminoResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.tx.v1beta1.TxEncodeAminoResponse; /** * Decodes a TxEncodeAminoResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TxEncodeAminoResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.tx.v1beta1.TxEncodeAminoResponse; /** * Verifies a TxEncodeAminoResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TxEncodeAminoResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TxEncodeAminoResponse */ public static fromObject(object: { [k: string]: any }): cosmos.tx.v1beta1.TxEncodeAminoResponse; /** * Creates a plain object from a TxEncodeAminoResponse message. Also converts values to other types if specified. * @param message TxEncodeAminoResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.tx.v1beta1.TxEncodeAminoResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TxEncodeAminoResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a TxDecodeAminoRequest. */ interface ITxDecodeAminoRequest { /** TxDecodeAminoRequest amino_binary */ amino_binary?: (Uint8Array|null); } /** Represents a TxDecodeAminoRequest. */ class TxDecodeAminoRequest implements ITxDecodeAminoRequest { /** * Constructs a new TxDecodeAminoRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.tx.v1beta1.ITxDecodeAminoRequest); /** TxDecodeAminoRequest amino_binary. */ public amino_binary: Uint8Array; /** * Encodes the specified TxDecodeAminoRequest message. Does not implicitly {@link cosmos.tx.v1beta1.TxDecodeAminoRequest.verify|verify} messages. * @param message TxDecodeAminoRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.tx.v1beta1.ITxDecodeAminoRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TxDecodeAminoRequest message, length delimited. Does not implicitly {@link cosmos.tx.v1beta1.TxDecodeAminoRequest.verify|verify} messages. * @param message TxDecodeAminoRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.tx.v1beta1.ITxDecodeAminoRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TxDecodeAminoRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TxDecodeAminoRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.tx.v1beta1.TxDecodeAminoRequest; /** * Decodes a TxDecodeAminoRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TxDecodeAminoRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.tx.v1beta1.TxDecodeAminoRequest; /** * Verifies a TxDecodeAminoRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TxDecodeAminoRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TxDecodeAminoRequest */ public static fromObject(object: { [k: string]: any }): cosmos.tx.v1beta1.TxDecodeAminoRequest; /** * Creates a plain object from a TxDecodeAminoRequest message. Also converts values to other types if specified. * @param message TxDecodeAminoRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.tx.v1beta1.TxDecodeAminoRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TxDecodeAminoRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a TxDecodeAminoResponse. */ interface ITxDecodeAminoResponse { /** TxDecodeAminoResponse amino_json */ amino_json?: (string|null); } /** Represents a TxDecodeAminoResponse. */ class TxDecodeAminoResponse implements ITxDecodeAminoResponse { /** * Constructs a new TxDecodeAminoResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.tx.v1beta1.ITxDecodeAminoResponse); /** TxDecodeAminoResponse amino_json. */ public amino_json: string; /** * Encodes the specified TxDecodeAminoResponse message. Does not implicitly {@link cosmos.tx.v1beta1.TxDecodeAminoResponse.verify|verify} messages. * @param message TxDecodeAminoResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.tx.v1beta1.ITxDecodeAminoResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TxDecodeAminoResponse message, length delimited. Does not implicitly {@link cosmos.tx.v1beta1.TxDecodeAminoResponse.verify|verify} messages. * @param message TxDecodeAminoResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.tx.v1beta1.ITxDecodeAminoResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TxDecodeAminoResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TxDecodeAminoResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.tx.v1beta1.TxDecodeAminoResponse; /** * Decodes a TxDecodeAminoResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TxDecodeAminoResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.tx.v1beta1.TxDecodeAminoResponse; /** * Verifies a TxDecodeAminoResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TxDecodeAminoResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TxDecodeAminoResponse */ public static fromObject(object: { [k: string]: any }): cosmos.tx.v1beta1.TxDecodeAminoResponse; /** * Creates a plain object from a TxDecodeAminoResponse message. Also converts values to other types if specified. * @param message TxDecodeAminoResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.tx.v1beta1.TxDecodeAminoResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TxDecodeAminoResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace upgrade. */ namespace upgrade { /** Namespace module. */ namespace module { /** Namespace v1. */ namespace v1 { /** Properties of a Module. */ interface IModule { /** Module authority */ authority?: (string|null); } /** Represents a Module. */ class Module implements IModule { /** * Constructs a new Module. * @param [properties] Properties to set */ constructor(properties?: cosmos.upgrade.module.v1.IModule); /** Module authority. */ public authority: string; /** * Encodes the specified Module message. Does not implicitly {@link cosmos.upgrade.module.v1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.upgrade.module.v1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Module message, length delimited. Does not implicitly {@link cosmos.upgrade.module.v1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.upgrade.module.v1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Module message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.upgrade.module.v1.Module; /** * Decodes a Module message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.upgrade.module.v1.Module; /** * Verifies a Module message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Module message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Module */ public static fromObject(object: { [k: string]: any }): cosmos.upgrade.module.v1.Module; /** * Creates a plain object from a Module message. Also converts values to other types if specified. * @param message Module * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.upgrade.module.v1.Module, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Module to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace v1beta1. */ namespace v1beta1 { /** Represents a Query */ class Query extends $protobuf.rpc.Service { /** * Constructs a new Query service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls CurrentPlan. * @param request QueryCurrentPlanRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryCurrentPlanResponse */ public currentPlan(request: cosmos.upgrade.v1beta1.IQueryCurrentPlanRequest, callback: cosmos.upgrade.v1beta1.Query.CurrentPlanCallback): void; /** * Calls CurrentPlan. * @param request QueryCurrentPlanRequest message or plain object * @returns Promise */ public currentPlan(request: cosmos.upgrade.v1beta1.IQueryCurrentPlanRequest): Promise; /** * Calls AppliedPlan. * @param request QueryAppliedPlanRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryAppliedPlanResponse */ public appliedPlan(request: cosmos.upgrade.v1beta1.IQueryAppliedPlanRequest, callback: cosmos.upgrade.v1beta1.Query.AppliedPlanCallback): void; /** * Calls AppliedPlan. * @param request QueryAppliedPlanRequest message or plain object * @returns Promise */ public appliedPlan(request: cosmos.upgrade.v1beta1.IQueryAppliedPlanRequest): Promise; /** * Calls UpgradedConsensusState. * @param request QueryUpgradedConsensusStateRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryUpgradedConsensusStateResponse */ public upgradedConsensusState(request: cosmos.upgrade.v1beta1.IQueryUpgradedConsensusStateRequest, callback: cosmos.upgrade.v1beta1.Query.UpgradedConsensusStateCallback): void; /** * Calls UpgradedConsensusState. * @param request QueryUpgradedConsensusStateRequest message or plain object * @returns Promise */ public upgradedConsensusState(request: cosmos.upgrade.v1beta1.IQueryUpgradedConsensusStateRequest): Promise; /** * Calls ModuleVersions. * @param request QueryModuleVersionsRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryModuleVersionsResponse */ public moduleVersions(request: cosmos.upgrade.v1beta1.IQueryModuleVersionsRequest, callback: cosmos.upgrade.v1beta1.Query.ModuleVersionsCallback): void; /** * Calls ModuleVersions. * @param request QueryModuleVersionsRequest message or plain object * @returns Promise */ public moduleVersions(request: cosmos.upgrade.v1beta1.IQueryModuleVersionsRequest): Promise; /** * Calls Authority. * @param request QueryAuthorityRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryAuthorityResponse */ public authority(request: cosmos.upgrade.v1beta1.IQueryAuthorityRequest, callback: cosmos.upgrade.v1beta1.Query.AuthorityCallback): void; /** * Calls Authority. * @param request QueryAuthorityRequest message or plain object * @returns Promise */ public authority(request: cosmos.upgrade.v1beta1.IQueryAuthorityRequest): Promise; } namespace Query { /** * Callback as used by {@link cosmos.upgrade.v1beta1.Query#currentPlan}. * @param error Error, if any * @param [response] QueryCurrentPlanResponse */ type CurrentPlanCallback = (error: (Error|null), response?: cosmos.upgrade.v1beta1.QueryCurrentPlanResponse) => void; /** * Callback as used by {@link cosmos.upgrade.v1beta1.Query#appliedPlan}. * @param error Error, if any * @param [response] QueryAppliedPlanResponse */ type AppliedPlanCallback = (error: (Error|null), response?: cosmos.upgrade.v1beta1.QueryAppliedPlanResponse) => void; /** * Callback as used by {@link cosmos.upgrade.v1beta1.Query#upgradedConsensusState}. * @param error Error, if any * @param [response] QueryUpgradedConsensusStateResponse */ type UpgradedConsensusStateCallback = (error: (Error|null), response?: cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateResponse) => void; /** * Callback as used by {@link cosmos.upgrade.v1beta1.Query#moduleVersions}. * @param error Error, if any * @param [response] QueryModuleVersionsResponse */ type ModuleVersionsCallback = (error: (Error|null), response?: cosmos.upgrade.v1beta1.QueryModuleVersionsResponse) => void; /** * Callback as used by {@link cosmos.upgrade.v1beta1.Query#authority}. * @param error Error, if any * @param [response] QueryAuthorityResponse */ type AuthorityCallback = (error: (Error|null), response?: cosmos.upgrade.v1beta1.QueryAuthorityResponse) => void; } /** Properties of a QueryCurrentPlanRequest. */ interface IQueryCurrentPlanRequest { } /** Represents a QueryCurrentPlanRequest. */ class QueryCurrentPlanRequest implements IQueryCurrentPlanRequest { /** * Constructs a new QueryCurrentPlanRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.upgrade.v1beta1.IQueryCurrentPlanRequest); /** * Encodes the specified QueryCurrentPlanRequest message. Does not implicitly {@link cosmos.upgrade.v1beta1.QueryCurrentPlanRequest.verify|verify} messages. * @param message QueryCurrentPlanRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.upgrade.v1beta1.IQueryCurrentPlanRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryCurrentPlanRequest message, length delimited. Does not implicitly {@link cosmos.upgrade.v1beta1.QueryCurrentPlanRequest.verify|verify} messages. * @param message QueryCurrentPlanRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.upgrade.v1beta1.IQueryCurrentPlanRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryCurrentPlanRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryCurrentPlanRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.upgrade.v1beta1.QueryCurrentPlanRequest; /** * Decodes a QueryCurrentPlanRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryCurrentPlanRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.upgrade.v1beta1.QueryCurrentPlanRequest; /** * Verifies a QueryCurrentPlanRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryCurrentPlanRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryCurrentPlanRequest */ public static fromObject(object: { [k: string]: any }): cosmos.upgrade.v1beta1.QueryCurrentPlanRequest; /** * Creates a plain object from a QueryCurrentPlanRequest message. Also converts values to other types if specified. * @param message QueryCurrentPlanRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.upgrade.v1beta1.QueryCurrentPlanRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryCurrentPlanRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryCurrentPlanResponse. */ interface IQueryCurrentPlanResponse { /** QueryCurrentPlanResponse plan */ plan?: (cosmos.upgrade.v1beta1.IPlan|null); } /** Represents a QueryCurrentPlanResponse. */ class QueryCurrentPlanResponse implements IQueryCurrentPlanResponse { /** * Constructs a new QueryCurrentPlanResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.upgrade.v1beta1.IQueryCurrentPlanResponse); /** QueryCurrentPlanResponse plan. */ public plan?: (cosmos.upgrade.v1beta1.IPlan|null); /** * Encodes the specified QueryCurrentPlanResponse message. Does not implicitly {@link cosmos.upgrade.v1beta1.QueryCurrentPlanResponse.verify|verify} messages. * @param message QueryCurrentPlanResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.upgrade.v1beta1.IQueryCurrentPlanResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryCurrentPlanResponse message, length delimited. Does not implicitly {@link cosmos.upgrade.v1beta1.QueryCurrentPlanResponse.verify|verify} messages. * @param message QueryCurrentPlanResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.upgrade.v1beta1.IQueryCurrentPlanResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryCurrentPlanResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryCurrentPlanResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.upgrade.v1beta1.QueryCurrentPlanResponse; /** * Decodes a QueryCurrentPlanResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryCurrentPlanResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.upgrade.v1beta1.QueryCurrentPlanResponse; /** * Verifies a QueryCurrentPlanResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryCurrentPlanResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryCurrentPlanResponse */ public static fromObject(object: { [k: string]: any }): cosmos.upgrade.v1beta1.QueryCurrentPlanResponse; /** * Creates a plain object from a QueryCurrentPlanResponse message. Also converts values to other types if specified. * @param message QueryCurrentPlanResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.upgrade.v1beta1.QueryCurrentPlanResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryCurrentPlanResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryAppliedPlanRequest. */ interface IQueryAppliedPlanRequest { /** QueryAppliedPlanRequest name */ name?: (string|null); } /** Represents a QueryAppliedPlanRequest. */ class QueryAppliedPlanRequest implements IQueryAppliedPlanRequest { /** * Constructs a new QueryAppliedPlanRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.upgrade.v1beta1.IQueryAppliedPlanRequest); /** QueryAppliedPlanRequest name. */ public name: string; /** * Encodes the specified QueryAppliedPlanRequest message. Does not implicitly {@link cosmos.upgrade.v1beta1.QueryAppliedPlanRequest.verify|verify} messages. * @param message QueryAppliedPlanRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.upgrade.v1beta1.IQueryAppliedPlanRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryAppliedPlanRequest message, length delimited. Does not implicitly {@link cosmos.upgrade.v1beta1.QueryAppliedPlanRequest.verify|verify} messages. * @param message QueryAppliedPlanRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.upgrade.v1beta1.IQueryAppliedPlanRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryAppliedPlanRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryAppliedPlanRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.upgrade.v1beta1.QueryAppliedPlanRequest; /** * Decodes a QueryAppliedPlanRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryAppliedPlanRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.upgrade.v1beta1.QueryAppliedPlanRequest; /** * Verifies a QueryAppliedPlanRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryAppliedPlanRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryAppliedPlanRequest */ public static fromObject(object: { [k: string]: any }): cosmos.upgrade.v1beta1.QueryAppliedPlanRequest; /** * Creates a plain object from a QueryAppliedPlanRequest message. Also converts values to other types if specified. * @param message QueryAppliedPlanRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.upgrade.v1beta1.QueryAppliedPlanRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryAppliedPlanRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryAppliedPlanResponse. */ interface IQueryAppliedPlanResponse { /** QueryAppliedPlanResponse height */ height?: (Long|null); } /** Represents a QueryAppliedPlanResponse. */ class QueryAppliedPlanResponse implements IQueryAppliedPlanResponse { /** * Constructs a new QueryAppliedPlanResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.upgrade.v1beta1.IQueryAppliedPlanResponse); /** QueryAppliedPlanResponse height. */ public height: Long; /** * Encodes the specified QueryAppliedPlanResponse message. Does not implicitly {@link cosmos.upgrade.v1beta1.QueryAppliedPlanResponse.verify|verify} messages. * @param message QueryAppliedPlanResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.upgrade.v1beta1.IQueryAppliedPlanResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryAppliedPlanResponse message, length delimited. Does not implicitly {@link cosmos.upgrade.v1beta1.QueryAppliedPlanResponse.verify|verify} messages. * @param message QueryAppliedPlanResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.upgrade.v1beta1.IQueryAppliedPlanResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryAppliedPlanResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryAppliedPlanResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.upgrade.v1beta1.QueryAppliedPlanResponse; /** * Decodes a QueryAppliedPlanResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryAppliedPlanResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.upgrade.v1beta1.QueryAppliedPlanResponse; /** * Verifies a QueryAppliedPlanResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryAppliedPlanResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryAppliedPlanResponse */ public static fromObject(object: { [k: string]: any }): cosmos.upgrade.v1beta1.QueryAppliedPlanResponse; /** * Creates a plain object from a QueryAppliedPlanResponse message. Also converts values to other types if specified. * @param message QueryAppliedPlanResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.upgrade.v1beta1.QueryAppliedPlanResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryAppliedPlanResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryUpgradedConsensusStateRequest. */ interface IQueryUpgradedConsensusStateRequest { /** QueryUpgradedConsensusStateRequest last_height */ last_height?: (Long|null); } /** Represents a QueryUpgradedConsensusStateRequest. */ class QueryUpgradedConsensusStateRequest implements IQueryUpgradedConsensusStateRequest { /** * Constructs a new QueryUpgradedConsensusStateRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.upgrade.v1beta1.IQueryUpgradedConsensusStateRequest); /** QueryUpgradedConsensusStateRequest last_height. */ public last_height: Long; /** * Encodes the specified QueryUpgradedConsensusStateRequest message. Does not implicitly {@link cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateRequest.verify|verify} messages. * @param message QueryUpgradedConsensusStateRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.upgrade.v1beta1.IQueryUpgradedConsensusStateRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryUpgradedConsensusStateRequest message, length delimited. Does not implicitly {@link cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateRequest.verify|verify} messages. * @param message QueryUpgradedConsensusStateRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.upgrade.v1beta1.IQueryUpgradedConsensusStateRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryUpgradedConsensusStateRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryUpgradedConsensusStateRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateRequest; /** * Decodes a QueryUpgradedConsensusStateRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryUpgradedConsensusStateRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateRequest; /** * Verifies a QueryUpgradedConsensusStateRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryUpgradedConsensusStateRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryUpgradedConsensusStateRequest */ public static fromObject(object: { [k: string]: any }): cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateRequest; /** * Creates a plain object from a QueryUpgradedConsensusStateRequest message. Also converts values to other types if specified. * @param message QueryUpgradedConsensusStateRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryUpgradedConsensusStateRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryUpgradedConsensusStateResponse. */ interface IQueryUpgradedConsensusStateResponse { /** QueryUpgradedConsensusStateResponse upgraded_consensus_state */ upgraded_consensus_state?: (Uint8Array|null); } /** Represents a QueryUpgradedConsensusStateResponse. */ class QueryUpgradedConsensusStateResponse implements IQueryUpgradedConsensusStateResponse { /** * Constructs a new QueryUpgradedConsensusStateResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.upgrade.v1beta1.IQueryUpgradedConsensusStateResponse); /** QueryUpgradedConsensusStateResponse upgraded_consensus_state. */ public upgraded_consensus_state: Uint8Array; /** * Encodes the specified QueryUpgradedConsensusStateResponse message. Does not implicitly {@link cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateResponse.verify|verify} messages. * @param message QueryUpgradedConsensusStateResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.upgrade.v1beta1.IQueryUpgradedConsensusStateResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryUpgradedConsensusStateResponse message, length delimited. Does not implicitly {@link cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateResponse.verify|verify} messages. * @param message QueryUpgradedConsensusStateResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.upgrade.v1beta1.IQueryUpgradedConsensusStateResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryUpgradedConsensusStateResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryUpgradedConsensusStateResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateResponse; /** * Decodes a QueryUpgradedConsensusStateResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryUpgradedConsensusStateResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateResponse; /** * Verifies a QueryUpgradedConsensusStateResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryUpgradedConsensusStateResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryUpgradedConsensusStateResponse */ public static fromObject(object: { [k: string]: any }): cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateResponse; /** * Creates a plain object from a QueryUpgradedConsensusStateResponse message. Also converts values to other types if specified. * @param message QueryUpgradedConsensusStateResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryUpgradedConsensusStateResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryModuleVersionsRequest. */ interface IQueryModuleVersionsRequest { /** QueryModuleVersionsRequest module_name */ module_name?: (string|null); } /** Represents a QueryModuleVersionsRequest. */ class QueryModuleVersionsRequest implements IQueryModuleVersionsRequest { /** * Constructs a new QueryModuleVersionsRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.upgrade.v1beta1.IQueryModuleVersionsRequest); /** QueryModuleVersionsRequest module_name. */ public module_name: string; /** * Encodes the specified QueryModuleVersionsRequest message. Does not implicitly {@link cosmos.upgrade.v1beta1.QueryModuleVersionsRequest.verify|verify} messages. * @param message QueryModuleVersionsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.upgrade.v1beta1.IQueryModuleVersionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryModuleVersionsRequest message, length delimited. Does not implicitly {@link cosmos.upgrade.v1beta1.QueryModuleVersionsRequest.verify|verify} messages. * @param message QueryModuleVersionsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.upgrade.v1beta1.IQueryModuleVersionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryModuleVersionsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryModuleVersionsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.upgrade.v1beta1.QueryModuleVersionsRequest; /** * Decodes a QueryModuleVersionsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryModuleVersionsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.upgrade.v1beta1.QueryModuleVersionsRequest; /** * Verifies a QueryModuleVersionsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryModuleVersionsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryModuleVersionsRequest */ public static fromObject(object: { [k: string]: any }): cosmos.upgrade.v1beta1.QueryModuleVersionsRequest; /** * Creates a plain object from a QueryModuleVersionsRequest message. Also converts values to other types if specified. * @param message QueryModuleVersionsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.upgrade.v1beta1.QueryModuleVersionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryModuleVersionsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryModuleVersionsResponse. */ interface IQueryModuleVersionsResponse { /** QueryModuleVersionsResponse module_versions */ module_versions?: (cosmos.upgrade.v1beta1.IModuleVersion[]|null); } /** Represents a QueryModuleVersionsResponse. */ class QueryModuleVersionsResponse implements IQueryModuleVersionsResponse { /** * Constructs a new QueryModuleVersionsResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.upgrade.v1beta1.IQueryModuleVersionsResponse); /** QueryModuleVersionsResponse module_versions. */ public module_versions: cosmos.upgrade.v1beta1.IModuleVersion[]; /** * Encodes the specified QueryModuleVersionsResponse message. Does not implicitly {@link cosmos.upgrade.v1beta1.QueryModuleVersionsResponse.verify|verify} messages. * @param message QueryModuleVersionsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.upgrade.v1beta1.IQueryModuleVersionsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryModuleVersionsResponse message, length delimited. Does not implicitly {@link cosmos.upgrade.v1beta1.QueryModuleVersionsResponse.verify|verify} messages. * @param message QueryModuleVersionsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.upgrade.v1beta1.IQueryModuleVersionsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryModuleVersionsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryModuleVersionsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.upgrade.v1beta1.QueryModuleVersionsResponse; /** * Decodes a QueryModuleVersionsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryModuleVersionsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.upgrade.v1beta1.QueryModuleVersionsResponse; /** * Verifies a QueryModuleVersionsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryModuleVersionsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryModuleVersionsResponse */ public static fromObject(object: { [k: string]: any }): cosmos.upgrade.v1beta1.QueryModuleVersionsResponse; /** * Creates a plain object from a QueryModuleVersionsResponse message. Also converts values to other types if specified. * @param message QueryModuleVersionsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.upgrade.v1beta1.QueryModuleVersionsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryModuleVersionsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryAuthorityRequest. */ interface IQueryAuthorityRequest { } /** Represents a QueryAuthorityRequest. */ class QueryAuthorityRequest implements IQueryAuthorityRequest { /** * Constructs a new QueryAuthorityRequest. * @param [properties] Properties to set */ constructor(properties?: cosmos.upgrade.v1beta1.IQueryAuthorityRequest); /** * Encodes the specified QueryAuthorityRequest message. Does not implicitly {@link cosmos.upgrade.v1beta1.QueryAuthorityRequest.verify|verify} messages. * @param message QueryAuthorityRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.upgrade.v1beta1.IQueryAuthorityRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryAuthorityRequest message, length delimited. Does not implicitly {@link cosmos.upgrade.v1beta1.QueryAuthorityRequest.verify|verify} messages. * @param message QueryAuthorityRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.upgrade.v1beta1.IQueryAuthorityRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryAuthorityRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryAuthorityRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.upgrade.v1beta1.QueryAuthorityRequest; /** * Decodes a QueryAuthorityRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryAuthorityRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.upgrade.v1beta1.QueryAuthorityRequest; /** * Verifies a QueryAuthorityRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryAuthorityRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryAuthorityRequest */ public static fromObject(object: { [k: string]: any }): cosmos.upgrade.v1beta1.QueryAuthorityRequest; /** * Creates a plain object from a QueryAuthorityRequest message. Also converts values to other types if specified. * @param message QueryAuthorityRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.upgrade.v1beta1.QueryAuthorityRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryAuthorityRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a QueryAuthorityResponse. */ interface IQueryAuthorityResponse { /** QueryAuthorityResponse address */ address?: (string|null); } /** Represents a QueryAuthorityResponse. */ class QueryAuthorityResponse implements IQueryAuthorityResponse { /** * Constructs a new QueryAuthorityResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.upgrade.v1beta1.IQueryAuthorityResponse); /** QueryAuthorityResponse address. */ public address: string; /** * Encodes the specified QueryAuthorityResponse message. Does not implicitly {@link cosmos.upgrade.v1beta1.QueryAuthorityResponse.verify|verify} messages. * @param message QueryAuthorityResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.upgrade.v1beta1.IQueryAuthorityResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryAuthorityResponse message, length delimited. Does not implicitly {@link cosmos.upgrade.v1beta1.QueryAuthorityResponse.verify|verify} messages. * @param message QueryAuthorityResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.upgrade.v1beta1.IQueryAuthorityResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryAuthorityResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryAuthorityResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.upgrade.v1beta1.QueryAuthorityResponse; /** * Decodes a QueryAuthorityResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryAuthorityResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.upgrade.v1beta1.QueryAuthorityResponse; /** * Verifies a QueryAuthorityResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryAuthorityResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryAuthorityResponse */ public static fromObject(object: { [k: string]: any }): cosmos.upgrade.v1beta1.QueryAuthorityResponse; /** * Creates a plain object from a QueryAuthorityResponse message. Also converts values to other types if specified. * @param message QueryAuthorityResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.upgrade.v1beta1.QueryAuthorityResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryAuthorityResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Plan. */ interface IPlan { /** Plan name */ name?: (string|null); /** Plan time */ time?: (google.protobuf.ITimestamp|null); /** Plan height */ height?: (Long|null); /** Plan info */ info?: (string|null); /** Plan upgraded_client_state */ upgraded_client_state?: (google.protobuf.IAny|null); } /** Represents a Plan. */ class Plan implements IPlan { /** * Constructs a new Plan. * @param [properties] Properties to set */ constructor(properties?: cosmos.upgrade.v1beta1.IPlan); /** Plan name. */ public name: string; /** Plan time. */ public time?: (google.protobuf.ITimestamp|null); /** Plan height. */ public height: Long; /** Plan info. */ public info: string; /** Plan upgraded_client_state. */ public upgraded_client_state?: (google.protobuf.IAny|null); /** * Encodes the specified Plan message. Does not implicitly {@link cosmos.upgrade.v1beta1.Plan.verify|verify} messages. * @param message Plan message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.upgrade.v1beta1.IPlan, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Plan message, length delimited. Does not implicitly {@link cosmos.upgrade.v1beta1.Plan.verify|verify} messages. * @param message Plan message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.upgrade.v1beta1.IPlan, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Plan message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Plan * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.upgrade.v1beta1.Plan; /** * Decodes a Plan message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Plan * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.upgrade.v1beta1.Plan; /** * Verifies a Plan message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Plan message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Plan */ public static fromObject(object: { [k: string]: any }): cosmos.upgrade.v1beta1.Plan; /** * Creates a plain object from a Plan message. Also converts values to other types if specified. * @param message Plan * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.upgrade.v1beta1.Plan, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Plan to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a SoftwareUpgradeProposal. */ interface ISoftwareUpgradeProposal { /** SoftwareUpgradeProposal title */ title?: (string|null); /** SoftwareUpgradeProposal description */ description?: (string|null); /** SoftwareUpgradeProposal plan */ plan?: (cosmos.upgrade.v1beta1.IPlan|null); } /** Represents a SoftwareUpgradeProposal. */ class SoftwareUpgradeProposal implements ISoftwareUpgradeProposal { /** * Constructs a new SoftwareUpgradeProposal. * @param [properties] Properties to set */ constructor(properties?: cosmos.upgrade.v1beta1.ISoftwareUpgradeProposal); /** SoftwareUpgradeProposal title. */ public title: string; /** SoftwareUpgradeProposal description. */ public description: string; /** SoftwareUpgradeProposal plan. */ public plan?: (cosmos.upgrade.v1beta1.IPlan|null); /** * Encodes the specified SoftwareUpgradeProposal message. Does not implicitly {@link cosmos.upgrade.v1beta1.SoftwareUpgradeProposal.verify|verify} messages. * @param message SoftwareUpgradeProposal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.upgrade.v1beta1.ISoftwareUpgradeProposal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SoftwareUpgradeProposal message, length delimited. Does not implicitly {@link cosmos.upgrade.v1beta1.SoftwareUpgradeProposal.verify|verify} messages. * @param message SoftwareUpgradeProposal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.upgrade.v1beta1.ISoftwareUpgradeProposal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SoftwareUpgradeProposal message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SoftwareUpgradeProposal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.upgrade.v1beta1.SoftwareUpgradeProposal; /** * Decodes a SoftwareUpgradeProposal message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SoftwareUpgradeProposal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.upgrade.v1beta1.SoftwareUpgradeProposal; /** * Verifies a SoftwareUpgradeProposal message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SoftwareUpgradeProposal message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SoftwareUpgradeProposal */ public static fromObject(object: { [k: string]: any }): cosmos.upgrade.v1beta1.SoftwareUpgradeProposal; /** * Creates a plain object from a SoftwareUpgradeProposal message. Also converts values to other types if specified. * @param message SoftwareUpgradeProposal * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.upgrade.v1beta1.SoftwareUpgradeProposal, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SoftwareUpgradeProposal to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a CancelSoftwareUpgradeProposal. */ interface ICancelSoftwareUpgradeProposal { /** CancelSoftwareUpgradeProposal title */ title?: (string|null); /** CancelSoftwareUpgradeProposal description */ description?: (string|null); } /** Represents a CancelSoftwareUpgradeProposal. */ class CancelSoftwareUpgradeProposal implements ICancelSoftwareUpgradeProposal { /** * Constructs a new CancelSoftwareUpgradeProposal. * @param [properties] Properties to set */ constructor(properties?: cosmos.upgrade.v1beta1.ICancelSoftwareUpgradeProposal); /** CancelSoftwareUpgradeProposal title. */ public title: string; /** CancelSoftwareUpgradeProposal description. */ public description: string; /** * Encodes the specified CancelSoftwareUpgradeProposal message. Does not implicitly {@link cosmos.upgrade.v1beta1.CancelSoftwareUpgradeProposal.verify|verify} messages. * @param message CancelSoftwareUpgradeProposal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.upgrade.v1beta1.ICancelSoftwareUpgradeProposal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CancelSoftwareUpgradeProposal message, length delimited. Does not implicitly {@link cosmos.upgrade.v1beta1.CancelSoftwareUpgradeProposal.verify|verify} messages. * @param message CancelSoftwareUpgradeProposal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.upgrade.v1beta1.ICancelSoftwareUpgradeProposal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CancelSoftwareUpgradeProposal message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CancelSoftwareUpgradeProposal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.upgrade.v1beta1.CancelSoftwareUpgradeProposal; /** * Decodes a CancelSoftwareUpgradeProposal message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CancelSoftwareUpgradeProposal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.upgrade.v1beta1.CancelSoftwareUpgradeProposal; /** * Verifies a CancelSoftwareUpgradeProposal message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CancelSoftwareUpgradeProposal message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CancelSoftwareUpgradeProposal */ public static fromObject(object: { [k: string]: any }): cosmos.upgrade.v1beta1.CancelSoftwareUpgradeProposal; /** * Creates a plain object from a CancelSoftwareUpgradeProposal message. Also converts values to other types if specified. * @param message CancelSoftwareUpgradeProposal * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.upgrade.v1beta1.CancelSoftwareUpgradeProposal, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CancelSoftwareUpgradeProposal to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ModuleVersion. */ interface IModuleVersion { /** ModuleVersion name */ name?: (string|null); /** ModuleVersion version */ version?: (Long|null); } /** Represents a ModuleVersion. */ class ModuleVersion implements IModuleVersion { /** * Constructs a new ModuleVersion. * @param [properties] Properties to set */ constructor(properties?: cosmos.upgrade.v1beta1.IModuleVersion); /** ModuleVersion name. */ public name: string; /** ModuleVersion version. */ public version: Long; /** * Encodes the specified ModuleVersion message. Does not implicitly {@link cosmos.upgrade.v1beta1.ModuleVersion.verify|verify} messages. * @param message ModuleVersion message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.upgrade.v1beta1.IModuleVersion, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ModuleVersion message, length delimited. Does not implicitly {@link cosmos.upgrade.v1beta1.ModuleVersion.verify|verify} messages. * @param message ModuleVersion message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.upgrade.v1beta1.IModuleVersion, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ModuleVersion message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ModuleVersion * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.upgrade.v1beta1.ModuleVersion; /** * Decodes a ModuleVersion message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ModuleVersion * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.upgrade.v1beta1.ModuleVersion; /** * Verifies a ModuleVersion message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ModuleVersion message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ModuleVersion */ public static fromObject(object: { [k: string]: any }): cosmos.upgrade.v1beta1.ModuleVersion; /** * Creates a plain object from a ModuleVersion message. Also converts values to other types if specified. * @param message ModuleVersion * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.upgrade.v1beta1.ModuleVersion, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ModuleVersion to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Represents a Msg */ class Msg extends $protobuf.rpc.Service { /** * Constructs a new Msg service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls SoftwareUpgrade. * @param request MsgSoftwareUpgrade message or plain object * @param callback Node-style callback called with the error, if any, and MsgSoftwareUpgradeResponse */ public softwareUpgrade(request: cosmos.upgrade.v1beta1.IMsgSoftwareUpgrade, callback: cosmos.upgrade.v1beta1.Msg.SoftwareUpgradeCallback): void; /** * Calls SoftwareUpgrade. * @param request MsgSoftwareUpgrade message or plain object * @returns Promise */ public softwareUpgrade(request: cosmos.upgrade.v1beta1.IMsgSoftwareUpgrade): Promise; /** * Calls CancelUpgrade. * @param request MsgCancelUpgrade message or plain object * @param callback Node-style callback called with the error, if any, and MsgCancelUpgradeResponse */ public cancelUpgrade(request: cosmos.upgrade.v1beta1.IMsgCancelUpgrade, callback: cosmos.upgrade.v1beta1.Msg.CancelUpgradeCallback): void; /** * Calls CancelUpgrade. * @param request MsgCancelUpgrade message or plain object * @returns Promise */ public cancelUpgrade(request: cosmos.upgrade.v1beta1.IMsgCancelUpgrade): Promise; } namespace Msg { /** * Callback as used by {@link cosmos.upgrade.v1beta1.Msg#softwareUpgrade}. * @param error Error, if any * @param [response] MsgSoftwareUpgradeResponse */ type SoftwareUpgradeCallback = (error: (Error|null), response?: cosmos.upgrade.v1beta1.MsgSoftwareUpgradeResponse) => void; /** * Callback as used by {@link cosmos.upgrade.v1beta1.Msg#cancelUpgrade}. * @param error Error, if any * @param [response] MsgCancelUpgradeResponse */ type CancelUpgradeCallback = (error: (Error|null), response?: cosmos.upgrade.v1beta1.MsgCancelUpgradeResponse) => void; } /** Properties of a MsgSoftwareUpgrade. */ interface IMsgSoftwareUpgrade { /** MsgSoftwareUpgrade authority */ authority?: (string|null); /** MsgSoftwareUpgrade plan */ plan?: (cosmos.upgrade.v1beta1.IPlan|null); } /** Represents a MsgSoftwareUpgrade. */ class MsgSoftwareUpgrade implements IMsgSoftwareUpgrade { /** * Constructs a new MsgSoftwareUpgrade. * @param [properties] Properties to set */ constructor(properties?: cosmos.upgrade.v1beta1.IMsgSoftwareUpgrade); /** MsgSoftwareUpgrade authority. */ public authority: string; /** MsgSoftwareUpgrade plan. */ public plan?: (cosmos.upgrade.v1beta1.IPlan|null); /** * Encodes the specified MsgSoftwareUpgrade message. Does not implicitly {@link cosmos.upgrade.v1beta1.MsgSoftwareUpgrade.verify|verify} messages. * @param message MsgSoftwareUpgrade message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.upgrade.v1beta1.IMsgSoftwareUpgrade, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgSoftwareUpgrade message, length delimited. Does not implicitly {@link cosmos.upgrade.v1beta1.MsgSoftwareUpgrade.verify|verify} messages. * @param message MsgSoftwareUpgrade message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.upgrade.v1beta1.IMsgSoftwareUpgrade, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgSoftwareUpgrade message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgSoftwareUpgrade * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.upgrade.v1beta1.MsgSoftwareUpgrade; /** * Decodes a MsgSoftwareUpgrade message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgSoftwareUpgrade * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.upgrade.v1beta1.MsgSoftwareUpgrade; /** * Verifies a MsgSoftwareUpgrade message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgSoftwareUpgrade message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgSoftwareUpgrade */ public static fromObject(object: { [k: string]: any }): cosmos.upgrade.v1beta1.MsgSoftwareUpgrade; /** * Creates a plain object from a MsgSoftwareUpgrade message. Also converts values to other types if specified. * @param message MsgSoftwareUpgrade * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.upgrade.v1beta1.MsgSoftwareUpgrade, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgSoftwareUpgrade to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgSoftwareUpgradeResponse. */ interface IMsgSoftwareUpgradeResponse { } /** Represents a MsgSoftwareUpgradeResponse. */ class MsgSoftwareUpgradeResponse implements IMsgSoftwareUpgradeResponse { /** * Constructs a new MsgSoftwareUpgradeResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.upgrade.v1beta1.IMsgSoftwareUpgradeResponse); /** * Encodes the specified MsgSoftwareUpgradeResponse message. Does not implicitly {@link cosmos.upgrade.v1beta1.MsgSoftwareUpgradeResponse.verify|verify} messages. * @param message MsgSoftwareUpgradeResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.upgrade.v1beta1.IMsgSoftwareUpgradeResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgSoftwareUpgradeResponse message, length delimited. Does not implicitly {@link cosmos.upgrade.v1beta1.MsgSoftwareUpgradeResponse.verify|verify} messages. * @param message MsgSoftwareUpgradeResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.upgrade.v1beta1.IMsgSoftwareUpgradeResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgSoftwareUpgradeResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgSoftwareUpgradeResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.upgrade.v1beta1.MsgSoftwareUpgradeResponse; /** * Decodes a MsgSoftwareUpgradeResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgSoftwareUpgradeResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.upgrade.v1beta1.MsgSoftwareUpgradeResponse; /** * Verifies a MsgSoftwareUpgradeResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgSoftwareUpgradeResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgSoftwareUpgradeResponse */ public static fromObject(object: { [k: string]: any }): cosmos.upgrade.v1beta1.MsgSoftwareUpgradeResponse; /** * Creates a plain object from a MsgSoftwareUpgradeResponse message. Also converts values to other types if specified. * @param message MsgSoftwareUpgradeResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.upgrade.v1beta1.MsgSoftwareUpgradeResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgSoftwareUpgradeResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgCancelUpgrade. */ interface IMsgCancelUpgrade { /** MsgCancelUpgrade authority */ authority?: (string|null); } /** Represents a MsgCancelUpgrade. */ class MsgCancelUpgrade implements IMsgCancelUpgrade { /** * Constructs a new MsgCancelUpgrade. * @param [properties] Properties to set */ constructor(properties?: cosmos.upgrade.v1beta1.IMsgCancelUpgrade); /** MsgCancelUpgrade authority. */ public authority: string; /** * Encodes the specified MsgCancelUpgrade message. Does not implicitly {@link cosmos.upgrade.v1beta1.MsgCancelUpgrade.verify|verify} messages. * @param message MsgCancelUpgrade message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.upgrade.v1beta1.IMsgCancelUpgrade, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgCancelUpgrade message, length delimited. Does not implicitly {@link cosmos.upgrade.v1beta1.MsgCancelUpgrade.verify|verify} messages. * @param message MsgCancelUpgrade message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.upgrade.v1beta1.IMsgCancelUpgrade, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgCancelUpgrade message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgCancelUpgrade * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.upgrade.v1beta1.MsgCancelUpgrade; /** * Decodes a MsgCancelUpgrade message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgCancelUpgrade * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.upgrade.v1beta1.MsgCancelUpgrade; /** * Verifies a MsgCancelUpgrade message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgCancelUpgrade message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgCancelUpgrade */ public static fromObject(object: { [k: string]: any }): cosmos.upgrade.v1beta1.MsgCancelUpgrade; /** * Creates a plain object from a MsgCancelUpgrade message. Also converts values to other types if specified. * @param message MsgCancelUpgrade * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.upgrade.v1beta1.MsgCancelUpgrade, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgCancelUpgrade to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgCancelUpgradeResponse. */ interface IMsgCancelUpgradeResponse { } /** Represents a MsgCancelUpgradeResponse. */ class MsgCancelUpgradeResponse implements IMsgCancelUpgradeResponse { /** * Constructs a new MsgCancelUpgradeResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.upgrade.v1beta1.IMsgCancelUpgradeResponse); /** * Encodes the specified MsgCancelUpgradeResponse message. Does not implicitly {@link cosmos.upgrade.v1beta1.MsgCancelUpgradeResponse.verify|verify} messages. * @param message MsgCancelUpgradeResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.upgrade.v1beta1.IMsgCancelUpgradeResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgCancelUpgradeResponse message, length delimited. Does not implicitly {@link cosmos.upgrade.v1beta1.MsgCancelUpgradeResponse.verify|verify} messages. * @param message MsgCancelUpgradeResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.upgrade.v1beta1.IMsgCancelUpgradeResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgCancelUpgradeResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgCancelUpgradeResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.upgrade.v1beta1.MsgCancelUpgradeResponse; /** * Decodes a MsgCancelUpgradeResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgCancelUpgradeResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.upgrade.v1beta1.MsgCancelUpgradeResponse; /** * Verifies a MsgCancelUpgradeResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgCancelUpgradeResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgCancelUpgradeResponse */ public static fromObject(object: { [k: string]: any }): cosmos.upgrade.v1beta1.MsgCancelUpgradeResponse; /** * Creates a plain object from a MsgCancelUpgradeResponse message. Also converts values to other types if specified. * @param message MsgCancelUpgradeResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.upgrade.v1beta1.MsgCancelUpgradeResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgCancelUpgradeResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace vesting. */ namespace vesting { /** Namespace module. */ namespace module { /** Namespace v1. */ namespace v1 { /** Properties of a Module. */ interface IModule { } /** Represents a Module. */ class Module implements IModule { /** * Constructs a new Module. * @param [properties] Properties to set */ constructor(properties?: cosmos.vesting.module.v1.IModule); /** * Encodes the specified Module message. Does not implicitly {@link cosmos.vesting.module.v1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.vesting.module.v1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Module message, length delimited. Does not implicitly {@link cosmos.vesting.module.v1.Module.verify|verify} messages. * @param message Module message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.vesting.module.v1.IModule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Module message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.vesting.module.v1.Module; /** * Decodes a Module message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Module * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.vesting.module.v1.Module; /** * Verifies a Module message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Module message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Module */ public static fromObject(object: { [k: string]: any }): cosmos.vesting.module.v1.Module; /** * Creates a plain object from a Module message. Also converts values to other types if specified. * @param message Module * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.vesting.module.v1.Module, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Module to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace v1beta1. */ namespace v1beta1 { /** Properties of a BaseVestingAccount. */ interface IBaseVestingAccount { /** BaseVestingAccount base_account */ base_account?: (cosmos.auth.v1beta1.IBaseAccount|null); /** BaseVestingAccount original_vesting */ original_vesting?: (cosmos.base.v1beta1.ICoin[]|null); /** BaseVestingAccount delegated_free */ delegated_free?: (cosmos.base.v1beta1.ICoin[]|null); /** BaseVestingAccount delegated_vesting */ delegated_vesting?: (cosmos.base.v1beta1.ICoin[]|null); /** BaseVestingAccount end_time */ end_time?: (Long|null); } /** Represents a BaseVestingAccount. */ class BaseVestingAccount implements IBaseVestingAccount { /** * Constructs a new BaseVestingAccount. * @param [properties] Properties to set */ constructor(properties?: cosmos.vesting.v1beta1.IBaseVestingAccount); /** BaseVestingAccount base_account. */ public base_account?: (cosmos.auth.v1beta1.IBaseAccount|null); /** BaseVestingAccount original_vesting. */ public original_vesting: cosmos.base.v1beta1.ICoin[]; /** BaseVestingAccount delegated_free. */ public delegated_free: cosmos.base.v1beta1.ICoin[]; /** BaseVestingAccount delegated_vesting. */ public delegated_vesting: cosmos.base.v1beta1.ICoin[]; /** BaseVestingAccount end_time. */ public end_time: Long; /** * Encodes the specified BaseVestingAccount message. Does not implicitly {@link cosmos.vesting.v1beta1.BaseVestingAccount.verify|verify} messages. * @param message BaseVestingAccount message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.vesting.v1beta1.IBaseVestingAccount, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BaseVestingAccount message, length delimited. Does not implicitly {@link cosmos.vesting.v1beta1.BaseVestingAccount.verify|verify} messages. * @param message BaseVestingAccount message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.vesting.v1beta1.IBaseVestingAccount, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BaseVestingAccount message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BaseVestingAccount * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.vesting.v1beta1.BaseVestingAccount; /** * Decodes a BaseVestingAccount message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BaseVestingAccount * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.vesting.v1beta1.BaseVestingAccount; /** * Verifies a BaseVestingAccount message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BaseVestingAccount message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BaseVestingAccount */ public static fromObject(object: { [k: string]: any }): cosmos.vesting.v1beta1.BaseVestingAccount; /** * Creates a plain object from a BaseVestingAccount message. Also converts values to other types if specified. * @param message BaseVestingAccount * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.vesting.v1beta1.BaseVestingAccount, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BaseVestingAccount to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ContinuousVestingAccount. */ interface IContinuousVestingAccount { /** ContinuousVestingAccount base_vesting_account */ base_vesting_account?: (cosmos.vesting.v1beta1.IBaseVestingAccount|null); /** ContinuousVestingAccount start_time */ start_time?: (Long|null); } /** Represents a ContinuousVestingAccount. */ class ContinuousVestingAccount implements IContinuousVestingAccount { /** * Constructs a new ContinuousVestingAccount. * @param [properties] Properties to set */ constructor(properties?: cosmos.vesting.v1beta1.IContinuousVestingAccount); /** ContinuousVestingAccount base_vesting_account. */ public base_vesting_account?: (cosmos.vesting.v1beta1.IBaseVestingAccount|null); /** ContinuousVestingAccount start_time. */ public start_time: Long; /** * Encodes the specified ContinuousVestingAccount message. Does not implicitly {@link cosmos.vesting.v1beta1.ContinuousVestingAccount.verify|verify} messages. * @param message ContinuousVestingAccount message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.vesting.v1beta1.IContinuousVestingAccount, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ContinuousVestingAccount message, length delimited. Does not implicitly {@link cosmos.vesting.v1beta1.ContinuousVestingAccount.verify|verify} messages. * @param message ContinuousVestingAccount message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.vesting.v1beta1.IContinuousVestingAccount, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ContinuousVestingAccount message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ContinuousVestingAccount * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.vesting.v1beta1.ContinuousVestingAccount; /** * Decodes a ContinuousVestingAccount message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ContinuousVestingAccount * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.vesting.v1beta1.ContinuousVestingAccount; /** * Verifies a ContinuousVestingAccount message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ContinuousVestingAccount message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ContinuousVestingAccount */ public static fromObject(object: { [k: string]: any }): cosmos.vesting.v1beta1.ContinuousVestingAccount; /** * Creates a plain object from a ContinuousVestingAccount message. Also converts values to other types if specified. * @param message ContinuousVestingAccount * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.vesting.v1beta1.ContinuousVestingAccount, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ContinuousVestingAccount to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a DelayedVestingAccount. */ interface IDelayedVestingAccount { /** DelayedVestingAccount base_vesting_account */ base_vesting_account?: (cosmos.vesting.v1beta1.IBaseVestingAccount|null); } /** Represents a DelayedVestingAccount. */ class DelayedVestingAccount implements IDelayedVestingAccount { /** * Constructs a new DelayedVestingAccount. * @param [properties] Properties to set */ constructor(properties?: cosmos.vesting.v1beta1.IDelayedVestingAccount); /** DelayedVestingAccount base_vesting_account. */ public base_vesting_account?: (cosmos.vesting.v1beta1.IBaseVestingAccount|null); /** * Encodes the specified DelayedVestingAccount message. Does not implicitly {@link cosmos.vesting.v1beta1.DelayedVestingAccount.verify|verify} messages. * @param message DelayedVestingAccount message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.vesting.v1beta1.IDelayedVestingAccount, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DelayedVestingAccount message, length delimited. Does not implicitly {@link cosmos.vesting.v1beta1.DelayedVestingAccount.verify|verify} messages. * @param message DelayedVestingAccount message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.vesting.v1beta1.IDelayedVestingAccount, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DelayedVestingAccount message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DelayedVestingAccount * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.vesting.v1beta1.DelayedVestingAccount; /** * Decodes a DelayedVestingAccount message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DelayedVestingAccount * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.vesting.v1beta1.DelayedVestingAccount; /** * Verifies a DelayedVestingAccount message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DelayedVestingAccount message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DelayedVestingAccount */ public static fromObject(object: { [k: string]: any }): cosmos.vesting.v1beta1.DelayedVestingAccount; /** * Creates a plain object from a DelayedVestingAccount message. Also converts values to other types if specified. * @param message DelayedVestingAccount * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.vesting.v1beta1.DelayedVestingAccount, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DelayedVestingAccount to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Period. */ interface IPeriod { /** Period length */ length?: (Long|null); /** Period amount */ amount?: (cosmos.base.v1beta1.ICoin[]|null); } /** Represents a Period. */ class Period implements IPeriod { /** * Constructs a new Period. * @param [properties] Properties to set */ constructor(properties?: cosmos.vesting.v1beta1.IPeriod); /** Period length. */ public length: Long; /** Period amount. */ public amount: cosmos.base.v1beta1.ICoin[]; /** * Encodes the specified Period message. Does not implicitly {@link cosmos.vesting.v1beta1.Period.verify|verify} messages. * @param message Period message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.vesting.v1beta1.IPeriod, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Period message, length delimited. Does not implicitly {@link cosmos.vesting.v1beta1.Period.verify|verify} messages. * @param message Period message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.vesting.v1beta1.IPeriod, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Period message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Period * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.vesting.v1beta1.Period; /** * Decodes a Period message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Period * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.vesting.v1beta1.Period; /** * Verifies a Period message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Period message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Period */ public static fromObject(object: { [k: string]: any }): cosmos.vesting.v1beta1.Period; /** * Creates a plain object from a Period message. Also converts values to other types if specified. * @param message Period * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.vesting.v1beta1.Period, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Period to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a PeriodicVestingAccount. */ interface IPeriodicVestingAccount { /** PeriodicVestingAccount base_vesting_account */ base_vesting_account?: (cosmos.vesting.v1beta1.IBaseVestingAccount|null); /** PeriodicVestingAccount start_time */ start_time?: (Long|null); /** PeriodicVestingAccount vesting_periods */ vesting_periods?: (cosmos.vesting.v1beta1.IPeriod[]|null); } /** Represents a PeriodicVestingAccount. */ class PeriodicVestingAccount implements IPeriodicVestingAccount { /** * Constructs a new PeriodicVestingAccount. * @param [properties] Properties to set */ constructor(properties?: cosmos.vesting.v1beta1.IPeriodicVestingAccount); /** PeriodicVestingAccount base_vesting_account. */ public base_vesting_account?: (cosmos.vesting.v1beta1.IBaseVestingAccount|null); /** PeriodicVestingAccount start_time. */ public start_time: Long; /** PeriodicVestingAccount vesting_periods. */ public vesting_periods: cosmos.vesting.v1beta1.IPeriod[]; /** * Encodes the specified PeriodicVestingAccount message. Does not implicitly {@link cosmos.vesting.v1beta1.PeriodicVestingAccount.verify|verify} messages. * @param message PeriodicVestingAccount message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.vesting.v1beta1.IPeriodicVestingAccount, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PeriodicVestingAccount message, length delimited. Does not implicitly {@link cosmos.vesting.v1beta1.PeriodicVestingAccount.verify|verify} messages. * @param message PeriodicVestingAccount message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.vesting.v1beta1.IPeriodicVestingAccount, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PeriodicVestingAccount message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PeriodicVestingAccount * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.vesting.v1beta1.PeriodicVestingAccount; /** * Decodes a PeriodicVestingAccount message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PeriodicVestingAccount * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.vesting.v1beta1.PeriodicVestingAccount; /** * Verifies a PeriodicVestingAccount message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PeriodicVestingAccount message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PeriodicVestingAccount */ public static fromObject(object: { [k: string]: any }): cosmos.vesting.v1beta1.PeriodicVestingAccount; /** * Creates a plain object from a PeriodicVestingAccount message. Also converts values to other types if specified. * @param message PeriodicVestingAccount * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.vesting.v1beta1.PeriodicVestingAccount, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PeriodicVestingAccount to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a PermanentLockedAccount. */ interface IPermanentLockedAccount { /** PermanentLockedAccount base_vesting_account */ base_vesting_account?: (cosmos.vesting.v1beta1.IBaseVestingAccount|null); } /** Represents a PermanentLockedAccount. */ class PermanentLockedAccount implements IPermanentLockedAccount { /** * Constructs a new PermanentLockedAccount. * @param [properties] Properties to set */ constructor(properties?: cosmos.vesting.v1beta1.IPermanentLockedAccount); /** PermanentLockedAccount base_vesting_account. */ public base_vesting_account?: (cosmos.vesting.v1beta1.IBaseVestingAccount|null); /** * Encodes the specified PermanentLockedAccount message. Does not implicitly {@link cosmos.vesting.v1beta1.PermanentLockedAccount.verify|verify} messages. * @param message PermanentLockedAccount message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.vesting.v1beta1.IPermanentLockedAccount, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PermanentLockedAccount message, length delimited. Does not implicitly {@link cosmos.vesting.v1beta1.PermanentLockedAccount.verify|verify} messages. * @param message PermanentLockedAccount message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.vesting.v1beta1.IPermanentLockedAccount, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PermanentLockedAccount message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PermanentLockedAccount * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.vesting.v1beta1.PermanentLockedAccount; /** * Decodes a PermanentLockedAccount message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PermanentLockedAccount * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.vesting.v1beta1.PermanentLockedAccount; /** * Verifies a PermanentLockedAccount message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PermanentLockedAccount message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PermanentLockedAccount */ public static fromObject(object: { [k: string]: any }): cosmos.vesting.v1beta1.PermanentLockedAccount; /** * Creates a plain object from a PermanentLockedAccount message. Also converts values to other types if specified. * @param message PermanentLockedAccount * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.vesting.v1beta1.PermanentLockedAccount, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PermanentLockedAccount to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Represents a Msg */ class Msg extends $protobuf.rpc.Service { /** * Constructs a new Msg service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls CreateVestingAccount. * @param request MsgCreateVestingAccount message or plain object * @param callback Node-style callback called with the error, if any, and MsgCreateVestingAccountResponse */ public createVestingAccount(request: cosmos.vesting.v1beta1.IMsgCreateVestingAccount, callback: cosmos.vesting.v1beta1.Msg.CreateVestingAccountCallback): void; /** * Calls CreateVestingAccount. * @param request MsgCreateVestingAccount message or plain object * @returns Promise */ public createVestingAccount(request: cosmos.vesting.v1beta1.IMsgCreateVestingAccount): Promise; /** * Calls CreatePermanentLockedAccount. * @param request MsgCreatePermanentLockedAccount message or plain object * @param callback Node-style callback called with the error, if any, and MsgCreatePermanentLockedAccountResponse */ public createPermanentLockedAccount(request: cosmos.vesting.v1beta1.IMsgCreatePermanentLockedAccount, callback: cosmos.vesting.v1beta1.Msg.CreatePermanentLockedAccountCallback): void; /** * Calls CreatePermanentLockedAccount. * @param request MsgCreatePermanentLockedAccount message or plain object * @returns Promise */ public createPermanentLockedAccount(request: cosmos.vesting.v1beta1.IMsgCreatePermanentLockedAccount): Promise; /** * Calls CreatePeriodicVestingAccount. * @param request MsgCreatePeriodicVestingAccount message or plain object * @param callback Node-style callback called with the error, if any, and MsgCreatePeriodicVestingAccountResponse */ public createPeriodicVestingAccount(request: cosmos.vesting.v1beta1.IMsgCreatePeriodicVestingAccount, callback: cosmos.vesting.v1beta1.Msg.CreatePeriodicVestingAccountCallback): void; /** * Calls CreatePeriodicVestingAccount. * @param request MsgCreatePeriodicVestingAccount message or plain object * @returns Promise */ public createPeriodicVestingAccount(request: cosmos.vesting.v1beta1.IMsgCreatePeriodicVestingAccount): Promise; } namespace Msg { /** * Callback as used by {@link cosmos.vesting.v1beta1.Msg#createVestingAccount}. * @param error Error, if any * @param [response] MsgCreateVestingAccountResponse */ type CreateVestingAccountCallback = (error: (Error|null), response?: cosmos.vesting.v1beta1.MsgCreateVestingAccountResponse) => void; /** * Callback as used by {@link cosmos.vesting.v1beta1.Msg#createPermanentLockedAccount}. * @param error Error, if any * @param [response] MsgCreatePermanentLockedAccountResponse */ type CreatePermanentLockedAccountCallback = (error: (Error|null), response?: cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccountResponse) => void; /** * Callback as used by {@link cosmos.vesting.v1beta1.Msg#createPeriodicVestingAccount}. * @param error Error, if any * @param [response] MsgCreatePeriodicVestingAccountResponse */ type CreatePeriodicVestingAccountCallback = (error: (Error|null), response?: cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccountResponse) => void; } /** Properties of a MsgCreateVestingAccount. */ interface IMsgCreateVestingAccount { /** MsgCreateVestingAccount from_address */ from_address?: (string|null); /** MsgCreateVestingAccount to_address */ to_address?: (string|null); /** MsgCreateVestingAccount amount */ amount?: (cosmos.base.v1beta1.ICoin[]|null); /** MsgCreateVestingAccount end_time */ end_time?: (Long|null); /** MsgCreateVestingAccount delayed */ delayed?: (boolean|null); } /** Represents a MsgCreateVestingAccount. */ class MsgCreateVestingAccount implements IMsgCreateVestingAccount { /** * Constructs a new MsgCreateVestingAccount. * @param [properties] Properties to set */ constructor(properties?: cosmos.vesting.v1beta1.IMsgCreateVestingAccount); /** MsgCreateVestingAccount from_address. */ public from_address: string; /** MsgCreateVestingAccount to_address. */ public to_address: string; /** MsgCreateVestingAccount amount. */ public amount: cosmos.base.v1beta1.ICoin[]; /** MsgCreateVestingAccount end_time. */ public end_time: Long; /** MsgCreateVestingAccount delayed. */ public delayed: boolean; /** * Encodes the specified MsgCreateVestingAccount message. Does not implicitly {@link cosmos.vesting.v1beta1.MsgCreateVestingAccount.verify|verify} messages. * @param message MsgCreateVestingAccount message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.vesting.v1beta1.IMsgCreateVestingAccount, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgCreateVestingAccount message, length delimited. Does not implicitly {@link cosmos.vesting.v1beta1.MsgCreateVestingAccount.verify|verify} messages. * @param message MsgCreateVestingAccount message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.vesting.v1beta1.IMsgCreateVestingAccount, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgCreateVestingAccount message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgCreateVestingAccount * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.vesting.v1beta1.MsgCreateVestingAccount; /** * Decodes a MsgCreateVestingAccount message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgCreateVestingAccount * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.vesting.v1beta1.MsgCreateVestingAccount; /** * Verifies a MsgCreateVestingAccount message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgCreateVestingAccount message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgCreateVestingAccount */ public static fromObject(object: { [k: string]: any }): cosmos.vesting.v1beta1.MsgCreateVestingAccount; /** * Creates a plain object from a MsgCreateVestingAccount message. Also converts values to other types if specified. * @param message MsgCreateVestingAccount * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.vesting.v1beta1.MsgCreateVestingAccount, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgCreateVestingAccount to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgCreateVestingAccountResponse. */ interface IMsgCreateVestingAccountResponse { } /** Represents a MsgCreateVestingAccountResponse. */ class MsgCreateVestingAccountResponse implements IMsgCreateVestingAccountResponse { /** * Constructs a new MsgCreateVestingAccountResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.vesting.v1beta1.IMsgCreateVestingAccountResponse); /** * Encodes the specified MsgCreateVestingAccountResponse message. Does not implicitly {@link cosmos.vesting.v1beta1.MsgCreateVestingAccountResponse.verify|verify} messages. * @param message MsgCreateVestingAccountResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.vesting.v1beta1.IMsgCreateVestingAccountResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgCreateVestingAccountResponse message, length delimited. Does not implicitly {@link cosmos.vesting.v1beta1.MsgCreateVestingAccountResponse.verify|verify} messages. * @param message MsgCreateVestingAccountResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.vesting.v1beta1.IMsgCreateVestingAccountResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgCreateVestingAccountResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgCreateVestingAccountResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.vesting.v1beta1.MsgCreateVestingAccountResponse; /** * Decodes a MsgCreateVestingAccountResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgCreateVestingAccountResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.vesting.v1beta1.MsgCreateVestingAccountResponse; /** * Verifies a MsgCreateVestingAccountResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgCreateVestingAccountResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgCreateVestingAccountResponse */ public static fromObject(object: { [k: string]: any }): cosmos.vesting.v1beta1.MsgCreateVestingAccountResponse; /** * Creates a plain object from a MsgCreateVestingAccountResponse message. Also converts values to other types if specified. * @param message MsgCreateVestingAccountResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.vesting.v1beta1.MsgCreateVestingAccountResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgCreateVestingAccountResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgCreatePermanentLockedAccount. */ interface IMsgCreatePermanentLockedAccount { /** MsgCreatePermanentLockedAccount from_address */ from_address?: (string|null); /** MsgCreatePermanentLockedAccount to_address */ to_address?: (string|null); /** MsgCreatePermanentLockedAccount amount */ amount?: (cosmos.base.v1beta1.ICoin[]|null); } /** Represents a MsgCreatePermanentLockedAccount. */ class MsgCreatePermanentLockedAccount implements IMsgCreatePermanentLockedAccount { /** * Constructs a new MsgCreatePermanentLockedAccount. * @param [properties] Properties to set */ constructor(properties?: cosmos.vesting.v1beta1.IMsgCreatePermanentLockedAccount); /** MsgCreatePermanentLockedAccount from_address. */ public from_address: string; /** MsgCreatePermanentLockedAccount to_address. */ public to_address: string; /** MsgCreatePermanentLockedAccount amount. */ public amount: cosmos.base.v1beta1.ICoin[]; /** * Encodes the specified MsgCreatePermanentLockedAccount message. Does not implicitly {@link cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount.verify|verify} messages. * @param message MsgCreatePermanentLockedAccount message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.vesting.v1beta1.IMsgCreatePermanentLockedAccount, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgCreatePermanentLockedAccount message, length delimited. Does not implicitly {@link cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount.verify|verify} messages. * @param message MsgCreatePermanentLockedAccount message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.vesting.v1beta1.IMsgCreatePermanentLockedAccount, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgCreatePermanentLockedAccount message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgCreatePermanentLockedAccount * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount; /** * Decodes a MsgCreatePermanentLockedAccount message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgCreatePermanentLockedAccount * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount; /** * Verifies a MsgCreatePermanentLockedAccount message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgCreatePermanentLockedAccount message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgCreatePermanentLockedAccount */ public static fromObject(object: { [k: string]: any }): cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount; /** * Creates a plain object from a MsgCreatePermanentLockedAccount message. Also converts values to other types if specified. * @param message MsgCreatePermanentLockedAccount * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgCreatePermanentLockedAccount to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgCreatePermanentLockedAccountResponse. */ interface IMsgCreatePermanentLockedAccountResponse { } /** Represents a MsgCreatePermanentLockedAccountResponse. */ class MsgCreatePermanentLockedAccountResponse implements IMsgCreatePermanentLockedAccountResponse { /** * Constructs a new MsgCreatePermanentLockedAccountResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.vesting.v1beta1.IMsgCreatePermanentLockedAccountResponse); /** * Encodes the specified MsgCreatePermanentLockedAccountResponse message. Does not implicitly {@link cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccountResponse.verify|verify} messages. * @param message MsgCreatePermanentLockedAccountResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.vesting.v1beta1.IMsgCreatePermanentLockedAccountResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgCreatePermanentLockedAccountResponse message, length delimited. Does not implicitly {@link cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccountResponse.verify|verify} messages. * @param message MsgCreatePermanentLockedAccountResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.vesting.v1beta1.IMsgCreatePermanentLockedAccountResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgCreatePermanentLockedAccountResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgCreatePermanentLockedAccountResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccountResponse; /** * Decodes a MsgCreatePermanentLockedAccountResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgCreatePermanentLockedAccountResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccountResponse; /** * Verifies a MsgCreatePermanentLockedAccountResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgCreatePermanentLockedAccountResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgCreatePermanentLockedAccountResponse */ public static fromObject(object: { [k: string]: any }): cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccountResponse; /** * Creates a plain object from a MsgCreatePermanentLockedAccountResponse message. Also converts values to other types if specified. * @param message MsgCreatePermanentLockedAccountResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccountResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgCreatePermanentLockedAccountResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgCreatePeriodicVestingAccount. */ interface IMsgCreatePeriodicVestingAccount { /** MsgCreatePeriodicVestingAccount from_address */ from_address?: (string|null); /** MsgCreatePeriodicVestingAccount to_address */ to_address?: (string|null); /** MsgCreatePeriodicVestingAccount start_time */ start_time?: (Long|null); /** MsgCreatePeriodicVestingAccount vesting_periods */ vesting_periods?: (cosmos.vesting.v1beta1.IPeriod[]|null); } /** Represents a MsgCreatePeriodicVestingAccount. */ class MsgCreatePeriodicVestingAccount implements IMsgCreatePeriodicVestingAccount { /** * Constructs a new MsgCreatePeriodicVestingAccount. * @param [properties] Properties to set */ constructor(properties?: cosmos.vesting.v1beta1.IMsgCreatePeriodicVestingAccount); /** MsgCreatePeriodicVestingAccount from_address. */ public from_address: string; /** MsgCreatePeriodicVestingAccount to_address. */ public to_address: string; /** MsgCreatePeriodicVestingAccount start_time. */ public start_time: Long; /** MsgCreatePeriodicVestingAccount vesting_periods. */ public vesting_periods: cosmos.vesting.v1beta1.IPeriod[]; /** * Encodes the specified MsgCreatePeriodicVestingAccount message. Does not implicitly {@link cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount.verify|verify} messages. * @param message MsgCreatePeriodicVestingAccount message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.vesting.v1beta1.IMsgCreatePeriodicVestingAccount, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgCreatePeriodicVestingAccount message, length delimited. Does not implicitly {@link cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount.verify|verify} messages. * @param message MsgCreatePeriodicVestingAccount message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.vesting.v1beta1.IMsgCreatePeriodicVestingAccount, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgCreatePeriodicVestingAccount message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgCreatePeriodicVestingAccount * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount; /** * Decodes a MsgCreatePeriodicVestingAccount message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgCreatePeriodicVestingAccount * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount; /** * Verifies a MsgCreatePeriodicVestingAccount message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgCreatePeriodicVestingAccount message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgCreatePeriodicVestingAccount */ public static fromObject(object: { [k: string]: any }): cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount; /** * Creates a plain object from a MsgCreatePeriodicVestingAccount message. Also converts values to other types if specified. * @param message MsgCreatePeriodicVestingAccount * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgCreatePeriodicVestingAccount to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MsgCreatePeriodicVestingAccountResponse. */ interface IMsgCreatePeriodicVestingAccountResponse { } /** Represents a MsgCreatePeriodicVestingAccountResponse. */ class MsgCreatePeriodicVestingAccountResponse implements IMsgCreatePeriodicVestingAccountResponse { /** * Constructs a new MsgCreatePeriodicVestingAccountResponse. * @param [properties] Properties to set */ constructor(properties?: cosmos.vesting.v1beta1.IMsgCreatePeriodicVestingAccountResponse); /** * Encodes the specified MsgCreatePeriodicVestingAccountResponse message. Does not implicitly {@link cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccountResponse.verify|verify} messages. * @param message MsgCreatePeriodicVestingAccountResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos.vesting.v1beta1.IMsgCreatePeriodicVestingAccountResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgCreatePeriodicVestingAccountResponse message, length delimited. Does not implicitly {@link cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccountResponse.verify|verify} messages. * @param message MsgCreatePeriodicVestingAccountResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos.vesting.v1beta1.IMsgCreatePeriodicVestingAccountResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgCreatePeriodicVestingAccountResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgCreatePeriodicVestingAccountResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccountResponse; /** * Decodes a MsgCreatePeriodicVestingAccountResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgCreatePeriodicVestingAccountResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccountResponse; /** * Verifies a MsgCreatePeriodicVestingAccountResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgCreatePeriodicVestingAccountResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgCreatePeriodicVestingAccountResponse */ public static fromObject(object: { [k: string]: any }): cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccountResponse; /** * Creates a plain object from a MsgCreatePeriodicVestingAccountResponse message. Also converts values to other types if specified. * @param message MsgCreatePeriodicVestingAccountResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccountResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgCreatePeriodicVestingAccountResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } } /** Namespace cosmos_proto. */ export namespace cosmos_proto { /** Properties of an InterfaceDescriptor. */ interface IInterfaceDescriptor { /** InterfaceDescriptor name */ name?: (string|null); /** InterfaceDescriptor description */ description?: (string|null); } /** Represents an InterfaceDescriptor. */ class InterfaceDescriptor implements IInterfaceDescriptor { /** * Constructs a new InterfaceDescriptor. * @param [properties] Properties to set */ constructor(properties?: cosmos_proto.IInterfaceDescriptor); /** InterfaceDescriptor name. */ public name: string; /** InterfaceDescriptor description. */ public description: string; /** * Encodes the specified InterfaceDescriptor message. Does not implicitly {@link cosmos_proto.InterfaceDescriptor.verify|verify} messages. * @param message InterfaceDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos_proto.IInterfaceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified InterfaceDescriptor message, length delimited. Does not implicitly {@link cosmos_proto.InterfaceDescriptor.verify|verify} messages. * @param message InterfaceDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos_proto.IInterfaceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an InterfaceDescriptor message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns InterfaceDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos_proto.InterfaceDescriptor; /** * Decodes an InterfaceDescriptor message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns InterfaceDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos_proto.InterfaceDescriptor; /** * Verifies an InterfaceDescriptor message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an InterfaceDescriptor message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns InterfaceDescriptor */ public static fromObject(object: { [k: string]: any }): cosmos_proto.InterfaceDescriptor; /** * Creates a plain object from an InterfaceDescriptor message. Also converts values to other types if specified. * @param message InterfaceDescriptor * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos_proto.InterfaceDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this InterfaceDescriptor to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ScalarDescriptor. */ interface IScalarDescriptor { /** ScalarDescriptor name */ name?: (string|null); /** ScalarDescriptor description */ description?: (string|null); /** ScalarDescriptor field_type */ field_type?: (cosmos_proto.ScalarType[]|null); } /** Represents a ScalarDescriptor. */ class ScalarDescriptor implements IScalarDescriptor { /** * Constructs a new ScalarDescriptor. * @param [properties] Properties to set */ constructor(properties?: cosmos_proto.IScalarDescriptor); /** ScalarDescriptor name. */ public name: string; /** ScalarDescriptor description. */ public description: string; /** ScalarDescriptor field_type. */ public field_type: cosmos_proto.ScalarType[]; /** * Encodes the specified ScalarDescriptor message. Does not implicitly {@link cosmos_proto.ScalarDescriptor.verify|verify} messages. * @param message ScalarDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cosmos_proto.IScalarDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ScalarDescriptor message, length delimited. Does not implicitly {@link cosmos_proto.ScalarDescriptor.verify|verify} messages. * @param message ScalarDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cosmos_proto.IScalarDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ScalarDescriptor message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ScalarDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cosmos_proto.ScalarDescriptor; /** * Decodes a ScalarDescriptor message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ScalarDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cosmos_proto.ScalarDescriptor; /** * Verifies a ScalarDescriptor message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ScalarDescriptor message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ScalarDescriptor */ public static fromObject(object: { [k: string]: any }): cosmos_proto.ScalarDescriptor; /** * Creates a plain object from a ScalarDescriptor message. Also converts values to other types if specified. * @param message ScalarDescriptor * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cosmos_proto.ScalarDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ScalarDescriptor to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** ScalarType enum. */ enum ScalarType { SCALAR_TYPE_UNSPECIFIED = 0, SCALAR_TYPE_STRING = 1, SCALAR_TYPE_BYTES = 2 } } /** Namespace tendermint. */ export namespace cometbft { /** Namespace abci. */ namespace abci { /** Properties of a Request. */ interface IRequest { /** Request echo */ echo?: (cometbft.abci.IRequestEcho|null); /** Request flush */ flush?: (cometbft.abci.IRequestFlush|null); /** Request info */ info?: (cometbft.abci.IRequestInfo|null); /** Request init_chain */ init_chain?: (cometbft.abci.IRequestInitChain|null); /** Request query */ query?: (cometbft.abci.IRequestQuery|null); /** Request begin_block */ begin_block?: (cometbft.abci.IRequestBeginBlock|null); /** Request check_tx */ check_tx?: (cometbft.abci.IRequestCheckTx|null); /** Request deliver_tx */ deliver_tx?: (cometbft.abci.IRequestDeliverTx|null); /** Request end_block */ end_block?: (cometbft.abci.IRequestEndBlock|null); /** Request commit */ commit?: (cometbft.abci.IRequestCommit|null); /** Request list_snapshots */ list_snapshots?: (cometbft.abci.IRequestListSnapshots|null); /** Request offer_snapshot */ offer_snapshot?: (cometbft.abci.IRequestOfferSnapshot|null); /** Request load_snapshot_chunk */ load_snapshot_chunk?: (cometbft.abci.IRequestLoadSnapshotChunk|null); /** Request apply_snapshot_chunk */ apply_snapshot_chunk?: (cometbft.abci.IRequestApplySnapshotChunk|null); /** Request prepare_proposal */ prepare_proposal?: (cometbft.abci.IRequestPrepareProposal|null); /** Request process_proposal */ process_proposal?: (cometbft.abci.IRequestProcessProposal|null); } /** Represents a Request. */ class Request implements IRequest { /** * Constructs a new Request. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IRequest); /** Request echo. */ public echo?: (cometbft.abci.IRequestEcho|null); /** Request flush. */ public flush?: (cometbft.abci.IRequestFlush|null); /** Request info. */ public info?: (cometbft.abci.IRequestInfo|null); /** Request init_chain. */ public init_chain?: (cometbft.abci.IRequestInitChain|null); /** Request query. */ public query?: (cometbft.abci.IRequestQuery|null); /** Request begin_block. */ public begin_block?: (cometbft.abci.IRequestBeginBlock|null); /** Request check_tx. */ public check_tx?: (cometbft.abci.IRequestCheckTx|null); /** Request deliver_tx. */ public deliver_tx?: (cometbft.abci.IRequestDeliverTx|null); /** Request end_block. */ public end_block?: (cometbft.abci.IRequestEndBlock|null); /** Request commit. */ public commit?: (cometbft.abci.IRequestCommit|null); /** Request list_snapshots. */ public list_snapshots?: (cometbft.abci.IRequestListSnapshots|null); /** Request offer_snapshot. */ public offer_snapshot?: (cometbft.abci.IRequestOfferSnapshot|null); /** Request load_snapshot_chunk. */ public load_snapshot_chunk?: (cometbft.abci.IRequestLoadSnapshotChunk|null); /** Request apply_snapshot_chunk. */ public apply_snapshot_chunk?: (cometbft.abci.IRequestApplySnapshotChunk|null); /** Request prepare_proposal. */ public prepare_proposal?: (cometbft.abci.IRequestPrepareProposal|null); /** Request process_proposal. */ public process_proposal?: (cometbft.abci.IRequestProcessProposal|null); /** Request value. */ public value?: ("echo"|"flush"|"info"|"init_chain"|"query"|"begin_block"|"check_tx"|"deliver_tx"|"end_block"|"commit"|"list_snapshots"|"offer_snapshot"|"load_snapshot_chunk"|"apply_snapshot_chunk"|"prepare_proposal"|"process_proposal"); /** * Encodes the specified Request message. Does not implicitly {@link cometbft.abci.Request.verify|verify} messages. * @param message Request message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Request message, length delimited. Does not implicitly {@link cometbft.abci.Request.verify|verify} messages. * @param message Request message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Request message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Request * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.Request; /** * Decodes a Request message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Request * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.Request; /** * Verifies a Request message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Request message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Request */ public static fromObject(object: { [k: string]: any }): cometbft.abci.Request; /** * Creates a plain object from a Request message. Also converts values to other types if specified. * @param message Request * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.Request, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Request to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a RequestEcho. */ interface IRequestEcho { /** RequestEcho message */ message?: (string|null); } /** Represents a RequestEcho. */ class RequestEcho implements IRequestEcho { /** * Constructs a new RequestEcho. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IRequestEcho); /** RequestEcho message. */ public message: string; /** * Encodes the specified RequestEcho message. Does not implicitly {@link cometbft.abci.RequestEcho.verify|verify} messages. * @param message RequestEcho message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IRequestEcho, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RequestEcho message, length delimited. Does not implicitly {@link cometbft.abci.RequestEcho.verify|verify} messages. * @param message RequestEcho message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IRequestEcho, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RequestEcho message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RequestEcho * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.RequestEcho; /** * Decodes a RequestEcho message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RequestEcho * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.RequestEcho; /** * Verifies a RequestEcho message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RequestEcho message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RequestEcho */ public static fromObject(object: { [k: string]: any }): cometbft.abci.RequestEcho; /** * Creates a plain object from a RequestEcho message. Also converts values to other types if specified. * @param message RequestEcho * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.RequestEcho, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RequestEcho to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a RequestFlush. */ interface IRequestFlush { } /** Represents a RequestFlush. */ class RequestFlush implements IRequestFlush { /** * Constructs a new RequestFlush. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IRequestFlush); /** * Encodes the specified RequestFlush message. Does not implicitly {@link cometbft.abci.RequestFlush.verify|verify} messages. * @param message RequestFlush message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IRequestFlush, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RequestFlush message, length delimited. Does not implicitly {@link cometbft.abci.RequestFlush.verify|verify} messages. * @param message RequestFlush message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IRequestFlush, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RequestFlush message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RequestFlush * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.RequestFlush; /** * Decodes a RequestFlush message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RequestFlush * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.RequestFlush; /** * Verifies a RequestFlush message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RequestFlush message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RequestFlush */ public static fromObject(object: { [k: string]: any }): cometbft.abci.RequestFlush; /** * Creates a plain object from a RequestFlush message. Also converts values to other types if specified. * @param message RequestFlush * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.RequestFlush, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RequestFlush to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a RequestInfo. */ interface IRequestInfo { /** RequestInfo version */ version?: (string|null); /** RequestInfo block_version */ block_version?: (Long|null); /** RequestInfo p2p_version */ p2p_version?: (Long|null); /** RequestInfo abci_version */ abci_version?: (string|null); } /** Represents a RequestInfo. */ class RequestInfo implements IRequestInfo { /** * Constructs a new RequestInfo. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IRequestInfo); /** RequestInfo version. */ public version: string; /** RequestInfo block_version. */ public block_version: Long; /** RequestInfo p2p_version. */ public p2p_version: Long; /** RequestInfo abci_version. */ public abci_version: string; /** * Encodes the specified RequestInfo message. Does not implicitly {@link cometbft.abci.RequestInfo.verify|verify} messages. * @param message RequestInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IRequestInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RequestInfo message, length delimited. Does not implicitly {@link cometbft.abci.RequestInfo.verify|verify} messages. * @param message RequestInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IRequestInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RequestInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RequestInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.RequestInfo; /** * Decodes a RequestInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RequestInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.RequestInfo; /** * Verifies a RequestInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RequestInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RequestInfo */ public static fromObject(object: { [k: string]: any }): cometbft.abci.RequestInfo; /** * Creates a plain object from a RequestInfo message. Also converts values to other types if specified. * @param message RequestInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.RequestInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RequestInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a RequestInitChain. */ interface IRequestInitChain { /** RequestInitChain time */ time?: (google.protobuf.ITimestamp|null); /** RequestInitChain chain_id */ chain_id?: (string|null); /** RequestInitChain consensus_params */ consensus_params?: (cometbft.types.IConsensusParams|null); /** RequestInitChain validators */ validators?: (cometbft.abci.IValidatorUpdate[]|null); /** RequestInitChain app_state_bytes */ app_state_bytes?: (Uint8Array|null); /** RequestInitChain initial_height */ initial_height?: (Long|null); } /** Represents a RequestInitChain. */ class RequestInitChain implements IRequestInitChain { /** * Constructs a new RequestInitChain. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IRequestInitChain); /** RequestInitChain time. */ public time?: (google.protobuf.ITimestamp|null); /** RequestInitChain chain_id. */ public chain_id: string; /** RequestInitChain consensus_params. */ public consensus_params?: (cometbft.types.IConsensusParams|null); /** RequestInitChain validators. */ public validators: cometbft.abci.IValidatorUpdate[]; /** RequestInitChain app_state_bytes. */ public app_state_bytes: Uint8Array; /** RequestInitChain initial_height. */ public initial_height: Long; /** * Encodes the specified RequestInitChain message. Does not implicitly {@link cometbft.abci.RequestInitChain.verify|verify} messages. * @param message RequestInitChain message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IRequestInitChain, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RequestInitChain message, length delimited. Does not implicitly {@link cometbft.abci.RequestInitChain.verify|verify} messages. * @param message RequestInitChain message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IRequestInitChain, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RequestInitChain message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RequestInitChain * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.RequestInitChain; /** * Decodes a RequestInitChain message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RequestInitChain * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.RequestInitChain; /** * Verifies a RequestInitChain message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RequestInitChain message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RequestInitChain */ public static fromObject(object: { [k: string]: any }): cometbft.abci.RequestInitChain; /** * Creates a plain object from a RequestInitChain message. Also converts values to other types if specified. * @param message RequestInitChain * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.RequestInitChain, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RequestInitChain to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a RequestQuery. */ interface IRequestQuery { /** RequestQuery data */ data?: (Uint8Array|null); /** RequestQuery path */ path?: (string|null); /** RequestQuery height */ height?: (Long|null); /** RequestQuery prove */ prove?: (boolean|null); } /** Represents a RequestQuery. */ class RequestQuery implements IRequestQuery { /** * Constructs a new RequestQuery. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IRequestQuery); /** RequestQuery data. */ public data: Uint8Array; /** RequestQuery path. */ public path: string; /** RequestQuery height. */ public height: Long; /** RequestQuery prove. */ public prove: boolean; /** * Encodes the specified RequestQuery message. Does not implicitly {@link cometbft.abci.RequestQuery.verify|verify} messages. * @param message RequestQuery message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IRequestQuery, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RequestQuery message, length delimited. Does not implicitly {@link cometbft.abci.RequestQuery.verify|verify} messages. * @param message RequestQuery message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IRequestQuery, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RequestQuery message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RequestQuery * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.RequestQuery; /** * Decodes a RequestQuery message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RequestQuery * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.RequestQuery; /** * Verifies a RequestQuery message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RequestQuery message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RequestQuery */ public static fromObject(object: { [k: string]: any }): cometbft.abci.RequestQuery; /** * Creates a plain object from a RequestQuery message. Also converts values to other types if specified. * @param message RequestQuery * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.RequestQuery, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RequestQuery to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a RequestBeginBlock. */ interface IRequestBeginBlock { /** RequestBeginBlock hash */ hash?: (Uint8Array|null); /** RequestBeginBlock header */ header?: (cometbft.types.IHeader|null); /** RequestBeginBlock last_commit_info */ last_commit_info?: (cometbft.abci.ICommitInfo|null); /** RequestBeginBlock byzantine_validators */ byzantine_validators?: (cometbft.abci.IMisbehavior[]|null); } /** Represents a RequestBeginBlock. */ class RequestBeginBlock implements IRequestBeginBlock { /** * Constructs a new RequestBeginBlock. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IRequestBeginBlock); /** RequestBeginBlock hash. */ public hash: Uint8Array; /** RequestBeginBlock header. */ public header?: (cometbft.types.IHeader|null); /** RequestBeginBlock last_commit_info. */ public last_commit_info?: (cometbft.abci.ICommitInfo|null); /** RequestBeginBlock byzantine_validators. */ public byzantine_validators: cometbft.abci.IMisbehavior[]; /** * Encodes the specified RequestBeginBlock message. Does not implicitly {@link cometbft.abci.RequestBeginBlock.verify|verify} messages. * @param message RequestBeginBlock message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IRequestBeginBlock, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RequestBeginBlock message, length delimited. Does not implicitly {@link cometbft.abci.RequestBeginBlock.verify|verify} messages. * @param message RequestBeginBlock message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IRequestBeginBlock, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RequestBeginBlock message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RequestBeginBlock * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.RequestBeginBlock; /** * Decodes a RequestBeginBlock message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RequestBeginBlock * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.RequestBeginBlock; /** * Verifies a RequestBeginBlock message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RequestBeginBlock message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RequestBeginBlock */ public static fromObject(object: { [k: string]: any }): cometbft.abci.RequestBeginBlock; /** * Creates a plain object from a RequestBeginBlock message. Also converts values to other types if specified. * @param message RequestBeginBlock * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.RequestBeginBlock, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RequestBeginBlock to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** CheckTxType enum. */ enum CheckTxType { NEW = 0, RECHECK = 1 } /** Properties of a RequestCheckTx. */ interface IRequestCheckTx { /** RequestCheckTx tx */ tx?: (Uint8Array|null); /** RequestCheckTx type */ type?: (cometbft.abci.CheckTxType|null); } /** Represents a RequestCheckTx. */ class RequestCheckTx implements IRequestCheckTx { /** * Constructs a new RequestCheckTx. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IRequestCheckTx); /** RequestCheckTx tx. */ public tx: Uint8Array; /** RequestCheckTx type. */ public type: cometbft.abci.CheckTxType; /** * Encodes the specified RequestCheckTx message. Does not implicitly {@link cometbft.abci.RequestCheckTx.verify|verify} messages. * @param message RequestCheckTx message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IRequestCheckTx, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RequestCheckTx message, length delimited. Does not implicitly {@link cometbft.abci.RequestCheckTx.verify|verify} messages. * @param message RequestCheckTx message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IRequestCheckTx, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RequestCheckTx message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RequestCheckTx * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.RequestCheckTx; /** * Decodes a RequestCheckTx message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RequestCheckTx * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.RequestCheckTx; /** * Verifies a RequestCheckTx message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RequestCheckTx message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RequestCheckTx */ public static fromObject(object: { [k: string]: any }): cometbft.abci.RequestCheckTx; /** * Creates a plain object from a RequestCheckTx message. Also converts values to other types if specified. * @param message RequestCheckTx * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.RequestCheckTx, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RequestCheckTx to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a RequestDeliverTx. */ interface IRequestDeliverTx { /** RequestDeliverTx tx */ tx?: (Uint8Array|null); } /** Represents a RequestDeliverTx. */ class RequestDeliverTx implements IRequestDeliverTx { /** * Constructs a new RequestDeliverTx. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IRequestDeliverTx); /** RequestDeliverTx tx. */ public tx: Uint8Array; /** * Encodes the specified RequestDeliverTx message. Does not implicitly {@link cometbft.abci.RequestDeliverTx.verify|verify} messages. * @param message RequestDeliverTx message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IRequestDeliverTx, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RequestDeliverTx message, length delimited. Does not implicitly {@link cometbft.abci.RequestDeliverTx.verify|verify} messages. * @param message RequestDeliverTx message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IRequestDeliverTx, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RequestDeliverTx message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RequestDeliverTx * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.RequestDeliverTx; /** * Decodes a RequestDeliverTx message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RequestDeliverTx * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.RequestDeliverTx; /** * Verifies a RequestDeliverTx message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RequestDeliverTx message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RequestDeliverTx */ public static fromObject(object: { [k: string]: any }): cometbft.abci.RequestDeliverTx; /** * Creates a plain object from a RequestDeliverTx message. Also converts values to other types if specified. * @param message RequestDeliverTx * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.RequestDeliverTx, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RequestDeliverTx to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a RequestEndBlock. */ interface IRequestEndBlock { /** RequestEndBlock height */ height?: (Long|null); } /** Represents a RequestEndBlock. */ class RequestEndBlock implements IRequestEndBlock { /** * Constructs a new RequestEndBlock. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IRequestEndBlock); /** RequestEndBlock height. */ public height: Long; /** * Encodes the specified RequestEndBlock message. Does not implicitly {@link cometbft.abci.RequestEndBlock.verify|verify} messages. * @param message RequestEndBlock message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IRequestEndBlock, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RequestEndBlock message, length delimited. Does not implicitly {@link cometbft.abci.RequestEndBlock.verify|verify} messages. * @param message RequestEndBlock message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IRequestEndBlock, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RequestEndBlock message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RequestEndBlock * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.RequestEndBlock; /** * Decodes a RequestEndBlock message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RequestEndBlock * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.RequestEndBlock; /** * Verifies a RequestEndBlock message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RequestEndBlock message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RequestEndBlock */ public static fromObject(object: { [k: string]: any }): cometbft.abci.RequestEndBlock; /** * Creates a plain object from a RequestEndBlock message. Also converts values to other types if specified. * @param message RequestEndBlock * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.RequestEndBlock, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RequestEndBlock to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a RequestCommit. */ interface IRequestCommit { } /** Represents a RequestCommit. */ class RequestCommit implements IRequestCommit { /** * Constructs a new RequestCommit. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IRequestCommit); /** * Encodes the specified RequestCommit message. Does not implicitly {@link cometbft.abci.RequestCommit.verify|verify} messages. * @param message RequestCommit message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IRequestCommit, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RequestCommit message, length delimited. Does not implicitly {@link cometbft.abci.RequestCommit.verify|verify} messages. * @param message RequestCommit message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IRequestCommit, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RequestCommit message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RequestCommit * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.RequestCommit; /** * Decodes a RequestCommit message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RequestCommit * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.RequestCommit; /** * Verifies a RequestCommit message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RequestCommit message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RequestCommit */ public static fromObject(object: { [k: string]: any }): cometbft.abci.RequestCommit; /** * Creates a plain object from a RequestCommit message. Also converts values to other types if specified. * @param message RequestCommit * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.RequestCommit, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RequestCommit to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a RequestListSnapshots. */ interface IRequestListSnapshots { } /** Represents a RequestListSnapshots. */ class RequestListSnapshots implements IRequestListSnapshots { /** * Constructs a new RequestListSnapshots. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IRequestListSnapshots); /** * Encodes the specified RequestListSnapshots message. Does not implicitly {@link cometbft.abci.RequestListSnapshots.verify|verify} messages. * @param message RequestListSnapshots message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IRequestListSnapshots, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RequestListSnapshots message, length delimited. Does not implicitly {@link cometbft.abci.RequestListSnapshots.verify|verify} messages. * @param message RequestListSnapshots message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IRequestListSnapshots, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RequestListSnapshots message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RequestListSnapshots * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.RequestListSnapshots; /** * Decodes a RequestListSnapshots message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RequestListSnapshots * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.RequestListSnapshots; /** * Verifies a RequestListSnapshots message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RequestListSnapshots message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RequestListSnapshots */ public static fromObject(object: { [k: string]: any }): cometbft.abci.RequestListSnapshots; /** * Creates a plain object from a RequestListSnapshots message. Also converts values to other types if specified. * @param message RequestListSnapshots * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.RequestListSnapshots, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RequestListSnapshots to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a RequestOfferSnapshot. */ interface IRequestOfferSnapshot { /** RequestOfferSnapshot snapshot */ snapshot?: (cometbft.abci.ISnapshot|null); /** RequestOfferSnapshot app_hash */ app_hash?: (Uint8Array|null); } /** Represents a RequestOfferSnapshot. */ class RequestOfferSnapshot implements IRequestOfferSnapshot { /** * Constructs a new RequestOfferSnapshot. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IRequestOfferSnapshot); /** RequestOfferSnapshot snapshot. */ public snapshot?: (cometbft.abci.ISnapshot|null); /** RequestOfferSnapshot app_hash. */ public app_hash: Uint8Array; /** * Encodes the specified RequestOfferSnapshot message. Does not implicitly {@link cometbft.abci.RequestOfferSnapshot.verify|verify} messages. * @param message RequestOfferSnapshot message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IRequestOfferSnapshot, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RequestOfferSnapshot message, length delimited. Does not implicitly {@link cometbft.abci.RequestOfferSnapshot.verify|verify} messages. * @param message RequestOfferSnapshot message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IRequestOfferSnapshot, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RequestOfferSnapshot message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RequestOfferSnapshot * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.RequestOfferSnapshot; /** * Decodes a RequestOfferSnapshot message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RequestOfferSnapshot * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.RequestOfferSnapshot; /** * Verifies a RequestOfferSnapshot message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RequestOfferSnapshot message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RequestOfferSnapshot */ public static fromObject(object: { [k: string]: any }): cometbft.abci.RequestOfferSnapshot; /** * Creates a plain object from a RequestOfferSnapshot message. Also converts values to other types if specified. * @param message RequestOfferSnapshot * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.RequestOfferSnapshot, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RequestOfferSnapshot to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a RequestLoadSnapshotChunk. */ interface IRequestLoadSnapshotChunk { /** RequestLoadSnapshotChunk height */ height?: (Long|null); /** RequestLoadSnapshotChunk format */ format?: (number|null); /** RequestLoadSnapshotChunk chunk */ chunk?: (number|null); } /** Represents a RequestLoadSnapshotChunk. */ class RequestLoadSnapshotChunk implements IRequestLoadSnapshotChunk { /** * Constructs a new RequestLoadSnapshotChunk. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IRequestLoadSnapshotChunk); /** RequestLoadSnapshotChunk height. */ public height: Long; /** RequestLoadSnapshotChunk format. */ public format: number; /** RequestLoadSnapshotChunk chunk. */ public chunk: number; /** * Encodes the specified RequestLoadSnapshotChunk message. Does not implicitly {@link cometbft.abci.RequestLoadSnapshotChunk.verify|verify} messages. * @param message RequestLoadSnapshotChunk message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IRequestLoadSnapshotChunk, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RequestLoadSnapshotChunk message, length delimited. Does not implicitly {@link cometbft.abci.RequestLoadSnapshotChunk.verify|verify} messages. * @param message RequestLoadSnapshotChunk message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IRequestLoadSnapshotChunk, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RequestLoadSnapshotChunk message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RequestLoadSnapshotChunk * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.RequestLoadSnapshotChunk; /** * Decodes a RequestLoadSnapshotChunk message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RequestLoadSnapshotChunk * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.RequestLoadSnapshotChunk; /** * Verifies a RequestLoadSnapshotChunk message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RequestLoadSnapshotChunk message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RequestLoadSnapshotChunk */ public static fromObject(object: { [k: string]: any }): cometbft.abci.RequestLoadSnapshotChunk; /** * Creates a plain object from a RequestLoadSnapshotChunk message. Also converts values to other types if specified. * @param message RequestLoadSnapshotChunk * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.RequestLoadSnapshotChunk, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RequestLoadSnapshotChunk to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a RequestApplySnapshotChunk. */ interface IRequestApplySnapshotChunk { /** RequestApplySnapshotChunk index */ index?: (number|null); /** RequestApplySnapshotChunk chunk */ chunk?: (Uint8Array|null); /** RequestApplySnapshotChunk sender */ sender?: (string|null); } /** Represents a RequestApplySnapshotChunk. */ class RequestApplySnapshotChunk implements IRequestApplySnapshotChunk { /** * Constructs a new RequestApplySnapshotChunk. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IRequestApplySnapshotChunk); /** RequestApplySnapshotChunk index. */ public index: number; /** RequestApplySnapshotChunk chunk. */ public chunk: Uint8Array; /** RequestApplySnapshotChunk sender. */ public sender: string; /** * Encodes the specified RequestApplySnapshotChunk message. Does not implicitly {@link cometbft.abci.RequestApplySnapshotChunk.verify|verify} messages. * @param message RequestApplySnapshotChunk message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IRequestApplySnapshotChunk, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RequestApplySnapshotChunk message, length delimited. Does not implicitly {@link cometbft.abci.RequestApplySnapshotChunk.verify|verify} messages. * @param message RequestApplySnapshotChunk message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IRequestApplySnapshotChunk, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RequestApplySnapshotChunk message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RequestApplySnapshotChunk * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.RequestApplySnapshotChunk; /** * Decodes a RequestApplySnapshotChunk message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RequestApplySnapshotChunk * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.RequestApplySnapshotChunk; /** * Verifies a RequestApplySnapshotChunk message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RequestApplySnapshotChunk message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RequestApplySnapshotChunk */ public static fromObject(object: { [k: string]: any }): cometbft.abci.RequestApplySnapshotChunk; /** * Creates a plain object from a RequestApplySnapshotChunk message. Also converts values to other types if specified. * @param message RequestApplySnapshotChunk * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.RequestApplySnapshotChunk, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RequestApplySnapshotChunk to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a RequestPrepareProposal. */ interface IRequestPrepareProposal { /** RequestPrepareProposal max_tx_bytes */ max_tx_bytes?: (Long|null); /** RequestPrepareProposal txs */ txs?: (Uint8Array[]|null); /** RequestPrepareProposal local_last_commit */ local_last_commit?: (cometbft.abci.IExtendedCommitInfo|null); /** RequestPrepareProposal misbehavior */ misbehavior?: (cometbft.abci.IMisbehavior[]|null); /** RequestPrepareProposal height */ height?: (Long|null); /** RequestPrepareProposal time */ time?: (google.protobuf.ITimestamp|null); /** RequestPrepareProposal next_validators_hash */ next_validators_hash?: (Uint8Array|null); /** RequestPrepareProposal proposer_address */ proposer_address?: (Uint8Array|null); } /** Represents a RequestPrepareProposal. */ class RequestPrepareProposal implements IRequestPrepareProposal { /** * Constructs a new RequestPrepareProposal. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IRequestPrepareProposal); /** RequestPrepareProposal max_tx_bytes. */ public max_tx_bytes: Long; /** RequestPrepareProposal txs. */ public txs: Uint8Array[]; /** RequestPrepareProposal local_last_commit. */ public local_last_commit?: (cometbft.abci.IExtendedCommitInfo|null); /** RequestPrepareProposal misbehavior. */ public misbehavior: cometbft.abci.IMisbehavior[]; /** RequestPrepareProposal height. */ public height: Long; /** RequestPrepareProposal time. */ public time?: (google.protobuf.ITimestamp|null); /** RequestPrepareProposal next_validators_hash. */ public next_validators_hash: Uint8Array; /** RequestPrepareProposal proposer_address. */ public proposer_address: Uint8Array; /** * Encodes the specified RequestPrepareProposal message. Does not implicitly {@link cometbft.abci.RequestPrepareProposal.verify|verify} messages. * @param message RequestPrepareProposal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IRequestPrepareProposal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RequestPrepareProposal message, length delimited. Does not implicitly {@link cometbft.abci.RequestPrepareProposal.verify|verify} messages. * @param message RequestPrepareProposal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IRequestPrepareProposal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RequestPrepareProposal message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RequestPrepareProposal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.RequestPrepareProposal; /** * Decodes a RequestPrepareProposal message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RequestPrepareProposal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.RequestPrepareProposal; /** * Verifies a RequestPrepareProposal message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RequestPrepareProposal message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RequestPrepareProposal */ public static fromObject(object: { [k: string]: any }): cometbft.abci.RequestPrepareProposal; /** * Creates a plain object from a RequestPrepareProposal message. Also converts values to other types if specified. * @param message RequestPrepareProposal * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.RequestPrepareProposal, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RequestPrepareProposal to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a RequestProcessProposal. */ interface IRequestProcessProposal { /** RequestProcessProposal txs */ txs?: (Uint8Array[]|null); /** RequestProcessProposal proposed_last_commit */ proposed_last_commit?: (cometbft.abci.ICommitInfo|null); /** RequestProcessProposal misbehavior */ misbehavior?: (cometbft.abci.IMisbehavior[]|null); /** RequestProcessProposal hash */ hash?: (Uint8Array|null); /** RequestProcessProposal height */ height?: (Long|null); /** RequestProcessProposal time */ time?: (google.protobuf.ITimestamp|null); /** RequestProcessProposal next_validators_hash */ next_validators_hash?: (Uint8Array|null); /** RequestProcessProposal proposer_address */ proposer_address?: (Uint8Array|null); } /** Represents a RequestProcessProposal. */ class RequestProcessProposal implements IRequestProcessProposal { /** * Constructs a new RequestProcessProposal. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IRequestProcessProposal); /** RequestProcessProposal txs. */ public txs: Uint8Array[]; /** RequestProcessProposal proposed_last_commit. */ public proposed_last_commit?: (cometbft.abci.ICommitInfo|null); /** RequestProcessProposal misbehavior. */ public misbehavior: cometbft.abci.IMisbehavior[]; /** RequestProcessProposal hash. */ public hash: Uint8Array; /** RequestProcessProposal height. */ public height: Long; /** RequestProcessProposal time. */ public time?: (google.protobuf.ITimestamp|null); /** RequestProcessProposal next_validators_hash. */ public next_validators_hash: Uint8Array; /** RequestProcessProposal proposer_address. */ public proposer_address: Uint8Array; /** * Encodes the specified RequestProcessProposal message. Does not implicitly {@link cometbft.abci.RequestProcessProposal.verify|verify} messages. * @param message RequestProcessProposal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IRequestProcessProposal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RequestProcessProposal message, length delimited. Does not implicitly {@link cometbft.abci.RequestProcessProposal.verify|verify} messages. * @param message RequestProcessProposal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IRequestProcessProposal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RequestProcessProposal message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RequestProcessProposal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.RequestProcessProposal; /** * Decodes a RequestProcessProposal message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RequestProcessProposal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.RequestProcessProposal; /** * Verifies a RequestProcessProposal message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RequestProcessProposal message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RequestProcessProposal */ public static fromObject(object: { [k: string]: any }): cometbft.abci.RequestProcessProposal; /** * Creates a plain object from a RequestProcessProposal message. Also converts values to other types if specified. * @param message RequestProcessProposal * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.RequestProcessProposal, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RequestProcessProposal to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Response. */ interface IResponse { /** Response exception */ exception?: (cometbft.abci.IResponseException|null); /** Response echo */ echo?: (cometbft.abci.IResponseEcho|null); /** Response flush */ flush?: (cometbft.abci.IResponseFlush|null); /** Response info */ info?: (cometbft.abci.IResponseInfo|null); /** Response init_chain */ init_chain?: (cometbft.abci.IResponseInitChain|null); /** Response query */ query?: (cometbft.abci.IResponseQuery|null); /** Response begin_block */ begin_block?: (cometbft.abci.IResponseBeginBlock|null); /** Response check_tx */ check_tx?: (cometbft.abci.IResponseCheckTx|null); /** Response deliver_tx */ deliver_tx?: (cometbft.abci.IResponseDeliverTx|null); /** Response end_block */ end_block?: (cometbft.abci.IResponseEndBlock|null); /** Response commit */ commit?: (cometbft.abci.IResponseCommit|null); /** Response list_snapshots */ list_snapshots?: (cometbft.abci.IResponseListSnapshots|null); /** Response offer_snapshot */ offer_snapshot?: (cometbft.abci.IResponseOfferSnapshot|null); /** Response load_snapshot_chunk */ load_snapshot_chunk?: (cometbft.abci.IResponseLoadSnapshotChunk|null); /** Response apply_snapshot_chunk */ apply_snapshot_chunk?: (cometbft.abci.IResponseApplySnapshotChunk|null); /** Response prepare_proposal */ prepare_proposal?: (cometbft.abci.IResponsePrepareProposal|null); /** Response process_proposal */ process_proposal?: (cometbft.abci.IResponseProcessProposal|null); } /** Represents a Response. */ class Response implements IResponse { /** * Constructs a new Response. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IResponse); /** Response exception. */ public exception?: (cometbft.abci.IResponseException|null); /** Response echo. */ public echo?: (cometbft.abci.IResponseEcho|null); /** Response flush. */ public flush?: (cometbft.abci.IResponseFlush|null); /** Response info. */ public info?: (cometbft.abci.IResponseInfo|null); /** Response init_chain. */ public init_chain?: (cometbft.abci.IResponseInitChain|null); /** Response query. */ public query?: (cometbft.abci.IResponseQuery|null); /** Response begin_block. */ public begin_block?: (cometbft.abci.IResponseBeginBlock|null); /** Response check_tx. */ public check_tx?: (cometbft.abci.IResponseCheckTx|null); /** Response deliver_tx. */ public deliver_tx?: (cometbft.abci.IResponseDeliverTx|null); /** Response end_block. */ public end_block?: (cometbft.abci.IResponseEndBlock|null); /** Response commit. */ public commit?: (cometbft.abci.IResponseCommit|null); /** Response list_snapshots. */ public list_snapshots?: (cometbft.abci.IResponseListSnapshots|null); /** Response offer_snapshot. */ public offer_snapshot?: (cometbft.abci.IResponseOfferSnapshot|null); /** Response load_snapshot_chunk. */ public load_snapshot_chunk?: (cometbft.abci.IResponseLoadSnapshotChunk|null); /** Response apply_snapshot_chunk. */ public apply_snapshot_chunk?: (cometbft.abci.IResponseApplySnapshotChunk|null); /** Response prepare_proposal. */ public prepare_proposal?: (cometbft.abci.IResponsePrepareProposal|null); /** Response process_proposal. */ public process_proposal?: (cometbft.abci.IResponseProcessProposal|null); /** Response value. */ public value?: ("exception"|"echo"|"flush"|"info"|"init_chain"|"query"|"begin_block"|"check_tx"|"deliver_tx"|"end_block"|"commit"|"list_snapshots"|"offer_snapshot"|"load_snapshot_chunk"|"apply_snapshot_chunk"|"prepare_proposal"|"process_proposal"); /** * Encodes the specified Response message. Does not implicitly {@link cometbft.abci.Response.verify|verify} messages. * @param message Response message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Response message, length delimited. Does not implicitly {@link cometbft.abci.Response.verify|verify} messages. * @param message Response message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Response message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Response * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.Response; /** * Decodes a Response message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Response * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.Response; /** * Verifies a Response message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Response message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Response */ public static fromObject(object: { [k: string]: any }): cometbft.abci.Response; /** * Creates a plain object from a Response message. Also converts values to other types if specified. * @param message Response * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.Response, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Response to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ResponseException. */ interface IResponseException { /** ResponseException error */ error?: (string|null); } /** Represents a ResponseException. */ class ResponseException implements IResponseException { /** * Constructs a new ResponseException. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IResponseException); /** ResponseException error. */ public error: string; /** * Encodes the specified ResponseException message. Does not implicitly {@link cometbft.abci.ResponseException.verify|verify} messages. * @param message ResponseException message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IResponseException, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ResponseException message, length delimited. Does not implicitly {@link cometbft.abci.ResponseException.verify|verify} messages. * @param message ResponseException message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IResponseException, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ResponseException message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ResponseException * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.ResponseException; /** * Decodes a ResponseException message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ResponseException * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.ResponseException; /** * Verifies a ResponseException message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ResponseException message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ResponseException */ public static fromObject(object: { [k: string]: any }): cometbft.abci.ResponseException; /** * Creates a plain object from a ResponseException message. Also converts values to other types if specified. * @param message ResponseException * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.ResponseException, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ResponseException to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ResponseEcho. */ interface IResponseEcho { /** ResponseEcho message */ message?: (string|null); } /** Represents a ResponseEcho. */ class ResponseEcho implements IResponseEcho { /** * Constructs a new ResponseEcho. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IResponseEcho); /** ResponseEcho message. */ public message: string; /** * Encodes the specified ResponseEcho message. Does not implicitly {@link cometbft.abci.ResponseEcho.verify|verify} messages. * @param message ResponseEcho message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IResponseEcho, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ResponseEcho message, length delimited. Does not implicitly {@link cometbft.abci.ResponseEcho.verify|verify} messages. * @param message ResponseEcho message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IResponseEcho, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ResponseEcho message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ResponseEcho * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.ResponseEcho; /** * Decodes a ResponseEcho message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ResponseEcho * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.ResponseEcho; /** * Verifies a ResponseEcho message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ResponseEcho message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ResponseEcho */ public static fromObject(object: { [k: string]: any }): cometbft.abci.ResponseEcho; /** * Creates a plain object from a ResponseEcho message. Also converts values to other types if specified. * @param message ResponseEcho * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.ResponseEcho, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ResponseEcho to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ResponseFlush. */ interface IResponseFlush { } /** Represents a ResponseFlush. */ class ResponseFlush implements IResponseFlush { /** * Constructs a new ResponseFlush. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IResponseFlush); /** * Encodes the specified ResponseFlush message. Does not implicitly {@link cometbft.abci.ResponseFlush.verify|verify} messages. * @param message ResponseFlush message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IResponseFlush, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ResponseFlush message, length delimited. Does not implicitly {@link cometbft.abci.ResponseFlush.verify|verify} messages. * @param message ResponseFlush message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IResponseFlush, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ResponseFlush message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ResponseFlush * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.ResponseFlush; /** * Decodes a ResponseFlush message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ResponseFlush * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.ResponseFlush; /** * Verifies a ResponseFlush message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ResponseFlush message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ResponseFlush */ public static fromObject(object: { [k: string]: any }): cometbft.abci.ResponseFlush; /** * Creates a plain object from a ResponseFlush message. Also converts values to other types if specified. * @param message ResponseFlush * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.ResponseFlush, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ResponseFlush to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ResponseInfo. */ interface IResponseInfo { /** ResponseInfo data */ data?: (string|null); /** ResponseInfo version */ version?: (string|null); /** ResponseInfo app_version */ app_version?: (Long|null); /** ResponseInfo last_block_height */ last_block_height?: (Long|null); /** ResponseInfo last_block_app_hash */ last_block_app_hash?: (Uint8Array|null); } /** Represents a ResponseInfo. */ class ResponseInfo implements IResponseInfo { /** * Constructs a new ResponseInfo. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IResponseInfo); /** ResponseInfo data. */ public data: string; /** ResponseInfo version. */ public version: string; /** ResponseInfo app_version. */ public app_version: Long; /** ResponseInfo last_block_height. */ public last_block_height: Long; /** ResponseInfo last_block_app_hash. */ public last_block_app_hash: Uint8Array; /** * Encodes the specified ResponseInfo message. Does not implicitly {@link cometbft.abci.ResponseInfo.verify|verify} messages. * @param message ResponseInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IResponseInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ResponseInfo message, length delimited. Does not implicitly {@link cometbft.abci.ResponseInfo.verify|verify} messages. * @param message ResponseInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IResponseInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ResponseInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ResponseInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.ResponseInfo; /** * Decodes a ResponseInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ResponseInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.ResponseInfo; /** * Verifies a ResponseInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ResponseInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ResponseInfo */ public static fromObject(object: { [k: string]: any }): cometbft.abci.ResponseInfo; /** * Creates a plain object from a ResponseInfo message. Also converts values to other types if specified. * @param message ResponseInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.ResponseInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ResponseInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ResponseInitChain. */ interface IResponseInitChain { /** ResponseInitChain consensus_params */ consensus_params?: (cometbft.types.IConsensusParams|null); /** ResponseInitChain validators */ validators?: (cometbft.abci.IValidatorUpdate[]|null); /** ResponseInitChain app_hash */ app_hash?: (Uint8Array|null); } /** Represents a ResponseInitChain. */ class ResponseInitChain implements IResponseInitChain { /** * Constructs a new ResponseInitChain. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IResponseInitChain); /** ResponseInitChain consensus_params. */ public consensus_params?: (cometbft.types.IConsensusParams|null); /** ResponseInitChain validators. */ public validators: cometbft.abci.IValidatorUpdate[]; /** ResponseInitChain app_hash. */ public app_hash: Uint8Array; /** * Encodes the specified ResponseInitChain message. Does not implicitly {@link cometbft.abci.ResponseInitChain.verify|verify} messages. * @param message ResponseInitChain message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IResponseInitChain, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ResponseInitChain message, length delimited. Does not implicitly {@link cometbft.abci.ResponseInitChain.verify|verify} messages. * @param message ResponseInitChain message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IResponseInitChain, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ResponseInitChain message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ResponseInitChain * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.ResponseInitChain; /** * Decodes a ResponseInitChain message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ResponseInitChain * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.ResponseInitChain; /** * Verifies a ResponseInitChain message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ResponseInitChain message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ResponseInitChain */ public static fromObject(object: { [k: string]: any }): cometbft.abci.ResponseInitChain; /** * Creates a plain object from a ResponseInitChain message. Also converts values to other types if specified. * @param message ResponseInitChain * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.ResponseInitChain, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ResponseInitChain to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ResponseQuery. */ interface IResponseQuery { /** ResponseQuery code */ code?: (number|null); /** ResponseQuery log */ log?: (string|null); /** ResponseQuery info */ info?: (string|null); /** ResponseQuery index */ index?: (Long|null); /** ResponseQuery key */ key?: (Uint8Array|null); /** ResponseQuery value */ value?: (Uint8Array|null); /** ResponseQuery proof_ops */ proof_ops?: (cometbft.crypto.IProofOps|null); /** ResponseQuery height */ height?: (Long|null); /** ResponseQuery codespace */ codespace?: (string|null); } /** Represents a ResponseQuery. */ class ResponseQuery implements IResponseQuery { /** * Constructs a new ResponseQuery. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IResponseQuery); /** ResponseQuery code. */ public code: number; /** ResponseQuery log. */ public log: string; /** ResponseQuery info. */ public info: string; /** ResponseQuery index. */ public index: Long; /** ResponseQuery key. */ public key: Uint8Array; /** ResponseQuery value. */ public value: Uint8Array; /** ResponseQuery proof_ops. */ public proof_ops?: (cometbft.crypto.IProofOps|null); /** ResponseQuery height. */ public height: Long; /** ResponseQuery codespace. */ public codespace: string; /** * Encodes the specified ResponseQuery message. Does not implicitly {@link cometbft.abci.ResponseQuery.verify|verify} messages. * @param message ResponseQuery message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IResponseQuery, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ResponseQuery message, length delimited. Does not implicitly {@link cometbft.abci.ResponseQuery.verify|verify} messages. * @param message ResponseQuery message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IResponseQuery, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ResponseQuery message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ResponseQuery * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.ResponseQuery; /** * Decodes a ResponseQuery message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ResponseQuery * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.ResponseQuery; /** * Verifies a ResponseQuery message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ResponseQuery message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ResponseQuery */ public static fromObject(object: { [k: string]: any }): cometbft.abci.ResponseQuery; /** * Creates a plain object from a ResponseQuery message. Also converts values to other types if specified. * @param message ResponseQuery * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.ResponseQuery, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ResponseQuery to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ResponseBeginBlock. */ interface IResponseBeginBlock { /** ResponseBeginBlock events */ events?: (cometbft.abci.IEvent[]|null); } /** Represents a ResponseBeginBlock. */ class ResponseBeginBlock implements IResponseBeginBlock { /** * Constructs a new ResponseBeginBlock. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IResponseBeginBlock); /** ResponseBeginBlock events. */ public events: cometbft.abci.IEvent[]; /** * Encodes the specified ResponseBeginBlock message. Does not implicitly {@link cometbft.abci.ResponseBeginBlock.verify|verify} messages. * @param message ResponseBeginBlock message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IResponseBeginBlock, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ResponseBeginBlock message, length delimited. Does not implicitly {@link cometbft.abci.ResponseBeginBlock.verify|verify} messages. * @param message ResponseBeginBlock message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IResponseBeginBlock, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ResponseBeginBlock message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ResponseBeginBlock * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.ResponseBeginBlock; /** * Decodes a ResponseBeginBlock message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ResponseBeginBlock * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.ResponseBeginBlock; /** * Verifies a ResponseBeginBlock message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ResponseBeginBlock message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ResponseBeginBlock */ public static fromObject(object: { [k: string]: any }): cometbft.abci.ResponseBeginBlock; /** * Creates a plain object from a ResponseBeginBlock message. Also converts values to other types if specified. * @param message ResponseBeginBlock * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.ResponseBeginBlock, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ResponseBeginBlock to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ResponseCheckTx. */ interface IResponseCheckTx { /** ResponseCheckTx code */ code?: (number|null); /** ResponseCheckTx data */ data?: (Uint8Array|null); /** ResponseCheckTx log */ log?: (string|null); /** ResponseCheckTx info */ info?: (string|null); /** ResponseCheckTx gas_wanted */ gas_wanted?: (Long|null); /** ResponseCheckTx gas_used */ gas_used?: (Long|null); /** ResponseCheckTx events */ events?: (cometbft.abci.IEvent[]|null); /** ResponseCheckTx codespace */ codespace?: (string|null); /** ResponseCheckTx sender */ sender?: (string|null); /** ResponseCheckTx priority */ priority?: (Long|null); /** ResponseCheckTx mempool_error */ mempool_error?: (string|null); } /** Represents a ResponseCheckTx. */ class ResponseCheckTx implements IResponseCheckTx { /** * Constructs a new ResponseCheckTx. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IResponseCheckTx); /** ResponseCheckTx code. */ public code: number; /** ResponseCheckTx data. */ public data: Uint8Array; /** ResponseCheckTx log. */ public log: string; /** ResponseCheckTx info. */ public info: string; /** ResponseCheckTx gas_wanted. */ public gas_wanted: Long; /** ResponseCheckTx gas_used. */ public gas_used: Long; /** ResponseCheckTx events. */ public events: cometbft.abci.IEvent[]; /** ResponseCheckTx codespace. */ public codespace: string; /** ResponseCheckTx sender. */ public sender: string; /** ResponseCheckTx priority. */ public priority: Long; /** ResponseCheckTx mempool_error. */ public mempool_error: string; /** * Encodes the specified ResponseCheckTx message. Does not implicitly {@link cometbft.abci.ResponseCheckTx.verify|verify} messages. * @param message ResponseCheckTx message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IResponseCheckTx, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ResponseCheckTx message, length delimited. Does not implicitly {@link cometbft.abci.ResponseCheckTx.verify|verify} messages. * @param message ResponseCheckTx message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IResponseCheckTx, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ResponseCheckTx message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ResponseCheckTx * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.ResponseCheckTx; /** * Decodes a ResponseCheckTx message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ResponseCheckTx * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.ResponseCheckTx; /** * Verifies a ResponseCheckTx message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ResponseCheckTx message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ResponseCheckTx */ public static fromObject(object: { [k: string]: any }): cometbft.abci.ResponseCheckTx; /** * Creates a plain object from a ResponseCheckTx message. Also converts values to other types if specified. * @param message ResponseCheckTx * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.ResponseCheckTx, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ResponseCheckTx to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ResponseDeliverTx. */ interface IResponseDeliverTx { /** ResponseDeliverTx code */ code?: (number|null); /** ResponseDeliverTx data */ data?: (Uint8Array|null); /** ResponseDeliverTx log */ log?: (string|null); /** ResponseDeliverTx info */ info?: (string|null); /** ResponseDeliverTx gas_wanted */ gas_wanted?: (Long|null); /** ResponseDeliverTx gas_used */ gas_used?: (Long|null); /** ResponseDeliverTx events */ events?: (cometbft.abci.IEvent[]|null); /** ResponseDeliverTx codespace */ codespace?: (string|null); } /** Represents a ResponseDeliverTx. */ class ResponseDeliverTx implements IResponseDeliverTx { /** * Constructs a new ResponseDeliverTx. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IResponseDeliverTx); /** ResponseDeliverTx code. */ public code: number; /** ResponseDeliverTx data. */ public data: Uint8Array; /** ResponseDeliverTx log. */ public log: string; /** ResponseDeliverTx info. */ public info: string; /** ResponseDeliverTx gas_wanted. */ public gas_wanted: Long; /** ResponseDeliverTx gas_used. */ public gas_used: Long; /** ResponseDeliverTx events. */ public events: cometbft.abci.IEvent[]; /** ResponseDeliverTx codespace. */ public codespace: string; /** * Encodes the specified ResponseDeliverTx message. Does not implicitly {@link cometbft.abci.ResponseDeliverTx.verify|verify} messages. * @param message ResponseDeliverTx message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IResponseDeliverTx, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ResponseDeliverTx message, length delimited. Does not implicitly {@link cometbft.abci.ResponseDeliverTx.verify|verify} messages. * @param message ResponseDeliverTx message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IResponseDeliverTx, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ResponseDeliverTx message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ResponseDeliverTx * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.ResponseDeliverTx; /** * Decodes a ResponseDeliverTx message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ResponseDeliverTx * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.ResponseDeliverTx; /** * Verifies a ResponseDeliverTx message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ResponseDeliverTx message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ResponseDeliverTx */ public static fromObject(object: { [k: string]: any }): cometbft.abci.ResponseDeliverTx; /** * Creates a plain object from a ResponseDeliverTx message. Also converts values to other types if specified. * @param message ResponseDeliverTx * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.ResponseDeliverTx, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ResponseDeliverTx to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ResponseEndBlock. */ interface IResponseEndBlock { /** ResponseEndBlock validator_updates */ validator_updates?: (cometbft.abci.IValidatorUpdate[]|null); /** ResponseEndBlock consensus_param_updates */ consensus_param_updates?: (cometbft.types.IConsensusParams|null); /** ResponseEndBlock events */ events?: (cometbft.abci.IEvent[]|null); } /** Represents a ResponseEndBlock. */ class ResponseEndBlock implements IResponseEndBlock { /** * Constructs a new ResponseEndBlock. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IResponseEndBlock); /** ResponseEndBlock validator_updates. */ public validator_updates: cometbft.abci.IValidatorUpdate[]; /** ResponseEndBlock consensus_param_updates. */ public consensus_param_updates?: (cometbft.types.IConsensusParams|null); /** ResponseEndBlock events. */ public events: cometbft.abci.IEvent[]; /** * Encodes the specified ResponseEndBlock message. Does not implicitly {@link cometbft.abci.ResponseEndBlock.verify|verify} messages. * @param message ResponseEndBlock message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IResponseEndBlock, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ResponseEndBlock message, length delimited. Does not implicitly {@link cometbft.abci.ResponseEndBlock.verify|verify} messages. * @param message ResponseEndBlock message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IResponseEndBlock, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ResponseEndBlock message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ResponseEndBlock * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.ResponseEndBlock; /** * Decodes a ResponseEndBlock message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ResponseEndBlock * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.ResponseEndBlock; /** * Verifies a ResponseEndBlock message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ResponseEndBlock message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ResponseEndBlock */ public static fromObject(object: { [k: string]: any }): cometbft.abci.ResponseEndBlock; /** * Creates a plain object from a ResponseEndBlock message. Also converts values to other types if specified. * @param message ResponseEndBlock * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.ResponseEndBlock, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ResponseEndBlock to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ResponseCommit. */ interface IResponseCommit { /** ResponseCommit data */ data?: (Uint8Array|null); /** ResponseCommit retain_height */ retain_height?: (Long|null); } /** Represents a ResponseCommit. */ class ResponseCommit implements IResponseCommit { /** * Constructs a new ResponseCommit. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IResponseCommit); /** ResponseCommit data. */ public data: Uint8Array; /** ResponseCommit retain_height. */ public retain_height: Long; /** * Encodes the specified ResponseCommit message. Does not implicitly {@link cometbft.abci.ResponseCommit.verify|verify} messages. * @param message ResponseCommit message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IResponseCommit, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ResponseCommit message, length delimited. Does not implicitly {@link cometbft.abci.ResponseCommit.verify|verify} messages. * @param message ResponseCommit message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IResponseCommit, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ResponseCommit message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ResponseCommit * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.ResponseCommit; /** * Decodes a ResponseCommit message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ResponseCommit * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.ResponseCommit; /** * Verifies a ResponseCommit message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ResponseCommit message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ResponseCommit */ public static fromObject(object: { [k: string]: any }): cometbft.abci.ResponseCommit; /** * Creates a plain object from a ResponseCommit message. Also converts values to other types if specified. * @param message ResponseCommit * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.ResponseCommit, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ResponseCommit to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ResponseListSnapshots. */ interface IResponseListSnapshots { /** ResponseListSnapshots snapshots */ snapshots?: (cometbft.abci.ISnapshot[]|null); } /** Represents a ResponseListSnapshots. */ class ResponseListSnapshots implements IResponseListSnapshots { /** * Constructs a new ResponseListSnapshots. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IResponseListSnapshots); /** ResponseListSnapshots snapshots. */ public snapshots: cometbft.abci.ISnapshot[]; /** * Encodes the specified ResponseListSnapshots message. Does not implicitly {@link cometbft.abci.ResponseListSnapshots.verify|verify} messages. * @param message ResponseListSnapshots message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IResponseListSnapshots, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ResponseListSnapshots message, length delimited. Does not implicitly {@link cometbft.abci.ResponseListSnapshots.verify|verify} messages. * @param message ResponseListSnapshots message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IResponseListSnapshots, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ResponseListSnapshots message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ResponseListSnapshots * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.ResponseListSnapshots; /** * Decodes a ResponseListSnapshots message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ResponseListSnapshots * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.ResponseListSnapshots; /** * Verifies a ResponseListSnapshots message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ResponseListSnapshots message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ResponseListSnapshots */ public static fromObject(object: { [k: string]: any }): cometbft.abci.ResponseListSnapshots; /** * Creates a plain object from a ResponseListSnapshots message. Also converts values to other types if specified. * @param message ResponseListSnapshots * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.ResponseListSnapshots, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ResponseListSnapshots to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ResponseOfferSnapshot. */ interface IResponseOfferSnapshot { /** ResponseOfferSnapshot result */ result?: (cometbft.abci.ResponseOfferSnapshot.Result|null); } /** Represents a ResponseOfferSnapshot. */ class ResponseOfferSnapshot implements IResponseOfferSnapshot { /** * Constructs a new ResponseOfferSnapshot. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IResponseOfferSnapshot); /** ResponseOfferSnapshot result. */ public result: cometbft.abci.ResponseOfferSnapshot.Result; /** * Encodes the specified ResponseOfferSnapshot message. Does not implicitly {@link cometbft.abci.ResponseOfferSnapshot.verify|verify} messages. * @param message ResponseOfferSnapshot message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IResponseOfferSnapshot, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ResponseOfferSnapshot message, length delimited. Does not implicitly {@link cometbft.abci.ResponseOfferSnapshot.verify|verify} messages. * @param message ResponseOfferSnapshot message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IResponseOfferSnapshot, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ResponseOfferSnapshot message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ResponseOfferSnapshot * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.ResponseOfferSnapshot; /** * Decodes a ResponseOfferSnapshot message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ResponseOfferSnapshot * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.ResponseOfferSnapshot; /** * Verifies a ResponseOfferSnapshot message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ResponseOfferSnapshot message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ResponseOfferSnapshot */ public static fromObject(object: { [k: string]: any }): cometbft.abci.ResponseOfferSnapshot; /** * Creates a plain object from a ResponseOfferSnapshot message. Also converts values to other types if specified. * @param message ResponseOfferSnapshot * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.ResponseOfferSnapshot, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ResponseOfferSnapshot to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } namespace ResponseOfferSnapshot { /** Result enum. */ enum Result { UNKNOWN = 0, ACCEPT = 1, ABORT = 2, REJECT = 3, REJECT_FORMAT = 4, REJECT_SENDER = 5 } } /** Properties of a ResponseLoadSnapshotChunk. */ interface IResponseLoadSnapshotChunk { /** ResponseLoadSnapshotChunk chunk */ chunk?: (Uint8Array|null); } /** Represents a ResponseLoadSnapshotChunk. */ class ResponseLoadSnapshotChunk implements IResponseLoadSnapshotChunk { /** * Constructs a new ResponseLoadSnapshotChunk. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IResponseLoadSnapshotChunk); /** ResponseLoadSnapshotChunk chunk. */ public chunk: Uint8Array; /** * Encodes the specified ResponseLoadSnapshotChunk message. Does not implicitly {@link cometbft.abci.ResponseLoadSnapshotChunk.verify|verify} messages. * @param message ResponseLoadSnapshotChunk message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IResponseLoadSnapshotChunk, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ResponseLoadSnapshotChunk message, length delimited. Does not implicitly {@link cometbft.abci.ResponseLoadSnapshotChunk.verify|verify} messages. * @param message ResponseLoadSnapshotChunk message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IResponseLoadSnapshotChunk, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ResponseLoadSnapshotChunk message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ResponseLoadSnapshotChunk * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.ResponseLoadSnapshotChunk; /** * Decodes a ResponseLoadSnapshotChunk message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ResponseLoadSnapshotChunk * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.ResponseLoadSnapshotChunk; /** * Verifies a ResponseLoadSnapshotChunk message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ResponseLoadSnapshotChunk message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ResponseLoadSnapshotChunk */ public static fromObject(object: { [k: string]: any }): cometbft.abci.ResponseLoadSnapshotChunk; /** * Creates a plain object from a ResponseLoadSnapshotChunk message. Also converts values to other types if specified. * @param message ResponseLoadSnapshotChunk * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.ResponseLoadSnapshotChunk, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ResponseLoadSnapshotChunk to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ResponseApplySnapshotChunk. */ interface IResponseApplySnapshotChunk { /** ResponseApplySnapshotChunk result */ result?: (cometbft.abci.ResponseApplySnapshotChunk.Result|null); /** ResponseApplySnapshotChunk refetch_chunks */ refetch_chunks?: (number[]|null); /** ResponseApplySnapshotChunk reject_senders */ reject_senders?: (string[]|null); } /** Represents a ResponseApplySnapshotChunk. */ class ResponseApplySnapshotChunk implements IResponseApplySnapshotChunk { /** * Constructs a new ResponseApplySnapshotChunk. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IResponseApplySnapshotChunk); /** ResponseApplySnapshotChunk result. */ public result: cometbft.abci.ResponseApplySnapshotChunk.Result; /** ResponseApplySnapshotChunk refetch_chunks. */ public refetch_chunks: number[]; /** ResponseApplySnapshotChunk reject_senders. */ public reject_senders: string[]; /** * Encodes the specified ResponseApplySnapshotChunk message. Does not implicitly {@link cometbft.abci.ResponseApplySnapshotChunk.verify|verify} messages. * @param message ResponseApplySnapshotChunk message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IResponseApplySnapshotChunk, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ResponseApplySnapshotChunk message, length delimited. Does not implicitly {@link cometbft.abci.ResponseApplySnapshotChunk.verify|verify} messages. * @param message ResponseApplySnapshotChunk message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IResponseApplySnapshotChunk, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ResponseApplySnapshotChunk message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ResponseApplySnapshotChunk * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.ResponseApplySnapshotChunk; /** * Decodes a ResponseApplySnapshotChunk message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ResponseApplySnapshotChunk * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.ResponseApplySnapshotChunk; /** * Verifies a ResponseApplySnapshotChunk message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ResponseApplySnapshotChunk message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ResponseApplySnapshotChunk */ public static fromObject(object: { [k: string]: any }): cometbft.abci.ResponseApplySnapshotChunk; /** * Creates a plain object from a ResponseApplySnapshotChunk message. Also converts values to other types if specified. * @param message ResponseApplySnapshotChunk * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.ResponseApplySnapshotChunk, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ResponseApplySnapshotChunk to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } namespace ResponseApplySnapshotChunk { /** Result enum. */ enum Result { UNKNOWN = 0, ACCEPT = 1, ABORT = 2, RETRY = 3, RETRY_SNAPSHOT = 4, REJECT_SNAPSHOT = 5 } } /** Properties of a ResponsePrepareProposal. */ interface IResponsePrepareProposal { /** ResponsePrepareProposal txs */ txs?: (Uint8Array[]|null); } /** Represents a ResponsePrepareProposal. */ class ResponsePrepareProposal implements IResponsePrepareProposal { /** * Constructs a new ResponsePrepareProposal. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IResponsePrepareProposal); /** ResponsePrepareProposal txs. */ public txs: Uint8Array[]; /** * Encodes the specified ResponsePrepareProposal message. Does not implicitly {@link cometbft.abci.ResponsePrepareProposal.verify|verify} messages. * @param message ResponsePrepareProposal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IResponsePrepareProposal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ResponsePrepareProposal message, length delimited. Does not implicitly {@link cometbft.abci.ResponsePrepareProposal.verify|verify} messages. * @param message ResponsePrepareProposal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IResponsePrepareProposal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ResponsePrepareProposal message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ResponsePrepareProposal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.ResponsePrepareProposal; /** * Decodes a ResponsePrepareProposal message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ResponsePrepareProposal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.ResponsePrepareProposal; /** * Verifies a ResponsePrepareProposal message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ResponsePrepareProposal message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ResponsePrepareProposal */ public static fromObject(object: { [k: string]: any }): cometbft.abci.ResponsePrepareProposal; /** * Creates a plain object from a ResponsePrepareProposal message. Also converts values to other types if specified. * @param message ResponsePrepareProposal * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.ResponsePrepareProposal, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ResponsePrepareProposal to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ResponseProcessProposal. */ interface IResponseProcessProposal { /** ResponseProcessProposal status */ status?: (cometbft.abci.ResponseProcessProposal.ProposalStatus|null); } /** Represents a ResponseProcessProposal. */ class ResponseProcessProposal implements IResponseProcessProposal { /** * Constructs a new ResponseProcessProposal. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IResponseProcessProposal); /** ResponseProcessProposal status. */ public status: cometbft.abci.ResponseProcessProposal.ProposalStatus; /** * Encodes the specified ResponseProcessProposal message. Does not implicitly {@link cometbft.abci.ResponseProcessProposal.verify|verify} messages. * @param message ResponseProcessProposal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IResponseProcessProposal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ResponseProcessProposal message, length delimited. Does not implicitly {@link cometbft.abci.ResponseProcessProposal.verify|verify} messages. * @param message ResponseProcessProposal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IResponseProcessProposal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ResponseProcessProposal message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ResponseProcessProposal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.ResponseProcessProposal; /** * Decodes a ResponseProcessProposal message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ResponseProcessProposal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.ResponseProcessProposal; /** * Verifies a ResponseProcessProposal message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ResponseProcessProposal message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ResponseProcessProposal */ public static fromObject(object: { [k: string]: any }): cometbft.abci.ResponseProcessProposal; /** * Creates a plain object from a ResponseProcessProposal message. Also converts values to other types if specified. * @param message ResponseProcessProposal * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.ResponseProcessProposal, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ResponseProcessProposal to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } namespace ResponseProcessProposal { /** ProposalStatus enum. */ enum ProposalStatus { UNKNOWN = 0, ACCEPT = 1, REJECT = 2 } } /** Properties of a CommitInfo. */ interface ICommitInfo { /** CommitInfo round */ round?: (number|null); /** CommitInfo votes */ votes?: (cometbft.abci.IVoteInfo[]|null); } /** Represents a CommitInfo. */ class CommitInfo implements ICommitInfo { /** * Constructs a new CommitInfo. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.ICommitInfo); /** CommitInfo round. */ public round: number; /** CommitInfo votes. */ public votes: cometbft.abci.IVoteInfo[]; /** * Encodes the specified CommitInfo message. Does not implicitly {@link cometbft.abci.CommitInfo.verify|verify} messages. * @param message CommitInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.ICommitInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CommitInfo message, length delimited. Does not implicitly {@link cometbft.abci.CommitInfo.verify|verify} messages. * @param message CommitInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.ICommitInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CommitInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CommitInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.CommitInfo; /** * Decodes a CommitInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CommitInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.CommitInfo; /** * Verifies a CommitInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CommitInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CommitInfo */ public static fromObject(object: { [k: string]: any }): cometbft.abci.CommitInfo; /** * Creates a plain object from a CommitInfo message. Also converts values to other types if specified. * @param message CommitInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.CommitInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CommitInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an ExtendedCommitInfo. */ interface IExtendedCommitInfo { /** ExtendedCommitInfo round */ round?: (number|null); /** ExtendedCommitInfo votes */ votes?: (cometbft.abci.IExtendedVoteInfo[]|null); } /** Represents an ExtendedCommitInfo. */ class ExtendedCommitInfo implements IExtendedCommitInfo { /** * Constructs a new ExtendedCommitInfo. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IExtendedCommitInfo); /** ExtendedCommitInfo round. */ public round: number; /** ExtendedCommitInfo votes. */ public votes: cometbft.abci.IExtendedVoteInfo[]; /** * Encodes the specified ExtendedCommitInfo message. Does not implicitly {@link cometbft.abci.ExtendedCommitInfo.verify|verify} messages. * @param message ExtendedCommitInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IExtendedCommitInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ExtendedCommitInfo message, length delimited. Does not implicitly {@link cometbft.abci.ExtendedCommitInfo.verify|verify} messages. * @param message ExtendedCommitInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IExtendedCommitInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ExtendedCommitInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ExtendedCommitInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.ExtendedCommitInfo; /** * Decodes an ExtendedCommitInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ExtendedCommitInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.ExtendedCommitInfo; /** * Verifies an ExtendedCommitInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an ExtendedCommitInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ExtendedCommitInfo */ public static fromObject(object: { [k: string]: any }): cometbft.abci.ExtendedCommitInfo; /** * Creates a plain object from an ExtendedCommitInfo message. Also converts values to other types if specified. * @param message ExtendedCommitInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.ExtendedCommitInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ExtendedCommitInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an Event. */ interface IEvent { /** Event type */ type?: (string|null); /** Event attributes */ attributes?: (cometbft.abci.IEventAttribute[]|null); } /** Represents an Event. */ class Event implements IEvent { /** * Constructs a new Event. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IEvent); /** Event type. */ public type: string; /** Event attributes. */ public attributes: cometbft.abci.IEventAttribute[]; /** * Encodes the specified Event message. Does not implicitly {@link cometbft.abci.Event.verify|verify} messages. * @param message Event message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IEvent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Event message, length delimited. Does not implicitly {@link cometbft.abci.Event.verify|verify} messages. * @param message Event message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IEvent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Event message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Event * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.Event; /** * Decodes an Event message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Event * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.Event; /** * Verifies an Event message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Event message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Event */ public static fromObject(object: { [k: string]: any }): cometbft.abci.Event; /** * Creates a plain object from an Event message. Also converts values to other types if specified. * @param message Event * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.Event, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Event to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an EventAttribute. */ interface IEventAttribute { /** EventAttribute key */ key?: (string|null); /** EventAttribute value */ value?: (string|null); /** EventAttribute index */ index?: (boolean|null); } /** Represents an EventAttribute. */ class EventAttribute implements IEventAttribute { /** * Constructs a new EventAttribute. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IEventAttribute); /** EventAttribute key. */ public key: string; /** EventAttribute value. */ public value: string; /** EventAttribute index. */ public index: boolean; /** * Encodes the specified EventAttribute message. Does not implicitly {@link cometbft.abci.EventAttribute.verify|verify} messages. * @param message EventAttribute message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IEventAttribute, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EventAttribute message, length delimited. Does not implicitly {@link cometbft.abci.EventAttribute.verify|verify} messages. * @param message EventAttribute message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IEventAttribute, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EventAttribute message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EventAttribute * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.EventAttribute; /** * Decodes an EventAttribute message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EventAttribute * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.EventAttribute; /** * Verifies an EventAttribute message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EventAttribute message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EventAttribute */ public static fromObject(object: { [k: string]: any }): cometbft.abci.EventAttribute; /** * Creates a plain object from an EventAttribute message. Also converts values to other types if specified. * @param message EventAttribute * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.EventAttribute, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EventAttribute to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a TxResult. */ interface ITxResult { /** TxResult height */ height?: (Long|null); /** TxResult index */ index?: (number|null); /** TxResult tx */ tx?: (Uint8Array|null); /** TxResult result */ result?: (cometbft.abci.IResponseDeliverTx|null); } /** Represents a TxResult. */ class TxResult implements ITxResult { /** * Constructs a new TxResult. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.ITxResult); /** TxResult height. */ public height: Long; /** TxResult index. */ public index: number; /** TxResult tx. */ public tx: Uint8Array; /** TxResult result. */ public result?: (cometbft.abci.IResponseDeliverTx|null); /** * Encodes the specified TxResult message. Does not implicitly {@link cometbft.abci.TxResult.verify|verify} messages. * @param message TxResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.ITxResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TxResult message, length delimited. Does not implicitly {@link cometbft.abci.TxResult.verify|verify} messages. * @param message TxResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.ITxResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TxResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TxResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.TxResult; /** * Decodes a TxResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TxResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.TxResult; /** * Verifies a TxResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TxResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TxResult */ public static fromObject(object: { [k: string]: any }): cometbft.abci.TxResult; /** * Creates a plain object from a TxResult message. Also converts values to other types if specified. * @param message TxResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.TxResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TxResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Validator. */ interface IValidator { /** Validator address */ address?: (Uint8Array|null); /** Validator power */ power?: (Long|null); } /** Represents a Validator. */ class Validator implements IValidator { /** * Constructs a new Validator. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IValidator); /** Validator address. */ public address: Uint8Array; /** Validator power. */ public power: Long; /** * Encodes the specified Validator message. Does not implicitly {@link cometbft.abci.Validator.verify|verify} messages. * @param message Validator message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IValidator, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Validator message, length delimited. Does not implicitly {@link cometbft.abci.Validator.verify|verify} messages. * @param message Validator message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IValidator, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Validator message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Validator * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.Validator; /** * Decodes a Validator message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Validator * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.Validator; /** * Verifies a Validator message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Validator message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Validator */ public static fromObject(object: { [k: string]: any }): cometbft.abci.Validator; /** * Creates a plain object from a Validator message. Also converts values to other types if specified. * @param message Validator * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.Validator, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Validator to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ValidatorUpdate. */ interface IValidatorUpdate { /** ValidatorUpdate pub_key */ pub_key?: (cometbft.crypto.IPublicKey|null); /** ValidatorUpdate power */ power?: (Long|null); } /** Represents a ValidatorUpdate. */ class ValidatorUpdate implements IValidatorUpdate { /** * Constructs a new ValidatorUpdate. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IValidatorUpdate); /** ValidatorUpdate pub_key. */ public pub_key?: (cometbft.crypto.IPublicKey|null); /** ValidatorUpdate power. */ public power: Long; /** * Encodes the specified ValidatorUpdate message. Does not implicitly {@link cometbft.abci.ValidatorUpdate.verify|verify} messages. * @param message ValidatorUpdate message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IValidatorUpdate, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ValidatorUpdate message, length delimited. Does not implicitly {@link cometbft.abci.ValidatorUpdate.verify|verify} messages. * @param message ValidatorUpdate message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IValidatorUpdate, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ValidatorUpdate message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ValidatorUpdate * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.ValidatorUpdate; /** * Decodes a ValidatorUpdate message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ValidatorUpdate * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.ValidatorUpdate; /** * Verifies a ValidatorUpdate message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ValidatorUpdate message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ValidatorUpdate */ public static fromObject(object: { [k: string]: any }): cometbft.abci.ValidatorUpdate; /** * Creates a plain object from a ValidatorUpdate message. Also converts values to other types if specified. * @param message ValidatorUpdate * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.ValidatorUpdate, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ValidatorUpdate to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a VoteInfo. */ interface IVoteInfo { /** VoteInfo validator */ validator?: (cometbft.abci.IValidator|null); /** VoteInfo signed_last_block */ signed_last_block?: (boolean|null); } /** Represents a VoteInfo. */ class VoteInfo implements IVoteInfo { /** * Constructs a new VoteInfo. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IVoteInfo); /** VoteInfo validator. */ public validator?: (cometbft.abci.IValidator|null); /** VoteInfo signed_last_block. */ public signed_last_block: boolean; /** * Encodes the specified VoteInfo message. Does not implicitly {@link cometbft.abci.VoteInfo.verify|verify} messages. * @param message VoteInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IVoteInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified VoteInfo message, length delimited. Does not implicitly {@link cometbft.abci.VoteInfo.verify|verify} messages. * @param message VoteInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IVoteInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a VoteInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns VoteInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.VoteInfo; /** * Decodes a VoteInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns VoteInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.VoteInfo; /** * Verifies a VoteInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a VoteInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns VoteInfo */ public static fromObject(object: { [k: string]: any }): cometbft.abci.VoteInfo; /** * Creates a plain object from a VoteInfo message. Also converts values to other types if specified. * @param message VoteInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.VoteInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this VoteInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an ExtendedVoteInfo. */ interface IExtendedVoteInfo { /** ExtendedVoteInfo validator */ validator?: (cometbft.abci.IValidator|null); /** ExtendedVoteInfo signed_last_block */ signed_last_block?: (boolean|null); /** ExtendedVoteInfo vote_extension */ vote_extension?: (Uint8Array|null); } /** Represents an ExtendedVoteInfo. */ class ExtendedVoteInfo implements IExtendedVoteInfo { /** * Constructs a new ExtendedVoteInfo. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IExtendedVoteInfo); /** ExtendedVoteInfo validator. */ public validator?: (cometbft.abci.IValidator|null); /** ExtendedVoteInfo signed_last_block. */ public signed_last_block: boolean; /** ExtendedVoteInfo vote_extension. */ public vote_extension: Uint8Array; /** * Encodes the specified ExtendedVoteInfo message. Does not implicitly {@link cometbft.abci.ExtendedVoteInfo.verify|verify} messages. * @param message ExtendedVoteInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IExtendedVoteInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ExtendedVoteInfo message, length delimited. Does not implicitly {@link cometbft.abci.ExtendedVoteInfo.verify|verify} messages. * @param message ExtendedVoteInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IExtendedVoteInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ExtendedVoteInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ExtendedVoteInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.ExtendedVoteInfo; /** * Decodes an ExtendedVoteInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ExtendedVoteInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.ExtendedVoteInfo; /** * Verifies an ExtendedVoteInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an ExtendedVoteInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ExtendedVoteInfo */ public static fromObject(object: { [k: string]: any }): cometbft.abci.ExtendedVoteInfo; /** * Creates a plain object from an ExtendedVoteInfo message. Also converts values to other types if specified. * @param message ExtendedVoteInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.ExtendedVoteInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ExtendedVoteInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** MisbehaviorType enum. */ enum MisbehaviorType { UNKNOWN = 0, DUPLICATE_VOTE = 1, LIGHT_CLIENT_ATTACK = 2 } /** Properties of a Misbehavior. */ interface IMisbehavior { /** Misbehavior type */ type?: (cometbft.abci.MisbehaviorType|null); /** Misbehavior validator */ validator?: (cometbft.abci.IValidator|null); /** Misbehavior height */ height?: (Long|null); /** Misbehavior time */ time?: (google.protobuf.ITimestamp|null); /** Misbehavior total_voting_power */ total_voting_power?: (Long|null); } /** Represents a Misbehavior. */ class Misbehavior implements IMisbehavior { /** * Constructs a new Misbehavior. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.IMisbehavior); /** Misbehavior type. */ public type: cometbft.abci.MisbehaviorType; /** Misbehavior validator. */ public validator?: (cometbft.abci.IValidator|null); /** Misbehavior height. */ public height: Long; /** Misbehavior time. */ public time?: (google.protobuf.ITimestamp|null); /** Misbehavior total_voting_power. */ public total_voting_power: Long; /** * Encodes the specified Misbehavior message. Does not implicitly {@link cometbft.abci.Misbehavior.verify|verify} messages. * @param message Misbehavior message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.IMisbehavior, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Misbehavior message, length delimited. Does not implicitly {@link cometbft.abci.Misbehavior.verify|verify} messages. * @param message Misbehavior message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.IMisbehavior, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Misbehavior message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Misbehavior * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.Misbehavior; /** * Decodes a Misbehavior message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Misbehavior * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.Misbehavior; /** * Verifies a Misbehavior message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Misbehavior message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Misbehavior */ public static fromObject(object: { [k: string]: any }): cometbft.abci.Misbehavior; /** * Creates a plain object from a Misbehavior message. Also converts values to other types if specified. * @param message Misbehavior * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.Misbehavior, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Misbehavior to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Snapshot. */ interface ISnapshot { /** Snapshot height */ height?: (Long|null); /** Snapshot format */ format?: (number|null); /** Snapshot chunks */ chunks?: (number|null); /** Snapshot hash */ hash?: (Uint8Array|null); /** Snapshot metadata */ metadata?: (Uint8Array|null); } /** Represents a Snapshot. */ class Snapshot implements ISnapshot { /** * Constructs a new Snapshot. * @param [properties] Properties to set */ constructor(properties?: cometbft.abci.ISnapshot); /** Snapshot height. */ public height: Long; /** Snapshot format. */ public format: number; /** Snapshot chunks. */ public chunks: number; /** Snapshot hash. */ public hash: Uint8Array; /** Snapshot metadata. */ public metadata: Uint8Array; /** * Encodes the specified Snapshot message. Does not implicitly {@link cometbft.abci.Snapshot.verify|verify} messages. * @param message Snapshot message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.abci.ISnapshot, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Snapshot message, length delimited. Does not implicitly {@link cometbft.abci.Snapshot.verify|verify} messages. * @param message Snapshot message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.abci.ISnapshot, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Snapshot message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Snapshot * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.abci.Snapshot; /** * Decodes a Snapshot message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Snapshot * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.abci.Snapshot; /** * Verifies a Snapshot message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Snapshot message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Snapshot */ public static fromObject(object: { [k: string]: any }): cometbft.abci.Snapshot; /** * Creates a plain object from a Snapshot message. Also converts values to other types if specified. * @param message Snapshot * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.abci.Snapshot, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Snapshot to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Represents a ABCIApplication */ class ABCIApplication extends $protobuf.rpc.Service { /** * Constructs a new ABCIApplication service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls Echo. * @param request RequestEcho message or plain object * @param callback Node-style callback called with the error, if any, and ResponseEcho */ public echo(request: cometbft.abci.IRequestEcho, callback: cometbft.abci.ABCIApplication.EchoCallback): void; /** * Calls Echo. * @param request RequestEcho message or plain object * @returns Promise */ public echo(request: cometbft.abci.IRequestEcho): Promise; /** * Calls Flush. * @param request RequestFlush message or plain object * @param callback Node-style callback called with the error, if any, and ResponseFlush */ public flush(request: cometbft.abci.IRequestFlush, callback: cometbft.abci.ABCIApplication.FlushCallback): void; /** * Calls Flush. * @param request RequestFlush message or plain object * @returns Promise */ public flush(request: cometbft.abci.IRequestFlush): Promise; /** * Calls Info. * @param request RequestInfo message or plain object * @param callback Node-style callback called with the error, if any, and ResponseInfo */ public info(request: cometbft.abci.IRequestInfo, callback: cometbft.abci.ABCIApplication.InfoCallback): void; /** * Calls Info. * @param request RequestInfo message or plain object * @returns Promise */ public info(request: cometbft.abci.IRequestInfo): Promise; /** * Calls DeliverTx. * @param request RequestDeliverTx message or plain object * @param callback Node-style callback called with the error, if any, and ResponseDeliverTx */ public deliverTx(request: cometbft.abci.IRequestDeliverTx, callback: cometbft.abci.ABCIApplication.DeliverTxCallback): void; /** * Calls DeliverTx. * @param request RequestDeliverTx message or plain object * @returns Promise */ public deliverTx(request: cometbft.abci.IRequestDeliverTx): Promise; /** * Calls CheckTx. * @param request RequestCheckTx message or plain object * @param callback Node-style callback called with the error, if any, and ResponseCheckTx */ public checkTx(request: cometbft.abci.IRequestCheckTx, callback: cometbft.abci.ABCIApplication.CheckTxCallback): void; /** * Calls CheckTx. * @param request RequestCheckTx message or plain object * @returns Promise */ public checkTx(request: cometbft.abci.IRequestCheckTx): Promise; /** * Calls Query. * @param request RequestQuery message or plain object * @param callback Node-style callback called with the error, if any, and ResponseQuery */ public query(request: cometbft.abci.IRequestQuery, callback: cometbft.abci.ABCIApplication.QueryCallback): void; /** * Calls Query. * @param request RequestQuery message or plain object * @returns Promise */ public query(request: cometbft.abci.IRequestQuery): Promise; /** * Calls Commit. * @param request RequestCommit message or plain object * @param callback Node-style callback called with the error, if any, and ResponseCommit */ public commit(request: cometbft.abci.IRequestCommit, callback: cometbft.abci.ABCIApplication.CommitCallback): void; /** * Calls Commit. * @param request RequestCommit message or plain object * @returns Promise */ public commit(request: cometbft.abci.IRequestCommit): Promise; /** * Calls InitChain. * @param request RequestInitChain message or plain object * @param callback Node-style callback called with the error, if any, and ResponseInitChain */ public initChain(request: cometbft.abci.IRequestInitChain, callback: cometbft.abci.ABCIApplication.InitChainCallback): void; /** * Calls InitChain. * @param request RequestInitChain message or plain object * @returns Promise */ public initChain(request: cometbft.abci.IRequestInitChain): Promise; /** * Calls BeginBlock. * @param request RequestBeginBlock message or plain object * @param callback Node-style callback called with the error, if any, and ResponseBeginBlock */ public beginBlock(request: cometbft.abci.IRequestBeginBlock, callback: cometbft.abci.ABCIApplication.BeginBlockCallback): void; /** * Calls BeginBlock. * @param request RequestBeginBlock message or plain object * @returns Promise */ public beginBlock(request: cometbft.abci.IRequestBeginBlock): Promise; /** * Calls EndBlock. * @param request RequestEndBlock message or plain object * @param callback Node-style callback called with the error, if any, and ResponseEndBlock */ public endBlock(request: cometbft.abci.IRequestEndBlock, callback: cometbft.abci.ABCIApplication.EndBlockCallback): void; /** * Calls EndBlock. * @param request RequestEndBlock message or plain object * @returns Promise */ public endBlock(request: cometbft.abci.IRequestEndBlock): Promise; /** * Calls ListSnapshots. * @param request RequestListSnapshots message or plain object * @param callback Node-style callback called with the error, if any, and ResponseListSnapshots */ public listSnapshots(request: cometbft.abci.IRequestListSnapshots, callback: cometbft.abci.ABCIApplication.ListSnapshotsCallback): void; /** * Calls ListSnapshots. * @param request RequestListSnapshots message or plain object * @returns Promise */ public listSnapshots(request: cometbft.abci.IRequestListSnapshots): Promise; /** * Calls OfferSnapshot. * @param request RequestOfferSnapshot message or plain object * @param callback Node-style callback called with the error, if any, and ResponseOfferSnapshot */ public offerSnapshot(request: cometbft.abci.IRequestOfferSnapshot, callback: cometbft.abci.ABCIApplication.OfferSnapshotCallback): void; /** * Calls OfferSnapshot. * @param request RequestOfferSnapshot message or plain object * @returns Promise */ public offerSnapshot(request: cometbft.abci.IRequestOfferSnapshot): Promise; /** * Calls LoadSnapshotChunk. * @param request RequestLoadSnapshotChunk message or plain object * @param callback Node-style callback called with the error, if any, and ResponseLoadSnapshotChunk */ public loadSnapshotChunk(request: cometbft.abci.IRequestLoadSnapshotChunk, callback: cometbft.abci.ABCIApplication.LoadSnapshotChunkCallback): void; /** * Calls LoadSnapshotChunk. * @param request RequestLoadSnapshotChunk message or plain object * @returns Promise */ public loadSnapshotChunk(request: cometbft.abci.IRequestLoadSnapshotChunk): Promise; /** * Calls ApplySnapshotChunk. * @param request RequestApplySnapshotChunk message or plain object * @param callback Node-style callback called with the error, if any, and ResponseApplySnapshotChunk */ public applySnapshotChunk(request: cometbft.abci.IRequestApplySnapshotChunk, callback: cometbft.abci.ABCIApplication.ApplySnapshotChunkCallback): void; /** * Calls ApplySnapshotChunk. * @param request RequestApplySnapshotChunk message or plain object * @returns Promise */ public applySnapshotChunk(request: cometbft.abci.IRequestApplySnapshotChunk): Promise; /** * Calls PrepareProposal. * @param request RequestPrepareProposal message or plain object * @param callback Node-style callback called with the error, if any, and ResponsePrepareProposal */ public prepareProposal(request: cometbft.abci.IRequestPrepareProposal, callback: cometbft.abci.ABCIApplication.PrepareProposalCallback): void; /** * Calls PrepareProposal. * @param request RequestPrepareProposal message or plain object * @returns Promise */ public prepareProposal(request: cometbft.abci.IRequestPrepareProposal): Promise; /** * Calls ProcessProposal. * @param request RequestProcessProposal message or plain object * @param callback Node-style callback called with the error, if any, and ResponseProcessProposal */ public processProposal(request: cometbft.abci.IRequestProcessProposal, callback: cometbft.abci.ABCIApplication.ProcessProposalCallback): void; /** * Calls ProcessProposal. * @param request RequestProcessProposal message or plain object * @returns Promise */ public processProposal(request: cometbft.abci.IRequestProcessProposal): Promise; } namespace ABCIApplication { /** * Callback as used by {@link cometbft.abci.ABCIApplication#echo}. * @param error Error, if any * @param [response] ResponseEcho */ type EchoCallback = (error: (Error|null), response?: cometbft.abci.ResponseEcho) => void; /** * Callback as used by {@link cometbft.abci.ABCIApplication#flush}. * @param error Error, if any * @param [response] ResponseFlush */ type FlushCallback = (error: (Error|null), response?: cometbft.abci.ResponseFlush) => void; /** * Callback as used by {@link cometbft.abci.ABCIApplication#info}. * @param error Error, if any * @param [response] ResponseInfo */ type InfoCallback = (error: (Error|null), response?: cometbft.abci.ResponseInfo) => void; /** * Callback as used by {@link cometbft.abci.ABCIApplication#deliverTx}. * @param error Error, if any * @param [response] ResponseDeliverTx */ type DeliverTxCallback = (error: (Error|null), response?: cometbft.abci.ResponseDeliverTx) => void; /** * Callback as used by {@link cometbft.abci.ABCIApplication#checkTx}. * @param error Error, if any * @param [response] ResponseCheckTx */ type CheckTxCallback = (error: (Error|null), response?: cometbft.abci.ResponseCheckTx) => void; /** * Callback as used by {@link cometbft.abci.ABCIApplication#query}. * @param error Error, if any * @param [response] ResponseQuery */ type QueryCallback = (error: (Error|null), response?: cometbft.abci.ResponseQuery) => void; /** * Callback as used by {@link cometbft.abci.ABCIApplication#commit}. * @param error Error, if any * @param [response] ResponseCommit */ type CommitCallback = (error: (Error|null), response?: cometbft.abci.ResponseCommit) => void; /** * Callback as used by {@link cometbft.abci.ABCIApplication#initChain}. * @param error Error, if any * @param [response] ResponseInitChain */ type InitChainCallback = (error: (Error|null), response?: cometbft.abci.ResponseInitChain) => void; /** * Callback as used by {@link cometbft.abci.ABCIApplication#beginBlock}. * @param error Error, if any * @param [response] ResponseBeginBlock */ type BeginBlockCallback = (error: (Error|null), response?: cometbft.abci.ResponseBeginBlock) => void; /** * Callback as used by {@link cometbft.abci.ABCIApplication#endBlock}. * @param error Error, if any * @param [response] ResponseEndBlock */ type EndBlockCallback = (error: (Error|null), response?: cometbft.abci.ResponseEndBlock) => void; /** * Callback as used by {@link cometbft.abci.ABCIApplication#listSnapshots}. * @param error Error, if any * @param [response] ResponseListSnapshots */ type ListSnapshotsCallback = (error: (Error|null), response?: cometbft.abci.ResponseListSnapshots) => void; /** * Callback as used by {@link cometbft.abci.ABCIApplication#offerSnapshot}. * @param error Error, if any * @param [response] ResponseOfferSnapshot */ type OfferSnapshotCallback = (error: (Error|null), response?: cometbft.abci.ResponseOfferSnapshot) => void; /** * Callback as used by {@link cometbft.abci.ABCIApplication#loadSnapshotChunk}. * @param error Error, if any * @param [response] ResponseLoadSnapshotChunk */ type LoadSnapshotChunkCallback = (error: (Error|null), response?: cometbft.abci.ResponseLoadSnapshotChunk) => void; /** * Callback as used by {@link cometbft.abci.ABCIApplication#applySnapshotChunk}. * @param error Error, if any * @param [response] ResponseApplySnapshotChunk */ type ApplySnapshotChunkCallback = (error: (Error|null), response?: cometbft.abci.ResponseApplySnapshotChunk) => void; /** * Callback as used by {@link cometbft.abci.ABCIApplication#prepareProposal}. * @param error Error, if any * @param [response] ResponsePrepareProposal */ type PrepareProposalCallback = (error: (Error|null), response?: cometbft.abci.ResponsePrepareProposal) => void; /** * Callback as used by {@link cometbft.abci.ABCIApplication#processProposal}. * @param error Error, if any * @param [response] ResponseProcessProposal */ type ProcessProposalCallback = (error: (Error|null), response?: cometbft.abci.ResponseProcessProposal) => void; } } /** Namespace crypto. */ namespace crypto { /** Properties of a Proof. */ interface IProof { /** Proof total */ total?: (Long|null); /** Proof index */ index?: (Long|null); /** Proof leaf_hash */ leaf_hash?: (Uint8Array|null); /** Proof aunts */ aunts?: (Uint8Array[]|null); } /** Represents a Proof. */ class Proof implements IProof { /** * Constructs a new Proof. * @param [properties] Properties to set */ constructor(properties?: cometbft.crypto.IProof); /** Proof total. */ public total: Long; /** Proof index. */ public index: Long; /** Proof leaf_hash. */ public leaf_hash: Uint8Array; /** Proof aunts. */ public aunts: Uint8Array[]; /** * Encodes the specified Proof message. Does not implicitly {@link cometbft.crypto.Proof.verify|verify} messages. * @param message Proof message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.crypto.IProof, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Proof message, length delimited. Does not implicitly {@link cometbft.crypto.Proof.verify|verify} messages. * @param message Proof message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.crypto.IProof, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Proof message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Proof * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.crypto.Proof; /** * Decodes a Proof message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Proof * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.crypto.Proof; /** * Verifies a Proof message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Proof message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Proof */ public static fromObject(object: { [k: string]: any }): cometbft.crypto.Proof; /** * Creates a plain object from a Proof message. Also converts values to other types if specified. * @param message Proof * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.crypto.Proof, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Proof to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ValueOp. */ interface IValueOp { /** ValueOp key */ key?: (Uint8Array|null); /** ValueOp proof */ proof?: (cometbft.crypto.IProof|null); } /** Represents a ValueOp. */ class ValueOp implements IValueOp { /** * Constructs a new ValueOp. * @param [properties] Properties to set */ constructor(properties?: cometbft.crypto.IValueOp); /** ValueOp key. */ public key: Uint8Array; /** ValueOp proof. */ public proof?: (cometbft.crypto.IProof|null); /** * Encodes the specified ValueOp message. Does not implicitly {@link cometbft.crypto.ValueOp.verify|verify} messages. * @param message ValueOp message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.crypto.IValueOp, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ValueOp message, length delimited. Does not implicitly {@link cometbft.crypto.ValueOp.verify|verify} messages. * @param message ValueOp message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.crypto.IValueOp, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ValueOp message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ValueOp * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.crypto.ValueOp; /** * Decodes a ValueOp message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ValueOp * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.crypto.ValueOp; /** * Verifies a ValueOp message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ValueOp message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ValueOp */ public static fromObject(object: { [k: string]: any }): cometbft.crypto.ValueOp; /** * Creates a plain object from a ValueOp message. Also converts values to other types if specified. * @param message ValueOp * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.crypto.ValueOp, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ValueOp to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a DominoOp. */ interface IDominoOp { /** DominoOp key */ key?: (string|null); /** DominoOp input */ input?: (string|null); /** DominoOp output */ output?: (string|null); } /** Represents a DominoOp. */ class DominoOp implements IDominoOp { /** * Constructs a new DominoOp. * @param [properties] Properties to set */ constructor(properties?: cometbft.crypto.IDominoOp); /** DominoOp key. */ public key: string; /** DominoOp input. */ public input: string; /** DominoOp output. */ public output: string; /** * Encodes the specified DominoOp message. Does not implicitly {@link cometbft.crypto.DominoOp.verify|verify} messages. * @param message DominoOp message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.crypto.IDominoOp, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DominoOp message, length delimited. Does not implicitly {@link cometbft.crypto.DominoOp.verify|verify} messages. * @param message DominoOp message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.crypto.IDominoOp, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DominoOp message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DominoOp * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.crypto.DominoOp; /** * Decodes a DominoOp message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DominoOp * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.crypto.DominoOp; /** * Verifies a DominoOp message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DominoOp message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DominoOp */ public static fromObject(object: { [k: string]: any }): cometbft.crypto.DominoOp; /** * Creates a plain object from a DominoOp message. Also converts values to other types if specified. * @param message DominoOp * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.crypto.DominoOp, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DominoOp to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ProofOp. */ interface IProofOp { /** ProofOp type */ type?: (string|null); /** ProofOp key */ key?: (Uint8Array|null); /** ProofOp data */ data?: (Uint8Array|null); } /** Represents a ProofOp. */ class ProofOp implements IProofOp { /** * Constructs a new ProofOp. * @param [properties] Properties to set */ constructor(properties?: cometbft.crypto.IProofOp); /** ProofOp type. */ public type: string; /** ProofOp key. */ public key: Uint8Array; /** ProofOp data. */ public data: Uint8Array; /** * Encodes the specified ProofOp message. Does not implicitly {@link cometbft.crypto.ProofOp.verify|verify} messages. * @param message ProofOp message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.crypto.IProofOp, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ProofOp message, length delimited. Does not implicitly {@link cometbft.crypto.ProofOp.verify|verify} messages. * @param message ProofOp message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.crypto.IProofOp, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ProofOp message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ProofOp * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.crypto.ProofOp; /** * Decodes a ProofOp message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ProofOp * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.crypto.ProofOp; /** * Verifies a ProofOp message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ProofOp message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ProofOp */ public static fromObject(object: { [k: string]: any }): cometbft.crypto.ProofOp; /** * Creates a plain object from a ProofOp message. Also converts values to other types if specified. * @param message ProofOp * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.crypto.ProofOp, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ProofOp to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ProofOps. */ interface IProofOps { /** ProofOps ops */ ops?: (cometbft.crypto.IProofOp[]|null); } /** Represents a ProofOps. */ class ProofOps implements IProofOps { /** * Constructs a new ProofOps. * @param [properties] Properties to set */ constructor(properties?: cometbft.crypto.IProofOps); /** ProofOps ops. */ public ops: cometbft.crypto.IProofOp[]; /** * Encodes the specified ProofOps message. Does not implicitly {@link cometbft.crypto.ProofOps.verify|verify} messages. * @param message ProofOps message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.crypto.IProofOps, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ProofOps message, length delimited. Does not implicitly {@link cometbft.crypto.ProofOps.verify|verify} messages. * @param message ProofOps message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.crypto.IProofOps, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ProofOps message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ProofOps * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.crypto.ProofOps; /** * Decodes a ProofOps message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ProofOps * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.crypto.ProofOps; /** * Verifies a ProofOps message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ProofOps message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ProofOps */ public static fromObject(object: { [k: string]: any }): cometbft.crypto.ProofOps; /** * Creates a plain object from a ProofOps message. Also converts values to other types if specified. * @param message ProofOps * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.crypto.ProofOps, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ProofOps to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a PublicKey. */ interface IPublicKey { /** PublicKey ed25519 */ ed25519?: (Uint8Array|null); /** PublicKey secp256k1 */ secp256k1?: (Uint8Array|null); } /** Represents a PublicKey. */ class PublicKey implements IPublicKey { /** * Constructs a new PublicKey. * @param [properties] Properties to set */ constructor(properties?: cometbft.crypto.IPublicKey); /** PublicKey ed25519. */ public ed25519?: (Uint8Array|null); /** PublicKey secp256k1. */ public secp256k1?: (Uint8Array|null); /** PublicKey sum. */ public sum?: ("ed25519"|"secp256k1"); /** * Encodes the specified PublicKey message. Does not implicitly {@link cometbft.crypto.PublicKey.verify|verify} messages. * @param message PublicKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.crypto.IPublicKey, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PublicKey message, length delimited. Does not implicitly {@link cometbft.crypto.PublicKey.verify|verify} messages. * @param message PublicKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.crypto.IPublicKey, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PublicKey message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PublicKey * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.crypto.PublicKey; /** * Decodes a PublicKey message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PublicKey * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.crypto.PublicKey; /** * Verifies a PublicKey message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PublicKey message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PublicKey */ public static fromObject(object: { [k: string]: any }): cometbft.crypto.PublicKey; /** * Creates a plain object from a PublicKey message. Also converts values to other types if specified. * @param message PublicKey * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.crypto.PublicKey, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PublicKey to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } /** Namespace types. */ namespace types { /** BlockIDFlag enum. */ enum BlockIDFlag { BLOCK_ID_FLAG_UNKNOWN = 0, BLOCK_ID_FLAG_ABSENT = 1, BLOCK_ID_FLAG_COMMIT = 2, BLOCK_ID_FLAG_NIL = 3 } /** SignedMsgType enum. */ enum SignedMsgType { SIGNED_MSG_TYPE_UNKNOWN = 0, SIGNED_MSG_TYPE_PREVOTE = 1, SIGNED_MSG_TYPE_PRECOMMIT = 2, SIGNED_MSG_TYPE_PROPOSAL = 32 } /** Properties of a PartSetHeader. */ interface IPartSetHeader { /** PartSetHeader total */ total?: (number|null); /** PartSetHeader hash */ hash?: (Uint8Array|null); } /** Represents a PartSetHeader. */ class PartSetHeader implements IPartSetHeader { /** * Constructs a new PartSetHeader. * @param [properties] Properties to set */ constructor(properties?: cometbft.types.IPartSetHeader); /** PartSetHeader total. */ public total: number; /** PartSetHeader hash. */ public hash: Uint8Array; /** * Encodes the specified PartSetHeader message. Does not implicitly {@link cometbft.types.PartSetHeader.verify|verify} messages. * @param message PartSetHeader message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.types.IPartSetHeader, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PartSetHeader message, length delimited. Does not implicitly {@link cometbft.types.PartSetHeader.verify|verify} messages. * @param message PartSetHeader message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.types.IPartSetHeader, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PartSetHeader message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PartSetHeader * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.types.PartSetHeader; /** * Decodes a PartSetHeader message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PartSetHeader * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.types.PartSetHeader; /** * Verifies a PartSetHeader message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PartSetHeader message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PartSetHeader */ public static fromObject(object: { [k: string]: any }): cometbft.types.PartSetHeader; /** * Creates a plain object from a PartSetHeader message. Also converts values to other types if specified. * @param message PartSetHeader * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.types.PartSetHeader, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PartSetHeader to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Part. */ interface IPart { /** Part index */ index?: (number|null); /** Part bytes */ bytes?: (Uint8Array|null); /** Part proof */ proof?: (cometbft.crypto.IProof|null); } /** Represents a Part. */ class Part implements IPart { /** * Constructs a new Part. * @param [properties] Properties to set */ constructor(properties?: cometbft.types.IPart); /** Part index. */ public index: number; /** Part bytes. */ public bytes: Uint8Array; /** Part proof. */ public proof?: (cometbft.crypto.IProof|null); /** * Encodes the specified Part message. Does not implicitly {@link cometbft.types.Part.verify|verify} messages. * @param message Part message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.types.IPart, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Part message, length delimited. Does not implicitly {@link cometbft.types.Part.verify|verify} messages. * @param message Part message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.types.IPart, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Part message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Part * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.types.Part; /** * Decodes a Part message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Part * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.types.Part; /** * Verifies a Part message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Part message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Part */ public static fromObject(object: { [k: string]: any }): cometbft.types.Part; /** * Creates a plain object from a Part message. Also converts values to other types if specified. * @param message Part * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.types.Part, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Part to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a BlockID. */ interface IBlockID { /** BlockID hash */ hash?: (Uint8Array|null); /** BlockID part_set_header */ part_set_header?: (cometbft.types.IPartSetHeader|null); } /** Represents a BlockID. */ class BlockID implements IBlockID { /** * Constructs a new BlockID. * @param [properties] Properties to set */ constructor(properties?: cometbft.types.IBlockID); /** BlockID hash. */ public hash: Uint8Array; /** BlockID part_set_header. */ public part_set_header?: (cometbft.types.IPartSetHeader|null); /** * Encodes the specified BlockID message. Does not implicitly {@link cometbft.types.BlockID.verify|verify} messages. * @param message BlockID message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.types.IBlockID, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BlockID message, length delimited. Does not implicitly {@link cometbft.types.BlockID.verify|verify} messages. * @param message BlockID message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.types.IBlockID, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BlockID message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BlockID * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.types.BlockID; /** * Decodes a BlockID message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BlockID * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.types.BlockID; /** * Verifies a BlockID message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BlockID message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BlockID */ public static fromObject(object: { [k: string]: any }): cometbft.types.BlockID; /** * Creates a plain object from a BlockID message. Also converts values to other types if specified. * @param message BlockID * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.types.BlockID, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BlockID to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Header. */ interface IHeader { /** Header version */ version?: (cometbft.version.IConsensus|null); /** Header chain_id */ chain_id?: (string|null); /** Header height */ height?: (Long|null); /** Header time */ time?: (google.protobuf.ITimestamp|null); /** Header last_block_id */ last_block_id?: (cometbft.types.IBlockID|null); /** Header last_commit_hash */ last_commit_hash?: (Uint8Array|null); /** Header data_hash */ data_hash?: (Uint8Array|null); /** Header validators_hash */ validators_hash?: (Uint8Array|null); /** Header next_validators_hash */ next_validators_hash?: (Uint8Array|null); /** Header consensus_hash */ consensus_hash?: (Uint8Array|null); /** Header app_hash */ app_hash?: (Uint8Array|null); /** Header last_results_hash */ last_results_hash?: (Uint8Array|null); /** Header evidence_hash */ evidence_hash?: (Uint8Array|null); /** Header proposer_address */ proposer_address?: (Uint8Array|null); } /** Represents a Header. */ class Header implements IHeader { /** * Constructs a new Header. * @param [properties] Properties to set */ constructor(properties?: cometbft.types.IHeader); /** Header version. */ public version?: (cometbft.version.IConsensus|null); /** Header chain_id. */ public chain_id: string; /** Header height. */ public height: Long; /** Header time. */ public time?: (google.protobuf.ITimestamp|null); /** Header last_block_id. */ public last_block_id?: (cometbft.types.IBlockID|null); /** Header last_commit_hash. */ public last_commit_hash: Uint8Array; /** Header data_hash. */ public data_hash: Uint8Array; /** Header validators_hash. */ public validators_hash: Uint8Array; /** Header next_validators_hash. */ public next_validators_hash: Uint8Array; /** Header consensus_hash. */ public consensus_hash: Uint8Array; /** Header app_hash. */ public app_hash: Uint8Array; /** Header last_results_hash. */ public last_results_hash: Uint8Array; /** Header evidence_hash. */ public evidence_hash: Uint8Array; /** Header proposer_address. */ public proposer_address: Uint8Array; /** * Encodes the specified Header message. Does not implicitly {@link cometbft.types.Header.verify|verify} messages. * @param message Header message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.types.IHeader, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Header message, length delimited. Does not implicitly {@link cometbft.types.Header.verify|verify} messages. * @param message Header message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.types.IHeader, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Header message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Header * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.types.Header; /** * Decodes a Header message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Header * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.types.Header; /** * Verifies a Header message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Header message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Header */ public static fromObject(object: { [k: string]: any }): cometbft.types.Header; /** * Creates a plain object from a Header message. Also converts values to other types if specified. * @param message Header * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.types.Header, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Header to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Data. */ interface IData { /** Data txs */ txs?: (Uint8Array[]|null); } /** Represents a Data. */ class Data implements IData { /** * Constructs a new Data. * @param [properties] Properties to set */ constructor(properties?: cometbft.types.IData); /** Data txs. */ public txs: Uint8Array[]; /** * Encodes the specified Data message. Does not implicitly {@link cometbft.types.Data.verify|verify} messages. * @param message Data message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.types.IData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Data message, length delimited. Does not implicitly {@link cometbft.types.Data.verify|verify} messages. * @param message Data message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.types.IData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Data message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Data * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.types.Data; /** * Decodes a Data message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Data * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.types.Data; /** * Verifies a Data message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Data message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Data */ public static fromObject(object: { [k: string]: any }): cometbft.types.Data; /** * Creates a plain object from a Data message. Also converts values to other types if specified. * @param message Data * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.types.Data, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Data to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Vote. */ interface IVote { /** Vote type */ type?: (cometbft.types.SignedMsgType|null); /** Vote height */ height?: (Long|null); /** Vote round */ round?: (number|null); /** Vote block_id */ block_id?: (cometbft.types.IBlockID|null); /** Vote timestamp */ timestamp?: (google.protobuf.ITimestamp|null); /** Vote validator_address */ validator_address?: (Uint8Array|null); /** Vote validator_index */ validator_index?: (number|null); /** Vote signature */ signature?: (Uint8Array|null); } /** Represents a Vote. */ class Vote implements IVote { /** * Constructs a new Vote. * @param [properties] Properties to set */ constructor(properties?: cometbft.types.IVote); /** Vote type. */ public type: cometbft.types.SignedMsgType; /** Vote height. */ public height: Long; /** Vote round. */ public round: number; /** Vote block_id. */ public block_id?: (cometbft.types.IBlockID|null); /** Vote timestamp. */ public timestamp?: (google.protobuf.ITimestamp|null); /** Vote validator_address. */ public validator_address: Uint8Array; /** Vote validator_index. */ public validator_index: number; /** Vote signature. */ public signature: Uint8Array; /** * Encodes the specified Vote message. Does not implicitly {@link cometbft.types.Vote.verify|verify} messages. * @param message Vote message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.types.IVote, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Vote message, length delimited. Does not implicitly {@link cometbft.types.Vote.verify|verify} messages. * @param message Vote message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.types.IVote, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Vote message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Vote * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.types.Vote; /** * Decodes a Vote message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Vote * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.types.Vote; /** * Verifies a Vote message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Vote message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Vote */ public static fromObject(object: { [k: string]: any }): cometbft.types.Vote; /** * Creates a plain object from a Vote message. Also converts values to other types if specified. * @param message Vote * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.types.Vote, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Vote to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Commit. */ interface ICommit { /** Commit height */ height?: (Long|null); /** Commit round */ round?: (number|null); /** Commit block_id */ block_id?: (cometbft.types.IBlockID|null); /** Commit signatures */ signatures?: (cometbft.types.ICommitSig[]|null); } /** Represents a Commit. */ class Commit implements ICommit { /** * Constructs a new Commit. * @param [properties] Properties to set */ constructor(properties?: cometbft.types.ICommit); /** Commit height. */ public height: Long; /** Commit round. */ public round: number; /** Commit block_id. */ public block_id?: (cometbft.types.IBlockID|null); /** Commit signatures. */ public signatures: cometbft.types.ICommitSig[]; /** * Encodes the specified Commit message. Does not implicitly {@link cometbft.types.Commit.verify|verify} messages. * @param message Commit message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.types.ICommit, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Commit message, length delimited. Does not implicitly {@link cometbft.types.Commit.verify|verify} messages. * @param message Commit message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.types.ICommit, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Commit message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Commit * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.types.Commit; /** * Decodes a Commit message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Commit * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.types.Commit; /** * Verifies a Commit message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Commit message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Commit */ public static fromObject(object: { [k: string]: any }): cometbft.types.Commit; /** * Creates a plain object from a Commit message. Also converts values to other types if specified. * @param message Commit * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.types.Commit, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Commit to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a CommitSig. */ interface ICommitSig { /** CommitSig block_id_flag */ block_id_flag?: (cometbft.types.BlockIDFlag|null); /** CommitSig validator_address */ validator_address?: (Uint8Array|null); /** CommitSig timestamp */ timestamp?: (google.protobuf.ITimestamp|null); /** CommitSig signature */ signature?: (Uint8Array|null); } /** Represents a CommitSig. */ class CommitSig implements ICommitSig { /** * Constructs a new CommitSig. * @param [properties] Properties to set */ constructor(properties?: cometbft.types.ICommitSig); /** CommitSig block_id_flag. */ public block_id_flag: cometbft.types.BlockIDFlag; /** CommitSig validator_address. */ public validator_address: Uint8Array; /** CommitSig timestamp. */ public timestamp?: (google.protobuf.ITimestamp|null); /** CommitSig signature. */ public signature: Uint8Array; /** * Encodes the specified CommitSig message. Does not implicitly {@link cometbft.types.CommitSig.verify|verify} messages. * @param message CommitSig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.types.ICommitSig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CommitSig message, length delimited. Does not implicitly {@link cometbft.types.CommitSig.verify|verify} messages. * @param message CommitSig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.types.ICommitSig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CommitSig message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CommitSig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.types.CommitSig; /** * Decodes a CommitSig message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CommitSig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.types.CommitSig; /** * Verifies a CommitSig message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CommitSig message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CommitSig */ public static fromObject(object: { [k: string]: any }): cometbft.types.CommitSig; /** * Creates a plain object from a CommitSig message. Also converts values to other types if specified. * @param message CommitSig * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.types.CommitSig, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CommitSig to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Proposal. */ interface IProposal { /** Proposal type */ type?: (cometbft.types.SignedMsgType|null); /** Proposal height */ height?: (Long|null); /** Proposal round */ round?: (number|null); /** Proposal pol_round */ pol_round?: (number|null); /** Proposal block_id */ block_id?: (cometbft.types.IBlockID|null); /** Proposal timestamp */ timestamp?: (google.protobuf.ITimestamp|null); /** Proposal signature */ signature?: (Uint8Array|null); } /** Represents a Proposal. */ class Proposal implements IProposal { /** * Constructs a new Proposal. * @param [properties] Properties to set */ constructor(properties?: cometbft.types.IProposal); /** Proposal type. */ public type: cometbft.types.SignedMsgType; /** Proposal height. */ public height: Long; /** Proposal round. */ public round: number; /** Proposal pol_round. */ public pol_round: number; /** Proposal block_id. */ public block_id?: (cometbft.types.IBlockID|null); /** Proposal timestamp. */ public timestamp?: (google.protobuf.ITimestamp|null); /** Proposal signature. */ public signature: Uint8Array; /** * Encodes the specified Proposal message. Does not implicitly {@link cometbft.types.Proposal.verify|verify} messages. * @param message Proposal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.types.IProposal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Proposal message, length delimited. Does not implicitly {@link cometbft.types.Proposal.verify|verify} messages. * @param message Proposal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.types.IProposal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Proposal message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Proposal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.types.Proposal; /** * Decodes a Proposal message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Proposal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.types.Proposal; /** * Verifies a Proposal message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Proposal message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Proposal */ public static fromObject(object: { [k: string]: any }): cometbft.types.Proposal; /** * Creates a plain object from a Proposal message. Also converts values to other types if specified. * @param message Proposal * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.types.Proposal, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Proposal to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a SignedHeader. */ interface ISignedHeader { /** SignedHeader header */ header?: (cometbft.types.IHeader|null); /** SignedHeader commit */ commit?: (cometbft.types.ICommit|null); } /** Represents a SignedHeader. */ class SignedHeader implements ISignedHeader { /** * Constructs a new SignedHeader. * @param [properties] Properties to set */ constructor(properties?: cometbft.types.ISignedHeader); /** SignedHeader header. */ public header?: (cometbft.types.IHeader|null); /** SignedHeader commit. */ public commit?: (cometbft.types.ICommit|null); /** * Encodes the specified SignedHeader message. Does not implicitly {@link cometbft.types.SignedHeader.verify|verify} messages. * @param message SignedHeader message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.types.ISignedHeader, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SignedHeader message, length delimited. Does not implicitly {@link cometbft.types.SignedHeader.verify|verify} messages. * @param message SignedHeader message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.types.ISignedHeader, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SignedHeader message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SignedHeader * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.types.SignedHeader; /** * Decodes a SignedHeader message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SignedHeader * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.types.SignedHeader; /** * Verifies a SignedHeader message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SignedHeader message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SignedHeader */ public static fromObject(object: { [k: string]: any }): cometbft.types.SignedHeader; /** * Creates a plain object from a SignedHeader message. Also converts values to other types if specified. * @param message SignedHeader * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.types.SignedHeader, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SignedHeader to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a LightBlock. */ interface ILightBlock { /** LightBlock signed_header */ signed_header?: (cometbft.types.ISignedHeader|null); /** LightBlock validator_set */ validator_set?: (cometbft.types.IValidatorSet|null); } /** Represents a LightBlock. */ class LightBlock implements ILightBlock { /** * Constructs a new LightBlock. * @param [properties] Properties to set */ constructor(properties?: cometbft.types.ILightBlock); /** LightBlock signed_header. */ public signed_header?: (cometbft.types.ISignedHeader|null); /** LightBlock validator_set. */ public validator_set?: (cometbft.types.IValidatorSet|null); /** * Encodes the specified LightBlock message. Does not implicitly {@link cometbft.types.LightBlock.verify|verify} messages. * @param message LightBlock message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.types.ILightBlock, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified LightBlock message, length delimited. Does not implicitly {@link cometbft.types.LightBlock.verify|verify} messages. * @param message LightBlock message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.types.ILightBlock, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a LightBlock message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns LightBlock * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.types.LightBlock; /** * Decodes a LightBlock message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns LightBlock * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.types.LightBlock; /** * Verifies a LightBlock message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a LightBlock message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns LightBlock */ public static fromObject(object: { [k: string]: any }): cometbft.types.LightBlock; /** * Creates a plain object from a LightBlock message. Also converts values to other types if specified. * @param message LightBlock * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.types.LightBlock, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this LightBlock to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a BlockMeta. */ interface IBlockMeta { /** BlockMeta block_id */ block_id?: (cometbft.types.IBlockID|null); /** BlockMeta block_size */ block_size?: (Long|null); /** BlockMeta header */ header?: (cometbft.types.IHeader|null); /** BlockMeta num_txs */ num_txs?: (Long|null); } /** Represents a BlockMeta. */ class BlockMeta implements IBlockMeta { /** * Constructs a new BlockMeta. * @param [properties] Properties to set */ constructor(properties?: cometbft.types.IBlockMeta); /** BlockMeta block_id. */ public block_id?: (cometbft.types.IBlockID|null); /** BlockMeta block_size. */ public block_size: Long; /** BlockMeta header. */ public header?: (cometbft.types.IHeader|null); /** BlockMeta num_txs. */ public num_txs: Long; /** * Encodes the specified BlockMeta message. Does not implicitly {@link cometbft.types.BlockMeta.verify|verify} messages. * @param message BlockMeta message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.types.IBlockMeta, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BlockMeta message, length delimited. Does not implicitly {@link cometbft.types.BlockMeta.verify|verify} messages. * @param message BlockMeta message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.types.IBlockMeta, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BlockMeta message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BlockMeta * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.types.BlockMeta; /** * Decodes a BlockMeta message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BlockMeta * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.types.BlockMeta; /** * Verifies a BlockMeta message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BlockMeta message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BlockMeta */ public static fromObject(object: { [k: string]: any }): cometbft.types.BlockMeta; /** * Creates a plain object from a BlockMeta message. Also converts values to other types if specified. * @param message BlockMeta * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.types.BlockMeta, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BlockMeta to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a TxProof. */ interface ITxProof { /** TxProof root_hash */ root_hash?: (Uint8Array|null); /** TxProof data */ data?: (Uint8Array|null); /** TxProof proof */ proof?: (cometbft.crypto.IProof|null); } /** Represents a TxProof. */ class TxProof implements ITxProof { /** * Constructs a new TxProof. * @param [properties] Properties to set */ constructor(properties?: cometbft.types.ITxProof); /** TxProof root_hash. */ public root_hash: Uint8Array; /** TxProof data. */ public data: Uint8Array; /** TxProof proof. */ public proof?: (cometbft.crypto.IProof|null); /** * Encodes the specified TxProof message. Does not implicitly {@link cometbft.types.TxProof.verify|verify} messages. * @param message TxProof message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.types.ITxProof, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TxProof message, length delimited. Does not implicitly {@link cometbft.types.TxProof.verify|verify} messages. * @param message TxProof message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.types.ITxProof, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TxProof message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TxProof * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.types.TxProof; /** * Decodes a TxProof message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TxProof * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.types.TxProof; /** * Verifies a TxProof message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TxProof message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TxProof */ public static fromObject(object: { [k: string]: any }): cometbft.types.TxProof; /** * Creates a plain object from a TxProof message. Also converts values to other types if specified. * @param message TxProof * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.types.TxProof, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TxProof to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ValidatorSet. */ interface IValidatorSet { /** ValidatorSet validators */ validators?: (cometbft.types.IValidator[]|null); /** ValidatorSet proposer */ proposer?: (cometbft.types.IValidator|null); /** ValidatorSet total_voting_power */ total_voting_power?: (Long|null); } /** Represents a ValidatorSet. */ class ValidatorSet implements IValidatorSet { /** * Constructs a new ValidatorSet. * @param [properties] Properties to set */ constructor(properties?: cometbft.types.IValidatorSet); /** ValidatorSet validators. */ public validators: cometbft.types.IValidator[]; /** ValidatorSet proposer. */ public proposer?: (cometbft.types.IValidator|null); /** ValidatorSet total_voting_power. */ public total_voting_power: Long; /** * Encodes the specified ValidatorSet message. Does not implicitly {@link cometbft.types.ValidatorSet.verify|verify} messages. * @param message ValidatorSet message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.types.IValidatorSet, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ValidatorSet message, length delimited. Does not implicitly {@link cometbft.types.ValidatorSet.verify|verify} messages. * @param message ValidatorSet message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.types.IValidatorSet, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ValidatorSet message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ValidatorSet * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.types.ValidatorSet; /** * Decodes a ValidatorSet message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ValidatorSet * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.types.ValidatorSet; /** * Verifies a ValidatorSet message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ValidatorSet message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ValidatorSet */ public static fromObject(object: { [k: string]: any }): cometbft.types.ValidatorSet; /** * Creates a plain object from a ValidatorSet message. Also converts values to other types if specified. * @param message ValidatorSet * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.types.ValidatorSet, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ValidatorSet to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Validator. */ interface IValidator { /** Validator address */ address?: (Uint8Array|null); /** Validator pub_key */ pub_key?: (cometbft.crypto.IPublicKey|null); /** Validator voting_power */ voting_power?: (Long|null); /** Validator proposer_priority */ proposer_priority?: (Long|null); } /** Represents a Validator. */ class Validator implements IValidator { /** * Constructs a new Validator. * @param [properties] Properties to set */ constructor(properties?: cometbft.types.IValidator); /** Validator address. */ public address: Uint8Array; /** Validator pub_key. */ public pub_key?: (cometbft.crypto.IPublicKey|null); /** Validator voting_power. */ public voting_power: Long; /** Validator proposer_priority. */ public proposer_priority: Long; /** * Encodes the specified Validator message. Does not implicitly {@link cometbft.types.Validator.verify|verify} messages. * @param message Validator message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.types.IValidator, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Validator message, length delimited. Does not implicitly {@link cometbft.types.Validator.verify|verify} messages. * @param message Validator message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.types.IValidator, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Validator message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Validator * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.types.Validator; /** * Decodes a Validator message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Validator * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.types.Validator; /** * Verifies a Validator message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Validator message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Validator */ public static fromObject(object: { [k: string]: any }): cometbft.types.Validator; /** * Creates a plain object from a Validator message. Also converts values to other types if specified. * @param message Validator * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.types.Validator, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Validator to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a SimpleValidator. */ interface ISimpleValidator { /** SimpleValidator pub_key */ pub_key?: (cometbft.crypto.IPublicKey|null); /** SimpleValidator voting_power */ voting_power?: (Long|null); } /** Represents a SimpleValidator. */ class SimpleValidator implements ISimpleValidator { /** * Constructs a new SimpleValidator. * @param [properties] Properties to set */ constructor(properties?: cometbft.types.ISimpleValidator); /** SimpleValidator pub_key. */ public pub_key?: (cometbft.crypto.IPublicKey|null); /** SimpleValidator voting_power. */ public voting_power: Long; /** * Encodes the specified SimpleValidator message. Does not implicitly {@link cometbft.types.SimpleValidator.verify|verify} messages. * @param message SimpleValidator message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.types.ISimpleValidator, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SimpleValidator message, length delimited. Does not implicitly {@link cometbft.types.SimpleValidator.verify|verify} messages. * @param message SimpleValidator message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.types.ISimpleValidator, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SimpleValidator message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SimpleValidator * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.types.SimpleValidator; /** * Decodes a SimpleValidator message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SimpleValidator * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.types.SimpleValidator; /** * Verifies a SimpleValidator message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SimpleValidator message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SimpleValidator */ public static fromObject(object: { [k: string]: any }): cometbft.types.SimpleValidator; /** * Creates a plain object from a SimpleValidator message. Also converts values to other types if specified. * @param message SimpleValidator * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.types.SimpleValidator, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SimpleValidator to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ConsensusParams. */ interface IConsensusParams { /** ConsensusParams block */ block?: (cometbft.types.IBlockParams|null); /** ConsensusParams evidence */ evidence?: (cometbft.types.IEvidenceParams|null); /** ConsensusParams validator */ validator?: (cometbft.types.IValidatorParams|null); /** ConsensusParams version */ version?: (cometbft.types.IVersionParams|null); } /** Represents a ConsensusParams. */ class ConsensusParams implements IConsensusParams { /** * Constructs a new ConsensusParams. * @param [properties] Properties to set */ constructor(properties?: cometbft.types.IConsensusParams); /** ConsensusParams block. */ public block?: (cometbft.types.IBlockParams|null); /** ConsensusParams evidence. */ public evidence?: (cometbft.types.IEvidenceParams|null); /** ConsensusParams validator. */ public validator?: (cometbft.types.IValidatorParams|null); /** ConsensusParams version. */ public version?: (cometbft.types.IVersionParams|null); /** * Encodes the specified ConsensusParams message. Does not implicitly {@link cometbft.types.ConsensusParams.verify|verify} messages. * @param message ConsensusParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.types.IConsensusParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ConsensusParams message, length delimited. Does not implicitly {@link cometbft.types.ConsensusParams.verify|verify} messages. * @param message ConsensusParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.types.IConsensusParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ConsensusParams message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ConsensusParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.types.ConsensusParams; /** * Decodes a ConsensusParams message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ConsensusParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.types.ConsensusParams; /** * Verifies a ConsensusParams message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ConsensusParams message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ConsensusParams */ public static fromObject(object: { [k: string]: any }): cometbft.types.ConsensusParams; /** * Creates a plain object from a ConsensusParams message. Also converts values to other types if specified. * @param message ConsensusParams * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.types.ConsensusParams, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ConsensusParams to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a BlockParams. */ interface IBlockParams { /** BlockParams max_bytes */ max_bytes?: (Long|null); /** BlockParams max_gas */ max_gas?: (Long|null); } /** Represents a BlockParams. */ class BlockParams implements IBlockParams { /** * Constructs a new BlockParams. * @param [properties] Properties to set */ constructor(properties?: cometbft.types.IBlockParams); /** BlockParams max_bytes. */ public max_bytes: Long; /** BlockParams max_gas. */ public max_gas: Long; /** * Encodes the specified BlockParams message. Does not implicitly {@link cometbft.types.BlockParams.verify|verify} messages. * @param message BlockParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.types.IBlockParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BlockParams message, length delimited. Does not implicitly {@link cometbft.types.BlockParams.verify|verify} messages. * @param message BlockParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.types.IBlockParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BlockParams message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BlockParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.types.BlockParams; /** * Decodes a BlockParams message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BlockParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.types.BlockParams; /** * Verifies a BlockParams message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BlockParams message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BlockParams */ public static fromObject(object: { [k: string]: any }): cometbft.types.BlockParams; /** * Creates a plain object from a BlockParams message. Also converts values to other types if specified. * @param message BlockParams * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.types.BlockParams, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BlockParams to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an EvidenceParams. */ interface IEvidenceParams { /** EvidenceParams max_age_num_blocks */ max_age_num_blocks?: (Long|null); /** EvidenceParams max_age_duration */ max_age_duration?: (google.protobuf.IDuration|null); /** EvidenceParams max_bytes */ max_bytes?: (Long|null); } /** Represents an EvidenceParams. */ class EvidenceParams implements IEvidenceParams { /** * Constructs a new EvidenceParams. * @param [properties] Properties to set */ constructor(properties?: cometbft.types.IEvidenceParams); /** EvidenceParams max_age_num_blocks. */ public max_age_num_blocks: Long; /** EvidenceParams max_age_duration. */ public max_age_duration?: (google.protobuf.IDuration|null); /** EvidenceParams max_bytes. */ public max_bytes: Long; /** * Encodes the specified EvidenceParams message. Does not implicitly {@link cometbft.types.EvidenceParams.verify|verify} messages. * @param message EvidenceParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.types.IEvidenceParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EvidenceParams message, length delimited. Does not implicitly {@link cometbft.types.EvidenceParams.verify|verify} messages. * @param message EvidenceParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.types.IEvidenceParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EvidenceParams message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EvidenceParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.types.EvidenceParams; /** * Decodes an EvidenceParams message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EvidenceParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.types.EvidenceParams; /** * Verifies an EvidenceParams message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EvidenceParams message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EvidenceParams */ public static fromObject(object: { [k: string]: any }): cometbft.types.EvidenceParams; /** * Creates a plain object from an EvidenceParams message. Also converts values to other types if specified. * @param message EvidenceParams * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.types.EvidenceParams, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EvidenceParams to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ValidatorParams. */ interface IValidatorParams { /** ValidatorParams pub_key_types */ pub_key_types?: (string[]|null); } /** Represents a ValidatorParams. */ class ValidatorParams implements IValidatorParams { /** * Constructs a new ValidatorParams. * @param [properties] Properties to set */ constructor(properties?: cometbft.types.IValidatorParams); /** ValidatorParams pub_key_types. */ public pub_key_types: string[]; /** * Encodes the specified ValidatorParams message. Does not implicitly {@link cometbft.types.ValidatorParams.verify|verify} messages. * @param message ValidatorParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.types.IValidatorParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ValidatorParams message, length delimited. Does not implicitly {@link cometbft.types.ValidatorParams.verify|verify} messages. * @param message ValidatorParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.types.IValidatorParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ValidatorParams message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ValidatorParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.types.ValidatorParams; /** * Decodes a ValidatorParams message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ValidatorParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.types.ValidatorParams; /** * Verifies a ValidatorParams message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ValidatorParams message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ValidatorParams */ public static fromObject(object: { [k: string]: any }): cometbft.types.ValidatorParams; /** * Creates a plain object from a ValidatorParams message. Also converts values to other types if specified. * @param message ValidatorParams * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.types.ValidatorParams, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ValidatorParams to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a VersionParams. */ interface IVersionParams { /** VersionParams app */ app?: (Long|null); } /** Represents a VersionParams. */ class VersionParams implements IVersionParams { /** * Constructs a new VersionParams. * @param [properties] Properties to set */ constructor(properties?: cometbft.types.IVersionParams); /** VersionParams app. */ public app: Long; /** * Encodes the specified VersionParams message. Does not implicitly {@link cometbft.types.VersionParams.verify|verify} messages. * @param message VersionParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.types.IVersionParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified VersionParams message, length delimited. Does not implicitly {@link cometbft.types.VersionParams.verify|verify} messages. * @param message VersionParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.types.IVersionParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a VersionParams message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns VersionParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.types.VersionParams; /** * Decodes a VersionParams message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns VersionParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.types.VersionParams; /** * Verifies a VersionParams message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a VersionParams message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns VersionParams */ public static fromObject(object: { [k: string]: any }): cometbft.types.VersionParams; /** * Creates a plain object from a VersionParams message. Also converts values to other types if specified. * @param message VersionParams * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.types.VersionParams, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this VersionParams to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a HashedParams. */ interface IHashedParams { /** HashedParams block_max_bytes */ block_max_bytes?: (Long|null); /** HashedParams block_max_gas */ block_max_gas?: (Long|null); } /** Represents a HashedParams. */ class HashedParams implements IHashedParams { /** * Constructs a new HashedParams. * @param [properties] Properties to set */ constructor(properties?: cometbft.types.IHashedParams); /** HashedParams block_max_bytes. */ public block_max_bytes: Long; /** HashedParams block_max_gas. */ public block_max_gas: Long; /** * Encodes the specified HashedParams message. Does not implicitly {@link cometbft.types.HashedParams.verify|verify} messages. * @param message HashedParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.types.IHashedParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified HashedParams message, length delimited. Does not implicitly {@link cometbft.types.HashedParams.verify|verify} messages. * @param message HashedParams message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.types.IHashedParams, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a HashedParams message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns HashedParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.types.HashedParams; /** * Decodes a HashedParams message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns HashedParams * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.types.HashedParams; /** * Verifies a HashedParams message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a HashedParams message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns HashedParams */ public static fromObject(object: { [k: string]: any }): cometbft.types.HashedParams; /** * Creates a plain object from a HashedParams message. Also converts values to other types if specified. * @param message HashedParams * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.types.HashedParams, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this HashedParams to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an Evidence. */ interface IEvidence { /** Evidence duplicate_vote_evidence */ duplicate_vote_evidence?: (cometbft.types.IDuplicateVoteEvidence|null); /** Evidence light_client_attack_evidence */ light_client_attack_evidence?: (cometbft.types.ILightClientAttackEvidence|null); } /** Represents an Evidence. */ class Evidence implements IEvidence { /** * Constructs a new Evidence. * @param [properties] Properties to set */ constructor(properties?: cometbft.types.IEvidence); /** Evidence duplicate_vote_evidence. */ public duplicate_vote_evidence?: (cometbft.types.IDuplicateVoteEvidence|null); /** Evidence light_client_attack_evidence. */ public light_client_attack_evidence?: (cometbft.types.ILightClientAttackEvidence|null); /** Evidence sum. */ public sum?: ("duplicate_vote_evidence"|"light_client_attack_evidence"); /** * Encodes the specified Evidence message. Does not implicitly {@link cometbft.types.Evidence.verify|verify} messages. * @param message Evidence message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.types.IEvidence, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Evidence message, length delimited. Does not implicitly {@link cometbft.types.Evidence.verify|verify} messages. * @param message Evidence message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.types.IEvidence, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Evidence message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Evidence * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.types.Evidence; /** * Decodes an Evidence message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Evidence * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.types.Evidence; /** * Verifies an Evidence message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Evidence message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Evidence */ public static fromObject(object: { [k: string]: any }): cometbft.types.Evidence; /** * Creates a plain object from an Evidence message. Also converts values to other types if specified. * @param message Evidence * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.types.Evidence, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Evidence to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a DuplicateVoteEvidence. */ interface IDuplicateVoteEvidence { /** DuplicateVoteEvidence vote_a */ vote_a?: (cometbft.types.IVote|null); /** DuplicateVoteEvidence vote_b */ vote_b?: (cometbft.types.IVote|null); /** DuplicateVoteEvidence total_voting_power */ total_voting_power?: (Long|null); /** DuplicateVoteEvidence validator_power */ validator_power?: (Long|null); /** DuplicateVoteEvidence timestamp */ timestamp?: (google.protobuf.ITimestamp|null); } /** Represents a DuplicateVoteEvidence. */ class DuplicateVoteEvidence implements IDuplicateVoteEvidence { /** * Constructs a new DuplicateVoteEvidence. * @param [properties] Properties to set */ constructor(properties?: cometbft.types.IDuplicateVoteEvidence); /** DuplicateVoteEvidence vote_a. */ public vote_a?: (cometbft.types.IVote|null); /** DuplicateVoteEvidence vote_b. */ public vote_b?: (cometbft.types.IVote|null); /** DuplicateVoteEvidence total_voting_power. */ public total_voting_power: Long; /** DuplicateVoteEvidence validator_power. */ public validator_power: Long; /** DuplicateVoteEvidence timestamp. */ public timestamp?: (google.protobuf.ITimestamp|null); /** * Encodes the specified DuplicateVoteEvidence message. Does not implicitly {@link cometbft.types.DuplicateVoteEvidence.verify|verify} messages. * @param message DuplicateVoteEvidence message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.types.IDuplicateVoteEvidence, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DuplicateVoteEvidence message, length delimited. Does not implicitly {@link cometbft.types.DuplicateVoteEvidence.verify|verify} messages. * @param message DuplicateVoteEvidence message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.types.IDuplicateVoteEvidence, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DuplicateVoteEvidence message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DuplicateVoteEvidence * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.types.DuplicateVoteEvidence; /** * Decodes a DuplicateVoteEvidence message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DuplicateVoteEvidence * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.types.DuplicateVoteEvidence; /** * Verifies a DuplicateVoteEvidence message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DuplicateVoteEvidence message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DuplicateVoteEvidence */ public static fromObject(object: { [k: string]: any }): cometbft.types.DuplicateVoteEvidence; /** * Creates a plain object from a DuplicateVoteEvidence message. Also converts values to other types if specified. * @param message DuplicateVoteEvidence * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.types.DuplicateVoteEvidence, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DuplicateVoteEvidence to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a LightClientAttackEvidence. */ interface ILightClientAttackEvidence { /** LightClientAttackEvidence conflicting_block */ conflicting_block?: (cometbft.types.ILightBlock|null); /** LightClientAttackEvidence common_height */ common_height?: (Long|null); /** LightClientAttackEvidence byzantine_validators */ byzantine_validators?: (cometbft.types.IValidator[]|null); /** LightClientAttackEvidence total_voting_power */ total_voting_power?: (Long|null); /** LightClientAttackEvidence timestamp */ timestamp?: (google.protobuf.ITimestamp|null); } /** Represents a LightClientAttackEvidence. */ class LightClientAttackEvidence implements ILightClientAttackEvidence { /** * Constructs a new LightClientAttackEvidence. * @param [properties] Properties to set */ constructor(properties?: cometbft.types.ILightClientAttackEvidence); /** LightClientAttackEvidence conflicting_block. */ public conflicting_block?: (cometbft.types.ILightBlock|null); /** LightClientAttackEvidence common_height. */ public common_height: Long; /** LightClientAttackEvidence byzantine_validators. */ public byzantine_validators: cometbft.types.IValidator[]; /** LightClientAttackEvidence total_voting_power. */ public total_voting_power: Long; /** LightClientAttackEvidence timestamp. */ public timestamp?: (google.protobuf.ITimestamp|null); /** * Encodes the specified LightClientAttackEvidence message. Does not implicitly {@link cometbft.types.LightClientAttackEvidence.verify|verify} messages. * @param message LightClientAttackEvidence message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.types.ILightClientAttackEvidence, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified LightClientAttackEvidence message, length delimited. Does not implicitly {@link cometbft.types.LightClientAttackEvidence.verify|verify} messages. * @param message LightClientAttackEvidence message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.types.ILightClientAttackEvidence, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a LightClientAttackEvidence message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns LightClientAttackEvidence * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.types.LightClientAttackEvidence; /** * Decodes a LightClientAttackEvidence message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns LightClientAttackEvidence * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.types.LightClientAttackEvidence; /** * Verifies a LightClientAttackEvidence message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a LightClientAttackEvidence message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns LightClientAttackEvidence */ public static fromObject(object: { [k: string]: any }): cometbft.types.LightClientAttackEvidence; /** * Creates a plain object from a LightClientAttackEvidence message. Also converts values to other types if specified. * @param message LightClientAttackEvidence * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.types.LightClientAttackEvidence, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this LightClientAttackEvidence to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an EvidenceList. */ interface IEvidenceList { /** EvidenceList evidence */ evidence?: (cometbft.types.IEvidence[]|null); } /** Represents an EvidenceList. */ class EvidenceList implements IEvidenceList { /** * Constructs a new EvidenceList. * @param [properties] Properties to set */ constructor(properties?: cometbft.types.IEvidenceList); /** EvidenceList evidence. */ public evidence: cometbft.types.IEvidence[]; /** * Encodes the specified EvidenceList message. Does not implicitly {@link cometbft.types.EvidenceList.verify|verify} messages. * @param message EvidenceList message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.types.IEvidenceList, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EvidenceList message, length delimited. Does not implicitly {@link cometbft.types.EvidenceList.verify|verify} messages. * @param message EvidenceList message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.types.IEvidenceList, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EvidenceList message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EvidenceList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.types.EvidenceList; /** * Decodes an EvidenceList message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EvidenceList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.types.EvidenceList; /** * Verifies an EvidenceList message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EvidenceList message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EvidenceList */ public static fromObject(object: { [k: string]: any }): cometbft.types.EvidenceList; /** * Creates a plain object from an EvidenceList message. Also converts values to other types if specified. * @param message EvidenceList * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.types.EvidenceList, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EvidenceList to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Block. */ interface IBlock { /** Block header */ header?: (cometbft.types.IHeader|null); /** Block data */ data?: (cometbft.types.IData|null); /** Block evidence */ evidence?: (cometbft.types.IEvidenceList|null); /** Block last_commit */ last_commit?: (cometbft.types.ICommit|null); } /** Represents a Block. */ class Block implements IBlock { /** * Constructs a new Block. * @param [properties] Properties to set */ constructor(properties?: cometbft.types.IBlock); /** Block header. */ public header?: (cometbft.types.IHeader|null); /** Block data. */ public data?: (cometbft.types.IData|null); /** Block evidence. */ public evidence?: (cometbft.types.IEvidenceList|null); /** Block last_commit. */ public last_commit?: (cometbft.types.ICommit|null); /** * Encodes the specified Block message. Does not implicitly {@link cometbft.types.Block.verify|verify} messages. * @param message Block message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.types.IBlock, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Block message, length delimited. Does not implicitly {@link cometbft.types.Block.verify|verify} messages. * @param message Block message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.types.IBlock, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Block message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Block * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.types.Block; /** * Decodes a Block message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Block * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.types.Block; /** * Verifies a Block message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Block message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Block */ public static fromObject(object: { [k: string]: any }): cometbft.types.Block; /** * Creates a plain object from a Block message. Also converts values to other types if specified. * @param message Block * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.types.Block, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Block to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } /** Namespace version. */ namespace version { /** Properties of an App. */ interface IApp { /** App protocol */ protocol?: (Long|null); /** App software */ software?: (string|null); } /** Represents an App. */ class App implements IApp { /** * Constructs a new App. * @param [properties] Properties to set */ constructor(properties?: cometbft.version.IApp); /** App protocol. */ public protocol: Long; /** App software. */ public software: string; /** * Encodes the specified App message. Does not implicitly {@link cometbft.version.App.verify|verify} messages. * @param message App message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.version.IApp, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified App message, length delimited. Does not implicitly {@link cometbft.version.App.verify|verify} messages. * @param message App message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.version.IApp, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an App message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns App * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.version.App; /** * Decodes an App message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns App * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.version.App; /** * Verifies an App message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an App message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns App */ public static fromObject(object: { [k: string]: any }): cometbft.version.App; /** * Creates a plain object from an App message. Also converts values to other types if specified. * @param message App * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.version.App, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this App to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Consensus. */ interface IConsensus { /** Consensus block */ block?: (Long|null); /** Consensus app */ app?: (Long|null); } /** Represents a Consensus. */ class Consensus implements IConsensus { /** * Constructs a new Consensus. * @param [properties] Properties to set */ constructor(properties?: cometbft.version.IConsensus); /** Consensus block. */ public block: Long; /** Consensus app. */ public app: Long; /** * Encodes the specified Consensus message. Does not implicitly {@link cometbft.version.Consensus.verify|verify} messages. * @param message Consensus message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.version.IConsensus, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Consensus message, length delimited. Does not implicitly {@link cometbft.version.Consensus.verify|verify} messages. * @param message Consensus message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.version.IConsensus, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Consensus message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Consensus * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.version.Consensus; /** * Decodes a Consensus message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Consensus * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.version.Consensus; /** * Verifies a Consensus message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Consensus message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Consensus */ public static fromObject(object: { [k: string]: any }): cometbft.version.Consensus; /** * Creates a plain object from a Consensus message. Also converts values to other types if specified. * @param message Consensus * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.version.Consensus, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Consensus to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } /** Namespace p2p. */ namespace p2p { /** Properties of a NetAddress. */ interface INetAddress { /** NetAddress id */ id?: (string|null); /** NetAddress ip */ ip?: (string|null); /** NetAddress port */ port?: (number|null); } /** Represents a NetAddress. */ class NetAddress implements INetAddress { /** * Constructs a new NetAddress. * @param [properties] Properties to set */ constructor(properties?: cometbft.p2p.INetAddress); /** NetAddress id. */ public id: string; /** NetAddress ip. */ public ip: string; /** NetAddress port. */ public port: number; /** * Encodes the specified NetAddress message. Does not implicitly {@link cometbft.p2p.NetAddress.verify|verify} messages. * @param message NetAddress message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.p2p.INetAddress, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified NetAddress message, length delimited. Does not implicitly {@link cometbft.p2p.NetAddress.verify|verify} messages. * @param message NetAddress message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.p2p.INetAddress, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a NetAddress message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns NetAddress * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.p2p.NetAddress; /** * Decodes a NetAddress message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns NetAddress * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.p2p.NetAddress; /** * Verifies a NetAddress message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a NetAddress message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns NetAddress */ public static fromObject(object: { [k: string]: any }): cometbft.p2p.NetAddress; /** * Creates a plain object from a NetAddress message. Also converts values to other types if specified. * @param message NetAddress * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.p2p.NetAddress, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this NetAddress to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ProtocolVersion. */ interface IProtocolVersion { /** ProtocolVersion p2p */ p2p?: (Long|null); /** ProtocolVersion block */ block?: (Long|null); /** ProtocolVersion app */ app?: (Long|null); } /** Represents a ProtocolVersion. */ class ProtocolVersion implements IProtocolVersion { /** * Constructs a new ProtocolVersion. * @param [properties] Properties to set */ constructor(properties?: cometbft.p2p.IProtocolVersion); /** ProtocolVersion p2p. */ public p2p: Long; /** ProtocolVersion block. */ public block: Long; /** ProtocolVersion app. */ public app: Long; /** * Encodes the specified ProtocolVersion message. Does not implicitly {@link cometbft.p2p.ProtocolVersion.verify|verify} messages. * @param message ProtocolVersion message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.p2p.IProtocolVersion, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ProtocolVersion message, length delimited. Does not implicitly {@link cometbft.p2p.ProtocolVersion.verify|verify} messages. * @param message ProtocolVersion message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.p2p.IProtocolVersion, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ProtocolVersion message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ProtocolVersion * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.p2p.ProtocolVersion; /** * Decodes a ProtocolVersion message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ProtocolVersion * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.p2p.ProtocolVersion; /** * Verifies a ProtocolVersion message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ProtocolVersion message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ProtocolVersion */ public static fromObject(object: { [k: string]: any }): cometbft.p2p.ProtocolVersion; /** * Creates a plain object from a ProtocolVersion message. Also converts values to other types if specified. * @param message ProtocolVersion * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.p2p.ProtocolVersion, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ProtocolVersion to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a DefaultNodeInfo. */ interface IDefaultNodeInfo { /** DefaultNodeInfo protocol_version */ protocol_version?: (cometbft.p2p.IProtocolVersion|null); /** DefaultNodeInfo default_node_id */ default_node_id?: (string|null); /** DefaultNodeInfo listen_addr */ listen_addr?: (string|null); /** DefaultNodeInfo network */ network?: (string|null); /** DefaultNodeInfo version */ version?: (string|null); /** DefaultNodeInfo channels */ channels?: (Uint8Array|null); /** DefaultNodeInfo moniker */ moniker?: (string|null); /** DefaultNodeInfo other */ other?: (cometbft.p2p.IDefaultNodeInfoOther|null); } /** Represents a DefaultNodeInfo. */ class DefaultNodeInfo implements IDefaultNodeInfo { /** * Constructs a new DefaultNodeInfo. * @param [properties] Properties to set */ constructor(properties?: cometbft.p2p.IDefaultNodeInfo); /** DefaultNodeInfo protocol_version. */ public protocol_version?: (cometbft.p2p.IProtocolVersion|null); /** DefaultNodeInfo default_node_id. */ public default_node_id: string; /** DefaultNodeInfo listen_addr. */ public listen_addr: string; /** DefaultNodeInfo network. */ public network: string; /** DefaultNodeInfo version. */ public version: string; /** DefaultNodeInfo channels. */ public channels: Uint8Array; /** DefaultNodeInfo moniker. */ public moniker: string; /** DefaultNodeInfo other. */ public other?: (cometbft.p2p.IDefaultNodeInfoOther|null); /** * Encodes the specified DefaultNodeInfo message. Does not implicitly {@link cometbft.p2p.DefaultNodeInfo.verify|verify} messages. * @param message DefaultNodeInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.p2p.IDefaultNodeInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DefaultNodeInfo message, length delimited. Does not implicitly {@link cometbft.p2p.DefaultNodeInfo.verify|verify} messages. * @param message DefaultNodeInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.p2p.IDefaultNodeInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DefaultNodeInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DefaultNodeInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.p2p.DefaultNodeInfo; /** * Decodes a DefaultNodeInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DefaultNodeInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.p2p.DefaultNodeInfo; /** * Verifies a DefaultNodeInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DefaultNodeInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DefaultNodeInfo */ public static fromObject(object: { [k: string]: any }): cometbft.p2p.DefaultNodeInfo; /** * Creates a plain object from a DefaultNodeInfo message. Also converts values to other types if specified. * @param message DefaultNodeInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.p2p.DefaultNodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DefaultNodeInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a DefaultNodeInfoOther. */ interface IDefaultNodeInfoOther { /** DefaultNodeInfoOther tx_index */ tx_index?: (string|null); /** DefaultNodeInfoOther rpc_address */ rpc_address?: (string|null); } /** Represents a DefaultNodeInfoOther. */ class DefaultNodeInfoOther implements IDefaultNodeInfoOther { /** * Constructs a new DefaultNodeInfoOther. * @param [properties] Properties to set */ constructor(properties?: cometbft.p2p.IDefaultNodeInfoOther); /** DefaultNodeInfoOther tx_index. */ public tx_index: string; /** DefaultNodeInfoOther rpc_address. */ public rpc_address: string; /** * Encodes the specified DefaultNodeInfoOther message. Does not implicitly {@link cometbft.p2p.DefaultNodeInfoOther.verify|verify} messages. * @param message DefaultNodeInfoOther message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.p2p.IDefaultNodeInfoOther, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DefaultNodeInfoOther message, length delimited. Does not implicitly {@link cometbft.p2p.DefaultNodeInfoOther.verify|verify} messages. * @param message DefaultNodeInfoOther message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.p2p.IDefaultNodeInfoOther, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DefaultNodeInfoOther message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DefaultNodeInfoOther * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.p2p.DefaultNodeInfoOther; /** * Decodes a DefaultNodeInfoOther message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DefaultNodeInfoOther * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.p2p.DefaultNodeInfoOther; /** * Verifies a DefaultNodeInfoOther message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DefaultNodeInfoOther message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DefaultNodeInfoOther */ public static fromObject(object: { [k: string]: any }): cometbft.p2p.DefaultNodeInfoOther; /** * Creates a plain object from a DefaultNodeInfoOther message. Also converts values to other types if specified. * @param message DefaultNodeInfoOther * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.p2p.DefaultNodeInfoOther, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DefaultNodeInfoOther to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } /** Namespace libs. */ namespace libs { /** Namespace bits. */ namespace bits { /** Properties of a BitArray. */ interface IBitArray { /** BitArray bits */ bits?: (Long|null); /** BitArray elems */ elems?: (Long[]|null); } /** Represents a BitArray. */ class BitArray implements IBitArray { /** * Constructs a new BitArray. * @param [properties] Properties to set */ constructor(properties?: cometbft.libs.bits.IBitArray); /** BitArray bits. */ public bits: Long; /** BitArray elems. */ public elems: Long[]; /** * Encodes the specified BitArray message. Does not implicitly {@link cometbft.libs.bits.BitArray.verify|verify} messages. * @param message BitArray message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: cometbft.libs.bits.IBitArray, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BitArray message, length delimited. Does not implicitly {@link cometbft.libs.bits.BitArray.verify|verify} messages. * @param message BitArray message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: cometbft.libs.bits.IBitArray, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BitArray message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BitArray * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cometbft.libs.bits.BitArray; /** * Decodes a BitArray message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BitArray * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cometbft.libs.bits.BitArray; /** * Verifies a BitArray message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BitArray message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BitArray */ public static fromObject(object: { [k: string]: any }): cometbft.libs.bits.BitArray; /** * Creates a plain object from a BitArray message. Also converts values to other types if specified. * @param message BitArray * @param [options] Conversion options * @returns Plain object */ public static toObject(message: cometbft.libs.bits.BitArray, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BitArray to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } } /** Namespace google. */ export namespace google { /** Namespace protobuf. */ namespace protobuf { /** Properties of a FileDescriptorSet. */ interface IFileDescriptorSet { /** FileDescriptorSet file */ file?: (google.protobuf.IFileDescriptorProto[]|null); } /** Represents a FileDescriptorSet. */ class FileDescriptorSet implements IFileDescriptorSet { /** * Constructs a new FileDescriptorSet. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IFileDescriptorSet); /** FileDescriptorSet file. */ public file: google.protobuf.IFileDescriptorProto[]; /** * Encodes the specified FileDescriptorSet message. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages. * @param message FileDescriptorSet message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FileDescriptorSet message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages. * @param message FileDescriptorSet message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FileDescriptorSet message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FileDescriptorSet * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorSet; /** * Decodes a FileDescriptorSet message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FileDescriptorSet * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorSet; /** * Verifies a FileDescriptorSet message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FileDescriptorSet message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FileDescriptorSet */ public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorSet; /** * Creates a plain object from a FileDescriptorSet message. Also converts values to other types if specified. * @param message FileDescriptorSet * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.FileDescriptorSet, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FileDescriptorSet to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a FileDescriptorProto. */ interface IFileDescriptorProto { /** FileDescriptorProto name */ name?: (string|null); /** FileDescriptorProto package */ "package"?: (string|null); /** FileDescriptorProto dependency */ dependency?: (string[]|null); /** FileDescriptorProto public_dependency */ public_dependency?: (number[]|null); /** FileDescriptorProto weak_dependency */ weak_dependency?: (number[]|null); /** FileDescriptorProto message_type */ message_type?: (google.protobuf.IDescriptorProto[]|null); /** FileDescriptorProto enum_type */ enum_type?: (google.protobuf.IEnumDescriptorProto[]|null); /** FileDescriptorProto service */ service?: (google.protobuf.IServiceDescriptorProto[]|null); /** FileDescriptorProto extension */ extension?: (google.protobuf.IFieldDescriptorProto[]|null); /** FileDescriptorProto options */ options?: (google.protobuf.IFileOptions|null); /** FileDescriptorProto source_code_info */ source_code_info?: (google.protobuf.ISourceCodeInfo|null); /** FileDescriptorProto syntax */ syntax?: (string|null); } /** Represents a FileDescriptorProto. */ class FileDescriptorProto implements IFileDescriptorProto { /** * Constructs a new FileDescriptorProto. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IFileDescriptorProto); /** FileDescriptorProto name. */ public name: string; /** FileDescriptorProto package. */ public package: string; /** FileDescriptorProto dependency. */ public dependency: string[]; /** FileDescriptorProto public_dependency. */ public public_dependency: number[]; /** FileDescriptorProto weak_dependency. */ public weak_dependency: number[]; /** FileDescriptorProto message_type. */ public message_type: google.protobuf.IDescriptorProto[]; /** FileDescriptorProto enum_type. */ public enum_type: google.protobuf.IEnumDescriptorProto[]; /** FileDescriptorProto service. */ public service: google.protobuf.IServiceDescriptorProto[]; /** FileDescriptorProto extension. */ public extension: google.protobuf.IFieldDescriptorProto[]; /** FileDescriptorProto options. */ public options?: (google.protobuf.IFileOptions|null); /** FileDescriptorProto source_code_info. */ public source_code_info?: (google.protobuf.ISourceCodeInfo|null); /** FileDescriptorProto syntax. */ public syntax: string; /** * Encodes the specified FileDescriptorProto message. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages. * @param message FileDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FileDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages. * @param message FileDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FileDescriptorProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FileDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorProto; /** * Decodes a FileDescriptorProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FileDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorProto; /** * Verifies a FileDescriptorProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FileDescriptorProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FileDescriptorProto */ public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorProto; /** * Creates a plain object from a FileDescriptorProto message. Also converts values to other types if specified. * @param message FileDescriptorProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.FileDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FileDescriptorProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a DescriptorProto. */ interface IDescriptorProto { /** DescriptorProto name */ name?: (string|null); /** DescriptorProto field */ field?: (google.protobuf.IFieldDescriptorProto[]|null); /** DescriptorProto extension */ extension?: (google.protobuf.IFieldDescriptorProto[]|null); /** DescriptorProto nested_type */ nested_type?: (google.protobuf.IDescriptorProto[]|null); /** DescriptorProto enum_type */ enum_type?: (google.protobuf.IEnumDescriptorProto[]|null); /** DescriptorProto extension_range */ extension_range?: (google.protobuf.DescriptorProto.IExtensionRange[]|null); /** DescriptorProto oneof_decl */ oneof_decl?: (google.protobuf.IOneofDescriptorProto[]|null); /** DescriptorProto options */ options?: (google.protobuf.IMessageOptions|null); /** DescriptorProto reserved_range */ reserved_range?: (google.protobuf.DescriptorProto.IReservedRange[]|null); /** DescriptorProto reserved_name */ reserved_name?: (string[]|null); } /** Represents a DescriptorProto. */ class DescriptorProto implements IDescriptorProto { /** * Constructs a new DescriptorProto. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IDescriptorProto); /** DescriptorProto name. */ public name: string; /** DescriptorProto field. */ public field: google.protobuf.IFieldDescriptorProto[]; /** DescriptorProto extension. */ public extension: google.protobuf.IFieldDescriptorProto[]; /** DescriptorProto nested_type. */ public nested_type: google.protobuf.IDescriptorProto[]; /** DescriptorProto enum_type. */ public enum_type: google.protobuf.IEnumDescriptorProto[]; /** DescriptorProto extension_range. */ public extension_range: google.protobuf.DescriptorProto.IExtensionRange[]; /** DescriptorProto oneof_decl. */ public oneof_decl: google.protobuf.IOneofDescriptorProto[]; /** DescriptorProto options. */ public options?: (google.protobuf.IMessageOptions|null); /** DescriptorProto reserved_range. */ public reserved_range: google.protobuf.DescriptorProto.IReservedRange[]; /** DescriptorProto reserved_name. */ public reserved_name: string[]; /** * Encodes the specified DescriptorProto message. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages. * @param message DescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages. * @param message DescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DescriptorProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto; /** * Decodes a DescriptorProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto; /** * Verifies a DescriptorProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DescriptorProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DescriptorProto */ public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto; /** * Creates a plain object from a DescriptorProto message. Also converts values to other types if specified. * @param message DescriptorProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.DescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DescriptorProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } namespace DescriptorProto { /** Properties of an ExtensionRange. */ interface IExtensionRange { /** ExtensionRange start */ start?: (number|null); /** ExtensionRange end */ end?: (number|null); } /** Represents an ExtensionRange. */ class ExtensionRange implements IExtensionRange { /** * Constructs a new ExtensionRange. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.DescriptorProto.IExtensionRange); /** ExtensionRange start. */ public start: number; /** ExtensionRange end. */ public end: number; /** * Encodes the specified ExtensionRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages. * @param message ExtensionRange message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ExtensionRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages. * @param message ExtensionRange message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ExtensionRange message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ExtensionRange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ExtensionRange; /** * Decodes an ExtensionRange message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ExtensionRange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ExtensionRange; /** * Verifies an ExtensionRange message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an ExtensionRange message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ExtensionRange */ public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ExtensionRange; /** * Creates a plain object from an ExtensionRange message. Also converts values to other types if specified. * @param message ExtensionRange * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.DescriptorProto.ExtensionRange, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ExtensionRange to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ReservedRange. */ interface IReservedRange { /** ReservedRange start */ start?: (number|null); /** ReservedRange end */ end?: (number|null); } /** Represents a ReservedRange. */ class ReservedRange implements IReservedRange { /** * Constructs a new ReservedRange. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.DescriptorProto.IReservedRange); /** ReservedRange start. */ public start: number; /** ReservedRange end. */ public end: number; /** * Encodes the specified ReservedRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages. * @param message ReservedRange message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ReservedRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages. * @param message ReservedRange message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ReservedRange message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ReservedRange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ReservedRange; /** * Decodes a ReservedRange message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ReservedRange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ReservedRange; /** * Verifies a ReservedRange message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ReservedRange message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ReservedRange */ public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ReservedRange; /** * Creates a plain object from a ReservedRange message. Also converts values to other types if specified. * @param message ReservedRange * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.DescriptorProto.ReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ReservedRange to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } /** Properties of a FieldDescriptorProto. */ interface IFieldDescriptorProto { /** FieldDescriptorProto name */ name?: (string|null); /** FieldDescriptorProto number */ number?: (number|null); /** FieldDescriptorProto label */ label?: (google.protobuf.FieldDescriptorProto.Label|null); /** FieldDescriptorProto type */ type?: (google.protobuf.FieldDescriptorProto.Type|null); /** FieldDescriptorProto type_name */ type_name?: (string|null); /** FieldDescriptorProto extendee */ extendee?: (string|null); /** FieldDescriptorProto default_value */ default_value?: (string|null); /** FieldDescriptorProto oneof_index */ oneof_index?: (number|null); /** FieldDescriptorProto json_name */ json_name?: (string|null); /** FieldDescriptorProto options */ options?: (google.protobuf.IFieldOptions|null); } /** Represents a FieldDescriptorProto. */ class FieldDescriptorProto implements IFieldDescriptorProto { /** * Constructs a new FieldDescriptorProto. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IFieldDescriptorProto); /** FieldDescriptorProto name. */ public name: string; /** FieldDescriptorProto number. */ public number: number; /** FieldDescriptorProto label. */ public label: google.protobuf.FieldDescriptorProto.Label; /** FieldDescriptorProto type. */ public type: google.protobuf.FieldDescriptorProto.Type; /** FieldDescriptorProto type_name. */ public type_name: string; /** FieldDescriptorProto extendee. */ public extendee: string; /** FieldDescriptorProto default_value. */ public default_value: string; /** FieldDescriptorProto oneof_index. */ public oneof_index: number; /** FieldDescriptorProto json_name. */ public json_name: string; /** FieldDescriptorProto options. */ public options?: (google.protobuf.IFieldOptions|null); /** * Encodes the specified FieldDescriptorProto message. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages. * @param message FieldDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FieldDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages. * @param message FieldDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FieldDescriptorProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FieldDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldDescriptorProto; /** * Decodes a FieldDescriptorProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FieldDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldDescriptorProto; /** * Verifies a FieldDescriptorProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FieldDescriptorProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FieldDescriptorProto */ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldDescriptorProto; /** * Creates a plain object from a FieldDescriptorProto message. Also converts values to other types if specified. * @param message FieldDescriptorProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.FieldDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FieldDescriptorProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } namespace FieldDescriptorProto { /** Type enum. */ enum Type { TYPE_DOUBLE = 1, TYPE_FLOAT = 2, TYPE_INT64 = 3, TYPE_UINT64 = 4, TYPE_INT32 = 5, TYPE_FIXED64 = 6, TYPE_FIXED32 = 7, TYPE_BOOL = 8, TYPE_STRING = 9, TYPE_GROUP = 10, TYPE_MESSAGE = 11, TYPE_BYTES = 12, TYPE_UINT32 = 13, TYPE_ENUM = 14, TYPE_SFIXED32 = 15, TYPE_SFIXED64 = 16, TYPE_SINT32 = 17, TYPE_SINT64 = 18 } /** Label enum. */ enum Label { LABEL_OPTIONAL = 1, LABEL_REQUIRED = 2, LABEL_REPEATED = 3 } } /** Properties of an OneofDescriptorProto. */ interface IOneofDescriptorProto { /** OneofDescriptorProto name */ name?: (string|null); /** OneofDescriptorProto options */ options?: (google.protobuf.IOneofOptions|null); } /** Represents an OneofDescriptorProto. */ class OneofDescriptorProto implements IOneofDescriptorProto { /** * Constructs a new OneofDescriptorProto. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IOneofDescriptorProto); /** OneofDescriptorProto name. */ public name: string; /** OneofDescriptorProto options. */ public options?: (google.protobuf.IOneofOptions|null); /** * Encodes the specified OneofDescriptorProto message. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages. * @param message OneofDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified OneofDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages. * @param message OneofDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an OneofDescriptorProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns OneofDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofDescriptorProto; /** * Decodes an OneofDescriptorProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns OneofDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofDescriptorProto; /** * Verifies an OneofDescriptorProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an OneofDescriptorProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns OneofDescriptorProto */ public static fromObject(object: { [k: string]: any }): google.protobuf.OneofDescriptorProto; /** * Creates a plain object from an OneofDescriptorProto message. Also converts values to other types if specified. * @param message OneofDescriptorProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.OneofDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this OneofDescriptorProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an EnumDescriptorProto. */ interface IEnumDescriptorProto { /** EnumDescriptorProto name */ name?: (string|null); /** EnumDescriptorProto value */ value?: (google.protobuf.IEnumValueDescriptorProto[]|null); /** EnumDescriptorProto options */ options?: (google.protobuf.IEnumOptions|null); } /** Represents an EnumDescriptorProto. */ class EnumDescriptorProto implements IEnumDescriptorProto { /** * Constructs a new EnumDescriptorProto. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IEnumDescriptorProto); /** EnumDescriptorProto name. */ public name: string; /** EnumDescriptorProto value. */ public value: google.protobuf.IEnumValueDescriptorProto[]; /** EnumDescriptorProto options. */ public options?: (google.protobuf.IEnumOptions|null); /** * Encodes the specified EnumDescriptorProto message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages. * @param message EnumDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EnumDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages. * @param message EnumDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EnumDescriptorProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EnumDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto; /** * Decodes an EnumDescriptorProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EnumDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto; /** * Verifies an EnumDescriptorProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EnumDescriptorProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EnumDescriptorProto */ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto; /** * Creates a plain object from an EnumDescriptorProto message. Also converts values to other types if specified. * @param message EnumDescriptorProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.EnumDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EnumDescriptorProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an EnumValueDescriptorProto. */ interface IEnumValueDescriptorProto { /** EnumValueDescriptorProto name */ name?: (string|null); /** EnumValueDescriptorProto number */ number?: (number|null); /** EnumValueDescriptorProto options */ options?: (google.protobuf.IEnumValueOptions|null); } /** Represents an EnumValueDescriptorProto. */ class EnumValueDescriptorProto implements IEnumValueDescriptorProto { /** * Constructs a new EnumValueDescriptorProto. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IEnumValueDescriptorProto); /** EnumValueDescriptorProto name. */ public name: string; /** EnumValueDescriptorProto number. */ public number: number; /** EnumValueDescriptorProto options. */ public options?: (google.protobuf.IEnumValueOptions|null); /** * Encodes the specified EnumValueDescriptorProto message. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages. * @param message EnumValueDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EnumValueDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages. * @param message EnumValueDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EnumValueDescriptorProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EnumValueDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueDescriptorProto; /** * Decodes an EnumValueDescriptorProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EnumValueDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueDescriptorProto; /** * Verifies an EnumValueDescriptorProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EnumValueDescriptorProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EnumValueDescriptorProto */ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueDescriptorProto; /** * Creates a plain object from an EnumValueDescriptorProto message. Also converts values to other types if specified. * @param message EnumValueDescriptorProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.EnumValueDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EnumValueDescriptorProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ServiceDescriptorProto. */ interface IServiceDescriptorProto { /** ServiceDescriptorProto name */ name?: (string|null); /** ServiceDescriptorProto method */ method?: (google.protobuf.IMethodDescriptorProto[]|null); /** ServiceDescriptorProto options */ options?: (google.protobuf.IServiceOptions|null); } /** Represents a ServiceDescriptorProto. */ class ServiceDescriptorProto implements IServiceDescriptorProto { /** * Constructs a new ServiceDescriptorProto. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IServiceDescriptorProto); /** ServiceDescriptorProto name. */ public name: string; /** ServiceDescriptorProto method. */ public method: google.protobuf.IMethodDescriptorProto[]; /** ServiceDescriptorProto options. */ public options?: (google.protobuf.IServiceOptions|null); /** * Encodes the specified ServiceDescriptorProto message. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages. * @param message ServiceDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ServiceDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages. * @param message ServiceDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ServiceDescriptorProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ServiceDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceDescriptorProto; /** * Decodes a ServiceDescriptorProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ServiceDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceDescriptorProto; /** * Verifies a ServiceDescriptorProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ServiceDescriptorProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ServiceDescriptorProto */ public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceDescriptorProto; /** * Creates a plain object from a ServiceDescriptorProto message. Also converts values to other types if specified. * @param message ServiceDescriptorProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.ServiceDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ServiceDescriptorProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MethodDescriptorProto. */ interface IMethodDescriptorProto { /** MethodDescriptorProto name */ name?: (string|null); /** MethodDescriptorProto input_type */ input_type?: (string|null); /** MethodDescriptorProto output_type */ output_type?: (string|null); /** MethodDescriptorProto options */ options?: (google.protobuf.IMethodOptions|null); /** MethodDescriptorProto client_streaming */ client_streaming?: (boolean|null); /** MethodDescriptorProto server_streaming */ server_streaming?: (boolean|null); } /** Represents a MethodDescriptorProto. */ class MethodDescriptorProto implements IMethodDescriptorProto { /** * Constructs a new MethodDescriptorProto. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IMethodDescriptorProto); /** MethodDescriptorProto name. */ public name: string; /** MethodDescriptorProto input_type. */ public input_type: string; /** MethodDescriptorProto output_type. */ public output_type: string; /** MethodDescriptorProto options. */ public options?: (google.protobuf.IMethodOptions|null); /** MethodDescriptorProto client_streaming. */ public client_streaming: boolean; /** MethodDescriptorProto server_streaming. */ public server_streaming: boolean; /** * Encodes the specified MethodDescriptorProto message. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages. * @param message MethodDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MethodDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages. * @param message MethodDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MethodDescriptorProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MethodDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodDescriptorProto; /** * Decodes a MethodDescriptorProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MethodDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodDescriptorProto; /** * Verifies a MethodDescriptorProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MethodDescriptorProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MethodDescriptorProto */ public static fromObject(object: { [k: string]: any }): google.protobuf.MethodDescriptorProto; /** * Creates a plain object from a MethodDescriptorProto message. Also converts values to other types if specified. * @param message MethodDescriptorProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.MethodDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MethodDescriptorProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a FileOptions. */ interface IFileOptions { /** FileOptions java_package */ java_package?: (string|null); /** FileOptions java_outer_classname */ java_outer_classname?: (string|null); /** FileOptions java_multiple_files */ java_multiple_files?: (boolean|null); /** FileOptions java_generate_equals_and_hash */ java_generate_equals_and_hash?: (boolean|null); /** FileOptions java_string_check_utf8 */ java_string_check_utf8?: (boolean|null); /** FileOptions optimize_for */ optimize_for?: (google.protobuf.FileOptions.OptimizeMode|null); /** FileOptions go_package */ go_package?: (string|null); /** FileOptions cc_generic_services */ cc_generic_services?: (boolean|null); /** FileOptions java_generic_services */ java_generic_services?: (boolean|null); /** FileOptions py_generic_services */ py_generic_services?: (boolean|null); /** FileOptions deprecated */ deprecated?: (boolean|null); /** FileOptions cc_enable_arenas */ cc_enable_arenas?: (boolean|null); /** FileOptions objc_class_prefix */ objc_class_prefix?: (string|null); /** FileOptions csharp_namespace */ csharp_namespace?: (string|null); /** FileOptions uninterpreted_option */ uninterpreted_option?: (google.protobuf.IUninterpretedOption[]|null); /** FileOptions .gogoproto.goproto_getters_all */ ".gogoproto.goproto_getters_all"?: (boolean|null); /** FileOptions .gogoproto.goproto_enum_prefix_all */ ".gogoproto.goproto_enum_prefix_all"?: (boolean|null); /** FileOptions .gogoproto.goproto_stringer_all */ ".gogoproto.goproto_stringer_all"?: (boolean|null); /** FileOptions .gogoproto.verbose_equal_all */ ".gogoproto.verbose_equal_all"?: (boolean|null); /** FileOptions .gogoproto.face_all */ ".gogoproto.face_all"?: (boolean|null); /** FileOptions .gogoproto.gostring_all */ ".gogoproto.gostring_all"?: (boolean|null); /** FileOptions .gogoproto.populate_all */ ".gogoproto.populate_all"?: (boolean|null); /** FileOptions .gogoproto.stringer_all */ ".gogoproto.stringer_all"?: (boolean|null); /** FileOptions .gogoproto.onlyone_all */ ".gogoproto.onlyone_all"?: (boolean|null); /** FileOptions .gogoproto.equal_all */ ".gogoproto.equal_all"?: (boolean|null); /** FileOptions .gogoproto.description_all */ ".gogoproto.description_all"?: (boolean|null); /** FileOptions .gogoproto.testgen_all */ ".gogoproto.testgen_all"?: (boolean|null); /** FileOptions .gogoproto.benchgen_all */ ".gogoproto.benchgen_all"?: (boolean|null); /** FileOptions .gogoproto.marshaler_all */ ".gogoproto.marshaler_all"?: (boolean|null); /** FileOptions .gogoproto.unmarshaler_all */ ".gogoproto.unmarshaler_all"?: (boolean|null); /** FileOptions .gogoproto.stable_marshaler_all */ ".gogoproto.stable_marshaler_all"?: (boolean|null); /** FileOptions .gogoproto.sizer_all */ ".gogoproto.sizer_all"?: (boolean|null); /** FileOptions .gogoproto.goproto_enum_stringer_all */ ".gogoproto.goproto_enum_stringer_all"?: (boolean|null); /** FileOptions .gogoproto.enum_stringer_all */ ".gogoproto.enum_stringer_all"?: (boolean|null); /** FileOptions .gogoproto.unsafe_marshaler_all */ ".gogoproto.unsafe_marshaler_all"?: (boolean|null); /** FileOptions .gogoproto.unsafe_unmarshaler_all */ ".gogoproto.unsafe_unmarshaler_all"?: (boolean|null); /** FileOptions .gogoproto.goproto_extensions_map_all */ ".gogoproto.goproto_extensions_map_all"?: (boolean|null); /** FileOptions .gogoproto.goproto_unrecognized_all */ ".gogoproto.goproto_unrecognized_all"?: (boolean|null); /** FileOptions .gogoproto.gogoproto_import */ ".gogoproto.gogoproto_import"?: (boolean|null); /** FileOptions .gogoproto.protosizer_all */ ".gogoproto.protosizer_all"?: (boolean|null); /** FileOptions .gogoproto.compare_all */ ".gogoproto.compare_all"?: (boolean|null); /** FileOptions .gogoproto.typedecl_all */ ".gogoproto.typedecl_all"?: (boolean|null); /** FileOptions .gogoproto.enumdecl_all */ ".gogoproto.enumdecl_all"?: (boolean|null); /** FileOptions .gogoproto.goproto_registration */ ".gogoproto.goproto_registration"?: (boolean|null); /** FileOptions .gogoproto.messagename_all */ ".gogoproto.messagename_all"?: (boolean|null); /** FileOptions .gogoproto.goproto_sizecache_all */ ".gogoproto.goproto_sizecache_all"?: (boolean|null); /** FileOptions .gogoproto.goproto_unkeyed_all */ ".gogoproto.goproto_unkeyed_all"?: (boolean|null); /** FileOptions .cosmos_proto.declare_interface */ ".cosmos_proto.declare_interface"?: (cosmos_proto.IInterfaceDescriptor[]|null); /** FileOptions .cosmos_proto.declare_scalar */ ".cosmos_proto.declare_scalar"?: (cosmos_proto.IScalarDescriptor[]|null); } /** Represents a FileOptions. */ class FileOptions implements IFileOptions { /** * Constructs a new FileOptions. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IFileOptions); /** FileOptions java_package. */ public java_package: string; /** FileOptions java_outer_classname. */ public java_outer_classname: string; /** FileOptions java_multiple_files. */ public java_multiple_files: boolean; /** FileOptions java_generate_equals_and_hash. */ public java_generate_equals_and_hash: boolean; /** FileOptions java_string_check_utf8. */ public java_string_check_utf8: boolean; /** FileOptions optimize_for. */ public optimize_for: google.protobuf.FileOptions.OptimizeMode; /** FileOptions go_package. */ public go_package: string; /** FileOptions cc_generic_services. */ public cc_generic_services: boolean; /** FileOptions java_generic_services. */ public java_generic_services: boolean; /** FileOptions py_generic_services. */ public py_generic_services: boolean; /** FileOptions deprecated. */ public deprecated: boolean; /** FileOptions cc_enable_arenas. */ public cc_enable_arenas: boolean; /** FileOptions objc_class_prefix. */ public objc_class_prefix: string; /** FileOptions csharp_namespace. */ public csharp_namespace: string; /** FileOptions uninterpreted_option. */ public uninterpreted_option: google.protobuf.IUninterpretedOption[]; /** * Encodes the specified FileOptions message. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages. * @param message FileOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FileOptions message, length delimited. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages. * @param message FileOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FileOptions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FileOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileOptions; /** * Decodes a FileOptions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FileOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileOptions; /** * Verifies a FileOptions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FileOptions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FileOptions */ public static fromObject(object: { [k: string]: any }): google.protobuf.FileOptions; /** * Creates a plain object from a FileOptions message. Also converts values to other types if specified. * @param message FileOptions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.FileOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FileOptions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } namespace FileOptions { /** OptimizeMode enum. */ enum OptimizeMode { SPEED = 1, CODE_SIZE = 2, LITE_RUNTIME = 3 } } /** Properties of a MessageOptions. */ interface IMessageOptions { /** MessageOptions message_set_wire_format */ message_set_wire_format?: (boolean|null); /** MessageOptions no_standard_descriptor_accessor */ no_standard_descriptor_accessor?: (boolean|null); /** MessageOptions deprecated */ deprecated?: (boolean|null); /** MessageOptions map_entry */ map_entry?: (boolean|null); /** MessageOptions uninterpreted_option */ uninterpreted_option?: (google.protobuf.IUninterpretedOption[]|null); /** MessageOptions .amino.name */ ".amino.name"?: (string|null); /** MessageOptions .amino.message_encoding */ ".amino.message_encoding"?: (string|null); /** MessageOptions .cosmos.app.v1alpha1.module */ ".cosmos.app.v1alpha1.module"?: (cosmos.app.v1alpha1.IModuleDescriptor|null); /** MessageOptions .gogoproto.goproto_getters */ ".gogoproto.goproto_getters"?: (boolean|null); /** MessageOptions .gogoproto.goproto_stringer */ ".gogoproto.goproto_stringer"?: (boolean|null); /** MessageOptions .gogoproto.verbose_equal */ ".gogoproto.verbose_equal"?: (boolean|null); /** MessageOptions .gogoproto.face */ ".gogoproto.face"?: (boolean|null); /** MessageOptions .gogoproto.gostring */ ".gogoproto.gostring"?: (boolean|null); /** MessageOptions .gogoproto.populate */ ".gogoproto.populate"?: (boolean|null); /** MessageOptions .gogoproto.stringer */ ".gogoproto.stringer"?: (boolean|null); /** MessageOptions .gogoproto.onlyone */ ".gogoproto.onlyone"?: (boolean|null); /** MessageOptions .gogoproto.equal */ ".gogoproto.equal"?: (boolean|null); /** MessageOptions .gogoproto.description */ ".gogoproto.description"?: (boolean|null); /** MessageOptions .gogoproto.testgen */ ".gogoproto.testgen"?: (boolean|null); /** MessageOptions .gogoproto.benchgen */ ".gogoproto.benchgen"?: (boolean|null); /** MessageOptions .gogoproto.marshaler */ ".gogoproto.marshaler"?: (boolean|null); /** MessageOptions .gogoproto.unmarshaler */ ".gogoproto.unmarshaler"?: (boolean|null); /** MessageOptions .gogoproto.stable_marshaler */ ".gogoproto.stable_marshaler"?: (boolean|null); /** MessageOptions .gogoproto.sizer */ ".gogoproto.sizer"?: (boolean|null); /** MessageOptions .gogoproto.unsafe_marshaler */ ".gogoproto.unsafe_marshaler"?: (boolean|null); /** MessageOptions .gogoproto.unsafe_unmarshaler */ ".gogoproto.unsafe_unmarshaler"?: (boolean|null); /** MessageOptions .gogoproto.goproto_extensions_map */ ".gogoproto.goproto_extensions_map"?: (boolean|null); /** MessageOptions .gogoproto.goproto_unrecognized */ ".gogoproto.goproto_unrecognized"?: (boolean|null); /** MessageOptions .gogoproto.protosizer */ ".gogoproto.protosizer"?: (boolean|null); /** MessageOptions .gogoproto.compare */ ".gogoproto.compare"?: (boolean|null); /** MessageOptions .gogoproto.typedecl */ ".gogoproto.typedecl"?: (boolean|null); /** MessageOptions .gogoproto.messagename */ ".gogoproto.messagename"?: (boolean|null); /** MessageOptions .gogoproto.goproto_sizecache */ ".gogoproto.goproto_sizecache"?: (boolean|null); /** MessageOptions .gogoproto.goproto_unkeyed */ ".gogoproto.goproto_unkeyed"?: (boolean|null); /** MessageOptions .cosmos_proto.implements_interface */ ".cosmos_proto.implements_interface"?: (string[]|null); /** MessageOptions .cosmos.msg.v1.signer */ ".cosmos.msg.v1.signer"?: (string[]|null); /** MessageOptions .cosmos.orm.v1.table */ ".cosmos.orm.v1.table"?: (cosmos.orm.v1.ITableDescriptor|null); /** MessageOptions .cosmos.orm.v1.singleton */ ".cosmos.orm.v1.singleton"?: (cosmos.orm.v1.ISingletonDescriptor|null); /** MessageOptions .cosmos.orm.v1alpha1.module_schema */ ".cosmos.orm.v1alpha1.module_schema"?: (cosmos.orm.v1alpha1.IModuleSchemaDescriptor|null); } /** Represents a MessageOptions. */ class MessageOptions implements IMessageOptions { /** * Constructs a new MessageOptions. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IMessageOptions); /** MessageOptions message_set_wire_format. */ public message_set_wire_format: boolean; /** MessageOptions no_standard_descriptor_accessor. */ public no_standard_descriptor_accessor: boolean; /** MessageOptions deprecated. */ public deprecated: boolean; /** MessageOptions map_entry. */ public map_entry: boolean; /** MessageOptions uninterpreted_option. */ public uninterpreted_option: google.protobuf.IUninterpretedOption[]; /** * Encodes the specified MessageOptions message. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages. * @param message MessageOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MessageOptions message, length delimited. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages. * @param message MessageOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MessageOptions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MessageOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MessageOptions; /** * Decodes a MessageOptions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MessageOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MessageOptions; /** * Verifies a MessageOptions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MessageOptions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MessageOptions */ public static fromObject(object: { [k: string]: any }): google.protobuf.MessageOptions; /** * Creates a plain object from a MessageOptions message. Also converts values to other types if specified. * @param message MessageOptions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.MessageOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MessageOptions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a FieldOptions. */ interface IFieldOptions { /** FieldOptions ctype */ ctype?: (google.protobuf.FieldOptions.CType|null); /** FieldOptions packed */ packed?: (boolean|null); /** FieldOptions jstype */ jstype?: (google.protobuf.FieldOptions.JSType|null); /** FieldOptions lazy */ lazy?: (boolean|null); /** FieldOptions deprecated */ deprecated?: (boolean|null); /** FieldOptions weak */ weak?: (boolean|null); /** FieldOptions uninterpreted_option */ uninterpreted_option?: (google.protobuf.IUninterpretedOption[]|null); /** FieldOptions .amino.encoding */ ".amino.encoding"?: (string|null); /** FieldOptions .amino.field_name */ ".amino.field_name"?: (string|null); /** FieldOptions .amino.dont_omitempty */ ".amino.dont_omitempty"?: (boolean|null); /** FieldOptions .gogoproto.nullable */ ".gogoproto.nullable"?: (boolean|null); /** FieldOptions .gogoproto.embed */ ".gogoproto.embed"?: (boolean|null); /** FieldOptions .gogoproto.customtype */ ".gogoproto.customtype"?: (string|null); /** FieldOptions .gogoproto.customname */ ".gogoproto.customname"?: (string|null); /** FieldOptions .gogoproto.jsontag */ ".gogoproto.jsontag"?: (string|null); /** FieldOptions .gogoproto.moretags */ ".gogoproto.moretags"?: (string|null); /** FieldOptions .gogoproto.casttype */ ".gogoproto.casttype"?: (string|null); /** FieldOptions .gogoproto.castkey */ ".gogoproto.castkey"?: (string|null); /** FieldOptions .gogoproto.castvalue */ ".gogoproto.castvalue"?: (string|null); /** FieldOptions .gogoproto.stdtime */ ".gogoproto.stdtime"?: (boolean|null); /** FieldOptions .gogoproto.stdduration */ ".gogoproto.stdduration"?: (boolean|null); /** FieldOptions .gogoproto.wktpointer */ ".gogoproto.wktpointer"?: (boolean|null); /** FieldOptions .gogoproto.castrepeated */ ".gogoproto.castrepeated"?: (string|null); /** FieldOptions .cosmos_proto.accepts_interface */ ".cosmos_proto.accepts_interface"?: (string|null); /** FieldOptions .cosmos_proto.scalar */ ".cosmos_proto.scalar"?: (string|null); } /** Represents a FieldOptions. */ class FieldOptions implements IFieldOptions { /** * Constructs a new FieldOptions. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IFieldOptions); /** FieldOptions ctype. */ public ctype: google.protobuf.FieldOptions.CType; /** FieldOptions packed. */ public packed: boolean; /** FieldOptions jstype. */ public jstype: google.protobuf.FieldOptions.JSType; /** FieldOptions lazy. */ public lazy: boolean; /** FieldOptions deprecated. */ public deprecated: boolean; /** FieldOptions weak. */ public weak: boolean; /** FieldOptions uninterpreted_option. */ public uninterpreted_option: google.protobuf.IUninterpretedOption[]; /** * Encodes the specified FieldOptions message. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages. * @param message FieldOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FieldOptions message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages. * @param message FieldOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FieldOptions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FieldOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions; /** * Decodes a FieldOptions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FieldOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions; /** * Verifies a FieldOptions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FieldOptions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FieldOptions */ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions; /** * Creates a plain object from a FieldOptions message. Also converts values to other types if specified. * @param message FieldOptions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.FieldOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FieldOptions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } namespace FieldOptions { /** CType enum. */ enum CType { STRING = 0, CORD = 1, STRING_PIECE = 2 } /** JSType enum. */ enum JSType { JS_NORMAL = 0, JS_STRING = 1, JS_NUMBER = 2 } } /** Properties of an OneofOptions. */ interface IOneofOptions { /** OneofOptions uninterpreted_option */ uninterpreted_option?: (google.protobuf.IUninterpretedOption[]|null); } /** Represents an OneofOptions. */ class OneofOptions implements IOneofOptions { /** * Constructs a new OneofOptions. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IOneofOptions); /** OneofOptions uninterpreted_option. */ public uninterpreted_option: google.protobuf.IUninterpretedOption[]; /** * Encodes the specified OneofOptions message. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages. * @param message OneofOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified OneofOptions message, length delimited. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages. * @param message OneofOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an OneofOptions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns OneofOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofOptions; /** * Decodes an OneofOptions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns OneofOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofOptions; /** * Verifies an OneofOptions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an OneofOptions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns OneofOptions */ public static fromObject(object: { [k: string]: any }): google.protobuf.OneofOptions; /** * Creates a plain object from an OneofOptions message. Also converts values to other types if specified. * @param message OneofOptions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.OneofOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this OneofOptions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an EnumOptions. */ interface IEnumOptions { /** EnumOptions allow_alias */ allow_alias?: (boolean|null); /** EnumOptions deprecated */ deprecated?: (boolean|null); /** EnumOptions uninterpreted_option */ uninterpreted_option?: (google.protobuf.IUninterpretedOption[]|null); /** EnumOptions .gogoproto.goproto_enum_prefix */ ".gogoproto.goproto_enum_prefix"?: (boolean|null); /** EnumOptions .gogoproto.goproto_enum_stringer */ ".gogoproto.goproto_enum_stringer"?: (boolean|null); /** EnumOptions .gogoproto.enum_stringer */ ".gogoproto.enum_stringer"?: (boolean|null); /** EnumOptions .gogoproto.enum_customname */ ".gogoproto.enum_customname"?: (string|null); /** EnumOptions .gogoproto.enumdecl */ ".gogoproto.enumdecl"?: (boolean|null); } /** Represents an EnumOptions. */ class EnumOptions implements IEnumOptions { /** * Constructs a new EnumOptions. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IEnumOptions); /** EnumOptions allow_alias. */ public allow_alias: boolean; /** EnumOptions deprecated. */ public deprecated: boolean; /** EnumOptions uninterpreted_option. */ public uninterpreted_option: google.protobuf.IUninterpretedOption[]; /** * Encodes the specified EnumOptions message. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages. * @param message EnumOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EnumOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages. * @param message EnumOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EnumOptions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EnumOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumOptions; /** * Decodes an EnumOptions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EnumOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumOptions; /** * Verifies an EnumOptions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EnumOptions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EnumOptions */ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumOptions; /** * Creates a plain object from an EnumOptions message. Also converts values to other types if specified. * @param message EnumOptions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.EnumOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EnumOptions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an EnumValueOptions. */ interface IEnumValueOptions { /** EnumValueOptions deprecated */ deprecated?: (boolean|null); /** EnumValueOptions uninterpreted_option */ uninterpreted_option?: (google.protobuf.IUninterpretedOption[]|null); /** EnumValueOptions .gogoproto.enumvalue_customname */ ".gogoproto.enumvalue_customname"?: (string|null); } /** Represents an EnumValueOptions. */ class EnumValueOptions implements IEnumValueOptions { /** * Constructs a new EnumValueOptions. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IEnumValueOptions); /** EnumValueOptions deprecated. */ public deprecated: boolean; /** EnumValueOptions uninterpreted_option. */ public uninterpreted_option: google.protobuf.IUninterpretedOption[]; /** * Encodes the specified EnumValueOptions message. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages. * @param message EnumValueOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EnumValueOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages. * @param message EnumValueOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EnumValueOptions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EnumValueOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueOptions; /** * Decodes an EnumValueOptions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EnumValueOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueOptions; /** * Verifies an EnumValueOptions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EnumValueOptions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EnumValueOptions */ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueOptions; /** * Creates a plain object from an EnumValueOptions message. Also converts values to other types if specified. * @param message EnumValueOptions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.EnumValueOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EnumValueOptions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ServiceOptions. */ interface IServiceOptions { /** ServiceOptions deprecated */ deprecated?: (boolean|null); /** ServiceOptions uninterpreted_option */ uninterpreted_option?: (google.protobuf.IUninterpretedOption[]|null); /** ServiceOptions .cosmos.msg.v1.service */ ".cosmos.msg.v1.service"?: (boolean|null); } /** Represents a ServiceOptions. */ class ServiceOptions implements IServiceOptions { /** * Constructs a new ServiceOptions. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IServiceOptions); /** ServiceOptions deprecated. */ public deprecated: boolean; /** ServiceOptions uninterpreted_option. */ public uninterpreted_option: google.protobuf.IUninterpretedOption[]; /** * Encodes the specified ServiceOptions message. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages. * @param message ServiceOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ServiceOptions message, length delimited. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages. * @param message ServiceOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ServiceOptions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ServiceOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceOptions; /** * Decodes a ServiceOptions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ServiceOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceOptions; /** * Verifies a ServiceOptions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ServiceOptions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ServiceOptions */ public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceOptions; /** * Creates a plain object from a ServiceOptions message. Also converts values to other types if specified. * @param message ServiceOptions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.ServiceOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ServiceOptions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MethodOptions. */ interface IMethodOptions { /** MethodOptions deprecated */ deprecated?: (boolean|null); /** MethodOptions uninterpreted_option */ uninterpreted_option?: (google.protobuf.IUninterpretedOption[]|null); /** MethodOptions .cosmos.query.v1.module_query_safe */ ".cosmos.query.v1.module_query_safe"?: (boolean|null); /** MethodOptions .google.api.http */ ".google.api.http"?: (google.api.IHttpRule|null); } /** Represents a MethodOptions. */ class MethodOptions implements IMethodOptions { /** * Constructs a new MethodOptions. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IMethodOptions); /** MethodOptions deprecated. */ public deprecated: boolean; /** MethodOptions uninterpreted_option. */ public uninterpreted_option: google.protobuf.IUninterpretedOption[]; /** * Encodes the specified MethodOptions message. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages. * @param message MethodOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MethodOptions message, length delimited. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages. * @param message MethodOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MethodOptions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MethodOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodOptions; /** * Decodes a MethodOptions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MethodOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodOptions; /** * Verifies a MethodOptions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MethodOptions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MethodOptions */ public static fromObject(object: { [k: string]: any }): google.protobuf.MethodOptions; /** * Creates a plain object from a MethodOptions message. Also converts values to other types if specified. * @param message MethodOptions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.MethodOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MethodOptions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an UninterpretedOption. */ interface IUninterpretedOption { /** UninterpretedOption name */ name?: (google.protobuf.UninterpretedOption.INamePart[]|null); /** UninterpretedOption identifier_value */ identifier_value?: (string|null); /** UninterpretedOption positive_int_value */ positive_int_value?: (Long|null); /** UninterpretedOption negative_int_value */ negative_int_value?: (Long|null); /** UninterpretedOption double_value */ double_value?: (number|null); /** UninterpretedOption string_value */ string_value?: (Uint8Array|null); /** UninterpretedOption aggregate_value */ aggregate_value?: (string|null); } /** Represents an UninterpretedOption. */ class UninterpretedOption implements IUninterpretedOption { /** * Constructs a new UninterpretedOption. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IUninterpretedOption); /** UninterpretedOption name. */ public name: google.protobuf.UninterpretedOption.INamePart[]; /** UninterpretedOption identifier_value. */ public identifier_value: string; /** UninterpretedOption positive_int_value. */ public positive_int_value: Long; /** UninterpretedOption negative_int_value. */ public negative_int_value: Long; /** UninterpretedOption double_value. */ public double_value: number; /** UninterpretedOption string_value. */ public string_value: Uint8Array; /** UninterpretedOption aggregate_value. */ public aggregate_value: string; /** * Encodes the specified UninterpretedOption message. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages. * @param message UninterpretedOption message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UninterpretedOption message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages. * @param message UninterpretedOption message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an UninterpretedOption message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UninterpretedOption * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption; /** * Decodes an UninterpretedOption message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UninterpretedOption * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption; /** * Verifies an UninterpretedOption message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an UninterpretedOption message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UninterpretedOption */ public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption; /** * Creates a plain object from an UninterpretedOption message. Also converts values to other types if specified. * @param message UninterpretedOption * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.UninterpretedOption, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UninterpretedOption to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } namespace UninterpretedOption { /** Properties of a NamePart. */ interface INamePart { /** NamePart name_part */ name_part: string; /** NamePart is_extension */ is_extension: boolean; } /** Represents a NamePart. */ class NamePart implements INamePart { /** * Constructs a new NamePart. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.UninterpretedOption.INamePart); /** NamePart name_part. */ public name_part: string; /** NamePart is_extension. */ public is_extension: boolean; /** * Encodes the specified NamePart message. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages. * @param message NamePart message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified NamePart message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages. * @param message NamePart message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a NamePart message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns NamePart * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption.NamePart; /** * Decodes a NamePart message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns NamePart * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption.NamePart; /** * Verifies a NamePart message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a NamePart message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns NamePart */ public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption.NamePart; /** * Creates a plain object from a NamePart message. Also converts values to other types if specified. * @param message NamePart * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.UninterpretedOption.NamePart, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this NamePart to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } /** Properties of a SourceCodeInfo. */ interface ISourceCodeInfo { /** SourceCodeInfo location */ location?: (google.protobuf.SourceCodeInfo.ILocation[]|null); } /** Represents a SourceCodeInfo. */ class SourceCodeInfo implements ISourceCodeInfo { /** * Constructs a new SourceCodeInfo. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.ISourceCodeInfo); /** SourceCodeInfo location. */ public location: google.protobuf.SourceCodeInfo.ILocation[]; /** * Encodes the specified SourceCodeInfo message. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages. * @param message SourceCodeInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SourceCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages. * @param message SourceCodeInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SourceCodeInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SourceCodeInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo; /** * Decodes a SourceCodeInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SourceCodeInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo; /** * Verifies a SourceCodeInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SourceCodeInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SourceCodeInfo */ public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo; /** * Creates a plain object from a SourceCodeInfo message. Also converts values to other types if specified. * @param message SourceCodeInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.SourceCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SourceCodeInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } namespace SourceCodeInfo { /** Properties of a Location. */ interface ILocation { /** Location path */ path?: (number[]|null); /** Location span */ span?: (number[]|null); /** Location leading_comments */ leading_comments?: (string|null); /** Location trailing_comments */ trailing_comments?: (string|null); /** Location leading_detached_comments */ leading_detached_comments?: (string[]|null); } /** Represents a Location. */ class Location implements ILocation { /** * Constructs a new Location. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.SourceCodeInfo.ILocation); /** Location path. */ public path: number[]; /** Location span. */ public span: number[]; /** Location leading_comments. */ public leading_comments: string; /** Location trailing_comments. */ public trailing_comments: string; /** Location leading_detached_comments. */ public leading_detached_comments: string[]; /** * Encodes the specified Location message. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages. * @param message Location message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Location message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages. * @param message Location message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Location message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Location * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo.Location; /** * Decodes a Location message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Location * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo.Location; /** * Verifies a Location message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Location message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Location */ public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo.Location; /** * Creates a plain object from a Location message. Also converts values to other types if specified. * @param message Location * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.SourceCodeInfo.Location, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Location to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } /** Properties of a GeneratedCodeInfo. */ interface IGeneratedCodeInfo { /** GeneratedCodeInfo annotation */ annotation?: (google.protobuf.GeneratedCodeInfo.IAnnotation[]|null); } /** Represents a GeneratedCodeInfo. */ class GeneratedCodeInfo implements IGeneratedCodeInfo { /** * Constructs a new GeneratedCodeInfo. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IGeneratedCodeInfo); /** GeneratedCodeInfo annotation. */ public annotation: google.protobuf.GeneratedCodeInfo.IAnnotation[]; /** * Encodes the specified GeneratedCodeInfo message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages. * @param message GeneratedCodeInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GeneratedCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages. * @param message GeneratedCodeInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GeneratedCodeInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GeneratedCodeInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo; /** * Decodes a GeneratedCodeInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GeneratedCodeInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo; /** * Verifies a GeneratedCodeInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GeneratedCodeInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GeneratedCodeInfo */ public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo; /** * Creates a plain object from a GeneratedCodeInfo message. Also converts values to other types if specified. * @param message GeneratedCodeInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.GeneratedCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GeneratedCodeInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } namespace GeneratedCodeInfo { /** Properties of an Annotation. */ interface IAnnotation { /** Annotation path */ path?: (number[]|null); /** Annotation source_file */ source_file?: (string|null); /** Annotation begin */ begin?: (number|null); /** Annotation end */ end?: (number|null); } /** Represents an Annotation. */ class Annotation implements IAnnotation { /** * Constructs a new Annotation. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation); /** Annotation path. */ public path: number[]; /** Annotation source_file. */ public source_file: string; /** Annotation begin. */ public begin: number; /** Annotation end. */ public end: number; /** * Encodes the specified Annotation message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages. * @param message Annotation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Annotation message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages. * @param message Annotation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Annotation message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Annotation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo.Annotation; /** * Decodes an Annotation message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Annotation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo.Annotation; /** * Verifies an Annotation message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Annotation message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Annotation */ public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo.Annotation; /** * Creates a plain object from an Annotation message. Also converts values to other types if specified. * @param message Annotation * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.GeneratedCodeInfo.Annotation, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Annotation to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } /** Properties of an Any. */ interface IAny { /** Any type_url */ type_url?: (string|null); /** Any value */ value?: (Uint8Array|null); } /** Represents an Any. */ class Any implements IAny { /** * Constructs a new Any. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IAny); /** Any type_url. */ public type_url: string; /** Any value. */ public value: Uint8Array; /** * Encodes the specified Any message. Does not implicitly {@link google.protobuf.Any.verify|verify} messages. * @param message Any message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IAny, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Any message, length delimited. Does not implicitly {@link google.protobuf.Any.verify|verify} messages. * @param message Any message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IAny, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Any message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Any * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Any; /** * Decodes an Any message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Any * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Any; /** * Verifies an Any message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Any message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Any */ public static fromObject(object: { [k: string]: any }): google.protobuf.Any; /** * Creates a plain object from an Any message. Also converts values to other types if specified. * @param message Any * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.Any, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Any to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Timestamp. */ interface ITimestamp { /** Timestamp seconds */ seconds?: (Long|null); /** Timestamp nanos */ nanos?: (number|null); } /** Represents a Timestamp. */ class Timestamp implements ITimestamp { /** * Constructs a new Timestamp. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.ITimestamp); /** Timestamp seconds. */ public seconds: Long; /** Timestamp nanos. */ public nanos: number; /** * Encodes the specified Timestamp message. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages. * @param message Timestamp message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Timestamp message, length delimited. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages. * @param message Timestamp message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Timestamp message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Timestamp * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Timestamp; /** * Decodes a Timestamp message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Timestamp * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Timestamp; /** * Verifies a Timestamp message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Timestamp message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Timestamp */ public static fromObject(object: { [k: string]: any }): google.protobuf.Timestamp; /** * Creates a plain object from a Timestamp message. Also converts values to other types if specified. * @param message Timestamp * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.Timestamp, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Timestamp to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Duration. */ interface IDuration { /** Duration seconds */ seconds?: (Long|null); /** Duration nanos */ nanos?: (number|null); } /** Represents a Duration. */ class Duration implements IDuration { /** * Constructs a new Duration. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IDuration); /** Duration seconds. */ public seconds: Long; /** Duration nanos. */ public nanos: number; /** * Encodes the specified Duration message. Does not implicitly {@link google.protobuf.Duration.verify|verify} messages. * @param message Duration message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IDuration, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Duration message, length delimited. Does not implicitly {@link google.protobuf.Duration.verify|verify} messages. * @param message Duration message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IDuration, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Duration message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Duration * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Duration; /** * Decodes a Duration message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Duration * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Duration; /** * Verifies a Duration message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Duration message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Duration */ public static fromObject(object: { [k: string]: any }): google.protobuf.Duration; /** * Creates a plain object from a Duration message. Also converts values to other types if specified. * @param message Duration * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.Duration, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Duration to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } /** Namespace api. */ namespace api { /** Properties of a Http. */ interface IHttp { /** Http rules */ rules?: (google.api.IHttpRule[]|null); /** Http fully_decode_reserved_expansion */ fully_decode_reserved_expansion?: (boolean|null); } /** Represents a Http. */ class Http implements IHttp { /** * Constructs a new Http. * @param [properties] Properties to set */ constructor(properties?: google.api.IHttp); /** Http rules. */ public rules: google.api.IHttpRule[]; /** Http fully_decode_reserved_expansion. */ public fully_decode_reserved_expansion: boolean; /** * Encodes the specified Http message. Does not implicitly {@link google.api.Http.verify|verify} messages. * @param message Http message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Http message, length delimited. Does not implicitly {@link google.api.Http.verify|verify} messages. * @param message Http message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Http message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Http * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Http; /** * Decodes a Http message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Http * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Http; /** * Verifies a Http message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Http message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Http */ public static fromObject(object: { [k: string]: any }): google.api.Http; /** * Creates a plain object from a Http message. Also converts values to other types if specified. * @param message Http * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.Http, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Http to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a HttpRule. */ interface IHttpRule { /** HttpRule selector */ selector?: (string|null); /** HttpRule get */ get?: (string|null); /** HttpRule put */ put?: (string|null); /** HttpRule post */ post?: (string|null); /** HttpRule delete */ "delete"?: (string|null); /** HttpRule patch */ patch?: (string|null); /** HttpRule custom */ custom?: (google.api.ICustomHttpPattern|null); /** HttpRule body */ body?: (string|null); /** HttpRule response_body */ response_body?: (string|null); /** HttpRule additional_bindings */ additional_bindings?: (google.api.IHttpRule[]|null); } /** Represents a HttpRule. */ class HttpRule implements IHttpRule { /** * Constructs a new HttpRule. * @param [properties] Properties to set */ constructor(properties?: google.api.IHttpRule); /** HttpRule selector. */ public selector: string; /** HttpRule get. */ public get?: (string|null); /** HttpRule put. */ public put?: (string|null); /** HttpRule post. */ public post?: (string|null); /** HttpRule delete. */ public delete?: (string|null); /** HttpRule patch. */ public patch?: (string|null); /** HttpRule custom. */ public custom?: (google.api.ICustomHttpPattern|null); /** HttpRule body. */ public body: string; /** HttpRule response_body. */ public response_body: string; /** HttpRule additional_bindings. */ public additional_bindings: google.api.IHttpRule[]; /** HttpRule pattern. */ public pattern?: ("get"|"put"|"post"|"delete"|"patch"|"custom"); /** * Encodes the specified HttpRule message. Does not implicitly {@link google.api.HttpRule.verify|verify} messages. * @param message HttpRule message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified HttpRule message, length delimited. Does not implicitly {@link google.api.HttpRule.verify|verify} messages. * @param message HttpRule message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a HttpRule message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns HttpRule * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.HttpRule; /** * Decodes a HttpRule message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns HttpRule * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.HttpRule; /** * Verifies a HttpRule message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a HttpRule message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns HttpRule */ public static fromObject(object: { [k: string]: any }): google.api.HttpRule; /** * Creates a plain object from a HttpRule message. Also converts values to other types if specified. * @param message HttpRule * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.HttpRule, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this HttpRule to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a CustomHttpPattern. */ interface ICustomHttpPattern { /** CustomHttpPattern kind */ kind?: (string|null); /** CustomHttpPattern path */ path?: (string|null); } /** Represents a CustomHttpPattern. */ class CustomHttpPattern implements ICustomHttpPattern { /** * Constructs a new CustomHttpPattern. * @param [properties] Properties to set */ constructor(properties?: google.api.ICustomHttpPattern); /** CustomHttpPattern kind. */ public kind: string; /** CustomHttpPattern path. */ public path: string; /** * Encodes the specified CustomHttpPattern message. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages. * @param message CustomHttpPattern message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CustomHttpPattern message, length delimited. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages. * @param message CustomHttpPattern message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CustomHttpPattern message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CustomHttpPattern * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.CustomHttpPattern; /** * Decodes a CustomHttpPattern message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CustomHttpPattern * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.CustomHttpPattern; /** * Verifies a CustomHttpPattern message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CustomHttpPattern message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CustomHttpPattern */ public static fromObject(object: { [k: string]: any }): google.api.CustomHttpPattern; /** * Creates a plain object from a CustomHttpPattern message. Also converts values to other types if specified. * @param message CustomHttpPattern * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.CustomHttpPattern, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CustomHttpPattern to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } }