32 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
27f6354bae Revert "Revert "remove confusing comment""
This reverts commit 2997ebf30f.
2020-04-17 16:09:36 -04:00
2997ebf30f Revert "remove confusing comment"
This reverts commit 797706d8b5.
2020-04-13 14:45:43 -04:00
797706d8b5 remove confusing comment 2020-04-01 10:42:03 -04:00
6344c31eeb fix typo 2020-01-30 11:18:20 -05:00
7c6d60dcc1 run linter 2020-01-24 11:26:00 -05:00
585ee2ef82 tweak and add explanatory comments to libraries 2020-01-22 15:28:09 -05:00
b972227df8 update to solc@0.5.16
update waffle version and fix deprecations

move CI from circle to github actions
2020-01-22 11:47:24 -05:00
d1c8612ea3 address uint(-1) failure case
closes #48
2020-01-21 12:28:26 -05:00
722012f02e make casting explicit 2020-01-06 12:39:28 -05:00
c5e9261036 bump to solc@0.5.15 2019-12-20 13:28:21 -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
8bdf549b98 improve fee logic, make clamping logic more robust 2019-12-11 14:36:55 -05:00
127afca62f tweak math 2019-12-08 15:53:43 -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
f06361140c uint256 -> uint
use 256 in more places

break out separate functions
2019-12-04 17:08:38 -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
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
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
3aa5371d48 mock out price accumulator 2019-11-21 13:24:09 -05:00
710adc3254 changes 2019-11-06 17:23:03 -05: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
2c5a1afd39 add uint128 where applicable
remove mapping in exchange

add example oracle

syntax changes
2019-10-30 18:56:12 -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
cb4d3f3bcb inline variable and tweak tests 2019-10-25 18:32:29 -04:00
1175598e42 rework erc20
start to standardize syntax

4 spaces/tab

add implementation reference links

improve tests
2019-10-22 14:56:34 -04:00