Commit Graph

69 Commits

Author SHA1 Message Date
Hadrien Charlanes
c907d15e22 feat: borrowCap from 32 bits (4 billion max cap) to 48 bits (280 trilly) 2021-04-30 12:06:14 +02:00
Hadrien Charlanes
a9fce4dd4b feat: Added setBorrowCap in lendingpoolconfigurator 2021-04-29 09:51:37 +02:00
Hadrien Charlanes
32cfe739c7 fix-test: fixed max Borrow Cap, adapted test asset init, asset config 2021-04-28 17:42:41 +02:00
Hadrien Charlanes
6054fa0bd5 feat: Added borrowCap to enableBorrowing Configurato 2021-04-27 19:08:49 +02:00
Hadrien Charlanes
9a8eb294a0 fix: borrowCap from 16 to 32 bits 2021-04-27 19:04:29 +02:00
Hadrien Charlanes
05ca0c4ed1 fix: Addded decimals in borrowCap require 2021-04-27 19:01:28 +02:00
Hadrien Charlanes
7e02877966 refactor: fixed stack too deep 2021-04-27 18:37:13 +02:00
Hadrien Charlanes
03103fb63d adding stack too deep 2021-04-27 18:26:08 +02:00
Hadrien Charlanes
4ce1bfcb8c feat: added borrow cap to config 2021-04-23 17:32:07 +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
eboado
fa11327b59 - Added marketId and setter on LendingPoolAddressesProvider 2020-11-26 13:09:49 +01: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
a27239129f - Misc doc fixes 2020-11-26 10:37:04 +01:00
eboado
3ef75e4018 - Fix redeem() = withdraw() on docs 2020-11-26 10:29:53 +01:00