Rebalancing and editing

Keeping holdings on target, changing the basket, handing the fund over.

Rebalancing#

The fund’s manage screen shows each asset’s target next to its live weight. Rebalance moves the holdings back to the targets with Jupiter swaps, signed by your app wallet. The app lets a rebalance use up to 3% slippage — lower than for deposits, because a rebalance spends the fund’s money and its holders carry the slippage. Every rebalance is recorded onchain and listed in the fund’s rebalance history.

Rebalance

Status
Drift > Threshold
Max Drift
6.00%
Threshold
0.50%
Last Rebalanced
2d ago

Drift Suggestions

Assets that deviate past the rebalance threshold

  • SOL
    Target 40.00% · Current 46.00%
    Sell 6.00%
  • PYTH
    Target 10.00% · Current 11.00%
    Sell 1.00%
  • JUP
    Target 30.00% · Current 26.00%
    Buy 4.00%
  • JTO
    Target 20.00% · Current 17.00%
    Buy 3.00%
1.00%
%

The onchain measured min_out bounds every leg — this is your ceiling, not the platform's.

Rebalances route through USDC: sales convert an asset to USDC, and purchases spend USDC on another asset. Between those steps, the USDC remains in the fund’s cash sleeve.

On every rebalance swap the contract checks that:

  • the output lands in a declared asset of the same fund — nothing can be swapped out of the basket;
  • the route touches no fund account other than the declared input and output;
  • the amount received clears a minimum measured after the swap;
  • the fund’s policy limits are respected (see Fund policy).

Delegated keys#

A delegated key can only rebalance, and only into the fund’s own assets. The rebalancer enforces its own limits on how much and how often a delegated key can trade. A creator rebalancing their own fund is limited by the default policy every fund runs (see Fund policy).

Editing the basket#

  • Add an asset, change the targets, or remove a non-USDC asset, then save. The new weights must add up to 100%. The app allows up to 9 other tokens alongside mandatory USDC.
  • Changing a non-USDC asset’s target moves the difference into or out of USDC; the other targets stay fixed. An increase is limited to the USDC still available, keeping the total at 100%.
  • Pressing minus on an asset the fund still holds sets its target to 0% and returns its weight to USDC. Save to start the rebalance. The rebalance sells that asset for USDC; that USDC can then buy assets below their target weights. The asset is removed from the basket only after its vault balance reaches zero.
  • The app keeps the USDC cash sleeve visible and prevents its removal. It may have a 0% target and still counts as one of the 10 tokens. With a 0% target, the next rebalance spends any cash balance back into the basket.
  • Saving brings the holdings in line with the new targets, so the fund can keep accepting deposits right away.

Handing the fund over#

The admin role moves in two steps: the current admin names a new wallet, and that wallet accepts. Until it accepts, nothing changes. Today this is done by asking the in-app agent; the MCP server cannot do it yet.

Automation#

A creator can ask the in-app agent to let a key rebalance on its own when drift crosses a threshold or on a schedule. That key can only rebalance, inside the delegated-key limits. See Agent and MCP.