(_from, _to)
| 847 | } |
| 848 | |
| 849 | async function getManualApproval(_from, _to) { |
| 850 | let result = null; |
| 851 | |
| 852 | let manualApproval = await currentTransferManager.methods.getApprovalDetails(_from, _to).call(); |
| 853 | if ((manualApproval[0] >= new Date()) && (manualApproval[1] != 0)) { |
| 854 | result = manualApproval; |
| 855 | } |
| 856 | return result; |
| 857 | } |
| 858 | |
| 859 | async function matmGenericCsv(path, f) { |
| 860 | let csvFilePath = readlineSync.question(`Enter the path for csv data file (${path}): `, { |