Commit Graph

572 Commits

Author SHA1 Message Date
David Racero
7556f25c1a Moved all deployments outside of helpers with wrapper. 2020-10-15 20:28:12 +02:00
David Racero
03504849f1 Deployment function optimizations WIP 2020-10-15 19:19:02 +02:00
David Racero
88a2cb21f4 Move contract getters to their own file. Use factory connect. Fix imports 2020-10-15 13:57:03 +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
Ernesto Boado
50760a3036 Merge branch 'fix/64' into 'master'
Resolve "Optimize the proxies to remove state loads from the admin"

Closes #64

See merge request aave-tech/protocol-v2!71
2020-10-15 07:37:28 +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
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
Ernesto Boado
20da932c11 Merge branch 'feat/18' into 'master'
Resolve "Testnet/Mainnet migration scripts"

Closes #18

See merge request aave-tech/protocol-v2!19
2020-10-13 11:24:51 +00: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
9031da2c2c Added env variables mapping 2020-10-12 15:42:32 +02:00
The3D
0a203dc6f1 Added .env to gitignore 2020-10-12 15:20:38 +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
Ernesto Boado
a7861f8cba Merge branch 'fix/61' into 'master'
Resolve "Fix stable rate token events"

Closes #61

See merge request aave-tech/protocol-v2!69
2020-10-09 08:08:22 +00: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
The-3D
5ddd98c529 Merge branch 'fix/53-borrowing-mask' into 'master'
Fixes #53

Closes #53

See merge request aave-tech/protocol-v2!63
2020-10-08 08:55:35 +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
f3852d7081 Updated test on liquidation bonus 2020-10-06 11:36:29 +02:00
The3D
b88bdc8c2c updated test on liquidation threshold, reserve factor 2020-10-06 11:34:50 +02:00
The3D
d77e5ce5be Added test on disable stable borrow rate 2020-10-06 11:30:10 +02:00
The3D
b30ccd6dd2 Added test on disable stable borrow rate 2020-10-06 11:28:46 +02:00
The3D
35db5833fa Added test on disable stable borrow rate 2020-10-06 11:27:53 +02:00
The3D
3fd4003aa0 Added test on deactivate as collateral 2020-10-06 11:20:45 +02:00
The3D
450cdfa95c Updated tests on enableBorrowingOnReserve 2020-10-06 11:03:51 +02:00
The3D
bad45772c1 Updated tests on unfreeze 2020-10-06 11:02:34 +02:00
The3D
4d991e6709 Updated tests on freeze, borrowingEnabled 2020-10-06 10:59:33 +02:00
The3D
e86cf9fe0a Fixes liquidation bonus mask, adds comment on reserved bits 2020-10-06 10:23:02 +02:00