Commit Graph

1714 Commits

Author SHA1 Message Date
David Racero
9de0fe2bc3 Fix conflicts. Stable config implementation. Migrate from constants to configuration files per pool. Skip script loads while compilation. 2020-08-25 17:15:27 +02:00
pol
5841e51439 Updated require message errors with constant string numbers to reduce gas 2020-08-25 15:57:54 +02:00
pol
0f5017cc81 Updated require message errors with constant string numbers to reduce gas 2020-08-25 15:51:52 +02:00
pol
abe967c707 Updated require message errors with constant string numbers to reduce gas 2020-08-25 15:32:22 +02:00
Ernesto Boado
cd09d04d30 Merge branch 'fix/lp-gas-optimization' into 'master'
Small lending pool gas optimization

See merge request aave-tech/protocol-v2!34
2020-08-25 12:59:12 +00:00
eboado
5435620e41 - Added tests to cover flashLoan(). 2020-08-25 14:50:07 +02:00
David Racero
cf70929eee Merge and fix conflicts 2020-08-25 14:15:35 +02:00
eboado
75da6e0fba - Adapted flashLoan() for partial debt opening. 2020-08-25 12:55:05 +02:00
andyk
b0ddb815b8 small lending pool gas optimization 2020-08-25 13:37:38 +03:00
Ernesto Boado
eba3b5260f Merge branch 'fix/interest-strategy-styliguide' into 'master'
Refactoring of DefaultReserveInterestRateStrategy to follow the stuileguide

See merge request aave-tech/protocol-v2!32
2020-08-25 09:11:58 +00:00
Ernesto Boado
639a2f2df0 Merge branch 'fix/lending-pool-styleguide' into 'master'
Fixes in lendingpool folder to follow our styleguide

See merge request aave-tech/protocol-v2!33
2020-08-25 09:11:07 +00:00
andyk
4b00cde616 fixes in lendingpool folder to follow our styleguide 2020-08-25 11:53:58 +03:00
David Racero
4d96f57539 WIP Config boilerplate 2020-08-24 16:18:10 +02:00
andyk
da5b6738c1 refactoring of DefaultReserveInterestRateStrategy to follow the stuileguide 2020-08-24 15:35:59 +03:00
David Racero
32620e5a57 Upload types to allow compilation 2020-08-24 10:48:55 +02:00
David Racero
957f4921d6 Moved type outside of types due missing types prior compilation 2020-08-24 10:29:54 +02:00
David Racero
4ecf8a9b86 Sync package lock 2020-08-24 10:09:08 +02:00
The3D
dfe865fc76 Removed unused code in tests 2020-08-24 01:46:15 +02:00
The3D
b2d8a9e053 Removed ETH specific logic in tests 2020-08-24 01:41:10 +02:00
The3D
d86aafda0c Fix on the interest rate update 2020-08-24 01:32:46 +02:00
The3D
dce7a73dda Renamed flashloan fee in premium 2020-08-24 01:30:01 +02:00
The3D
928770d9d5 Updated flashloans V2 2020-08-24 01:22:14 +02:00
The3D
e04d1881a1 Removed tests logfile 2020-08-23 18:42:15 +02:00
The3D
d833157cf4 Updated flashloans to transferFrom the receiver instead of checking that the funds where sent back 2020-08-23 18:38:34 +02:00
The3D
9377a137f1 Updated flashloan function 2020-08-23 16:49:23 +02:00
The3D
8e3c1a048b Merge branch 'master' into fix/23 2020-08-23 16:41:35 +02:00
The3D
70eb126b58 Removed ReentrancyGuard from LiquidationManager 2020-08-23 16:35:01 +02:00
The3D
9ad8189966 Removed reentrancy 2020-08-23 16:31:31 +02:00
The3D
3e951e7bcb Removed buidler-gas-reporter 2020-08-23 12:37:21 +02:00
The3D
03ec940109 Changed the indexes and rates type to uint128 2020-08-23 11:13:43 +02:00
The3D
5b7a2f2a55 Optimized debt tokens 2020-08-22 19:33:55 +02:00
The3D
4d054dd56d Optimized MathUtils, ReserveLogic 2020-08-22 13:01:41 +02:00
The3D
06fbe2d2a4 Removed SafeMath from WadRayMath, PercentageMath 2020-08-22 12:04:34 +02:00
Andrey Ko
45cb9ab680 Merge branch 'fix/22' into 'master'
Resolve "FIx the libraries folder to follow our internal guidelines"

Closes #22

See merge request aave-tech/protocol-v2!27
2020-08-21 20:34:28 +00:00
The3D
796dc8ee3f Updated repay function 2020-08-21 19:10:48 +02:00
The3D
9a4ccde6a2 Removed obsolete code 2020-08-21 19:00:08 +02:00
The3D
955d2be1da Merge branch 'master' into fix/22 2020-08-21 18:48:16 +02:00
The-3D
579f38e82a Merge branch 'fix/interfaces-guideline' into 'master'
Refactoring interfaces and config folders to fit current guideline

See merge request aave-tech/protocol-v2!28
2020-08-21 16:46:12 +00:00
The3D
bd0377198c Merge branch 'master' into fix/interfaces-guideline 2020-08-21 18:36:03 +02:00
The-3D
704aae7dba Merge branch 'fix/flash-loan-guideline' into 'master'
Refactoring flashloan folder to fit current guideline, move events to interfaces

See merge request aave-tech/protocol-v2!29
2020-08-21 16:31:47 +00:00
The3D
2ce03614a1 Deleted log files 2020-08-21 18:28:11 +02:00
The3D
1864c7abf4 Updated libraries, renamed internal methods 2020-08-21 18:18:12 +02:00
David Racero
d7ee67cc21 fix npm script 2020-08-21 17:39:48 +02:00
David Racero
fdb64abfda Added missing helper 2020-08-21 17:34:43 +02:00
David Racero
f9fddfba59 Fix conflicts 2020-08-21 17:19:25 +02:00
David Racero
0a173a587b Added pool configuration manager with "config" library. 2020-08-21 17:11:15 +02:00
andyk
13f4d34867 refactoring flashloan folder to fit current guideline, move events to interfaces 2020-08-21 17:03:01 +03:00
The3D
78cf1d5bfd Merge branch 'master' into fix/22 2020-08-21 16:00:51 +02:00
andyk
2d0325a3d2 refactoring interfaces and config folders to fit current guideline 2020-08-21 16:38:47 +03:00
Andrey Ko
cdc7e4effc Merge branch 'fix/21' into 'master'
Resolve "Align the usage of _ to our internal guidelines"

Closes #21

See merge request aave-tech/protocol-v2!24
2020-08-21 13:23:53 +00:00