Hooks for managing collateral and borrowing on Compound III
useSupply
hook allows users to supply base tokens to the Compound III protocol.
useWithdraw
hook allows users to withdraw base tokens from the Compound III protocol.
useCollateralBalance
hook retrieves the collateral balance of an account for a specific asset.
useIsBorrowCollateralized
hook checks if an account has enough collateral for borrowing.
useBaseBorrowMin
hook retrieves the minimum borrow amount for the base asset.