Commit Graph

114 Commits

Author SHA1 Message Date
f4ab1b2fe0 tweak erc20 2019-12-08 15:06:54 -05:00
d9dec32a8b version bumps 2019-12-08 14:52:19 -05:00
90dc9f39ab tweak factory api 2019-12-08 14:45:49 -05:00
19f3ff68c6 remove Pair struct from factory 2019-12-06 11:28:40 -05:00
61c14cdadd remove ragequit, some cleanup 2019-12-05 18:17:15 -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
73a7ff6813 Merge branch 'master' of https://github.com/Uniswap/uniswap-v2 2019-11-26 13:43:00 -05:00
da6ba92d92 clean up names and implementation of oracle stuff
update UQ104.104 copy

make safetransfer much clearer
2019-11-26 13:42:55 -05:00
563af0593f Merge branch 'ha-dev' 2019-11-26 12:52:39 -05:00
bee51151c2 make oracke data public 2019-11-26 12:52:29 -05:00
c4accffc8c Merge pull request #20 from Uniswap/ha-dev
oracle updates
2019-11-26 12:41:41 -05:00
a6970a3887 fix bugs 2019-11-26 12:15:54 -05:00
3bb8a6defb compact storing for blocknumber and oracle data 2019-11-25 17:49:04 -05:00
238b0a9658 use uint240 for q104.104 2019-11-25 16:34:40 -05:00
a480e3df21 update readme 2019-11-25 15:40:06 -05:00
29c58941df add node_modules to gitignore 2019-11-22 18:24:14 -05:00
897b61b78d optimize uq104 to avoid higher bit space math 2019-11-22 15:48:23 -05:00
f9f8306af0 add clarifying comments to the fixed point library 2019-11-22 13:14:10 -05:00
410ca57f55 make clear that this is still just a mock 2019-11-21 18:35:02 -05:00
fe96d9a789 add skeleton Q104.104 implementation 2019-11-21 18:01:49 -05:00
7f7169fec4 fix tests 2019-11-21 13:26:57 -05:00
3aa5371d48 mock out price accumulator 2019-11-21 13:24:09 -05:00
221831cf7f logically separate erc20 interface functions 2019-11-21 13:23:42 -05:00
f8737d1296 remove extraneous files 2019-11-21 13:23:24 -05:00
8324bbdc7c move inocmpatible erc20 interface into library 2019-11-21 13:23:13 -05:00
5dedf7a92b add require to rageQuit 2019-11-21 12:10:58 -05:00
e669a81a33 require inside safeTransfer 2019-11-21 12:00:21 -05:00
43dfc8c567 add exchanges data structure
fix tests
2019-11-19 18:17:11 -05:00
c338bd4e5a implement rageQuit 2019-11-19 18:02:47 -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
b9c105c962 712 signatures 2019-11-19 10:26:03 -05:00
16cc7e95ba no chainid in create2 salt 2019-11-19 10:25:23 -05:00
5c28aad41d improve reentrancy gas efficiency 2019-11-19 10:25:04 -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
88b63ccee0 add getOtherTokens
rework function order

test tweaks
2019-10-31 12:43:51 -04:00
ca42b7e988 automatically get burned liquidity
rework function order

add more comments
2019-10-31 12:40:53 -04:00
fbaf1f992a more specific error 2019-10-31 11:29:33 -04:00
699aa8a501 rework function order 2019-10-31 11:29:24 -04:00
0afb8d1323 tweaks 2019-10-31 11:16:17 -04:00
4779878e27 named return variables in libraries...
...are now consistent with how we do it in contracts

moved downcast helpers to Math

clearer error names
2019-10-31 11:16:02 -04:00
73940c6d38 repo cleanup 2019-10-31 11:13:18 -04:00
2c5a1afd39 add uint128 where applicable
remove mapping in exchange

add example oracle

syntax changes
2019-10-30 18:56:12 -04:00
976ac977e9 testing improvements
added fixtures, utilities, constants

modularized and cleaned up code
2019-10-30 13:27:10 -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
af1adee855 more tabs -> spaces 2019-10-29 10:52:20 -04:00