Commit Graph

805 Commits

Author SHA1 Message Date
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
emilio
a2d068a817 Merge branch 'master' into fix/87 2020-10-27 22:12:23 +01:00
emilio
1cd7f2d5a0 Fixed error on variable naming 2020-10-27 17:49:35 +01:00
emilio
276dee4918 Fixes#87 2020-10-27 17:22:51 +01:00
Ernesto Boado
7aca8679df Merge branch 'fix/55' into 'master'
Resolve "On `GenericLogic.balanceDecreaseAllowed()`, change HF validation to `>=`"

Closes #55

See merge request aave-tech/protocol-v2!98
2020-10-27 15:59:00 +00:00
emilio
28a6323763 fixed condition, local variable name 2020-10-27 16:57:05 +01:00
emilio
bd911de167 Fixed ReserveDataUpdated event 2020-10-27 15:09:11 +01:00
The-3D
7eb31124b2 Merge branch 'fix/83-msgSender' into 'master'
- Changed msg.sender to _msgSender()

See merge request aave-tech/protocol-v2!97
2020-10-27 14:05:03 +00:00
David Truong
8e64702013 Merge branch 'master' into 'feat/74'
# Conflicts:
#   deployed-contracts.json
2020-10-27 13:54:18 +00:00
eboado
87bbfb9571 - Changed msg.sender to _msgSender() 2020-10-27 14:42:11 +01:00
Ernesto Boado
c34a22e79f Merge branch 'feat/70-basic-flow-task' into 'master'
Feat/70 basic flow task

See merge request aave-tech/protocol-v2!83
2020-10-27 13:00:32 +00:00
David Truong
a517d5d11d - implement test for onBehalfOf flashloan borrow debt 2020-10-27 13:10:10 +01:00
The-3D
cb03bab6ea Merge branch 'fix/85-total-supply-shadowing' into 'master'
Fixes #85

Closes #85

See merge request aave-tech/protocol-v2!94
2020-10-27 12:05:49 +00:00
eboado
85246906e4 - Removed shadowing of totalSupply on IncentiveizedERC20 2020-10-27 13:04:07 +01:00
The-3D
b1fdd59c39 Merge branch 'feat/86-linear-interest-optimization' into 'master'
Fixes #86

Closes #86

See merge request aave-tech/protocol-v2!93
2020-10-27 12:02:32 +00:00
eboado
e88d9dc81b - Optimized calculateLinearInterest() on MathUtils. 2020-10-27 12:44:30 +01:00
The-3D
2fd3fe141a Merge branch 'fix/84-seconds-year-comment' into 'master'
Fixes #84

Closes #84

See merge request aave-tech/protocol-v2!92
2020-10-27 11:16:38 +00:00
David Truong
d78c89151b Merge remote-tracking branch 'origin/master' into feat/74 2020-10-27 12:14:34 +01:00
David Racero
1ef22f036b Fix conflicts 2020-10-27 12:12:05 +01:00
David Truong
e0660bda7b Merge remote-tracking branch 'origin/master' into feat/74
# Conflicts:
#	contracts/interfaces/ILendingPool.sol
#	contracts/lendingpool/LendingPool.sol
#	test/flashloan.spec.ts
2020-10-27 12:05:48 +01:00
pol
ddf17d7249 merged with master 2020-10-27 11:37:06 +01:00
Ernesto Boado
917ea0b4ea Merge branch 'fix/82' into 'master'
Resolve "Fix events for the subgraph implementation"

Closes #82

See merge request aave-tech/protocol-v2!91
2020-10-27 10:34:37 +00:00
emilio
1f8efbd4f5 Removed swapAdapter from the migration scripts 2020-10-27 11:08:11 +01:00
David Racero
161fb63f19 Added borrow rates deployment optimization and minor tweaks for deployment helpers 2020-10-27 10:58:51 +01:00
pol
52c21a38ba Merge branch 'master' of sendra.gitlab.com:aave-tech/protocol-v2 into feat/70-basic-flow-task 2020-10-27 10:49:34 +01:00
emilio
4834a587f5 Fixed the amountToWithdraw in withdraw event 2020-10-27 10:47:01 +01:00
eboado
0a6b1caad0 - Added comment to SECONDS_PER_YEAR constant 2020-10-27 10:44:37 +01:00
emilio
aba38a800f Fixed event for the avg stable rate 2020-10-27 10:36:02 +01:00
emilio
31a76ef047 Updated ILendingPool 2020-10-27 10:31:32 +01:00
Ernesto Boado
bb6b322925 Merge branch 'feat/80-optimization-addresses-prov-reg' into 'master'
Fixes #80

Closes #80

See merge request aave-tech/protocol-v2!89
2020-10-27 09:28:29 +00:00
Ernesto Boado
af1311a536 Merge branch 'feat/81-optimization-addresses-prov-reg' into 'master'
Fixes #81

Closes #81

See merge request aave-tech/protocol-v2!90
2020-10-27 09:28:26 +00:00
David Racero
e17f2ec814 Added collateral enable and stable migration optimization. 2020-10-26 17:43:10 +01:00
The-3D
85168f8ea7 Merge branch 'fix/78' into 'master'
Resolve "Extend flashloans to allow flashborrowing of multiple currencies"

Closes #78

See merge request aave-tech/protocol-v2!87
2020-10-26 13:14:42 +00:00
The-3D
d694a961b5 Merge branch 'fix/79' into 'master'
Resolve "Fix PVE006-2, PVE012, PVE013-1-2-3-4"

Closes #79

See merge request aave-tech/protocol-v2!88
2020-10-26 13:14:28 +00:00
David Truong
d2b52ced8f Merge commit 'ea66bf317030bd8e4caf9fdfe5b3933adc187fcc' into feat/74 2020-10-26 13:29:59 +01:00
David Truong
24d5c4766f [WIP] Adding onBehalfOf to flashloan 2020-10-26 13:27:31 +01:00
The3D
9c283fb4cb Fixed PVE014 2020-10-26 12:14:33 +01:00
The3D
7a8ed507f4 Fixes PVE013-4 2020-10-26 11:59:49 +01:00
The3D
5bd4fd0e13 Updated comment 2020-10-26 11:58:57 +01:00
David Racero
41592c4b48 Fix package lock CI 2020-10-26 11:53:00 +01:00
eboado
c14ea749c4 - Optimized length load on _addToAddressesProvidersList(). 2020-10-26 11:18:56 +01:00
The3D
14c4b750e1 Fixes PVE013 2020-10-26 11:18:25 +01:00