Commit Graph

1811 Commits

Author SHA1 Message Date
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
miguelmtzinf
d6f92a6fad feat: Add defender-relay-client dependency 2021-05-17 14:06:48 +02:00
Hadrien Charlanes
72eb085c12 fix: updated test with correct deposited amounts 2021-05-17 13:08:07 +02:00
The3D
899085450c Merge branch 'master' into protocol-2.5 2021-05-15 01:06:29 +02:00
The3D
7395363e59 Merge branch 'protocol-2.5' into feat/gas-optimization-3 2021-05-15 00:28:21 +02:00
The-3D
3732fd979c
Merge pull request #116 from aave/feat/gas-optimization-4
Feat/gas optimization 4
2021-05-14 20:26:18 +02:00
The3D
a06bc329cf Merge branch 'protocol-2.5' into feat/gas-optimization-4 2021-05-14 20:15:32 +02:00
The-3D
bd86304872
Merge pull request #103 from aave/feat/gas-optimization-2
Protocol 2.5 - gas optimization 2
2021-05-14 20:14:01 +02:00
The3D
49db36726b fix: update behavior of finalizeTransfer() to proper emit the ReserveUsedAsCollateralDisabled event 2021-05-14 20:00:37 +02:00
The-3D
2aeb420b61
Merge pull request #104 from aave/fix/101-support-registry-config
fix: kovan deployment scripts
2021-05-14 15:07:40 +02:00
David Racero
9b06eb1477 feat: Improve readability of fork configuration. Support FORK_BLOCK_NUMBER enviroment variable. 2021-05-14 14:47:19 +02:00
David Racero
e15bdec898 feat: remove deprecated task initialize-tokens 2021-05-14 09:39:48 +02:00
David Racero
37ba4765ea fix: solve conflicts from master 2021-05-14 09:26:22 +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