Function prepareIncreaseBorrowTransactions

  • Returns a group transaction to increase borrow.

    Returns

    Transaction[] increase borrow group transaction

    Parameters

    • tokenPair: TokenPair

      token pair to use for borrow

    • oracle: lendV1.Oracle

      oracle price source

    • senderAddr: string

      account address for the sender

    • escrow: string

      escrow address that will hold the collateral

    • increaseAmount: number | bigint

      borrow amount to increase by (max amount if undefined)

    • params: SuggestedParams

      suggested params for the transactions with the fees overwritten

    Returns Transaction[]

Generated using TypeDoc