Pool
Last updated
Last updated
Function | Description |
---|---|
DebtOf
Returns an account's outstanding position in USD by querying the latest prices from oracles.
DebtPositionOf
Provides information about an account's outstanding position, including its health, total collateral, total amount outstanding, max amount of issuable debt, and available debt.
DepositOf
Retrieves an account's total collateral deposited in USD and the max value that can be used to issue synthetic tokens.
QuoteLiquidateIn/QuoteLiquidateOut
Helps determine the required amounts for liquidation, including repayable debt, seized collateral, and fees.
QuoteSwapIn/QuoteSwapOut
Calculates the required input and output amounts for token swaps, taking into account fees.
Leverage
Enables users to loop their yield position by depositing collateral, minting synthetic tokens, and using those tokens to purchase more collateral.
Liquidate
Facilitates the liquidation of unhealthy positions, burning synthetic tokens to unlock collateral and provide incentives for liquidators.
Swap
Enables users to swap synthetic tokens.