mirror of
				https://github.com/Instadapp/dsa-connectors.git
				synced 2024-07-29 22:37:00 +00:00 
			
		
		
		
	minor update
This commit is contained in:
		
							parent
							
								
									6b18e337c7
								
							
						
					
					
						commit
						21cc81553c
					
				| 
						 | 
				
			
			@ -121,7 +121,7 @@ contract EulerHelpers is Basic {
 | 
			
		|||
		bool[] memory enterMarket,
 | 
			
		||||
		address userAccountFrom,
 | 
			
		||||
        address userAccountTo,
 | 
			
		||||
        uint targetId
 | 
			
		||||
        uint256 targetId
 | 
			
		||||
	) internal {
 | 
			
		||||
		for (uint256 i = 0; i < _length; i++) {
 | 
			
		||||
			if (amts[i] > 0) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -53,7 +53,7 @@ contract EulerImport is EulerHelpers {
 | 
			
		|||
        data = getBorrowAmounts(_sourceAccount, inputData, data);
 | 
			
		||||
		data = getSupplyAmounts(_targetAccount, inputData, data);
 | 
			
		||||
        
 | 
			
		||||
        IExec(exec).deferLiquidityCheck(_sourceAccount, bytes(0));
 | 
			
		||||
        IEulerExecute(eulerExec).deferLiquidityCheck(_sourceAccount, "0x0");
 | 
			
		||||
 | 
			
		||||
        _TransferEtokens(
 | 
			
		||||
			data._supplyTokens.length,
 | 
			
		||||
| 
						 | 
				
			
			@ -62,7 +62,8 @@ contract EulerImport is EulerHelpers {
 | 
			
		|||
			data._supplyTokens,
 | 
			
		||||
			enterMarket,
 | 
			
		||||
			_sourceAccount,
 | 
			
		||||
            _targetAccount
 | 
			
		||||
            _targetAccount,
 | 
			
		||||
            targetId
 | 
			
		||||
		);
 | 
			
		||||
 | 
			
		||||
        _TransferDtokens(
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user