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 |
|
Gerardo Nardelli
|
50e5ea907b
|
Add first draft of swapAndRepay without using flash loans
|
2020-11-24 12:11:13 -03:00 |
|
eboado
|
093e692573
|
- Unexcluded types/ on contracts libraries
|
2020-11-24 15:11:02 +01:00 |
|
eboado
|
5532ebdc8a
|
- Moved data types (structs and enum) to a DataTypes library, to simplify interfaces
|
2020-11-24 14:53:34 +01:00 |
|
The3D
|
3e6a9d3596
|
Updated comment
|
2020-11-23 19:26:25 +01:00 |
|
The3D
|
e415c9cd4d
|
Updated comment
|
2020-11-23 19:20:18 +01:00 |
|
The3D
|
10e9f17446
|
Added interface for LendingPoolLiquidationManager
|
2020-11-23 19:17:19 +01:00 |
|
The3D
|
eecb0b4fef
|
Replaced borrows with debt in comments and the InterestRateStrategy contract
|
2020-11-23 18:52:52 +01:00 |
|
The3D
|
584a567635
|
Updated flashloan updateInterestRates
|
2020-11-23 18:44:13 +01:00 |
|
eboado
|
e2d1a274bc
|
Merge branch 'master' into feat/153-improve-docs
|
2020-11-23 15:56:55 +01:00 |
|
David Racero
|
98ac879181
|
Merge branch 'master' of gitlab.com:aave-tech/protocol-v2 into 154-updates-for-walletbalalanceprovider-contract
|
2020-11-23 12:04:59 +01:00 |
|
David Racero
|
6532fd0765
|
Move protocol contracts inside own directory to scope audits. Update library hash at contracts-deployments.ts:165 due libraries paths has changed.
|
2020-11-23 11:28:57 +01:00 |
|
eboado
|
0bca8c6519
|
Merge branch 'master' into feat/153-improve-docs
|
2020-11-23 11:15:31 +01:00 |
|
eboado
|
f98335cb68
|
- Improved docs on LendingPool and interface
|
2020-11-23 10:58:04 +01:00 |
|
Gerardo Nardelli
|
43d05c2bdf
|
Refactor repayAdapter to flash loan the debt asset instead of the collateral
|
2020-11-20 15:53:50 -03:00 |
|
Gerardo Nardelli
|
b48b50208a
|
Support using all the collateral for a debt repay
|
2020-11-20 09:06:28 -03:00 |
|
The3D
|
f1778b88d4
|
Removed the ^ on solidity version
|
2020-11-20 11:45:20 +01:00 |
|
The3D
|
8c03180f89
|
Updated solidity version
|
2020-11-20 11:41:58 +01:00 |
|
David Racero
|
92168f500b
|
Fixes missing param at deployDefaultReserveInterestRateStrategy. Update WalletBalanceProvider to add provider argument. Minor fixes migration script.
|
2020-11-20 11:32:17 +01:00 |
|
The3D
|
75c7d52031
|
removed hardhat console
|
2020-11-20 10:13:14 +01:00 |
|
Gerardo Nardelli
|
8a303c6195
|
Refactor repayMode in repayAdapter
|
2020-11-19 16:39:00 -03:00 |
|
The3D
|
d5f0e9ebf9
|
Updated migration scripts
|
2020-11-19 18:11:53 +01:00 |
|
The3D
|
3f5822f5f6
|
Updated DefaultInterestRateStrategy
|
2020-11-19 17:17:11 +01:00 |
|
eboado
|
0c6ec03cec
|
- Reviewed comments on DefaultReserveInterestRateStrategy and interface.
|
2020-11-19 14:48:15 +01:00 |
|
eboado
|
97aa76b13c
|
- Moved StringLib to deployments/
|
2020-11-19 14:23:46 +01:00 |
|
eboado
|
a5f9332234
|
- Fixed comments on LendingPoolAddressesProviderRegistry and removed useless getter.
|
2020-11-19 14:21:36 +01:00 |
|
Gerardo Nardelli
|
9478381992
|
Merge branch 'master' into feat/uniswap-adapter-flashloan
# Conflicts:
# helpers/contracts-helpers.ts
# test/helpers/make-suite.ts
|
2020-11-19 09:32:52 -03:00 |
|
eboado
|
4192a5d992
|
- Improved docs of LendingPoolAddressesProvider
|
2020-11-19 12:52:34 +01:00 |
|
eboado
|
94ce7c649f
|
- Fixed innacuracy on borrow() comments.
|
2020-11-19 10:46:10 +01:00 |
|
Gerardo Nardelli
|
092f9c983b
|
Merge branch 'master' into feat/uniswap-adapter-flashloan
# Conflicts:
# helpers/contracts-getters.ts
|
2020-11-17 13:21:41 -03:00 |
|
Ernesto Boado
|
200c02e081
|
Merge branch '140-setup-mainnet-fork-simulation-environment-based-on-tenderly' into 'master'
Add Mainnet fork, deployment check-list, add Tenderly integration
Closes #140
See merge request aave-tech/protocol-v2!160
|
2020-11-17 11:58:01 +00:00 |
|
David Racero
|
12d17179d6
|
Renamed ChainlinkProxyPriceProvider to AaveOracle
|
2020-11-17 10:24:24 +01:00 |
|
David Racero
|
27365697ac
|
Added mainnet check list. Remove deployed contracts. Update README.md
|
2020-11-16 19:22:22 +01:00 |
|
Gerardo Nardelli
|
d0d0e869d0
|
Fix flash loan fee usage in _getAmountsIn
|
2020-11-13 12:30:14 -03:00 |
|
Gerardo Nardelli
|
101c775789
|
Avoid param override in repay adapter
|
2020-11-13 12:28:57 -03:00 |
|
Gerardo Nardelli
|
4c693d1947
|
Update amountToSwap calc in liquidity swap adapter
|
2020-11-13 12:27:18 -03:00 |
|
The3D
|
b66253bfe9
|
Removed separate setters
|
2020-11-13 15:48:38 +01:00 |
|
The-3D
|
cfc002dcd1
|
Merge branch 'fix/147-148-uint128max' into 'master'
- Changed `1 << 128` to `type(uint128).max`
Closes #148 and #147
See merge request aave-tech/protocol-v2!169
|
2020-11-12 13:38:19 +00:00 |
|
eboado
|
f32ac702ec
|
- Refactoring on some Errors
|
2020-11-12 13:54:23 +01:00 |
|
eboado
|
693576f853
|
- Replaced hardcoded error messages on ReserveLogic.
|
2020-11-12 12:50:35 +01:00 |
|
eboado
|
0f086a8a27
|
- Changed 1 << 128 to type(uint128).max
|
2020-11-12 10:29:00 +01:00 |
|
eboado
|
982fb46336
|
- Reorder on LiquidationCallLocalVars for better packing.
|
2020-11-12 10:16:10 +01:00 |
|
eboado
|
996c16237c
|
- Changed CONFIGURATOR_REVISION visibility to internal
|
2020-11-12 09:48:03 +01:00 |
|
eboado
|
82268e6a5e
|
- Removed not needed receive() on LendingPool
|
2020-11-11 16:05:44 +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 |
|
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 |
|
Gerardo Nardelli
|
37a2f14fca
|
Merge branch 'master' into feat/uniswap-adapter-flashloan
|
2020-11-10 16:28:01 -03:00 |
|
The3D
|
80997ea965
|
Added checks on liquidationBonus
|
2020-11-10 18:16:27 +01: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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
Gerardo Nardelli
|
a7115f019e
|
Merge branch 'master' into feat/uniswap-adapter-flashloan
# Conflicts:
# helpers/contracts-getters.ts
# helpers/types.ts
|
2020-11-10 11:40:25 -03:00 |
|
Gerardo Nardelli
|
b0d9dbe2a7
|
code improvements
|
2020-11-10 11:28:19 -03: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 |
|
Gerardo Nardelli
|
cf9c8855c3
|
Pull the correct amount of atokens from user to avoid leftovers in repay adapter
|
2020-11-10 10:38:24 -03: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
|
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 |
|
andyk
|
6a3695c5b7
|
final fix for ETH balance calculations in getUserWalletBalances
|
2020-11-10 10:33:53 +02:00 |
|
Gerardo Nardelli
|
6e9defe14c
|
Add repayAllDebt flag to repay the whole debt with collateral
|
2020-11-09 16:53:03 -03:00 |
|
Gerardo Nardelli
|
4fb43f7aff
|
Remove not used batch capabilities on repay adapter
|
2020-11-09 15:27:18 -03:00 |
|
Gerardo Nardelli
|
3f779e2e9f
|
Merge branch 'master' into feat/uniswap-adapter-flashloan
# Conflicts:
# helpers/contracts-deployments.ts
# helpers/types.ts
# test/__setup.spec.ts
# test/helpers/make-suite.ts
|
2020-11-06 14:26:31 -03:00 |
|
andyk
|
206d33eaa6
|
fix getUserWalletBalances of WalletBalanceProvider - 2
|
2020-11-06 18:23:18 +03:00 |
|
Gerardo Nardelli
|
1faffa2c39
|
Add permit amount parameter to correctly execute permit call
|
2020-11-06 12:12:08 -03:00 |
|
andyk
|
d7f4998f52
|
fix getUserWalletBalances of WalletBalanceProvider
|
2020-11-06 18:01:19 +03:00 |
|
The3D
|
47569dccfe
|
Updated WalletBalanceProvider to use the addressesProvider interface
|
2020-11-06 15:32:51 +01:00 |
|
andyk
|
7cb042517f
|
change wallet balance provider to support eth
|
2020-11-06 17:06:52 +03:00 |
|
andyk
|
efb77fdf4c
|
Merge branch 'master' into feat/data-helpers
|
2020-11-06 15:54:50 +03:00 |
|
andyk
|
e32b62fb6f
|
add eth to the wallet balance provider
|
2020-11-06 15:51:08 +03:00 |
|
David Racero
|
7beda9bcc0
|
Merge branch 'master' of gitlab.com:aave-tech/protocol-v2 into 119-add-a-borroweth-function-to-the-weth-gateway
|
2020-11-06 13:22:15 +01:00 |
|
David Racero
|
167bca74ab
|
Added borrowETH to WETHGateway.
|
2020-11-06 13:22:03 +01:00 |
|
eboado
|
3aa5de28b4
|
- Added management of WETH to ChainlinkProxyPriceProvider.
|
2020-11-06 12:09:24 +01:00 |
|
Gerardo Nardelli
|
20bbae88d3
|
Add swapAllBalance parameter for liquidity swap
|
2020-11-05 16:49:55 -03:00 |
|
Gerardo Nardelli
|
48b9a603a7
|
Update getAmountsIn to return prices
|
2020-11-05 11:33:11 -03:00 |
|
emilio
|
57e444714d
|
Merge branch 'master' into fix/114
|
2020-11-05 15:25:24 +01:00 |
|
emilio
|
73f38a46ec
|
Merge branch 'master' into fix/114
|
2020-11-05 14:51:04 +01:00 |
|
emilio
|
42f7e07173
|
Merge branch 'master' into feat/refactor-delegation
|
2020-11-05 14:49:59 +01:00 |
|
emilio
|
69c3d5b9b7
|
Adds Emergency admin
|
2020-11-05 12:35:50 +01:00 |
|
David Racero
|
8ab3bce12e
|
Fixed conflicts
|
2020-11-05 09:20:50 +01:00 |
|
Gerardo Nardelli
|
5d9cd6ebd1
|
Update getAmountsOut to return prices
|
2020-11-04 16:51:21 -03:00 |
|
emilio
|
add6cad5c3
|
Fixed scenarios, tests, removed console.log
|
2020-11-04 11:12:26 +01:00 |
|
David Racero
|
4b511188c7
|
Remove comment
|
2020-11-03 20:47:36 +01:00 |
|
The3D
|
4e4fbe6539
|
Refactoring of credit delegation
|
2020-11-03 19:47:57 +01:00 |
|
Gerardo Nardelli
|
847ad3b12a
|
Add batch swaps unit tests
|
2020-11-03 15:37:06 -03:00 |
|
David Racero
|
a54f910928
|
Added emergency token and ether withdrawal. Follow code guidelines.
|
2020-11-03 17:23:35 +01:00 |
|
Gerardo Nardelli
|
94a6a8688c
|
Update liquidity swap adapter params to include min amount to receive
|
2020-11-03 12:22:15 -03:00 |
|
David Racero
|
ad5fa1b9a0
|
Change require to revert
|
2020-11-03 13:54:15 +01:00 |
|
David Racero
|
6ab6b835a2
|
Merge branch '97-create-a-utility-contract-to-deposit-withdraw-repay-with-eth' of gitlab.com:aave-tech/protocol-v2 into 97-create-a-utility-contract-to-deposit-withdraw-repay-with-eth
|
2020-11-03 13:51:17 +01:00 |
|
David Racero
|
5f37f317e9
|
Added fallback function
|
2020-11-03 13:51:10 +01:00 |
|
The3D
|
e8028416d6
|
Cached the aWETH address
|
2020-11-03 13:45:54 +01:00 |
|
David Racero
|
f70754263d
|
Remove requires. Change onBehalf to To at withdraw. Add fallback function revert.
|
2020-11-03 13:29:11 +01:00 |
|
David Racero
|
6174539966
|
Merge branch 'master' of gitlab.com:aave-tech/protocol-v2 into 97-create-a-utility-contract-to-deposit-withdraw-repay-with-eth
|
2020-11-03 12:51:54 +01:00 |
|
The3D
|
54bae079c9
|
Renamed error
|
2020-11-03 12:15:37 +01:00 |
|
The3D
|
f513ebee37
|
Refactored duplicated code
|
2020-11-03 12:14:09 +01:00 |
|
Gerardo Nardelli
|
fa7fa9f948
|
Add permit support in swap adapters
|
2020-11-02 17:33:00 -03:00 |
|
David Racero
|
bec8db6c7f
|
Merge branch 'master' of gitlab.com:aave-tech/protocol-v2 into 97-create-a-utility-contract-to-deposit-withdraw-repay-with-eth
|
2020-11-02 18:44:59 +01:00 |
|
David Racero
|
525c816bbe
|
Rollback to 1 WETHGateway per LendingPool
|
2020-11-02 18:43:50 +01:00 |
|
David Racero
|
7282f7678b
|
Allow WETHGateway to be used by multiple pools. Remove logger.
|
2020-11-02 17:51:54 +01:00 |
|
David Racero
|
cabff851d0
|
Move interfaces that are not core protocol to misc/interfaces directory. Rename method to follow guidelines.
|
2020-11-02 17:01:47 +01:00 |
|
David Racero
|
a4a02e761b
|
Merge branch 'master' of gitlab.com:aave-tech/protocol-v2 into 97-create-a-utility-contract-to-deposit-withdraw-repay-with-eth
|
2020-11-02 16:54:22 +01:00 |
|
David Racero
|
cd687b7a0c
|
Fix conflicts
|
2020-11-02 16:53:02 +01:00 |
|
The3D
|
492c5fcd4a
|
Added usage as collateral enabled/disabled events
|
2020-11-02 16:40:31 +01:00 |
|
David Racero
|
6d009f796d
|
Moved WETH9.sol to mock/dependencies due is only for testing purposes
|
2020-11-02 15:47:02 +01:00 |
|
David Racero
|
a12706949d
|
WETH9Mocked now inherits from WETH9 instead of copying the contract
|
2020-11-02 15:33:37 +01:00 |
|
The3D
|
8daa8130b7
|
Updated comment
|
2020-11-02 15:19:29 +01:00 |
|
David Racero
|
077078b084
|
Merge branch 'master' of gitlab.com:aave-tech/protocol-v2 into feat/109-config-aave-token
|
2020-11-02 14:52:11 +01:00 |
|
David Racero
|
fd46bf888a
|
Print addresses after migration. Fix minor migration issues.
|
2020-11-02 14:45:00 +01:00 |
|
The3D
|
1b021dca18
|
Added tests
|
2020-11-02 14:44:11 +01:00 |
|
The3D
|
a2f60470ec
|
Removed getRevision in the DelegationAwareAToken
|
2020-11-02 13:35:05 +01:00 |
|
andyk
|
f5d7d0192d
|
fix bad merge mistakes
|
2020-11-02 15:00:24 +03:00 |
|
The3D
|
3570fc7803
|
Added delegation capabilities to the aToken
|
2020-11-02 12:54:56 +01:00 |
|
andyk
|
438ab0fca1
|
Merge branch 'feat/data-helpers' into feat/renameing
|
2020-11-02 14:50:41 +03:00 |
|
andyk
|
9ce6d3347f
|
Merge branch 'master' into feat/data-helpers
|
2020-11-02 14:46:23 +03:00 |
|
andyk
|
5b85aef283
|
add scaled/principal debt
|
2020-11-02 14:41:53 +03:00 |
|
andyk
|
7ebdb06933
|
Merge branch 'master' into feat/renameing
|
2020-11-02 14:38:22 +03:00 |
|
The3D
|
fa3d61be6f
|
Updated event
|
2020-11-02 12:24:12 +01:00 |
|
pol
|
c74dbb0503
|
added correct call to get total stable debt
|
2020-11-02 12:16:10 +01:00 |
|
The3D
|
6536200eea
|
Update mint/burn event on the stable debt token
|
2020-11-02 11:55:37 +01:00 |
|
pol
|
7a8ed00909
|
principal and stable to total
|
2020-11-02 11:54:21 +01:00 |
|
Ernesto Boado
|
e5597b6156
|
Merge branch 'fix/108-redundancy-stable-debt' into 'master'
- Fixed redundant assignment on StableDebtToken.
Closes #108
See merge request aave-tech/protocol-v2!116
|
2020-11-02 10:26:11 +00:00 |
|
Ernesto Boado
|
c9bd6d97ff
|
Merge branch 'fix/107-burn-event' into 'master'
- Fixed Burn event on AToken
Closes #107
See merge request aave-tech/protocol-v2!117
|
2020-11-02 10:25:58 +00:00 |
|
pol
|
498a5b5e1f
|
Renaming
|
2020-11-02 10:37:24 +01:00 |
|
David Racero
|
e9d21ef74d
|
Fixed conflicts
|
2020-11-02 10:20:59 +01:00 |
|
emilio
|
860402a94c
|
updated comment
|
2020-11-02 09:17:48 +01:00 |
|
eboado
|
9fddcd0a20
|
- Fixed Burn event on AToken
|
2020-11-01 09:11:53 +01:00 |
|
eboado
|
0d7be4e7df
|
- Fixed redundant assignment on StableDebtToken.
|
2020-11-01 09:03:45 +01:00 |
|
eboado
|
5d25b362ca
|
- Removed unused _flashLiquidationLocked from LendingPoolStorage.
|
2020-11-01 08:53:33 +01:00 |
|
Ernesto Boado
|
282e6093bb
|
Merge branch 'fix/51' into 'master'
Resolve "Remove the disable as collateral function on LendingPoolConfigurator"
Closes #51
See merge request aave-tech/protocol-v2!60
|
2020-10-31 17:41:48 +00:00 |
|
emilio
|
07429b0a57
|
Fixed P_IS_PAUSED
|
2020-10-31 13:55:19 +01:00 |
|
emilio
|
05d426645d
|
Changed freezed to frozen
|
2020-10-31 13:47:16 +01:00 |
|
emilio
|
3f7bb806ac
|
Merge branch 'master' into fix/51
|
2020-10-31 13:10:26 +01:00 |
|
emilio
|
08c8482cc1
|
Fixed conditions, removed console.log
|
2020-10-31 12:33:26 +01:00 |
|
emilio
|
d645155321
|
Updated configureAsCollateral
|
2020-10-31 12:17:59 +01:00 |
|
Gerardo Nardelli
|
e7183536b3
|
Merge branch 'master' into feat/uniswap-adapter-flashloan
# Conflicts:
# helpers/contracts-deployments.ts
# helpers/contracts-getters.ts
|
2020-10-30 17:01:39 -03:00 |
|
Gerardo Nardelli
|
0eddff4933
|
Apply feedback fixes
|
2020-10-30 16:59:25 -03:00 |
|
David Racero
|
1ac0a45394
|
Fix conflicts
|
2020-10-30 16:52:44 +01:00 |
|
eboado
|
929fd6bc83
|
- Removed buidler console.log from LendingPool
|
2020-10-30 16:40:49 +01:00 |
|
emilio
|
96d00edd00
|
Merge branch 'master' into fix/51
|
2020-10-30 16:21:37 +01:00 |
|
emilio
|
6f5bcddab1
|
fixed tests
|
2020-10-30 16:12:59 +01:00 |
|
Gerardo Nardelli
|
8278d2e6d8
|
Merge branch 'master' into feat/uniswap-adapter-flashloan
|
2020-10-30 12:09:29 -03:00 |
|
eboado
|
cba766d282
|
Merge branch 'master' into feat/102-batch-delegation-allowance
|
2020-10-30 16:04:31 +01:00 |
|
emilio
|
b888fc12ab
|
Merge branch 'master' into fix/51
|
2020-10-30 15:12:11 +01:00 |
|
eboado
|
a86902ee02
|
Merge branch 'master' into fix/89-available-liquidity
|
2020-10-30 15:02:40 +01:00 |
|
Ernesto Boado
|
22e4cc353c
|
Merge branch '100/flash-loan-bath-modes' into 'master'
Added batch of modes to flashLoan()
Closes #100
See merge request aave-tech/protocol-v2!111
|
2020-10-30 14:01:52 +00:00 |
|
eboado
|
5a9a46a31f
|
Merge branch 'master' into 100/flash-loan-bath-modes
|
2020-10-30 14:55:03 +01:00 |
|
Ernesto Boado
|
4e56df7d56
|
Merge branch 'certora/integration' into 'master'
Resolve "Integrating the certora formal verification rules in the CI"
Closes #59
See merge request aave-tech/protocol-v2!67
|
2020-10-30 13:48:25 +00:00 |
|
Ernesto Boado
|
8a9afaaea0
|
Merge branch 'feat/105-msgsender-executeOperation' into 'master'
Passed `initiator` param to flashLoan()'s executeOperation() receiver.
Closes #105
See merge request aave-tech/protocol-v2!114
|
2020-10-30 13:00:27 +00:00 |
|
David Racero
|
b3cc9d1a62
|
Fix conflicts
|
2020-10-30 13:40:06 +01:00 |
|
eboado
|
631d6ebfcb
|
- Passed initiator param to flashLoan()'s executeOperation() receiver.
- Removed unused ISwapAdapter.
|
2020-10-30 13:32:42 +01:00 |
|
eboado
|
b2bbe62822
|
- Added to to withdraw()
|
2020-10-30 12:38:41 +01:00 |
|
eboado
|
7227717a7a
|
- Removed modes from validateFlashLoan. Not needed as executeBorrow() will fail.
|
2020-10-30 12:06:02 +01:00 |
|
The-3D
|
386138cc9c
|
Merge branch 'feat/101-first-borrowing-on-debt-tokens' into 'master'
Added return of is first borrowing on debt tokens mint()
Closes #101
See merge request aave-tech/protocol-v2!110
|
2020-10-30 10:58:36 +00:00 |
|
emilio
|
decf652e19
|
Removed variable
|
2020-10-30 11:55:50 +01:00 |
|
eboado
|
af6b370f0e
|
- Removed from memory struct debtMode on flashLoan()
|
2020-10-30 11:55:28 +01:00 |
|
eboado
|
910fa2dce6
|
- Added indexed to flash loan events.
|
2020-10-30 11:52:00 +01:00 |
|
eboado
|
092aacc85a
|
- Added initiator to flash loan event.
|
2020-10-30 11:49:23 +01:00 |
|
eboado
|
de7ec39f24
|
- Fixed comment on ILendingPool
|
2020-10-30 11:42:27 +01:00 |
|
eboado
|
1954f609c2
|
Merge branch 'master' into 100/flash-loan-bath-modes
|
2020-10-30 11:40:31 +01:00 |
|
emilio
|
a49f2744ee
|
Updated comments
|
2020-10-30 11:38:49 +01:00 |
|
emilio
|
7ae9a2df8f
|
Updated variable names
|
2020-10-30 11:36:53 +01:00 |
|
andyk
|
898d72dfb3
|
Merge branch 'master' into feat/data-helpers
|
2020-10-30 13:16:21 +03:00 |
|
andyk
|
18d7a44db5
|
removal of ReserveLogic.ReserveData from UI helper return
|
2020-10-30 13:14:42 +03:00 |
|
pistiner
|
22353eeee5
|
Fixes to run on VariableDebtToken
|
2020-10-30 01:07:30 +02:00 |
|
pistiner
|
9da3fefb26
|
Merge branch 'master' of https://gitlab.com/aave-tech/protocol-v2 into certora/integration
|
2020-10-29 23:26:21 +02:00 |
|
Gerardo Nardelli
|
17095c3ae1
|
Merge branch 'master' into feat/uniswap-adapter-flashloan
# Conflicts:
# helpers/contracts-helpers.ts
# helpers/types.ts
# test/__setup.spec.ts
# test/helpers/make-suite.ts
|
2020-10-29 16:49:25 -03:00 |
|
emilio
|
e4dc22e50e
|
Fixed events, removed unused constants in addressesProvider
|
2020-10-29 18:03:19 +01:00 |
|
David Racero
|
2892e69df0
|
Merge branch 'master' of gitlab.com:aave-tech/protocol-v2 into 97-create-a-utility-contract-to-deposit-withdraw-repay-with-eth
|
2020-10-29 16:20:12 +01:00 |
|
Ernesto Boado
|
6b26e39d5f
|
Merge branch 'feat/74' into 'master'
Feat/74 - Add `onBehalf` for flashloan(), to open debt if debt mode selected
Closes #74
See merge request aave-tech/protocol-v2!96
|
2020-10-29 15:08:18 +00:00 |
|
David Racero
|
e6d913d251
|
Merge branch 'master' of gitlab.com:aave-tech/protocol-v2 into 97-create-a-utility-contract-to-deposit-withdraw-repay-with-eth
|
2020-10-29 15:50:37 +01:00 |
|
David Racero
|
a9e7fa3516
|
Added WETHGateway tests
|
2020-10-29 15:50:32 +01:00 |
|
Ernesto Boado
|
b7f47d160e
|
Merge branch 'fix/99' into 'master'
Resolve "Set the isUsedAsCollateral flag on aToken transfers"
Closes #99
See merge request aave-tech/protocol-v2!107
|
2020-10-29 14:48:48 +00:00 |
|
eboado
|
913a6a9237
|
- Added batch of modes to flashLoan()
|
2020-10-29 15:14:28 +01:00 |
|
eboado
|
38bb760112
|
- Added return of is first borrowing on debt tokens mint()
|
2020-10-29 14:55:11 +01:00 |
|
eboado
|
edfe17bd97
|
- Added batch to credit delegation
|
2020-10-29 14:36:01 +01:00 |
|
David Racero
|
c187440f84
|
Merge branch 'master' of gitlab.com:aave-tech/protocol-v2 into fix/75-improve-migration-scripts
|
2020-10-29 14:11:00 +01:00 |
|
emilio
|
3f7d913fd4
|
Fixed issue on 0 transfer, added check that the caller must be an aToken
|
2020-10-29 13:43:24 +01:00 |
|
David Racero
|
744befc46c
|
Added deposit test for WETHGateway
|
2020-10-29 12:44:21 +01:00 |
|
eboado
|
6cd18c4320
|
- Simplified getter of boolean fields on ReserveConfiguration.
- Added all 256 bits to masks on ReserveConfiguration for clarity.
|
2020-10-29 12:09:07 +01:00 |
|
emilio
|
2cf84f19ce
|
removed console import
|
2020-10-29 12:03:26 +01:00 |
|
emilio
|
9e55ea12b6
|
Fixes #99
|
2020-10-29 11:57:43 +01:00 |
|
pistiner
|
4030d48787
|
Fixes to run on StableDebtToken contract
|
2020-10-29 01:57:15 +02:00 |
|
David Racero
|
b5a3903ca0
|
Merge changes
|
2020-10-28 18:47:35 +01:00 |
|
David Racero
|
a966d9f53f
|
Added new StringLib library with concat to reuse function in deployment helpers.
|
2020-10-28 18:39:19 +01:00 |
|
David Racero
|
1ef1f614bd
|
Remove extra whitespace
|
2020-10-28 18:13:31 +01:00 |
|
David Racero
|
9317df9252
|
Added boilerplate deployment, getters and tests.
|
2020-10-28 18:06:24 +01:00 |
|
The-3D
|
251bd591f5
|
Merge branch 'fix/88-validations-configs' into 'master'
Fixes #88
Closes #88
See merge request aave-tech/protocol-v2!101
|
2020-10-28 14:55:04 +00:00 |
|
David Racero
|
0d87292867
|
Fix merge conflicts. Fix ETH to WETH symbol change
|
2020-10-28 15:49:50 +01:00 |
|
David Racero
|
8ad022979b
|
Added WETHGateway
|
2020-10-28 15:41:31 +01:00 |
|
Ernesto Boado
|
47d00a0e3a
|
Merge branch 'fix/98' into 'master'
Resolve "Optimize percentageMath and wadRayMath"
Closes #98
See merge request aave-tech/protocol-v2!100
|
2020-10-28 13:41:52 +00:00 |
|
The-3D
|
a9c3a033ac
|
Merge branch 'fix/95-cache-reserves-count' into 'master'
Fixes #95
Closes #95
See merge request aave-tech/protocol-v2!105
|
2020-10-28 11:46:37 +00:00 |
|
emilio
|
e91e3595d6
|
Updated PercentageMath
|
2020-10-28 12:39:11 +01:00 |
|
eboado
|
232743c332
|
- Cached _reservesCount on _addReserveToList()
|
2020-10-28 12:02:40 +01:00 |
|
eboado
|
a9a863fcb4
|
- Fixes misc comments on LendingPoolAddressesProviderRegistry.
|
2020-10-28 11:56:10 +01:00 |
|