interchainjs
Version:
InterchainJS is a JavaScript library for interacting with Cosmos SDK based blockchains.
319 lines (318 loc) • 13.2 kB
TypeScript
import { Params, ParamsAmino } from "./mint";
import { BinaryReader, BinaryWriter } from "../../../binary";
import { DeepPartial } from "../../../helpers";
/**
* QueryParamsRequest is the request type for the Query/Params RPC method.
* @name QueryParamsRequest
* @package cosmos.mint.v1beta1
* @see proto type: cosmos.mint.v1beta1.QueryParamsRequest
*/
export interface QueryParamsRequest {
}
export interface QueryParamsRequestProtoMsg {
typeUrl: "/cosmos.mint.v1beta1.QueryParamsRequest";
value: Uint8Array;
}
/**
* QueryParamsRequest is the request type for the Query/Params RPC method.
* @name QueryParamsRequestAmino
* @package cosmos.mint.v1beta1
* @see proto type: cosmos.mint.v1beta1.QueryParamsRequest
*/
export interface QueryParamsRequestAmino {
}
export interface QueryParamsRequestAminoMsg {
type: "cosmos-sdk/QueryParamsRequest";
value: QueryParamsRequestAmino;
}
/**
* QueryParamsResponse is the response type for the Query/Params RPC method.
* @name QueryParamsResponse
* @package cosmos.mint.v1beta1
* @see proto type: cosmos.mint.v1beta1.QueryParamsResponse
*/
export interface QueryParamsResponse {
/**
* params defines the parameters of the module.
*/
params: Params;
}
export interface QueryParamsResponseProtoMsg {
typeUrl: "/cosmos.mint.v1beta1.QueryParamsResponse";
value: Uint8Array;
}
/**
* QueryParamsResponse is the response type for the Query/Params RPC method.
* @name QueryParamsResponseAmino
* @package cosmos.mint.v1beta1
* @see proto type: cosmos.mint.v1beta1.QueryParamsResponse
*/
export interface QueryParamsResponseAmino {
/**
* params defines the parameters of the module.
*/
params: ParamsAmino;
}
export interface QueryParamsResponseAminoMsg {
type: "cosmos-sdk/QueryParamsResponse";
value: QueryParamsResponseAmino;
}
/**
* QueryInflationRequest is the request type for the Query/Inflation RPC method.
* @name QueryInflationRequest
* @package cosmos.mint.v1beta1
* @see proto type: cosmos.mint.v1beta1.QueryInflationRequest
*/
export interface QueryInflationRequest {
}
export interface QueryInflationRequestProtoMsg {
typeUrl: "/cosmos.mint.v1beta1.QueryInflationRequest";
value: Uint8Array;
}
/**
* QueryInflationRequest is the request type for the Query/Inflation RPC method.
* @name QueryInflationRequestAmino
* @package cosmos.mint.v1beta1
* @see proto type: cosmos.mint.v1beta1.QueryInflationRequest
*/
export interface QueryInflationRequestAmino {
}
export interface QueryInflationRequestAminoMsg {
type: "cosmos-sdk/QueryInflationRequest";
value: QueryInflationRequestAmino;
}
/**
* QueryInflationResponse is the response type for the Query/Inflation RPC
* method.
* @name QueryInflationResponse
* @package cosmos.mint.v1beta1
* @see proto type: cosmos.mint.v1beta1.QueryInflationResponse
*/
export interface QueryInflationResponse {
/**
* inflation is the current minting inflation value.
*/
inflation: Uint8Array;
}
export interface QueryInflationResponseProtoMsg {
typeUrl: "/cosmos.mint.v1beta1.QueryInflationResponse";
value: Uint8Array;
}
/**
* QueryInflationResponse is the response type for the Query/Inflation RPC
* method.
* @name QueryInflationResponseAmino
* @package cosmos.mint.v1beta1
* @see proto type: cosmos.mint.v1beta1.QueryInflationResponse
*/
export interface QueryInflationResponseAmino {
/**
* inflation is the current minting inflation value.
*/
inflation: string;
}
export interface QueryInflationResponseAminoMsg {
type: "cosmos-sdk/QueryInflationResponse";
value: QueryInflationResponseAmino;
}
/**
* QueryAnnualProvisionsRequest is the request type for the
* Query/AnnualProvisions RPC method.
* @name QueryAnnualProvisionsRequest
* @package cosmos.mint.v1beta1
* @see proto type: cosmos.mint.v1beta1.QueryAnnualProvisionsRequest
*/
export interface QueryAnnualProvisionsRequest {
}
export interface QueryAnnualProvisionsRequestProtoMsg {
typeUrl: "/cosmos.mint.v1beta1.QueryAnnualProvisionsRequest";
value: Uint8Array;
}
/**
* QueryAnnualProvisionsRequest is the request type for the
* Query/AnnualProvisions RPC method.
* @name QueryAnnualProvisionsRequestAmino
* @package cosmos.mint.v1beta1
* @see proto type: cosmos.mint.v1beta1.QueryAnnualProvisionsRequest
*/
export interface QueryAnnualProvisionsRequestAmino {
}
export interface QueryAnnualProvisionsRequestAminoMsg {
type: "cosmos-sdk/QueryAnnualProvisionsRequest";
value: QueryAnnualProvisionsRequestAmino;
}
/**
* QueryAnnualProvisionsResponse is the response type for the
* Query/AnnualProvisions RPC method.
* @name QueryAnnualProvisionsResponse
* @package cosmos.mint.v1beta1
* @see proto type: cosmos.mint.v1beta1.QueryAnnualProvisionsResponse
*/
export interface QueryAnnualProvisionsResponse {
/**
* annual_provisions is the current minting annual provisions value.
*/
annualProvisions: Uint8Array;
}
export interface QueryAnnualProvisionsResponseProtoMsg {
typeUrl: "/cosmos.mint.v1beta1.QueryAnnualProvisionsResponse";
value: Uint8Array;
}
/**
* QueryAnnualProvisionsResponse is the response type for the
* Query/AnnualProvisions RPC method.
* @name QueryAnnualProvisionsResponseAmino
* @package cosmos.mint.v1beta1
* @see proto type: cosmos.mint.v1beta1.QueryAnnualProvisionsResponse
*/
export interface QueryAnnualProvisionsResponseAmino {
/**
* annual_provisions is the current minting annual provisions value.
*/
annual_provisions: string;
}
export interface QueryAnnualProvisionsResponseAminoMsg {
type: "cosmos-sdk/QueryAnnualProvisionsResponse";
value: QueryAnnualProvisionsResponseAmino;
}
/**
* QueryParamsRequest is the request type for the Query/Params RPC method.
* @name QueryParamsRequest
* @package cosmos.mint.v1beta1
* @see proto type: cosmos.mint.v1beta1.QueryParamsRequest
*/
export declare const QueryParamsRequest: {
typeUrl: string;
aminoType: string;
is(o: any): o is QueryParamsRequest;
isAmino(o: any): o is QueryParamsRequestAmino;
encode(_: QueryParamsRequest, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsRequest;
fromPartial(_: DeepPartial<QueryParamsRequest>): QueryParamsRequest;
fromAmino(_: QueryParamsRequestAmino): QueryParamsRequest;
toAmino(_: QueryParamsRequest): QueryParamsRequestAmino;
fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest;
toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg;
fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest;
toProto(message: QueryParamsRequest): Uint8Array;
toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg;
registerTypeUrl(): void;
};
/**
* QueryParamsResponse is the response type for the Query/Params RPC method.
* @name QueryParamsResponse
* @package cosmos.mint.v1beta1
* @see proto type: cosmos.mint.v1beta1.QueryParamsResponse
*/
export declare const QueryParamsResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is QueryParamsResponse;
isAmino(o: any): o is QueryParamsResponseAmino;
encode(message: QueryParamsResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsResponse;
fromPartial(object: DeepPartial<QueryParamsResponse>): QueryParamsResponse;
fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse;
toAmino(message: QueryParamsResponse): QueryParamsResponseAmino;
fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse;
toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg;
fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse;
toProto(message: QueryParamsResponse): Uint8Array;
toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg;
registerTypeUrl(): void;
};
/**
* QueryInflationRequest is the request type for the Query/Inflation RPC method.
* @name QueryInflationRequest
* @package cosmos.mint.v1beta1
* @see proto type: cosmos.mint.v1beta1.QueryInflationRequest
*/
export declare const QueryInflationRequest: {
typeUrl: string;
aminoType: string;
is(o: any): o is QueryInflationRequest;
isAmino(o: any): o is QueryInflationRequestAmino;
encode(_: QueryInflationRequest, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryInflationRequest;
fromPartial(_: DeepPartial<QueryInflationRequest>): QueryInflationRequest;
fromAmino(_: QueryInflationRequestAmino): QueryInflationRequest;
toAmino(_: QueryInflationRequest): QueryInflationRequestAmino;
fromAminoMsg(object: QueryInflationRequestAminoMsg): QueryInflationRequest;
toAminoMsg(message: QueryInflationRequest): QueryInflationRequestAminoMsg;
fromProtoMsg(message: QueryInflationRequestProtoMsg): QueryInflationRequest;
toProto(message: QueryInflationRequest): Uint8Array;
toProtoMsg(message: QueryInflationRequest): QueryInflationRequestProtoMsg;
registerTypeUrl(): void;
};
/**
* QueryInflationResponse is the response type for the Query/Inflation RPC
* method.
* @name QueryInflationResponse
* @package cosmos.mint.v1beta1
* @see proto type: cosmos.mint.v1beta1.QueryInflationResponse
*/
export declare const QueryInflationResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is QueryInflationResponse;
isAmino(o: any): o is QueryInflationResponseAmino;
encode(message: QueryInflationResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryInflationResponse;
fromPartial(object: DeepPartial<QueryInflationResponse>): QueryInflationResponse;
fromAmino(object: QueryInflationResponseAmino): QueryInflationResponse;
toAmino(message: QueryInflationResponse): QueryInflationResponseAmino;
fromAminoMsg(object: QueryInflationResponseAminoMsg): QueryInflationResponse;
toAminoMsg(message: QueryInflationResponse): QueryInflationResponseAminoMsg;
fromProtoMsg(message: QueryInflationResponseProtoMsg): QueryInflationResponse;
toProto(message: QueryInflationResponse): Uint8Array;
toProtoMsg(message: QueryInflationResponse): QueryInflationResponseProtoMsg;
registerTypeUrl(): void;
};
/**
* QueryAnnualProvisionsRequest is the request type for the
* Query/AnnualProvisions RPC method.
* @name QueryAnnualProvisionsRequest
* @package cosmos.mint.v1beta1
* @see proto type: cosmos.mint.v1beta1.QueryAnnualProvisionsRequest
*/
export declare const QueryAnnualProvisionsRequest: {
typeUrl: string;
aminoType: string;
is(o: any): o is QueryAnnualProvisionsRequest;
isAmino(o: any): o is QueryAnnualProvisionsRequestAmino;
encode(_: QueryAnnualProvisionsRequest, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryAnnualProvisionsRequest;
fromPartial(_: DeepPartial<QueryAnnualProvisionsRequest>): QueryAnnualProvisionsRequest;
fromAmino(_: QueryAnnualProvisionsRequestAmino): QueryAnnualProvisionsRequest;
toAmino(_: QueryAnnualProvisionsRequest): QueryAnnualProvisionsRequestAmino;
fromAminoMsg(object: QueryAnnualProvisionsRequestAminoMsg): QueryAnnualProvisionsRequest;
toAminoMsg(message: QueryAnnualProvisionsRequest): QueryAnnualProvisionsRequestAminoMsg;
fromProtoMsg(message: QueryAnnualProvisionsRequestProtoMsg): QueryAnnualProvisionsRequest;
toProto(message: QueryAnnualProvisionsRequest): Uint8Array;
toProtoMsg(message: QueryAnnualProvisionsRequest): QueryAnnualProvisionsRequestProtoMsg;
registerTypeUrl(): void;
};
/**
* QueryAnnualProvisionsResponse is the response type for the
* Query/AnnualProvisions RPC method.
* @name QueryAnnualProvisionsResponse
* @package cosmos.mint.v1beta1
* @see proto type: cosmos.mint.v1beta1.QueryAnnualProvisionsResponse
*/
export declare const QueryAnnualProvisionsResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is QueryAnnualProvisionsResponse;
isAmino(o: any): o is QueryAnnualProvisionsResponseAmino;
encode(message: QueryAnnualProvisionsResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryAnnualProvisionsResponse;
fromPartial(object: DeepPartial<QueryAnnualProvisionsResponse>): QueryAnnualProvisionsResponse;
fromAmino(object: QueryAnnualProvisionsResponseAmino): QueryAnnualProvisionsResponse;
toAmino(message: QueryAnnualProvisionsResponse): QueryAnnualProvisionsResponseAmino;
fromAminoMsg(object: QueryAnnualProvisionsResponseAminoMsg): QueryAnnualProvisionsResponse;
toAminoMsg(message: QueryAnnualProvisionsResponse): QueryAnnualProvisionsResponseAminoMsg;
fromProtoMsg(message: QueryAnnualProvisionsResponseProtoMsg): QueryAnnualProvisionsResponse;
toProto(message: QueryAnnualProvisionsResponse): Uint8Array;
toProtoMsg(message: QueryAnnualProvisionsResponse): QueryAnnualProvisionsResponseProtoMsg;
registerTypeUrl(): void;
};