Skip to main content
Lending activity is tracked in one account. The account can hold several supplied assets and several borrowed assets at the same time. The protocol checks the whole account before actions that can increase risk.

One account, many assets

When you supply for the first time, the protocol opens a lending account for your wallet. You do not receive separate supply or debt tokens. Balances live in the account and move as pool indexes accrue interest. Your account is an NFT. Opening one mints a position token to your wallet, and whoever holds that token is the account owner. Transferring it transfers the entire position — collateral and debt together, in one step. Treat it like the position itself, not like a receipt. Anyone can repay your debt, and anyone can top up an asset you already supply. Only the owner or an authorized delegate can borrow, withdraw, open new supply positions, or manage the account.

Spokes

Every account is bound to one spoke. A spoke defines which hub assets can be used and with what risk parameters. For each supported asset, the spoke controls:
  • whether the asset can count as collateral;
  • whether it can be borrowed;
  • supply and borrow caps;
  • loan-to-value;
  • liquidation threshold;
  • liquidation bonus and fee;
  • whether the asset is paused (nothing moves), frozen (you can still exit, not enter), or excluded from liquidation seizure.
Prices come from the protocol price aggregator, not from the spoke. See oracles. There is no category-boost mode in the current account model.

How risk is checked

Two checks protect the pool: Borrowing and indebted withdrawals must keep the account inside both limits. Every action that depends on prices needs a complete, trusted price for every asset on your account. If a feed is stale or two sources disagree, the action reverts rather than proceeding on a doubtful number — so an oracle outage can temporarily block borrowing on an affected market. See risk parameters and health factor for details.

Minimum collateral while borrowing

While an account carries debt, collateral must stay above a small USD floor (currently about $5). This keeps tiny positions from creating outsized accounting and liquidation risk — a position too small to liquidate profitably is a cost the pool ends up carrying.
Developer details for account storage, spoke binding, and risk gates are in accounts and risk.