GLAMIDL Reference
GLAM ConfigProduction

deprecate_asset_meta

Marks a GLAM Config asset metadata record as deprecated.

Accounts

AccountRoleDescription
global_configwritable`global_config` account required by the `deprecate_asset_meta` instruction (see program source for the full constraint).
adminsigner, writable`admin` account required by the `deprecate_asset_meta` instruction (see program source for the full constraint).
system_programread-only`system_program` account required by the `deprecate_asset_meta` instruction (see program source for the full constraint).

Arguments

ArgumentTypeNotes
assetpubkey
oraclepubkey

Policy & permissions

  • Signer must be the stored global config admin.
  • The asset metadata record matching the supplied asset and oracle pubkeys must exist; the instruction marks it deprecated by setting its priority to -1.
  • GLAM state owner/delegate authority is not used.