Skip to content

read function for zapOut#46

Merged
ducquangkstn merged 1 commit into
developfrom
result-zapout
Nov 3, 2021
Merged

read function for zapOut#46
ducquangkstn merged 1 commit into
developfrom
result-zapout

Conversation

@ducquangkstn

Copy link
Copy Markdown

No description provided.

@ducquangkstn ducquangkstn merged commit c03e411 into develop Nov 3, 2021
@ducquangkstn ducquangkstn deleted the result-zapout branch November 3, 2021 10:35
manhlx3006 added a commit that referenced this pull request Jun 14, 2022
* update env for matic, bsc and avax (#43)

* zap-in/out feature (#44)

* read function for zapOut (#46)

* Fix bug calculate zapOutAmount (#47)

* add rpc fantom (#45)

* remove_dynamic_fee -> Done (#48)

* 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 <jensen@kyber.network>

* Update minting fee formula for DAO (#49)

* Add a new 0.008% fee option (#52)

* Mutiply the fee options by 10 times

* Add tests for changing BPS and add a new feeOption

* Add FEE_UNITS

* Update _mintFee func

* Fix overflow in minting fee formula (#51)

* Fix overflow mul div

Co-authored-by: quang_neo <ducquang.kstn@gmail.com>
Co-authored-by: Vu Tran <vutt94@gmail.com>
Co-authored-by: Jensen Tran <jensen@kyber.network>
Co-authored-by: Nguyen Minh Quan <30571817+minhquanym@users.noreply.github.com>
Co-authored-by: Daniel Pham <daniel.pham765@gmail.com>
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.

2 participants