Skip to content

ssetzer/alfoatsc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Loan Escrow Smart Contract

The smart contract matches ether lenders to borrowers. When the lender wishes to lend ether, her currency is held in the escrow. Then when a borrower wishes to avail the loan, she needs to deposit collateral (as decided by the lender) to the escrow.

Lender

The lender decides on the following parameters.

  • Minimum amount to lend
  • Maximum amount to lend
  • Expected return payment
  • Due date of return payment
  • Expected collateral: list of (token, amount)

At this point the tokens that are willing to be lent will be held in escrow.

Borrower

Assuming a borrower fulfills the lending conditions, her collateral tokens will be held in escrow and the loaned ether will be transferred.

About

Loan Escrow Smart Contract

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 80.7%
  • JavaScript 19.3%