182 Commits

Author SHA1 Message Date
3512a8af16 fix spelling on reentrancyLock 2019-10-02 11:28:12 -07:00
8f0507302d remove unnecessary checks 2019-10-02 11:25:03 -07:00
d47ffd5ec6 add recipient arg 2019-10-02 11:20:56 -07:00
e2c72b3246 refactor to keep stack small enough 2019-10-02 11:13:46 -07:00
afac21fc00 wip 2019-10-02 11:09:38 -07:00
da0b31bb1f remove redundant checks 2019-10-02 10:47:41 -07:00
844a47570c add Math library; change initial liquidity to geometric mean 2019-10-02 10:33:02 -07:00
76a825b65a minor updates 2019-10-02 05:17:27 -07:00
1b2a28927c remove external getInputPrice 2019-10-02 04:55:31 -07:00
fe37136aaa update removeLiquidity 2019-10-01 17:50:47 -07:00
e7877b887c update addLiquidity 2019-10-01 17:45:49 -07:00
efff3cae04 refactor 2019-10-01 16:21:55 -07:00
a46b6630a7 switch to use currentOutputReserve 2019-10-01 15:52:32 -07:00
04b994380d contracts: track reserves in ERC20 and remove transferFrom 2019-10-01 13:20:19 -07:00
c791c27aee declare swap function before it is called 2019-10-01 11:13:44 -07:00
f30a65d6da fix recipient argument 2019-10-01 10:46:43 -07:00
55f999a531 add semicolon 2019-10-01 10:45:44 -07:00
52e2971afc contracts: split swapInput into two functions 2019-10-01 10:35:36 -07:00
524d17b282 drop getOutputPrice 2019-09-30 19:49:37 -07:00
346c642604 contracts: drop swapOutput 2019-09-25 18:02:26 -07:00
893e16d68e fix bug 2019-09-25 17:14:03 -07:00
e74a5fbc54 refactor 2019-09-25 17:58:30 -04:00
d1525383e2 fixes 2019-09-24 17:20:00 -04:00
31c1eb693c simplify contract 2019-09-20 16:17:17 -04:00
5216582fc0 fix bugs 2019-09-20 13:06:34 -04:00
8e9ffb19b9 finish ERC20/ERC20 2019-09-12 19:00:13 -04:00
188255c697 update 2019-09-12 16:45:09 -04:00
6272d96b44 rename 2019-09-12 15:20:25 -04:00
3a44db7163 fixes 2019-09-03 10:57:46 -04:00
0e800be171 fix bug 2019-08-29 16:15:17 -04:00
59d19b2962 finish initial contracts 2019-08-29 16:10:44 -04:00
36a59fb592 basic setup 2019-08-28 16:31:10 -04:00