Commit Graph

74 Commits

Author SHA1 Message Date
emilio
303600a526 fix: added return values to seize() 2021-09-01 17:34:25 +02:00
emilio
7a2eece3ad fix: updated condition on isPermissionAdminOf 2021-09-01 17:24:08 +02:00
The3D
261bf737ea refactor: refactored modifiers 2021-08-04 13:49:09 +02:00
The3D
7ebd95e22e feat: implemented the seize function 2021-06-30 13:12:14 +02:00
The3D
b3f7c1e883 fix: fixed permission on repay 2021-06-30 09:48:58 +02:00
The3D
24570c90c9 feat: added check on the permission admin validity on the borrow/deposit/liquidate actions 2021-06-25 14:04:19 +02:00
The3D
6d30477950 feat:store permissionAdmin per user 2021-06-25 11:10:01 +02:00
The3D
f228a5d16a feat: changed behavior for the validation of depositors and borrowers in deposit() and repay() 2021-05-20 18:48:30 +02:00
The3D
f2e8c2337d feat: adjusted lendingpool permissions 2021-05-20 17:08:33 +02:00
The3D
088d2733cf feat: added isInAnyRole, isInAllRoles 2021-05-20 11:38:22 +02:00
The3D
3542b88202 feat: added permissioned market implementation to the public repo 2021-04-23 20:30:07 +02:00
The3D
6230f2b034 Merge branch 'master' into protocol-2.5 2021-04-23 18:59:12 +02:00
Zer0dot
5f817c7c09 fix: removed unused hardhat console import 2021-04-19 11:04:04 -04:00
The3D
94790ecc46 Fixed interface update 2021-04-12 11:10:22 +02:00
Hadrien Charlanes
2ae2680834 Added permit to IAToken interface 2021-04-02 09:24:27 +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
03dc5370ee Added initialized events 2021-03-01 18:33:48 +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
David Racero
a72b73d804 Merge branch 'master' of gitlab.com:aave-tech/protocol-v2 into 183-flash-liquidation-adapter 2021-01-20 09:27:33 +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
eboado
3b11a4dca1 - Fix non-initialized vars.rateMode on borrow validation 2020-12-22 10:13:57 +01:00
eboado
aa7c124a11 - Added credit delegation interface to debt tokens. 2020-11-30 18:16:25 +01:00
eboado
18ce2b3637 - Added view to getMarketId() 2020-11-30 09:23:31 +01:00
The3D
798231306b Updated event on burn of stable debt 2020-11-27 16:51:21 +01:00
eboado
5e9ccb5244 - Added getter to _marketId 2020-11-27 10:00:11 +01:00
The-3D
b7bae0cb67 Merge branch 'feat/166-market-id' into 'master'
- Added marketId and setter on LendingPoolAddressesProvider

Closes #166

See merge request aave-tech/protocol-v2!189
2020-11-26 16:13:04 +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
Ernesto Boado
3b85560340 Merge branch '170-move-mint-after-the-transfer-in-deposit' into 'master'
Resolve "Move mint() after the transfer in deposit()"

Closes #170

See merge request aave-tech/protocol-v2!191
2020-11-26 15:17:03 +00:00
eboado
fce475ee91 Merge branch 'master' into feat/168-remove-initialize 2020-11-26 16:03:12 +01:00
eboado
b2a871f8f7 - Removed unneed (and potentially harmful) initialize() from DelegationAwareAToken. 2020-11-26 16:02:51 +01:00
The3D
47e80d7e4f Moved the mint action after the transfer 2020-11-26 15:57:03 +01:00
eboado
73c1934ada - Done less strict some other comparison with max of types 2020-11-26 15:46:09 +01:00
eboado
977a25aee2 - Relax condition on cumulateToLiquidityIndex() 2020-11-26 15:41:28 +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
The3D
51d3bd0430 Updated comment 2020-11-26 14:58:42 +01:00
The3D
e16d33a4d7 Updated comment 2020-11-26 14:57:52 +01:00
The3D
56aca3e156 Updated comment 2020-11-26 14:57:06 +01:00