Commit Graph

1190 Commits

Author SHA1 Message Date
eboado
1916426ab1 - Added Ownable to BaseUniswapAdapter. 2020-12-03 12:13:06 +01:00
eboado
84629bca2e - Added fallback condition for price prediction, both In and Out 2020-12-03 11:36:15 +01:00
eboado
ab5303bc7c - Fixed calculation on _getAmountsOutData().
- Optimizing outcome of _getAmountsInAndPath().
2020-12-02 18:19:29 +01:00
eboado
1fec2aa5d1 - Added basic selection of optimal path 2020-12-02 17:59:38 +01:00
eboado
05dbfeccb3 - Fixed issue with variadic length of amounts depending on path 2020-12-02 17:38:17 +01:00
andyk
41efe9e811 add WETH to constructor of swap adapters 2020-12-02 19:56:38 +04:00
The3D
d611b1e8dc Updated to receive theindication on which path to use from outside 2020-12-02 15:30:57 +01:00
eboado
a25bdd9280 - Change path logic on repay adapter and base 2020-12-02 14:39:05 +01:00
The3D
8113cdaef1 Updated migration scripts to receive external parameters 2020-12-02 11:18:31 +01:00
The3D
2e23281cdc Merge branch 'master' into 178-add-uniswap-adapters 2020-12-02 10:14:03 +01:00
andyk
6ce019c04a add deployment task for UniswapRepayAdapter 2020-12-01 14:27:57 +04:00
The-3D
57ee9e0a7c Merge branch '181-check-configuration-and-scripts' into 'master'
Resolve "Check configuration and scripts"

Closes #181

See merge request aave-tech/protocol-v2!204
2020-11-30 20:42:50 +00:00
David Racero
a2c9e0074f Add kovan print config 2020-11-30 19:47:16 +01:00
David Racero
3f46697d24 Added tokens, fix getter 2020-11-30 19:41:42 +01:00
David Racero
ac63cfaf05 Minor changes to deploy scripts. Fix token verify errors. Added new task for print providers config. 2020-11-30 19:25:06 +01:00
The-3D
dd49b94c77 Merge branch 'feat/182-cred-del-interface' into 'master'
Feat/182 cred del interface

Closes #182

See merge request aave-tech/protocol-v2!205
2020-11-30 17:23:53 +00:00
eboado
12121d41f4 Merge branch 'master' into feat/182-cred-del-interface 2020-11-30 18:16:47 +01:00
eboado
aa7c124a11 - Added credit delegation interface to debt tokens. 2020-11-30 18:16:25 +01:00
The3D
3b5344388d Fixed failing test after updating the latest risk parameters 2020-11-30 18:14:21 +01:00
The-3D
911db5b0d6 Merge branch 'feat/180-oracles-configs-main' into 'master'
- Added oracles mainnet addresses

Closes #180

See merge request aave-tech/protocol-v2!203
2020-11-30 14:18:18 +00:00
David Racero
a21d823646 Remove console logs 2020-11-30 14:32:01 +01:00
David Racero
c22533f139 Add lending provider kovan address at deploy-UniswapRepayAdapter task 2020-11-30 14:27:56 +01:00
andyk
a21757d0fc adoption to the latest 2020-11-30 17:14:29 +04:00
eboado
e95e0c795e - Added oracles mainnet addresses 2020-11-30 13:51:22 +01:00
Ernesto Boado
0ebcc04d50 Merge branch 'fix/177' into 'master'
Resolve "Update the configuration parameters for mainnet"

Closes #177

See merge request aave-tech/protocol-v2!200
2020-11-30 12:17:17 +00:00
The3D
83346703a5 Fixed liquidation tests 2020-11-30 13:08:37 +01:00
The3D
4bb7d0c5db Updated config 2020-11-30 12:53:33 +01:00
The3D
59d5c3a6a9 Fixed configuration parameters 2020-11-30 12:49:31 +01:00
andyk
b4a0841577 Merge branch 'master' into 178-add-uniswap-adapters 2020-11-30 15:11:35 +04:00
Andrey Ko
51d0604122 Merge branch 'feat/179-flash-receiver-base' into 'master'
- Modified FlashLoanReceiverBase

Closes #179

See merge request aave-tech/protocol-v2!202
2020-11-30 11:09:56 +00:00
eboado
9d1c021945 - Modified FlashLoanReceiverBase 2020-11-30 12:02:34 +01:00
The3D
ae0414eb23 Fixed configuration tests 2020-11-30 12:01:26 +01:00
The3D
587008d1e1 Updated configuration 2020-11-30 11:26:14 +01:00
Andrey Ko
a32d1ce404 Merge branch 'feat/uniswap-adapter-flashloan' into '178-add-uniswap-adapters'
Add Uniswap adapter for liquidity swap and repay with collateral using flashloan

See merge request aave-tech/protocol-v2!106
2020-11-30 10:21:46 +00:00
The-3D
e25594ca7d Merge branch 'feat/176-getmarketid-view' into 'master'
- Added `view` to getMarketId()

Closes #176

See merge request aave-tech/protocol-v2!199
2020-11-30 08:40:45 +00:00
eboado
18ce2b3637 - Added view to getMarketId() 2020-11-30 09:23:31 +01:00
Ernesto Boado
495eed33ca Merge branch 'fix/175' into 'master'
Resolve "Update test scenarios to properly handle the reserve factor"

Closes #175

See merge request aave-tech/protocol-v2!198
2020-11-28 17:29:02 +00:00
The3D
9fc6c32905 Removed redundant code in ATokensAndRatesHelper 2020-11-28 13:33:35 +01:00
The3D
dcc60f5966 Updated migration script 2020-11-28 13:32:13 +01:00
The3D
c9875f0a8f Handled reserveFactor in the scenario tests 2020-11-28 13:28:50 +01:00
The3D
7892587f1b Updated migration scripts to add the reserve factor configuration 2020-11-28 12:54:54 +01:00
Ernesto Boado
872eb3ff94 Merge branch 'fix/172' into 'master'
Resolve "Add reserveFactor to the migration scripts"

Closes #172

See merge request aave-tech/protocol-v2!195
2020-11-28 07:59:07 +00:00
The3D
2bebc6fdfd Removed space 2020-11-27 18:26:00 +01:00
The3D
e5ec690a21 Removed unused code 2020-11-27 18:23:17 +01:00
The3D
bfa52fb3a8 Fixed tests 2020-11-27 18:22:23 +01:00
The3D
9165cdc4d5 Updated migration scripts for the reserve factor 2020-11-27 18:18:31 +01:00
Ernesto Boado
903352eaea Merge branch 'fix/174' into 'master'
Resolve "Improve event emission on the burn function"

Closes #174

See merge request aave-tech/protocol-v2!197
2020-11-27 17:16:52 +00:00
The3D
798231306b Updated event on burn of stable debt 2020-11-27 16:51:21 +01:00
The3D
8cff75f7e3 Migration scripts updated 2020-11-27 16:40:00 +01:00
The-3D
2b9e62f1f6 Merge branch 'feat/173-receiver-base' into 'master'
- Added initialization of _lendingPool to FlashLoanReceiverBase and getters.

Closes #173

See merge request aave-tech/protocol-v2!196
2020-11-27 14:31:06 +00:00