Commit Graph

35 Commits

Author SHA1 Message Date
b8655fee9f add "to" parameter to relevant functions 2019-12-30 17:54:02 -05:00
cdd379079d burn -> forfeit
burnFrom -> forfeitFrom
make -> mint
made -> burn
move -> swap

make deadline check >= insteand of >
2019-12-30 15:07:49 -05:00
c5e9261036 bump to solc@0.5.15 2019-12-20 13:28:21 -05:00
3c8ce4e1cc fix fee on swap implementation 2019-12-20 13:20:21 -05:00
49882ab99b forfeit -> burn
mint -> make

burn -> made
2019-12-19 18:02:49 -05:00
5add082d4f use interface in the factory 2019-12-19 12:56:54 -05:00
9e80c55338 try out fees on swap
rework admin/fee stuff in the factory
2019-12-19 10:40:26 -05:00
580787051e change to more flexible variant
combine swap functions

name changes
2019-12-18 16:40:32 -05:00
5b15d59773 approveMeta -> permit
call factory for fee logic

fail on balances > max112

add skim

use reserves in burnLiquidity
2019-12-13 17:25:04 -05:00
4e4546d0a9 bump solc to 0.5.14
chainId implementation (commented out for now)

improve events

move safeTransfer in UniswapV2

tweak error messages
2019-12-12 14:52:15 -05:00
f128ef3bc9 tweak name 2019-12-11 16:32:49 -05:00
cb20aa4604 clean up naming 2019-12-11 15:19:28 -05:00
f71bceee3d fix some edge cases and burnLiquidity bug 2019-12-11 14:50:24 -05:00
8bdf549b98 improve fee logic, make clamping logic more robust 2019-12-11 14:36:55 -05:00
12b269d686 small tweaks 2019-12-09 16:24:59 -05:00
7fa81c9d6f initial (borked) fee implementation 2019-12-08 16:47:09 -05:00
c42fa57ac6 tweak uniswap 2019-12-08 15:53:49 -05:00
d9dec32a8b version bumps 2019-12-08 14:52:19 -05:00
b284b63118 don't pack prices as much 2019-12-05 13:28:23 -05:00
607b1c6e6e remove all structs and rename variables 2019-12-04 18:45:28 -05:00
f06361140c uint256 -> uint
use 256 in more places

break out separate functions
2019-12-04 17:08:38 -05:00
e88ba8b09c fix interface 2019-11-26 14:05:46 -05:00
3bb8a6defb compact storing for blocknumber and oracle data 2019-11-25 17:49:04 -05:00
7f7169fec4 fix tests 2019-11-21 13:26:57 -05:00
43dfc8c567 add exchanges data structure
fix tests
2019-11-19 18:17:11 -05:00
b5437d3ea6 remove chainid in favor of istanbul opcode mocks
clean up signature verification

log post-execution balances
2019-11-19 14:44:43 -05:00
4534a99f87 changes 2019-11-07 17:47:55 -05:00
710adc3254 changes 2019-11-06 17:23:03 -05:00
8cb70d07b2 tweaks 2019-10-31 17:46:25 -04:00
ca42b7e988 automatically get burned liquidity
rework function order

add more comments
2019-10-31 12:40:53 -04:00
2c5a1afd39 add uint128 where applicable
remove mapping in exchange

add example oracle

syntax changes
2019-10-30 18:56:12 -04:00
58755fc362 fix burn logic/visibility
add getters for reserves + data

fix first-time accumulator bug

add more tests
2019-10-29 15:18:48 -04:00
3f9418e486 finalize 191 signatures 2019-10-28 14:33:47 -04:00
cd41f86770 add liquidity amount to events 2019-10-25 17:28:04 -04:00
7fbf2244e9 add uniswapv2 interface
make bytecode in factory public

update tests
2019-10-25 16:37:17 -04:00