Commit Graph

1876 Commits

Author SHA1 Message Date
The-3D
93c0a9aae3
Merge pull request #131 from aave/fix/130-refactor-lp-configurator
Add LendingPool Configurator refactor
2021-05-28 20:21:59 +02:00
The3D
fe2e799fcf Merge branch 'protocol-2.5' into fix/130-refactor-lp-configurator 2021-05-28 20:21:34 +02:00
The-3D
dbd255e952
Merge pull request #95 from aave/feat/2.5-supply-and-borrow-caps
Feat/2.5 supply and borrow caps: aggregated
2021-05-27 12:38:48 +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
b63d29c1d6 fix: fixed test with wrong descimals in uniswap liquidity swap 2021-05-26 09:21:50 +02:00
Hadrien Charlanes
b6f8dedfca refactor: refactor validation logic after merging validateHealthFactor 2021-05-26 09:21:49 +02:00
Hadrien Charlanes
3dd51dcc0a fix: updated matic reserve config 2021-05-26 09:20:00 +02:00
Hadrien Charlanes
95860bc096 fix: named properly pause test 2021-05-26 09:20:00 +02:00
Hadrien Charlanes
2019b5f500 feat: implemented pause validation for reserve assets 2021-05-26 09:19:59 +02:00
Hadrien Charlanes
f60b8fffcf spec: added spec for reseve pause 2021-05-26 09:14:16 +02:00
Hadrien Charlanes
301b06b7f6 test: tested configurator 2021-05-26 09:14:16 +02:00
Hadrien Charlanes
3be81a0433 feat: added bool isPaused in data reserve config 2021-05-26 09:14:13 +02:00
Hadrien Charlanes
4b256f1c25 refactor: updated configs and tests for feat caps disabled by default 2021-05-25 14:46:27 +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
5b9dc19b69 fix: fixed small naming/erros in tests 2021-05-25 11:27:48 +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
a24a09a2bf test: configurator: added authorize/unauthorize test and check onlyAdmin missing on risk admin 2021-05-21 03:44:04 +02:00
Hadrien Charlanes
90eef1ffc6 test: added test for authorized flash borrowers 2021-05-21 03:44:00 +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
ec77fc3db4 doc: updated test naming 2021-05-21 03:34:20 +02:00
Hadrien Charlanes
2341eae52a test: added test for registering/ unregistering riskAdmins 2021-05-21 03:34:20 +02:00
Hadrien Charlanes
c1d05a13f2 test: added test for risk admin and updated configurator tests 2021-05-21 03:34:20 +02:00
Hadrien Charlanes
32944733bd feat: added risk admins 2021-05-21 03:34:20 +02:00
Hadrien Charlanes
f3418670f8 fix: fixed test with wrong descimals in uniswap liquidity swap 2021-05-20 12:17:47 +02:00
The-3D
53b27235ad
Merge pull request #126 from aave/feat/defender-integration
Add OpenZeppelin Defender Integration
2021-05-18 12:43:18 +02:00
miguelmtzinf
83d2989eb1 fix: Fix grammar typos on commments 2021-05-18 11:40:02 +02:00
miguelmtzinf
34c9bf209e fix: Fix typo of tenderlyRPC for tenderlyNetwork 2021-05-18 10:40:22 +02:00
Hadrien Charlanes
e18bd375cc refactor: refactor validation logic after merging validateHealthFactor 2021-05-18 10:18:55 +02:00
miguelmtzinf
64d37bcc70 fix: Fix @tenderly/hardhat-tenderly to 1.1.0-beta.5 2021-05-18 09:59:05 +02:00
Hadrien Charlanes
2f388c1b49 fix: updated matic reserve config 2021-05-18 09:40:39 +02:00
Hadrien Charlanes
1c69499f45 fix: named properly pause test 2021-05-18 09:40:08 +02:00
Hadrien Charlanes
05f66f0513 feat: implemented pause validation for reserve assets 2021-05-18 09:10:28 +02:00
Hadrien Charlanes
788ab15665 spec: added spec for reseve pause 2021-05-18 09:06:48 +02:00
Hadrien Charlanes
87e69e84e1 test: tested configurator 2021-05-18 08:58:27 +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
miguelmtzinf
1d78df4292 fix: Fix ts issue with DRE object 2021-05-17 18:15:04 +02:00
miguelmtzinf
e6684bf268 fix: Fix package-lock json 2021-05-17 18:01:52 +02:00
miguelmtzinf
93f9e6f678 feat: Add DEFENDER env variables to docker yml 2021-05-17 14:36:39 +02:00
miguelmtzinf
329a48cd03 feat: Add defender utils and use of signer 2021-05-17 14:35:21 +02:00