# Developers

The [rebalancing](/fx-docs/~/revisions/Wpl1julkDf1PvNqWY78W/f-x-protocol-mechanisms/rebalancing-the-position-liquidation-brake.md) and [liquidation](/fx-docs/~/revisions/Wpl1julkDf1PvNqWY78W/f-x-protocol-mechanisms/rebalancing-the-position-liquidation-brake/liquidation-process.md) operation offer discounted collateral opportunities to keepers.\
\
Rebalancing operations are more frequent than liquidations. They occur when leveragers reach 88% LTV to prevent them from being liquidated, while liquidation happens when/if they reach 95% LTV. \
\
The rebalancing process is done simultaneously for all leverage positions above 88% sitting in the same rebalancing price tick. Price ticks can be rebalanced individually or in batches of all eligible ticks.

The liquidation process works similarly with different LTV thresholds and rebalances all the remaining debt at once.\
\
A price tick is 0,15% wide.<br>

### Parameter wstETH Pool

0x6ecfa38fee8a5277b91efda204c235814f0122e8

### Parameter WBTC Pool

0xAB709e26Fa6B0A30c119D8c55B887DeD24952473

### Stability Pool contract

If the stability pool capital is above $10k (very likely), you must call the stability pool contract to rebalance or liquidate.

* rebalance  <https://etherscan.io/address/0x65C9A641afCEB9C0E6034e558A319488FA0FA3be#writeProxyContract#F9>
* liquidate  <https://etherscan.io/address/0x65C9A641afCEB9C0E6034e558A319488FA0FA3be#writeProxyContract#F6>

Specify a tick or a position to process an individual operation or leave it blank to process a batched operation.

### PoolManager contract

If the stability pool has less than $10k TVL (unlikely, but it could happen in critical conditions), you must call the PoolManager contract.&#x20;

* rebalance <https://etherscan.io/address/0x250893CA4Ba5d05626C785e8da758026928FCD24#writeProxyContract#F8>
* liquidate  <https://etherscan.io/address/0x250893CA4Ba5d05626C785e8da758026928FCD24#writeProxyContract#F6>

Specify a tick or a position to process an individual operation or leave it blank to process a batched operation.

If any questions, please join the [Aladdin DAO Discord](https://discord.gg/B8YKpXkU64)


---

# 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://fxprotocol.gitbook.io/fx-docs/~/revisions/Wpl1julkDf1PvNqWY78W/f-x-protocol-mechanisms/rebalancing-the-position-liquidation-brake/developers.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.
