Function prepareRebalanceDownLoan

  • Returns a transaction to rebalance up borrow in a loan escrow.

    Returns

    Transaction rebalance down transaction

    Parameters

    • loanAppId: number

      loan application to rebalance down borrow in

    • poolManagerAppId: number

      pool manager application

    • rebalancerAddr: string

      account address for the rebalancer

    • escrowAddr: string

      account address for the loan escrow

    • pool: Pool

      pool to rebalance

    • params: SuggestedParams

      suggested params for the transactions with the fees overwritten

    Returns Transaction

Generated using TypeDoc