Function mpl_core::fetch_plugin

source ·
pub fn fetch_plugin<T: DataBlob + SolanaAccount, U: BorshDeserialize>(
    account: &AccountInfo<'_>,
    plugin_type: PluginType
) -> Result<(PluginAuthority, U, usize), Error>
Expand description

Fetch the plugin from the registry.