Last updated 2 years ago
async increaseLoanETHCollateral
()
To increase the collateral for ETH loan so it will not get liquidated we should send:
The amount and loanContractAddress - you will get after a successful response from
loanData:interface – is the already explained .
loanData:interface
walletAddress:string - is the address of the user
walletAddress:string
const response = await this.newBorrowingService.increaseLoanETHCollateral( amount, loanContractAddress, loanData, userAddress )