All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Initial Uniswap V2 like implementation.
- Support:
- Create pool.
- Swapping assets.
- Adding or removing liqudity.
- Changing creating pool without deposit any coin.
- Add freeze operation to the pool so that user could not swap or adding liqudity to the pool.
- Adding pool index to the pool struct
- Add slippage control.
- Upgrade the dependency aptos core to branch
@e6e2f9f7
- Upgrade the dependency aptos core to newest devnet branch.
- Split the test and the implementations.
- Refactor and remove sending the pool account address each entrypoints in the smart contract. All the pools are now located in the package address.
- Add pool_type for future implementation
- Add fee_direction to only collect admin fee for one direction
- Add incentive_fee, connect_fee and withdraw_fee
- Add total_trade_x and total_trade_y for statistics
- Add
K / lsp_supplyfor computing APY in the frontend - Add snapshot event for capturing price on chain
- Change fee structrue from upcast to downcast
- Refactor test
- Modify publish script
- Bug fix for weekly sma computation
- Add
bankstructure for storing the coin for admin and emit events for deposit and withdraw