You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
680 B
23 lines
680 B
import {
|
|
TRANSACTION_TYPES,
|
|
TRANSACTION_STATUSES,
|
|
} from '../../../shared/constants/transaction';
|
|
|
|
export const PENDING_STATUS_HASH = {
|
|
[TRANSACTION_STATUSES.UNAPPROVED]: true,
|
|
[TRANSACTION_STATUSES.APPROVED]: true,
|
|
[TRANSACTION_STATUSES.SUBMITTED]: true,
|
|
[TRANSACTION_STATUSES.PENDING]: true,
|
|
};
|
|
|
|
export const PRIORITY_STATUS_HASH = {
|
|
...PENDING_STATUS_HASH,
|
|
[TRANSACTION_STATUSES.CONFIRMED]: true,
|
|
};
|
|
|
|
export const TOKEN_CATEGORY_HASH = {
|
|
[TRANSACTION_TYPES.TOKEN_METHOD_APPROVE]: true,
|
|
[TRANSACTION_TYPES.TOKEN_METHOD_SET_APPROVAL_FOR_ALL]: true,
|
|
[TRANSACTION_TYPES.TOKEN_METHOD_TRANSFER]: true,
|
|
[TRANSACTION_TYPES.TOKEN_METHOD_TRANSFER_FROM]: true,
|
|
};
|
|
|