254 Commits

Author SHA1 Message Date
3586e648b2 init
Some checks failed
CI / test (10.x, ubuntu-latest) (push) Has been cancelled
CI / test (12.x, ubuntu-latest) (push) Has been cancelled
2025-07-08 01:27:47 +08:00
ee547b1785 Merge pull request #168 from Uniswap/add-stale
feat: add stale config
2022-07-13 11:47:54 -07:00
b48663b1b5 feat: add stale config 2022-07-13 11:45:04 -07:00
8b82b04a0b Create CITATION.cff (#154)
* Create CITATION.cff

I want to cite this Github repository in some research papers I am writing. A `CITATION.cff` auto generates citations for anyone who may want to reference this repository in their work. See the (docs)[https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-citation-files]. I have drafted this to include the authors of the repository if you desire any changes, please make them.  Thank you.

* Update CITATION.cff

Co-authored-by: Noah Zinsmeister <noahwz@gmail.com>
2022-05-03 10:50:37 -04:00
4dd59067c7 Release v1.0.1. 2020-05-18 18:54:10 -05:00
816b9e3271 Add keywords 2020-05-18 18:53:13 -05:00
8d6bfb3473 Add emoji to description 2020-05-18 18:52:34 -05:00
5419f5409d Generate metadata (#78) 2020-05-18 18:40:32 -05:00
816075049f Release v1.0.0 2020-04-22 12:08:51 -05:00
5e59a166de Couple more clean ups to the package.json 2020-04-22 10:54:27 -05:00
6667730b74 Prepare beta.3 with repository URL in package.json 2020-04-22 10:45:32 -05:00
1d9785e33e Remove check-compile-output.sh and related CI/scripts 2020-04-20 12:07:10 -05:00
7ad827c870 Remove build artifacts and add link to the README.md 2020-04-20 12:02:10 -05:00
7c8aee0048 version bump 2020-04-17 17:31:35 -04:00
b19ff868aa Prepare to release 1.0.0-beta.1 2020-04-17 16:25:44 -04:00
51cf2f11cd update build 2020-04-17 16:10:43 -04:00
27f6354bae Revert "Revert "remove confusing comment""
This reverts commit 2997ebf30f.
2020-04-17 16:09:36 -04:00
272713c81b Widen the pragma (#71)
* Widen the pragma

This reverts commit 528056ed
2020-04-17 16:05:13 -04:00
0897c5b05c Merge pull request #62 from Uniswap/prepare-for-npm
Prepare for deploying the contracts and build artifacts to npmjs
2020-04-15 09:01:33 -04:00
1d583b6058 prepare -> prepublishOnly 2020-04-15 08:56:21 -04:00
bcf5d74da3 Add back overrides to see if it fixes CI 2020-04-15 08:53:20 -04:00
840527f004 Uncomment a test that was fixed with latest waffle 2020-04-15 08:31:48 -04:00
d60d466c83 Change the test to verify the actual gas used instead of the buggy estimated gas used 2020-04-15 08:25:33 -04:00
6fa21c246d Remove overrides from fixtures.ts 2020-04-15 08:14:47 -04:00
6cf43db3e1 Prepare for deploying the contracts and build artifacts to npmjs 2020-04-14 21:37:28 -04:00
843d02bad0 Change logs into assertions so we can always see the gas cost changes in commits 2020-04-14 12:50:40 -04:00
6f10789f92 Check the git status output is empty in CI to avoid uncommitted build artifacts (#61) 2020-04-13 15:44:42 -04:00
94a16db6dd update yarn.lock 2020-04-13 14:56:33 -04:00
2997ebf30f Revert "remove confusing comment"
This reverts commit 797706d8b5.
2020-04-13 14:45:43 -04:00
10be569bd3 bye mac 2020-04-01 15:11:19 -04:00
4ccc150998 Merge branch 'master' of https://github.com/Uniswap/uniswap-v2-core 2020-04-01 10:42:06 -04:00
797706d8b5 remove confusing comment 2020-04-01 10:42:03 -04:00
1f563ce23b Merge pull request #58 from Uniswap/open-source
open-source 🎉
2020-03-23 15:46:56 -04:00
1136544ac8 exchange -> pair 2020-03-17 18:05:28 -04:00
11bd4b0c11 open-source 🎉 2020-03-13 17:13:17 -04:00
170a739f08 switch lock from 2 -> 1 -> 2 to 1->0->1 2020-03-10 17:48:02 -04:00
b6257cdfc3 add build/ folder generated from the frozen code 2020-03-03 11:33:24 -05:00
ccf5f7e46e make gas test more correct 2020-02-27 15:49:30 -05:00
642d21d7ae fix commented out tests 2020-02-25 17:32:21 -05:00
505d0ac138 update _mintFee comment 2020-02-19 11:56:27 -05:00
b742e92502 optimistic swaps (#53)
* alternative flash lending (renting) design

* add rent interface

* fix stack too deep error

rearrange order of k condition math

ignore erroneous out of gas errors in tests

* try removing rent in favor of monolithic swap

IUniswapV2Borrower -> IUniswapV2Callee

update tests

* fix implementation

* clean up math a bit

* amount{0,1}In -> amount{0,1}InNet

* charge on all inputs, not just net

* removed unnecessary safemath

* add to != token check

don't indent in scope

rename reserve{0,1}Next -> reserve{0,1}Adjusted

* > instead of >=

simplify algebra

reserve{0,1}Adjusted -> balance{0,1}Adjusted

add comments

* add some optimistic swap test cases
2020-02-17 15:06:43 -07:00
3f5feaa369 fix syntax 2020-02-07 10:40:27 -05:00
55ae25109b MINIMUM_TOTAL_SUPPLY -> MINIMUM_LIQUIDITY (#51)
* MINIMUM_TOTAL_SUPPLY -> MINIMUM_LIQUIDITY

make selector private
2020-02-07 10:38:46 -05:00
188eb5ac6d only run CI on pushes when it's to master 2020-02-07 10:38:07 -05:00
7831f8155a Merge pull request #54 from Uniswap/fee-to-5-bips
fee to 5 bips
2020-02-07 10:05:54 -05:00
5c042758e8 fee to 5 bips 2020-02-06 15:38:58 -05:00
986d2491bd MINIMUM_TOTAL_SUPPLY from 1e6 -> 1e4 2020-02-03 16:26:16 -05:00
05dfa2f9ba optimize lock w/r/t the gas refund counter 2020-02-03 16:11:19 -05:00
a1e31c29a6 THRESHOLD -> MINIMUM_TOTAL_SUPPLY 2020-02-03 11:08:22 -05:00
0e5d00f491 add transfer event tests for burn 2020-01-31 17:19:38 -05:00