Commit Graph

1456 Commits

Author SHA1 Message Date
Andrey Ko
51d0604122 Merge branch 'feat/179-flash-receiver-base' into 'master'
- Modified FlashLoanReceiverBase

Closes #179

See merge request aave-tech/protocol-v2!202
2020-11-30 11:09:56 +00:00
eboado
9d1c021945 - Modified FlashLoanReceiverBase 2020-11-30 12:02:34 +01:00
The3D
ae0414eb23 Fixed configuration tests 2020-11-30 12:01:26 +01:00
The3D
587008d1e1 Updated configuration 2020-11-30 11:26:14 +01:00
Andrey Ko
a32d1ce404 Merge branch 'feat/uniswap-adapter-flashloan' into '178-add-uniswap-adapters'
Add Uniswap adapter for liquidity swap and repay with collateral using flashloan

See merge request aave-tech/protocol-v2!106
2020-11-30 10:21:46 +00:00
The-3D
e25594ca7d Merge branch 'feat/176-getmarketid-view' into 'master'
- Added `view` to getMarketId()

Closes #176

See merge request aave-tech/protocol-v2!199
2020-11-30 08:40:45 +00:00
eboado
18ce2b3637 - Added view to getMarketId() 2020-11-30 09:23:31 +01:00
Ernesto Boado
495eed33ca Merge branch 'fix/175' into 'master'
Resolve "Update test scenarios to properly handle the reserve factor"

Closes #175

See merge request aave-tech/protocol-v2!198
2020-11-28 17:29:02 +00:00
The3D
9fc6c32905 Removed redundant code in ATokensAndRatesHelper 2020-11-28 13:33:35 +01:00
The3D
dcc60f5966 Updated migration script 2020-11-28 13:32:13 +01:00
The3D
c9875f0a8f Handled reserveFactor in the scenario tests 2020-11-28 13:28:50 +01:00
The3D
7892587f1b Updated migration scripts to add the reserve factor configuration 2020-11-28 12:54:54 +01:00
Ernesto Boado
872eb3ff94 Merge branch 'fix/172' into 'master'
Resolve "Add reserveFactor to the migration scripts"

Closes #172

See merge request aave-tech/protocol-v2!195
2020-11-28 07:59:07 +00:00
The3D
2bebc6fdfd Removed space 2020-11-27 18:26:00 +01:00
The3D
e5ec690a21 Removed unused code 2020-11-27 18:23:17 +01:00
The3D
bfa52fb3a8 Fixed tests 2020-11-27 18:22:23 +01:00
The3D
9165cdc4d5 Updated migration scripts for the reserve factor 2020-11-27 18:18:31 +01:00
Ernesto Boado
903352eaea Merge branch 'fix/174' into 'master'
Resolve "Improve event emission on the burn function"

Closes #174

See merge request aave-tech/protocol-v2!197
2020-11-27 17:16:52 +00:00
The3D
798231306b Updated event on burn of stable debt 2020-11-27 16:51:21 +01:00
The3D
8cff75f7e3 Migration scripts updated 2020-11-27 16:40:00 +01:00
The-3D
2b9e62f1f6 Merge branch 'feat/173-receiver-base' into 'master'
- Added initialization of _lendingPool to FlashLoanReceiverBase and getters.

Closes #173

See merge request aave-tech/protocol-v2!196
2020-11-27 14:31:06 +00:00
eboado
ae94f8ba49 - Added initialization of _lendingPool to FlashLoanReceiverBase and getters. 2020-11-27 15:15:05 +01:00
The3D
c7a0ca5fb0 Added reservefactor to the commons configuration 2020-11-27 11:18:04 +01:00
The-3D
578f3171bf Merge branch 'fix/171-getter-marketid' into 'master'
- Added getter to _marketId

Closes #171

See merge request aave-tech/protocol-v2!194
2020-11-27 09:08:23 +00:00
eboado
5e9ccb5244 - Added getter to _marketId 2020-11-27 10:00:11 +01:00
Ernesto Boado
4e25664eef Merge branch 'fix/141' into 'master'
Resolve "Add github syntax highlighting config"

