2018-04-23 10:20:15 +00:00
|
|
|
/* @flow */
|
2018-07-30 10:52:13 +00:00
|
|
|
|
2018-04-23 10:20:15 +00:00
|
|
|
|
|
|
|
import * as PENDING from './constants/pendingTx';
|
2018-07-30 10:52:13 +00:00
|
|
|
import type { State, PendingTx } from '../reducers/PendingTxReducer';
|
2018-04-23 10:20:15 +00:00
|
|
|
|
|
|
|
export type PendingTxAction = {
|
|
|
|
type: typeof PENDING.FROM_STORAGE,
|
|
|
|
payload: State
|
|
|
|
} | {
|
|
|
|
type: typeof PENDING.TX_RESOLVED,
|
|
|
|
tx: PendingTx,
|
2018-05-29 08:48:28 +00:00
|
|
|
receipt?: Object,
|
2018-05-23 17:13:24 +00:00
|
|
|
} | {
|
|
|
|
type: typeof PENDING.TX_NOT_FOUND,
|
|
|
|
tx: PendingTx,
|
|
|
|
} | {
|
|
|
|
type: typeof PENDING.TX_TOKEN_ERROR,
|
|
|
|
tx: PendingTx,
|
2018-04-23 10:20:15 +00:00
|
|
|
}
|