import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; import { Params } from "./genesis_pb.js"; import { InterchainDEXAccount } from "./ica_pb.js"; import { PageRequest, PageResponse } from "../../cosmos/base/query/v1beta1/pagination_pb.js"; import { Coin } from "../../cosmos/base/v1beta1/coin_pb.js"; /** * QueryParamsRequest is request type for Query/Params RPC method * * @generated from message dex.v1.QueryParamsRequest */ export declare class QueryParamsRequest extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.QueryParamsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryParamsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryParamsRequest; static fromJsonString(jsonString: string, options?: Partial): QueryParamsRequest; static equals(a: QueryParamsRequest | PlainMessage | undefined, b: QueryParamsRequest | PlainMessage | undefined): boolean; } /** * QueryParamsResponse is response type for Query/Params RPC method * * @generated from message dex.v1.QueryParamsResponse */ export declare class QueryParamsResponse extends Message { /** * params holds all the parameters of this module * * @generated from field: dex.v1.Params params = 1; */ params?: Params; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.QueryParamsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryParamsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryParamsResponse; static fromJsonString(jsonString: string, options?: Partial): QueryParamsResponse; static equals(a: QueryParamsResponse | PlainMessage | undefined, b: QueryParamsResponse | PlainMessage | undefined): boolean; } /** * QueryAccountRequest is request type for Query/Account RPC method * * @generated from message dex.v1.QueryAccountRequest */ export declare class QueryAccountRequest extends Message { /** * DID of the account owner * * @generated from field: string did = 1; */ did: string; /** * IBC connection ID * * @generated from field: string connection_id = 2; */ connectionId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.QueryAccountRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryAccountRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryAccountRequest; static fromJsonString(jsonString: string, options?: Partial): QueryAccountRequest; static equals(a: QueryAccountRequest | PlainMessage | undefined, b: QueryAccountRequest | PlainMessage | undefined): boolean; } /** * QueryAccountResponse is response type for Query/Account RPC method * * @generated from message dex.v1.QueryAccountResponse */ export declare class QueryAccountResponse extends Message { /** * The DEX account * * @generated from field: dex.v1.InterchainDEXAccount account = 1; */ account?: InterchainDEXAccount; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.QueryAccountResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryAccountResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryAccountResponse; static fromJsonString(jsonString: string, options?: Partial): QueryAccountResponse; static equals(a: QueryAccountResponse | PlainMessage | undefined, b: QueryAccountResponse | PlainMessage | undefined): boolean; } /** * QueryAccountsRequest is request type for Query/Accounts RPC method * * @generated from message dex.v1.QueryAccountsRequest */ export declare class QueryAccountsRequest extends Message { /** * DID of the account owner * * @generated from field: string did = 1; */ did: string; /** * pagination defines optional pagination * * @generated from field: cosmos.base.query.v1beta1.PageRequest pagination = 2; */ pagination?: PageRequest; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.QueryAccountsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryAccountsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryAccountsRequest; static fromJsonString(jsonString: string, options?: Partial): QueryAccountsRequest; static equals(a: QueryAccountsRequest | PlainMessage | undefined, b: QueryAccountsRequest | PlainMessage | undefined): boolean; } /** * QueryAccountsResponse is response type for Query/Accounts RPC method * * @generated from message dex.v1.QueryAccountsResponse */ export declare class QueryAccountsResponse extends Message { /** * List of DEX accounts * * @generated from field: repeated dex.v1.InterchainDEXAccount accounts = 1; */ accounts: InterchainDEXAccount[]; /** * pagination defines the pagination in the response * * @generated from field: cosmos.base.query.v1beta1.PageResponse pagination = 2; */ pagination?: PageResponse; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.QueryAccountsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryAccountsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryAccountsResponse; static fromJsonString(jsonString: string, options?: Partial): QueryAccountsResponse; static equals(a: QueryAccountsResponse | PlainMessage | undefined, b: QueryAccountsResponse | PlainMessage | undefined): boolean; } /** * QueryBalanceRequest is request type for Query/Balance RPC method * * @generated from message dex.v1.QueryBalanceRequest */ export declare class QueryBalanceRequest extends Message { /** * DID of the account owner * * @generated from field: string did = 1; */ did: string; /** * IBC connection ID * * @generated from field: string connection_id = 2; */ connectionId: string; /** * Optional specific denom to query * * @generated from field: string denom = 3; */ denom: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.QueryBalanceRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryBalanceRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryBalanceRequest; static fromJsonString(jsonString: string, options?: Partial): QueryBalanceRequest; static equals(a: QueryBalanceRequest | PlainMessage | undefined, b: QueryBalanceRequest | PlainMessage | undefined): boolean; } /** * QueryBalanceResponse is response type for Query/Balance RPC method * * @generated from message dex.v1.QueryBalanceResponse */ export declare class QueryBalanceResponse extends Message { /** * Balances on the remote chain * * @generated from field: repeated cosmos.base.v1beta1.Coin balances = 1; */ balances: Coin[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.QueryBalanceResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryBalanceResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryBalanceResponse; static fromJsonString(jsonString: string, options?: Partial): QueryBalanceResponse; static equals(a: QueryBalanceResponse | PlainMessage | undefined, b: QueryBalanceResponse | PlainMessage | undefined): boolean; } /** * QueryPoolRequest is request type for Query/Pool RPC method * * @generated from message dex.v1.QueryPoolRequest */ export declare class QueryPoolRequest extends Message { /** * IBC connection ID * * @generated from field: string connection_id = 1; */ connectionId: string; /** * Pool ID to query * * @generated from field: string pool_id = 2; */ poolId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.QueryPoolRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryPoolRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryPoolRequest; static fromJsonString(jsonString: string, options?: Partial): QueryPoolRequest; static equals(a: QueryPoolRequest | PlainMessage | undefined, b: QueryPoolRequest | PlainMessage | undefined): boolean; } /** * QueryPoolResponse is response type for Query/Pool RPC method * * @generated from message dex.v1.QueryPoolResponse */ export declare class QueryPoolResponse extends Message { /** * Pool information * * @generated from field: dex.v1.PoolInfo pool = 1; */ pool?: PoolInfo; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.QueryPoolResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryPoolResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryPoolResponse; static fromJsonString(jsonString: string, options?: Partial): QueryPoolResponse; static equals(a: QueryPoolResponse | PlainMessage | undefined, b: QueryPoolResponse | PlainMessage | undefined): boolean; } /** * PoolInfo contains pool information * * @generated from message dex.v1.PoolInfo */ export declare class PoolInfo extends Message { /** * Pool ID * * @generated from field: string pool_id = 1; */ poolId: string; /** * Pool assets * * @generated from field: repeated cosmos.base.v1beta1.Coin assets = 2; */ assets: Coin[]; /** * Total shares * * @generated from field: string total_shares = 3; */ totalShares: string; /** * Swap fee * * @generated from field: string swap_fee = 4; */ swapFee: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.PoolInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PoolInfo; static fromJson(jsonValue: JsonValue, options?: Partial): PoolInfo; static fromJsonString(jsonString: string, options?: Partial): PoolInfo; static equals(a: PoolInfo | PlainMessage | undefined, b: PoolInfo | PlainMessage | undefined): boolean; } /** * QueryOrdersRequest is request type for Query/Orders RPC method * * @generated from message dex.v1.QueryOrdersRequest */ export declare class QueryOrdersRequest extends Message { /** * DID of the account owner * * @generated from field: string did = 1; */ did: string; /** * IBC connection ID * * @generated from field: string connection_id = 2; */ connectionId: string; /** * Filter by status (optional) * * @generated from field: string status = 3; */ status: string; /** * pagination defines optional pagination * * @generated from field: cosmos.base.query.v1beta1.PageRequest pagination = 4; */ pagination?: PageRequest; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.QueryOrdersRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryOrdersRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryOrdersRequest; static fromJsonString(jsonString: string, options?: Partial): QueryOrdersRequest; static equals(a: QueryOrdersRequest | PlainMessage | undefined, b: QueryOrdersRequest | PlainMessage | undefined): boolean; } /** * QueryOrdersResponse is response type for Query/Orders RPC method * * @generated from message dex.v1.QueryOrdersResponse */ export declare class QueryOrdersResponse extends Message { /** * List of orders * * @generated from field: repeated dex.v1.Order orders = 1; */ orders: Order[]; /** * pagination defines the pagination in the response * * @generated from field: cosmos.base.query.v1beta1.PageResponse pagination = 2; */ pagination?: PageResponse; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.QueryOrdersResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryOrdersResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryOrdersResponse; static fromJsonString(jsonString: string, options?: Partial): QueryOrdersResponse; static equals(a: QueryOrdersResponse | PlainMessage | undefined, b: QueryOrdersResponse | PlainMessage | undefined): boolean; } /** * Order represents a DEX order * * @generated from message dex.v1.Order */ export declare class Order extends Message { /** * Order ID * * @generated from field: string order_id = 1; */ orderId: string; /** * Order type * * @generated from field: string order_type = 2; */ orderType: string; /** * Sell token * * @generated from field: string sell_denom = 3; */ sellDenom: string; /** * Buy token * * @generated from field: string buy_denom = 4; */ buyDenom: string; /** * Amount * * @generated from field: string amount = 5; */ amount: string; /** * Price * * @generated from field: string price = 6; */ price: string; /** * Status * * @generated from field: string status = 7; */ status: string; /** * Creation time * * @generated from field: string created_at = 8; */ createdAt: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.Order"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Order; static fromJson(jsonValue: JsonValue, options?: Partial): Order; static fromJsonString(jsonString: string, options?: Partial): Order; static equals(a: Order | PlainMessage | undefined, b: Order | PlainMessage | undefined): boolean; } /** * QueryHistoryRequest is request type for Query/History RPC method * * @generated from message dex.v1.QueryHistoryRequest */ export declare class QueryHistoryRequest extends Message { /** * DID of the account owner * * @generated from field: string did = 1; */ did: string; /** * Optional connection filter * * @generated from field: string connection_id = 2; */ connectionId: string; /** * Optional operation type filter * * @generated from field: string operation_type = 3; */ operationType: string; /** * pagination defines optional pagination * * @generated from field: cosmos.base.query.v1beta1.PageRequest pagination = 4; */ pagination?: PageRequest; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.QueryHistoryRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryHistoryRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryHistoryRequest; static fromJsonString(jsonString: string, options?: Partial): QueryHistoryRequest; static equals(a: QueryHistoryRequest | PlainMessage | undefined, b: QueryHistoryRequest | PlainMessage | undefined): boolean; } /** * QueryHistoryResponse is response type for Query/History RPC method * * @generated from message dex.v1.QueryHistoryResponse */ export declare class QueryHistoryResponse extends Message { /** * List of historical transactions * * @generated from field: repeated dex.v1.Transaction transactions = 1; */ transactions: Transaction[]; /** * pagination defines the pagination in the response * * @generated from field: cosmos.base.query.v1beta1.PageResponse pagination = 2; */ pagination?: PageResponse; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.QueryHistoryResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryHistoryResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryHistoryResponse; static fromJsonString(jsonString: string, options?: Partial): QueryHistoryResponse; static equals(a: QueryHistoryResponse | PlainMessage | undefined, b: QueryHistoryResponse | PlainMessage | undefined): boolean; } /** * Transaction represents a historical transaction * * @generated from message dex.v1.Transaction */ export declare class Transaction extends Message { /** * Transaction ID * * @generated from field: string tx_id = 1; */ txId: string; /** * Operation type (swap, provide_liquidity, etc.) * * @generated from field: string operation_type = 2; */ operationType: string; /** * Connection ID * * @generated from field: string connection_id = 3; */ connectionId: string; /** * Transaction details (JSON) * * @generated from field: string details = 4; */ details: string; /** * Status * * @generated from field: string status = 5; */ status: string; /** * Timestamp * * @generated from field: string timestamp = 6; */ timestamp: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "dex.v1.Transaction"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Transaction; static fromJson(jsonValue: JsonValue, options?: Partial): Transaction; static fromJsonString(jsonString: string, options?: Partial): Transaction; static equals(a: Transaction | PlainMessage | undefined, b: Transaction | PlainMessage | undefined): boolean; } //# sourceMappingURL=query_pb.d.ts.map