Commit Graph

796 Commits

Author SHA1 Message Date
eboado
7227717a7a - Removed modes from validateFlashLoan. Not needed as executeBorrow() will fail. 2020-10-30 12:06:02 +01:00
The-3D
386138cc9c Merge branch 'feat/101-first-borrowing-on-debt-tokens' into 'master'
Added return of is first borrowing on debt tokens mint()

Closes #101

See merge request aave-tech/protocol-v2!110
2020-10-30 10:58:36 +00:00
emilio
decf652e19 Removed variable 2020-10-30 11:55:50 +01:00
eboado
af6b370f0e - Removed from memory struct debtMode on flashLoan() 2020-10-30 11:55:28 +01:00
eboado
910fa2dce6 - Added indexed to flash loan events. 2020-10-30 11:52:00 +01:00
The-3D
4ed808efdb Merge branch 'fix/103' into 'master'
Resolve "Fix PVE025"

Closes #103

See merge request aave-tech/protocol-v2!112
2020-10-30 10:50:12 +00:00
eboado
092aacc85a - Added initiator to flash loan event. 2020-10-30 11:49:23 +01:00
eboado
de7ec39f24 - Fixed comment on ILendingPool 2020-10-30 11:42:27 +01:00
eboado
1954f609c2 Merge branch 'master' into 100/flash-loan-bath-modes 2020-10-30 11:40:31 +01:00
emilio
a49f2744ee Updated comments 2020-10-30 11:38:49 +01:00
emilio
7ae9a2df8f Updated variable names 2020-10-30 11:36:53 +01:00
pistiner
22353eeee5 Fixes to run on VariableDebtToken 2020-10-30 01:07:30 +02:00
pistiner
9da3fefb26 Merge branch 'master' of https://gitlab.com/aave-tech/protocol-v2 into certora/integration 2020-10-29 23:26:21 +02:00
pistiner
5cc6acce86 Updates in the specification of StableDebtToken 2020-10-29 23:19:11 +02:00
emilio
e4dc22e50e Fixed events, removed unused constants in addressesProvider 2020-10-29 18:03:19 +01:00
Ernesto Boado
6b26e39d5f Merge branch 'feat/74' into 'master'
Feat/74 - Add `onBehalf` for flashloan(), to open debt if debt mode selected

Closes #74

See merge request aave-tech/protocol-v2!96
2020-10-29 15:08:18 +00:00
David Truong
f546d21c97 Merge branch 'feat/74' of gitlab.com:aave-tech/protocol-v2 into feat/74 2020-10-29 15:55:20 +01:00
David Truong
d373b9beb8 Fix for pausable-function flashloan test 2020-10-29 15:53:38 +01:00
Ernesto Boado
b7f47d160e Merge branch 'fix/99' into 'master'
Resolve "Set the isUsedAsCollateral flag on aToken transfers"

Closes #99

See merge request aave-tech/protocol-v2!107
2020-10-29 14:48:48 +00:00
eboado
913a6a9237 - Added batch of modes to flashLoan() 2020-10-29 15:14:28 +01:00
eboado
38bb760112 - Added return of is first borrowing on debt tokens mint() 2020-10-29 14:55:11 +01:00
Ernesto Boado
c4753bec66 Merge branch 'fix/75-improve-migration-scripts' into 'master'
Resolve "Improve migration scripts"

Closes #67, #76, and #75

See merge request aave-tech/protocol-v2!84
2020-10-29 13:45:18 +00:00
eboado
edfe17bd97 - Added batch to credit delegation 2020-10-29 14:36:01 +01:00
David Racero
c187440f84 Merge branch 'master' of gitlab.com:aave-tech/protocol-v2 into fix/75-improve-migration-scripts 2020-10-29 14:11:00 +01:00
emilio
3f7d913fd4 Fixed issue on 0 transfer, added check that the caller must be an aToken 2020-10-29 13:43:24 +01:00
The-3D
ecd2c04001 Merge branch 'fix/96-remove-bit-movements' into 'master'
Fixes #96

Closes #96

See merge request aave-tech/protocol-v2!108
2020-10-29 11:50:22 +00:00
eboado
6cd18c4320 - Simplified getter of boolean fields on ReserveConfiguration.
- Added all 256 bits to masks on ReserveConfiguration for clarity.
2020-10-29 12:09:07 +01:00
emilio
2cf84f19ce removed console import 2020-10-29 12:03:26 +01:00
emilio
9e55ea12b6 Fixes #99 2020-10-29 11:57:43 +01:00
pistiner
d4f0e05f06 Fixes to run on UserConfiguration library 2020-10-29 01:58:20 +02:00
pistiner
4030d48787 Fixes to run on StableDebtToken contract 2020-10-29 01:57:15 +02:00
pistiner
a63e337222 Updated spec harness and run.sh for VariableDebtToken contract 2020-10-29 01:20:38 +02:00
pistiner
85a1ec040f merge master into certora/integration 2020-10-29 00:54:06 +02:00
David Racero
a966d9f53f Added new StringLib library with concat to reuse function in deployment helpers. 2020-10-28 18:39:19 +01:00
David Racero
1ef1f614bd Remove extra whitespace 2020-10-28 18:13:31 +01:00
The-3D
251bd591f5 Merge branch 'fix/88-validations-configs' into 'master'
Fixes #88

Closes #88

See merge request aave-tech/protocol-v2!101
2020-10-28 14:55:04 +00:00
David Racero
0d87292867 Fix merge conflicts. Fix ETH to WETH symbol change 2020-10-28 15:49:50 +01:00
Ernesto Boado
47d00a0e3a Merge branch 'fix/98' into 'master'
Resolve "Optimize percentageMath and wadRayMath"

Closes #98

See merge request aave-tech/protocol-v2!100
2020-10-28 13:41:52 +00:00
The-3D
a9c3a033ac Merge branch 'fix/95-cache-reserves-count' into 'master'
Fixes #95

Closes #95

See merge request aave-tech/protocol-v2!105
2020-10-28 11:46:37 +00:00
The-3D
437f6d8dc9 Merge branch 'fix/92-93-94-comments' into 'master'
Fixes #92 #93 #94

Closes #94, #93, and #92

See merge request aave-tech/protocol-v2!104
2020-10-28 11:44:36 +00:00
emilio
e91e3595d6 Updated PercentageMath 2020-10-28 12:39:11 +01:00
eboado
232743c332 - Cached _reservesCount on _addReserveToList() 2020-10-28 12:02:40 +01:00
eboado
a9a863fcb4 - Fixes misc comments on LendingPoolAddressesProviderRegistry. 2020-10-28 11:56:10 +01:00
eboado
3f714b9dc8 - Fixed non-initialized availableLiquidity on validateBorrow() 2020-10-28 11:48:55 +01:00
emilio
064af06385 updated percentageMath 2020-10-28 11:47:01 +01:00
David Racero
13737e0994 Show WETH instead of ETH 2020-10-28 11:27:16 +01:00
emilio
763220c2b9 Merge branch 'master' of gitlab.com:aave-tech/protocol-v2 2020-10-28 10:54:35 +01:00
emilio
245077a6eb Updated gitignore 2020-10-28 10:54:20 +01:00
eboado
6be8b1c5fd - Added validations on ReserveConfiguration's numeric setters. 2020-10-28 10:54:09 +01:00
Ernesto Boado
813fb21847 Merge branch 'fix/87' into 'master'
Resolve "Fix PVE020: Invalid  calculation of the stable debt in mintToTreasury"

Closes #87

See merge request aave-tech/protocol-v2!99
2020-10-28 09:52:24 +00:00