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
2018-12-05 09:26:30 +01:00

23 lines
478 B
JavaScript

/* @flow */
import * as PENDING from 'actions/constants/pendingTx';
import type { State, PendingTx } from 'reducers/PendingTxReducer';
export type PendingTxAction = {
type: typeof PENDING.FROM_STORAGE,
payload: State
} | {
type: typeof PENDING.ADD,
payload: PendingTx
} | {
type: typeof PENDING.TX_RESOLVED,
hash: string,
} | {
type: typeof PENDING.TX_REJECTED,
hash: string,
} | {
type: typeof PENDING.TX_TOKEN_ERROR,
hash: string,
}