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,
|
bool[] memory enterMarket,
|
||||||
address userAccountFrom,
|
address userAccountFrom,
|
||||||
address userAccountTo,
|
address userAccountTo,
|
||||||
uint targetId
|
uint256 targetId
|
||||||
) internal {
|
) internal {
|
||||||
for (uint256 i = 0; i < _length; i++) {
|
for (uint256 i = 0; i < _length; i++) {
|
||||||
if (amts[i] > 0) {
|
if (amts[i] > 0) {
|
||||||
|
|
|
@ -53,7 +53,7 @@ contract EulerImport is EulerHelpers {
|
||||||
data = getBorrowAmounts(_sourceAccount, inputData, data);
|
data = getBorrowAmounts(_sourceAccount, inputData, data);
|
||||||
data = getSupplyAmounts(_targetAccount, inputData, data);
|
data = getSupplyAmounts(_targetAccount, inputData, data);
|
||||||
|
|
||||||
IExec(exec).deferLiquidityCheck(_sourceAccount, bytes(0));
|
IEulerExecute(eulerExec).deferLiquidityCheck(_sourceAccount, "0x0");
|
||||||
|
|
||||||
_TransferEtokens(
|
_TransferEtokens(
|
||||||
data._supplyTokens.length,
|
data._supplyTokens.length,
|
||||||
|
@ -62,7 +62,8 @@ contract EulerImport is EulerHelpers {
|
||||||
data._supplyTokens,
|
data._supplyTokens,
|
||||||
enterMarket,
|
enterMarket,
|
||||||
_sourceAccount,
|
_sourceAccount,
|
||||||
_targetAccount
|
_targetAccount,
|
||||||
|
targetId
|
||||||
);
|
);
|
||||||
|
|
||||||
_TransferDtokens(
|
_TransferDtokens(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user