REFACTOR
Feature
Merge Request
Related Issue
Description of Feature
REFACTOR:
- use helper function to instantiate contracts
- assessmentView: initialize selectedAssessment variable from props
- use a mechanism to update the assessment state that can be used for updating from past events and events that are being registered when watched
- save concepts & assessments in the same way: as objects with their addresses as keys
- rename balance to AhaBalance in state to not confuse with ether
- cleaned up buttons in assessorStatus
- smaller receiveVariable-action
Motivation and Context
Whether in the assessmentView or in the Dashboard view, an event watcher that listens to events relevant to the user {filter: {user: userAddress}} just needs to dispatch the new updateAssessments(address)
-action
Related Tasks
Edited by Antoine Estienne