Lasse Herskind
|
1bf28602a3
|
fix: Replace constructor with initialize function and remove immutables
|
2021-09-21 13:30:40 +02:00 |
|
Lasse Herskind
|
7f9108d1f8
|
fix: Move comments to interface and use @inheritdoc
|
2021-09-20 15:12:27 +02:00 |
|
Lasse Herskind
|
0b06c2d418
|
fix: Add IStaticATokenLM interface
|
2021-09-20 14:47:03 +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
|
8a253fc0ac
|
cleanup: Cleanup constructor
|
2021-09-14 13:35:51 +02:00 |
|
Lasse Herskind
|
73e4bb2b1c
|
fix: Fix typo in method name
|
2021-09-14 13:07:45 +02:00 |
|
Lasse Herskind
|
e541f43763
|
fix: Update imprecise comment
|
2021-09-14 13:06:53 +02:00 |
|
Lasse Herskind
|
8a7d523436
|
fix: Add missing return value to metaDeposit
|
2021-09-14 13:00:40 +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
|
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
|
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
|
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 |
|
Zer0dot
|
5f817c7c09
|
fix: removed unused hardhat console import
|
2021-04-19 11:04:04 -04:00 |
|
The3D
|
94790ecc46
|
Fixed interface update
|
2021-04-12 11:10:22 +02: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 |
|
The3D
|
e735d40a3b
|
Merge branch 'feat/light-deployments' of github.com:aave/protocol-v2 into feat/light-deployments
|
2021-03-01 15:58:41 +01:00 |
|
The3D
|
03a410230d
|
Updated interest rate strategy to generalize fetching of the available liquidity
|
2021-03-01 15:58:31 +01:00 |
|
The3D
|
77fab5d3bb
|
Added encoded parameter to reserve initialization
|
2021-02-26 18:17:10 +01:00 |
|
eboado
|
0302339892
|
- Changed modifier on batchInitReserve()
|
2021-02-18 13:29:17 +01:00 |
|
Zer0dot
|
e729926543
|
Merge branch 'master' into feat/light-deployments-update
|
2021-02-05 10:03:11 -05:00 |
|
eboado
|
34d7642990
|
- Fixed incompatible initialize() interface on LendingPool
|
2021-01-31 22:06:10 +01:00 |
|
David Racero
|
d464b0d592
|
Pull master and fix conflicts
|
2021-01-29 13:27:12 +01:00 |
|
eboado
|
80fd095723
|
- Implemented protocol changes to enable re-usage of implementations.
|
2021-01-28 11:05:19 +01: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 |
|
David Racero
|
a72b73d804
|
Merge branch 'master' of gitlab.com:aave-tech/protocol-v2 into 183-flash-liquidation-adapter
|
2021-01-20 09:27:33 +01:00 |
|