constsendRemainderToUserCall= { callType:SquidCallType.FULL_TOKEN_BALANCE,// transfer any remaining MAGIC to the user's account target: magicToken, value:"0", callData: transferMagicEncodeData, payload: { tokenAddress: magicToken, inputPos:1, }, estimatedGas:"50000",},
constmintLoanWithFullNativeBalanceCall= { callType:SquidCallType.FULL_NATIVE_BALANCE, target: moonwellGlmrAddress, value:"0",// this will be replaced by the full native balance of the multicall after the swap callData: mintEncodeData, payload: { tokenAddress:"0x",// unused in callType 2, dummy value inputPos:1,// unused }, estimatedGas:"250000",},
constrepayLoanCall= { callType:SquidCallType.DEFAULT,0 target: aavePoolAddress, value:'0', callData: repayEncodedData, estimatedGas:'50000', payload: { tokenAddress:"",// unused in callType 0, dummy value inputPos:0,// unused in callType 0, dummy value}