ghost-portal/packages/react-components/src/Status/constants.ts
2020-03-20 18:02:19 +01:00

13 lines
460 B
TypeScript

// Copyright 2017-2020 @polkadot/react-components authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { QueueTxStatus } from './types';
export const STATUS_COMPLETE: QueueTxStatus[] = [
// status from subscription
'finalitytimeout', 'finalized', 'inblock', 'usurped', 'dropped', 'invalid',
// normal completion
'cancelled', 'error', 'sent'
];