> For the complete documentation index, see [llms.txt](https://aegisweb3.gitbook.io/aegis-antirug-doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aegisweb3.gitbook.io/aegis-antirug-doc/system-introduction/usage-fees.md).

# Usage Fees

### Fee Structure

ANTI-RUGPULL will only charge after the whole task is completed. There are no charges during the task creation and task running stages. Fees are only generated when a user-created ANTI-RUGPULL task is triggered. After a task successfully confirms on the blockchain and the execution result is "Success," the smart contract automatically deducts 2% of the user's acquired assets as the usage fee. In other words, if the task execution result is "Failure," no usage fee will be charged.

### Example Illustration

User A creates a task with the trading pair CAKE/USDC. When the task is successfully triggered, the smart contract helps users acquire 100 USDC through automatic trades. In this case, the smart contract deducts 2% of 100 USDC, which equals 2 USDC, as the usage fee. Therefore, the user receives 98 USDC after the deduction (100 USDC - 2 USDC).

Similarly, if the task fails to confirm on-chain due to various reasons, no usage fee will be charged.

<br>


---

# 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 dynamically by asking a question.

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

```
GET https://aegisweb3.gitbook.io/aegis-antirug-doc/system-introduction/usage-fees.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
