1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-02-13 08:32:00 +00:00
trezor-wallet/src/actions/PendingTxActions.js

23 lines
478 B
JavaScript
Raw Normal View History

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
2018-08-14 13:18:16 +00:00
import * as PENDING from 'actions/constants/pendingTx';
2018-08-14 13:18:16 +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.ADD,
payload: PendingTx
2018-04-23 10:20:15 +00:00
} | {
type: typeof PENDING.TX_RESOLVED,
hash: string,
2018-05-23 17:13:24 +00:00
} | {
2018-09-26 16:46:49 +00:00
type: typeof PENDING.TX_REJECTED,
hash: string,
2018-05-23 17:13:24 +00:00
} | {
type: typeof PENDING.TX_TOKEN_ERROR,
hash: string,
}