# Deposits & Withdrawals

## Deposit Rewards

In order to increase your in-game purchasing power, you can buy $AIP tokens on Aerodrome (Base L2) and top-up your PettBro's inventory. To do that, you'll need to transfer the tokens to the Telegram's hosted wallet or connected wallet (for more details revert [here](https://docs.pett.ai/overview/in-app-wallet)) and only then deposit on Pett.ai.

Notwhistanding, depositing $AIP in-game awards your companion with some extra experience points! The amount of XP earned increases with the amount of $AIP deposited, but this relationship follows a square root function, meaning the rewards grow at a decreasing rate as the deposit amount increases.

$$
\text{XP } (\text{$AIP})= \sqrt{15.59\times\text{$AIP}\_{deposited}}
$$

For example, depositing 100 units of $AIP would yield approximately 39.47 XP, increasing your companion's level.

{% hint style="danger" %}
The team has employed some safety measures to avoid looped deposits. Any attempts to exploit loopholes or manipulate this mechanism will result in a loss of XP.
{% endhint %}

## AIP Withdrawals&#x20;

<details>

<summary>Step-by-Step Guide to Withdrawing $AIP</summary>

1\. Connect Your Wallet:

&#x20;  \- Navigate to the wallet section in Pett.ai.

&#x20;  \- Click "Connect Wallet" and select your wallet provider (e.g., MetaMask).

&#x20;  \- Follow the prompts to complete the connection.

2\. Navigate to the Withdrawal Section:

&#x20;  \- Once your wallet is connected, go to the withdrawal section within the game.

3\. Enter Withdrawal Details:

&#x20;  \- Enter the amount of $AIP you wish to withdraw.&#x20;

4\. Confirm the Transaction:

&#x20;  \- Double-check all details to ensure accuracy.

&#x20;  \- Confirm the transaction. Remember, withdrawals cannot be canceled once initiated.

5\. Consider Withdrawal Slashing:

&#x20;  \- Be aware that in-game earned $AIP tokens are subject to a withdrawal slash function. The slash rate decreases based on your PettBro's level and the time elapsed since initiating a withdrawal. Higher levels and longer holding periods result in lower slash rates.

6\. Jump Queue Option:

&#x20;  \- If you want to expedite your withdrawal, you can choose the "Jump Queue" option. This feature allows you to prioritize your transaction for a faster processing time. Be aware that this may incur additional fees.

7\. Check Gas Fees:

&#x20;  \- Ensure you have sufficient ETH for gas fees, which are minimal on the Base network. Check the estimated fee when initiating a withdrawal.

8\. Complete the Withdrawal:

&#x20;  \- Once confirmed, the $AIP tokens will be transferred to your connected wallet.

</details>

#### Withdrawal Handling Rules

* **Dead pets with available withdrawals**
  * If a pet dies while having **available withdrawals**, those withdrawals are **cleared daily**.
  * You have until **12:00 AM (same day)** to **revive the pet**.
  * If the pet is not revived by this time, the available withdrawals are **deleted**.
* **Refund of long-pending available withdrawals**
  * Any withdrawal that remains **available (unqueued)** for **15 consecutive days** is **automatically refunded**.
  * Once refunded, the withdrawal is **invalidated**, and the withdrawal process must be **started again**.

#### Withdrawal Constraints

**Eligibility**

* A pet **must be at least level 20** to request a withdrawal.
* Pets below level 20 **cannot initiate withdrawals** under any circumstance.

**Withdrawal Limits per Level**

The **maximum amount of $AIP per withdrawal transaction** is determined by the pet’s level:

* **Level 20** → up to **15,000 $AIP**
* **Level 35** → up to **30,000 $AIP**
* **Level 50** → up to **50,000 $AIP**
* **Level 75** → up to **75,000 $AIP**

> Limits apply **per transaction**, not per day or per account.

**Active Withdrawal Cap**

* Each pet can have **a maximum of 5 active withdrawals** at any given time.
* Once the limit is reached, **no additional withdrawal requests** can be created until one is completed, refunded, or deleted.

### Jump Queue

The **Jump Queue** system allows players to speed up their withdrawals by spending a **percentage of their $AIP amount** to skip a **percentage of the queue** ahead of them. Instead of waiting in line, players can choose to move up faster, ensuring quicker access to their funds while keeping the system fair and balanced.

{% hint style="info" %}
The **Jump Queue** feature has been introduced on February 25, 2025.
{% endhint %}

> [Dive deeper into the Jump Queue Section.](/tokenomics/deposits-and-withdrawals/jump-queue.md)

### **Slashing Function**

***

The Withdrawal Slash Function is designed to balance fairness & incentives taking two factors into consideration, elapsed time since initiating the withdrawal and the PettBro's level. The slash is only applied to tokens earned in-game. All $AIP tokens bought and deposited are exempt from any type of slash and can be withdrawn anytime.

{% hint style="info" %}
Withdrawals for $AIP tokens are enabled for all players level 15 or above.
{% endhint %}

The slash function is given by the following equation:

$$
f(d,l) = \left( \frac{700 - l^{1.1}}{\sqrt{\frac{d^3}{155.9} + 155.9}} \right) {d > 0}
$$

The 2D-algebraic function heavily scales down incurred tax for higher level users further decaying as time goes by.

<figure><img src="/files/fP7bI1G9Ogxul5jlm7Ql" alt="" width="563"><figcaption></figcaption></figure>

{% hint style="success" %}
All ETH deposited in-game can be withdrawn anytime without incurring any slash.
{% endhint %}

### Slash Distribution

***

In order to foster a dynamic economy, the slashed tokens will follow a 50:50 distribution, with half of them being burned and the rest being returned to the PettBro on the leaderboard. The burn events will be tracked on-chain.&#x20;

$$
\begin{align\*} \text{$AIP}&= \begin{cases} 50% \text{ : burned }\ 50% \text{ : leaderboard distribution } \end{cases} \end{align\*}
$$

Please revert to [Leaderboard](/overview/leaderboard.md) to find out more about the leaderboard distribution system.&#x20;


---

# 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://docs.pett.ai/tokenomics/deposits-and-withdrawals.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.
