Search
Preparing search index...
The search index is not available
@augmint/js
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
"src/LoanManager"
LoanManager
Class LoanManager
Augmint LoanManager contract class
Hierarchy
AbstractContract
LoanManager
Index
Constructors
constructor
Properties
augmint
Token
Address
instance
Accessors
address
token
Address
Loan
Loan
Product
Methods
add
Extra
Collateral
collect
Loans
get
Active
Products
get
All
Loans
get
All
Products
get
Loan
Count
get
Loans
For
Account
new
Eth
Backed
Loan
repay
Loan
Constructors
constructor
new
Loan
Manager
(
deployedContractInstance
:
LoanManagerInstance
, ethereumConnection
:
EthereumConnection
)
:
LoanManager
Parameters
deployedContractInstance:
LoanManagerInstance
ethereumConnection:
EthereumConnection
Returns
LoanManager
Properties
augmint
Token
Address
augmint
Token
Address
:
Promise
<
string
>
instance
instance
:
LoanManagerInstance
Accessors
address
get
address
(
)
:
string
Returns
string
token
Address
get
tokenAddress
(
)
:
Promise
<
string
>
Returns
Promise
<
string
>
Static
Loan
get
Loan
(
)
:
typeof
Loan
Returns
typeof
Loan
Static
Loan
Product
get
LoanProduct
(
)
:
typeof
LoanProduct
Returns
typeof
LoanProduct
Methods
add
Extra
Collateral
add
Extra
Collateral
(
loan
:
Loan
, weiAmount
:
Wei
, userAccount
:
string
)
:
Transaction
Parameters
loan:
Loan
weiAmount:
Wei
userAccount:
string
Returns
Transaction
collect
Loans
collect
Loans
(
loansToCollect
:
Loan
[]
, userAccount
:
string
)
:
Transaction
Parameters
loansToCollect:
Loan
[]
userAccount:
string
Returns
Transaction
get
Active
Products
get
Active
Products
(
)
:
Promise
<
LoanProduct
[]
>
Returns
Promise
<
LoanProduct
[]
>
get
All
Loans
get
All
Loans
(
)
:
Promise
<
Loan
[]
>
Returns
Promise
<
Loan
[]
>
get
All
Products
get
All
Products
(
)
:
Promise
<
LoanProduct
[]
>
Returns
Promise
<
LoanProduct
[]
>
get
Loan
Count
get
Loan
Count
(
)
:
Promise
<
number
>
Returns
Promise
<
number
>
get
Loans
For
Account
get
Loans
For
Account
(
userAccount
:
string
)
:
Promise
<
Loan
[]
>
Parameters
userAccount:
string
Returns
Promise
<
Loan
[]
>
new
Eth
Backed
Loan
new
Eth
Backed
Loan
(
product
:
LoanProduct
, weiAmount
:
Wei
, userAccount
:
string
, minRate
?:
Tokens
)
:
Promise
<
Transaction
>
Parameters
product:
LoanProduct
weiAmount:
Wei
userAccount:
string
Optional
minRate:
Tokens
Returns
Promise
<
Transaction
>
repay
Loan
repay
Loan
(
loan
:
Loan
, repaymentAmount
:
Tokens
, userAccount
:
string
, augmintToken
:
AugmintToken
)
:
Transaction
Parameters
loan:
Loan
repaymentAmount:
Tokens
userAccount:
string
augmintToken:
AugmintToken
Returns
Transaction
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
Manager
constructor
augmint
Token
Address
instance
address
token
Address
Loan
Loan
Product
add
Extra
Collateral
collect
Loans
get
Active
Products
get
All
Loans
get
All
Products
get
Loan
Count
get
Loans
For
Account
new
Eth
Backed
Loan
repay
Loan
Generated using
TypeDoc
Augmint LoanManager contract class