Commit Graph

28 Commits

Author SHA1 Message Date
Lasse Herskind
4be5c0ea0f fix: Remove unused imports 2021-10-14 14:02:45 +01:00
Lasse Herskind
02b9641276 fix: Reject deposits directly to implementation 2021-10-14 13:58:41 +01:00
Lasse Herskind
123415be61 feat: Support older aTokens without incentives controller 2021-10-14 11:24:33 +01:00
Lasse Herskind
238e5af2a9 fix: Add stataUSDC decimal check 2021-09-21 13:49:59 +02:00
Lasse Herskind
1bf28602a3 fix: Replace constructor with initialize function and remove immutables 2021-09-21 13:30:40 +02:00
Lasse Herskind
00e01d816e feat: Add claimOnBehalf function + tests 2021-09-20 12:18:16 +02:00
Lasse Herskind
290ba077f5 fix: Remove chainId from input params, retrieve from assembly instead 2021-09-14 13:54:33 +02:00
Lasse Herskind
3389b8b806 fix: Replace literal erros string with constant number strings 2021-08-23 19:08:11 +02:00
Lasse Herskind
7b20dee0fa fix: minor simiplification in _withdraw amountToWithdraw computation 2021-08-23 16:51:43 +02:00
Lasse Herskind
2ac390b8fd fix: Use safeApprove instead of approve in constructor 2021-08-23 16:44:09 +02:00
Lasse Herskind
f5caf39343 fix: Add skip to tests that breaks with gas reporter enabled 2021-06-23 15:20:37 +02:00
Lasse Herskind
d12318591c fix: Add claimRewardsToSelf() to force receiver = msg.sender 2021-06-23 15:09:24 +02:00
Lasse Herskind
4373b61d76 fix: Update claimRewards() to limit access 2021-06-23 13:30:36 +02:00
Lasse Herskind
2644aaca7f fix: Remove block number constraint from collectAndUpdateRewards() + add test 2021-06-21 16:07:44 +02:00
Lasse Herskind
14fc0f6d90 fix: Remove VamToken and attack files 2021-06-17 13:03:36 +02:00
Lasse Herskind
7463b75a09 fix: Add check for user bal == contract bal when 1 user 2021-06-04 09:22:32 +02:00
Lasse Herskind
27ec584490 fix: Removed some comments 2021-06-03 16:06:23 +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
6c34a062af test: Replace gt, gte, lt, lte with eq when possible 2021-06-02 10:20:22 +02:00
Lasse Herskind
20635c1933 test: Cleanup in testfiles 2021-06-01 14:48:23 +02:00
Lasse Herskind
70e49ba127 fix: Update paths for tests 2021-06-01 12:21:06 +02:00
Lasse Herskind
209bd6b2de Merge branch 'feat-atoken-wrapper-liquidity-mining' of https://github.com/aave/protocol-v2 into feat-atoken-wrapper-liquidity-mining 2021-06-01 12:16:03 +02:00
Lasse Herskind
26f6dc8472 fix: Update paths in tests and contract. 2021-06-01 12:05:51 +02:00
Lasse Herskind
9f3a48b5d6 test: Add tests for multiple updates of rewards in the same block 2021-06-01 11:33:47 +02:00
Lasse Herskind
2a1ba6ab3d test: Add tests for static aToken with liquidity mining 2021-06-01 11:33:17 +02:00
Lasse Herskind
7376a11c9d feature: vamtoken + attack 2021-06-01 11:33:01 +02:00
eboado
39ce74624b - Added basic flow test of StaticAToken + template of other tests needed 2021-06-01 11:27:48 +02:00
Zer0dot
01a662680f Separated tests by market. Replace WETH9 symbol with 'UniWETH' to run test-lp. WIP. 2021-02-06 22:10:29 -05:00