Skip to content

dxswap-core v0.1.0

Choose a tag to compare

@AugustoL AugustoL released this 13 Aug 18:48
· 132 commits to master since this release

This is the first official stable version of DXswap core smart contracts.

  • Added set function of protocolFeeDenominator to DXswapFactory.
  • Added swapFee variable in DXswapPair, which is taken in count as fee for each swap, using 30 by default (0.3%)
  • Added set of swapFee variable to DXswapPair, which is executed only form DXswapFactory.
  • Added public constant INIT_CODE_PAIR_HASH in 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@github.com

Merge pull request #16 from levelkdev/update-kovan-deploy

Update contract deployed in kovan with one that has the latest contract changes

commit 731a9a7 (develop)
Author: AugustoL me@augustol.com
Commit: AugustoL me@augustol.com

feat(license): Change license from GPL 3.0 to AGPL 3.0

commit e761784
Author: AugustoL me@augustol.com
Commit: AugustoL me@augustol.com

docs(readme): Fix readme link and add flattener command instructions

commit 2d702a6
Author: AugustoL me@augustol.com
Commit: AugustoL me@augustol.com

version(package): set version 0.1.0

commit fc654e2 (origin/v0.1.0, v0.1.0)
Author: AugustoL me@augustol.com
Commit: AugustoL me@augustol.com

feat(openzeppelin): Re deploy and update contracts to final v0.1.0

commit 600b8cb (origin/develop)
Merge: a0e36a4 fc654e2
Author: Augusto Lemble me@augustol.com
Commit: GitHub noreply@github.com

Merge pull request #17 from levelkdev/v0.1.0

V0.1.0

commit 18bc943
Merge: 2984947 600b8cb
Author: Augusto Lemble me@augustol.com
Commit: GitHub noreply@github.com

Merge pull request #9 from levelkdev/develop

dxswap-core v0.1.0

commit 18dc363
Author: Augusto Lemble me@augustol.com
Commit: GitHub noreply@github.com

Update README.md

commit d3022cb
Author: AugustoL me@augustol.com
Commit: AugustoL me@augustol.com

fix(contracts): Fix error message replacing UniswapV2 for DXswapFactory

commit 79b607b
Author: AugustoL me@augustol.com
Commit: AugustoL me@augustol.com

test(dxswapfactory): Update init code pair hash and gas with new values

commit d67886e
Author: AugustoL me@augustol.com
Commit: AugustoL me@augustol.com

build(contracts): Update build files

commit 89a85e8 (origin/error-message-fix, error-message-fix)
Author: AugustoL me@augustol.com
Commit: AugustoL me@augustol.com

refactor(kovan-deploy): Update kovan deployment with latest build

commit 46b8fed (HEAD -> master, tag: v0.1.0-beta, tag: v0.1.0, origin/master, origin/HEAD)
Merge: 18dc363 89a85e8
Author: Augusto Lemble me@augustol.com
Commit: GitHub noreply@github.com

Merge pull request #18 from levelkdev/error-message-fix

Quick small fix, replacing Uniswap in error message.