Releases: tokenstation/hikaru-sc
Hardhat and slippage
Summary:
- Migration to hardhat from truffle
- Reworked swap functionality
- Added slippage parameters for join/exit functions
- Flashloan flow update
- Fixed known errors
New contract addresses:
- Vault:
TSV5EmxLk91rM7u5EN4fGx6KRiLabM2iVF; New version:TXerg8cK6KXYFLw2JyndPgY5HukZyQWi6r
- Factory:
TNtAtextW6s11QxboffrTizuYox7wAnoYH; New version:TGi5nU3Kxw6jo6SUpq8VLreGVvSMn9C75a
- Router:
TSwPWGzz3tmzwUT6eDusX3tEkAcvxie9kz
What's Changed
Full Changelog: v0.9...v0.10
Bugs and docs
Errors and community
Summary:
- Added governance token
- Added staking contract
- Fixed
require
errors to be of formatHIKARU#ERROR_CODE
What's Changed
Full Changelog: v0.7.0...v0.8
Router and documentation
Summary
Summary:
- Added Router for users so they don't need to perform multiple allowances and be very confused (WTF i've already set allowance for token!) and it will be easier for frontend developers
- Added documentation with description for smart-contracts (JS-Doc like) and created base for new README file
What's Changed
Full Changelog: v0.6...v0.7.0
Unification of methods
Summary:
- Added unified methods for vaults that must be implemented and used for executing operations
For weighted vault specifically:
- Added ERC165
- Added protocol comission
- Added virtual swaps
What's Changed
Full Changelog: v0.5...v0.6
Migration and testing
In this version main direction of work was concentrated on creating migrations and testing smart contracts, which resulted in finding some bugs (and fixing them).
Now we can more freely change smart contracts and be sure that if something goes wrong we'll know it before it's too late :)
What's Changed
Full Changelog: v0.4...v0.5
Vaults and Factories
Summary
- Added factories for big contracts (i.g. WeightedPool)
- Now vault is responsible for storing and changing pool balances and for changing them
What's Changed
Full Changelog: v0.3...v0.4
Vaults evolution
What's new:
- Moved ERC20 LP tokens to separate contract and created factory for LP tokens
- All external parameters are either passed to contract or are calculated inside (no calls to other contracts)
- Interactions with pools that affect balances are performed using vault (dry run functions are available both using vault and via direct call to pool)
- Added functionality to exit pool using one token
- Added first version of flashloans to Vault
What's Changed
New Contributors
Full Changelog: v0.2...v0.3
Factories + Vaults
Updated version:
- Addition of factories for deploying pools
- Addition of vaults for interacting with pools and providing default swap interface
- Minor refactoring
What's Changed
New Contributors
Full Changelog: v0.1...v0.2
Basic math wrapper
This version's pool is just basic math wrapper which may be used to call calculation functions (but you probably shouldn't use it)
Contracts currently will not work properly even if they compile.