UNPKG

httpay

Version:

HTTPay SDK for interacting with HTTPay smart contracts on Neutron

49 lines 3.79 kB
/** * This file was automatically generated by @cosmwasm/ts-codegen@1.12.1. * 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 * as _0 from "./Escrow.types"; import * as _1 from "./Escrow.client"; import * as _2 from "./Escrow.react-query"; export declare namespace contracts { const Escrow: { useEscrowGetEscrowsQuery<TData = _0.EscrowsResponse>({ client, args, options, }: _2.EscrowGetEscrowsQuery<TData>): import("@tanstack/react-query").UseQueryResult<TData, Error>; useEscrowGetCollectedFeesQuery<TData = _0.CollectedFeesResponse>({ client, options, }: _2.EscrowGetCollectedFeesQuery<TData>): import("@tanstack/react-query").UseQueryResult<TData, Error>; useEscrowGetEscrowQuery<TData = _0.EscrowResponse>({ client, args, options, }: _2.EscrowGetEscrowQuery<TData>): import("@tanstack/react-query").UseQueryResult<TData, Error>; useEscrowClaimFeesMutation(options?: Omit<import("@tanstack/react-query").UseMutationOptions<import("@cosmjs/cosmwasm-stargate").ExecuteResult, Error, _2.EscrowClaimFeesMutation>, "mutationFn">): import("@tanstack/react-query").UseMutationResult<import("@cosmjs/cosmwasm-stargate").ExecuteResult, Error, _2.EscrowClaimFeesMutation, unknown>; useEscrowRefundExpiredMutation(options?: Omit<import("@tanstack/react-query").UseMutationOptions<import("@cosmjs/cosmwasm-stargate").ExecuteResult, Error, _2.EscrowRefundExpiredMutation>, "mutationFn">): import("@tanstack/react-query").UseMutationResult<import("@cosmjs/cosmwasm-stargate").ExecuteResult, Error, _2.EscrowRefundExpiredMutation, unknown>; useEscrowReleaseMutation(options?: Omit<import("@tanstack/react-query").UseMutationOptions<import("@cosmjs/cosmwasm-stargate").ExecuteResult, Error, _2.EscrowReleaseMutation>, "mutationFn">): import("@tanstack/react-query").UseMutationResult<import("@cosmjs/cosmwasm-stargate").ExecuteResult, Error, _2.EscrowReleaseMutation, unknown>; useEscrowLockFundsMutation(options?: Omit<import("@tanstack/react-query").UseMutationOptions<import("@cosmjs/cosmwasm-stargate").ExecuteResult, Error, _2.EscrowLockFundsMutation>, "mutationFn">): import("@tanstack/react-query").UseMutationResult<import("@cosmjs/cosmwasm-stargate").ExecuteResult, Error, _2.EscrowLockFundsMutation, unknown>; escrowQueryKeys: { contract: readonly [{ readonly contract: "escrow"; }]; address: (contractAddress: string | undefined) => readonly [{ readonly address: string; readonly contract: "escrow"; }]; getEscrow: (contractAddress: string | undefined, args?: Record<string, unknown>) => readonly [{ readonly method: "get_escrow"; readonly args: Record<string, unknown>; readonly address: string; readonly contract: "escrow"; }]; getCollectedFees: (contractAddress: string | undefined, args?: Record<string, unknown>) => readonly [{ readonly method: "get_collected_fees"; readonly args: Record<string, unknown>; readonly address: string; readonly contract: "escrow"; }]; getEscrows: (contractAddress: string | undefined, args?: Record<string, unknown>) => readonly [{ readonly method: "get_escrows"; readonly args: Record<string, unknown>; readonly address: string; readonly contract: "escrow"; }]; }; EscrowQueryClient: typeof _1.EscrowQueryClient; EscrowClient: typeof _1.EscrowClient; }; } //# sourceMappingURL=index.d.ts.map