// @generated by protoc-gen-es v1.2.0 with parameter "target=ts" // @generated from file injective/tokenfactory/v1beta1/query.proto (package injective.tokenfactory.v1beta1, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; import { Params } from "./params_pb.js"; import { DenomAuthorityMetadata } from "./authorityMetadata_pb.js"; import { GenesisState } from "./genesis_pb.js"; /** * QueryParamsRequest is the request type for the Query/Params RPC method. * * @generated from message injective.tokenfactory.v1beta1.QueryParamsRequest */ export class QueryParamsRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.tokenfactory.v1beta1.QueryParamsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryParamsRequest { return new QueryParamsRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryParamsRequest { return new QueryParamsRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryParamsRequest { return new QueryParamsRequest().fromJsonString(jsonString, options); } static equals(a: QueryParamsRequest | PlainMessage | undefined, b: QueryParamsRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryParamsRequest, a, b); } } /** * QueryParamsResponse is the response type for the Query/Params RPC method. * * @generated from message injective.tokenfactory.v1beta1.QueryParamsResponse */ export class QueryParamsResponse extends Message { /** * params defines the parameters of the module. * * @generated from field: injective.tokenfactory.v1beta1.Params params = 1; */ params?: Params; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.tokenfactory.v1beta1.QueryParamsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "params", kind: "message", T: Params }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryParamsResponse { return new QueryParamsResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryParamsResponse { return new QueryParamsResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryParamsResponse { return new QueryParamsResponse().fromJsonString(jsonString, options); } static equals(a: QueryParamsResponse | PlainMessage | undefined, b: QueryParamsResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryParamsResponse, a, b); } } /** * QueryDenomAuthorityMetadataRequest defines the request structure for the * DenomAuthorityMetadata gRPC query. * * @generated from message injective.tokenfactory.v1beta1.QueryDenomAuthorityMetadataRequest */ export class QueryDenomAuthorityMetadataRequest extends Message { /** * @generated from field: string creator = 1; */ creator = ""; /** * @generated from field: string sub_denom = 2; */ subDenom = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.tokenfactory.v1beta1.QueryDenomAuthorityMetadataRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "creator", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "sub_denom", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryDenomAuthorityMetadataRequest { return new QueryDenomAuthorityMetadataRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryDenomAuthorityMetadataRequest { return new QueryDenomAuthorityMetadataRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryDenomAuthorityMetadataRequest { return new QueryDenomAuthorityMetadataRequest().fromJsonString(jsonString, options); } static equals(a: QueryDenomAuthorityMetadataRequest | PlainMessage | undefined, b: QueryDenomAuthorityMetadataRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryDenomAuthorityMetadataRequest, a, b); } } /** * QueryDenomAuthorityMetadataResponse defines the response structure for the * DenomAuthorityMetadata gRPC query. * * @generated from message injective.tokenfactory.v1beta1.QueryDenomAuthorityMetadataResponse */ export class QueryDenomAuthorityMetadataResponse extends Message { /** * @generated from field: injective.tokenfactory.v1beta1.DenomAuthorityMetadata authority_metadata = 1; */ authorityMetadata?: DenomAuthorityMetadata; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.tokenfactory.v1beta1.QueryDenomAuthorityMetadataResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "authority_metadata", kind: "message", T: DenomAuthorityMetadata }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryDenomAuthorityMetadataResponse { return new QueryDenomAuthorityMetadataResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryDenomAuthorityMetadataResponse { return new QueryDenomAuthorityMetadataResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryDenomAuthorityMetadataResponse { return new QueryDenomAuthorityMetadataResponse().fromJsonString(jsonString, options); } static equals(a: QueryDenomAuthorityMetadataResponse | PlainMessage | undefined, b: QueryDenomAuthorityMetadataResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryDenomAuthorityMetadataResponse, a, b); } } /** * QueryDenomsFromCreatorRequest defines the request structure for the * DenomsFromCreator gRPC query. * * @generated from message injective.tokenfactory.v1beta1.QueryDenomsFromCreatorRequest */ export class QueryDenomsFromCreatorRequest extends Message { /** * @generated from field: string creator = 1; */ creator = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.tokenfactory.v1beta1.QueryDenomsFromCreatorRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "creator", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryDenomsFromCreatorRequest { return new QueryDenomsFromCreatorRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryDenomsFromCreatorRequest { return new QueryDenomsFromCreatorRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryDenomsFromCreatorRequest { return new QueryDenomsFromCreatorRequest().fromJsonString(jsonString, options); } static equals(a: QueryDenomsFromCreatorRequest | PlainMessage | undefined, b: QueryDenomsFromCreatorRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryDenomsFromCreatorRequest, a, b); } } /** * QueryDenomsFromCreatorRequest defines the response structure for the * DenomsFromCreator gRPC query. * * @generated from message injective.tokenfactory.v1beta1.QueryDenomsFromCreatorResponse */ export class QueryDenomsFromCreatorResponse extends Message { /** * @generated from field: repeated string denoms = 1; */ denoms: string[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.tokenfactory.v1beta1.QueryDenomsFromCreatorResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "denoms", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryDenomsFromCreatorResponse { return new QueryDenomsFromCreatorResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryDenomsFromCreatorResponse { return new QueryDenomsFromCreatorResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryDenomsFromCreatorResponse { return new QueryDenomsFromCreatorResponse().fromJsonString(jsonString, options); } static equals(a: QueryDenomsFromCreatorResponse | PlainMessage | undefined, b: QueryDenomsFromCreatorResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryDenomsFromCreatorResponse, a, b); } } /** * QueryModuleStateRequest is the request type for the * Query/TokenfactoryModuleState RPC method. * * @generated from message injective.tokenfactory.v1beta1.QueryModuleStateRequest */ export class QueryModuleStateRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.tokenfactory.v1beta1.QueryModuleStateRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryModuleStateRequest { return new QueryModuleStateRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryModuleStateRequest { return new QueryModuleStateRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryModuleStateRequest { return new QueryModuleStateRequest().fromJsonString(jsonString, options); } static equals(a: QueryModuleStateRequest | PlainMessage | undefined, b: QueryModuleStateRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryModuleStateRequest, a, b); } } /** * QueryModuleStateResponse is the response type for the * Query/TokenfactoryModuleState RPC method. * * @generated from message injective.tokenfactory.v1beta1.QueryModuleStateResponse */ export class QueryModuleStateResponse extends Message { /** * @generated from field: injective.tokenfactory.v1beta1.GenesisState state = 1; */ state?: GenesisState; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.tokenfactory.v1beta1.QueryModuleStateResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "state", kind: "message", T: GenesisState }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryModuleStateResponse { return new QueryModuleStateResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryModuleStateResponse { return new QueryModuleStateResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryModuleStateResponse { return new QueryModuleStateResponse().fromJsonString(jsonString, options); } static equals(a: QueryModuleStateResponse | PlainMessage | undefined, b: QueryModuleStateResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryModuleStateResponse, a, b); } }