Skip to content
dvberkel edited this page Mar 26, 2012 · 2 revisions

This page contains user stories we want to implement.

U1. Create IOU

Danny and Layla are having a dinner in a restaurant. They decide Danny will pay the bill, but Layla will return the money for her items at a later time. When the bill of €28,25 is presented, Danny pays the bill to the restaurant and splits the items to find out the amount that Layla owes him. It seems that the items Layla ordered were a little below half of the bill: €13,75. On her mobile phone, Layla opens the Mammon app and creates a new IOU with a value of €13,75 and instructs her phone to send the IOU to Danny.

U2. Query available IOUs

Danny wants to buy a video game, but doesn't have enough cash to do so. He remembers that he has paid some people upfront for dinner, so he decides he wants to redeem some IOUs he holds. To determine who he has to call, he opens up the Mammon app on his mobile phone to get a list of IOUs that are available to him.

U3. Redeem IOU

In the Mammon app on his mobile phone, Danny saw that he has an IOU that was issued by Layla and has a face value of €13,75. He decides he want to redeem this IOU, since it's face value is just over the amount of cash he is short to purchase a video game he likes to have. Danny calls Layla and they decide that Layla will do a bank transfer of €13,75, such that Danny can use the funds for the purchase of the video game. While Layla instructs her bank to do the transfer, Danny opens up the Mammon app and instructs it that he has redeemed the IOU with Layla.

U4. Forward IOU

Layla and Victor are having a dinner at a restaurant. They decide Victor will pay the bill, but Layla will return the money for her items at a later time. When the bill of €34,85 is presented, Victor pays the bill to the restaurant and splits the items to find out the amount that Layla owes him. It seems that the items Layla ordered racked up a cost of €18,40. On her mobile phone, Layla notices that she has an IOU issued by her friend Dina available. The IOU has a face value of €15,00 and she knows that Victor also knows and trusts Dina. She instructs Mammon to forward the IOU from Dina to Victor and to create a new IOU for the remaining amount of €3,40.

U5. Refresh IOU

Victor notices that he holds a forwarded IOU issues by Dina with a face value of €15,00. He knows he can call Dina any time to redeem the IOU for cash, but since he doesn't need the cash at this moment, he decides to hold the IOU a little longer. However, since an IOU can only be forwarded once, this IOU cannot be forwarded to another person anymore. Therefore, he instructs Mammon to refresh the IOU, which means that the Mammon app on the phone of Victor will contact the Mammon app on the phone of Dina to redeem this existing IOU and request a new IOU from Dina simultaneously. Effectively, this procedure refreshes the IOU he holds, such that he is free to forward is to another person that knows and trust Dina at a later time.

Clone this wiki locally