/**
 * Represents one deal sent out by this system
 */
export default interface DealState {
    id: string;
    client: string;
    provider: string;
    dealCid: string;
    dataCid: string;
    pieceCid: string;
    expiration: number;
    duration: number;
    price: number;
    verified: boolean;
    state: 'proposed' | 'published' | 'active' | 'slashed' | 'error';
    replicationRequestId: string;
    datasetId: string;
    dealId?: number;
    errorMessage?: string;
}
