Commit Graph

413 Commits

Author SHA1 Message Date
Gerardo Nardelli
e5d37e1a8c Add view method to estimate swaps outputs 2020-10-27 16:32:09 -03:00
Gerardo Nardelli
96e74cf707 Update adapters to use the new flashloan interface 2020-10-27 11:22:16 -03:00
Gerardo Nardelli
723e3f82a6 Merge branch 'master' into feat/uniswap-adapter-flashloan
# Conflicts:
#	helpers/contracts-helpers.ts
#	test/__setup.spec.ts
#	test/helpers/make-suite.ts
2020-10-27 09:26:43 -03:00
Gerardo Nardelli
a05b75b467 Add uniswap adapters unit tests 2020-10-27 09:18:30 -03:00
Gerardo Nardelli
7c51597282 Add uniswap adapters for liquidity swap and repay with collateral 2020-10-27 09:17:33 -03:00
The-3D
cb03bab6ea Merge branch 'fix/85-total-supply-shadowing' into 'master'
Fixes #85

Closes #85

See merge request aave-tech/protocol-v2!94
2020-10-27 12:05:49 +00:00
eboado
85246906e4 - Removed shadowing of totalSupply on IncentiveizedERC20 2020-10-27 13:04:07 +01: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
The-3D
2fd3fe141a Merge branch 'fix/84-seconds-year-comment' into 'master'
Fixes #84

Closes #84

See merge request aave-tech/protocol-v2!92
2020-10-27 11:16:38 +00:00
Ernesto Boado
917ea0b4ea Merge branch 'fix/82' into 'master'
Resolve "Fix events for the subgraph implementation"

Closes #82

See merge request aave-tech/protocol-v2!91
2020-10-27 10:34:37 +00:00
emilio
4834a587f5 Fixed the amountToWithdraw in withdraw event 2020-10-27 10:47:01 +01:00
eboado
0a6b1caad0 - Added comment to SECONDS_PER_YEAR constant 2020-10-27 10:44:37 +01:00
emilio
aba38a800f Fixed event for the avg stable rate 2020-10-27 10:36:02 +01:00
emilio
31a76ef047 Updated ILendingPool 2020-10-27 10:31:32 +01:00
Ernesto Boado
bb6b322925 Merge branch 'feat/80-optimization-addresses-prov-reg' into 'master'
Fixes #80

Closes #80

See merge request aave-tech/protocol-v2!89
2020-10-27 09:28:29 +00:00
Ernesto Boado
af1311a536 Merge branch 'feat/81-optimization-addresses-prov-reg' into 'master'
Fixes #81

Closes #81

See merge request aave-tech/protocol-v2!90
2020-10-27 09:28:26 +00: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
The3D
9c283fb4cb Fixed PVE014 2020-10-26 12:14:33 +01:00
The3D
7a8ed507f4 Fixes PVE013-4 2020-10-26 11:59:49 +01:00
The3D
5bd4fd0e13 Updated comment 2020-10-26 11:58:57 +01:00
eboado
c14ea749c4 - Optimized length load on _addToAddressesProvidersList(). 2020-10-26 11:18:56 +01:00
The3D
14c4b750e1 Fixes PVE013 2020-10-26 11:18:25 +01:00
eboado
8a82c8f1c0 - Optimized getAddressesProvidersList() on addresses provider registry. 2020-10-26 11:10:57 +01:00
The3D
c5d7bb5e80 Fixed PVE011 2020-10-26 11:04:13 +01:00
The3D
65dace0054 updated validation of validateRepay 2020-10-26 10:57:45 +01:00
The3D
4b750850a2 Fixes PVE006-2 2020-10-26 10:48:43 +01:00
The3D
c44ed2c0c7 Updated flashloan event 2020-10-26 10:35:44 +01:00
The3D
6398fe4260 Fix comments, tests 2020-10-23 18:41:08 +02:00
The3D
4e1a8c29bd Fixed wad functions in WadRayMath 2020-10-23 16:52:22 +02:00
The3D
86d25393e9 Add small optimization in _mintToTreasury 2020-10-23 13:09:19 +02:00
The3D
dadebe9d2c Updated optimization 2020-10-23 10:57:22 +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
The3D
af99c88b70 Added error constant 2020-10-22 19:20:19 +02:00
The3D
d4abc12349 Updated wadDiv 2020-10-22 19:06:37 +02:00
The3D
d05a2d1c4f Rolled back PVE002, added further optimization 2020-10-22 18:59:15 +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
19756cdbe8 fixed PVE001, PVE009(1) 2020-10-19 18:29:32 +02:00
emilio
3575d58ff4 unified interface of stable, variable debt tokens and aTokens 2020-10-19 16:24:49 +02:00
emilio
1dd92aed67 fixes PVE006 2020-10-19 15:52:56 +02:00
emilio
bdac7b0d41 Fixes PVE004 2020-10-19 15:45:35 +02:00
emilio
b57a59ea6d Fixes PVE002 2020-10-19 15:40:19 +02:00
emilio
e0f5c5fb7f Fixes PVE002 2020-10-19 15:29:42 +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