Closes #141

See merge request aave-tech/protocol-v2!158
2020-11-26 16:16:25 +00:00
The-3D
b7bae0cb67 Merge branch 'feat/166-market-id' into 'master'
- Added marketId and setter on LendingPoolAddressesProvider

Closes #166

See merge request aave-tech/protocol-v2!189
2020-11-26 16:13:04 +00:00
eboado
3d6150a729 - Added test for onlyOwner on setMarketId() 2020-11-26 17:08:09 +01:00
The3D
c5d6fdba27 Merge branch 'master' into fix/141 2020-11-26 16:56:12 +01:00
The-3D
f6a33495e2 Merge branch 'fix/167-usage-collateral-liquidation' into 'master'
- Added set of usage as collateral to true on liquidator receiving aToken.

Closes #167

See merge request aave-tech/protocol-v2!193
2020-11-26 15:49:35 +00:00
eboado
3f070d67ec - Added set of usage as collateral to true on liquidator receiving aToken. 2020-11-26 16:44:32 +01:00
Gerardo Nardelli
b41ccf7441 Add repay with same asset unit test 2020-11-26 12:42:42 -03:00
Ernesto Boado
2adbc54475 Merge branch 'fix/159' into 'master'
Resolve "Fix the updateInterestRates on flashloan"

Closes #159

See merge request aave-tech/protocol-v2!180
2020-11-26 15:29:27 +00:00
The3D
34264243be Merge branch 'master' into fix/159 2020-11-26 16:18:33 +01:00
Ernesto Boado
3b85560340 Merge branch '170-move-mint-after-the-transfer-in-deposit' into 'master'
Resolve "Move mint() after the transfer in deposit()"

Closes #170

See merge request aave-tech/protocol-v2!191
2020-11-26 15:17:03 +00:00
The-3D
9924ecc64a Merge branch 'feat/168-remove-initialize' into 'master'
- Remove useless initialize()

Closes #168

See merge request aave-tech/protocol-v2!192
2020-11-26 15:14:19 +00:00
David Racero
43712d8a2b Support marketId argument 2020-11-26 16:11:40 +01:00
eboado
fce475ee91 Merge branch 'master' into feat/168-remove-initialize 2020-11-26 16:03:12 +01:00
eboado
b2a871f8f7 - Removed unneed (and potentially harmful) initialize() from DelegationAwareAToken. 2020-11-26 16:02:51 +01:00
The-3D
e9a94b29a9 Merge branch 'fix/169-precise-comparison' into 'master'
- Relax condition on cumulateToLiquidityIndex()

Closes #169

See merge request aave-tech/protocol-v2!190
2020-11-26 14:57:56 +00:00
The3D
47e80d7e4f Moved the mint action after the transfer 2020-11-26 15:57:03 +01:00
eboado
73c1934ada - Done less strict some other comparison with max of types 2020-11-26 15:46:09 +01:00
eboado
977a25aee2 - Relax condition on cumulateToLiquidityIndex() 2020-11-26 15:41:28 +01:00
The-3D
e1f636ccd6 Merge branch 'fix/163-tokenization-docs' into 'master'
- Reviewed documentation of protocol/tokenization

Closes #163

See merge request aave-tech/protocol-v2!187
2020-11-26 14:08:28 +00:00
The3D
51d3bd0430 Updated comment 2020-11-26 14:58:42 +01:00
The3D
e16d33a4d7 Updated comment 2020-11-26 14:57:52 +01:00
The3D
56aca3e156 Updated comment 2020-11-26 14:57:06 +01:00
eboado
fa11327b59 - Added marketId and setter on LendingPoolAddressesProvider 2020-11-26 13:09:49 +01:00
The-3D
d5b7df3070 Merge branch 'feat/165-repay-return' into 'master'
- Added return values to repay() and withdraw(). Useful for integrators

Closes #165

See merge request aave-tech/protocol-v2!188
2020-11-26 11:00:17 +00:00
eboado
e418bcc01e - Added return of withdraw amount to withdraw() 2020-11-26 11:02:26 +01:00