load_asset

Function load_asset 

Source
pub fn load_asset<'a, 'info>(
    info: &'a AccountInfo<'info>,
) -> Result<(f64, u64, String), ProgramError>
Expand description

Errors if:

  • Data is empty.
  • Update authority is not the forge pickaxe collection.
  • Attributes plugin is not present.
  • Durability attribute is not present.
  • Multiplier attribute is not present.