# Developers

The [rebalancing](https://fxprotocol.gitbook.io/fx-docs/~/revisions/Wpl1julkDf1PvNqWY78W/f-x-protocol-mechanisms/rebalancing-the-position-liquidation-brake) and [liquidation](https://fxprotocol.gitbook.io/fx-docs/~/revisions/Wpl1julkDf1PvNqWY78W/f-x-protocol-mechanisms/rebalancing-the-position-liquidation-brake/liquidation-process) 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.\\

### 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)
