Commit Graph

1076 Commits

Author SHA1 Message Date
andyk
a6e78856a0 remove using WadRayMath and SafeMath duplication 2020-08-20 16:01:54 +03:00
andyk
3a24d4e434 remove unused Address lib imports 2020-08-20 15:35:51 +03:00
andyk
39984383c6 remove payable, add IAToken and ILendingPool 2020-08-20 15:32:20 +03:00
andyk
ae8878a50e fix more imports 2020-08-20 13:44:51 +03:00
The-3D
65f0ebf4f4 Merge branch 'feat/token-distributor-removal' into 'master'
Removal of TokenDistributor, FeeProvider and FlashLoanVars

See merge request aave-tech/protocol-v2!18
2020-08-20 10:30:37 +00:00
The3D
8a8c75c713 Fixed flashloan test 2020-08-20 12:21:42 +02:00
The3D
028d859a54 Merge branch 'master' into feat/token-distributor-removal 2020-08-20 11:32:26 +02:00
The-3D
440e5565ce Merge branch 'fix/7' into 'master'
Resolve "Code cleanup"

Closes #7

See merge request aave-tech/protocol-v2!17
2020-08-20 08:34:26 +00:00
The3D
a437512ae9 Removed origination fee event, variables 2020-08-20 09:56:43 +02:00
The3D
76fcb20b44 Code cleanup 2020-08-20 09:51:21 +02:00
andyk
1a2bfcbf45 remove FeeProvider setters and getters 2020-08-19 19:06:32 +03:00
andyk
2579bbcfec removal of TOKEN_DISTRIBUTOR constant 2020-08-19 18:58:53 +03:00
andyk
d60f7b6272 removal of TokenDistributor, FeeProvider and FlashLoanVars 2020-08-19 18:56:51 +03: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