Commit Graph

139 Commits

Author SHA1 Message Date
David Racero
775d003cc0 Keep standard paused() name function. 2020-09-14 15:33:24 +02:00
The3D
bb4e1b5c4b Fixed errors 2020-09-14 15:09:16 +02:00
David Racero
bbc11eb092 Added pausable to Pool actions and aTokens at transfer, triggered by LendingPoolConfigurator. Added basic test to aToken transfer. 2020-09-14 13:03:39 +02:00
The3D
6e92575ac2 add code to _mintToTreasury 2020-09-14 11:41:14 +02:00
The3D
d1ffac6380 Merge branch 'master' into fix/34 2020-09-14 11:33:34 +02:00
The3D
a64edb3011 Removed interest redirection leftovers 2020-09-14 11:13:53 +02:00
The3D
5061aab9cc Added the total supply on stable debt token 2020-09-14 11:09:47 +02:00
The3D
3c8018fab9 Cleaned up code, converted addressesProvider to immutable in LendingPool 2020-09-14 10:43:30 +02:00
The3D
162c7924a9 Added index to mint and burn of variableDebtToken 2020-09-14 09:33:53 +02:00
The3D
dbf1a0b9e7 Merge branch 'master' into fix/34 2020-09-14 09:22:39 +02:00
The3D
f3856bac12 Refactored variable names, reordered the ReserveData struct 2020-09-13 11:58:45 +02:00
The3D
edfcdd6db4 Removed timestamp from stableDebtToken 2020-09-13 10:58:36 +02:00
The3D
0d9a18813f Added optimization on mint and burn 2020-09-12 13:18:17 +02:00
The3D
7383fc9786 Merge branch 'master' into fix/29 2020-09-11 16:47:47 +02:00
The3D
b5efaa740f Added total supply timestamp on the stable debt token 2020-09-11 15:22:54 +02:00
The3D
de8ae523c8 Fixed total supply, tests 2020-09-10 13:05:02 +02:00
The3D
4a1e1156f4 Merge local branch 2020-09-10 12:51:52 +02:00
The3D
3df87a8e5d Initial commit 2020-09-10 11:25:45 +02:00
The3D
e923324ea5 Removed duplicated comment 2020-09-10 09:57:15 +02:00
David Racero
53112c0982 Merge changes 2020-09-09 21:26:52 +02:00
The3D
a67c56c09f Removed interest redirection, fixed tests 2020-09-09 21:16:39 +02:00
The3D
a3934152fe updated interest redirection 2020-09-09 19:43:41 +02:00
The3D
0f06c3b72e updated interest redirection tests 2020-09-09 17:20:36 +02:00
The3D
223690f5f1 Fixed test on transfer, updated interest redirection tests 2020-09-09 14:15:38 +02:00
The3D
b0084aaf33 Fixes borrow, repay, swap rate mode, rebalance tests 2020-09-09 11:43:11 +02:00
The3D
6454f040e8 Fixed withdrawal tests 2020-09-09 10:44:34 +02:00
The3D
90de5d2b0f Fixed transfer tests 2020-09-09 10:03:19 +02:00
The3D
2e8f6ee02c Updating withdrawal tests 2020-09-08 16:14:32 +02:00
The3D
03767e003f Fixes deposits tests 2020-09-08 13:45:24 +02:00
The3D
a7b6beef48 Initial refactor commit 2020-09-07 17:55:47 +02:00
The3D
027a7e11e8 Removed userIndex 2020-09-05 18:37:48 +02:00
eboado
819cc65abd Merge branch 'master' into feat/27-new-erc20 2020-09-04 17:10:32 +02:00
eboado
da734aa68a - Refactored ERC20 and adapted derived contracts. 2020-09-04 16:27:35 +02:00
The3D
9aad57978d Merged master 2020-09-04 10:27:32 +02:00
pol
714c2ff3fd Refactored as per the PR comments 2020-09-03 10:33:15 +02:00
pol
76b4fc6b2d All tests working. WIP look at old error messages to remove them all 2020-09-02 17:54:34 +02:00
pol
6122826ef4 fixed getting error codes from error lib 2020-09-02 16:34:15 +02:00
pol
7b4812c956 Moved error messages to error lib 2020-09-02 15:48:38 +02:00
David Racero
cf70929eee Merge and fix conflicts 2020-08-25 14:15:35 +02:00
The3D
5b7a2f2a55 Optimized debt tokens 2020-08-22 19:33:55 +02:00
The3D
955d2be1da Merge branch 'master' into fix/22 2020-08-21 18:48:16 +02:00
The3D
bd0377198c Merge branch 'master' into fix/interfaces-guideline 2020-08-21 18:36:03 +02:00
The3D
1864c7abf4 Updated libraries, renamed internal methods 2020-08-21 18:18:12 +02:00
andyk
13f4d34867 refactoring flashloan folder to fit current guideline, move events to interfaces 2020-08-21 17:03:01 +03:00
andyk
2d0325a3d2 refactoring interfaces and config folders to fit current guideline 2020-08-21 16:38:47 +03:00
andyk
4ecc53abee fix typo in StableDebtToken balanceOf method 2020-08-21 13:40:56 +03:00
andyk
94d8f38597 refactoring tokenization folder to fit current guideline, small gas optimizations 2020-08-21 13:38:08 +03:00
andyk
cdaa313f65 change public to external on debt tokens -2 2020-08-21 10:24:59 +03:00
The3D
2d769f4480 Fixes #19 2020-08-20 17:09:23 +02: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
fa32406b48 Removed redundant virtual in IVariableDebtToken 2020-08-20 16:04:03 +02: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
The3D
76fcb20b44 Code cleanup 2020-08-20 09:51:21 +02: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
emilio
3247fb8784 Added mock debt tokens for test 2020-08-18 11:39:34 +02:00
emilio
674b885b31 Updated initReserve() with proxies 2020-08-17 21:28:50 +02:00
emilio
1d02b7f5e3 Initial commit 2020-08-12 19:36:58 +02:00
emilio
afc9612ac4 Updated optimization in aToken and debt tokens 2020-08-11 12:26:15 +02:00
emilio
413b648b41 implementation 2020-08-11 09:36:46 +02:00
The3D
b387bcf845 Added upgradeability tests 2020-08-10 20:20:08 +02:00
emilio
49bca9febb Optimized aToken - turned pool and underlying asset address into immutables 2020-08-08 19:21:23 +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
The3D
d6cc251f29 Fixes IR 2020-07-17 17:12:25 +02:00
The-3D
7b66a05c5d Merge branch 'feat/funds-allocation' into 'master'
Feat/funds allocation

Closes #6

See merge request aave-tech/protocol-v2!4
2020-07-15 12:11:18 +00:00
emilio
511096382f Merge branch 'master' into fix/12 2020-07-14 16:15:11 +02:00
The3D
8c8954ea8e Fixes aToken issue on interest accumulation 2020-07-14 14:53:07 +02:00
The3D
64f6e7a276 Revert "Fixes the interest redirection bug on the aToken"
This reverts commit ab3198128a.
2020-07-14 14:50:31 +02:00
The3D
ab3198128a Fixes the interest redirection bug on the aToken 2020-07-14 14:48:42 +02:00
The3D
92f2f2a9b3 Fixes aToken bug 2020-07-14 14:43:43 +02:00
The3D
56fa10bd8f Fixes tests on flashloans 2020-07-13 15:19:47 +02:00
The3D
048a2de7de Merge branch 'master' into feat/funds-allocation 2020-07-13 12:24:36 +02:00
andyk
89ad335912 pretty print 2020-07-13 11:54:08 +03:00
The3D
edd7ad3b15 Added transfer of the funds to aTokens 2020-07-10 19:16:04 +02:00
The3D
e5f0206f87 Added atoken approval to LendingPool 2020-07-10 10:57:30 +02:00
emilio
a84f26670c polished variable rate debt token comments 2020-07-09 16:52:57 +02:00
emilio
e5bf908d1c polished stable rate debt token comments 2020-07-09 16:50:56 +02:00
emilio
529115dd98 added stable and variable debt tokens tests 2020-07-09 16:46:49 +02:00
emilio
77be1963d1 added comments, cleaned up variable debt token, base debt token 2020-07-09 11:59:49 +02:00
emilio
7813e8cec0 Added natspec comments to stable debt token, cleaned up stable debt token code 2020-07-09 11:23:30 +02:00
The3D
dd1982010c Fixed swap rate tests 2020-07-07 12:07:31 +02:00
The3D
0d182d6436 Fixed swapBorrowRateMode, rebalanceBorrowRate 2020-07-05 23:44:19 +02:00
The3D
e16eed2d03 Fixed borrow tests 2020-07-03 23:20:02 +02:00
The3D
a784e42b78 Initial commit 2020-06-30 14:09:28 +02:00
The3D
02d943b235 Refactoring migration 2020-06-21 01:40:03 +02:00
eboado
b889cb25b6 - Added contracts from v1 of the protocol. 2020-05-29 18:45:37 +02:00