Hadrien Charlanes
|
2e1af3cadd
|
feat: added bool isPaused in data reserve config
|
2021-05-18 08:57:33 +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
|
899085450c
|
Merge branch 'master' into protocol-2.5
|
2021-05-15 01:06:29 +02:00 |
|
The3D
|
a06bc329cf
|
Merge branch 'protocol-2.5' into feat/gas-optimization-4
|
2021-05-14 20:15:32 +02:00 |
|
The3D
|
49db36726b
|
fix: update behavior of finalizeTransfer() to proper emit the ReserveUsedAsCollateralDisabled event
|
2021-05-14 20:00:37 +02:00 |
|
The3D
|
5d003429c7
|
feat: replaced SafeMath library
|
2021-05-13 19:56:55 +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
|
2507a2220b
|
comments: fixed comment for validateHealthFactor()
|
2021-05-13 16:42:14 +02:00 |
|
David Racero
|
4f7ce7e202
|
Merge branch 'master' into polygon-verifier
|
2021-05-11 12:55:17 +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 |
|
The3D
|
759e163cb3
|
Merge branch 'protocol-2.5' into feat/gas-optimization-1
|
2021-05-07 11:22:38 +02:00 |
|
The3D
|
506b8bccfe
|
Merge branch 'master' into protocol-2.5
|
2021-05-06 21:29:12 +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
|
6a952901d9
|
doc: documented new reserveConfigurationMap data structure
|
2021-04-30 17:43:00 +02:00 |
|
Hadrien Charlanes
|
1de5a303f4
|
feat: implemented supply cap
|
2021-04-30 17:35:16 +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 |
|
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 |
|
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
|
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 |
|
The3D
|
45acc0b854
|
refactor: improved variables naming
|
2021-04-27 17:21:36 +02:00 |
|
The3D
|
ada4994c7f
|
refactor: Replaced balanceOf() with scaledBalanceOf() + normalizedIncome/debt
|
2021-04-27 15:31:11 +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 |
|
sendra
|
c1c2cffd26
|
remove try catch as it doesnt catch the implementation exeption
|
2021-04-26 17:51:39 +02:00 |
|
sendra
|
d36b9fd14c
|
added other catch
|
2021-04-26 16:43:21 +02:00 |
|
sendra
|
f5f3adeb0f
|
removed error from catch so it catches everything
|
2021-04-26 16:29:30 +02:00 |
|
sendra
|
8b8736dc5a
|
Back to try catch, but with also 0 address catching
|
2021-04-26 15:26:36 +02:00 |
|
sendra
|
701c0793ce
|
fix: merged with master
|
2021-04-26 12:51:04 +02:00 |
|
sendra
|
60ee0c54eb
|
fix: added check if incentives contract is 0
|
2021-04-26 12:39:37 +02:00 |
|
sendra
|
60dc2346c8
|
fix: added try catch for incentives controller interactions
|
2021-04-26 12:26:30 +02:00 |
|
Hadrien Charlanes
|
a869be648b
|
refactor: created separate function to get Reserve Borrow cap, so interface for getReserveConfiguration remains identical
|
2021-04-26 09:17:02 +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 |
|
David Racero
|
2a19131b7a
|
feat: Updated to new interface of Incentives Controller
|
2021-04-21 18:00:00 +02:00 |
|
sendra
|
8000d838a3
|
Updated to new asset struct interface
|
2021-04-21 17:45:19 +02:00 |
|
sendra
|
21fc210901
|
fix: updated interface to last version
|
2021-04-19 17:17:30 +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 |
|
sendra
|
717bb133e1
|
added unclaimed user rewards
|
2021-04-08 13:55:01 +02:00 |
|
sendra
|
dc2943f2ec
|
removed incentives data, as it is hardcoded on client side
|
2021-04-07 17:44:29 +02:00 |
|
sendra
|
b84a486d10
|
removed extra external calls that are not needed
|
2021-04-06 16:17:04 +02:00 |
|