Skip to content

Fix instruction comment for depositing liquidity #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 1, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions token-lending/program/src/instruction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,9 @@ pub enum LendingInstruction {
/// 4. `[writable]` Reserve collateral SPL Token mint.
/// 5. `[]` Lending market account.
/// 6. `[]` Derived lending market authority.
/// 7. `[]` Pyth price oracle account.
/// 8. `[]` Switchboard price feed oracle account.
/// 9. `[signer]` User transfer authority ($authority).
/// 10 `[]` Clock sysvar.
/// 11 `[]` Token program id.
/// 7. `[signer]` User transfer authority ($authority).
/// 8 `[]` Clock sysvar.
/// 9 `[]` Token program id.
DepositReserveLiquidity {
/// Amount of liquidity to deposit in exchange for collateral tokens
liquidity_amount: u64,
Expand Down Expand Up @@ -331,9 +329,11 @@ pub enum LendingInstruction {
/// 7. `[writable]` Destination deposit reserve collateral supply SPL Token account.
/// 8. `[writable]` Obligation account.
/// 9. `[signer]` Obligation owner.
/// 10. `[signer]` User transfer authority ($authority).
/// 11. `[]` Clock sysvar.
/// 12. `[]` Token program id.
/// 10. `[]` Pyth price oracle account.
/// 11. `[]` Switchboard price feed oracle account.
/// 12. `[signer]` User transfer authority ($authority).
/// 13. `[]` Clock sysvar.
/// 14. `[]` Token program id.
DepositReserveLiquidityAndObligationCollateral {
/// Amount of liquidity to deposit in exchange
liquidity_amount: u64,
Expand Down