Commit Graph

60 Commits

Author SHA1 Message Date
Hadrien Charlanes
b6f8dedfca refactor: refactor validation logic after merging validateHealthFactor 2021-05-26 09:21:49 +02:00
Hadrien Charlanes
2019b5f500 feat: implemented pause validation for reserve assets 2021-05-26 09:19:59 +02:00
Hadrien Charlanes
3be81a0433 feat: added bool isPaused in data reserve config 2021-05-26 09:14:13 +02:00
Hadrien Charlanes
56bf996885 fix: configurator: added event borrowCapChanged in enableBorrowingOnReserve function 2021-05-25 09:48:08 +02:00
Hadrien Charlanes
3656bee3a1
Merge branch 'protocol-2.5' into feat/2.5-supply-and-borrow-caps 2021-05-17 19:42:59 +02:00
The3D
49db36726b fix: update behavior of finalizeTransfer() to proper emit the ReserveUsedAsCollateralDisabled event 2021-05-14 20:00:37 +02:00
The3D
9d12200b8c refactor: replaced balanceOf() with scaledBalanceOf() 2021-05-13 18:44:47 +02:00
The3D
235f2d80ec refactor: added validation on withdraw/finalizeTransfer - only check the HF if the user is using the asset as collateral or is borrowing 2021-05-13 18:27:15 +02:00
The3D
2dac7fbd80 fix: fixed behavior in case the asset withdrawn was already being used as collateral 2021-05-10 14:02:36 +02:00
The3D
50ea61fe70 Merge branch 'feat/gas-optimization-1' into feat/gas-optimization-2 2021-05-07 11:24:58 +02:00
The-3D
77fe998e9f
Merge pull request #64 from aave/feat/protocol-2.5/repayPermit-depositPermit
RepayWithPermit, depositWithPermit
2021-05-05 13:12:22 +02:00
Hadrien Charlanes
6a0d27c0de fix-refactor: Refactored tests with new getCaps function, fixed contract supplyCap mask 2021-04-30 16:48:09 +02:00
Hadrien Charlanes
f624783a36 feat-refactor: added supplyCap and refactored borrowCap 2021-04-30 16:17:05 +02:00
The3D
ed987ac46e refactor: removed balanceDecreaseAllowed 2021-04-29 19:55:52 +02:00
Hadrien Charlanes
a9fce4dd4b feat: Added setBorrowCap in lendingpoolconfigurator 2021-04-29 09:51:37 +02:00
Hadrien Charlanes
6054fa0bd5 feat: Added borrowCap to enableBorrowing Configurato 2021-04-27 19:08:49 +02:00
Hadrien Charlanes
b294a96ef4 refactor: changed function definitions order for more clarity 2021-04-27 09:45:49 +02:00
Hadrien Charlanes
0b89528871 doc: added signature paramters to natspec docs 2021-04-27 09:44:18 +02:00
The3D
6230f2b034 Merge branch 'master' into protocol-2.5 2021-04-23 18:59:12 +02:00
Hadrien Charlanes
4ce1bfcb8c feat: added borrow cap to config 2021-04-23 17:32:07 +02:00
Zer0dot
5f817c7c09 fix: removed unused hardhat console import 2021-04-19 11:04:04 -04:00
Hadrien Charlanes
6810940c9f Added deadline, implemented deposit and repay withPermit functions 2021-04-02 09:49:13 +02:00
Hadrien Charlanes
44528c7733 Created _executeRepay, _executeWithdraw 2021-04-02 09:24:19 +02:00
The3D
7f44a0c242 Removed unused param in struct 2021-03-05 10:36:55 +01:00
The3D
eb9077f25e Refactored interest rate strategies tests 2021-03-01 20:26:08 +01:00
The3D
bc1a237f34 Added handleRepayment() function 2021-03-01 17:47:27 +01:00
The3D
e735d40a3b Merge branch 'feat/light-deployments' of github.com:aave/protocol-v2 into feat/light-deployments 2021-03-01 15:58:41 +01:00
The3D
03a410230d Updated interest rate strategy to generalize fetching of the available liquidity 2021-03-01 15:58:31 +01:00
The3D
77fab5d3bb Added encoded parameter to reserve initialization 2021-02-26 18:17:10 +01:00
eboado
0302339892 - Changed modifier on batchInitReserve() 2021-02-18 13:29:17 +01:00
Zer0dot
e729926543 Merge branch 'master' into feat/light-deployments-update 2021-02-05 10:03:11 -05:00
eboado
34d7642990 - Fixed incompatible initialize() interface on LendingPool 2021-01-31 22:06:10 +01:00
David Racero
d464b0d592 Pull master and fix conflicts 2021-01-29 13:27:12 +01:00
eboado
80fd095723 - Implemented protocol changes to enable re-usage of implementations. 2021-01-28 11:05:19 +01:00
David Racero
6a503eb0a8 Lint files. Add all ts and sol files to pre-commit. Add prettier format check to CI. 2021-01-27 15:43:34 +01:00
root
a9aff29b77 Flash liquidation fixes. Add working test for flash liquidation. Add Tenderly tests support. 2021-01-15 15:48:54 +00:00
The-3D
f6a33495e2 Merge branch 'fix/167-usage-collateral-liquidation' into 'master'
- Added set of usage as collateral to true on liquidator receiving aToken.

Closes #167

See merge request aave-tech/protocol-v2!193
2020-11-26 15:49:35 +00:00
eboado
3f070d67ec - Added set of usage as collateral to true on liquidator receiving aToken. 2020-11-26 16:44:32 +01:00
The3D
34264243be Merge branch 'master' into fix/159 2020-11-26 16:18:33 +01:00
The3D
47e80d7e4f Moved the mint action after the transfer 2020-11-26 15:57:03 +01:00
The-3D
e1f636ccd6 Merge branch 'fix/163-tokenization-docs' into 'master'
- Reviewed documentation of protocol/tokenization

Closes #163

See merge request aave-tech/protocol-v2!187
2020-11-26 14:08:28 +00:00
eboado
e418bcc01e - Added return of withdraw amount to withdraw() 2020-11-26 11:02:26 +01:00
eboado
3206c5297f - Added return value to repay() 2020-11-26 10:58:38 +01:00
eboado
7bcdce3090 - Reviewed tokenization documentation-wise
- Moved interaces in protocol/tokenization to the general interfaces/ folder.
2020-11-26 10:21:18 +01:00
eboado
00477d9334 - Added using to LendingPoolConfigurator 2020-11-25 16:17:08 +01:00
The3D
7d96451ced Updated comment 2020-11-25 15:31:27 +01:00
The3D
c997a910c8 Updated comment 2020-11-25 15:31:03 +01:00
The3D
43d64c4509 Updated LendingPoolConfigurator 2020-11-25 15:27:17 +01:00
The3D
f9290705a0 Removed space in comments 2020-11-25 13:45:52 +01:00
The3D
ee11faa573 Updated comments, renamed variales 2020-11-25 13:41:09 +01:00