Treasury
Token Cleanup
Rebalance token holdings between wallet groups via DEX swaps.
Token Cleanup lets you rebalance project-token holdings from one wallet group to another. Source wallets sell tokens on the DEX, and destination wallets buy back through the same market so the position moves to a new wallet group without direct wallet-to-wallet token transfers.
When to Use
- Rebalancing — Redistribute token holdings across a different set of wallets
- Group rotation — Move positions to a fresh wallet group after generating new wallets
- Portfolio restructuring — Consolidate or spread holdings as your profile changes
How to Use
- Open the profile's Wallets tab
- Click Token Cleanup from the wallet actions menu
- Select the source wallet group — wallets to sell from
- Select the destination wallet group — wallets to buy into
- Configure the cleanup parameters
- Click Continue to review the plan
- Click Start Token Cleanup to execute
Configuration
| Setting | Description |
|---|---|
| Source Balance Used (%) | Percentage of tokens to sell from each source wallet (0–100%) |
| Spread (%) | Adds randomness around each wallet's allocation for varied trade sizes |
| Safety Buffer (%) | Keeps a portion of sell proceeds aside to account for slippage |
| Delay (seconds) | Pause between each completed swap leg |
| SOL Per Wallet | Extra SOL sent to each destination wallet after its buy completes |
| SOL Jitter (%) | Adds randomness around the SOL top-up amount |
Preview
The preview shows the cleanup plan before execution:
- Source and destination wallet counts
- Total planned token amount
- Largest sell and buy legs
- Slippage, spread, safety buffer, SOL top-up, and delay
- Number of source wallets skipped because they cannot be included in the plan
How It Works
- Source wallets sell a portion of their tokens on the DEX
- Quote proceeds are used to fund destination-side buys
- Destination wallets buy the token back through the DEX
- Optional SOL top-ups are sent to destination wallets after their buys complete
- The net result is your token exposure rebalanced across a new wallet group
The spread and delay settings help distribute the trades over time and vary the sizes.