/** * This file was automatically generated by @cosmwasm/ts-codegen@1.10.0. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run the @cosmwasm/ts-codegen generate command to regenerate this file. */ import { UseQueryOptions, UseMutationOptions } from "@tanstack/react-query"; import { ExecuteResult } from "@cosmjs/cosmwasm-stargate"; import { StdFee, Coin } from "@cosmjs/amino"; import { AssetInfo, Binary, Uint128, Decimal, Asset, Uint64, NullableUint128, ConfigResponse, CumulativePricesResponse, OracleObservation, PairInfo, PoolResponse, ReverseSimulationResponse, ArrayOfAsset, SimulationResponse } from "./StardexPairStable.types"; import { StardexPairStableQueryClient, StardexPairStableClient } from "./StardexPairStable.client"; export declare const stardexPairStableQueryKeys: { contract: readonly [{ readonly contract: "stardexPairStable"; }]; address: (contractAddress: string | undefined) => readonly [{ readonly address: string | undefined; readonly contract: "stardexPairStable"; }]; pair: (contractAddress: string | undefined, args?: Record) => readonly [{ readonly method: "pair"; readonly args: Record | undefined; readonly address: string | undefined; readonly contract: "stardexPairStable"; }]; pool: (contractAddress: string | undefined, args?: Record) => readonly [{ readonly method: "pool"; readonly args: Record | undefined; readonly address: string | undefined; readonly contract: "stardexPairStable"; }]; config: (contractAddress: string | undefined, args?: Record) => readonly [{ readonly method: "config"; readonly args: Record | undefined; readonly address: string | undefined; readonly contract: "stardexPairStable"; }]; share: (contractAddress: string | undefined, args?: Record) => readonly [{ readonly method: "share"; readonly args: Record | undefined; readonly address: string | undefined; readonly contract: "stardexPairStable"; }]; simulation: (contractAddress: string | undefined, args?: Record) => readonly [{ readonly method: "simulation"; readonly args: Record | undefined; readonly address: string | undefined; readonly contract: "stardexPairStable"; }]; reverseSimulation: (contractAddress: string | undefined, args?: Record) => readonly [{ readonly method: "reverse_simulation"; readonly args: Record | undefined; readonly address: string | undefined; readonly contract: "stardexPairStable"; }]; cumulativePrices: (contractAddress: string | undefined, args?: Record) => readonly [{ readonly method: "cumulative_prices"; readonly args: Record | undefined; readonly address: string | undefined; readonly contract: "stardexPairStable"; }]; queryComputeD: (contractAddress: string | undefined, args?: Record) => readonly [{ readonly method: "query_compute_d"; readonly args: Record | undefined; readonly address: string | undefined; readonly contract: "stardexPairStable"; }]; assetBalanceAt: (contractAddress: string | undefined, args?: Record) => readonly [{ readonly method: "asset_balance_at"; readonly args: Record | undefined; readonly address: string | undefined; readonly contract: "stardexPairStable"; }]; observe: (contractAddress: string | undefined, args?: Record) => readonly [{ readonly method: "observe"; readonly args: Record | undefined; readonly address: string | undefined; readonly contract: "stardexPairStable"; }]; simulateWithdraw: (contractAddress: string | undefined, args?: Record) => readonly [{ readonly method: "simulate_withdraw"; readonly args: Record | undefined; readonly address: string | undefined; readonly contract: "stardexPairStable"; }]; simulateProvide: (contractAddress: string | undefined, args?: Record) => readonly [{ readonly method: "simulate_provide"; readonly args: Record | undefined; readonly address: string | undefined; readonly contract: "stardexPairStable"; }]; }; export declare const stardexPairStableQueries: { pair: ({ client, options }: StardexPairStablePairQuery) => UseQueryOptions; pool: ({ client, options }: StardexPairStablePoolQuery) => UseQueryOptions; config: ({ client, options }: StardexPairStableConfigQuery) => UseQueryOptions; share: ({ client, args, options }: StardexPairStableShareQuery) => UseQueryOptions; simulation: ({ client, args, options }: StardexPairStableSimulationQuery) => UseQueryOptions; reverseSimulation: ({ client, args, options }: StardexPairStableReverseSimulationQuery) => UseQueryOptions; cumulativePrices: ({ client, options }: StardexPairStableCumulativePricesQuery) => UseQueryOptions; queryComputeD: ({ client, options }: StardexPairStableQueryComputeDQuery) => UseQueryOptions; assetBalanceAt: ({ client, args, options }: StardexPairStableAssetBalanceAtQuery) => UseQueryOptions; observe: ({ client, args, options }: StardexPairStableObserveQuery) => UseQueryOptions; simulateWithdraw: ({ client, args, options }: StardexPairStableSimulateWithdrawQuery) => UseQueryOptions; simulateProvide: ({ client, args, options }: StardexPairStableSimulateProvideQuery) => UseQueryOptions; }; export interface StardexPairStableReactQuery { client: StardexPairStableQueryClient | undefined; options?: Omit, "'queryKey' | 'queryFn' | 'initialData'"> & { initialData?: undefined; }; } export interface StardexPairStableSimulateProvideQuery extends StardexPairStableReactQuery { args: { assets: Asset[]; slippageTolerance?: Decimal; }; } export declare function useStardexPairStableSimulateProvideQuery({ client, args, options }: StardexPairStableSimulateProvideQuery): import("@tanstack/react-query").UseQueryResult; export interface StardexPairStableSimulateWithdrawQuery extends StardexPairStableReactQuery { args: { lpAmount: Uint128; }; } export declare function useStardexPairStableSimulateWithdrawQuery({ client, args, options }: StardexPairStableSimulateWithdrawQuery): import("@tanstack/react-query").UseQueryResult; export interface StardexPairStableObserveQuery extends StardexPairStableReactQuery { args: { secondsAgo: number; }; } export declare function useStardexPairStableObserveQuery({ client, args, options }: StardexPairStableObserveQuery): import("@tanstack/react-query").UseQueryResult; export interface StardexPairStableAssetBalanceAtQuery extends StardexPairStableReactQuery { args: { assetInfo: AssetInfo; blockHeight: Uint64; }; } export declare function useStardexPairStableAssetBalanceAtQuery({ client, args, options }: StardexPairStableAssetBalanceAtQuery): import("@tanstack/react-query").UseQueryResult; export interface StardexPairStableQueryComputeDQuery extends StardexPairStableReactQuery { } export declare function useStardexPairStableQueryComputeDQuery({ client, options }: StardexPairStableQueryComputeDQuery): import("@tanstack/react-query").UseQueryResult; export interface StardexPairStableCumulativePricesQuery extends StardexPairStableReactQuery { } export declare function useStardexPairStableCumulativePricesQuery({ client, options }: StardexPairStableCumulativePricesQuery): import("@tanstack/react-query").UseQueryResult; export interface StardexPairStableReverseSimulationQuery extends StardexPairStableReactQuery { args: { askAsset: Asset; offerAssetInfo?: AssetInfo; }; } export declare function useStardexPairStableReverseSimulationQuery({ client, args, options }: StardexPairStableReverseSimulationQuery): import("@tanstack/react-query").UseQueryResult; export interface StardexPairStableSimulationQuery extends StardexPairStableReactQuery { args: { askAssetInfo?: AssetInfo; offerAsset: Asset; }; } export declare function useStardexPairStableSimulationQuery({ client, args, options }: StardexPairStableSimulationQuery): import("@tanstack/react-query").UseQueryResult; export interface StardexPairStableShareQuery extends StardexPairStableReactQuery { args: { amount: Uint128; }; } export declare function useStardexPairStableShareQuery({ client, args, options }: StardexPairStableShareQuery): import("@tanstack/react-query").UseQueryResult; export interface StardexPairStableConfigQuery extends StardexPairStableReactQuery { } export declare function useStardexPairStableConfigQuery({ client, options }: StardexPairStableConfigQuery): import("@tanstack/react-query").UseQueryResult; export interface StardexPairStablePoolQuery extends StardexPairStableReactQuery { } export declare function useStardexPairStablePoolQuery({ client, options }: StardexPairStablePoolQuery): import("@tanstack/react-query").UseQueryResult; export interface StardexPairStablePairQuery extends StardexPairStableReactQuery { } export declare function useStardexPairStablePairQuery({ client, options }: StardexPairStablePairQuery): import("@tanstack/react-query").UseQueryResult; export interface StardexPairStableClaimOwnershipMutation { client: StardexPairStableClient; args?: { fee?: number | StdFee | "auto"; memo?: string; funds?: Coin[]; }; } export declare function useStardexPairStableClaimOwnershipMutation(options?: Omit, "mutationFn">): import("@tanstack/react-query").UseMutationResult; export interface StardexPairStableDropOwnershipProposalMutation { client: StardexPairStableClient; args?: { fee?: number | StdFee | "auto"; memo?: string; funds?: Coin[]; }; } export declare function useStardexPairStableDropOwnershipProposalMutation(options?: Omit, "mutationFn">): import("@tanstack/react-query").UseMutationResult; export interface StardexPairStableProposeNewOwnerMutation { client: StardexPairStableClient; msg: { expiresIn: number; owner: string; }; args?: { fee?: number | StdFee | "auto"; memo?: string; funds?: Coin[]; }; } export declare function useStardexPairStableProposeNewOwnerMutation(options?: Omit, "mutationFn">): import("@tanstack/react-query").UseMutationResult; export interface StardexPairStableUpdateConfigMutation { client: StardexPairStableClient; msg: { params: Binary; }; args?: { fee?: number | StdFee | "auto"; memo?: string; funds?: Coin[]; }; } export declare function useStardexPairStableUpdateConfigMutation(options?: Omit, "mutationFn">): import("@tanstack/react-query").UseMutationResult; export interface StardexPairStableSwapMutation { client: StardexPairStableClient; msg: { askAssetInfo?: AssetInfo; beliefPrice?: Decimal; maxSpread?: Decimal; offerAsset: Asset; to?: string; }; args?: { fee?: number | StdFee | "auto"; memo?: string; funds?: Coin[]; }; } export declare function useStardexPairStableSwapMutation(options?: Omit, "mutationFn">): import("@tanstack/react-query").UseMutationResult; export interface StardexPairStableWithdrawLiquidityMutation { client: StardexPairStableClient; msg: { assets?: Asset[]; minAssetsToReceive?: Asset[]; }; args?: { fee?: number | StdFee | "auto"; memo?: string; funds?: Coin[]; }; } export declare function useStardexPairStableWithdrawLiquidityMutation(options?: Omit, "mutationFn">): import("@tanstack/react-query").UseMutationResult; export interface StardexPairStableProvideLiquidityMutation { client: StardexPairStableClient; msg: { assets: Asset[]; autoStake?: boolean; minLpToReceive?: Uint128; receiver?: string; slippageTolerance?: Decimal; }; args?: { fee?: number | StdFee | "auto"; memo?: string; funds?: Coin[]; }; } export declare function useStardexPairStableProvideLiquidityMutation(options?: Omit, "mutationFn">): import("@tanstack/react-query").UseMutationResult; export interface StardexPairStableReceiveMutation { client: StardexPairStableClient; msg: { amount: Uint128; msg: Binary; sender: string; }; args?: { fee?: number | StdFee | "auto"; memo?: string; funds?: Coin[]; }; } export declare function useStardexPairStableReceiveMutation(options?: Omit, "mutationFn">): import("@tanstack/react-query").UseMutationResult;