vildX
LAYER 1 · ENGINE 04← Back to architecture

Rebalance

Moves capital between vaults. Weekly.

Rebalance is the executor. Given a target portfolio from Allocation, it routes capital between positions, vaults, and chains — minimising slippage, gas, and timing risk. Reviewed weekly, executed when conditions warrant; never on a fixed schedule. New positions enter, old ones exit, and risk alerts trigger immediate moves.

What it does

The capabilities this engine contributes to the vildX system.

Trade routing

Computes the cheapest path between current allocation and target — direct swaps, multi-hop, bridge-and-swap, or atomic redeem-and-resupply.

Gas-aware execution

Batches actions, waits for low-gas windows, and uses MEV-protected execution paths.

Bridge management

Selects between native bridges, Across, Wormhole, and LayerZero based on size, speed, and cost.

Emergency exits

On Engine 02 risk alerts, exits positions within minutes regardless of cost — capital preservation overrides cost optimisation.

How it works

Step-by-step flow inside this engine — from input signals to handoff.

  1. 1Receive target weights and allocation deltas from Engine 03.
  2. 2Compute execution plan: cheapest set of trades, bridges, and supply/withdraw actions.
  3. 3Hand the swap and hedge actions to Engine 05 (DEX/Delta) for execution.
  4. 4Confirm on-chain settlement, update vault state, publish rebalance log.
  5. 5Listen for Engine 02 emergency signals at all times; pre-empt scheduled rebalances when triggered.

Inputs & outputs

Data feeds and downstream consumers.

INPUTS
Target portfolio

Per-vault target weights from Engine 03

Allocation deltas

Current vs target gap per position

Risk alerts

Emergency exit signals from Engine 02

Gas oracle

Real-time gas prices across chains for execution timing

OUTPUTS
Trade orders

Routed to Engine 05 with size, venue, and slippage limits

Bridge orders

Cross-chain transfers with venue and timing

Rebalance log

Public record of every move, with rationale and cost basis

Other engines in vildX

The full Layer 1 stack — five engines working together.

⚠ Risk disclosures

vildX is a non-custodial software platform. Yields are variable and not guaranteed. Past performance does not predict future returns. Smart contract, protocol, and asset risks may result in partial or total loss of principal. Boost is not principal-protected. Not financial advice. Not for U.S. persons. Read full risk disclosures →