Withdraw Collateral
Withdraw Collateral

Compound · Acts onchain

Withdraws collateral from a Compound market back to the socket. Comet returns the collateral as long as the position stays collateralized afterward under the borrow collateral factors. Set the amount to max to withdraw the full collateral balance. Reach for it to free collateral after a repay earlier in the transaction, or to move margin between markets, holding isCollateralized true with a predicate on the position read.

On other protocols · 2