@cyberk/hyperion-sdk
Version:
Hyperion SDK from Cyberk
24 lines (23 loc) • 1.03 kB
TypeScript
import type { Coin, StdFee } from "@titanlabjs/titan-types/types";
import { SigningClient } from "@titanlabjs/cosmos/signing-client";
import type { DeliverTxResponse } from "@cosmjs/cosmwasm-stargate";
import type { MutationOptions } from "@tanstack/react-query";
export interface CreatePairVariables {
signingClient: SigningClient;
signerAddress: string;
factoryAddress: string;
assets: [Coin, Coin];
memo?: string;
fee?: StdFee;
}
export declare const getCreatePairContractExecuteMsg: (options: Omit<CreatePairVariables, "signingClient">) => {
typeUrl: string;
value: import("@titanlabjs/titan-types/cosmwasm/wasm/v1/tx").MsgExecuteContract;
};
export interface CreatePairOptions {
isSimulate?: boolean;
}
export declare const getCreatePairQueryKey: (options: CreatePairOptions & CreatePairVariables) => string[];
export declare const getCreatePairMutationOptions: (options: {
isSimulate?: boolean;
}) => MutationOptions<bigint | DeliverTxResponse | undefined, Error, CreatePairVariables>;