animiassumenda
Version:
Blox live, desktop app for managing staking accounts
29 lines (27 loc) • 1.21 kB
text/typescript
export const STATUSES: Record<string, any> = {
active: { name: 'Active', color: 'accent2400' },
waiting: { name: 'Waiting', color: 'warning700' },
deposited: { name: 'Deposited', color: 'warning900' },
pending: { name: 'Pending', color: 'warning900' },
exited: { name: 'Exited', color: 'gray400' },
invalid: { name: 'Invalid', color: 'gray400' },
slashing: { name: 'Slashed', color: 'destructive600' },
disabled: { name: 'Disabled', color: 'destructive600' },
unknown_status: { name: 'Unknown', color: 'destructive600' },
test_mode: { name: 'Unknown', color: 'destructive600' },
partially_deposited: { name: 'Partial', color: 'warning900' },
};
export const MODAL_TYPES: Record<string, any> = {
PASSWORD: 'password',
REACTIVATION: 'reactivation',
UPDATE: 'update',
REACTIVATE_KEYVAULT_REQUEST: 'keyvault/reactivate/request',
UPDATE_KEYVAULT_REQUEST: 'keyvault/update/request',
DEPOSIT_INFO: 'depositInfo',
ACTIVE_VALIDATOR: 'activeValidator',
DEVICE_SWITCH: 'deviceSwitch',
FORGOT_PASSWORD: 'forgotPassword',
VALIDATORS_IMPORT_FAILED: 'validators/import/failed',
VALIDATORS_IMPORT_FAILED_THANKS: 'validators/import/failed/thanks',
COMPLIANCE_MODAL: 'compliance',
};