Rebalancing strategies

This page describes how you can manually rebalance the strategies incase their health factor goes down.

Also, you can check out the Status Risk-engine/Pricer service: status.troves.fi

How to manually check health factors:

Open below links, scroll down to see health_factors and click query:

Steps to query:

  1. On the contract page, scroll down to the "Contract Data" section.

  2. Click on "Read Contract"

  3. Go to health_factors and click on it.

  4. Select "Decimal" for response format.

  5. Finally, click on "Query," and you will see two numbers as output, as shown in the picture below:

image from voyager

Interpreting Health Factors:

Here, the first number is the health factor of zkLend. Second is Nostra's.

About Health factors:

  1. All > 12000 -> Safe

  2. At least one between 11500 - 12000 -> Warning

  3. At least one below 11500 -> Danger

How to manually rebalance?

Open the "Write Contract" tab and go to rebalance function. Also, make sure you connect your wallet!

It takes two parameters:

  1. shouldRepay: Write "1" if zkLend health factor is low or "0" if Nostra health factor is low (i.e. < 13000). You get this number by querying the health_factors as mentioned above.

  2. amount: You get this number via trial and error. Can start with 1 ETH (i.e. 1000000000000000000). Use this tool: https://eth-converter.com. Try submitting the transaction by clicking on "Transact" button and your wallet extension will throw an error if its an incorrect value. Depending on the error, you should choose one of the two options:

    1. If shouldRepay is 1: Increase the value (eg. 1.1 -- 1.2 ETH or more) if the error is zkLend low health. Decrease the amount if Nostra is low health.

    2. If shouldRepay is 0: Decrease the amount if the error is saying Nostra low health (eg, 0.5-0.7 ETH). Increase the amount if zkLend has low health.

Last updated

Was this helpful?