morkeltry / GAP-microfinance

GAP microfinance frontend and Solidity prototype
0 stars 1 forks source link

Loans flow - Apply page #14

Open morkeltry opened 6 years ago

morkeltry commented 6 years ago

Text as in flow diagram.

Before render, make async call to hasLoanOffer(ethAddr) If this returns an array, populate page with result, expecting: result [2] to be Lender Name, result [1] to be Duration in days, result [3] to be Amount

Render form with inputs:

buttons :

Take this Loan and Reject buttons occupy the space on screen which was previously taken by Check Loan Offers.

page requires a populate() function which: