Function prepareRepayTransactions

  • Returns a group transaction to increase borrow.

    Returns

    Transaction[] increase borrow group transaction

    Parameters

    • tokenPair: TokenPair

      token pair to use for borrow

    • senderAddr: string

      account address for the sender

    • escrowAddr: string

      escrow address that will hold the collateral

    • reserveAddr: string

      reserve address that will earn percentage of interest paid

    • repayAmount: number | bigint

      amount to repay (will send back any over-payment if any)

    • params: SuggestedParams

      suggested params for the transactions with the fees overwritten

    Returns Transaction[]

Generated using TypeDoc