GLAMIDL Reference

price_phoenix_traders

Prices Phoenix trader accounts registered to the vault and records their value for vault AUM.

Accounts

AccountRoleDescription
glam_statewritable`glam_state` account required by the `price_phoenix_traders` instruction (see program source for the full constraint).
glam_vaultread-only`glam_vault` account required by the `price_phoenix_traders` instruction (see program source for the full constraint).
signersigner, writable`signer` account required by the `price_phoenix_traders` instruction (see program source for the full constraint).
sol_usd_oracleread-only`sol_usd_oracle` account required by the `price_phoenix_traders` instruction (see program source for the full constraint).
base_asset_oracleread-only`base_asset_oracle` account required by the `price_phoenix_traders` instruction (see program source for the full constraint).
integration_authorityread-only`integration_authority` account required by the `price_phoenix_traders` instruction (see program source for the full constraint).
glam_configread-only`glam_config` account required by the `price_phoenix_traders` instruction (see program source for the full constraint).
glam_protocolread-only`glam_protocol` account required by the `price_phoenix_traders` instruction (see program source for the full constraint).
event_authorityoptional`event_authority` account required by the `price_phoenix_traders` instruction (see program source for the full constraint).
event_programoptional`event_program` account required by the `price_phoenix_traders` 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.