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
|
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 |
|
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 |
|
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 |
|
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 |
|
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
|
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 |
|
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 |
|
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 |
|
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 |
|
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
|
53112c0982
|
Merge changes
|
2020-09-09 21:26:52 +02:00 |
|
eboado
|
4b3abac526
|
Merge branch 'master' into feat/26-repay-collateral
|
2020-09-09 21:12:36 +02:00 |
|
andyk
|
3173bee782
|
initial implementation of the credit delegation + basic tests
|
2020-09-09 15:33:05 +03: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 |
|
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
|
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 |
|
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 |
|
andyk
|
b0ddb815b8
|
small lending pool gas optimization
|
2020-08-25 13:37:38 +03:00 |
|
andyk
|
4b00cde616
|
fixes in lendingpool folder to follow our styleguide
|
2020-08-25 11:53:58 +03:00 |
|
The3D
|
03ec940109
|
Changed the indexes and rates type to uint128
|
2020-08-23 11:13:43 +02:00 |
|
The3D
|
796dc8ee3f
|
Updated repay function
|
2020-08-21 19:10:48 +02:00 |
|