Phase 3 · BoltVault
Auditable LP vaults for BOLT pairs
A conservative ERC4626-shaped LP vault. Users deposit LP tokens, receive shares, withdraw later. No auto-compounding in v1, no admin withdrawal path, no upgradeability — built so an audit can be done in a week, not a quarter.
What it does
deposit(assets, receiver)pulls LP tokens, mints proportional shares.withdraw(shares, receiver)burns shares, returns the corresponding LP tokens.previewDeposit / previewWithdrawfor off-chain quoting.- Owner can only set
metadataURIandriskMode(informational). No path to move user LP. - Fee-on-transfer-safe accounting on deposits.
How BOLT extends BOT Chain
Sophisticated LPs want a single share-token they can hold, transfer, or use as collateral in future BOT Chain primitives — not a raw LP token from one specific pair. BoltVault is the smallest possible implementation that gives them that, with the smallest possible attack surface.
Readiness evidence
contracts/src/vaults/BoltVault.sol— < 200 lines, no inheritance beyond OZOwnable+ReentrancyGuard.- Foundry coverage: first-deposit, proportional follow-on, withdraw math, zero-input reverts, access control, and donate-then-deposit ratio.
- Live on Bohr testnet at
0x00104874a8b4a998838ff5a4483053fb153086ad(underlying: WBOT pair0x4BE94B4EA1f6fceCF259e5F643340fbe7f50D78F).
Once mainnet deployment completes
Vaults open per pair (BOT/USDT, BOT/USDC). Each vault's owner is the BOLT multisig. Risk mode stays at Conservative (0) until governance approves Standard or Active strategies — and each mode change requires a separate audit pass.
Commercial value
- Optional vault performance fee (set in a future strategy module, not the v1 vault itself).
- Vault share token usable as collateral on partner protocols.