src/blockchain/watcher.js
/**
   * subscribe to milestone events associated with the this lp contract
   */
subscribe to milestone events associated with the this lp contract
subscribe to milestone events associated with the this lp contract
function subscribeCappedMilestones() {
    subscriptions.push(
      subscribeLogs(web3, getMilestoneTopics())
        .on('data', e => newPendingEvent(milestoneEventDecoder(e)))
        .on('changed', e => e.removed && removeEvent(e)),
    );
  }
function subscribeCappedMilestones ( ) { subscriptions . push ( subscribeLogs ( web3 , getMilestoneTopics ( ) ) . on ( 'data' , e => newPendingEvent ( milestoneEventDecoder ( e ) ) ) . on ( 'changed' , e => e . removed && removeEvent ( e ) ) , ) ; }
subscribe to milestone events associated with the this lp contract
subscribe to milestone events associated with the this lp contract