Commit Graph

265 Commits

Author SHA1 Message Date
David Racero
a9e7fa3516 Added WETHGateway tests 2020-10-29 15:50:32 +01:00
David Racero
744befc46c Added deposit test for WETHGateway 2020-10-29 12:44:21 +01:00
David Racero
b5a3903ca0 Merge changes 2020-10-28 18:47:35 +01:00
David Racero
a966d9f53f Added new StringLib library with concat to reuse function in deployment helpers. 2020-10-28 18:39:19 +01:00
David Racero
9317df9252 Added boilerplate deployment, getters and tests. 2020-10-28 18:06:24 +01:00
David Racero
0d87292867 Fix merge conflicts. Fix ETH to WETH symbol change 2020-10-28 15:49:50 +01:00
Ernesto Boado
c34a22e79f Merge branch 'feat/70-basic-flow-task' into 'master'
Feat/70 basic flow task

See merge request aave-tech/protocol-v2!83
2020-10-27 13:00:32 +00:00
The-3D
b1fdd59c39 Merge branch 'feat/86-linear-interest-optimization' into 'master'
Fixes #86

Closes #86

See merge request aave-tech/protocol-v2!93
2020-10-27 12:02:32 +00:00
eboado
e88d9dc81b - Optimized calculateLinearInterest() on MathUtils. 2020-10-27 12:44:30 +01:00
David Racero
1ef22f036b Fix conflicts 2020-10-27 12:12:05 +01:00
emilio
1f8efbd4f5 Removed swapAdapter from the migration scripts 2020-10-27 11:08:11 +01:00
David Racero
161fb63f19 Added borrow rates deployment optimization and minor tweaks for deployment helpers 2020-10-27 10:58:51 +01:00
pol
52c21a38ba Merge branch 'master' of sendra.gitlab.com:aave-tech/protocol-v2 into feat/70-basic-flow-task 2020-10-27 10:49:34 +01:00
David Racero
e17f2ec814 Added collateral enable and stable migration optimization. 2020-10-26 17:43:10 +01:00
The-3D
85168f8ea7 Merge branch 'fix/78' into 'master'
Resolve "Extend flashloans to allow flashborrowing of multiple currencies"

Closes #78

See merge request aave-tech/protocol-v2!87
2020-10-26 13:14:42 +00:00
David Racero
95b94e46e2 Merge master 2020-10-26 10:41:24 +01:00
David Racero
e6be323e51 Remove unneeded factory 2020-10-23 18:41:52 +02:00
The3D
6398fe4260 Fix comments, tests 2020-10-23 18:41:08 +02:00
David Racero
1c7ce57b2b Aggregated deployments for initialization, atokens and debtTokens 2020-10-23 18:38:27 +02:00
pol
59ccd2aac3 mock swap addapter removed from everywhere 2020-10-23 16:56:30 +02:00
pol
9530dd115d added scenarios engine for subgraph testing 2020-10-23 15:20:29 +02:00
David Racero
cbc188e62a merge and add helper contracts 2020-10-23 15:18:01 +02:00
The3D
a2e2450bb3 Finalized implementation, fixed tests 2020-10-22 20:37:50 +02:00
The3D
302a19a1bc Merge branch 'master' into fix/73 2020-10-22 19:20:57 +02:00
David Racero
64df1eeb36 Removed mock swap 2020-10-22 18:27:23 +02:00
David Racero
fd61ab9018 Merge master 2020-10-22 18:17:24 +02:00
David Racero
3b2b843b7b Fixes typings errors. 2020-10-22 18:14:56 +02:00
David Racero
bb0df73449 WIP test erroring 2020-10-22 17:32:50 +02:00
The3D
b7efa920ca Remove swapLiquidity/repayWithCollateral 2020-10-22 11:50:04 +02:00
emilio
19756cdbe8 fixed PVE001, PVE009(1) 2020-10-19 18:29:32 +02:00
David Racero
60c93a4d73 Remove debug console.logs 2020-10-16 12:07:35 +02:00
David Racero
628f0de639 Merge branch 'feat/66' into 67-use-factory-functions 2020-10-16 11:50:51 +02:00
David Racero
e0627ce66b Added correct library placheholder hashes. Fix imports. 2020-10-16 11:27:09 +02:00
David Racero
03504849f1 Deployment function optimizations WIP 2020-10-15 19:19:02 +02:00
The3D
b4f8592775 Fixed #69 2020-10-15 17:57:54 +02:00
The3D
e4dc67ec7a Updated test error messages 2020-10-15 17:20:22 +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
The3D
543c3f5c9c Merge branch 'master' into fix/62 2020-10-13 13:41:57 +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
d150458604 Merge branch 'master' into feat/18 2020-10-08 15:41:48 +02:00
eboado
273070fada Added return uint256 validation to flashLoan() 2020-10-07 16:20:32 +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