Commit Graph

1185 Commits

Author SHA1 Message Date
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
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
16d330c5f7 Merge branch 'master' into fix/164 2020-11-26 10:22:38 +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
Ernesto Boado
c5f7671057 Merge branch 'fix/164' into 'master'
Resolve "Review the libraries folder"

Closes #164

See merge request aave-tech/protocol-v2!186
2020-11-25 17:56:59 +00:00
Gerardo Nardelli
bc969d926e Add swapAndRepay unit tests 2020-11-25 14:55:46 -03:00
The3D
92a731ec2c Updated libraries 2020-11-25 18:33:49 +01:00
Ernesto Boado
7cabecafe3 Merge branch 'fix/162' into 'master'
Resolve "Review LendingPoolConfigurator"

Closes #162

See merge request aave-tech/protocol-v2!185
2020-11-25 15:48:15 +00: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
The-3D
85a79edda0 Merge branch 'feat/161-docs-collateral-manager' into 'master'
- Improved docs and naming on LendingPoolCollateralManager

Closes #161

See merge request aave-tech/protocol-v2!184
2020-11-25 12:59:08 +00: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
The-3D
0431f0dcbc Merge branch 'feat/160-structs-movement' into 'master'
- Moved data types (structs and enum) to a DataTypes library, to simplify interfaces

Closes #160

See merge request aave-tech/protocol-v2!183
2020-11-24 16:17:29 +00:00