Skip to content

Commit

Permalink
pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nope-finance committed Feb 17, 2022
1 parent 2fd17da commit 17ac101
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions token-lending/program/src/instruction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -261,12 +261,13 @@ pub enum LendingInstruction {
/// 3. `[writable]` Repay reserve liquidity supply SPL Token account.
/// 4. `[]` Withdraw reserve account - refreshed.
/// 5. `[writable]` Withdraw reserve collateral supply SPL Token account.
/// 6. `[writable]` Obligation account - refreshed.
/// 7. `[]` Lending market account.
/// 8. `[]` Derived lending market authority.
/// 9. `[signer]` User transfer authority ($authority).
/// 10 `[]` Clock sysvar.
/// 11 `[]` Token program id.
/// 6. `[writable]` Withdraw reserve collateral mint
/// 7. `[writable]` Obligation account - refreshed.
/// 8. `[]` Lending market account.
/// 9. `[]` Derived lending market authority.
/// 10 `[signer]` User transfer authority ($authority).
/// 11 `[]` Clock sysvar.
/// 12 `[]` Token program id.
LiquidateObligation {
/// Amount of liquidity to repay - u64::MAX for up to 100% of borrowed amount
liquidity_amount: u64,
Expand Down

0 comments on commit 17ac101

Please sign in to comment.