All articles
Lending

Lending and borrowing onchain: how an isolated vault works

What happens when you supply, borrow, repay and get liquidated in a single-asset lending vault on Base, explained step by step.

One vault, one asset

An isolated lending vault is a lending market that holds a single ERC-20 token. Suppliers deposit that token, borrowers take the same token against their own supplied position, and every number that matters—total supply, total debt, utilization and available liquidity—belongs to that vault alone. A problem in one market cannot drain another, because there is no shared cross-collateral pool.

Supplying and receiving a receipt

When you supply, the vault records your position and issues a Cantor Vault Token (CVT) as a receipt. CVT cannot be transferred freely between wallets: it stays attached to the position it represents, which keeps borrowers from moving their receipt away to escape liquidation. Withdrawing burns the receipt and returns the underlying token, as long as the vault holds enough idle liquidity.

Borrowing limits and liquidation

Borrowing is capped by a maximum borrow ratio, for example 70% of what you supplied. Interest accrues on the debt over time, so a position slowly moves toward the liquidation threshold, for example 80%. Past that line, anyone can repay part of the debt and receive the matching collateral plus a liquidation bonus. Repaying stays possible even when the vault is paused, so borrowers are never forced into liquidation by an emergency stop.

Why isolation is not the same as safety

Isolation makes risk easier to read, not disappear. Smart-contract defects, token behavior, governance permissions and a lack of liquidity at withdrawal time still matter. Before using any lending market, check the vault address, its parameters, who can change them and whether the deployment is a testnet preview or a production market.

CantorFi currently runs as a Base Sepolia developer preview. Rates, balances and fees shown on testnet have no economic value and are never a promised return.

Languages