Hadrien Charlanes
|
46d14e9124
|
refactor: changed the order of requirements in validateDropReserve for easier testing
|
2021-06-08 17:57:15 +02:00 |
|
Hadrien Charlanes
|
68b7384146
|
rename: renamed NOT_NULL Errors to NOT_ZERO
|
2021-06-08 17:56:57 +02:00 |
|
Hadrien Charlanes
|
d0841097e6
|
fix: drop reserve logic updated
|
2021-06-08 17:56:39 +02:00 |
|
Hadrien Charlanes
|
52b903cd20
|
feat: configurator: added reserveDropped event
|
2021-06-08 17:55:25 +02:00 |
|
Hadrien Charlanes
|
776220d705
|
feat: removed user updates on droped reserves
|
2021-06-08 17:53:52 +02:00 |
|
Hadrien Charlanes
|
e2edf016eb
|
feat: added drop reserve main capability
|
2021-06-08 17:52:30 +02:00 |
|
The-3D
|
8926371a37
|
Merge pull request #117 from aave/feat/2.5-flashloan-whitelist
Feat/2.5 flashloan whitelist
|
2021-06-04 16:35:22 +02:00 |
|
Hadrien Charlanes
|
b03710b9dc
|
refactor: LendingPool: flash loan borrowers authorization functions merged into one
|
2021-06-04 09:55:36 +02:00 |
|
The3D
|
d013c6e9ce
|
test: added mintToTreasury() test
|
2021-06-03 11:09:48 +02:00 |
|
The3D
|
0326259c03
|
fix: added check to avoid dropped reserves
|
2021-06-01 20:41:35 +02:00 |
|
The3D
|
054dd5973e
|
fix: changed event name
|
2021-06-01 20:24:51 +02:00 |
|
The3D
|
ec0199e3d7
|
Merge branch 'protocol-2.5' into feat/gas-optimization-3
|
2021-06-01 20:22:58 +02:00 |
|
Hadrien Charlanes
|
b591db752c
|
post-merge: cleaning after conflicts resolution
|
2021-06-01 10:11:58 +02:00 |
|
Hadrien Charlanes
|
ad6f2d2ede
|
Merge branch 'feat/2.5-pause-one-reserve' into feat/2.5-flashloan-whitelist
|
2021-06-01 10:04:10 +02:00 |
|
Hadrien Charlanes
|
b98bafdcaf
|
doc: configurator added natspec to risk admin auth related function
|
2021-05-31 17:19:06 +02:00 |
|
Hadrien Charlanes
|
33d582b4ec
|
post-rebase: fixed last conflicts remaining after rebase
|
2021-05-31 13:51:31 +02:00 |
|
Hadrien Charlanes
|
0ebb815591
|
feat: added right to freeze/unfreeze to whitelisted risk admins
|
2021-05-31 13:43:08 +02:00 |
|
Hadrien Charlanes
|
0b0996b49c
|
feat: added risk admins
|
2021-05-31 13:39:53 +02:00 |
|
Hadrien Charlanes
|
992e026075
|
revert: Revert control access of transfer back to LendingPool contract
|
2021-05-31 10:49:25 +02:00 |
|
Hadrien Charlanes
|
15a1d1608a
|
merge-fix: finishing resolving conflicts: naming convention. Fix: removed transfer aToken origin check from lendingPool to Validation Logic
|
2021-05-31 10:37:42 +02:00 |
|
Hadrien Charlanes
|
a9ac7a3b2f
|
merge: adding netscap doc, rename pool to _pool, adding pause reserve function to configurator interface
|
2021-05-31 10:18:58 +02:00 |
|
The3D
|
fe2e799fcf
|
Merge branch 'protocol-2.5' into fix/130-refactor-lp-configurator
|
2021-05-28 20:21:34 +02:00 |
|
Hadrien Charlanes
|
a4b6064f56
|
rebase: resolved conflicts after rebase: market config, internal/external validation for codesize and fixed bad conflict resolution
|
2021-05-26 09:27:45 +02:00 |
|
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
|
62f3f47b84
|
feat: supply cap now by default disabled
|
2021-05-25 14:20:09 +02:00 |
|
Hadrien Charlanes
|
f30d5baf8e
|
doc: updated docs for supply & borrow caps, 48 -> 36 bits
|
2021-05-25 13:44:04 +02:00 |
|
Hadrien Charlanes
|
099b1f0b05
|
fix: from 48 to 36 bits caps, added memory lib getters for caps
|
2021-05-25 11:23:37 +02:00 |
|
Hadrien Charlanes
|
7a40b944df
|
fix: cached reserve parameters in validateDeposit and validateBorrow
|
2021-05-25 11:22:13 +02:00 |
|
Hadrien Charlanes
|
56bf996885
|
fix: configurator: added event borrowCapChanged in enableBorrowingOnReserve function
|
2021-05-25 09:48:08 +02:00 |
|
miguelmtzinf
|
98c5bfb9a0
|
fix: Add interface @inheritdoc to LendingPoolConfigurator
|
2021-05-25 07:40:53 +02:00 |
|
The3D
|
26a09f2ba8
|
refactor: changed _mintToTreasury() function name
|
2021-05-24 19:39:13 +02:00 |
|
miguelmtzinf
|
24a082ff1a
|
fix: Expose functions of LP Configurator in its interface
|
2021-05-24 17:31:12 +02:00 |
|
miguelmtzinf
|
53c1617b32
|
fix: Rename internal variables of LP Configurator adding _ as prefix
|
2021-05-24 17:30:51 +02:00 |
|
Hadrien Charlanes
|
717db22980
|
fix: LendingPool/ValidationLogic: validation logic functions from internal to external for bytecodesize requirements
|
2021-05-21 10:33:14 +02:00 |
|
Hadrien Charlanes
|
335b13e891
|
review-fix: mul => percentMul in premium
|
2021-05-21 03:44:04 +02:00 |
|
Hadrien Charlanes
|
5a1e87ae09
|
rename: renamed flashloaner => flashBorrower
|
2021-05-21 03:43:04 +02:00 |
|
Hadrien Charlanes
|
ccad06fc94
|
feat: added authorized flashloaners
|
2021-05-21 03:43:04 +02:00 |
|
Hadrien Charlanes
|
32944733bd
|
feat: added risk admins
|
2021-05-21 03:34:20 +02:00 |
|
Hadrien Charlanes
|
e18bd375cc
|
refactor: refactor validation logic after merging validateHealthFactor
|
2021-05-18 10:18:55 +02:00 |
|
Hadrien Charlanes
|
05f66f0513
|
feat: implemented pause validation for reserve assets
|
2021-05-18 09:10:28 +02:00 |
|
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
|
7395363e59
|
Merge branch 'protocol-2.5' into feat/gas-optimization-3
|
2021-05-15 00:28:21 +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
|
2507a2220b
|
comments: fixed comment for validateHealthFactor()
|
2021-05-13 16:42:14 +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 |
|