Function prepareRebalanceDownLoan
- prepareRebalanceDownLoan(
loanAppId: number,
poolManagerAppId: number,
rebalancerAddr: string,
escrowAddr: string,
pool: Pool,
params: SuggestedParams,
): 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
Transaction rebalance down transaction
- loanAppId: number
Returns a transaction to rebalance up borrow in a loan escrow.