Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop zk #59

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open

Develop zk #59

wants to merge 15 commits into from

Conversation

Zohar97
Copy link
Member

@Zohar97 Zohar97 commented May 11, 2023

No description provided.

ducquangkstn and others added 13 commits September 9, 2021 13:33
* remove_dynamic_fee -> Done

* fix bugs and add deployment script

* rename stuffs

* remove unused var

* move feeinPrecision to Factory and Rename DMM to KS

* rename DMM to KS

* remove dynamic fee, add fee options

* fix deployment script

* add modifier for checking fee setter

* Add KSRouter, change feeOptions to public, remove getFinalFee

* update hardhat config

* fix hardhat config

* add router test

* rename dmmSwapCall to ksSwapCall, add ZapInV2

* fix test

* rename deployKs to deployKyberSwap

Co-authored-by: Jensen Tran <[email protected]>
* Mutiply the fee options by 10 times

* Add tests for changing BPS and add a new feeOption

* Add FEE_UNITS

* Update _mintFee func
* Update formula in _calculateSyncTotalSupply

* Rename to KSZapIn

* Pass factory address as a parameter

* Add some test for KSZapIn

* Fix KSZap: rename, add configMaster, add/remove factory from whitelist

* add test for calculateZapOutAmount if tokenIn is token1 instead of token0

* fix test for zapOut tokenIn is token1

* fix factory whitelist check

* fix quan's comment on configMasterUpdated event

Co-authored-by: Tran Vu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants