Skip to main content

What this is

This page is the fastest way to understand lending in Varla. You supply the chain’s collateral token into an ERC4626 pool. Borrowers pay interest, and the pool’s share price increases.
Polygon (Polymarket): USDC
BSC (Opinion): USDT

How it works

1

Connect your wallet

Connect a wallet holding the chain’s collateral token (USDC/USDT).
2

Approve the pool (one-time)

Approve the pool to transfer your tokens for deposit.
3

Deposit

Deposit assets into the pool and receive ERC4626 shares.
4

Earn yield

Borrowers pay interest. After the reserve fee, the remaining interest accrues to lenders via a rising share price.
5

Withdraw (when liquidity is available)

You can withdraw at any time, but only up to current available liquidity.

Rules that matter

Withdrawals are liquidity-limited

Even if your shares are worth a given amount, you can only withdraw what’s currently available. For UI, prefer maxWithdraw(owner) / maxRedeem(owner) (or SDK views.readLenderSnapshot) as “withdrawable”.

Pool caps can apply

The pool can be configured with depositCap (TVL limit) and borrowCap (total borrows limit). A value of 0 means uncapped.

Practical tips

  • At high utilization, expect withdrawals to be constrained.
  • Display both:
    • “Your value” (ERC4626 convertToAssets(shares))
    • “Available to withdraw now” (maxWithdraw)