Refactor accounts module including a refactor of SQL queries
Update SQL file with a new "is_staking" column
Add a feature to store staking status in the accounts table on the "is_staking" column
The goal of the refactor is to make the code modular, so new features can be added easily. For demonstration purposes, the "add staking" feature is added on its own commit to show how little changes are needed to implement the new feature.
Also, SQL queries have been merged in one single query valid for insert and update accounts.
For contributor:
[x] Reviewed Files changed in the github PR explorer
[x] Attach screenshots of the UI components on the PR description (if applicable)
Description:
This PR contains:
The goal of the refactor is to make the code modular, so new features can be added easily. For demonstration purposes, the "add staking" feature is added on its own commit to show how little changes are needed to implement the new feature.
Also, SQL queries have been merged in one single query valid for insert and update accounts.
For contributor:
Files changed
in the github PR explorerFor reviewer:
Closes #113