Orca Integration StagingStaging
increase_liquidity_v2
Increase liquidity in an Orca Whirlpools position using Token-2022-aware accounts.
Accounts
| Account | Role | Description |
|---|---|---|
| glam_state | writable | `glam_state` account required by the `increase_liquidity_v2` instruction (see program source for the full constraint). |
| glam_vault | writable | `glam_vault` account required by the `increase_liquidity_v2` instruction (see program source for the full constraint). |
| glam_signer | signer, writable | `glam_signer` account required by the `increase_liquidity_v2` instruction (see program source for the full constraint). |
| integration_authority | read-only | `integration_authority` account required by the `increase_liquidity_v2` instruction (see program source for the full constraint). |
| cpi_program | read-only | `cpi_program` account required by the `increase_liquidity_v2` instruction (see program source for the full constraint). |
| glam_protocol_program | read-only | `glam_protocol_program` account required by the `increase_liquidity_v2` instruction (see program source for the full constraint). |
| system_program | read-only | `system_program` account required by the `increase_liquidity_v2` instruction (see program source for the full constraint). |
| whirlpool | writable | `whirlpool` account required by the `increase_liquidity_v2` instruction (see program source for the full constraint). |
| token_program_a | read-only | `token_program_a` account required by the `increase_liquidity_v2` instruction (see program source for the full constraint). |
| token_program_b | read-only | `token_program_b` account required by the `increase_liquidity_v2` instruction (see program source for the full constraint). |
| memo_program | read-only | `memo_program` account required by the `increase_liquidity_v2` instruction (see program source for the full constraint). |
| position | writable | `position` account required by the `increase_liquidity_v2` instruction (see program source for the full constraint). |
| position_token_account | read-only | `position_token_account` account required by the `increase_liquidity_v2` instruction (see program source for the full constraint). |
| token_mint_a | read-only | `token_mint_a` account required by the `increase_liquidity_v2` instruction (see program source for the full constraint). |
| token_mint_b | read-only | `token_mint_b` account required by the `increase_liquidity_v2` instruction (see program source for the full constraint). |
| token_owner_account_a | writable | `token_owner_account_a` account required by the `increase_liquidity_v2` instruction (see program source for the full constraint). |
| token_owner_account_b | writable | `token_owner_account_b` account required by the `increase_liquidity_v2` instruction (see program source for the full constraint). |
| token_vault_a | writable | `token_vault_a` account required by the `increase_liquidity_v2` instruction (see program source for the full constraint). |
| token_vault_b | writable | `token_vault_b` account required by the `increase_liquidity_v2` instruction (see program source for the full constraint). |
| tick_array_lower | writable | `tick_array_lower` account required by the `increase_liquidity_v2` instruction (see program source for the full constraint). |
| tick_array_upper | writable | `tick_array_upper` account required by the `increase_liquidity_v2` instruction (see program source for the full constraint). |
Arguments
| Argument | Type | Notes |
|---|---|---|
| liquidity_amount | u128 | |
| token_max_a | u64 | |
| token_max_b | u64 | |
| remaining_accounts_info | option<RemainingAccountsInfo> |
Policy & permissions
- Permission:
IncreaseLiquidity. - Policy: Whirlpool and both pool token mints must be allowlisted.