Orca Integration StagingStaging
collect_reward_v2
Collect one reward emission using Token-2022-aware accounts.
Accounts
| Account | Role | Description |
|---|---|---|
| glam_state | writable | `glam_state` account required by the `collect_reward_v2` instruction (see program source for the full constraint). |
| glam_vault | writable | `glam_vault` account required by the `collect_reward_v2` instruction (see program source for the full constraint). |
| glam_signer | signer, writable | `glam_signer` account required by the `collect_reward_v2` instruction (see program source for the full constraint). |
| integration_authority | read-only | `integration_authority` account required by the `collect_reward_v2` instruction (see program source for the full constraint). |
| cpi_program | read-only | `cpi_program` account required by the `collect_reward_v2` instruction (see program source for the full constraint). |
| glam_protocol_program | read-only | `glam_protocol_program` account required by the `collect_reward_v2` instruction (see program source for the full constraint). |
| system_program | read-only | `system_program` account required by the `collect_reward_v2` instruction (see program source for the full constraint). |
| whirlpool | read-only | `whirlpool` account required by the `collect_reward_v2` instruction (see program source for the full constraint). |
| position | writable | `position` account required by the `collect_reward_v2` instruction (see program source for the full constraint). |
| position_token_account | read-only | `position_token_account` account required by the `collect_reward_v2` instruction (see program source for the full constraint). |
| reward_owner_account | writable | `reward_owner_account` account required by the `collect_reward_v2` instruction (see program source for the full constraint). |
| reward_mint | read-only | `reward_mint` account required by the `collect_reward_v2` instruction (see program source for the full constraint). |
| reward_vault | writable | `reward_vault` account required by the `collect_reward_v2` instruction (see program source for the full constraint). |
| reward_token_program | read-only | `reward_token_program` account required by the `collect_reward_v2` instruction (see program source for the full constraint). |
| memo_program | read-only | `memo_program` account required by the `collect_reward_v2` instruction (see program source for the full constraint). |
Arguments
| Argument | Type | Notes |
|---|---|---|
| reward_index | u8 | |
| remaining_accounts_info | option<RemainingAccountsInfo> |
Policy & permissions
- Permission:
CollectReward.