interbtc-api

@interlay/interbtc-api / Exports / LendingStats

Interface: LendingStats

Table of contents

Properties

Properties

borrowLimitBtc

borrowLimitBtc: MonetaryAmount<Currency>

Defined in

src/types/loans.ts:24


calculateBorrowLimitBtcChange

calculateBorrowLimitBtcChange: (action: LoanAction, amount: MonetaryAmount<CurrencyExt>) => MonetaryAmount<Currency>

Type declaration

▸ (action, amount): MonetaryAmount<Currency>

Parameters
Name Type
action LoanAction
amount MonetaryAmount<CurrencyExt>
Returns

MonetaryAmount<Currency>

Defined in

src/types/loans.ts:28


calculateLtvAndThresholdsChange

calculateLtvAndThresholdsChange: (action: LoanAction, amount: MonetaryAmount<CurrencyExt>) => { collateralThresholdWeightedAverage: Big ; liquidationThresholdWeightedAverage: Big ; ltv: Big }

Type declaration

▸ (action, amount): Object

Parameters
Name Type
action LoanAction
amount MonetaryAmount<CurrencyExt>
Returns

Object

Name Type
collateralThresholdWeightedAverage Big
liquidationThresholdWeightedAverage Big
ltv Big

Defined in

src/types/loans.ts:29


collateralThresholdWeightedAverage

collateralThresholdWeightedAverage: Big

Defined in

src/types/loans.ts:26


liquidationThresholdWeightedAverage

liquidationThresholdWeightedAverage: Big

Defined in

src/types/loans.ts:27


ltv

ltv: Big

Defined in

src/types/loans.ts:25


totalBorrowedBtc

totalBorrowedBtc: MonetaryAmount<Currency>

Defined in

src/types/loans.ts:22


totalCollateralBtc

totalCollateralBtc: MonetaryAmount<Currency>

Defined in

src/types/loans.ts:23


totalLentBtc

totalLentBtc: MonetaryAmount<Currency>

Defined in

src/types/loans.ts:21