async function startEventFilter(contractName) {
  console.log(`\nCalling startEventFilter(${contractName})`);
  console.log('\nRequesting the merkle-tree microservice start its filter...');
  try {
    // we poll the merkle-tree microservice, because it might not be 'up' yet
    const response = await utilsPoll.poll(
      startEventFilterPollingFunction,
      config.POLLING_FREQUENCY,
      {
        contractName,
      },
    );
    return response;
  } catch (err) {
    throw new Error(`Could not start merkle-tree microservice's filter`);
  }
}
/**
Posts a starts merkle-tree microservice's filter
@param {string} contractName
*/
Posts a starts merkle-tree microservice's filter
Posts a starts merkle - tree microservice ' s filter
async function startEventFilter(contractName) {
  console.log(`\nCalling startEventFilter(${contractName})`);
  console.log('\nRequesting the merkle-tree microservice start its filter...');
  try {
    const response = await utilsPoll.poll(
      startEventFilterPollingFunction,
      config.POLLING_FREQUENCY,
      {
        contractName,
      },
    );
    return response;
  } catch (err) {
    throw new Error(`Could not start merkle-tree microservice's filter`);
  }
}
async function startEventFilter ( contractName ) { console . log ( ` \n ${ contractName } ` ) ; console . log ( '\nRequesting the merkle-tree microservice start its filter...' ) ; try { const response = await utilsPoll . poll ( startEventFilterPollingFunction , config . POLLING_FREQUENCY , { contractName , } , ) ; return response ; } catch ( err ) { throw new Error ( ` ` ) ; } }
Posts a starts merkle-tree microservice's filter
Posts a starts merkle - tree microservice ' s filter
// we poll the merkle-tree microservice, because it might not be 'up' yet