Commit Graph

1837 Commits

Author SHA1 Message Date
Hadrien Charlanes
9f110e1d19 fix: protected against disable as collateral + withdraw 2021-06-30 18:34:53 +02:00
The-3D
8bf4b0acf4
Merge pull request #169 from aave/fix/protocol-2.5-scaledbalance-error
fix: fixed error on balance"
2021-06-30 18:12:09 +02:00
Hadrien Charlanes
9bd5b99654 fix: fixed error on balance" 2021-06-30 17:14:36 +02:00
The-3D
57e26ebe0e
Merge pull request #140 from aave/feat/2.5-exposure-ceiling
Feat/2.5 exposure ceiling
2021-06-28 19:20:13 +02:00
Hadrien Charlanes
32513019a6 fix: fixed exposure cap test 2021-06-28 17:14:14 +02:00
The3D
435c34fefd fix: changed conditions of the exposure ceiling 2021-06-28 16:41:35 +02:00
The3D
715635def4 Merge branch 'protocol-2.5' into feat/2.5-exposure-ceiling 2021-06-28 14:31:17 +02:00
The3D
d2d7e48ee3 refactor: optimization on getUserAccountData() 2021-06-28 14:30:07 +02:00
The-3D
5a33536b5f
Merge pull request #165 from aave/feat/protocol-2.5/borrow-repay-same-block
Feat/protocol 2.5/disable borrow repay same block
2021-06-22 18:22:35 +02:00
The3D
ef5dac3268 Merge branch 'protocol-2.5' into feat/protocol-2.5/borrow-repay-same-block 2021-06-22 18:22:07 +02:00
The3D
d52046dbbc test: updated tests for the borrow/repay validation 2021-06-22 18:01:13 +02:00
The-3D
5c18f8618b
Merge pull request #162 from aave/test/2.5-flasloan-test
Test/2.5 add flasloan checks and tests
2021-06-22 16:20:50 +02:00
Hadrien Charlanes
694eb7731c test: configurator tested against update premium functions 2021-06-22 12:40:12 +02:00
Hadrien Charlanes
22bbb96261 test: added requirements in update premium functions of configurator 2021-06-22 12:38:34 +02:00
Hadrien Charlanes
71b3b77677 feat: added new tests and cleaned 2021-06-21 15:35:27 +02:00
Hadrien Charlanes
a0a185fbf6 feat: added new Errors.VL_SAME_BLOCK_BORROW 2021-06-21 12:58:20 +02:00
Hadrien Charlanes
09233d09bf feat: added storage and check that repayer is not the last borrower of a reserve 2021-06-21 12:25:33 +02:00
Hadrien Charlanes
727cfa854d fix: errors ordering after merge 2021-06-21 11:23:37 +02:00
Hadrien Charlanes
7e6565fed4 test: multiple flashoborrow asset, test extensively fees to reserve, fees to protocol 2021-06-21 08:13:20 +02:00
Hadrien Charlanes
369e25f5d8
Merge branch 'protocol-2.5' into feat/2.5-exposure-ceiling 2021-06-17 11:16:50 +02:00
The-3D
6a69a00372
Merge pull request #152 from aave/feat/rebalance-eoa
2.5 - Enforce invocation from an EOA for rebalanceStableBorrowRate()
2021-06-15 20:21:43 +02:00
Hadrien Charlanes
ebe13276c2
Merge pull request #149 from aave/feat/docs-refactor
refactor: refactored docs in LendingPool.sol
2021-06-15 19:36:56 +02:00
emilio
b88385f209 docs: added fixes to the docs 2021-06-15 19:05:16 +02:00
emilio
cce28ab4ea refactor: moved check to validateRebalanceStableBorrowRate 2021-06-15 18:56:38 +02:00
emilio
0a58e714bf feat: added isContract() check on rebalanceStableBorrowRate() 2021-06-15 18:38:51 +02:00
emilio
bc31fe63d9 refactor: refactored docs, variable names 2021-06-15 16:18:42 +02:00
Hadrien Charlanes
74b57d14ae fix: removed double emission of events for borrowCap and exposureCap 2021-06-15 14:16:41 +02:00
Hadrien Charlanes
9afe7fe17b fix: removed redondant event setExposure Cap 2021-06-15 14:15:28 +02:00
Hadrien Charlanes
9727c0ab79
Merge branch 'protocol-2.5' into feat/2.5-exposure-ceiling 2021-06-15 14:13:25 +02:00
The-3D
4b12f1916c
Merge pull request #141 from aave/feat/gas-optimization-5
2.5 - Feat/gas optimization 5
2021-06-15 13:22:07 +02:00
emilio
e1b9b1241a Merge branch 'protocol-2.5' into feat/gas-optimization-5 2021-06-15 12:40:14 +02:00
Hadrien Charlanes
3600b69649 clean: cleaned tests 2021-06-15 09:22:04 +02:00
The-3D
b3b8d11a8c
Merge pull request #145 from aave/feat/2.5-split-flashloan-fees
feat: split flashoan fees between fees to protocol and fees to LPs
2021-06-14 17:41:56 +02:00
Hadrien Charlanes
1abfdda4af fix: typo 2021-06-14 17:21:00 +02:00
Hadrien Charlanes
cdbfeef1dc doc: added natspec doc 2021-06-14 17:19:53 +02:00
Hadrien Charlanes
a579ca15d8 doc: added natspec doc to updateFlashloanPremiums and isFlashBorrowerAuthorized 2021-06-14 17:02:36 +02:00
emilio
978f6c9385 refactor:removed unused/unneeded fields in the cache object 2021-06-14 15:47:13 +02:00
emilio
9f71c7da8e comments: fixed natspec comments on validation 2021-06-13 21:54:23 +02:00
emilio
0965a99d88 refactor: fixed natspec comments and removed redunant check in refreshDebt() 2021-06-13 21:15:06 +02:00
emilio
dd07e934c2 comments: updated comments 2021-06-11 19:45:31 +02:00
emilio
065799eb29 comments: added comments to cache() and refreshDebt() 2021-06-11 17:03:52 +02:00
emilio
8451c88174 refactor:removed unneeded diff 2021-06-11 11:53:43 +02:00
emilio
760be1cb42 refactor: further refactored cache, changed linkage behavior of GenericLogic 2021-06-11 11:27:19 +02:00
Hadrien Charlanes
e416c10c67 fix: event now emit total flashloa premium 2021-06-10 19:09:47 +02:00
Hadrien Charlanes
ce6a07be62 fix: fixed test 2021-06-10 19:06:02 +02:00
Hadrien Charlanes
a6b71313e1 feat: Added configurator managing flashloan premiums 2021-06-10 19:05:50 +02:00
emilio
666c6a0666 Merge branch 'protocol-2.5' into feat/gas-optimization-5 2021-06-10 18:52:16 +02:00
Hadrien Charlanes
39301ebee1 feat: passed some internal validation functions to external for LendingPool codesize 2021-06-10 18:32:24 +02:00
emilio
61217d1ee5 refactor: further refactored the caching logic 2021-06-10 18:18:01 +02:00
Hadrien Charlanes
85c477f422 test: commited first tests 2021-06-10 12:29:50 +02:00