Function prepareSyncCollateralInLoan

  • Returns a transaction to sync collateral of a loan escrow.

    Returns

    Transaction[] sync collateral group 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[]

Generated using TypeDoc