Search
Preparing search index...
The search index is not available
@augmint/js
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
"src/LoanProduct"
LoanProduct
Class LoanProduct
Hierarchy
LoanProduct
Index
Constructors
constructor
Properties
adjusted
Min
Disbursed
Amount
collateral
Ratio
defaulting
Fee
Pt
discount
Rate
id
initial
Collateral
Ratio
interest
Rate
Pa
is
Active
loan
Manager
Address
max
Loan
Amount
min
Collateral
Ratio
min
Disbursed
Amount
term
InSecs
Accessors
is
Margin
Loan
margin
Call
Rate
Ratio
Methods
calculate
Loan
From
Collateral
calculate
Loan
From
Disbursed
Amount
calculate
Margin
Call
Rate
get
Initial
Collateral
Ratio
Constructors
constructor
new
Loan
Product
(
loanProductTuple
:
ILoanProductTuple
, loanManagerAddress
:
string
)
:
LoanProduct
Parameters
loanProductTuple:
ILoanProductTuple
loanManagerAddress:
string
Returns
LoanProduct
Properties
Readonly
adjusted
Min
Disbursed
Amount
adjusted
Min
Disbursed
Amount
:
Tokens
Readonly
collateral
Ratio
collateral
Ratio
:
Ratio
Readonly
defaulting
Fee
Pt
defaulting
Fee
Pt
:
Ratio
Readonly
discount
Rate
discount
Rate
:
Ratio
Readonly
id
id
:
number
Readonly
initial
Collateral
Ratio
initial
Collateral
Ratio
:
Ratio
Readonly
interest
Rate
Pa
interest
Rate
Pa
:
number
Readonly
is
Active
is
Active
:
boolean
Readonly
loan
Manager
Address
loan
Manager
Address
:
string
Readonly
max
Loan
Amount
max
Loan
Amount
:
Tokens
Readonly
min
Collateral
Ratio
min
Collateral
Ratio
:
Ratio
Readonly
min
Disbursed
Amount
min
Disbursed
Amount
:
Tokens
Readonly
term
InSecs
term
InSecs
:
number
Accessors
is
Margin
Loan
get
isMarginLoan
(
)
:
boolean
Returns
boolean
margin
Call
Rate
Ratio
get
marginCallRateRatio
(
)
:
Ratio
Returns
Ratio
Methods
calculate
Loan
From
Collateral
calculate
Loan
From
Collateral
(
collateralAmount
:
Wei
, ethFiatRate
:
Tokens
)
:
ILoanValues
Parameters
collateralAmount:
Wei
ethFiatRate:
Tokens
Returns
ILoanValues
calculate
Loan
From
Disbursed
Amount
calculate
Loan
From
Disbursed
Amount
(
disbursedAmount
:
Tokens
, ethFiatRate
:
Tokens
)
:
ILoanValues
Parameters
disbursedAmount:
Tokens
ethFiatRate:
Tokens
Returns
ILoanValues
calculate
Margin
Call
Rate
calculate
Margin
Call
Rate
(
ethFiatRate
:
Tokens
)
:
Tokens
Parameters
ethFiatRate:
Tokens
Returns
Tokens
get
Initial
Collateral
Ratio
get
Initial
Collateral
Ratio
(
)
:
Ratio
Returns
Ratio
Globals
"src/
Abstract
Contract"
"src/
Augmint"
"src/
Augmint
Token"
"src/
Deployed
Contract"
"src/
Deployed
Environment"
"src/
Errors"
"src/
Ethereum
Connection"
"src/
Exchange"
"src/
Loan"
"src/
Loan
Manager"
"src/
Loan
Product"
"src/
Rates"
"src/
Transaction"
"src/constants"
"src/gas"
"src/index"
"src/units"
"src/utils/generic"
"src/utils/index"
"src/utils/logger"
"src/utils/promise
Timeout"
"src/utils/sigint
Handler"
Loan
Product
constructor
adjusted
Min
Disbursed
Amount
collateral
Ratio
defaulting
Fee
Pt
discount
Rate
id
initial
Collateral
Ratio
interest
Rate
Pa
is
Active
loan
Manager
Address
max
Loan
Amount
min
Collateral
Ratio
min
Disbursed
Amount
term
InSecs
is
Margin
Loan
margin
Call
Rate
Ratio
calculate
Loan
From
Collateral
calculate
Loan
From
Disbursed
Amount
calculate
Margin
Call
Rate
get
Initial
Collateral
Ratio
ILoan
Values
ILoan
Product
Tuple
Generated using
TypeDoc