Commit Graph

13 Commits

Author SHA1 Message Date
Mohamed Sohail 8456ea78f8
patch: cameroon specific dashboard queries 2022-08-26 07:23:26 +00:00
Mohamed Sohail a2422811cb
feat: add support for archived tokens
- uses token address for archived tokens

others fixes:

increase token name limit
2022-07-13 16:30:28 +03:00
Mohamed Sohail 7497d0cd41
fixes: deepsource suggestions 2022-07-04 16:01:44 +03:00
Mohamed Sohail b59c0ba3fc
feat: transaction history (including by voucher) (#24)
* sql: add transaction transaction record queries

- get full tx history
- get latest txs for a specific token

* sql: (fix) add id column to select

* sql: (fix) change column name to identifier

* fix: pagination queries

- refactor keyset pagination query to correctly fecth previous page
- remove pagination from token list
- add fetch latest transactions by token

* tidy: remove dev logs

* feat: (db) add index for desc for pagination
2022-06-16 12:27:18 +03:00
Mohamed Sohail 5319359e88
patch: enable secure cookie 2022-06-02 11:51:19 +03:00
Mohamed Sohail 77f127e14a
feat: add admin/auth api (#22)
* feat: add admin/auth api

- jwt cookie based auth
- /auth
- admin/*

* add: meta proxy

* fix: remove ussd account status from syncer

* add: cookie defaults and nuxt init check route

* add: pin and address handlers
2022-06-02 11:24:58 +03:00
Mohamed Sohail 861af1761d
Sohail/latest token transactions (#21)
* add: latest-token-transactions table

* fix: remove token symbol from query

* fix: move latest tx to dashboard domain
2022-05-26 09:35:39 +03:00
Mohamed Sohail 7bda44c169
add: (feat) individual token stats
- volume chart
- token holders
- token tx count

* minor refactors
2022-05-23 15:41:24 +03:00
Mohamed Sohail 37538c68ff
add (feat) pagination helpers and token endpoint
- see docs for pagination api usage
- added control for syncer/api goroutines
2022-05-19 16:24:26 +03:00
Mohamed Sohail f0690d62be
add: (feat) balances query api
- add address utils
- return uint64 for balances instead of float
2022-05-19 09:52:34 +03:00
Mohamed Sohail 7d431f1c8f
add: (wip) balances query API 2022-05-14 11:15:45 +03:00
Mohamed Sohail 128b15407a
server: init api server
- echo (https://echo.labstack.com/) as web framework
- carbon for auto date-range parsing
- add dashboard sql queries
2022-05-11 16:57:56 +03:00
Mohamed Sohail 6b71657e5b
sohail/update deps structure (#5)
* refactor: syncer structure

- move syncer jobs to internal dir

* refactor: queries struct and pkg updates

- update cic-go to latest
- separate sql queries by logic

* ci: add dependabot
2022-05-11 12:32:11 +03:00