@htsoft/aiza-react-auction
Version:
ReactJS components for NFT auctions
15 lines (14 loc) • 625 B
TypeScript
/// <reference types="react" />
import { Auction } from "@htsoft/aiza-sdk";
export declare const useManageInteraction: (auction: Auction, setError: (err: string | undefined) => void) => {
auctionHasEnded: boolean;
cancelTxStatus: import("../types").WalletCallStatus;
endAuctionTxStatus: import("../types").WalletCallStatus;
ethValue: string | undefined;
handleCancelAuction: () => Promise<void>;
handleEndAuction: () => Promise<void>;
handleUpdateReservePrice: () => Promise<void>;
input: JSX.Element;
isTokenOwner: boolean;
setReserveTxStatus: import("../types").WalletCallStatus;
};