Skip to content

Latest commit

 

History

History
227 lines (218 loc) · 8.3 KB

LoanParamsStruct.md

File metadata and controls

227 lines (218 loc) · 8.3 KB

The Loan Parameters. (LoanParamsStruct.sol)

View Source: contracts/core/objects/LoanParamsStruct.sol

↘ Derived Contracts: Objects

LoanParamsStruct contract

This contract code comes from bZx. bZx is a protocol for tokenized margin trading and lending https://bzx.network similar to the dYdX protocol.

  • This contract contains the storage structure of the Loan Parameters.

Structs

LoanParams

struct LoanParams {
 bytes32 id,
 bool active,
 address owner,
 address loanToken,
 address collateralToken,
 uint256 minInitialMargin,
 uint256 maintenanceMargin,
 uint256 maxLoanTerm
}

Functions

Contracts