Commit Graph

37 Commits

Author SHA1 Message Date
d9dec32a8b version bumps 2019-12-08 14:52:19 -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
bee51151c2 make oracke data public 2019-11-26 12:52:29 -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
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
fe96d9a789 add skeleton Q104.104 implementation 2019-11-21 18:01:49 -05:00
3aa5371d48 mock out price accumulator 2019-11-21 13:24:09 -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
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
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
ca42b7e988 automatically get burned liquidity
rework function order

add more comments
2019-10-31 12:40:53 -04:00
0afb8d1323 tweaks 2019-10-31 11:16:17 -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
af1adee855 more tabs -> spaces 2019-10-29 10:52:20 -04:00
b6e403ed14 add downcast helpers
add safe transfer for bad tokens

reorder updateData order

refactor tests to be more explicit
2019-10-28 16:24:29 -04:00
7417b27666 experiment with 712 2019-10-28 13:29:18 -04:00
06f94dc334 burn instead of burnFrom 2019-10-25 18:42:28 -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
e5b8db9df1 initial exchange re-write
add initialization function to exchanges

add mint function in erc20
2019-10-25 15:06:06 -04:00
d48b5f5a44 run everything on constantinople
turn on compiler optimization

don't hardcode 18 decimals

add create2

name return values in factory
2019-10-24 18:03:15 -04:00
d53d6de4ef add todo comments
don't hardcode decimals

don't make burns + transfers exclusive

simplify contract names

refactor factory
2019-10-23 18:18:18 -04:00