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