GLAMIDL Reference

price_marginfi_accounts

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

Accounts

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

No arguments