Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Update the fee applied insimulate_swap and simulate_swap for UniswapV2Pool #81

Open
0xKitsune opened this issue Mar 5, 2023 · 0 comments

Comments

@0xKitsune
Copy link
Owner

Right now, swap simulation uses a .3% fee, where not all Dexs that are a uniswap v2 variant have the same fee. Update swap logic so that the correct fee is used. Also, update Pool creation as well as Dex creation so that the fee can be dynamic (right now it is fixed to the .3% fee for these variants).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant