GLAMIDL Reference

update_fees_and_rewards

Update accrued fees and rewards for an Orca Whirlpools position.

Accounts

AccountRoleDescription
glam_statewritable`glam_state` account required by the `update_fees_and_rewards` instruction (see program source for the full constraint).
glam_vaultwritable`glam_vault` account required by the `update_fees_and_rewards` instruction (see program source for the full constraint).
glam_signersigner, writable`glam_signer` account required by the `update_fees_and_rewards` instruction (see program source for the full constraint).
integration_authorityread-only`integration_authority` account required by the `update_fees_and_rewards` instruction (see program source for the full constraint).
cpi_programread-only`cpi_program` account required by the `update_fees_and_rewards` instruction (see program source for the full constraint).
glam_protocol_programread-only`glam_protocol_program` account required by the `update_fees_and_rewards` instruction (see program source for the full constraint).
system_programread-only`system_program` account required by the `update_fees_and_rewards` instruction (see program source for the full constraint).
whirlpoolwritable`whirlpool` account required by the `update_fees_and_rewards` instruction (see program source for the full constraint).
positionwritable`position` account required by the `update_fees_and_rewards` instruction (see program source for the full constraint).
tick_array_lowerread-only`tick_array_lower` account required by the `update_fees_and_rewards` instruction (see program source for the full constraint).
tick_array_upperread-only`tick_array_upper` account required by the `update_fees_and_rewards` instruction (see program source for the full constraint).

No arguments

Policy & permissions

  • Permission: UpdateFeesAndRewards.