Release v0.1.0
Pre-release
Pre-release
0.1.0 (2022-05-22)
Features
- dex: check balance before swap assets and add swap assets events (#262) (30003e7)
- dex: dex query commands (#308) (4d3a332)
- dex: dex query endpoints (#297) (960ec9f)
- dex: dex query endpoints (#304) (a9fa2dc)
- dex: pool exited events (#250) (64458a8)
- dex: swap assets cli (#257) (54e69b2)
- Add isCollateralValid parameter (#264) (d2ebd39)
- perp: AddMargin (#345) (3aefb65)
- perp: CloseAndOpenReversePosition (#421) (c12dafa)
- perp: ClosePositionEntirely (#405) (13a2e74)
- perp: DecreasePosition (#401) (2ce964b)
- perp: distribute liquidate rewards keeper helper method and LiquidationResp proto (#449) (f04da51)
- perp: Increase Position (#398) (1e47ba0)
- vpool: Get (non-TWAP) Prices (#358) (8eec1bb)
- vpool: Implement GetBaseAssetTWAP, GetQuoteAssetTWAP, SwapBaseAsset (#384) (59cc596)
- vpool: Implement TWAP prices (#374) (b0e1530)
Bug Fixes
- Fix unit test typo for create pool cli (#253) (54320be)
- requireMoreMarginRation and test (#371) (a745641)
Tests
- perp: Add tests for swapInput (#395) (4cd0042)
- perp: GetPositionNotionalAndUnrealizedPnl (#394) (4dab0d6)
- perp: increasePosition and decreasePosition leads to bad debt (#402) (ffc7197)
Continuous Integration
Code Refactoring
- vpool: Change base and quote reserve to sdk.Dec (#367) (0cdcbc3)
- vpool: Refactor vpool reserve snapshots (#354) (9ba5942)
- Combine files - move SettlePosition to perp.go (#434) (95de651)