Commit Graph

14 Commits

Author SHA1 Message Date
eboado
006a9ef1ed - Refactor digest encoding header to constant 2021-04-13 14:27:33 +02:00
eboado
07b42f99a7 - Refactored Errors on StaticAToken to library 2021-04-13 14:24:28 +02:00
eboado
ac9a124e77 - Gas optimization on _withdraw() on StaticAToken 2021-04-13 14:01:52 +02:00
eboado
57ab78d1cb - Renamed withdrawDynamicAmount() to withdrawInDynamicAmount() 2021-04-13 13:12:37 +02:00
eboado
76b6e92136 - Added function to "renew" approval on LendingPool on StaticAToken
- Replace natspec on StaticAToken with @inheritdoc, to avoid duplications with interface
2021-04-13 12:44:17 +02:00
eboado
d0834a8960 - Added nonReentrant modifier on StaticAToken external functions 2021-04-12 16:18:12 +02:00
eboado
b1bc1d5168 - Solve non-used return values.
- Use safeApprove() and gas optimization on constructor.
2021-04-12 14:22:00 +02:00
eboado
c4bcddbaf5 - Renamed shadowed variables on _dynamicToStaticAmount() and _staticToDynamicAmount() 2021-04-12 12:31:50 +02:00
Hadrien Charlanes
314aa37de2 Tested and Fixed contract 2021-03-24 11:37:43 +01:00
eboado
7c555ba55a - Added return params for deposit and withdrawal
- Fixed amountToBurn and amountToWithdraw on _withdraw()
2021-02-17 13:01:52 +01:00
eboado
068a17ca62 - Added possibility of withdraw using dynamic amounts 2021-02-17 10:47:19 +01:00
eboado
1fa797ec40 - Fixed _withdraw() logic StaticAToken 2021-02-16 11:51:06 +01:00
eboado
8352ada9e1 - Fixed recipient of aTokens 2021-02-16 10:19:15 +01:00
eboado
28cb41b8ca - Initial version of StaticAToken 2021-02-15 11:10:01 +01:00