/** * 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 { PairType, PairConfig, TrackerConfig, AssetInfo, Binary, ArrayOfPairType, ConfigResponse, FeeInfoResponse, PairInfo, PairsResponse } from "./StardexFactory.types"; import { StardexFactoryQueryClient, StardexFactoryClient } from "./StardexFactory.client"; export declare const stardexFactoryQueryKeys: { contract: readonly [{ readonly contract: "stardexFactory"; }]; address: (contractAddress: string | undefined) => readonly [{ readonly address: string | undefined; readonly contract: "stardexFactory"; }]; config: (contractAddress: string | undefined, args?: Record) => readonly [{ readonly method: "config"; readonly args: Record | undefined; readonly address: string | undefined; readonly contract: "stardexFactory"; }]; pair: (contractAddress: string | undefined, args?: Record) => readonly [{ readonly method: "pair"; readonly args: Record | undefined; readonly address: string | undefined; readonly contract: "stardexFactory"; }]; pairs: (contractAddress: string | undefined, args?: Record) => readonly [{ readonly method: "pairs"; readonly args: Record | undefined; readonly address: string | undefined; readonly contract: "stardexFactory"; }]; feeInfo: (contractAddress: string | undefined, args?: Record) => readonly [{ readonly method: "fee_info"; readonly args: Record | undefined; readonly address: string | undefined; readonly contract: "stardexFactory"; }]; blacklistedPairTypes: (contractAddress: string | undefined, args?: Record) => readonly [{ readonly method: "blacklisted_pair_types"; readonly args: Record | undefined; readonly address: string | undefined; readonly contract: "stardexFactory"; }]; trackerConfig: (contractAddress: string | undefined, args?: Record) => readonly [{ readonly method: "tracker_config"; readonly args: Record | undefined; readonly address: string | undefined; readonly contract: "stardexFactory"; }]; }; export declare const stardexFactoryQueries: { config: ({ client, options }: StardexFactoryConfigQuery) => UseQueryOptions; pair: ({ client, args, options }: StardexFactoryPairQuery) => UseQueryOptions; pairs: ({ client, args, options }: StardexFactoryPairsQuery) => UseQueryOptions; feeInfo: ({ client, args, options }: StardexFactoryFeeInfoQuery) => UseQueryOptions; blacklistedPairTypes: ({ client, options }: StardexFactoryBlacklistedPairTypesQuery) => UseQueryOptions; trackerConfig: ({ client, options }: StardexFactoryTrackerConfigQuery) => UseQueryOptions; }; export interface StardexFactoryReactQuery { client: StardexFactoryQueryClient | undefined; options?: Omit, "'queryKey' | 'queryFn' | 'initialData'"> & { initialData?: undefined; }; } export interface StardexFactoryTrackerConfigQuery extends StardexFactoryReactQuery { } export declare function useStardexFactoryTrackerConfigQuery({ client, options }: StardexFactoryTrackerConfigQuery): import("@tanstack/react-query").UseQueryResult; export interface StardexFactoryBlacklistedPairTypesQuery extends StardexFactoryReactQuery { } export declare function useStardexFactoryBlacklistedPairTypesQuery({ client, options }: StardexFactoryBlacklistedPairTypesQuery): import("@tanstack/react-query").UseQueryResult; export interface StardexFactoryFeeInfoQuery extends StardexFactoryReactQuery { args: { pairType: PairType; }; } export declare function useStardexFactoryFeeInfoQuery({ client, args, options }: StardexFactoryFeeInfoQuery): import("@tanstack/react-query").UseQueryResult; export interface StardexFactoryPairsQuery extends StardexFactoryReactQuery { args: { limit?: number; startAfter?: AssetInfo[]; }; } export declare function useStardexFactoryPairsQuery({ client, args, options }: StardexFactoryPairsQuery): import("@tanstack/react-query").UseQueryResult; export interface StardexFactoryPairQuery extends StardexFactoryReactQuery { args: { assetInfos: AssetInfo[]; }; } export declare function useStardexFactoryPairQuery({ client, args, options }: StardexFactoryPairQuery): import("@tanstack/react-query").UseQueryResult; export interface StardexFactoryConfigQuery extends StardexFactoryReactQuery { } export declare function useStardexFactoryConfigQuery({ client, options }: StardexFactoryConfigQuery): import("@tanstack/react-query").UseQueryResult; export interface StardexFactoryClaimOwnershipMutation { client: StardexFactoryClient; args?: { fee?: number | StdFee | "auto"; memo?: string; funds?: Coin[]; }; } export declare function useStardexFactoryClaimOwnershipMutation(options?: Omit, "mutationFn">): import("@tanstack/react-query").UseMutationResult; export interface StardexFactoryDropOwnershipProposalMutation { client: StardexFactoryClient; args?: { fee?: number | StdFee | "auto"; memo?: string; funds?: Coin[]; }; } export declare function useStardexFactoryDropOwnershipProposalMutation(options?: Omit, "mutationFn">): import("@tanstack/react-query").UseMutationResult; export interface StardexFactoryProposeNewOwnerMutation { client: StardexFactoryClient; msg: { expiresIn: number; owner: string; }; args?: { fee?: number | StdFee | "auto"; memo?: string; funds?: Coin[]; }; } export declare function useStardexFactoryProposeNewOwnerMutation(options?: Omit, "mutationFn">): import("@tanstack/react-query").UseMutationResult; export interface StardexFactoryDeregisterMutation { client: StardexFactoryClient; msg: { assetInfos: AssetInfo[]; }; args?: { fee?: number | StdFee | "auto"; memo?: string; funds?: Coin[]; }; } export declare function useStardexFactoryDeregisterMutation(options?: Omit, "mutationFn">): import("@tanstack/react-query").UseMutationResult; export interface StardexFactoryCreatePairMutation { client: StardexFactoryClient; msg: { assetInfos: AssetInfo[]; initParams?: Binary; pairType: PairType; }; args?: { fee?: number | StdFee | "auto"; memo?: string; funds?: Coin[]; }; } export declare function useStardexFactoryCreatePairMutation(options?: Omit, "mutationFn">): import("@tanstack/react-query").UseMutationResult; export interface StardexFactoryUpdatePairConfigMutation { client: StardexFactoryClient; msg: { config: PairConfig; }; args?: { fee?: number | StdFee | "auto"; memo?: string; funds?: Coin[]; }; } export declare function useStardexFactoryUpdatePairConfigMutation(options?: Omit, "mutationFn">): import("@tanstack/react-query").UseMutationResult; export interface StardexFactoryUpdateTrackerConfigMutation { client: StardexFactoryClient; msg: { tokenFactoryAddr?: string; trackerCodeId: number; }; args?: { fee?: number | StdFee | "auto"; memo?: string; funds?: Coin[]; }; } export declare function useStardexFactoryUpdateTrackerConfigMutation(options?: Omit, "mutationFn">): import("@tanstack/react-query").UseMutationResult; export interface StardexFactoryUpdateConfigMutation { client: StardexFactoryClient; msg: { coinRegistryAddress?: string; feeAddress?: string; generatorAddress?: string; tokenCodeId?: number; whitelistCodeId?: number; }; args?: { fee?: number | StdFee | "auto"; memo?: string; funds?: Coin[]; }; } export declare function useStardexFactoryUpdateConfigMutation(options?: Omit, "mutationFn">): import("@tanstack/react-query").UseMutationResult;