Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • RootBank

Index

Constructors

constructor

Properties

borrowIndex

borrowIndex: I80F48

depositIndex

depositIndex: I80F48

lastUpdated

lastUpdated: BN

maxRate

maxRate: I80F48

nodeBankAccounts

nodeBankAccounts: NodeBank[]

nodeBanks

nodeBanks: PublicKey[]

numNodeBanks

numNodeBanks: number

optimalRate

optimalRate: I80F48

optimalUtil

optimalUtil: I80F48

publicKey

publicKey: PublicKey

Methods

getBorrowRate

getDepositRate

getNativeTotalBorrow

  • getNativeTotalBorrow(): I80F48

getNativeTotalDeposit

  • getNativeTotalDeposit(): I80F48

getUiTotalBorrow

getUiTotalDeposit

loadNodeBanks

  • loadNodeBanks(connection: Connection): Promise<NodeBank[]>

Generated using TypeDoc