eboado
|
af6b370f0e
|
- Removed from memory struct debtMode on flashLoan()
|
2020-10-30 11:55:28 +01:00 |
|
eboado
|
092aacc85a
|
- Added initiator to flash loan event.
|
2020-10-30 11:49:23 +01:00 |
|
eboado
|
1954f609c2
|
Merge branch 'master' into 100/flash-loan-bath-modes
|
2020-10-30 11:40:31 +01:00 |
|
pistiner
|
22353eeee5
|
Fixes to run on VariableDebtToken
|
2020-10-30 01:07:30 +02:00 |
|
emilio
|
e4dc22e50e
|
Fixed events, removed unused constants in addressesProvider
|
2020-10-29 18:03:19 +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 |
|
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 |
|
emilio
|
3f7d913fd4
|
Fixed issue on 0 transfer, added check that the caller must be an aToken
|
2020-10-29 13:43:24 +01:00 |
|
emilio
|
9e55ea12b6
|
Fixes #99
|
2020-10-29 11:57:43 +01:00 |
|
David Racero
|
0d87292867
|
Fix merge conflicts. Fix ETH to WETH symbol change
|
2020-10-28 15:49:50 +01:00 |
|
eboado
|
232743c332
|
- Cached _reservesCount on _addReserveToList()
|
2020-10-28 12:02:40 +01:00 |
|
eboado
|
3f714b9dc8
|
- Fixed non-initialized availableLiquidity on validateBorrow()
|
2020-10-28 11:48:55 +01:00 |
|
David Truong
|
a517d5d11d
|
- implement test for onBehalfOf flashloan borrow debt
|
2020-10-27 13:10:10 +01:00 |
|
David Truong
|
d78c89151b
|
Merge remote-tracking branch 'origin/master' into feat/74
|
2020-10-27 12:14:34 +01:00 |
|
David Truong
|
e0660bda7b
|
Merge remote-tracking branch 'origin/master' into feat/74
# Conflicts:
# contracts/interfaces/ILendingPool.sol
# contracts/lendingpool/LendingPool.sol
# test/flashloan.spec.ts
|
2020-10-27 12:05:48 +01:00 |
|
emilio
|
4834a587f5
|
Fixed the amountToWithdraw in withdraw event
|
2020-10-27 10:47:01 +01:00 |
|
The-3D
|
85168f8ea7
|
Merge branch 'fix/78' into 'master'
Resolve "Extend flashloans to allow flashborrowing of multiple currencies"
Closes #78
See merge request aave-tech/protocol-v2!87
|
2020-10-26 13:14:42 +00:00 |
|
David Truong
|
d2b52ced8f
|
Merge commit 'ea66bf317030bd8e4caf9fdfe5b3933adc187fcc' into feat/74
|
2020-10-26 13:29:59 +01:00 |
|
David Truong
|
24d5c4766f
|
[WIP] Adding onBehalfOf to flashloan
|
2020-10-26 13:27:31 +01:00 |
|
The3D
|
5bd4fd0e13
|
Updated comment
|
2020-10-26 11:58:57 +01:00 |
|
The3D
|
14c4b750e1
|
Fixes PVE013
|
2020-10-26 11:18:25 +01:00 |
|
The3D
|
c5d7bb5e80
|
Fixed PVE011
|
2020-10-26 11:04:13 +01:00 |
|
The3D
|
65dace0054
|
updated validation of validateRepay
|
2020-10-26 10:57:45 +01:00 |
|
The3D
|
4b750850a2
|
Fixes PVE006-2
|
2020-10-26 10:48:43 +01:00 |
|
The3D
|
c44ed2c0c7
|
Updated flashloan event
|
2020-10-26 10:35:44 +01:00 |
|
The3D
|
6398fe4260
|
Fix comments, tests
|
2020-10-23 18:41:08 +02:00 |
|
The3D
|
a2e2450bb3
|
Finalized implementation, fixed tests
|
2020-10-22 20:37:50 +02:00 |
|
The3D
|
302a19a1bc
|
Merge branch 'master' into fix/73
|
2020-10-22 19:20:57 +02:00 |
|
The3D
|
8873b9cdac
|
initial implementation
|
2020-10-22 18:15:56 +02:00 |
|
The3D
|
b7efa920ca
|
Remove swapLiquidity/repayWithCollateral
|
2020-10-22 11:50:04 +02:00 |
|
emilio
|
19756cdbe8
|
fixed PVE001, PVE009(1)
|
2020-10-19 18:29:32 +02:00 |
|
emilio
|
1dd92aed67
|
fixes PVE006
|
2020-10-19 15:52:56 +02:00 |
|
emilio
|
bdac7b0d41
|
Fixes PVE004
|
2020-10-19 15:45:35 +02:00 |
|
Ernesto Boado
|
017589a8f7
|
Merge branch 'fix/68' into 'master'
Resolve "Gas optimizations"
Closes #68
See merge request aave-tech/protocol-v2!77
|
2020-10-16 08:05:11 +00:00 |
|
The3D
|
6a06a3e88f
|
removed openzeppelin imports2
|
2020-10-15 15:41:56 +02:00 |
|
The3D
|
937fb1df93
|
Folders reorg
|
2020-10-15 15:25:27 +02:00 |
|
The3D
|
86ddf25a3a
|
Reorganized folders
|
2020-10-15 15:16:05 +02:00 |
|
The3D
|
46bcf4b821
|
Merge branch 'master' into feat/rm-unused-imports
|
2020-10-15 14:29:51 +02:00 |
|
The3D
|
1b1fd6e5e2
|
Fixes #68
|
2020-10-15 14:13:46 +02:00 |
|
Ernesto Boado
|
a12f871953
|
Merge branch 'fix/62' into 'master'
Resolve "Replace getters from LendingPool"
Closes #62
See merge request aave-tech/protocol-v2!70
|
2020-10-15 07:39:13 +00:00 |
|
The3D
|
1ca88ec0ae
|
Fixed comment on getUserConfiguration
|
2020-10-14 14:34:17 +02:00 |
|
The3D
|
c181ed02e4
|
Fixed configurator
|
2020-10-14 14:24:01 +02:00 |
|
The3D
|
45f3c26139
|
Removed ERC20 proxy
|
2020-10-14 13:55:38 +02:00 |
|
David Racero
|
57ffc9c613
|
Reorg errors library, sorted by error number, added prefix to each constant and a prefix glossary.
|
2020-10-14 11:03:32 +02:00 |
|
David Racero
|
b919886916
|
Remove unused imports
|
2020-10-14 09:53:48 +02:00 |
|
The3D
|
645ecb214b
|
Merge branch 'master' into fix/64
|
2020-10-13 16:43:30 +02:00 |
|
The3D
|
543c3f5c9c
|
Merge branch 'master' into fix/62
|
2020-10-13 13:41:57 +02:00 |
|
The3D
|
1b4bc6f855
|
Added ERC20 proxy
|
2020-10-13 13:21:11 +02:00 |
|
The3D
|
6839be6dca
|
Updated addresses provider, configurator
|
2020-10-13 10:38:22 +02:00 |
|
The3D
|
53d6114775
|
Merge branch 'master' into feat/18
|
2020-10-12 15:19:27 +02:00 |
|
The-3D
|
fc9b096f23
|
Merge branch 'fix/60-flashloan-attack' into 'master'
Fixes #60
Closes #60
See merge request aave-tech/protocol-v2!68
|
2020-10-12 13:11:38 +00:00 |
|
The3D
|
b450a04642
|
Added getter for userconfiguration
|
2020-10-12 14:37:53 +02:00 |
|
The3D
|
645ea913b0
|
Moved accessors to AaveProtocolTestHelpers
|
2020-10-12 14:25:03 +02:00 |
|
eboado
|
80bdb0f2b2
|
Changed return of executeOperation() to bool, as the amount is never used.
|
2020-10-12 12:00:49 +02:00 |
|
The3D
|
4b35df5c4c
|
Merge branch 'master' into fix/62
|
2020-10-12 10:50:33 +02:00 |
|
The3D
|
40ff898011
|
Refactored LendingPool
|
2020-10-12 10:50:06 +02:00 |
|
The-3D
|
024def04b5
|
Merge branch 'fix/56' into 'master'
Resolve "Validate divison in the aToken/variable debt token to ensure it's not rounded down to 0"
Closes #56
See merge request aave-tech/protocol-v2!64
|
2020-10-12 08:19:07 +00:00 |
|
The3D
|
44ba72540c
|
Updated configurator, LendingPool interface
|
2020-10-09 17:59:10 +02:00 |
|
The3D
|
640f30c786
|
Removed getters
|
2020-10-09 16:35:02 +02:00 |
|
The3D
|
d150458604
|
Merge branch 'master' into feat/18
|
2020-10-08 15:41:48 +02:00 |
|
eboado
|
273070fada
|
Added return uint256 validation to flashLoan()
|
2020-10-07 16:20:32 +02:00 |
|
The3D
|
9fdfc8bf26
|
Added check if the reserve was already added
|
2020-10-06 18:20:44 +02:00 |
|
The3D
|
24a4980496
|
Refactored reservesList to a mapping
|
2020-10-06 15:51:48 +02:00 |
|
The3D
|
758675c132
|
Fixes tests
|
2020-09-30 17:59:47 +02:00 |
|
The3D
|
948bd960be
|
Initial commit
|
2020-09-28 19:33:39 +02:00 |
|
The3D
|
6ee4b2725b
|
Fix order of calculation of the interest rates
|
2020-09-24 10:00:17 +02:00 |
|
The3D
|
4e25657731
|
Updated transferFrom in repayWithCollateral() and swapLiquidity()
|
2020-09-23 15:19:21 +02:00 |
|
The3D
|
d724d1f58f
|
Fixed comment
|
2020-09-23 14:39:17 +02:00 |
|
The3D
|
7c6034db67
|
Fixes the flashloan transferFrom()
|
2020-09-23 12:57:48 +02:00 |
|
The3D
|
12f1dbd0dc
|
Readded calculateAvailableBorrowsETH
|
2020-09-21 22:08:44 +02:00 |
|
The3D
|
2e30bb8b85
|
Fixed error on rebalance conditions, changed style of internal functions
|
2020-09-21 21:15:12 +02:00 |
|
The3D
|
332cdff67a
|
Merge branch 'master' into fix/45
|
2020-09-21 20:38:15 +02:00 |
|
The3D
|
45e4e0b5fe
|
Merge branch 'master' into fix/42
|
2020-09-21 20:27:14 +02:00 |
|
The3D
|
75579e5d28
|
Merge branch 'master' into fix/45
|
2020-09-21 20:19:28 +02:00 |
|
The3D
|
07db321b4d
|
updated rebalance conditions,tests
|
2020-09-21 19:52:22 +02:00 |
|
The3D
|
6f9ff11e49
|
Fixed credit delegation tests
|
2020-09-21 15:35:22 +02:00 |
|
The3D
|
c7f0dfbaa9
|
Merge branch 'master' into fix/34
|
2020-09-21 10:03:18 +02:00 |
|
The3D
|
7c5de62910
|
Merge branch 'master' into 40-refactor-the-storage-of-lp
|
2020-09-21 09:31:54 +02:00 |
|
The3D
|
bfe0657b1a
|
Updated code to fix deposit and withdraw tests
|
2020-09-17 16:37:51 +02:00 |
|
The3D
|
e4890a14c2
|
Merge branch 'master' into fix/34
|
2020-09-17 11:55:38 +02:00 |
|
The3D
|
5c6a8b0926
|
Merge branch 'master' of gitlab.com:aave-tech/protocol-v2
|
2020-09-17 11:52:27 +02:00 |
|
The3D
|
5c2ec07b70
|
Fixes #42
|
2020-09-16 17:12:07 +02:00 |
|
The3D
|
570a81a1b2
|
Fixed aToken deployment function
|
2020-09-16 16:44:27 +02:00 |
|
The3D
|
274b63713d
|
Merge branch 'master' into fix/34
|
2020-09-16 16:34:29 +02:00 |
|
andyk
|
9594571761
|
Merge branch 'master' into 41-rename-liqudiationmanager
|
2020-09-16 15:22:55 +01:00 |
|
The3D
|
d06e3a39fc
|
Merge branch 'master' of gitlab.com:aave-tech/protocol-v2
|
2020-09-16 16:04:19 +02:00 |
|
andyk
|
373bac109b
|
small comments fixes
|
2020-09-16 15:45:49 +03:00 |
|
andyk
|
2a6248c6d2
|
misc renaming
|
2020-09-16 15:09:42 +03:00 |
|
andyk
|
66113d64a2
|
rename LendingPoolLiquidationManager -> LendingPoolCollateralManager
|
2020-09-16 13:41:12 +03:00 |
|
andyk
|
83e0318bc6
|
add logic to set usageAsCollateralEnabled for the user if his balance was 0 before swap
|
2020-09-16 13:30:57 +03:00 |
|
andyk
|
77c812b975
|
Refactor the storage of lendingpool to LendingPoolStorage parent contract
|
2020-09-16 13:16:51 +03:00 |
|
The3D
|
d873b63082
|
Removed unused flashloan vars
|
2020-09-15 18:54:59 +02:00 |
|
eboado
|
aef8e68ce0
|
- Changed _paused visibility and added getter.
|
2020-09-15 15:46:19 +02:00 |
|
The3D
|
c6a3588792
|
Merge branch 'master' into fix/34
|
2020-09-15 15:33:09 +02:00 |
|
David Racero
|
0150ba70e7
|
Merge feat/modifier-to-function fixes
|
2020-09-15 14:35:50 +02:00 |
|
David Racero
|
bfc46daadd
|
Change modifier to function to save code size
|
2020-09-15 14:25:00 +02:00 |
|
David Racero
|
38bec0b8de
|
Save some extra codesize.
|
2020-09-15 14:21:17 +02:00 |
|
David Racero
|
aa834ee904
|
Added missing whenNotPaused to new functions. Changed IS_PAUSED error code to 58 to prevent error collision. Added new pausable tests.
|
2020-09-15 13:13:28 +02:00 |
|