code: function (formattedTransactionReceipt) {
      const eventsData = formattedTransactionReceipt.eventsData
        , formattedEvents = {};
  
      for (var i = 0; i < eventsData.length; i++) {
        const currEvent = eventsData[i]
          , currEventName = currEvent.name
          , currEventAddr = currEvent.address
          , currEventParams = currEvent.events;
  
        formattedEvents[currEventName] = {address: currEventAddr};
  
        for (var j = 0; j < currEventParams.length; j++) {
          var p = currEventParams[j];
          formattedEvents[currEventName][p.name] = p.value;
        }
  
      }
  
      return Promise.resolve(formattedEvents);
    }
docs: performer
  
  @param {object} formattedTransactionReceipt
  
  @return {promise}