Use Treasury Intelligence
Diagnose, simulate, and — when your guardrail allows — execute a private transfer. Everything happens through /treasury.
1. Open the command center
Go to /treasury. The page is useful immediately: it shows your total private value, the portfolio allocation, concentration/liquidity bars, and a proactive diagnosis derived from your real balances — no prompt required.
2. Choose a guardrail
Pick Conservative, Balanced, or Flexible (the demo default), or open Custom to set the liquidity floor, position cap, and max per-action size yourself. The selection is validated server-side on every analysis; the AI can never change it. Changing the guardrail invalidates any prior analysis.
3. Read the diagnosis
With no analysis, Hamster tells you the headline — e.g. “Your treasury is concentrated in STRK.” — plus concentration and liquidity lines. To get a full recommendation, use the secondary ask box.
4. Ask Hamster
- Type a goal like “Make my treasury safer.” (a one-tap Safer chip fills this in) and press Diagnose.
- Hamster returns a structured insight: diagnosis → recommendation → why → outcome, together with the deterministic actionability status (ADVISORY / BLOCKED / EXECUTABLE).
- If your prompt asks to keep an amount below your guardrail floor, Hamster explains it concisely instead of silently honoring it.
5. Simulate before you move
Every recommendation is paired with a What-If preview computed by the same deterministic policy math: before → after for concentration, liquidity, and policy status. Use the Try $25 / $50 / $100 chips to explore alternatives. A simulationnever executes anything.
6. Review and execute a private transfer
When — and only when — the status is EXECUTABLE, the page shows a single primary action: Review private transfer. Confirming does not trust the earlier verdict. It runs the full gate again:
- Re-checks the proposal is unexpired (120 s TTL).
- Re-fetches your current STRK20 balances and confirms they match the analysis-time state.
- Reconstructs the exact bigint amount from the asset’s decimals.
- Resolves fresh prices and rebuilds the portfolio.
- Re-runs your selected guardrail deterministically against that fresh state (destination allowlist, self-transfer check, liquidity floor, concentration cap, max tx size, live-price requirement).
- If every check passes, asks your wallet to sign the STRK20 private transfer.
- Reconciles the real transaction and records it in Activity.
If the proposal expired, your balances changed, or fresh prices no longer support the action, execution is refused and you re-analyze. Nothing is executed otherwise.
7. If it’s BLOCKED
The action card explains the failing checks (e.g. liquidity floor, concentration cap, or a missing live price for a volatile asset). Adjust the amount, relax your guardrail, or re-analyze. If there is no approved private destination, the page shows “Analysis only — add an approved private destination to enable execution.”
