(status: Str)
| 3660 | } |
| 3661 | |
| 3662 | parseTransactionStatus (status: Str) { |
| 3663 | const statuses: Dict = { |
| 3664 | 'Success': 'ok', |
| 3665 | 'Succeed': 'ok', |
| 3666 | 'Rejected': 'failed', |
| 3667 | 'Security check failed': 'failed', |
| 3668 | 'SecurityCheckFailed': 'failed', |
| 3669 | 'Expired': 'failed', |
| 3670 | 'Address Risk': 'failed', |
| 3671 | 'Security Checking': 'pending', |
| 3672 | 'SecurityChecking': 'pending', |
| 3673 | 'Pending Review': 'pending', |
| 3674 | 'Pending Transfer': 'pending', |
| 3675 | 'AmlCsApporve': 'pending', |
| 3676 | 'New': 'pending', |
| 3677 | 'Confirmed': 'pending', |
| 3678 | 'Cancelled': 'canceled', |
| 3679 | }; |
| 3680 | return this.safeString (statuses, status as string, status); |
| 3681 | } |
| 3682 | |
| 3683 | parseTransaction (transaction: Dict, currency: Currency = undefined): Transaction { |
| 3684 | // |
no test coverage detected