import { PageRequest, PageRequestAmino, PageResponse, PageResponseAmino } from "../../../../cosmos/base/query/v1beta1/pagination"; import { Params, ParamsAmino } from "./transfer"; import { Denom, DenomAmino } from "./token"; import { Coin, CoinAmino } from "../../../../cosmos/base/v1beta1/coin"; import { BinaryReader, BinaryWriter } from "../../../../binary"; import { TxRpc } from "../../../../types"; export declare const protobufPackage = "ibc.applications.transfer.v1"; /** QueryParamsRequest is the request type for the Query/Params RPC method. */ export interface QueryParamsRequest { } export interface QueryParamsRequestProtoMsg { typeUrl: "/ibc.applications.transfer.v1.QueryParamsRequest"; value: Uint8Array; } /** QueryParamsRequest is the request type for the Query/Params RPC method. */ export interface QueryParamsRequestAmino { } export interface QueryParamsRequestAminoMsg { type: "cosmos-sdk/QueryParamsRequest"; value: QueryParamsRequestAmino; } /** QueryParamsResponse is the response type for the Query/Params RPC method. */ export interface QueryParamsResponse { /** params defines the parameters of the module. */ params?: Params | undefined; } export interface QueryParamsResponseProtoMsg { typeUrl: "/ibc.applications.transfer.v1.QueryParamsResponse"; value: Uint8Array; } /** QueryParamsResponse is the response type for the Query/Params RPC method. */ export interface QueryParamsResponseAmino { /** params defines the parameters of the module. */ params?: ParamsAmino | undefined; } export interface QueryParamsResponseAminoMsg { type: "cosmos-sdk/QueryParamsResponse"; value: QueryParamsResponseAmino; } /** * QueryDenomRequest is the request type for the Query/Denom RPC * method */ export interface QueryDenomRequest { /** hash (in hex format) or denom (full denom with ibc prefix) of the on chain denomination. */ hash: string; } export interface QueryDenomRequestProtoMsg { typeUrl: "/ibc.applications.transfer.v1.QueryDenomRequest"; value: Uint8Array; } /** * QueryDenomRequest is the request type for the Query/Denom RPC * method */ export interface QueryDenomRequestAmino { /** hash (in hex format) or denom (full denom with ibc prefix) of the on chain denomination. */ hash?: string; } export interface QueryDenomRequestAminoMsg { type: "cosmos-sdk/QueryDenomRequest"; value: QueryDenomRequestAmino; } /** * QueryDenomResponse is the response type for the Query/Denom RPC * method. */ export interface QueryDenomResponse { /** denom returns the requested denomination. */ denom?: Denom | undefined; } export interface QueryDenomResponseProtoMsg { typeUrl: "/ibc.applications.transfer.v1.QueryDenomResponse"; value: Uint8Array; } /** * QueryDenomResponse is the response type for the Query/Denom RPC * method. */ export interface QueryDenomResponseAmino { /** denom returns the requested denomination. */ denom?: DenomAmino | undefined; } export interface QueryDenomResponseAminoMsg { type: "cosmos-sdk/QueryDenomResponse"; value: QueryDenomResponseAmino; } /** * QueryDenomsRequest is the request type for the Query/Denoms RPC * method */ export interface QueryDenomsRequest { /** pagination defines an optional pagination for the request. */ pagination?: PageRequest | undefined; } export interface QueryDenomsRequestProtoMsg { typeUrl: "/ibc.applications.transfer.v1.QueryDenomsRequest"; value: Uint8Array; } /** * QueryDenomsRequest is the request type for the Query/Denoms RPC * method */ export interface QueryDenomsRequestAmino { /** pagination defines an optional pagination for the request. */ pagination?: PageRequestAmino | undefined; } export interface QueryDenomsRequestAminoMsg { type: "cosmos-sdk/QueryDenomsRequest"; value: QueryDenomsRequestAmino; } /** * QueryDenomsResponse is the response type for the Query/Denoms RPC * method. */ export interface QueryDenomsResponse { /** denoms returns all denominations. */ denoms: Denom[]; /** pagination defines the pagination in the response. */ pagination?: PageResponse | undefined; } export interface QueryDenomsResponseProtoMsg { typeUrl: "/ibc.applications.transfer.v1.QueryDenomsResponse"; value: Uint8Array; } /** * QueryDenomsResponse is the response type for the Query/Denoms RPC * method. */ export interface QueryDenomsResponseAmino { /** denoms returns all denominations. */ denoms?: DenomAmino[]; /** pagination defines the pagination in the response. */ pagination?: PageResponseAmino | undefined; } export interface QueryDenomsResponseAminoMsg { type: "cosmos-sdk/QueryDenomsResponse"; value: QueryDenomsResponseAmino; } /** * QueryDenomHashRequest is the request type for the Query/DenomHash RPC * method */ export interface QueryDenomHashRequest { /** The denomination trace ([port_id]/[channel_id])+/[denom] */ trace: string; } export interface QueryDenomHashRequestProtoMsg { typeUrl: "/ibc.applications.transfer.v1.QueryDenomHashRequest"; value: Uint8Array; } /** * QueryDenomHashRequest is the request type for the Query/DenomHash RPC * method */ export interface QueryDenomHashRequestAmino { /** The denomination trace ([port_id]/[channel_id])+/[denom] */ trace?: string; } export interface QueryDenomHashRequestAminoMsg { type: "cosmos-sdk/QueryDenomHashRequest"; value: QueryDenomHashRequestAmino; } /** * QueryDenomHashResponse is the response type for the Query/DenomHash RPC * method. */ export interface QueryDenomHashResponse { /** hash (in hex format) of the denomination trace information. */ hash: string; } export interface QueryDenomHashResponseProtoMsg { typeUrl: "/ibc.applications.transfer.v1.QueryDenomHashResponse"; value: Uint8Array; } /** * QueryDenomHashResponse is the response type for the Query/DenomHash RPC * method. */ export interface QueryDenomHashResponseAmino { /** hash (in hex format) of the denomination trace information. */ hash?: string; } export interface QueryDenomHashResponseAminoMsg { type: "cosmos-sdk/QueryDenomHashResponse"; value: QueryDenomHashResponseAmino; } /** QueryEscrowAddressRequest is the request type for the EscrowAddress RPC method. */ export interface QueryEscrowAddressRequest { /** unique port identifier */ portId: string; /** unique channel identifier */ channelId: string; } export interface QueryEscrowAddressRequestProtoMsg { typeUrl: "/ibc.applications.transfer.v1.QueryEscrowAddressRequest"; value: Uint8Array; } /** QueryEscrowAddressRequest is the request type for the EscrowAddress RPC method. */ export interface QueryEscrowAddressRequestAmino { /** unique port identifier */ port_id?: string; /** unique channel identifier */ channel_id?: string; } export interface QueryEscrowAddressRequestAminoMsg { type: "cosmos-sdk/QueryEscrowAddressRequest"; value: QueryEscrowAddressRequestAmino; } /** QueryEscrowAddressResponse is the response type of the EscrowAddress RPC method. */ export interface QueryEscrowAddressResponse { /** the escrow account address */ escrowAddress: string; } export interface QueryEscrowAddressResponseProtoMsg { typeUrl: "/ibc.applications.transfer.v1.QueryEscrowAddressResponse"; value: Uint8Array; } /** QueryEscrowAddressResponse is the response type of the EscrowAddress RPC method. */ export interface QueryEscrowAddressResponseAmino { /** the escrow account address */ escrow_address?: string; } export interface QueryEscrowAddressResponseAminoMsg { type: "cosmos-sdk/QueryEscrowAddressResponse"; value: QueryEscrowAddressResponseAmino; } /** QueryTotalEscrowForDenomRequest is the request type for TotalEscrowForDenom RPC method. */ export interface QueryTotalEscrowForDenomRequest { denom: string; } export interface QueryTotalEscrowForDenomRequestProtoMsg { typeUrl: "/ibc.applications.transfer.v1.QueryTotalEscrowForDenomRequest"; value: Uint8Array; } /** QueryTotalEscrowForDenomRequest is the request type for TotalEscrowForDenom RPC method. */ export interface QueryTotalEscrowForDenomRequestAmino { denom?: string; } export interface QueryTotalEscrowForDenomRequestAminoMsg { type: "cosmos-sdk/QueryTotalEscrowForDenomRequest"; value: QueryTotalEscrowForDenomRequestAmino; } /** QueryTotalEscrowForDenomResponse is the response type for TotalEscrowForDenom RPC method. */ export interface QueryTotalEscrowForDenomResponse { amount: Coin | undefined; } export interface QueryTotalEscrowForDenomResponseProtoMsg { typeUrl: "/ibc.applications.transfer.v1.QueryTotalEscrowForDenomResponse"; value: Uint8Array; } /** QueryTotalEscrowForDenomResponse is the response type for TotalEscrowForDenom RPC method. */ export interface QueryTotalEscrowForDenomResponseAmino { amount?: CoinAmino | undefined; } export interface QueryTotalEscrowForDenomResponseAminoMsg { type: "cosmos-sdk/QueryTotalEscrowForDenomResponse"; value: QueryTotalEscrowForDenomResponseAmino; } export declare const QueryParamsRequest: { typeUrl: string; encode(_: QueryParamsRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsRequest; fromJSON(_: any): QueryParamsRequest; toJSON(_: QueryParamsRequest): unknown; fromPartial(_: Partial): 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; }; export declare const QueryParamsResponse: { typeUrl: string; encode(message: QueryParamsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsResponse; fromJSON(object: any): QueryParamsResponse; toJSON(message: QueryParamsResponse): unknown; fromPartial(object: Partial): 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; }; export declare const QueryDenomRequest: { typeUrl: string; encode(message: QueryDenomRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryDenomRequest; fromJSON(object: any): QueryDenomRequest; toJSON(message: QueryDenomRequest): unknown; fromPartial(object: Partial): QueryDenomRequest; fromAmino(object: QueryDenomRequestAmino): QueryDenomRequest; toAmino(message: QueryDenomRequest): QueryDenomRequestAmino; fromAminoMsg(object: QueryDenomRequestAminoMsg): QueryDenomRequest; toAminoMsg(message: QueryDenomRequest): QueryDenomRequestAminoMsg; fromProtoMsg(message: QueryDenomRequestProtoMsg): QueryDenomRequest; toProto(message: QueryDenomRequest): Uint8Array; toProtoMsg(message: QueryDenomRequest): QueryDenomRequestProtoMsg; }; export declare const QueryDenomResponse: { typeUrl: string; encode(message: QueryDenomResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryDenomResponse; fromJSON(object: any): QueryDenomResponse; toJSON(message: QueryDenomResponse): unknown; fromPartial(object: Partial): QueryDenomResponse; fromAmino(object: QueryDenomResponseAmino): QueryDenomResponse; toAmino(message: QueryDenomResponse): QueryDenomResponseAmino; fromAminoMsg(object: QueryDenomResponseAminoMsg): QueryDenomResponse; toAminoMsg(message: QueryDenomResponse): QueryDenomResponseAminoMsg; fromProtoMsg(message: QueryDenomResponseProtoMsg): QueryDenomResponse; toProto(message: QueryDenomResponse): Uint8Array; toProtoMsg(message: QueryDenomResponse): QueryDenomResponseProtoMsg; }; export declare const QueryDenomsRequest: { typeUrl: string; encode(message: QueryDenomsRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryDenomsRequest; fromJSON(object: any): QueryDenomsRequest; toJSON(message: QueryDenomsRequest): unknown; fromPartial(object: Partial): QueryDenomsRequest; fromAmino(object: QueryDenomsRequestAmino): QueryDenomsRequest; toAmino(message: QueryDenomsRequest): QueryDenomsRequestAmino; fromAminoMsg(object: QueryDenomsRequestAminoMsg): QueryDenomsRequest; toAminoMsg(message: QueryDenomsRequest): QueryDenomsRequestAminoMsg; fromProtoMsg(message: QueryDenomsRequestProtoMsg): QueryDenomsRequest; toProto(message: QueryDenomsRequest): Uint8Array; toProtoMsg(message: QueryDenomsRequest): QueryDenomsRequestProtoMsg; }; export declare const QueryDenomsResponse: { typeUrl: string; encode(message: QueryDenomsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryDenomsResponse; fromJSON(object: any): QueryDenomsResponse; toJSON(message: QueryDenomsResponse): unknown; fromPartial(object: Partial): QueryDenomsResponse; fromAmino(object: QueryDenomsResponseAmino): QueryDenomsResponse; toAmino(message: QueryDenomsResponse): QueryDenomsResponseAmino; fromAminoMsg(object: QueryDenomsResponseAminoMsg): QueryDenomsResponse; toAminoMsg(message: QueryDenomsResponse): QueryDenomsResponseAminoMsg; fromProtoMsg(message: QueryDenomsResponseProtoMsg): QueryDenomsResponse; toProto(message: QueryDenomsResponse): Uint8Array; toProtoMsg(message: QueryDenomsResponse): QueryDenomsResponseProtoMsg; }; export declare const QueryDenomHashRequest: { typeUrl: string; encode(message: QueryDenomHashRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryDenomHashRequest; fromJSON(object: any): QueryDenomHashRequest; toJSON(message: QueryDenomHashRequest): unknown; fromPartial(object: Partial): QueryDenomHashRequest; fromAmino(object: QueryDenomHashRequestAmino): QueryDenomHashRequest; toAmino(message: QueryDenomHashRequest): QueryDenomHashRequestAmino; fromAminoMsg(object: QueryDenomHashRequestAminoMsg): QueryDenomHashRequest; toAminoMsg(message: QueryDenomHashRequest): QueryDenomHashRequestAminoMsg; fromProtoMsg(message: QueryDenomHashRequestProtoMsg): QueryDenomHashRequest; toProto(message: QueryDenomHashRequest): Uint8Array; toProtoMsg(message: QueryDenomHashRequest): QueryDenomHashRequestProtoMsg; }; export declare const QueryDenomHashResponse: { typeUrl: string; encode(message: QueryDenomHashResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryDenomHashResponse; fromJSON(object: any): QueryDenomHashResponse; toJSON(message: QueryDenomHashResponse): unknown; fromPartial(object: Partial): QueryDenomHashResponse; fromAmino(object: QueryDenomHashResponseAmino): QueryDenomHashResponse; toAmino(message: QueryDenomHashResponse): QueryDenomHashResponseAmino; fromAminoMsg(object: QueryDenomHashResponseAminoMsg): QueryDenomHashResponse; toAminoMsg(message: QueryDenomHashResponse): QueryDenomHashResponseAminoMsg; fromProtoMsg(message: QueryDenomHashResponseProtoMsg): QueryDenomHashResponse; toProto(message: QueryDenomHashResponse): Uint8Array; toProtoMsg(message: QueryDenomHashResponse): QueryDenomHashResponseProtoMsg; }; export declare const QueryEscrowAddressRequest: { typeUrl: string; encode(message: QueryEscrowAddressRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryEscrowAddressRequest; fromJSON(object: any): QueryEscrowAddressRequest; toJSON(message: QueryEscrowAddressRequest): unknown; fromPartial(object: Partial): QueryEscrowAddressRequest; fromAmino(object: QueryEscrowAddressRequestAmino): QueryEscrowAddressRequest; toAmino(message: QueryEscrowAddressRequest): QueryEscrowAddressRequestAmino; fromAminoMsg(object: QueryEscrowAddressRequestAminoMsg): QueryEscrowAddressRequest; toAminoMsg(message: QueryEscrowAddressRequest): QueryEscrowAddressRequestAminoMsg; fromProtoMsg(message: QueryEscrowAddressRequestProtoMsg): QueryEscrowAddressRequest; toProto(message: QueryEscrowAddressRequest): Uint8Array; toProtoMsg(message: QueryEscrowAddressRequest): QueryEscrowAddressRequestProtoMsg; }; export declare const QueryEscrowAddressResponse: { typeUrl: string; encode(message: QueryEscrowAddressResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryEscrowAddressResponse; fromJSON(object: any): QueryEscrowAddressResponse; toJSON(message: QueryEscrowAddressResponse): unknown; fromPartial(object: Partial): QueryEscrowAddressResponse; fromAmino(object: QueryEscrowAddressResponseAmino): QueryEscrowAddressResponse; toAmino(message: QueryEscrowAddressResponse): QueryEscrowAddressResponseAmino; fromAminoMsg(object: QueryEscrowAddressResponseAminoMsg): QueryEscrowAddressResponse; toAminoMsg(message: QueryEscrowAddressResponse): QueryEscrowAddressResponseAminoMsg; fromProtoMsg(message: QueryEscrowAddressResponseProtoMsg): QueryEscrowAddressResponse; toProto(message: QueryEscrowAddressResponse): Uint8Array; toProtoMsg(message: QueryEscrowAddressResponse): QueryEscrowAddressResponseProtoMsg; }; export declare const QueryTotalEscrowForDenomRequest: { typeUrl: string; encode(message: QueryTotalEscrowForDenomRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryTotalEscrowForDenomRequest; fromJSON(object: any): QueryTotalEscrowForDenomRequest; toJSON(message: QueryTotalEscrowForDenomRequest): unknown; fromPartial(object: Partial): QueryTotalEscrowForDenomRequest; fromAmino(object: QueryTotalEscrowForDenomRequestAmino): QueryTotalEscrowForDenomRequest; toAmino(message: QueryTotalEscrowForDenomRequest): QueryTotalEscrowForDenomRequestAmino; fromAminoMsg(object: QueryTotalEscrowForDenomRequestAminoMsg): QueryTotalEscrowForDenomRequest; toAminoMsg(message: QueryTotalEscrowForDenomRequest): QueryTotalEscrowForDenomRequestAminoMsg; fromProtoMsg(message: QueryTotalEscrowForDenomRequestProtoMsg): QueryTotalEscrowForDenomRequest; toProto(message: QueryTotalEscrowForDenomRequest): Uint8Array; toProtoMsg(message: QueryTotalEscrowForDenomRequest): QueryTotalEscrowForDenomRequestProtoMsg; }; export declare const QueryTotalEscrowForDenomResponse: { typeUrl: string; encode(message: QueryTotalEscrowForDenomResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryTotalEscrowForDenomResponse; fromJSON(object: any): QueryTotalEscrowForDenomResponse; toJSON(message: QueryTotalEscrowForDenomResponse): unknown; fromPartial(object: Partial): QueryTotalEscrowForDenomResponse; fromAmino(object: QueryTotalEscrowForDenomResponseAmino): QueryTotalEscrowForDenomResponse; toAmino(message: QueryTotalEscrowForDenomResponse): QueryTotalEscrowForDenomResponseAmino; fromAminoMsg(object: QueryTotalEscrowForDenomResponseAminoMsg): QueryTotalEscrowForDenomResponse; toAminoMsg(message: QueryTotalEscrowForDenomResponse): QueryTotalEscrowForDenomResponseAminoMsg; fromProtoMsg(message: QueryTotalEscrowForDenomResponseProtoMsg): QueryTotalEscrowForDenomResponse; toProto(message: QueryTotalEscrowForDenomResponse): Uint8Array; toProtoMsg(message: QueryTotalEscrowForDenomResponse): QueryTotalEscrowForDenomResponseProtoMsg; }; /** Query provides defines the gRPC querier service. */ export interface Query { /** Params queries all parameters of the ibc-transfer module. */ Params(request?: QueryParamsRequest): Promise; /** Denoms queries all denominations */ Denoms(request?: QueryDenomsRequest): Promise; /** Denom queries a denomination */ Denom(request: QueryDenomRequest): Promise; /** DenomHash queries a denomination hash information. */ DenomHash(request: QueryDenomHashRequest): Promise; /** EscrowAddress returns the escrow address for a particular port and channel id. */ EscrowAddress(request: QueryEscrowAddressRequest): Promise; /** TotalEscrowForDenom returns the total amount of tokens in escrow based on the denom. */ TotalEscrowForDenom(request: QueryTotalEscrowForDenomRequest): Promise; } export declare class QueryClientImpl implements Query { private readonly rpc; constructor(rpc: TxRpc); Params(request?: QueryParamsRequest): Promise; Denoms(request?: QueryDenomsRequest): Promise; Denom(request: QueryDenomRequest): Promise; DenomHash(request: QueryDenomHashRequest): Promise; EscrowAddress(request: QueryEscrowAddressRequest): Promise; TotalEscrowForDenom(request: QueryTotalEscrowForDenomRequest): Promise; }