Zer0dot
							
						 
					 | 
					
						
						
						
						
							
						
						
							f590040c60
							
						
					 | 
					
						
						
							
							Merge remote-tracking branch 'oldfork/light-implementation' into lp-market
						
						
						
						
						
					 | 
					
						2021-02-04 16:45:00 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Zer0dot
							
						 
					 | 
					
						
						
						
						
							
						
						
							0d1e673f56
							
						
					 | 
					
						
						
							
							Removed an un-merged line break
						
						
						
						
						
					 | 
					
						2021-02-04 13:43:59 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Zer0dot
							
						 
					 | 
					
						
						
						
						
							
						
						
							d3de30ff55
							
						
					 | 
					
						
						
							
							Merge remote-tracking branch 'gitlab/master' into gitlab-merge
						
						
						
						
						
					 | 
					
						2021-02-04 12:54:38 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								dhadrien
							
						 
					 | 
					
						
						
						
						
							
						
						
							9e62528b98
							
						
					 | 
					
						
						
							
							Fixed memory usage
						
						
						
						
						
					 | 
					
						2021-02-03 15:57:34 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								andyk
							
						 
					 | 
					
						
						
						
						
							
						
						
							9f94f04b6c
							
						
					 | 
					
						
						
							
							fix eth->eth repay with collateral
						
						
						
						
						
					 | 
					
						2021-02-01 17:13:53 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Racero
							
						 
					 | 
					
						
						
						
						
							
						
						
							211dca7a07
							
						
					 | 
					
						
						
							
							Add new variable borrowedAssetLeftovers to improve readability
						
						
						
						
						
					 | 
					
						2021-02-01 13:24:07 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Zer0dot
							
						 
					 | 
					
						
						
						
						
							
						
						
							b4d72bfc37
							
						
					 | 
					
						
						
							
							Pulled contracts for light deployment
						
						
						
						
						
					 | 
					
						2021-01-29 22:51:59 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Racero
							
						 
					 | 
					
						
						
						
						
							
						
						
							37ac8b5297
							
						
					 | 
					
						
						
							
							Add new edge case when flash liquidation same asset. Add tests.
						
						
						
						
						
					 | 
					
						2021-01-29 18:09:06 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Racero
							
						 
					 | 
					
						
						
						
						
							
						
						
							d464b0d592
							
						
					 | 
					
						
						
							
							Pull  master and fix conflicts
						
						
						
						
						
					 | 
					
						2021-01-29 13:27:12 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Racero
							
						 
					 | 
					
						
						
						
						
							
						
						
							6a503eb0a8
							
						
					 | 
					
						
						
							
							Lint files. Add all ts and sol files to pre-commit. Add prettier format check to CI.
						
						
						
						
						
					 | 
					
						2021-01-27 15:43:34 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								eboado
							
						 
					 | 
					
						
						
						
						
							
						
						
							d6059938bb
							
						
					 | 
					
						
						
							
							- Fixed array init on BaseUniswapAdapter
						
						
						
						
						
					 | 
					
						2021-01-25 09:29:07 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								root
							
						 
					 | 
					
						
						
						
						
							
						
						
							55f14c1af9
							
						
					 | 
					
						
						
							
							Use diff balances instead of liquidation logic for flash liquidations
						
						
						
						
						
					 | 
					
						2021-01-22 09:59:47 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								andyk
							
						 
					 | 
					
						
						
						
						
							
						
						
							6cebf50f11
							
						
					 | 
					
						
						
							
							add special quotation flow
						
						
						
						
						
					 | 
					
						2021-01-21 17:44:48 +03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Racero
							
						 
					 | 
					
						
						
						
						
							
						
						
							94dd996666
							
						
					 | 
					
						
						
							
							Add test cases for FlashLiquidationAdapter
						
						
						
						
						
					 | 
					
						2021-01-18 15:40:02 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Racero
							
						 
					 | 
					
						
						
						
						
							
						
						
							7040f9ea2e
							
						
					 | 
					
						
						
							
							Fix conflicts
						
						
						
						
						
					 | 
					
						2021-01-15 16:55:51 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								root
							
						 
					 | 
					
						
						
						
						
							
						
						
							a9aff29b77
							
						
					 | 
					
						
						
							
							Flash liquidation fixes. Add working test for flash liquidation. Add Tenderly tests support.
						
						
						
						
						
					 | 
					
						2021-01-15 15:48:54 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								The3D
							
						 
					 | 
					
						
						
						
						
							
						
						
							773bdd252b
							
						
					 | 
					
						
						
							
							Added latest fixes
						
						
						
						
						
					 | 
					
						2021-01-14 15:21:42 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								eboado
							
						 
					 | 
					
						
						
						
						
							
						
						
							e5e61553c8
							
						
					 | 
					
						
						
							
							- Removed comments from BaseUniswapAdapter
						
						
						
						
						
					 | 
					
						2021-01-12 14:21:44 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Racero
							
						 
					 | 
					
						
						
						
						
							
						
						
							63ce8bc2bb
							
						
					 | 
					
						
						
							
							Revert "add withFlash flage to getAmountIn/Out"
						
						
						
						
						
						
						
						This reverts commit 3d2a877770. 
						
					 | 
					
						2021-01-12 13:20:32 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Racero
							
						 
					 | 
					
						
						
						
						
							
						
						
							b432008d06
							
						
					 | 
					
						
						
							
							Added flash liquidation adapter first iteration
						
						
						
						
						
					 | 
					
						2021-01-11 17:40:25 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								andyk
							
						 
					 | 
					
						
						
						
						
							
						
						
							3d2a877770
							
						
					 | 
					
						
						
							
							add withFlash flage to getAmountIn/Out
						
						
						
						
						
					 | 
					
						2020-12-09 13:29:25 +04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								eboado
							
						 
					 | 
					
						
						
						
						
							
						
						
							eadaf066f2
							
						
					 | 
					
						
						
							
							- Fixed _getAmountsOutData()
						
						
						
						
						
					 | 
					
						2020-12-03 16:51:38 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								eboado
							
						 
					 | 
					
						
						
						
						
							
						
						
							c7bd9d2511
							
						
					 | 
					
						
						
							
							- Fix _getAmountsInAndPath()
						
						
						
						
						
					 | 
					
						2020-12-03 16:35:05 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								eboado
							
						 
					 | 
					
						
						
						
						
							
						
						
							a84cfdabe2
							
						
					 | 
					
						
						
							
							- Fixed _getAmountsInAndPath() and _getAmountsOutData()
						
						
						
						
						
					 | 
					
						2020-12-03 16:24:57 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								eboado
							
						 
					 | 
					
						
						
						
						
							
						
						
							5fdb479333
							
						
					 | 
					
						
						
							
							- Fixed _getAmountsInAndPath()
						
						
						
						
						
					 | 
					
						2020-12-03 16:11:05 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								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 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								andyk
							
						 
					 | 
					
						
						
						
						
							
						
						
							a21757d0fc
							
						
					 | 
					
						
						
							
							adoption to the latest
						
						
						
						
						
					 | 
					
						2020-11-30 17:14:29 +04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Gerardo Nardelli
							
						 
					 | 
					
						
						
						
						
							
						
						
							3415204216
							
						
					 | 
					
						
						
							
							Update adapter docs
						
						
						
						
						
					 | 
					
						2020-11-25 15:49:11 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Gerardo Nardelli
							
						 
					 | 
					
						
						
						
						
							
						
						
							cdd922c908
							
						
					 | 
					
						
						
							
							Merge fixes
						
						
						
						
						
					 | 
					
						2020-11-25 11:07:33 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Gerardo Nardelli
							
						 
					 | 
					
						
						
						
						
							
						
						
							a496be8833
							
						
					 | 
					
						
						
							
							Refactor to avoid leftovers on _swapAndRepay with flash loan
						
						
						
						
						
					 | 
					
						2020-11-25 10:44:50 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Gerardo Nardelli
							
						 
					 | 
					
						
						
						
						
							
						
						
							4d2d9e8459
							
						
					 | 
					
						
						
							
							Avoid leftovers on swapAndRepay
						
						
						
						
						
					 | 
					
						2020-11-24 14:06:58 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Gerardo Nardelli
							
						 
					 | 
					
						
						
						
						
							
						
						
							50e5ea907b
							
						
					 | 
					
						
						
							
							Add first draft of swapAndRepay without using flash loans
						
						
						
						
						
					 | 
					
						2020-11-24 12:11:13 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Gerardo Nardelli
							
						 
					 | 
					
						
						
						
						
							
						
						
							43d05c2bdf
							
						
					 | 
					
						
						
							
							Refactor repayAdapter to flash loan the debt asset instead of the collateral
						
						
						
						
						
					 | 
					
						2020-11-20 15:53:50 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Gerardo Nardelli
							
						 
					 | 
					
						
						
						
						
							
						
						
							b48b50208a
							
						
					 | 
					
						
						
							
							Support using all the collateral for a debt repay
						
						
						
						
						
					 | 
					
						2020-11-20 09:06:28 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Gerardo Nardelli
							
						 
					 | 
					
						
						
						
						
							
						
						
							8a303c6195
							
						
					 | 
					
						
						
							
							Refactor repayMode in repayAdapter
						
						
						
						
						
					 | 
					
						2020-11-19 16:39:00 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Gerardo Nardelli
							
						 
					 | 
					
						
						
						
						
							
						
						
							d0d0e869d0
							
						
					 | 
					
						
						
							
							Fix flash loan fee usage in _getAmountsIn
						
						
						
						
						
					 | 
					
						2020-11-13 12:30:14 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Gerardo Nardelli
							
						 
					 | 
					
						
						
						
						
							
						
						
							101c775789
							
						
					 | 
					
						
						
							
							Avoid param override in repay adapter
						
						
						
						
						
					 | 
					
						2020-11-13 12:28:57 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Gerardo Nardelli
							
						 
					 | 
					
						
						
						
						
							
						
						
							4c693d1947
							
						
					 | 
					
						
						
							
							Update amountToSwap calc in liquidity swap adapter
						
						
						
						
						
					 | 
					
						2020-11-13 12:27:18 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Gerardo Nardelli
							
						 
					 | 
					
						
						
						
						
							
						
						
							b0d9dbe2a7
							
						
					 | 
					
						
						
							
							code improvements
						
						
						
						
						
					 | 
					
						2020-11-10 11:28:19 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Gerardo Nardelli
							
						 
					 | 
					
						
						
						
						
							
						
						
							cf9c8855c3
							
						
					 | 
					
						
						
							
							Pull the correct amount of atokens from user to avoid leftovers in repay adapter
						
						
						
						
						
					 | 
					
						2020-11-10 10:38:24 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Gerardo Nardelli
							
						 
					 | 
					
						
						
						
						
							
						
						
							6e9defe14c
							
						
					 | 
					
						
						
							
							Add repayAllDebt flag to repay the whole debt with collateral
						
						
						
						
						
					 | 
					
						2020-11-09 16:53:03 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Gerardo Nardelli
							
						 
					 | 
					
						
						
						
						
							
						
						
							4fb43f7aff
							
						
					 | 
					
						
						
							
							Remove not used batch capabilities on repay adapter
						
						
						
						
						
					 | 
					
						2020-11-09 15:27:18 -03:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Gerardo Nardelli
							
						 
					 | 
					
						
						
						
						
							
						
						
							1faffa2c39
							
						
					 | 
					
						
						
							
							Add permit amount parameter to correctly execute permit call
						
						
						
						
						
					 | 
					
						2020-11-06 12:12:08 -03:00 | 
					
					
						
						
							
							
							
						
					 |