Commit Graph

164 Commits

Author SHA1 Message Date
The3D
76fcb20b44 Code cleanup 2020-08-20 09:51:21 +02:00
The3D
926d25dba8 Cleaned up validation logic 2020-08-19 16:57:49 +02:00
The3D
a419ca9014 Further cleaned up reserveLogic 2020-08-19 16:39:04 +02:00
The3D
b68bb992fb Cleaned up reserveLogic 2020-08-19 16:36:58 +02:00
The3D
7d23041849 Configured gitignore 2020-08-19 16:17:27 +02:00
The3D
5b33ea65d1 Initial fix 2020-08-19 16:10:08 +02:00
Andrey Ko
0e9883d1f9 Merge branch 'refactoring/addresses-provider' into 'master'
AddressesSorage and UintStorage removal, guidlene fixes in AddressesProvider

See merge request aave-tech/protocol-v2!16
2020-08-19 13:03:23 +00:00
andyk
6a4caff6e4 AddressesSorage and UintStorage removal, guidlene fixes in AddressesProvider 2020-08-19 15:53:00 +03:00
andyk
d141d090e4 migrate to ethers v5 2020-08-19 15:23:41 +03:00
The-3D
e01b39814d Merge branch 'fix/8' into 'master'
Resolve "Move redeem() to LendingPool"

Closes #8

See merge request aave-tech/protocol-v2!15
2020-08-19 11:33:46 +00:00
The3D
90b2625bc0 Refactored tests, burn and mint function 2020-08-19 12:56:39 +02:00
The3D
576fd4ec55 Initial refactor 2020-08-18 21:19:11 +02:00
The3D
573738cd7b Merge branch 'fix/16' 2020-08-18 20:07:18 +02:00
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