GLAMIDL Reference
GLAM MintProduction

price_registered_positions

Prices validated RPI observations for registered positions and records their aggregate value for vault AUM.

Accounts

AccountRoleDescription
glam_statewritable`glam_state` account required by the `price_registered_positions` instruction (see program source for the full constraint).
signersigner, writable`signer` account required by the `price_registered_positions` instruction (see program source for the full constraint).
observation_stateread-only`observation_state` account required by the `price_registered_positions` instruction (see program source for the full constraint).
integration_authorityread-only`integration_authority` account required by the `price_registered_positions` instruction (see program source for the full constraint).
glam_protocolread-only`glam_protocol` account required by the `price_registered_positions` instruction (see program source for the full constraint).
event_authorityoptional`event_authority` account required by the `price_registered_positions` instruction (see program source for the full constraint).
event_programoptional`event_program` account required by the `price_registered_positions` instruction (see program source for the full constraint).

No arguments

Policy & permissions

  • Caller: any signer; no pricing-caller ACL is checked.
  • Supplied account, oracle, and protocol data are validated before the priced protocol record is written.