mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-01 00:28:06 +01:00
026a06b39d
Co-authored-by: Erik Marks <25517051+rekmarks@users.noreply.github.com>
22 lines
596 B
JavaScript
22 lines
596 B
JavaScript
import {
|
|
TRANSACTION_CATEGORIES,
|
|
TRANSACTION_STATUSES,
|
|
} from '../../../../shared/constants/transaction'
|
|
|
|
export const PENDING_STATUS_HASH = {
|
|
[TRANSACTION_STATUSES.UNAPPROVED]: true,
|
|
[TRANSACTION_STATUSES.APPROVED]: true,
|
|
[TRANSACTION_STATUSES.SUBMITTED]: true,
|
|
}
|
|
|
|
export const PRIORITY_STATUS_HASH = {
|
|
...PENDING_STATUS_HASH,
|
|
[TRANSACTION_STATUSES.CONFIRMED]: true,
|
|
}
|
|
|
|
export const TOKEN_CATEGORY_HASH = {
|
|
[TRANSACTION_CATEGORIES.TOKEN_METHOD_APPROVE]: true,
|
|
[TRANSACTION_CATEGORIES.TOKEN_METHOD_TRANSFER]: true,
|
|
[TRANSACTION_CATEGORIES.TOKEN_METHOD_TRANSFER_FROM]: true,
|
|
}
|