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

User Interface - Rough Notes #4

Open
chrishobcroft opened this issue May 18, 2019 · 0 comments
Open

User Interface - Rough Notes #4

chrishobcroft opened this issue May 18, 2019 · 0 comments

Comments

@chrishobcroft
Copy link
Collaborator

chrishobcroft commented May 18, 2019

Buy Side UI

MVP

So, I'm thinking about a UI which automatically displays the following (without entering any information):

  • A list all open sell orders from all seller accounts, showing the information in the original post.

    • Ability to sort by each of the columns (I understand that this is best done in the UI)
  • A button against each sell order, which is a buyer clicks, it takes them through the process of submitting the transaction(s) required to fill the order (approve and commitToBuyLpt).

  • A view which shows a buyer the orders which they have filled, and which are pending delivery, and how long until they are delivered.

    • If an order has gone past deliveredByBlock, display a button to help them claimCollateralAndPayment

Also, perhaps a "refresh all" button, which updates the full list.

Price * Block LPT DAI Collateral % Collateral †
8.1159 7807680 34.5 280 28 10%
8.0000 7807280 250 2000 300 15%
8.2000 7808000 2000 16400 4100 25%
8.0000 7791000 1 8 1 12.5%

* Price = DAI ÷ LPT
% Collateral = Collateral ÷ DAI

Future Iterations

  • Sell my order: Create a way for buyers to sell the orders that they have bought

    • e.g. if a buyer has filled an order and the delivery date is in 4 days, create an easy process to allow them to create a sell order to promise to sell the LPT that they expect to receive within 5 days.
    • It would need to be designed in a way to allow people to keep track of which orders they are stringing together.
    • This could be very interesting to experiment with.
  • Approve more: A way for them to approve a large amount of DAI, so that they don't need to approve every time they want to fill an order.

  • MakerDAO integration: Perhaps some integration with MakerDAO's CDPs.

    • If a buyer has no DAI - they can create a CDP to lock up some ETH and receive DAI
    • They can use this to purchase LPT
    • Perhaps they can also sell the LPT+inflation for DAI to pay off their CDP, and come out with a profit
    • The UI would also probably have some way of comparing the cost of the CDP with the return from the LPT - but let's not get ahead of ourselves.
    • This could be very interesting to experiment with.

There's also obviously the option to create a Buy Order, which a seller can fill.

Sell Side UI

MVP

I'm imagining something simple which automatically displays the following (without entering any information):

  • A list all open sell orders created by them, showing the information as per the above in Sell Side.

    • Ability to sort by each of the columns (I understand that this is best done in the UI)
  • Display a button against each to either:

    • Fulfil: if the order has been filled - which calls approve and fulfillSellOrder
    • Cancel: if the order has not been filled - which calls cancelLptSellOrder
  • A ticket to create a new LptSellOrder

Future Iterations

  • Display Bonded Stake: show the seller how many LPT they have bonded, and also what the return is they are getting in:
    • LPT - based on the inflation rate, and the reward cut of the Transcoder they're bonded to
    • ETH - based on the fees being taken by their Transcoder, and the fee share.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant