Skip to content

An account’s balance of one token in the Collateral Vault, split into the Available balance and the Reserved balance. available + reserved is the total held in the vault for that token. Amounts are in the token’s smallest unit.

Properties

available

available: bigint;

Deposited amount not currently reserved by any contract. This is what a new LOC can draw on and what withdrawals come out of, less the vault’s withdrawal fee (VaultModule.getWithdrawalFeeBasisPoints).


reserved

reserved: bigint;

Amount held under active reservations, such as the collateral behind open LOCs. It cannot be withdrawn or used for a new LOC until the reserving contract releases or claims it.