Open morkeltry opened 6 years ago
Interrogates blockchain to find if borrowerEthAddr has a loan offered.
Takes ( borrowerEthAddr, callback ) as params.
If loan offer exists, calls callback with (amount, duration, lenderEthAddr). Otherwise does nothing.
If short of time will be mocked using an endpoint
Interrogates blockchain to find if borrowerEthAddr has a loan offered.
Takes ( borrowerEthAddr, callback ) as params.
If loan offer exists, calls callback with (amount, duration, lenderEthAddr). Otherwise does nothing.
If short of time will be mocked using an endpoint