Commit Graph

1065 Commits

Author SHA1 Message Date
The-3D
cdfd16b626 Merge branch 'fix/143-remove-receive' into 'master'
- Removed not needed receive() on LendingPool

Closes #143

See merge request aave-tech/protocol-v2!164
2020-11-11 15:08:19 +00:00
eboado
82268e6a5e - Removed not needed receive() on LendingPool 2020-11-11 16:05:44 +01:00
The-3D
c86f6d25d9 Merge branch 'fix-borrow-rep-susd' into 'master'
Allow sUSD and REP to be borrowed

See merge request aave-tech/protocol-v2!163
2020-11-11 15:03:04 +00:00
David Racero
0ae87413ba Allow sUSD and REP to be borrowed 2020-11-11 16:00:12 +01:00
Ernesto Boado
9fdd9f11da Merge branch 'fix/150' into 'master'
Resolve "Fix calculation on burning of stableDebt"

Closes #150

See merge request aave-tech/protocol-v2!161
2020-11-11 14:58:07 +00:00
The-3D
1ea047a939 Merge branch 'fix/142-liquidationCall-require' into 'master'
- Changed to require on result on liquidationCall()

Closes #142

See merge request aave-tech/protocol-v2!162
2020-11-11 14:58:03 +00:00
The3D
81c0fbcb02 Fixes stable borrow debt 2020-11-11 15:54:08 +01:00
eboado
9b04f21ae0 - Changed to require on result on liquidationCall() 2020-11-11 15:52:42 +01:00
The-3D
c01e77b55b Merge branch 'rollback-susd-decimals' into 'master'
Use new sUSD testnet token with 18 decimals

See merge request aave-tech/protocol-v2!159
2020-11-11 12:09:34 +00:00
David Racero
5726bf7abc Kovan release 2020-11-11 13:04:05 +01:00
David Racero
0b164d2049 Add sUSD testnet token with 18 decimals 2020-11-11 12:43:31 +01:00
David Racero
de20c0e6ec Rollback sUSD decimals to 18 2020-11-11 12:01:15 +01:00
Ernesto Boado
f73db4dbd9 Merge branch 'feat/token-verification-loop-and-fix-lending-rate-oracle-task' into 'master'
Fixes task related with LendingOracle. Add token verification task.

See merge request aave-tech/protocol-v2!157
2020-11-11 10:29:17 +00:00
David Racero
b4709de5d3 Fix decimals for SUSD 2020-11-11 11:22:56 +01:00
Ernesto Boado
501bbe3be3 Merge branch 'kovan-release-v2' into 'master'
Kovan release

See merge request aave-tech/protocol-v2!156
2020-11-11 09:43:42 +00:00
David Racero
cf32c1f84f Fixes task related with LendingOracle. Add token verification task. 2020-11-10 21:16:31 +01:00
David Racero
2d8f52b86c Kovan deployment release 2020-11-10 19:18:36 +01:00
David Racero
cb5a0aa80d Kovan release 2020-11-10 18:56:31 +01:00
Andrey Ko
1be6b5fbc9 Merge branch 'fix/135' into 'master'
Resolve "Add a validation that liq threshold <= 100%-liq bonus on configureReserveAsCollateral()"

Closes #135

See merge request aave-tech/protocol-v2!155
2020-11-10 17:33:03 +00:00
The3D
80997ea965 Added checks on liquidationBonus 2020-11-10 18:16:27 +01:00
The-3D
18446c7ecd Merge branch '134-add-check-on-initreserve-that-asset-is-a-valid-contract' into 'master'
Resolve "Add check on initReserve() that asset is a valid contract"

Closes #134

See merge request aave-tech/protocol-v2!153
2020-11-10 17:05:11 +00:00
David Racero
2d5e651959 Fix conflicts 2020-11-10 17:52:23 +01:00
David Racero
743eb6ec29 Added isContract to check asset at LendingPool.initResetve function 2020-11-10 17:50:13 +01:00
The-3D
3fc812e7fb Merge branch 'fix/130' into 'master'
Resolve "Add a modifier for _whenNotPaused()"

Closes #130

See merge request aave-tech/protocol-v2!152
2020-11-10 16:48:30 +00:00
The-3D
ec600e56e7 Merge branch 'fix/131' into 'master'
Resolve "Change _reservesCount++; with _reservesCount=reservesCount+1; in addToReservesList()"

Closes #131

