Charm Finance
  • Charm Overview
    • The mission
  • Products Overview
    • Alpha Vaults
      • Whitepaper
      • FAQ
    • Charm Simulator
  • Provide Liquidity
    • Overview
    • The Benefits
    • Risks and Mitigants
    • Charm Vaults
    • Community Vaults
    • Conclusion
    • Fees
    • FAQ
    • User Guides
      • Home Page
      • Depositing and Withdrawing
      • Vault Information Page
      • Performance Page
      • Portfolio Page
  • Manage Liquidity
    • Overview
    • The Benefits
    • Challenges and Solution
    • Uses Cases
    • How it works
    • Risks and mitigants
    • Conclusion
    • Fees
    • FAQ
    • User Guides
      • Create Vault
        • Default Values
        • Next Steps
      • Vault Parameters
      • Rebalancing
      • Verifying Vaults
      • Capital Efficiency
      • Other Features
      • Best Practices
      • Walkthroughs
        • Create Vault
        • Edit Vault
        • Automating Rebalance
        • Verify Manager
  • Technical References
    • Overview
    • Core
      • AlphaProVault
      • AlphaProVaultFactory
      • CloneFactory
      • Interfaces
    • Periphery
    • Error Codes
    • Contract Addresses
    • Subgraph
  • Links
    • Alpha Vaults v2
    • Contracts
    • Blog
  • Appendix
    • Glossary
    • Audit Reports
    • Team
    • Charm's Investors
    • 中文版
  • Research
    • Medallion
      • Whitepaper
      • FAQ
      • Decentralised competition
  • Previous Products
    • Alpha Vaults v1
    • Charm Options
      • Key Features
        • Capital Efficiency
      • Use Cases
      • How trading works
      • How liquidity provision works
      • Trading Tutorials
        • Open a position
          • Notes
        • Close a position
        • Settlement
      • Liquidity Provision Tutorials
        • Provide liquidity
        • Withdraw Liquidity
    • Cube Tokens
      • How it works
Powered by GitBook
On this page
  1. Manage Liquidity
  2. User Guides
  3. Walkthroughs

Automating Rebalance

PreviousEdit VaultNextVerify Manager

Last updated 8 months ago

An automation provider (eg ) can be used to trigger rebalance on your behalf. Here is how to do it:

  1. Top up your balance in Gelato's app - see for further guidance.

  1. Set the to the Zero Address (0x0000000000000000000000000000000000000000) and press Submit:

  1. If you are doing rebalance for the first time, click Start Immediately:

  1. Click Transaction in the next section:

  1. Get your vault's contract address from the address bar:

  1. Paste in the contract address:

  1. Select rebalance() as the function to be automated:

  1. Give your task a name, and click Create Task:

  1. 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.

Copy the from :

Add extra 10 seconds to Rebalancing Period, and paste the total as the Time Interval in in Gelato Functions:

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 .

Even though your vault is fully automated, you still need to , and if it is not performing.

If you change the , the old task needs to be cancelled, and steps 3 to 10 need to be repeated.

New Task
Gelato Functions
1Balance
here
Edit Vault
monitor its performance
Rebalancing Period
Rebalancing Period
Rebalancing Period
change the strategy
Rebalance Delegate