Commit Graph

18 Commits

Author SHA1 Message Date
Hadrien Charlanes
9bd5b99654 fix: fixed error on balance" 2021-06-30 17:14:36 +02:00
The3D
435c34fefd fix: changed conditions of the exposure ceiling 2021-06-28 16:41:35 +02:00
The3D
d2d7e48ee3 refactor: optimization on getUserAccountData() 2021-06-28 14:30:07 +02:00
Hadrien Charlanes
9727c0ab79
Merge branch 'protocol-2.5' into feat/2.5-exposure-ceiling 2021-06-15 14:13:25 +02:00
emilio
760be1cb42 refactor: further refactored cache, changed linkage behavior of GenericLogic 2021-06-11 11:27:19 +02:00
Hadrien Charlanes
776220d705 feat: removed user updates on droped reserves 2021-06-08 17:53:52 +02:00
Hadrien Charlanes
7a80d5cd14 feat: allowed people to withdraw colleteral that exceeded the exposure cap if their ltv still superior to their liq threshold 2021-06-03 18:19:38 +02:00
Hadrien Charlanes
485a41a0ef feat: added exposure cap == 0 means no exposure cap 2021-06-03 16:33:26 +02:00
Hadrien Charlanes
129a96a3cf fix: exposure cap is on supply of collaterals, not on debts.. 2021-06-03 16:31:09 +02:00
Hadrien Charlanes
68ff74a3a6 feat: added exposure cap logic in calculateUserAccountData 2021-06-03 11:57:14 +02:00
The3D
ed987ac46e refactor: removed balanceDecreaseAllowed 2021-04-29 19:55:52 +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
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
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