Open app
Mock-asset beta
Documentation/Use Vanta

Enter deliberately. Exit in kind.

Supply the current reserve ratio, receive LP tokens, and redeem the assets your position actually owns.

Supplying liquidity

Choose an existing active pool. The Supply form starts with the selected stock-token amount and also supports entering a USDG amount or LP units. It converts that entry into an exact LP output and calculates both asset requirements at the current reserve ratio. Both tokens are required; selecting one as the input unit does not create a single-asset deposit.

  1. Read the latest reserves, total LP supply, expiry, and trading status.
  2. Calculate required stock and USDG inputs for the requested LP amount.
  3. Approve the pool to spend each required underlying asset.
  4. Review maximum inputs, recipient, and deadline; then submit the liquidity transaction.
  5. Use the mined receipt and refreshed LP balance to confirm ownership.

Proportional minting

text
R = accounted raw stock reserves
Y = accounted USDG reserves
L = total LP liquidity
ΔL = requested new liquidity

rawIn = ceil(R × ΔL / L)
usdIn = ceil(Y × ΔL / L)
LP minted = ΔL

Inputs round upward so existing LPs do not subsidize a new position through integer rounding. The operation checks your maximum inputs and transfers only the required amounts. It does not treat the unspent portion of an approved allowance as a fee.

An allowance is a spending ceiling, not a deposit. After a successful operation, any remaining allowance remains visible in the token contract until it is consumed or changed. Never infer a position from an approval receipt alone.

Withdrawing liquidity

Select the LP amount to burn or use an exact 25%, 50%, 75%, or 100% preset. Percentage calculations use the actual integer LP balance, so 100% selects the whole redeemable wallet balance. The preview shows both assets and constrains their minimum outputs. On success the pool reduces reserves and LP supply atomically and sends both underlying tokens to the recipient.

text
rawOut = floor(R × lpBurn / L)
usdOut = floor(Y × lpBurn / L)

A withdrawal rounds each output down at the token boundary. Tiny LP balances can produce a zero amount of one output token. Review both minimums and choose a meaningful size. The permanently locked initial LP amount is not user-redeemable.

Exits during interruptions

Proportional withdrawals remain available after the trading cutoff, at expiry, and when new risk is paused or market data becomes stale. They use actual reserves rather than an oracle settlement price. A broken underlying token or chain outage can still prevent transfers or transaction inclusion.

If a transaction is rejected

CauseWhat to do
Insufficient balance or allowanceRefresh balances and complete the required token approval.
Input maximum exceededRefresh the reserve ratio and review new maximum amounts.
Minimum output not metRefresh the withdrawal preview and review both outputs.
Expired deadlineCreate a fresh transaction with a new deadline.
Risk paused or cutoff reachedNew supply is unavailable; inspect an in-kind withdrawal instead.
Wallet rejected the requestNo action was authorized. Retry only when ready to sign.
VANTA DOCUMENTATIONMock-asset beta · September 2026