Commit Graph

1664 Commits

Author SHA1 Message Date
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
80854db63b fix: Update style and variable naming of StaticATokenLM.sol 2021-06-17 14:52:30 +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
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
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
58d39af6ca config: Update package to handle paths + coverage 2021-06-01 12:59:30 +02:00
Lasse Herskind
9010a5e0d3 doc: Clean comments in StaticAtokenLM 2021-06-01 12:29:20 +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
8866ffdfa8 fix: Replace _safeRewardsTransfer by IERC20 safeTransfer directly 2021-06-01 11:33:26 +02:00
Lasse Herskind
f835701365 fix: Add coverage call and liquidity mining token test to scripts 2021-06-01 11:33:26 +02:00
Lasse Herskind
2a1ba6ab3d test: Add tests for static aToken with liquidity mining 2021-06-01 11:33:17 +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
Lasse Herskind
0eba9597e4 fix: Update coverage calls 2021-06-01 11:32:31 +02:00
eboado
39ce74624b - Added basic flow test of StaticAToken + template of other tests needed 2021-06-01 11:27:48 +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
Lasse Herskind
5726ddad2d test: Add tests for multiple updates of rewards in the same block 2021-06-01 11:07:08 +02:00
Lasse Herskind
7eb610c890 fix: Replace _safeRewardsTransfer by IERC20 safeTransfer directly 2021-06-01 11:04:52 +02:00
Lasse Herskind
f42b7590f4 fix: Add coverage call and liquidity mining token test to scripts 2021-06-01 10:47:24 +02:00
Lasse Herskind
00e7480c42 test: Add tests for static aToken with liquidity mining 2021-05-31 16:47:25 +02:00
Lasse Herskind
c4175e015c feat: Add contracts for static aToken with liquidity mining 2021-05-31 16:46:44 +02:00
Lasse Herskind
18d104e558 feature: vamtoken + attack 2021-05-31 16:23:28 +02:00
Lasse Herskind
b3f616ce5b fix: Update coverage calls 2021-05-31 16:21:41 +02:00
The-3D
53b27235ad
Merge pull request #126 from aave/feat/defender-integration
Add OpenZeppelin Defender Integration
2021-05-18 12:43:18 +02:00
miguelmtzinf
83d2989eb1 fix: Fix grammar typos on commments 2021-05-18 11:40:02 +02:00
miguelmtzinf
34c9bf209e fix: Fix typo of tenderlyRPC for tenderlyNetwork 2021-05-18 10:40:22 +02:00
miguelmtzinf
64d37bcc70 fix: Fix @tenderly/hardhat-tenderly to 1.1.0-beta.5 2021-05-18 09:59:05 +02:00
miguelmtzinf
1d78df4292 fix: Fix ts issue with DRE object 2021-05-17 18:15:04 +02:00
miguelmtzinf
e6684bf268 fix: Fix package-lock json 2021-05-17 18:01:52 +02:00
miguelmtzinf
93f9e6f678 feat: Add DEFENDER env variables to docker yml 2021-05-17 14:36:39 +02:00
miguelmtzinf
329a48cd03 feat: Add defender utils and use of signer 2021-05-17 14:35:21 +02:00
miguelmtzinf
d6f92a6fad feat: Add defender-relay-client dependency 2021-05-17 14:06:48 +02:00
The-3D
2aeb420b61
Merge pull request #104 from aave/fix/101-support-registry-config
fix: kovan deployment scripts
2021-05-14 15:07:40 +02:00
David Racero
9b06eb1477 feat: Improve readability of fork configuration. Support FORK_BLOCK_NUMBER enviroment variable. 2021-05-14 14:47:19 +02:00