Commit Graph

373 Commits

Author SHA1 Message Date
The3D
6398fe4260 Fix comments, tests 2020-10-23 18:41:08 +02:00
The3D
a2e2450bb3 Finalized implementation, fixed tests 2020-10-22 20:37:50 +02:00
The3D
af99c88b70 Added error constant 2020-10-22 19:20:19 +02:00
The3D
8873b9cdac initial implementation 2020-10-22 18:15:56 +02:00
The3D
b7efa920ca Remove swapLiquidity/repayWithCollateral 2020-10-22 11:50:04 +02:00
emilio
bb234fbc7c fixed #72 2020-10-19 10:55:45 +02:00
Ernesto Boado
017589a8f7 Merge branch 'fix/68' into 'master'
Resolve "Gas optimizations"

Closes #68

See merge request aave-tech/protocol-v2!77
2020-10-16 08:05:11 +00:00
The3D
b4f8592775 Fixed #69 2020-10-15 17:57:54 +02:00
The3D
6a06a3e88f removed openzeppelin imports2 2020-10-15 15:41:56 +02:00
The3D
937fb1df93 Folders reorg 2020-10-15 15:25:27 +02:00
The3D
86ddf25a3a Reorganized folders 2020-10-15 15:16:05 +02:00
The3D
46bcf4b821 Merge branch 'master' into feat/rm-unused-imports 2020-10-15 14:29:51 +02:00
The3D
1b1fd6e5e2 Fixes #68 2020-10-15 14:13:46 +02:00
Ernesto Boado
a12f871953 Merge branch 'fix/62' into 'master'
Resolve "Replace getters from LendingPool"

Closes #62

See merge request aave-tech/protocol-v2!70
2020-10-15 07:39:13 +00:00
The3D
1ca88ec0ae Fixed comment on getUserConfiguration 2020-10-14 14:34:17 +02:00
The3D
c181ed02e4 Fixed configurator 2020-10-14 14:24:01 +02:00
The3D
45f3c26139 Removed ERC20 proxy 2020-10-14 13:55:38 +02:00
David Racero
b919886916 Remove unused imports 2020-10-14 09:53:48 +02:00
The3D
645ecb214b Merge branch 'master' into fix/64 2020-10-13 16:43:30 +02:00
The3D
543c3f5c9c Merge branch 'master' into fix/62 2020-10-13 13:41:57 +02:00
The3D
1b4bc6f855 Added ERC20 proxy 2020-10-13 13:21:11 +02:00
The3D
6839be6dca Updated addresses provider, configurator 2020-10-13 10:38:22 +02:00
The3D
94c9b7156c Added InitializableImmutableAdminUpgradeabilityProxy 2020-10-13 10:35:06 +02:00
The3D
d681a21272 Added immutable proxies 2020-10-13 10:28:52 +02:00
The3D
aea61d57ab Fixed tests code 2020-10-12 20:07:17 +02:00
The3D
53d6114775 Merge branch 'master' into feat/18 2020-10-12 15:19:27 +02:00
The-3D
fc9b096f23 Merge branch 'fix/60-flashloan-attack' into 'master'
Fixes #60

Closes #60

See merge request aave-tech/protocol-v2!68
2020-10-12 13:11:38 +00:00
The3D
fb9f981efa Added getUserReserveData to test helpers 2020-10-12 15:10:16 +02:00
The3D
b450a04642 Added getter for userconfiguration 2020-10-12 14:37:53 +02:00
The3D
645ea913b0 Moved accessors to AaveProtocolTestHelpers 2020-10-12 14:25:03 +02:00
eboado
80bdb0f2b2 Changed return of executeOperation() to bool, as the amount is never used. 2020-10-12 12:00:49 +02:00
The3D
be517ad960 Added memory accessors to reserveConfiguration 2020-10-12 11:23:18 +02:00
The3D
4b35df5c4c Merge branch 'master' into fix/62 2020-10-12 10:50:33 +02:00
The3D
40ff898011 Refactored LendingPool 2020-10-12 10:50:06 +02:00
The-3D
024def04b5 Merge branch 'fix/56' into 'master'
Resolve "Validate divison in the aToken/variable debt token to ensure it's not rounded down to 0"

Closes #56

See merge request aave-tech/protocol-v2!64
2020-10-12 08:19:07 +00:00
The3D
44ba72540c Updated configurator, LendingPool interface 2020-10-09 17:59:10 +02:00
The3D
640f30c786 Removed getters 2020-10-09 16:35:02 +02:00
The3D
83b8c979d0 Merge branch 'master' into feat/18 2020-10-09 10:21:58 +02:00
The3D
3439198ec3 fixed events in the token contract 2020-10-09 10:03:50 +02:00
The3D
cb6603f8a7 fixes interface 2020-10-09 10:00:55 +02:00
The3D
d150458604 Merge branch 'master' into feat/18 2020-10-08 15:41:48 +02:00
Ernesto Boado
7a0d201f00 Merge branch 'fix/58' into 'master'
Resolve "Optimize the reading of the list of reserves by replacing the array with a mapping"

Closes #58

See merge request aave-tech/protocol-v2!66
2020-10-08 12:24:04 +00:00
eboado
273070fada Added return uint256 validation to flashLoan() 2020-10-07 16:20:32 +02:00
The3D
9fdfc8bf26 Added check if the reserve was already added 2020-10-06 18:20:44 +02:00
The3D
24a4980496 Refactored reservesList to a mapping 2020-10-06 15:51:48 +02:00
The3D
e86cf9fe0a Fixes liquidation bonus mask, adds comment on reserved bits 2020-10-06 10:23:02 +02:00
The3D
3ad9e7b9e0 Added natspec comment to mintToTreasury 2020-10-05 13:12:58 +02:00
The3D
c45d6c254b fixes #56 2020-10-05 13:11:53 +02:00
The3D
5a67250743 fixed error code 2020-09-30 18:03:34 +02:00
The3D
758675c132 Fixes tests 2020-09-30 17:59:47 +02:00