Skip to content

v5.3.26 — Sui/Cetus venue, staked discovery, ledger-seeded scans

Latest

Choose a tag to compare

@Roughn3ck Roughn3ck released this 28 Sep 21:00
· 20 commits to master since this release

ColdStack — v5.3.26 Release Notes

Project: https://github.com/Roughn3ck/key_manager
Version: v5.3.26
Date: 2026-09-29


Summary

Bundles v5.3.20 → v5.3.26: Sui support and the Cetus venue (read + write), staked-position discovery on Aerodrome, ledger-seeded scans that find positions in seconds, the exe-local DB convention, and close-loop hardening across venues.

Features / Fixed

  1. Sui tokens + Cetus venue (v5.3.20–21). Full Sui asset auto-detection (suix_getAllBalances + sui_tokens.json registry with price-source mappings); Cetus LP adapter — wallet scan via owned objects, I32 tick decode/encode, pricing with unpriced-leg honesty — plus write operations (Collect / Close / Compound) via a stdlib PTB/BCS builder with a mandatory sui_dryRunTransactionBlock gate and agent Sui signing on the existing Ed25519 path.
  2. Orca close — official 6005 flow (v5.3.22). ClosePositionNotEmpty during close routes into the official withdraw → collect → burn sequence; the dialog reports the verified on-chain end state (never a transient attempt); close records now include the CAPITAL_EVENTS withdrawal row per Kimi's data contract.
  3. Staked-position discovery (v5.3.23–24). Staked Slipstream NFTs (gauge-held — invisible to ownerOf scans) discovered via NFT transfer history with adaptive RPC chunking and endpoint rotation.
  4. Ledger-seeded scans + exe-local DB (v5.3.25–26). Aerodrome discovery seeds from the portfolio coldtrack.db TOKEN_IDs (ownerOf → wallet/gauge attribution, STAKED badge): staked positions found in seconds. The DB resolves from the application's runtime folder — the same convention as key_vault.encrypted; no hardcoded paths. Login-screen construction crash fixed; headless widget smoke test added.
  5. UX/hardening. Honest fetch states ("Fetching positions…", no premature failure marks), bounded fallback scans, account labels with binding self-heal, save/fetch panel refresh, hermetic test fixtures (no live ledger state), E2E RPC tests gated behind COLDSTACK_E2E_RPC.

Verification

  • Live-verified: staked K&P position #75269474 found via Fetch AND Scan Wallet with STAKED badge; Cetus N1 LBTC/SUI decoded and priced; Orca/Aerodrome closes executed and recorded end-to-end.
  • python -m py_compile across touched files; full regression suite green; hermetic fixture tests for all new modules.

Files Changed (summary)

src/sui_assets.py, src/sui_tokens.json, src/sui_ptb.py, src/venue_adapters/cetus_adapter.py / cetus_writer.py, src/venue_adapters/aerodrome_staked.py / aerodrome_adapter.py / aerodrome_writer.py, src/venue_adapters/orca_writer.py, src/key_manager_agent.py (Sui signing + chain guard), src/lp_tab.py (scan/surfacing/states), src/coldtrack/* (recorder + export), src/gui_main_v5.py (VERSION 5.3.26), tests (test_cetus_*, test_orca_close_*, test_lp_panel_refresh.py, hermetic recorder suites), README.md / STATUS.md.