Colm3na / polkastats-backend-v3

polkastats.io backend repository
Apache License 2.0
17 stars 15 forks source link

Store staking status for accounts #116

Closed Bigomby closed 4 years ago

Bigomby commented 4 years ago

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:

For reviewer:


Closes #113