Commit Graph

140 Commits

Author SHA1 Message Date
emilio
fbc6205479 Fixes liquidation/transfer tests 2020-08-13 19:25:29 +02:00
emilio
db17958737 Fixes the borrow-repay-variable scenario 2020-08-13 16:58:06 +02:00
emilio
85f6feba89 Further fix 2020-08-13 16:15:34 +02:00
emilio
991fba36c3 Fixes borrow-repay-stable scenario 2020-08-13 16:15:02 +02:00
emilio
8af0e9fd11 Fixed borrow negatives 2020-08-13 15:46:31 +02:00
emilio
78023ae5c3 Fixed redeem negatives 2020-08-13 15:37:11 +02:00
emilio
f149d9e56a Fixed redeem scenarios 2020-08-13 14:58:44 +02:00
emilio
547c95dc1a Updated deposit scenarios 2020-08-13 14:32:41 +02:00
emilio
3c3e4d146a First refactor of the tests; replaced ETH with WETH in the configuration 2020-08-13 13:06:23 +02:00
emilio
1d02b7f5e3 Initial commit 2020-08-12 19:36:58 +02:00
The-3D
9ac6bfa90b Merge branch 'fix/15' into 'master'
Resolve "Various gas optimizations"

Closes #15

See merge request aave-tech/protocol-v2!12
2020-08-12 15:04:16 +00:00
emilio
b5264a7c66 Removed rayPow 2020-08-11 12:32:34 +02:00
emilio
afc9612ac4 Updated optimization in aToken and debt tokens 2020-08-11 12:26:15 +02:00
emilio
9b0b190019 Fixed compounded interest approximation 2020-08-11 10:11:35 +02:00
emilio
413b648b41 implementation 2020-08-11 09:36:46 +02:00
The-3D
83952c2975 Merge branch 'feat/10' into 'master'
Resolve "Update LendingPoolConfigurator to have aTokens proxies"

Closes #10

See merge request aave-tech/protocol-v2!11
2020-08-11 07:33:00 +00:00
emilio
7bb6f2fef2 Space 2020-08-11 09:23:57 +02:00
emilio
b3bf8d66a2 Updated initReserve() parameter 2020-08-11 09:20:47 +02:00
The3D
1e5c3d7234 Removed gitignore newline 2020-08-10 20:23:36 +02:00
The3D
ed59381220 Removed gitignore 2020-08-10 20:22:39 +02:00
The3D
b387bcf845 Added upgradeability tests 2020-08-10 20:20:08 +02:00
The3D
734d125cd7 added function to update the aToken instance 2020-08-10 15:29:18 +02:00
emilio
fb5377a63e Gas optimization in getNormalizedIncome/getNormalizedDebt 2020-08-10 00:11:06 +02:00
emilio
49bca9febb Optimized aToken - turned pool and underlying asset address into immutables 2020-08-08 19:21:23 +02:00
emilio
50bb9d39b0 Merge branch 'master' into feat/10 2020-08-07 19:32:34 +02:00
emilio
cf3f68653f Updated setup script 2020-08-07 19:29:13 +02:00
emilio
a0bf692373 Initial commit 2020-08-07 18:23:52 +02:00
The-3D
06166c665d Merge branch 'feat/3' into 'master'
Resolve "Mask-style implementation of flags parameters for user's data on the protocol"

Closes #3

See merge request aave-tech/protocol-v2!10
2020-08-07 13:58:26 +00:00
emilio
1015a7ca13 Fixes comments 2020-08-06 19:49:41 +02:00
emilio
5c4df95b87 Added comments to UserConfiguration 2020-08-06 09:57:12 +02:00
emilio
f9115b7030 refactored UserLogic 2020-08-06 09:52:15 +02:00
emilio
8df5182c59 Fixed bugs in user configuration 2020-08-06 00:46:22 +02:00
emilio
1eb2d11a3d initial commit 2020-08-05 12:40:24 +02:00
The-3D
d8dd838d85 Merge branch 'feat/13' into 'master'
Resolve "Bitmap for reserve configuration "

Closes #13

See merge request aave-tech/protocol-v2!8
2020-08-03 10:51:41 +00:00
The-3D
23f8f65890 Merge branch 'fix/14' into 'feat/13'
Resolve "add two decimals to LTV, liquidation bonus, liquidation threshold"

See merge request aave-tech/protocol-v2!9
2020-08-03 09:31:38 +00:00
emilio
d8424d43a5 Added comments 2020-08-03 09:08:07 +02:00
emilio
c86884ef28 Fixes tests on liquidation 2020-08-02 18:36:04 +02:00
The3D
692cc87f62 Updated PercentageMath to support two decimals of precision 2020-07-27 16:14:21 +02:00
The3D
11e06e2e92 Refactored code to use PercentageMath, fixed PercentageMath bug 2020-07-27 13:47:48 +02:00
The3D
4baf17d9e6 added percentMath 2020-07-27 12:32:54 +02:00
The3D
729abc0769 Fixed the configurator comment 2020-07-27 10:03:53 +02:00
The3D
6752203c5c Fixed scenario test 2020-07-27 10:00:26 +02:00
The3D
f520c535cb Removed gas reporter 2020-07-27 09:59:25 +02:00
The3D
8a79d71230 Updated validateRepay, fixed natspec comment 2020-07-27 09:59:04 +02:00
The3D
1a29def14d Added natspec comments to ReserveConfiguration 2020-07-27 09:49:45 +02:00
The3D
8d1d06bbdd Removed change on calculateUserAccountData 2020-07-24 14:57:52 +02:00
The3D
fa60f03d8d Updated parameters mapping 2020-07-23 17:18:06 +02:00
The3D
77faf4774b Fixed configuration library 2020-07-21 10:20:51 +02:00
The3D
8e6ea20a79 Added configuration library 2020-07-21 09:53:38 +02:00
The3D
d6cc251f29 Fixes IR 2020-07-17 17:12:25 +02:00