> For the complete documentation index, see [llms.txt](https://docs.asterdexcorp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.asterdexcorp.com/earn/overview/aster-alp/alp-fees.md). Agents can also search and read this documentation through its [MCP server](https://docs.asterdexcorp.com/~gitbook/mcp).

# ALP Fees

### **Mint and Burn Fees**

To encourage a balanced pool composition, mint and burn fees adjust dynamically based on how far each asset's current weight deviates from its target weight. Depositing an underweight asset lowers your fee; depositing an overweight asset raises it.

#### Fee Parameters (USDT current values)

| Parameter          | Description                                       | Current Value |
| ------------------ | ------------------------------------------------- | ------------- |
| **FeeBasisPoints** | Base fee rate                                     | 0.25%         |
| **TaxBasisPoints** | Adjustment rate applied based on weight deviation | 0.05%         |

### **Mint Fee Calculation**

1. **Current asset value:** `InitialValue = AssetValueInPool + AssetUnrealizedPnL`
2. **Asset value after minting:** `AfterMintValue = InitialValue + MintValue`
3. **Target asset value:** `TargetValue = (TotalPoolValue + TotalUnrealizedPnL) × TargetWeight`
4. **Weight deviation before minting:** `InitialDiff = InitialValue − TargetValue`
5. **Weight deviation after minting:** `AfterDiff = AfterMintValue − TargetValue`

| Condition                                                           | Formula                                                                                                     |
| ------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| `AfterDiff < InitialDiff` (minting moves asset closer to target)    | `MintFee = Max(FeeBasisPoints − TaxBasisPoints × InitialDiff / TargetValue, 0)`                             |
| `AfterDiff ≥ InitialDiff` (minting moves asset further from target) | `MintFee = FeeBasisPoints + TaxBasisPoints × Min((InitialDiff + AfterDiff) / 2, TargetValue) / TargetValue` |

### **Burn Fee Calculation**

1. **Current asset value:** `InitialValue = AssetValueInPool + AssetUnrealizedPnL`
2. **Asset value after burning:** `AfterBurnValue = InitialValue − BurnValue`
3. **Target asset value:** `TargetValue = TotalPoolValue × TargetWeight`
4. **Weight deviation before burning:** `InitialDiff = InitialValue − TargetValue`
5. **Weight deviation after burning:** `AfterDiff = AfterBurnValue − TargetValue`

| Condition                                                           | Formula                                                                                                     |
| ------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| `AfterDiff < InitialDiff` (burning moves asset closer to target)    | `BurnFee = Max(FeeBasisPoints − TaxBasisPoints × InitialDiff / TargetValue, 0)`                             |
| `AfterDiff ≥ InitialDiff` (burning moves asset further from target) | `BurnFee = FeeBasisPoints + TaxBasisPoints × Min((InitialDiff + AfterDiff) / 2, TargetValue) / TargetValue` |

#### **Example**

Pool value: $10,000,000 | Unrealised PnL: +$10,000 | BTC in pool: $1,000

BTC target weight: 2% | Current weight: 0.01% | FeeBasisPoints: 0.25% | TaxBasisPoints: 0.45%

Since BTC is significantly underweight, minting ALP with 1 BTC incurs a **0% fee**. Burning ALP to receive 1 BTC (removing an already scarce asset) incurs a **0.7% fee** (0.007 BTC).

You can view the current pool composition, asset quantities, values, and target vs. current weights directly on the ALP page. After selecting an asset and quantity, the interface will display the exact fee before you confirm the transaction.

<figure><img src="https://4068247257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWhSHuKmgnGREbVb12PK2%2Fuploads%2FVVnuNsPUi14hf3Yk4hsx%2F%E6%88%AA%E5%B1%8F2024-12-31%2013.56.17.png?alt=media&amp;token=f45faaaf-582f-4430-9991-387a6313d16e" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.asterdexcorp.com/earn/overview/aster-alp/alp-fees.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
