Commit Graph

1642 Commits

Author SHA1 Message Date
andyk
94d8f38597 refactoring tokenization folder to fit current guideline, small gas optimizations 2020-08-21 13:38:08 +03:00
The3D
b93937f4fd Fixed DefaultReserveInterestRateStrategy 2020-08-21 11:21:50 +02:00
andyk
d2848105f7 fix liquidation test 2020-08-21 10:33:06 +03:00
andyk
cdaa313f65 change public to external on debt tokens -2 2020-08-21 10:24:59 +03:00
David Racero
54d9e3a7ee Added missing stash work 2020-08-20 17:38:57 +02:00
David Racero
383f7fc3bb WIP: Added dev-deployment scripts. Moved some helpers and mocks outside of test setup. 2020-08-20 17:35:05 +02:00
Andrey Ko
dc4823ec09 Merge branch 'fix/19' into 'master'
Resolve "Issue: Timestamp is not updated in the burn() function of StableDebtToken"

Closes #19

See merge request aave-tech/protocol-v2!22
2020-08-20 15:12:00 +00:00
The3D
2d769f4480 Fixes #19 2020-08-20 17:09:23 +02:00
The-3D
dc64b7f992 Merge branch 'feat/debt-token-fixes' into 'master'
Debt token fixes

See merge request aave-tech/protocol-v2!21
2020-08-20 14:35:31 +00:00
andyk
ec0498bd3b Merge branch 'master' into feat/debt-token-fixes 2020-08-20 17:26:49 +03:00
andyk
735a00b5f3 fix minor debt token issues 2020-08-20 17:26:06 +03:00
The3D
8bdbd0a7ce Merge branch 'master' of gitlab.com:aave-tech/protocol-v2 2020-08-20 16:18:08 +02:00
The3D
fa32406b48 Removed redundant virtual in IVariableDebtToken 2020-08-20 16:04:03 +02:00
andyk
57fb45e380 remove named return in calculateAvailableCollateralToLiquidate 2020-08-20 16:31:52 +03:00
The-3D
7c3d5e0239 Merge branch 'feat/remove-payable' into 'master'
Remove payable

See merge request aave-tech/protocol-v2!20
2020-08-20 13:29:31 +00:00
andyk
26115b4601 RepayLocalVars removal 2020-08-20 16:12:19 +03:00
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