app/scripts/lib/account-tracker.js
/**
   * Adds new addresses to track the balances of
   * given a balance as long this._currentBlockNumber is defined.
   *
   * @param {array} addresses An array of hex addresses of new accounts to track
   *
   */
Adds new addresses to track the balances of
given a balance as long this._currentBlockNumber is defined.

@param {array} addresses An array of hex addresses of new accounts to track
Adds new addresses to track the balances of given a balance as long this . _currentBlockNumber is defined . @param { array } addresses An array of hex addresses of new accounts to track
addAccounts (addresses) {
    const accounts = this.store.getState().accounts
    addresses.forEach(address => {
      accounts[address] = {}
    })
    this.store.updateState({ accounts })
    this._updateAccounts()
  }
addAccounts ( addresses ) { const accounts = this . store . getState ( ) . accounts addresses . forEach ( address => { accounts [ address ] = { } } ) this . store . updateState ( { accounts } ) this . _updateAccounts ( ) }
Adds new addresses to track the balances of
 given a balance as long this._currentBlockNumber is defined.
Adds new addresses to track the balances of given a balance as long this . _currentBlockNumber is defined .
// add initial state for addresses // save accounts state // fetch balances for the accounts if there is block number ready //if (!this._currentBlockNumber) return