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

Function f

CLI/commands/transfer_manager.js:881–888  ·  view source on GitHub ↗
(row)

Source from the content-addressed store, hash-verified

879async function addManualApproveInBatch() {
880
881 var f = (row) => {
882 return (web3.utils.isAddress(row[0]) &&
883 web3.utils.isAddress(row[1]) &&
884 parseFloat(row[2]) > 0 &&
885 moment.unix(row[3]).isValid() &&
886 typeof row[4] === 'string' &&
887 getBinarySize(row[4]) < 33)
888 }
889
890 let batches = await matmGenericCsv(ADD_MANUAL_APPROVAL_DATA_CSV, f)
891

Callers 1

matmGenericCsvFunction · 0.85

Calls 1

getBinarySizeFunction · 0.85

Tested by

no test coverage detected