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.
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.
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 (
approveandcommitToBuyLpt).A view which shows a buyer the orders which they have filled, and which are pending delivery, and how long until they are delivered.
claimCollateralAndPaymentAlso, perhaps a "refresh all" button, which updates the full list.
*Price = DAI ÷ LPT†% Collateral = Collateral ÷ DAIFuture Iterations
Sell my order: Create a way for buyers to sell the orders that they have bought
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.
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.
Display a button against each to either:
approveandfulfillSellOrdercancelLptSellOrderA ticket to create a new LptSellOrder
Future Iterations