Commit Graph

851 Commits

Author SHA1 Message Date
The3D
dd008ae226 Refactored code 2020-08-18 18:48:23 +02:00
Andrey Ko
61053e9ca4 Merge branch 'fix/16' into 'master'
Resolve "Add proxy on debt tokens"

Closes #16

See merge request aave-tech/protocol-v2!14
2020-08-18 14:26:50 +00:00
emilio
7b51fde8e7 Added tests for debt tokens upgradeability 2020-08-18 12:16:48 +02:00
emilio
3247fb8784 Added mock debt tokens for test 2020-08-18 11:39:34 +02:00
emilio
4a4073f1a9 Added function to update stable/variable debt tokens 2020-08-18 02:16:46 +02:00
emilio
674b885b31 Updated initReserve() with proxies 2020-08-17 21:28:50 +02:00
The-3D
45d12fd43d Merge branch 'fix/17' into 'master'
Resolve "Get rid of ETH specific code"

Closes #17

See merge request aave-tech/protocol-v2!13
2020-08-17 14:52:32 +00:00
emilio
d7656839fa Fixes remaining tests 2020-08-17 13:48:23 +02:00
emilio
142cec24e7 fixed usage as collateral tests 2020-08-17 11:59:38 +02:00
emilio
ffb3c9f39d Fixes flashloans tests 2020-08-14 19:05:31 +02:00
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
1b2594b550 Fixed syntax error 2020-08-12 19:42:40 +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