See merge request aave-tech/protocol-v2!149
2020-11-10 16:41:13 +00:00
The3D
2df0598e4b Added modifiers 2020-11-10 17:38:06 +01:00
The-3D
74ab2fd126 Merge branch 'fix/133' into 'master'
Resolve "Add validation on UserConfiguration that the reserveIndex is < 128"

Closes #133

See merge request aave-tech/protocol-v2!151
2020-11-10 16:29:11 +00:00
The3D
12707238f8 Fixes #131 2020-11-10 17:28:43 +01:00
The-3D
fe1eab670a Merge branch 'fix/137' into 'master'
Resolve "Remove conditions that check if liquidityIndex and variableBorrowIndex are == 0 in initReserve"

Closes #137

See merge request aave-tech/protocol-v2!150
2020-11-10 16:23:16 +00:00
The3D
6460dd9e03 fixes #133 2020-11-10 17:21:59 +01:00
The3D
f125eeb0c5 Removed unneeded conditions 2020-11-10 17:15:36 +01:00
The-3D
751ecf6fa3 Merge branch 'fix/136' into 'master'
Resolve "Fix wrong comments"

Closes #136

See merge request aave-tech/protocol-v2!148
2020-11-10 16:12:31 +00:00
The3D
92e2ecab51 Added more detailed comments on configureReserveAsCollateral 2020-11-10 16:57:35 +01:00
The3D
fed8c79884 Fixed comment in ReserveLogic 2020-11-10 16:52:34 +01:00
The3D
643ed2f9bc Fixed comment in ReserveConfiguration 2020-11-10 16:52:02 +01:00
Ernesto Boado
690d876047 Merge branch 'fix/126' into 'master'
Resolve "Add check on reserve active for rebalanceBorrowRate and withdraw"

Closes #126

See merge request aave-tech/protocol-v2!145
2020-11-10 15:45:14 +00:00
The3D
57ed9efd58 Validated the user balance before isActive 2020-11-10 16:33:00 +01:00
The3D
31cbe9127e Fixed validateWithdraw 2020-11-10 16:29:43 +01:00
Ernesto Boado
084dfd1c9a Merge branch 'fix/127' into 'master'
Resolve "Add setIsUsingAsCollateral(false) in liquidation if the whole user collateral is being liquidated"

Closes #127

See merge request aave-tech/protocol-v2!147
2020-11-10 15:25:18 +00:00
The3D
a3ee5d2ce6 Added tracking of the usage as collateral to the liquidationCall 2020-11-10 16:18:31 +01:00
The3D
f87873a6de Added natspec, isActive check 2020-11-10 16:07:13 +01:00
The-3D
c8e59ca950 Merge branch 'fix/139-transferOnLiquidation-event' into 'master'
- Added Transfer event on transferOnLiquidation

Closes #139

See merge request aave-tech/protocol-v2!146
2020-11-10 14:59:20 +00:00
The3D
d66959f4ff Refactored validation logic of rebalanceStableBorrowRate 2020-11-10 15:57:49 +01:00
Ernesto Boado
954df03124 Merge branch 'fix/124' into 'master'
Resolve "Split the setAddress() function in LendingPoolAddressesProvider between proxy and non proxy"

Closes #124

See merge request aave-tech/protocol-v2!142
2020-11-10 14:43:31 +00:00
The3D
673b8f22c4 Fixed validation of isActive in validateWithdraw 2020-11-10 15:42:03 +01:00
eboado
727bc12d80 - Added Transfer event on transferOnLiquidation 2020-11-10 15:40:49 +01:00
The3D
ce76335078 Fixes #124 2020-11-10 15:38:43 +01:00
Ernesto Boado
84b34d2c1a Merge branch '138-rename-aaveprotocoltesthelpers-in-aaveprotocoldataprovider' into 'master'
Resolve "Rename AaveProtocolTestHelpers in AaveProtocolDataProvider"

Closes #138

See merge request aave-tech/protocol-v2!144
2020-11-10 14:24:57 +00:00
David Racero
4df4841767 Rename AaveProtocolTestHelpers to AaveProtocolDataProvider. Add task to deploy AaveProtocolDataProvider. 2020-11-10 15:19:47 +01:00
Ernesto Boado
3fc261037a Merge branch 'fix/123' into 'master'
Resolve "Add check that amount != 0 in validateBorrow()"

Closes #123

See merge request aave-tech/protocol-v2!141
2020-11-10 13:59:16 +00:00