# Overview

<figure><img src="https://3435835300-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbAo7SD4Cr1b0RHi2MKB5%2Fuploads%2Fpz3GWQ8xNPDnCAHerXnt%2Fskaina-overview.png?alt=media&#x26;token=f374f454-de84-46a7-8acf-e126f45e398d" alt=""><figcaption></figcaption></figure>

Skaina is built on a set of core modules that work together to deliver permissionless cross-chain lending and borrowing on Moonbeam.

* **Main Interface:** Skaina is accessible through its unified interface on Moonbeam, where users can supply and borrow assets, swap collateral, and manage their portfolios in one place.
* **Collateral Supply Module** Users can deposit assets as collateral from multiple chains via LayerZero interoperability, allowing liquidity to flow seamlessly into Skaina without manual bridging.
* **Borrowing and Repayment Module:** Users can borrow supported assets and repay across chains.\
  Interest rates adjust dynamically based on utilization and asset risk profiles, ensuring efficient capital markets across the Skaina ecosystem.
* **Collateral Swap Module:** Skaina provides native in-protocol collateral swap functionality, giving users the flexibility to manage risk, optimize collateral composition, and reduce liquidation probability all without leaving the platform.
* **Liquidation Module:** This module maintains protocol stability by liquidating undercollateralized positions. Liquidators are incentivized to keep all markets solvent and balanced, ensuring long-term security for lenders.
* **Oracle and Risk Management:** Skaina uses **API3 decentralized oracles** for real-time price data and dynamic risk modeling. These feeds ensure accurate collateral valuation, fair interest rate adjustments, and efficient liquidation processes across chains.

## Buyback (Coming Soon)

<figure><img src="https://3435835300-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbAo7SD4Cr1b0RHi2MKB5%2Fuploads%2FcGsOrlz4JWZdMtui8mqI%2Fskaina-buyback.png?alt=media&#x26;token=205ce8d5-5f74-4b3e-8b2c-7325fc301623" alt=""><figcaption></figcaption></figure>

Fees collected in Skaina tokens are stored in the Assistance Fund. 95% of these fee tokens are automatically swapped into GLMR (Moonbeam) to support Moonbeam price stability and ecosystem growth.

## ERC-4626 Vault

<figure><img src="https://3435835300-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbAo7SD4Cr1b0RHi2MKB5%2Fuploads%2F7Jte8M93HPwkVpLLOulA%2Fskaina-vault.png?alt=media&#x26;token=cd01cd58-b602-4edb-a9f9-914c00bf71c5" alt=""><figcaption></figcaption></figure>

**Convert Representative Token:**

1. User sends the representative token to the ERC-4626 vault.
2. The vault swaps the representative token into the real token.
3. User receives the real token.

**Supply Liquidity to ERC-4626 Vault:**

1. User supplies liquidity to the ERC-4626 vault.
2. User receives rewards from the vault.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://skaina.gitbook.io/skaina-docs/documentation/how-skaina-works/overview.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
