Commit Graph

228 Commits

Author SHA1 Message Date
The3D
543c3f5c9c Merge branch 'master' into fix/62 2020-10-13 13:41:57 +02:00
The3D
aea61d57ab Fixed tests code 2020-10-12 20:07:17 +02:00
The3D
53d6114775 Merge branch 'master' into feat/18 2020-10-12 15:19:27 +02:00
The-3D
fc9b096f23 Merge branch 'fix/60-flashloan-attack' into 'master'
Fixes #60

Closes #60

See merge request aave-tech/protocol-v2!68
2020-10-12 13:11:38 +00:00
The3D
d150458604 Merge branch 'master' into feat/18 2020-10-08 15:41:48 +02:00
eboado
273070fada Added return uint256 validation to flashLoan() 2020-10-07 16:20:32 +02:00
The3D
f3852d7081 Updated test on liquidation bonus 2020-10-06 11:36:29 +02:00
The3D
b88bdc8c2c updated test on liquidation threshold, reserve factor 2020-10-06 11:34:50 +02:00
The3D
d77e5ce5be Added test on disable stable borrow rate 2020-10-06 11:30:10 +02:00
The3D
b30ccd6dd2 Added test on disable stable borrow rate 2020-10-06 11:28:46 +02:00
The3D
35db5833fa Added test on disable stable borrow rate 2020-10-06 11:27:53 +02:00
The3D
3fd4003aa0 Added test on deactivate as collateral 2020-10-06 11:20:45 +02:00
The3D
450cdfa95c Updated tests on enableBorrowingOnReserve 2020-10-06 11:03:51 +02:00
The3D
bad45772c1 Updated tests on unfreeze 2020-10-06 11:02:34 +02:00
The3D
4d991e6709 Updated tests on freeze, borrowingEnabled 2020-10-06 10:59:33 +02:00
eboado
3343769510 - Added setter tests for setAddress() on LendingPoolAddressesProvider 2020-09-29 17:00:51 +02:00
eboado
099532ee48 - Added general setter and getter of address to LendingPoolAddressesProvider.
- Adapted style of LendingPoolAddressesProviderRegistry, adding public getter function in the process.
2020-09-29 16:31:21 +02:00
The3D
6d1fede2c9 Removed selected scenario from the scenario file 2020-09-25 13:48:42 +02:00
The3D
f0191909a2 Added more setUseReserveAsCollateral() scenarios tests 2020-09-25 11:51:35 +02:00
The3D
35044941b0 Fix test related to the LTV change 2020-09-25 11:20:12 +02:00
David Racero
ffc81df4ee Fix conflicts and renamings 2020-09-24 17:48:29 +02:00
The3D
7be723c773 Adds 100% test coverage to the addressesProviderRegistry 2020-09-23 17:59:43 +02:00
The3D
7c892ec4ba added test on removal of an addresses provider 2020-09-23 12:34:53 +02:00
The3D
2a5547570c Adds another addresses provider test 2020-09-23 11:25:35 +02:00
The3D
06d16c6abf Added initial test for the registry 2020-09-23 11:21:49 +02:00
The3D
12f1dbd0dc Readded calculateAvailableBorrowsETH 2020-09-21 22:08:44 +02:00
The3D
2e30bb8b85 Fixed error on rebalance conditions, changed style of internal functions 2020-09-21 21:15:12 +02:00
The3D
75579e5d28 Merge branch 'master' into fix/45 2020-09-21 20:19:28 +02:00
The3D
07db321b4d updated rebalance conditions,tests 2020-09-21 19:52:22 +02:00
The3D
8ed9b88163 fixed last tests on repayWithCollateral 2020-09-21 16:07:26 +02:00
The3D
56be9304c2 Fixed rebalance rate tests 2020-09-21 15:52:53 +02:00
The3D
6f9ff11e49 Fixed credit delegation tests 2020-09-21 15:35:22 +02:00
The3D
a1a45d392a Updating rebalance rate tests 2020-09-21 15:27:53 +02:00
The3D
8792515f5b fixed swap rate mode tests 2020-09-21 14:29:59 +02:00
The3D
c8b044aecf Fixed borrow tests 2020-09-21 12:29:33 +02:00
The3D
52033bae21 Added console logs 2020-09-18 18:03:38 +02:00
The3D
5868a4844f Updated testsW 2020-09-18 17:56:33 +02:00
The3D
13f6c264b3 Partially fixed repay tests 2020-09-17 19:05:22 +02:00
The3D
72e2102529 removed other console.log 2020-09-17 16:40:23 +02:00
The3D
6df8a7a6e0 Removed console.log 2020-09-17 16:38:15 +02:00
The3D
bfe0657b1a Updated code to fix deposit and withdraw tests 2020-09-17 16:37:51 +02:00
The3D
e4890a14c2 Merge branch 'master' into fix/34 2020-09-17 11:55:38 +02:00
The3D
5b38bb144b Updated borrow calculations on scenarios 2020-09-17 11:52:10 +02:00
The3D
7986a4704b Fixed mintToTreasury function 2020-09-17 10:53:55 +02:00
The3D
274b63713d Merge branch 'master' into fix/34 2020-09-16 16:34:29 +02:00
andyk
9594571761 Merge branch 'master' into 41-rename-liqudiationmanager 2020-09-16 15:22:55 +01:00
andyk
2a6248c6d2 misc renaming 2020-09-16 15:09:42 +03:00
Ernesto Boado
b182731074 Merge branch 'feat/pei-integration' into 'master'
Integration of pei

See merge request aave-tech/protocol-v2!49
2020-09-16 11:17:05 +00:00
andyk
66113d64a2 rename LendingPoolLiquidationManager -> LendingPoolCollateralManager 2020-09-16 13:41:12 +03:00
andyk
83e0318bc6 add logic to set usageAsCollateralEnabled for the user if his balance was 0 before swap 2020-09-16 13:30:57 +03:00