minor update

This commit is contained in:
Shriya Tyagi 2022-08-04 09:41:43 +08:00
parent 6b18e337c7
commit 21cc81553c
2 changed files with 4 additions and 3 deletions

View File

@ -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) {

View File

@ -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(