Search
Preparing search index...
The search index is not available
@blockworks-foundation/mango-client
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@blockworks-foundation/mango-client
RootBank
Class RootBank
Hierarchy
RootBank
Index
Constructors
constructor
Properties
borrow
Index
deposit
Index
last
Updated
max
Rate
node
Bank
Accounts
node
Banks
num
Node
Banks
optimal
Rate
optimal
Util
public
Key
Methods
get
Borrow
Rate
get
Deposit
Rate
get
Native
Total
Borrow
get
Native
Total
Deposit
get
Ui
Total
Borrow
get
Ui
Total
Deposit
load
Node
Banks
Constructors
constructor
new
Root
Bank
(
publicKey
:
PublicKey
, decoded
:
any
)
:
RootBank
Parameters
publicKey:
PublicKey
decoded:
any
Returns
RootBank
Properties
borrow
Index
borrow
Index
:
I80F48
deposit
Index
deposit
Index
:
I80F48
last
Updated
last
Updated
:
BN
max
Rate
max
Rate
:
I80F48
node
Bank
Accounts
node
Bank
Accounts
:
NodeBank
[]
node
Banks
node
Banks
:
PublicKey
[]
num
Node
Banks
num
Node
Banks
:
number
optimal
Rate
optimal
Rate
:
I80F48
optimal
Util
optimal
Util
:
I80F48
public
Key
public
Key
:
PublicKey
Methods
get
Borrow
Rate
get
Borrow
Rate
(
mangoGroup
:
MangoGroup
)
:
I80F48
Parameters
mangoGroup:
MangoGroup
Returns
I80F48
get
Deposit
Rate
get
Deposit
Rate
(
mangoGroup
:
MangoGroup
)
:
I80F48
Parameters
mangoGroup:
MangoGroup
Returns
I80F48
get
Native
Total
Borrow
get
Native
Total
Borrow
(
)
:
I80F48
Returns
I80F48
get
Native
Total
Deposit
get
Native
Total
Deposit
(
)
:
I80F48
Returns
I80F48
get
Ui
Total
Borrow
get
Ui
Total
Borrow
(
mangoGroup
:
MangoGroup
)
:
I80F48
Parameters
mangoGroup:
MangoGroup
Returns
I80F48
get
Ui
Total
Deposit
get
Ui
Total
Deposit
(
mangoGroup
:
MangoGroup
)
:
I80F48
Parameters
mangoGroup:
MangoGroup
Returns
I80F48
load
Node
Banks
load
Node
Banks
(
connection
:
Connection
)
:
Promise
<
NodeBank
[]
>
Parameters
connection:
Connection
Returns
Promise
<
NodeBank
[]
>
Exports
Internals
Externals
BN
Root
Bank
constructor
borrow
Index
deposit
Index
last
Updated
max
Rate
node
Bank
Accounts
node
Banks
num
Node
Banks
optimal
Rate
optimal
Util
public
Key
get
Borrow
Rate
get
Deposit
Rate
get
Native
Total
Borrow
get
Native
Total
Deposit
get
Ui
Total
Borrow
get
Ui
Total
Deposit
load
Node
Banks
Generated using
TypeDoc