# Rebalance

A Rebalancer is a smart contract module designed to adjust the composition of the ALP Vault in response to the dynamic environment of the Arbitrum ecosystem. Given the rapid changes in this ecosystem, the assets within the ALP need to be adjusted frequently.

The operation of a rebalancer contract is straightforward. It receives funds from the vault, performs a specific operation with these funds, and sends back a different asset to the vault to complete the rebalance. Once its task is accomplished, the rebalancer contract deactivates itself, ensuring it only operates when necessary.

The addition of a rebalancer to the vault is a process governed by the multisig, requiring its approval before implementation. To ensure transparency and security, a 24-hour cooldown period is observed once the rebalancer is approved. During this period, everyone has the opportunity to review the code of the rebalancer as to whether it follows the specifications laid out above. This process is repeated for each required rebalance, with the code potentially varying according to different situations. As such, due to its temporary and changing nature, a rebalancer is not included in the audit scope.

An illustrative example of a rebalancer's operation would be as follows: it receives ETH from the vault via its fallback function, deposits this into the WETH contract, and immediately sends WETH back to 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://docs.arbitrove.finance/technical-documentation/rebalance.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.
