Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web Administration: Review and fix column layout with current API results #140

Open
30 of 33 tasks
aaronmboyd opened this issue Feb 14, 2022 · 0 comments
Open
30 of 33 tasks

Comments

@aaronmboyd
Copy link
Contributor

aaronmboyd commented Feb 14, 2022

  • Dashboard

  • Main API source: /stats/operator

  • Completed deposits = totalDeposits

  • Pending deposits = TBA

  • Completed withdrawals = totalWithdrawals

  • Pending withdrawals = TBA

  • Outstanding Current = currentOutstanding

  • ACH Transactions

  • Main API source: /stats/deposit and /stats/withdrawal

  • Use userId on each item to retrieve the user from /users/

  • Make type = deposit or withdrawal

  • Use /stats/operator linked via operator attribute to show BerkShares Bank

  • Use /users/<id>/funding-sources to show User Bank

  • Use transactionHash for ID, make this link to block explorer transaction

  • Blockchain Transactions - rename this to "Transfers"

  • Main API source /stats/transfers / stats/deposit / /stats/withdrawal

  • Use transactionHash for hash, maybe rename to txId etc. Link to block explorer.

  • Use fromUserId to retrieve user from /users/<id> and get the user name. Link this field to the Users->detail route.

  • Use toUserId to retreive user from /users/<id> and get the user name. Link this field to the Users->detail route.
    From address/to address as specified

  • Amount shold be converted from wei to whole units and have B$ prefix

  • Created At should be converted from epoch timestamp to US date format

  • Blocks confirmed should be calculated using the current block number

  • Users

  • Main API source: "/users"

  • Get user details from user.customer.body

  • Balance is already converted to B$ and needs the "B$" prefix

  • Remove Last Login column, not required

  • Wallet address as is

  • Address as is, from customer object

  • Smart Contracts Configuration

  • Main API source: "/health"

  • Pause button for Controller should direct to POST /admin/pause

  • When paused, change icon and should direct to POST /admin/unpause

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants