Orca Integration StagingStaging
close_position_with_token_extensions
Close an empty Token-2022 Orca Whirlpools position owned by the GLAM vault.
Accounts
| Account | Role | Description |
|---|---|---|
| glam_state | writable | `glam_state` account required by the `close_position_with_token_extensions` instruction (see program source for the full constraint). |
| glam_vault | writable | `glam_vault` account required by the `close_position_with_token_extensions` instruction (see program source for the full constraint). |
| glam_signer | signer, writable | `glam_signer` account required by the `close_position_with_token_extensions` instruction (see program source for the full constraint). |
| integration_authority | read-only | `integration_authority` account required by the `close_position_with_token_extensions` instruction (see program source for the full constraint). |
| cpi_program | read-only | `cpi_program` account required by the `close_position_with_token_extensions` instruction (see program source for the full constraint). |
| glam_protocol_program | read-only | `glam_protocol_program` account required by the `close_position_with_token_extensions` instruction (see program source for the full constraint). |
| system_program | read-only | `system_program` account required by the `close_position_with_token_extensions` instruction (see program source for the full constraint). |
| whirlpool | read-only | `whirlpool` account required by the `close_position_with_token_extensions` instruction (see program source for the full constraint). |
| position | writable | `position` account required by the `close_position_with_token_extensions` instruction (see program source for the full constraint). |
| position_mint | writable | `position_mint` account required by the `close_position_with_token_extensions` instruction (see program source for the full constraint). |
| position_token_account | writable | `position_token_account` account required by the `close_position_with_token_extensions` instruction (see program source for the full constraint). |
| token_2022_program | read-only | `token_2022_program` account required by the `close_position_with_token_extensions` instruction (see program source for the full constraint). |
No arguments
Policy & permissions
- Permission:
ClosePosition.