GLAMIDL Reference

reposition_liquidity_v2

Reposition liquidity into a new Orca Whirlpools tick range.

Accounts

AccountRoleDescription
glam_statewritable`glam_state` account required by the `reposition_liquidity_v2` instruction (see program source for the full constraint).
glam_vaultwritable`glam_vault` account required by the `reposition_liquidity_v2` instruction (see program source for the full constraint).
glam_signersigner, writable`glam_signer` account required by the `reposition_liquidity_v2` instruction (see program source for the full constraint).
integration_authorityread-only`integration_authority` account required by the `reposition_liquidity_v2` instruction (see program source for the full constraint).
cpi_programread-only`cpi_program` account required by the `reposition_liquidity_v2` instruction (see program source for the full constraint).
glam_protocol_programread-only`glam_protocol_program` account required by the `reposition_liquidity_v2` instruction (see program source for the full constraint).
system_programread-only`system_program` account required by the `reposition_liquidity_v2` instruction (see program source for the full constraint).
whirlpoolwritable`whirlpool` account required by the `reposition_liquidity_v2` instruction (see program source for the full constraint).
token_program_aread-only`token_program_a` account required by the `reposition_liquidity_v2` instruction (see program source for the full constraint).
token_program_bread-only`token_program_b` account required by the `reposition_liquidity_v2` instruction (see program source for the full constraint).
memo_programread-only`memo_program` account required by the `reposition_liquidity_v2` instruction (see program source for the full constraint).
positionwritable`position` account required by the `reposition_liquidity_v2` instruction (see program source for the full constraint).
position_token_accountread-only`position_token_account` account required by the `reposition_liquidity_v2` instruction (see program source for the full constraint).
token_mint_aread-only`token_mint_a` account required by the `reposition_liquidity_v2` instruction (see program source for the full constraint).
token_mint_bread-only`token_mint_b` account required by the `reposition_liquidity_v2` instruction (see program source for the full constraint).
token_owner_account_awritable`token_owner_account_a` account required by the `reposition_liquidity_v2` instruction (see program source for the full constraint).
token_owner_account_bwritable`token_owner_account_b` account required by the `reposition_liquidity_v2` instruction (see program source for the full constraint).
token_vault_awritable`token_vault_a` account required by the `reposition_liquidity_v2` instruction (see program source for the full constraint).
token_vault_bwritable`token_vault_b` account required by the `reposition_liquidity_v2` instruction (see program source for the full constraint).
existing_tick_array_lowerwritable`existing_tick_array_lower` account required by the `reposition_liquidity_v2` instruction (see program source for the full constraint).
existing_tick_array_upperwritable`existing_tick_array_upper` account required by the `reposition_liquidity_v2` instruction (see program source for the full constraint).
new_tick_array_lowerwritable`new_tick_array_lower` account required by the `reposition_liquidity_v2` instruction (see program source for the full constraint).
new_tick_array_upperwritable`new_tick_array_upper` account required by the `reposition_liquidity_v2` instruction (see program source for the full constraint).

Arguments

ArgumentTypeNotes
new_tick_lower_indexi32
new_tick_upper_indexi32
methodRepositionLiquidityMethod
remaining_accounts_infooption<RemainingAccountsInfo>