Function prepareSyncCollateralInLoan
- prepareSyncCollateralInLoan(
loanAppId: number,
poolManagerAppId: number,
userAddr: string,
escrowAddr: string,
pool: Pool,
oracle: Oracle,
params: SuggestedParams,
): Transaction[] Parameters
- loanAppId: number
loan application to sync 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 sync collateral of
- oracle: Oracle
oracle application to retrieve asset price from
- params: SuggestedParams
suggested params for the transactions with the fees overwritten
Returns Transaction[]
Transaction[] sync collateral group transaction
- loanAppId: number
Returns a transaction to sync collateral of a loan escrow.