Automating Rebalance
Last updated
Last updated
An automation provider (eg Gelato Functions) can be used to trigger rebalance on your behalf. Here is how to do it:
Set the Rebalance Delegate to the Zero Address (0x0000000000000000000000000000000000000000
) and press Submit:
Copy the Rebalancing Period from Edit Vault:
Add extra 10 seconds to Rebalancing Period, and paste the total as the Time Interval in New Task in Gelato Functions:
If you are doing rebalance for the first time, click Start Immediately:
Otherwise, un-click Start Immediately and input when you want the next rebalance to happen. The difference between the next start date and time and the last rebalance must be larger than Rebalancing Period.
Click Transaction in the next section:
Get your vault's contract address from the address bar:
Paste in the contract address:
Select rebalance() as the function to be automated:
Give your task a name, and click Create Task:
When the transaction confirms, the vault begin rebalancing automatically! You can see it in your vault on Charm:
You vault is now fully automated!
You don't need to do anything else to earn fees income and increase liquidity, apart from making sure you have enough balance in step 1 to pay for gas fees.
Even though your vault is fully automated, you still need to monitor its performance, and change the strategy if it is not performing.
If you change the Rebalancing Period, the old task needs to be cancelled, and steps 3 to 10 need to be repeated.