PWN Loan Terms

1. Summary

PWNLOANTerms.sol library defines loan terms structs for each loan type in the PWN Protocol.

3. Loan Term Structs

Simple Loan

TypeNameComment

address

lender

Address of a lender

address

borrower

Address of a borrower

uint40

expiration

Unix timestamp (in seconds) setting up a maturity date

MultiToken.Asset

collateral

Asset used as a loan collateral. See MultiToken for more infomation about the Asset struct.

MultiToken.Asset

asset

Asset used as a loan credit. See MultiToken for more infomation about the Asset struct.

uint256

loanRepayAmount

Amount of asset to be repaid.

Last updated