Commit Graph

818 Commits

Author SHA1 Message Date
The3D
261bf737ea refactor: refactored modifiers 2021-08-04 13:49:09 +02:00
The3D
7ebd95e22e feat: implemented the seize function 2021-06-30 13:12:14 +02:00
The3D
b3f7c1e883 fix: fixed permission on repay 2021-06-30 09:48:58 +02:00
The3D
a5b3e0f122 docs: fixed comments for isUserPermissionAdminValid 2021-06-25 14:06:10 +02:00
The3D
24570c90c9 feat: added check on the permission admin validity on the borrow/deposit/liquidate actions 2021-06-25 14:04:19 +02:00
The3D
6d30477950 feat:store permissionAdmin per user 2021-06-25 11:10:01 +02:00
The3D
469fde27c5 Merge branch 'master' into feat/permissioned-market 2021-06-25 09:09:03 +02:00
sendra
5f34943922 fix incentives order 2021-06-16 12:47:12 +02:00
sendra
59e5bf418c updated comments 2021-06-14 11:45:56 +02:00
sendra
191e5b4319 case for when there is no user 2021-06-08 15:27:57 +02:00
sendra
07ea0e6434 pulled from master, and solved conflicts 2021-06-07 13:45:34 +02:00
sendra
6319733e82 added 0 address check in case we dont have incentives controller 2021-06-07 13:39:34 +02:00
The3D
f228a5d16a feat: changed behavior for the validation of depositors and borrowers in deposit() and repay() 2021-05-20 18:48:30 +02:00
The3D
f2e8c2337d feat: adjusted lendingpool permissions 2021-05-20 17:08:33 +02:00
The3D
088d2733cf feat: added isInAnyRole, isInAllRoles 2021-05-20 11:38:22 +02:00
The3D
f9a0c172dd Merge branch 'master' into feat/permissioned-market 2021-05-17 16:08:43 +02:00
David Racero
4f7ce7e202
Merge branch 'master' into polygon-verifier 2021-05-11 12:55:17 +02:00
sendra
c1c2cffd26 remove try catch as it doesnt catch the implementation exeption 2021-04-26 17:51:39 +02:00
sendra
d36b9fd14c added other catch 2021-04-26 16:43:21 +02:00
sendra
f5f3adeb0f removed error from catch so it catches everything 2021-04-26 16:29:30 +02:00
sendra
8b8736dc5a Back to try catch, but with also 0 address catching 2021-04-26 15:26:36 +02:00
sendra
701c0793ce fix: merged with master 2021-04-26 12:51:04 +02:00
sendra
60ee0c54eb fix: added check if incentives contract is 0 2021-04-26 12:39:37 +02:00
sendra
60dc2346c8 fix: added try catch for incentives controller interactions 2021-04-26 12:26:30 +02:00
The3D
3542b88202 feat: added permissioned market implementation to the public repo 2021-04-23 20:30:07 +02:00
The3D
6230f2b034 Merge branch 'master' into protocol-2.5 2021-04-23 18:59:12 +02:00
David Racero
2a19131b7a feat: Updated to new interface of Incentives Controller 2021-04-21 18:00:00 +02:00
sendra
8000d838a3 Updated to new asset struct interface 2021-04-21 17:45:19 +02:00
sendra
21fc210901 fix: updated interface to last version 2021-04-19 17:17:30 +02:00
Zer0dot
5f817c7c09 fix: removed unused hardhat console import 2021-04-19 11:04:04 -04:00
sendra
5e5962372e feature: added emission end timestamp. Return struct instead, to save on stack space 2021-04-16 17:48:19 +02:00
The3D
94790ecc46 Fixed interface update 2021-04-12 11:10:22 +02:00
sendra
717bb133e1 added unclaimed user rewards 2021-04-08 13:55:01 +02:00
sendra
dc2943f2ec removed incentives data, as it is hardcoded on client side 2021-04-07 17:44:29 +02:00
sendra
b84a486d10 removed extra external calls that are not needed 2021-04-06 16:17:04 +02:00
Hadrien Charlanes
2ae2680834 Added permit to IAToken interface 2021-04-02 09:24:27 +02:00
Hadrien Charlanes
44528c7733 Created _executeRepay, _executeWithdraw 2021-04-02 09:24:19 +02:00
David Racero
ab14a0bc9d Fixed asset borrowing configuration at initialization 2021-03-31 17:39:59 +02:00
sendra
5ba17aa1c1 naming changed to IncentivesUserData 2021-03-30 13:19:47 +02:00
sendra
9ed357662b added public to incentives controller and price oracle so we can remove getters 2021-03-30 12:42:20 +02:00
sendra
99a0d17de4 reused local vars to not fill stack 2021-03-30 12:39:00 +02:00
sendra
e81ddb4e2f Added incentives information to UI data provider contract 2021-03-29 17:10:35 +02:00
sendra
2028631ad7 fixed not needed casting 2021-03-26 13:59:49 +01:00
sendra
83a499f299 added incentives emission for a / v /s tokens 2021-03-26 11:08:07 +01:00
sendra
f9cf541be1 Added incentives data to ui helper 2021-03-23 18:52:51 +01:00
Pierrick Turelier
b7aed31f79
feat(IAToken): add UNDERLYING_ASSET_ADDRESS function 2021-03-15 21:42:33 +01:00
The3D
7f44a0c242 Removed unused param in struct 2021-03-05 10:36:55 +01:00
The3D
eb9077f25e Refactored interest rate strategies tests 2021-03-01 20:26:08 +01:00
The3D
03dc5370ee Added initialized events 2021-03-01 18:33:48 +01:00
The3D
bc1a237f34 Added handleRepayment() function 2021-03-01 17:47:27 +01:00