David Racero
cf32c1f84f
Fixes task related with LendingOracle. Add token verification task.
2020-11-10 21:16: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
Ernesto Boado
4a836740d0
Merge branch 'feat/hardhat-etherscan-dependency-graph' into 'master'
...
Upload source dependency graph instead of all source code while etherscan verification
See merge request aave-tech/protocol-v2!137
2020-11-10 13:58:38 +00:00
The3D
c81047ca93
Fixes #123
2020-11-10 14:57:09 +01:00
David Racero
0d0ef98fe6
Added deployment addresses. Rollback atoken deployer.
2020-11-10 14:53:16 +01:00
David Racero
ce3db28503
Added tokenization verifications
2020-11-10 14:18:48 +01:00
The3D
ee1e20568b
Added check
2020-11-10 14:11:01 +01:00
Ernesto Boado
ce62734786
Merge branch '122-remove-setreservedecimals-from-lendingpoolconfiguration' into 'master'
...
Resolve "Remove setReserveDecimals() from lendingPoolConfigurator"
Closes #122
See merge request aave-tech/protocol-v2!140
2020-11-10 13:03:48 +00:00
The3D
d9fa61539a
Removed invalid tests
2020-11-10 13:59:08 +01:00
Ernesto Boado
d82c86bf26
Merge branch 'fix/121' into 'master'
...
Resolve "Fix call to balanceDecreaseAllowed in setUserUseReserveAsCollateral"
Closes #121
See merge request aave-tech/protocol-v2!139
2020-11-10 12:49:59 +00:00
The3D
bfa26634a6
Removed setDecimals
2020-11-10 13:47:31 +01:00
The3D
0c8efc2261
Added negative test on setUsageAsCollateral(), clearer require condition
2020-11-10 13:45:08 +01:00
David Racero
6eb19a2d66
Move verification to a separate task and run after deployment. Speed up verification via more logic to prevent too many retries.
2020-11-10 13:23:30 +01:00
The-3D
e907f91742
Merge branch 'fix/wb-provider-eth-mock' into 'master'
...
Final fix for ETH balance calculations in getUserWalletBalances
See merge request aave-tech/protocol-v2!138
2020-11-10 09:13:31 +00:00
andyk
6a3695c5b7
final fix for ETH balance calculations in getUserWalletBalances
2020-11-10 10:33:53 +02:00
David Racero
8389410819
Use latest package
2020-11-09 19:28:13 +01:00
David Racero
b3870cc107
Use fallback verification if related sources causes Solidity bug.
2020-11-09 18:55:09 +01:00
David Racero
45f882b401
Upload source dependency graph instead of all source code while etherscan verification
2020-11-09 15:52:28 +01:00
The-3D
ef98aadd66
Merge branch 'feat/118-kovan-configs' into 'master'
...
Added kovan configs
Closes #118
See merge request aave-tech/protocol-v2!135
2020-11-09 09:09:47 +00:00