@atomiqlabs/base
Version:
Base classes and interfaces for atomiq protocol
10 lines (9 loc) • 479 B
TypeScript
import { SwapEvent, SwapEventType } from "./SwapEvent";
import { SwapData } from "../../../swaps/SwapData";
import { ChainSwapType } from "../../../swaps/ChainSwapType";
export declare class InitializeEvent<T extends SwapData> extends SwapEvent<T, SwapEventType.INITIALIZE> {
readonly eventType: SwapEventType.INITIALIZE;
swapType: ChainSwapType;
swapData: () => Promise<T>;
constructor(escrowHash: string, swapType: ChainSwapType, swapData: () => Promise<T>);
}