Commit Graph

37 Commits

Author SHA1 Message Date
Lasse Herskind
14fc0f6d90 fix: Remove VamToken and attack files 2021-06-17 13:03:36 +02:00
Lasse Herskind
51d60987f2 fix: Update visibility and reentrance possibility 2021-06-04 09:20:37 +02:00
Lasse Herskind
27ec584490 fix: Removed some comments 2021-06-03 16:06:23 +02:00
Lasse Herskind
e36a2f0e21 fix: Refactor, simplifying _beforeTokenTransfer 2021-06-03 15:59:20 +02:00
Lasse Herskind
c1ce8475de fix: Use userIndex instead of absolute debt 2021-06-03 15:36:22 +02:00
Lasse Herskind
fd38f1f4d8 fix: Minor refactor, variable renaming and cleanup 2021-06-03 15:20:10 +02:00
Lasse Herskind
d1ff677045 fix: Minor update of comments in token contract 2021-06-02 21:08:16 +02:00
Lasse Herskind
782d8acca2 fix: Use virtual rewards/balances when possible (update tests accordingly) 2021-06-02 20:48:47 +02:00
Lasse Herskind
9010a5e0d3 doc: Clean comments in StaticAtokenLM 2021-06-01 12:29:20 +02:00
Lasse Herskind
26f6dc8472 fix: Update paths in tests and contract. 2021-06-01 12:05:51 +02:00
Lasse Herskind
8866ffdfa8 fix: Replace _safeRewardsTransfer by IERC20 safeTransfer directly 2021-06-01 11:33:26 +02:00
Lasse Herskind
053b186777 feat: Add contracts for static aToken with liquidity mining 2021-06-01 11:33:01 +02:00
Lasse Herskind
7376a11c9d feature: vamtoken + attack 2021-06-01 11:33:01 +02:00
eboado
70898687b6 - Added return params for deposit and withdrawal
- Fixed amountToBurn and amountToWithdraw on _withdraw()
2021-06-01 11:25:49 +02:00
eboado
e96c9e7283 - Added possibility of withdraw using dynamic amounts 2021-06-01 11:25:49 +02:00
eboado
151b240bc4 - Fixed _withdraw() logic StaticAToken 2021-06-01 11:25:49 +02:00
eboado
51bd4ecee9 - Fixed recipient of aTokens 2021-06-01 11:25:49 +02:00
eboado
f342ec1555 - Initial version of StaticAToken 2021-06-01 11:25:49 +02:00
The3D
94790ecc46 Fixed interface update 2021-04-12 11:10:22 +02: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
The3D
77fab5d3bb Added encoded parameter to reserve initialization 2021-02-26 18:17:10 +01:00
eboado
80fd095723 - Implemented protocol changes to enable re-usage of implementations. 2021-01-28 11:05:19 +01:00
eboado
aa7c124a11 - Added credit delegation interface to debt tokens. 2020-11-30 18:16:25 +01:00
The3D
798231306b Updated event on burn of stable debt 2020-11-27 16:51:21 +01:00
eboado
fce475ee91 Merge branch 'master' into feat/168-remove-initialize 2020-11-26 16:03:12 +01:00
eboado
b2a871f8f7 - Removed unneed (and potentially harmful) initialize() from DelegationAwareAToken. 2020-11-26 16:02:51 +01:00
eboado
73c1934ada - Done less strict some other comparison with max of types 2020-11-26 15:46:09 +01:00
The3D
51d3bd0430 Updated comment 2020-11-26 14:58:42 +01:00
The3D
e16d33a4d7 Updated comment 2020-11-26 14:57:52 +01:00
The3D
56aca3e156 Updated comment 2020-11-26 14:57:06 +01:00
eboado
a27239129f - Misc doc fixes 2020-11-26 10:37:04 +01:00
eboado
3ef75e4018 - Fix redeem() = withdraw() on docs 2020-11-26 10:29:53 +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
eecb0b4fef Replaced borrows with debt in comments and the InterestRateStrategy contract 2020-11-23 18:52:52 +01:00
eboado
e2d1a274bc Merge branch 'master' into feat/153-improve-docs 2020-11-23 15:56:55 +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