This repository has been archived on 2022-08-25. You can view files and clone it, but cannot push or open issues or pull requests.
Files
Backend/src/helper/types.ts
Mondei1 16194dca8f Invoices can be created
- Transactions can now be tracked
2020-12-25 13:28:19 +01:00

30 lines
564 B
TypeScript

export enum CryptoUnits {
BITCOIN = 'BTC',
BITCOINCASH = 'BCH',
ETHEREUM = 'ETH',
LITECOIN = 'LTC',
DOGECOIN = 'DOGE',
MONERO = 'XMR'
}
export enum FiatUnits {
USD = 'USD',
EUR = 'EURO'
}
export enum PaymentStatus {
/**
* The payment has not been yet started. The user did not initiated the transfer.
*/
PENDING = 0,
/**
* The payment has been made but it's not yet confirmed.
*/
UNCONFIRMED = 1,
/**
* The payment is completed and the crypto is now available.
*/
DONE = 2
}