MCPcopy Create free account
hub / github.com/PolymathNetwork/polymath-core / getManualApproval

Function getManualApproval

CLI/commands/transfer_manager.js:849–857  ·  view source on GitHub ↗
(_from, _to)

Source from the content-addressed store, hash-verified

847}
848
849async 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
859async function matmGenericCsv(path, f) {
860 let csvFilePath = readlineSync.question(`Enter the path for csv data file (${path}): `, {

Callers 1

matmAddFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected