Function prepareAddCollateralToLoan
- prepareAddCollateralToLoan(
loanAppId: number,
poolManagerAppId: number,
userAddr: string,
escrowAddr: string,
pool: Pool,
params: SuggestedParams,
): Transaction Parameters
- loanAppId: number
loan application to add collateral in
- poolManagerAppId: number
pool manager application
- userAddr: string
account address for the user
- escrowAddr: string
account address for the loan escrow
- pool: Pool
pool to add f asset of
- params: SuggestedParams
suggested params for the transactions with the fees overwritten
Returns Transaction
Transaction add collateral to loan escrow transaction
- loanAppId: number
Returns a transaction to add a collateral to a loan escrow.