Commit Graph

10 Commits

Author SHA1 Message Date
80ce1e48c0 move from invariant -> k (compute sqrt lazily)
use getReserves more places

improve comment quality
2020-01-29 13:15:07 -05:00
452b531205 fix stale cache bug from SLOAD optimization 2020-01-27 18:13:43 -05:00
d4661b1ae7 remove superfluous safety checks
whitespaces + comments
2020-01-24 13:31:19 -05:00
7c6d60dcc1 run linter 2020-01-24 11:26:00 -05:00
a55aa4bfed block.number -> block.timestamp
tweak timing tests

make tests even better
2020-01-23 12:30:39 -05:00
5ea4c937f4 make selector public 2020-01-22 15:43:22 -05:00
85d6435ea2 add some comments
preface all errors with "UniswapV2: ..."

tweak the order of a few things

use abi.encodeWithSelector instead of abi.encodeWithSignature
2020-01-22 15:39:43 -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
ddbb5e0ba0 make invariantLast public
add comment about private variables
2020-01-13 16:47:27 -05:00
cbe801b54f remove forfeit{,from}
make name + symbol + decimals constant

add GenericERC20

rename some contracts

update tests to reflect all of this
2020-01-13 15:59:07 -05:00