@folks-finance/algorand-sdk
Function calcAvailableLiquidity
calcAvailableLiquidity
(
totalDebt
:
bigint
,
totalDeposits
:
bigint
)
:
bigint
Calculates the total debt of a pool
Parameters
totalDebt
:
bigint
(0dp)
totalDeposits
:
bigint
(0dp)
Returns
bigint
availableLiquidity (0dp)
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
@folks-finance/algorand-sdk
Calculates the total debt of a pool