2019-11-20 05:49:11 +00:00
|
|
|
export const CURRENCY_UNITS = [ 'Sats', 'BTC' ];
|
|
|
|
export const CURRENCY_UNIT_FORMATS = { Sats: '1.0-0', BTC: '1.6-6', OTHER: '1.2-2'};
|
2019-11-15 05:58:00 +00:00
|
|
|
|
2019-11-19 23:49:58 +00:00
|
|
|
export const TIME_UNITS = ['SECS', 'MINS', 'HOURS', 'DAYS'];
|
|
|
|
|
2019-11-21 20:33:23 +00:00
|
|
|
export const PAGE_SIZE = 10;
|
|
|
|
export const PAGE_SIZE_OPTIONS = [5, 10, 25, 100];
|
|
|
|
|
2019-11-20 05:49:11 +00:00
|
|
|
export const ADDRESS_TYPES = [
|
2019-11-21 00:14:37 +00:00
|
|
|
{ addressId: '0', addressTp: 'Bech32 (P2WKH)', addressDetails: 'Pay to witness key hash'},
|
|
|
|
{ addressId: '1', addressTp: 'P2SH (NP2WKH)', addressDetails: 'Pay to nested witness key hash (default)'}
|
2019-11-20 05:49:11 +00:00
|
|
|
];
|
|
|
|
|
2019-11-21 20:33:23 +00:00
|
|
|
export const TRANS_TYPES = [
|
|
|
|
{id: '0', name: 'Default Priority'},
|
|
|
|
{id: '1', name: 'Target Confirmation Blocks'},
|
|
|
|
{id: '2', name: 'Fee'}
|
|
|
|
];
|
|
|
|
|
2019-11-14 04:09:14 +00:00
|
|
|
export enum AuthenticateWith {
|
|
|
|
TOKEN = 'TOKEN',
|
|
|
|
PASSWORD = 'PASSWORD'
|
|
|
|
}
|
|
|
|
|
2019-11-19 23:49:58 +00:00
|
|
|
export enum TimeUnitEnum {
|
|
|
|
SECS = 'SECS',
|
|
|
|
MINS = 'MINS',
|
|
|
|
HOURS = 'HOURS',
|
|
|
|
DAYS = 'DAYS'
|
|
|
|
}
|
|
|
|
|
|
|
|
export enum CurrencyUnitEnum {
|
2019-11-20 05:49:11 +00:00
|
|
|
SATS = 'Sats',
|
2019-11-19 23:49:58 +00:00
|
|
|
BTC = 'BTC',
|
|
|
|
LITOSHIS = 'LITOSHIS',
|
|
|
|
LTC = 'LTC',
|
|
|
|
OTHER = 'OTHER'
|
2019-11-14 04:09:14 +00:00
|
|
|
}
|