@atomiqlabs/sdk
Version:
atomiq labs SDK for cross-chain swaps between smart chains and bitcoin
18 lines (15 loc) • 531 B
text/typescript
import {ISwap} from "./ISwap";
import {IClaimableSwap} from "./IClaimableSwap";
/**
* Interface for a swap wrapper for swaps that can end up in a claimable state, requiring the user to claim the
* assets on the destination chain.
*
* @category Swaps/Abstract
*/
export interface IClaimableSwapWrapper<T extends ISwap & IClaimableSwap = ISwap & IClaimableSwap> {
/**
* A list of swap states when the swap is potentially claimable
* @internal
*/
_claimableSwapStates: T["_state"][];
}