Commit Graph

715 Commits

Author SHA1 Message Date
andyk
a21757d0fc adoption to the latest 2020-11-30 17:14:29 +04:00
andyk
b4a0841577 Merge branch 'master' into 178-add-uniswap-adapters 2020-11-30 15:11:35 +04:00
eboado
9d1c021945 - Modified FlashLoanReceiverBase 2020-11-30 12:02:34 +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
eboado
18ce2b3637 - Added view to getMarketId() 2020-11-30 09:23:31 +01:00
The3D
9fc6c32905 Removed redundant code in ATokensAndRatesHelper 2020-11-28 13:33:35 +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
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
eboado
ae94f8ba49 - Added initialization of _lendingPool to FlashLoanReceiverBase and getters. 2020-11-27 15:15:05 +01:00
eboado
5e9ccb5244 - Added getter to _marketId 2020-11-27 10:00:11 +01: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
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
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
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
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
eboado
e418bcc01e - Added return of withdraw amount to withdraw() 2020-11-26 11:02:26 +01:00
eboado
3206c5297f - Added return value to repay() 2020-11-26 10:58:38 +01:00
eboado
997d29a009 - Added extra comment on IStableDebtToken 2020-11-26 10:51:43 +01:00
eboado
3cbb122a2d - Fixed typo on IStableDebtToken 2020-11-26 10:38:50 +01:00
eboado
a27239129f - Misc doc fixes 2020-11-26 10:37:04 +01:00
eboado
3ef75e4018 - Fix redeem() = withdraw() on docs 2020-11-26 10:29:53 +01:00
eboado
7bcdce3090 - Reviewed tokenization documentation-wise
- Moved interaces in protocol/tokenization to the general interfaces/ folder.
2020-11-26 10:21:18 +01:00
Gerardo Nardelli
3415204216 Update adapter docs 2020-11-25 15:49:11 -03:00
The3D
92a731ec2c Updated libraries 2020-11-25 18:33:49 +01:00
eboado
00477d9334 - Added using to LendingPoolConfigurator 2020-11-25 16:17:08 +01:00
The3D
7d96451ced Updated comment 2020-11-25 15:31:27 +01:00
The3D
c997a910c8 Updated comment 2020-11-25 15:31:03 +01:00
The3D
43d64c4509 Updated LendingPoolConfigurator 2020-11-25 15:27:17 +01:00
Gerardo Nardelli
cdd922c908 Merge fixes 2020-11-25 11:07:33 -03:00
Gerardo Nardelli
71ea58f758 Merge branch 'master' into feat/uniswap-adapter-flashloan
# Conflicts:
#	test/__setup.spec.ts
2020-11-25 10:46:01 -03:00
Gerardo Nardelli
a496be8833 Refactor to avoid leftovers on _swapAndRepay with flash loan 2020-11-25 10:44:50 -03:00
The3D
f9290705a0 Removed space in comments 2020-11-25 13:45:52 +01:00
The3D
ee11faa573 Updated comments, renamed variales 2020-11-25 13:41:09 +01:00
eboado
ba516a10d0 - Improved docs and naming on LendingPoolCollateralManager 2020-11-25 12:03:11 +01:00
The3D
e4bccaed91 Fixed ILendingPool interface 2020-11-25 11:40:55 +01:00
Gerardo Nardelli
4d2d9e8459 Avoid leftovers on swapAndRepay 2020-11-24 14:06:58 -03:00
The3D
1054dea632 Removed reserveLogic import from WETHGateway 2020-11-24 17:07:47 +01:00
The3D
126458c7aa Updated ReserveMap and UserMap 2020-11-24 16:17:27 +01:00