Skip to main content

Module repay

Module repay 

Source

Functions§

repay
Build instructions to repay borrowed liquidity.
repay_and_withdraw
Build instructions to atomically repay a borrow, withdraw collateral, and redeem it for the underlying liquidity — all in a single instruction.