@cyberk/hyperion-sdk
Version:
Hyperion SDK from Cyberk
25 lines (24 loc) • 1.18 kB
TypeScript
import type { 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 AddNativeTokenDecimalsVariables {
signingClient: SigningClient;
signerAddress: string;
factoryAddress: string;
denom: string;
decimals: number;
memo?: string;
fee?: StdFee;
}
export declare const getAddNativeTokenDecimalsContractExecuteMsg: (options: Omit<AddNativeTokenDecimalsVariables, "signingClient" | "fee" | "memo">) => {
typeUrl: string;
value: import("@titanlabjs/titan-types/cosmwasm/wasm/v1/tx").MsgExecuteContract;
};
export interface AddNativeTokenDecimalsOptions {
isSimulate?: boolean;
}
export declare const getAddNativeTokenDecimalsQueryKey: (options: AddNativeTokenDecimalsOptions & AddNativeTokenDecimalsVariables) => (string | number)[];
export declare const getAddNativeTokenDecimalsMutationOptions: (options: {
isSimulate?: boolean;
}) => MutationOptions<bigint | DeliverTxResponse | undefined, Error, AddNativeTokenDecimalsVariables>;