emilio
|
b57a59ea6d
|
Fixes PVE002
|
2020-10-19 15:40:19 +02:00 |
|
emilio
|
e0f5c5fb7f
|
Fixes PVE002
|
2020-10-19 15:29:42 +02:00 |
|
emilio
|
bb234fbc7c
|
fixed #72
|
2020-10-19 10:55:45 +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
|
b4f8592775
|
Fixed #69
|
2020-10-15 17:57:54 +02: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 |
|
David Racero
|
479aa3ef8e
|
Updated numbers
|
2020-10-15 09:38:46 +02:00 |
|
andyk
|
0a1c656cc1
|
Merge branch 'fix/62' into feat/data-helpers
|
2020-10-14 17:12:49 +03:00 |
|
andyk
|
e35882b6cb
|
initial version
|
2020-10-14 16:54:22 +03: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
|
94c9b7156c
|
Added InitializableImmutableAdminUpgradeabilityProxy
|
2020-10-13 10:35:06 +02:00 |
|
The3D
|
d681a21272
|
Added immutable proxies
|
2020-10-13 10:28:52 +02:00 |
|
The3D
|
aea61d57ab
|
Fixed tests code
|
2020-10-12 20:07:17 +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
|
fb9f981efa
|
Added getUserReserveData to test helpers
|
2020-10-12 15:10:16 +02: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
|
be517ad960
|
Added memory accessors to reserveConfiguration
|
2020-10-12 11:23:18 +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
|
83b8c979d0
|
Merge branch 'master' into feat/18
|
2020-10-09 10:21:58 +02:00 |
|
The3D
|
3439198ec3
|
fixed events in the token contract
|
2020-10-09 10:03:50 +02:00 |
|
The3D
|
cb6603f8a7
|
fixes interface
|
2020-10-09 10:00:55 +02:00 |
|
The3D
|
d150458604
|
Merge branch 'master' into feat/18
|
2020-10-08 15:41:48 +02:00 |
|
Ernesto Boado
|
7a0d201f00
|
Merge branch 'fix/58' into 'master'
Resolve "Optimize the reading of the list of reserves by replacing the array with a mapping"
Closes #58
See merge request aave-tech/protocol-v2!66
|
2020-10-08 12:24:04 +00: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
|
e86cf9fe0a
|
Fixes liquidation bonus mask, adds comment on reserved bits
|
2020-10-06 10:23:02 +02:00 |
|
The3D
|
3ad9e7b9e0
|
Added natspec comment to mintToTreasury
|
2020-10-05 13:12:58 +02:00 |
|
The3D
|
c45d6c254b
|
fixes #56
|
2020-10-05 13:11:53 +02:00 |
|
The3D
|
5a67250743
|
fixed error code
|
2020-09-30 18:03:34 +02:00 |
|
The3D
|
758675c132
|
Fixes tests
|
2020-09-30 17:59:47 +02:00 |
|
The3D
|
b907b6b0b3
|
Initial fix
|
2020-09-30 17:40:47 +02:00 |
|
eboado
|
d56a7a2779
|
Misc changes on ReserveConfiguration:
- Fixed unprecise STABLE_BORROWING_MASK.
- Added constant for start bit positions of the different configurations.
|
2020-09-30 11:24:22 +02:00 |
|
eboado
|
099532ee48
|
- Added general setter and getter of address to LendingPoolAddressesProvider.
- Adapted style of LendingPoolAddressesProviderRegistry, adding public getter function in the process.
|
2020-09-29 16:31:21 +02:00 |
|
The3D
|
948bd960be
|
Initial commit
|
2020-09-28 19:33:39 +02:00 |
|
The3D
|
e328cf0482
|
Formatting, removed console import
|
2020-09-25 10:57:51 +02:00 |
|
The3D
|
687b13f019
|
Formatting, removed console import
|
2020-09-25 10:57:26 +02:00 |
|
The3D
|
fb0f533ae9
|
Changes usage of the ltv in calculateUserAccountData
|
2020-09-25 10:55:58 +02:00 |
|
The3D
|
6e7787d23c
|
initial fix
|
2020-09-24 18:20:17 +02:00 |
|
David Racero
|
ffc81df4ee
|
Fix conflicts and renamings
|
2020-09-24 17:48:29 +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
|
c346251df0
|
Added comments
|
2020-09-21 18:51:51 +02:00 |
|
The3D
|
c278832e5a
|
Removed unused error code
|
2020-09-21 17:59:44 +02:00 |
|
The3D
|
e348c334e3
|
Cleaned up aToken, debt tokens code
|
2020-09-21 17:58:02 +02:00 |
|
The3D
|
9d1c13cf96
|
added events to mintToTreasury()
|
2020-09-21 17:41:38 +02:00 |
|
The3D
|
2ebe34a051
|
removed userIndex from variabledebttoken
|
2020-09-21 16:11:14 +02:00 |
|
The3D
|
b7c4a255a9
|
Refactored aToken
|
2020-09-21 15:58:19 +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
|
5868a4844f
|
Updated testsW
|
2020-09-18 17:56:33 +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
|
7986a4704b
|
Fixed mintToTreasury function
|
2020-09-17 10:53:55 +02:00 |
|
The3D
|
bcdef6fa7e
|
Added change to the stabledebttoken
|
2020-09-16 20:00:13 +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 |
|
Ernesto Boado
|
b182731074
|
Merge branch 'feat/pei-integration' into 'master'
Integration of pei
See merge request aave-tech/protocol-v2!49
|
2020-09-16 11:17:05 +00: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 |
|
andyk
|
214c51f365
|
disallow liquiditySwap with freezed reserve as to
|
2020-09-16 10:22:46 +03:00 |
|
The3D
|
d873b63082
|
Removed unused flashloan vars
|
2020-09-15 18:54:59 +02:00 |
|
The3D
|
04a67d3df0
|
updated stabledebttoken
|
2020-09-15 18:49:53 +02:00 |
|
andyk
|
125644cc54
|
Merge branch 'master' into feat/pei-integration
|
2020-09-15 18:43:55 +03:00 |
|
David Racero
|
6cbcf39454
|
Fixed conflicts and merge changes
|
2020-09-15 17:24:50 +02:00 |
|
andyk
|
fba2f03c03
|
rename ERC20 to IncentivizedERC20
|
2020-09-15 18:08:28 +03:00 |
|
andyk
|
6af1e0923f
|
fix _incentivesController call in _transfer
|
2020-09-15 17:49:53 +03:00 |
|
andyk
|
3340bb14fb
|
typo 0x0 -> 0
|
2020-09-15 17:40:40 +03:00 |
|
andyk
|
43c8ef02db
|
initial integration of pei, no tests
|
2020-09-15 16:53:20 +03: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
|
89ca48e0b2
|
Merge branch 'master' into 'feat/pausable'
# Conflicts:
# contracts/tokenization/AToken.sol
|
2020-09-15 13:27:21 +00:00 |
|
The3D
|
3c3a01b80f
|
Updated events on debt tokens
|
2020-09-15 15:20:32 +02:00 |
|
Ernesto Boado
|
191f65c7f0
|
Merge branch 'feat/modifier-to-function' into 'master'
Change modifier to function to save code size
See merge request aave-tech/protocol-v2!47
|
2020-09-15 12:53:28 +00:00 |
|
The3D
|
b963afb0fb
|
Updated AToken, ERC20
|
2020-09-15 14:36:02 +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 |
|
David Racero
|
83bf3e5677
|
Trim PausablePool into LendingPool to save code size.
|
2020-09-15 11:56:08 +02:00 |
|
David Racero
|
eea47aedde
|
Minimize Pausable contract
|
2020-09-15 11:03:04 +02:00 |
|
David Racero
|
6842978706
|
Merge and fix conflicts
|
2020-09-15 10:57:04 +02:00 |
|
eboado
|
0c94b24700
|
- Fixed description on swapLiquidity().
|
2020-09-15 10:43:22 +02:00 |
|
eboado
|
59996e1ece
|
- Refactor validation of swapLiquidity() to ValidationLogic.
- Added extra check on active reserves on swapLiquidity().
|
2020-09-15 10:28:39 +02:00 |
|
eboado
|
8d391b9ab5
|
Merge branch 'master' into 30-collateral-swap
|
2020-09-15 09:56:41 +02:00 |
|
eboado
|
172cb05b64
|
- Renamed collateralSwap() to swapDeposit().
- Added docs to sw
|
2020-09-15 09:51:23 +02:00 |
|
The3D
|
f428f69ebd
|
Merge branch 'master' into fix/34
|
2020-09-15 09:34:00 +02:00 |
|
andyk
|
65775ca3bf
|
update collateralSwap signature in the delegate call
|
2020-09-15 09:46:24 +03:00 |
|
eboado
|
fb15afda8e
|
Merge branch 'master' into fix/35-isActive-liquidations
|
2020-09-14 21:31:22 +02:00 |
|
eboado
|
c4904bc41c
|
Merge branch 'master' into 30-collateral-swap
|
2020-09-14 21:06:16 +02:00 |
|
David Racero
|
59bfdc39f2
|
Fix conflicts
|
2020-09-14 19:59:00 +02:00 |
|
David Racero
|
4ec61ee993
|
When transfer, check pause at pool to save one external call.
|
2020-09-14 19:46:27 +02:00 |
|
The3D
|
d542f098c1
|
fixed deposit, withdraw tests
|
2020-09-14 19:25:45 +02:00 |
|
eboado
|
0d36eab807
|
Merge branch 'master' into feat/36-permit-atoken
|
2020-09-14 17:27:12 +02:00 |
|
eboado
|
721dc1c832
|
- Fixed comment on permit().
|
2020-09-14 17:27:08 +02:00 |
|
eboado
|
a87dae445f
|
Merge branch 'master' into 33-add-native-credit-delegation
|
2020-09-14 17:24:55 +02:00 |
|
eboado
|
6d96be5f42
|
- Added extra natspecs
|
2020-09-14 17:18:57 +02:00 |
|
andyk
|
9d757aaa37
|
fix docustring
|
2020-09-14 17:57:59 +03:00 |
|
David Racero
|
64066a14ec
|
Rename IS_ACTIVE to NOT_PAUSED error.
|
2020-09-14 16:09:57 +02:00 |
|
eboado
|
c531b87703
|
Merge branch 'master' into feat/36-permit-atoken
|
2020-09-14 16:02:53 +02:00 |
|
David Racero
|
98ed475000
|
Remove Context and account from PausablePool events.
|
2020-09-14 15:59:11 +02:00 |
|
eboado
|
748312cf20
|
- Added permit() to aToken.
|
2020-09-14 15:57:11 +02:00 |
|
David Racero
|
5af23057fa
|
Fix conflicts.
|
2020-09-14 15:53:34 +02:00 |
|
David Racero
|
775d003cc0
|
Keep standard paused() name function.
|
2020-09-14 15:33:24 +02:00 |
|
David Racero
|
6e0091a668
|
Added PausablePool contract to support errors by number.
|
2020-09-14 15:24:30 +02:00 |
|
andyk
|
7c67e0221c
|
extra comment
|
2020-09-14 16:16:54 +03:00 |
|
The3D
|
b2ec4dd2fa
|
Renamed totalBorrowsStable, totalBorrowsVariable
|
2020-09-14 15:13:30 +02:00 |
|
The3D
|
bb4e1b5c4b
|
Fixed errors
|
2020-09-14 15:09:16 +02:00 |
|
andyk
|
35bff4bea2
|
add comment for getDebtTokenAddress function
|
2020-09-14 15:50:46 +03:00 |
|
andyk
|
d135c25b39
|
add borrowRateMode check on credit delegation
|
2020-09-14 15:41:44 +03:00 |
|
David Racero
|
b8a7237458
|
Remove whenNotPaused modifier for configurator functions. Added more test cases.
|
2020-09-14 14:36:12 +02:00 |
|
David Racero
|
4a6517dce1
|
Inherit Pausable from LendingPoolLiquidationManager to match same storage layout as LendingPool.
|
2020-09-14 13:17:06 +02:00 |
|
David Racero
|
bbc11eb092
|
Added pausable to Pool actions and aTokens at transfer, triggered by LendingPoolConfigurator. Added basic test to aToken transfer.
|
2020-09-14 13:03:39 +02:00 |
|
andyk
|
c0c3133763
|
makecredit delegation per debt token
|
2020-09-14 13:52:05 +03:00 |
|
The3D
|
6e92575ac2
|
add code to _mintToTreasury
|
2020-09-14 11:41:14 +02:00 |
|
The3D
|
13f77ec0d2
|
Fixed repay
|
2020-09-14 11:34:40 +02:00 |
|
The3D
|
d1ffac6380
|
Merge branch 'master' into fix/34
|
2020-09-14 11:33:34 +02:00 |
|
The3D
|
a64edb3011
|
Removed interest redirection leftovers
|
2020-09-14 11:13:53 +02:00 |
|
The3D
|
5061aab9cc
|
Added the total supply on stable debt token
|
2020-09-14 11:09:47 +02:00 |
|
eboado
|
e2500d1532
|
- Refactored validation logic of liquidationCall() and repayWithCollateral() to ValidationLogic.
|
2020-09-14 10:52:31 +02:00 |
|
David Racero
|
1fbe84df49
|
Remove unused parameter to allow compilation without optimization for coverage.
|
2020-09-14 10:46:57 +02:00 |
|
The3D
|
3c8018fab9
|
Cleaned up code, converted addressesProvider to immutable in LendingPool
|
2020-09-14 10:43:30 +02:00 |
|
The3D
|
fc2852e94e
|
Rename updateIndexesAndTimestamp to updateState
|
2020-09-14 09:53:21 +02:00 |
|
The3D
|
162c7924a9
|
Added index to mint and burn of variableDebtToken
|
2020-09-14 09:33:53 +02:00 |
|
The3D
|
dbf1a0b9e7
|
Merge branch 'master' into fix/34
|
2020-09-14 09:22:39 +02:00 |
|
eboado
|
7a8a0d6ac5
|
Merge branch 'master' into 30-collateral-swap
|
2020-09-14 08:58:37 +02:00 |
|
The3D
|
f3856bac12
|
Refactored variable names, reordered the ReserveData struct
|
2020-09-13 11:58:45 +02:00 |
|
The3D
|
edfcdd6db4
|
Removed timestamp from stableDebtToken
|
2020-09-13 10:58:36 +02:00 |
|
eboado
|
0911f907a8
|
Fixes #35
|
2020-09-13 10:08:14 +02:00 |
|
The3D
|
70e1f88ce4
|
removed comment
|
2020-09-12 13:19:41 +02:00 |
|
The3D
|
0d9a18813f
|
Added optimization on mint and burn
|
2020-09-12 13:18:17 +02:00 |
|
The3D
|
7383fc9786
|
Merge branch 'master' into fix/29
|
2020-09-11 16:47:47 +02:00 |
|
The3D
|
b5efaa740f
|
Added total supply timestamp on the stable debt token
|
2020-09-11 15:22:54 +02:00 |
|
David Racero
|
4058a7284c
|
Update storage layout of LendingPoolLiquidationManager to add new mapping from LendingPool. Fixes delegatecall liquidation error.
|
2020-09-11 12:59:19 +02:00 |
|
eboado
|
f355ae219f
|
Merge branch 'master' into 33-add-native-credit-delegation
|
2020-09-11 11:25:42 +02:00 |
|
eboado
|
d3f9cd2191
|
Merge branch 'master' into 32-deposit-on-behalf-of
|
2020-09-10 21:40:26 +02:00 |
|
David Racero
|
167f02533f
|
Delete "if" condition due always will be true. Delete unreachable "else" code at repayWithCollateral.
|
2020-09-10 13:30:57 +00:00 |
|
The3D
|
73d7ca001c
|
added configurator tests
|
2020-09-10 13:52:07 +02:00 |
|
The3D
|
3563f1379d
|
Updated configurator for the reserve factor
|
2020-09-10 13:26:02 +02:00 |
|
The3D
|
c3b1ab0585
|
Refactored interestRateStrategy
|
2020-09-10 13:21:50 +02:00 |
|
The3D
|
af362141fd
|
Added reserveFactor to getReserveConfigurationData
|
2020-09-10 13:16:32 +02:00 |
|
The3D
|
de8ae523c8
|
Fixed total supply, tests
|
2020-09-10 13:05:02 +02:00 |
|
The3D
|
4a1e1156f4
|
Merge local branch
|
2020-09-10 12:51:52 +02:00 |
|
The3D
|
3df87a8e5d
|
Initial commit
|
2020-09-10 11:25:45 +02:00 |
|
The3D
|
e923324ea5
|
Removed duplicated comment
|
2020-09-10 09:57:15 +02:00 |
|
David Racero
|
53112c0982
|
Merge changes
|
2020-09-09 21:26:52 +02:00 |
|
The3D
|
a67c56c09f
|
Removed interest redirection, fixed tests
|
2020-09-09 21:16:39 +02:00 |
|
eboado
|
4b3abac526
|
Merge branch 'master' into feat/26-repay-collateral
|
2020-09-09 21:12:36 +02:00 |
|
The3D
|
a3934152fe
|
updated interest redirection
|
2020-09-09 19:43:41 +02:00 |
|
The3D
|
0f06c3b72e
|
updated interest redirection tests
|
2020-09-09 17:20:36 +02:00 |
|
andyk
|
3173bee782
|
initial implementation of the credit delegation + basic tests
|
2020-09-09 15:33:05 +03:00 |
|
The3D
|
223690f5f1
|
Fixed test on transfer, updated interest redirection tests
|
2020-09-09 14:15:38 +02:00 |
|
eboado
|
d828c63a83
|
- Added reset of user's usage as collateral on repayWithCollateral().
|
2020-09-09 13:21:19 +02:00 |
|
eboado
|
37a9c7ad88
|
- Added reentrancy guard on repayWithCollateral() and test.
|
2020-09-09 13:06:46 +02:00 |
|
andyk
|
9d7bf388a6
|
initial changes + test
|
2020-09-09 13:47:27 +03:00 |
|
The3D
|
b0084aaf33
|
Fixes borrow, repay, swap rate mode, rebalance tests
|
2020-09-09 11:43:11 +02:00 |
|
The3D
|
6454f040e8
|
Fixed withdrawal tests
|
2020-09-09 10:44:34 +02:00 |
|
The3D
|
90de5d2b0f
|
Fixed transfer tests
|
2020-09-09 10:03:19 +02:00 |
|
The3D
|
2e8f6ee02c
|
Updating withdrawal tests
|
2020-09-08 16:14:32 +02:00 |
|
eboado
|
3aa0dbc570
|
- Added tests of repayWithCollateral(), only for self-liquidation.
|
2020-09-08 15:05:53 +02:00 |
|
The3D
|
e3c422468d
|
Updated comment
|
2020-09-08 13:48:33 +02:00 |
|
The3D
|
03767e003f
|
Fixes deposits tests
|
2020-09-08 13:45:24 +02:00 |
|
The3D
|
a7b6beef48
|
Initial refactor commit
|
2020-09-07 17:55:47 +02:00 |
|
andyk
|
212cf76f23
|
add base tests
|
2020-09-07 16:48:46 +03:00 |
|
andyk
|
721e73c36e
|
add error from lib
|
2020-09-07 14:41:27 +03:00 |
|
andyk
|
5e3b6869b5
|
add check of 0 amountToReceive
|
2020-09-07 13:00:28 +03:00 |
|
andyk
|
f1d3b8c9d6
|
add ISwapAdapter interface
|
2020-09-07 12:54:38 +03:00 |
|
andyk
|
5c28bf5a49
|
initial implementation of collateral swap method
|
2020-09-07 12:46:11 +03:00 |
|
The3D
|
027a7e11e8
|
Removed userIndex
|
2020-09-05 18:37:48 +02:00 |
|
eboado
|
819cc65abd
|
Merge branch 'master' into feat/27-new-erc20
|
2020-09-04 17:10:32 +02:00 |
|
eboado
|
da734aa68a
|
- Refactored ERC20 and adapted derived contracts.
|
2020-09-04 16:27:35 +02:00 |
|
The3D
|
58488158cd
|
Refactored error messages
|
2020-09-04 12:48:29 +02:00 |
|
The3D
|
9aad57978d
|
Merged master
|
2020-09-04 10:27:32 +02:00 |
|
eboado
|
2cbb1f5714
|
- Implemented repayWithCollateral() on LendingPoolLiquidationManager.
|
2020-09-03 15:46:45 +02:00 |
|
pol
|
07007fa933
|
Fixed sintax errors
|
2020-09-03 11:17:49 +02:00 |
|
pol
|
714c2ff3fd
|
Refactored as per the PR comments
|
2020-09-03 10:33:15 +02:00 |
|
pol
|
288d8f2889
|
Added LendingPoolLiquidationManager error messages to error lib, and updated tests.
|
2020-09-02 18:53:39 +02:00 |
|
pol
|
76b4fc6b2d
|
All tests working. WIP look at old error messages to remove them all
|
2020-09-02 17:54:34 +02:00 |
|
pol
|
6122826ef4
|
fixed getting error codes from error lib
|
2020-09-02 16:34:15 +02:00 |
|
pol
|
7b4812c956
|
Moved error messages to error lib
|
2020-09-02 15:48:38 +02:00 |
|
eboado
|
e4485f12fe
|
- Refactored logic of repay() to an internal _executeRepay().
- Initial implementation of flashCollateral() for flash liquidations, repayment with collateral and movement of position.
|
2020-08-26 16:02:22 +02:00 |
|
pol
|
dbcd78a098
|
Updated require message errors with constant string numbers to reduce gas
|
2020-08-25 17:27:37 +02:00 |
|
pol
|
5841e51439
|
Updated require message errors with constant string numbers to reduce gas
|
2020-08-25 15:57:54 +02:00 |
|
pol
|
0f5017cc81
|
Updated require message errors with constant string numbers to reduce gas
|
2020-08-25 15:51:52 +02:00 |
|
pol
|
abe967c707
|
Updated require message errors with constant string numbers to reduce gas
|
2020-08-25 15:32:22 +02:00 |
|
David Racero
|
cf70929eee
|
Merge and fix conflicts
|
2020-08-25 14:15:35 +02:00 |
|
andyk
|
b0ddb815b8
|
small lending pool gas optimization
|
2020-08-25 13:37:38 +03:00 |
|
Ernesto Boado
|
eba3b5260f
|
Merge branch 'fix/interest-strategy-styliguide' into 'master'
Refactoring of DefaultReserveInterestRateStrategy to follow the stuileguide
See merge request aave-tech/protocol-v2!32
|
2020-08-25 09:11:58 +00:00 |
|
andyk
|
4b00cde616
|
fixes in lendingpool folder to follow our styleguide
|
2020-08-25 11:53:58 +03:00 |
|
andyk
|
da5b6738c1
|
refactoring of DefaultReserveInterestRateStrategy to follow the stuileguide
|
2020-08-24 15:35:59 +03:00 |
|
The3D
|
03ec940109
|
Changed the indexes and rates type to uint128
|
2020-08-23 11:13:43 +02:00 |
|
The3D
|
5b7a2f2a55
|
Optimized debt tokens
|
2020-08-22 19:33:55 +02:00 |
|
The3D
|
4d054dd56d
|
Optimized MathUtils, ReserveLogic
|
2020-08-22 13:01:41 +02:00 |
|
The3D
|
06fbe2d2a4
|
Removed SafeMath from WadRayMath, PercentageMath
|
2020-08-22 12:04:34 +02:00 |
|
The3D
|
796dc8ee3f
|
Updated repay function
|
2020-08-21 19:10:48 +02:00 |
|
The3D
|
9a4ccde6a2
|
Removed obsolete code
|
2020-08-21 19:00:08 +02:00 |
|
The3D
|
955d2be1da
|
Merge branch 'master' into fix/22
|
2020-08-21 18:48:16 +02:00 |
|
The3D
|
bd0377198c
|
Merge branch 'master' into fix/interfaces-guideline
|
2020-08-21 18:36:03 +02:00 |
|
The3D
|
1864c7abf4
|
Updated libraries, renamed internal methods
|
2020-08-21 18:18:12 +02:00 |
|
David Racero
|
f9fddfba59
|
Fix conflicts
|
2020-08-21 17:19:25 +02:00 |
|
andyk
|
13f4d34867
|
refactoring flashloan folder to fit current guideline, move events to interfaces
|
2020-08-21 17:03:01 +03:00 |
|
The3D
|
78cf1d5bfd
|
Merge branch 'master' into fix/22
|
2020-08-21 16:00:51 +02:00 |
|
andyk
|
2d0325a3d2
|
refactoring interfaces and config folders to fit current guideline
|
2020-08-21 16:38:47 +03:00 |
|
Andrey Ko
|
c340b9972f
|
Merge branch 'master' into 'fix/21'
# Conflicts:
# contracts/lendingpool/LendingPool.sol
|
2020-08-21 13:20:41 +00:00 |
|
The3D
|
b7fa1bcac8
|
Merge branch 'master' into fix/22
|
2020-08-21 15:14:43 +02:00 |
|
The3D
|
8fe40b4639
|
Initial update of ReserveLogic
|
2020-08-21 15:13:08 +02:00 |
|
The-3D
|
dfa64d63f3
|
Merge branch 'fix/misc-guideline' into 'master'
Refactoring misc folder to fit current guideline
See merge request aave-tech/protocol-v2!26
|
2020-08-21 13:03:47 +00:00 |
|
The3D
|
86541b3fe5
|
Fixed GenericLogic
|
2020-08-21 14:58:30 +02:00 |
|
The3D
|
e948101f87
|
Fixed Helpers
|
2020-08-21 14:54:07 +02:00 |
|
The3D
|
b13e08cfde
|
Fixed UserConfiguration
|
2020-08-21 14:52:10 +02:00 |
|
The3D
|
e39cf64183
|
Updated ReserveConfiguration
|
2020-08-21 14:50:28 +02:00 |
|
The3D
|
1dd2a638ca
|
Updated LiquidationManager
|
2020-08-21 14:14:13 +02:00 |
|
The3D
|
38bff60298
|
Updated comments
|
2020-08-21 14:05:14 +02:00 |
|
The3D
|
b4b9ff604a
|
Cleaned up configurator, LendingPooL
|
2020-08-21 14:03:17 +02:00 |
|