Hadrien Charlanes
|
3656bee3a1
|
Merge branch 'protocol-2.5' into feat/2.5-supply-and-borrow-caps
|
2021-05-17 19:42:59 +02:00 |
|
The3D
|
2507a2220b
|
comments: fixed comment for validateHealthFactor()
|
2021-05-13 16:42:14 +02:00 |
|
The3D
|
2dac7fbd80
|
fix: fixed behavior in case the asset withdrawn was already being used as collateral
|
2021-05-10 14:02:36 +02:00 |
|
Hadrien Charlanes
|
1de5a303f4
|
feat: implemented supply cap
|
2021-04-30 17:35:16 +02:00 |
|
Hadrien Charlanes
|
f624783a36
|
feat-refactor: added supplyCap and refactored borrowCap
|
2021-04-30 16:17:05 +02:00 |
|
The3D
|
ed987ac46e
|
refactor: removed balanceDecreaseAllowed
|
2021-04-29 19:55:52 +02:00 |
|
Hadrien Charlanes
|
05ca0c4ed1
|
fix: Addded decimals in borrowCap require
|
2021-04-27 19:01:28 +02:00 |
|
Hadrien Charlanes
|
7e02877966
|
refactor: fixed stack too deep
|
2021-04-27 18:37:13 +02:00 |
|
Hadrien Charlanes
|
03103fb63d
|
adding stack too deep
|
2021-04-27 18:26:08 +02:00 |
|
The3D
|
45acc0b854
|
refactor: improved variables naming
|
2021-04-27 17:21:36 +02:00 |
|
The3D
|
ada4994c7f
|
refactor: Replaced balanceOf() with scaledBalanceOf() + normalizedIncome/debt
|
2021-04-27 15:31:11 +02:00 |
|
Hadrien Charlanes
|
4ce1bfcb8c
|
feat: added borrow cap to config
|
2021-04-23 17:32:07 +02:00 |
|
The3D
|
03a410230d
|
Updated interest rate strategy to generalize fetching of the available liquidity
|
2021-03-01 15:58:31 +01:00 |
|
David Racero
|
6a503eb0a8
|
Lint files. Add all ts and sol files to pre-commit. Add prettier format check to CI.
|
2021-01-27 15:43:34 +01:00 |
|
eboado
|
3b11a4dca1
|
- Fix non-initialized vars.rateMode on borrow validation
|
2020-12-22 10:13:57 +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 |
|
eboado
|
7bcdce3090
|
- Reviewed tokenization documentation-wise
- Moved interaces in protocol/tokenization to the general interfaces/ folder.
|
2020-11-26 10:21:18 +01:00 |
|
The3D
|
92a731ec2c
|
Updated libraries
|
2020-11-25 18:33:49 +01:00 |
|
The3D
|
126458c7aa
|
Updated ReserveMap and UserMap
|
2020-11-24 16:17:27 +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 |
|
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 |
|