VDMarket — Changelog
v1.1.0 — Liquidity Provider System
Overview
v1.1.0 is a complete economic overhaul. The core problem in v1.0.0 was that profitable trades created VDiamonds from nothing — violating the 1:1 backing invariant. v1.1.0 introduces an LP (Liquidity Provider) system and a Settlement Reserve (SR) that ensures every VDiamond in the market is always backed by a real diamond.
New: Settlement Reserve (SR)
The SR is the honest counterparty for all trades. No VDiamond is ever created from nothing.
| Event | What happens |
|---|---|
| LP deposits | VD moves to SR. Player receives Vault Shares. |
| Trade opens | Margin moves from player → SR |
| Trade closes (profit) | SR pays margin + profit to player |
| Trade closes (loss) | SR keeps loss, returns margin minus loss |
| Liquidation | Full margin stays in SR, then split applied |
| Fee | Applied on top, then split applied |
Existing market_positions and market_burn_log tables unchanged — full backward compatibility.
Build Order
mvn install (DiamondEconomy-1.1.4)
mvn install (VDiamondEconomy-1.0.2)
mvn clean package (VDMarket-1.1.0)
Server load order: DiamondEconomy → Vault → VDiamondEconomy → VDMarket