Releases: levelkdev/dxswap-core
dxswap-core v0.3.1
dxswap-core v0.3.0
- Add DXswapFeeReceiver smart contract that will receive the protocol fee in liquidity tokens and it will send ETH to the ethReceiver if one of the tokens received form the LP tokens is WETH or has a direct path to WETH, if not it sends the tokens to the fallbackReceiver address.
- Add DXswapFeeReceiver in tests fixtures.
- Add tests for DXswapFeeReceiver.
- Fix flattened script.
- Redeploy contracts to rinkeby network.
dxswap-core v0.2.0
- Remove openzeppelin and replace it with a single .contracts.json file.
- Change openzeppelin compiler for orginal waffle compiler.
- Add DXswapFeeSetter contract.
- Use DXswapDeployer and DXswapFeeSetter in test fixtures.
dxswap-core v0.1.1
- Use default swap fee of 0.15 %.
- Use default protocol fee of 0.10 %.
- Add DXswapDeployer contract.
- Fix swap fee 0 % attack.
- Fix wrong error messages.
dxswap-core v0.1.0
This is the first official stable version of DXswap core smart contracts.
- Added set function of
protocolFeeDenominatorto DXswapFactory. - Added
swapFeevariable in DXswapPair, which is taken in count as fee for each swap, using 30 by default (0.3%) - Added set of
swapFeevariable to DXswapPair, which is executed only form DXswapFactory. - Added public constant
INIT_CODE_PAIR_HASHin DXswapFactory contract.
Git log between uniswap-v2-core and dxswap-core/master:
commit e79373b
Author: AugustoL me@augustol.com
Commit: AugustoL me@augustol.com
refactor(names): Change uniswap names used in the respository
commit 2984947 (nicoelzer/master)
Merge: 7c8aee0 8160750
Author: Augusto Lemble me@augustol.com
Commit: GitHub noreply@github.com
Merge pull request #4 from Uniswap/master
Update to v1.0.0 version from uniswap-core
commit 0aa23c0
Author: AugustoL me@augustol.com
Commit: AugustoL me@augustol.com
feat(contracts): Add dynamic fees for protocol and token pair
- Adds protocolFee variable with a setter in the token factory.
- Adds a swapFee with a setter in the token pair and token pair factory contracts.
- Get the fees from the contract public variables when is used in the math.
commit 5ec4c8f
Author: AugustoL me@augustol.com
Commit: AugustoL me@augustol.com
feat(contracts): Add dynamic fees for protocol and token pair
- Adds protocolFee variable with a setter in the token factory.
- Adds a swapFee with a setter in the token pair and token pair factory contracts.
- Get the fees from the contract public variables when is used in the math.
commit 2784f8c
Author: AugustoL me@augustol.com
Commit: AugustoL me@augustol.com
test(tests): Update gas costs in tests
commit 5ec9610
Author: AugustoL me@augustol.com
Commit: AugustoL me@augustol.com
test(tests): Add tests for dynamic fees
commit 81d8629
Author: AugustoL me@augustol.com
Commit: AugustoL me@augustol.com
refactor(contracts): Change protocolFee for protocolFeeDenominator
commit 56b5f2c (origin/feat/dynamic-fees, nicoelzer/feat/dynamic-fees, feat/dynamic-fees)
Author: AugustoL me@augustol.com
Commit: AugustoL me@augustol.com
refactor(contracts): Use variables with underscore in setSwapFee in TokenPairFactory
commit 2c19d79
Merge: 2984947 56b5f2c
Author: Augusto Lemble me@augustol.com
Commit: GitHub noreply@github.com
Merge pull request #3 from levelkdev/feat/dynamic-fees
Add dynamic fee support for protocol and swap fees
commit 7fcc88a (origin/test/dynamic-fees, nicoelzer/test/dynamic-fees, test/dynamic-fees)
Merge: 5ec9610 2c19d79
Author: AugustoL me@augustol.com
Commit: AugustoL me@augustol.com
Merge branch 'develop' into test/dynamic-fees
commit c342eb6 (nicoelzer/develop)
Merge: 2c19d79 7fcc88a
Author: Augusto Lemble me@augustol.com
Commit: GitHub noreply@github.com
Merge pull request #6 from levelkdev/test/dynamic-fees
Add dynamic fees tests
commit be7bea5 (nicoelzer/update-names)
Author: Nico Elzer contact@nicoelzer.de
Commit: Nico Elzer contact@nicoelzer.de
Updated contract names
commit 45a0f04
Merge: e79373b be7bea5
Author: Augusto Lemble me@augustol.com
Commit: GitHub noreply@github.com
Merge pull request #8 from nicoelzer/update-names
Updated contract names
commit 8152989
Author: AugustoL me@augustol.com
Commit: AugustoL me@augustol.com
refactor(names): Change uniswap names used in the respository
commit 2032c2e
Author: Nico Elzer contact@nicoelzer.de
Commit: AugustoL me@augustol.com
Updated contract names
commit 008d773
Author: AugustoL me@augustol.com
Commit: AugustoL me@augustol.com
fix(contracts): Replace remaining Uniswap mentions in the contracts code
commit 8d2fc06
Author: AugustoL me@augustol.com
Commit: AugustoL me@augustol.com
refactor(contracts): Use CONTRACT_NAME: ERROR_MESSAGE in error messages in contracts
commit f23da8f
Merge: 8d2fc06 45a0f04
Author: AugustoL me@augustol.com
Commit: AugustoL me@augustol.com
Merge branch 'update-names' of github.com:levelkdev/dxswap-core into update-names
commit 3be4535 (origin/update-names, update-names)
Author: AugustoL me@augustol.com
Commit: AugustoL me@augustol.com
fix(tests): Fix gas in token pair creation
commit c990c0f
Merge: c342eb6 3be4535
Author: Augusto Lemble me@augustol.com
Commit: GitHub noreply@github.com
Merge pull request #5 from levelkdev/update-names
Change uniswap names used in the respository
commit a96e7d8
Author: Augusto Lemble me@augustol.com
Commit: GitHub noreply@github.com
Update README.md
Remove missing merge conflict in README
commit c83a3a2
Author: AugustoL me@augustol.com
Commit: AugustoL me@augustol.com
feat(build): Add build of current contracts
commit ce14990 (origin/add-flattened-factory, add-flattened-factory)
Author: AugustoL me@augustol.com
Commit: AugustoL me@augustol.com
feat(contracts): Add flattened factory contract and script
commit f958764
Merge: c83a3a2 ce14990
Author: Augusto Lemble me@augustol.com
Commit: GitHub noreply@github.com
Merge pull request #10 from levelkdev/add-flattened-factory
Add flattened factory contract and script
commit 2bc9841 (origin/add-flattened-script, add-flattened-script)
Author: AugustoL me@augustol.com
Commit: AugustoL me@augustol.com
feat(scripts): Add flattener script and move flattened contracts to hidden folder
commit d8052cc
Merge: f958764 2bc9841
Author: Augusto Lemble me@augustol.com
Commit: GitHub noreply@github.com
Merge pull request #11 from levelkdev/add-flattened-script
Add flattener script and move flattened contracts contracts/.flattened
commit 2418514 (origin/add-openzeppelin, add-openzeppelin)
Author: AugustoL me@augustol.com
Commit: AugustoL me@augustol.com
feat(devops): Add openzeppelin
- Add typescript contracts objects to bild output.
- Move contracts to /contracts in build folder.
- Compile contracts using waffle but form zeppelin.
- Added kovan deployment of DXswapFactory and DXswapPair to kovan.
- Export .openzeppelin files in package.json files.
commit 8b5a396
Merge: d8052cc 2418514
Author: Augusto Lemble me@augustol.com
Commit: GitHub noreply@github.com
Merge pull request #12 from levelkdev/add-openzeppelin
feat(devops): Add openzeppelin
commit 5b65647 (origin/add-build-folder, add-build-folder)
Author: AugustoL me@augustol.com
Commit: AugustoL me@augustol.com
feat(build): Add build folder to repository to share builded contracts
commit 56021b1
Merge: 8b5a396 5b65647
Author: Augusto Lemble me@augustol.com
Commit: GitHub noreply@github.com
Merge pull request #13 from levelkdev/add-build-folder
feat(build): Add build folder to repository to share builded contracts
commit 79e96fc
Author: AugustoL me@augustol.com
Commit: AugustoL me@augustol.com
feat(contracts): Add INIT_CODE_PAIR_HASH in DXswapFactory as public constant
commit 5e72e7e
Author: AugustoL me@augustol.com
Commit: AugustoL me@augustol.com
refactor(build): Update build folder
commit 3b8d3a8
Author: AugustoL me@augustol.com
Commit: AugustoL me@augustol.com
refactor(openzeppelin): Redeploy to kovan
commit 403195f
Merge: 56021b1 3b8d3a8
Author: Augusto Lemble me@augustol.com
Commit: GitHub noreply@github.com
Merge pull request #14 from levelkdev/add-init-code-pair-hash
Add init code pair hash to DXswapFactory
commit fea08c3 (origin/add-init-code-pair-hash, add-init-code-pair-hash)
Author: AugustoL me@augustol.com
Commit: AugustoL me@augustol.com
feat(contracts): Add missing INIT_CODE_PAIR_HASH to IDXswapFactory interface
commit 91e32b8
Merge: 403195f fea08c3
Author: Augusto Lemble me@augustol.com
Commit: AugustoL me@augustol.com
Merge pull request #15 from levelkdev/add-init-code-pair-hash
Add missing INIT_CODE_PAIR_HASH to IDXswapFactory
commit 8bf2449 (origin/update-kovan-deploy, update-kovan-deploy)
Author: AugustoL me@augustol.com
Commit: AugustoL me@augustol.com
fix(kovan-deploy): Update contract deployed in kovan with one that has the latest contract changes d
commit a0e36a4
Merge: 91e32b8 8bf2449
Author: Augusto Lemble me@augustol.com
Commit: GitHub <noreply@gi...