Hooks for working with liquidations on Compound III
useIsLiquidatable
hook checks if an account can be liquidated.
useAbsorb
hook allows liquidators to absorb (liquidate) an underwater account.
useBuyCollateral
hook allows users to buy collateral from the protocol during liquidation.
useGetAskPrice
hook retrieves the ask price for collateral during liquidation.
useGetLiquidatorPoints
hook retrieves the liquidator points for an account.
useGetReserves
hook retrieves the reserves of the protocol.
useGetTargetReserves
hook retrieves the target reserves of the protocol.
useGetCollateralReserves
hook retrieves the collateral reserves of the protocol.