Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • TokenPosition

Index

Constructors

  • new TokenPosition(indexedPosition: I80F48, tokenIndex: TokenIndex, inUseCount: number, previousIndex: I80F48, cumulativeDepositInterest: number, cumulativeBorrowInterest: number): TokenPosition

Properties

cumulativeBorrowInterest: number
cumulativeDepositInterest: number
inUseCount: number
indexedPosition: I80F48
previousIndex: I80F48
tokenIndex: TokenIndex
TokenIndexUnset: number = 65535

Methods

  • balanceUi(bank: Bank): number
  • borrowsUi(bank: Bank): number
  • depositsUi(bank: Bank): number
  • isActive(): boolean
  • toString(group?: Group, index?: number): string

Generated using TypeDoc